Nothing Special   »   [go: up one dir, main page]

CN109257368A - A kind of conversational communication method for building up based on embedded device - Google Patents

A kind of conversational communication method for building up based on embedded device Download PDF

Info

Publication number
CN109257368A
CN109257368A CN201811224156.2A CN201811224156A CN109257368A CN 109257368 A CN109257368 A CN 109257368A CN 201811224156 A CN201811224156 A CN 201811224156A CN 109257368 A CN109257368 A CN 109257368A
Authority
CN
China
Prior art keywords
request
proxy server
server
terminal
registration request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811224156.2A
Other languages
Chinese (zh)
Inventor
王思俊
刘琰
高旭麟
刘凯琨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin Tiandi Weiye Cci Capital Ltd
Original Assignee
Tianjin Tiandi Weiye Cci Capital Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianjin Tiandi Weiye Cci Capital Ltd filed Critical Tianjin Tiandi Weiye Cci Capital Ltd
Priority to CN201811224156.2A priority Critical patent/CN109257368A/en
Publication of CN109257368A publication Critical patent/CN109257368A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1045Proxies, e.g. for session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1073Registration or de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • H04N7/147Communication arrangements, e.g. identifying the communication as a video-communication, intermediate storage of the signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

SIP comes across middle 1990s, until the publication of RFC 3261 indicates that the basis of SIP is established.The present invention is based on SIP to propose a kind of conversational communication method for building up based on embedded device, the conversational communication method that the present invention designs can register embedded device to more easily server, it solves the problems, such as that original embedded device is not open, protocol interaction is unstable, a small amount of new information can be increased in the message in the case where not influencing connection.In communications protocol, after terminal device Receiving Agent service request, if proxy server have be not Request-URI parsing server, it is then manually one outbound proxy of terminal equipment configuration, an agency is known by automatic configuration protocol if the outbound proxy of manual configuration cannot achieve, the IP address and port independently of the sip server of Request-URI or by Request-URI mark for transmitting the request to manual configuration, can make it quickly and server selection.

Description

A kind of conversational communication method for building up based on embedded device
Technical field
The invention belongs to the communications field, especially a kind of conversational communication method for building up based on embedded device.
Background technique
Embedded digital video recorder (DVR) (hard disk video recorder) is that one kind can connect its video of the analog acquisitions such as analog video camera, ball machine letter Number carry out local output echo and Video coding is locally stored, network real-time video is propagated embedded type network video equipment. Embedded NVR is that one kind can connect and control network IPC (web camera) front end, and the video data that IPC is transmitted carries out It is locally stored and forwarded, and decodes and show IPC real time video signals collected on the output interface of NVR equipment Equipment.
SIP comes across middle 1990s, until the publication of RFC 3261 indicates that the basis of SIP is true It is vertical.From that time, several RFC supplement versions have been issued, the content in the fields such as safety and authentication has been enriched.For example, RFC 3262 dictates the reliability of Temporary Response.RFC 3263 establishes the locating rule of sip proxy server.RFC 3264 provide proposal/answer model, and RFC 3265 has determined specific event notice.
Summary of the invention
The present invention proposes a kind of conversational communication method for building up based on embedded device, comprising steps of
Step 1: terminal for the first time call try when, terminal agent as proxy server send REGISTER registration request, if Proxy server knows user information not in the database by certification, just to terminal agent loopback 401Unauthorized matter Information is ask after being encrypted according to safety certification token, to use again after terminal agent prompt user inputs its mark and password REGISTER message report is to proxy server, and proxy server decrypts the user information in REGISTER message, by recognizing Results demonstrate,prove its it is legal after, which is registered in database, and to terminal agent return success response message 200OK,
Wherein terminal device receive request after, if proxy server have be not Request-URI parsing server, Manually it is one outbound proxy of terminal equipment configuration, a generation is known by automatic configuration protocol if configuration cannot achieve Reason;If what terminal device received is the URI response that do not support, the URI mould that proxy server does not support Request-URI to use Formula, then terminal device uses SIPS URI instead;If Request-URI nonrecognition UAS will receive the address of request, to refuse This request, returning response;The UA of its recording address is bound for specific contact address using REGISTER method, is searched The request that Request-URI and contact address match establishes and updates session request and Contact head file.
Step 2: caller is requested to called sending INVITE.The effect of INVITE request is to initiate and establish calling, is invited The called calling that caller is added and establishes, no response issues request again, wherein carrying out INVITE conversation description using SDP format;
Step 3: after proxy server has been passed through by authenticate-acknowledge user authentication, checking the Via header field in request message In whether included its address.If having included, mistake returns to the response of instruction mistake;If there is no problem, proxy server exists The Via header field of request message is inserted into Self address, and the transmission of callee side indicated by the domain To Invite message Invite is asked It asks;
Step 4: proxy server sends the response message in call treatment: 100Trying to Calling Side;
Step 5: being called lateral proxy server and send response message in call treatment: 100Trying;
Step 6: callee side indicates called subscriber's ring, sends information to proxy server after user's ring;
Step 7: proxy server forwards called subscriber's ringing information to Calling Side;
Step 8: called subscriber's off-hook, terminal agent B return to the response 200OK for indicating successful connection to proxy server;
Step 9: proxy server forwards this successfully to indicate 200OK to Calling Side;
Step 10: after Calling Side receives information, being confirmed to proxy server hair ACK information;
Step 11: ACK confirmation message is transmitted to callee side by proxy server;
Step 12: establishing communication connection between calling and called user, start to converse;
Step 13: terminal sends register message to proxy server and nullifies, when expire field is 0 in head, generation Reason server sends 200OK response back to upon receipt, and user's relevant information in database is nullified.
Compared with prior art, the beneficial effects of the present invention are:
1. the conversational communication method that the present invention designs register embedded device to more easily server, solve The problem that original embedded device is not open, protocol interaction is unstable, can be in the case where not influencing connection in message It is middle to increase a small amount of new information.
2. after terminal device Receiving Agent service request, if proxy server have be not Request-URI parsing clothes Business device is then one outbound proxy of terminal equipment configuration, by certainly if the outbound proxy of manual configuration cannot achieve manually Dynamic configuration protocol knows an agency, transmit the request to manual configuration independently of Request-URI sip server or IP address and port by Request-URI mark, can make it quickly and server selection.
Detailed description of the invention
Fig. 1 is Session Initiation Protocol flow diagram;
Fig. 2 is the session establishing method flow diagram based on embedded device.
Specific embodiment
A kind of method managed and terminate the sessions such as the voice and video in network is proposed in the embodiment of the present invention, is passed through This method can also allow for for the session between one or more participants that generate, modify and terminate using user agent To find participant and it allowed to establish a sharable conversation description.Facilitate the sessions participant of registration.
As depicted in figs. 1 and 2, the method for conversational communication foundation includes:
Step 1: terminal for the first time call try when, terminal agent as proxy server send REGISTER registration request, if Proxy server knows user information not in the database by certification, just to terminal agent loopback 401Unauthorized matter Information is ask after being encrypted according to safety certification token, to use again after terminal agent prompt user inputs its mark and password REGISTER message report is to proxy server, and proxy server decrypts the user information in REGISTER message, by recognizing Results demonstrate,prove its it is legal after, which is registered in database, and to terminal agent return success response message 200OK,
Wherein terminal device receive request after, if proxy server have be not Request-URI parsing server, Manually it is one outbound proxy of terminal equipment configuration, a generation is known by automatic configuration protocol if configuration cannot achieve Reason;If what terminal device received is the URI response that do not support, the URI mould that proxy server does not support Request-URI to use Formula, then terminal device uses SIPS URI instead;If Request-URI nonrecognition UAS will receive the address of request, to refuse This request, returning response;The UA of its recording address is bound for specific contact address using REGISTER method, is searched The request that Request-URI and contact address match establishes and updates session request and Contact head file.
Step 2: caller is requested to called sending INVITE.The effect of INVITE request is to initiate and establish calling, is invited The called calling that caller is added and establishes, no response issues request again, wherein carrying out INVITE conversation description using SDP format;
Step 3: after proxy server has been passed through by authenticate-acknowledge user authentication, checking the Via header field in request message In whether included its address.If having included, mistake returns to the response of instruction mistake;If there is no problem, proxy server exists The Via header field of request message is inserted into Self address, and the transmission of callee side indicated by the domain To Invite message Invite is asked It asks;
Step 4: proxy server sends the response message in call treatment: 100Trying to Calling Side;
Step 5: being called lateral proxy server and send response message in call treatment: 100Trying;
Step 6: callee side indicates called subscriber's ring, sends information to proxy server after user's ring;
Step 7: proxy server forwards called subscriber's ringing information to Calling Side;
Step 8: called subscriber's off-hook, terminal agent B return to the response 200OK for indicating successful connection to proxy server;
Step 9: proxy server forwards this successfully to indicate 200OK to Calling Side;
Step 10: after Calling Side receives information, being confirmed to proxy server hair ACK information;
Step 11: ACK confirmation message is transmitted to callee side by proxy server;
Step 12: establishing communication connection between calling and called user, start to converse;
Step 13: terminal sends register message to proxy server and nullifies, when expire field is 0 in head, generation Reason server sends 200OK response back to upon receipt, and user's relevant information in database is nullified.
The foregoing is merely the preferred embodiments of the invention, are not intended to limit the invention creation, all at this Within the spirit and principle of innovation and creation, any modification, equivalent replacement, improvement and so on should be included in the invention Protection scope within.

Claims (2)

1. a kind of conversational communication method for building up based on embedded device, which is characterized in that wherein the step of include,
S1: terminal device for the first time call try when, terminal agent sends registration request to proxy server, if proxy server is logical It crosses certification and knows user information not in the database, just to terminal agent loopback challenge information, terminal agent prompts user's input It is identified with after password, after being encrypted according to safety certification token, is reported again by registration request to proxy server, generation It manages server to decrypt the user information in registration request, after its is legal by authentication verification, which is registered in number Success response message is returned according in library, and to terminal agent;
S2: after terminal device receives the request of proxy server, if proxy server is not the service of Request-URI parsing Device is then one outbound proxy of terminal equipment configuration manually;
S3: being that terminal device binds a unique outer logo using SIP name mapping and redirection function;
When S4:UAC initiates registration request without band authentication information to the end UAS, UAS returns unauthorized to the registration request that UAC is issued Information, UAC preserve the UAS verification information sent, and when next heartbeat, UAC, which initiates the registration that band authenticates to UAS again, to be asked It asks.
2. a kind of conversational communication method for building up based on embedded device as described in claim 1, which is characterized in that terminal agent When sending registration request to proxy server, registration request adds between one or more contact addresses while recording address Add new connection, by authenticating the contact address of other contact persons, so that terminal device is registered to specific recording address.
CN201811224156.2A 2018-10-19 2018-10-19 A kind of conversational communication method for building up based on embedded device Pending CN109257368A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811224156.2A CN109257368A (en) 2018-10-19 2018-10-19 A kind of conversational communication method for building up based on embedded device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811224156.2A CN109257368A (en) 2018-10-19 2018-10-19 A kind of conversational communication method for building up based on embedded device

Publications (1)

Publication Number Publication Date
CN109257368A true CN109257368A (en) 2019-01-22

Family

ID=65045475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811224156.2A Pending CN109257368A (en) 2018-10-19 2018-10-19 A kind of conversational communication method for building up based on embedded device

Country Status (1)

Country Link
CN (1) CN109257368A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111756726A (en) * 2020-06-23 2020-10-09 上海缔安科技股份有限公司 SIP security authentication method supporting State cipher algorithm
CN111901150A (en) * 2020-06-30 2020-11-06 上海欣方智能系统有限公司 ELK storage-based historical signaling analysis and query method
CN113783713A (en) * 2020-08-04 2021-12-10 北京沃东天骏信息技术有限公司 Method, device and system for configuring proxy

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215235A (en) * 2011-06-10 2011-10-12 北京工业大学 SIP (session initiation protocol) safety certification method capable of modifying authentication password
US8139564B1 (en) * 2008-09-24 2012-03-20 Sprint Communications Company L.P. Configuring guest users for a VoIP device of a primary user
US8194634B2 (en) * 2005-08-30 2012-06-05 Sprint Communications Company L.P. Method and system for extending a mobile directory number to a landline-based voice-over-packet network
CN102572742A (en) * 2010-12-08 2012-07-11 中兴通讯股份有限公司 Call processing method, system and intelligent network platform
CN104539869A (en) * 2014-12-10 2015-04-22 佛山络威网络技术有限公司 Video call service method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8194634B2 (en) * 2005-08-30 2012-06-05 Sprint Communications Company L.P. Method and system for extending a mobile directory number to a landline-based voice-over-packet network
US8139564B1 (en) * 2008-09-24 2012-03-20 Sprint Communications Company L.P. Configuring guest users for a VoIP device of a primary user
CN102572742A (en) * 2010-12-08 2012-07-11 中兴通讯股份有限公司 Call processing method, system and intelligent network platform
CN102215235A (en) * 2011-06-10 2011-10-12 北京工业大学 SIP (session initiation protocol) safety certification method capable of modifying authentication password
CN104539869A (en) * 2014-12-10 2015-04-22 佛山络威网络技术有限公司 Video call service method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
STEVENSFOLLOWER: "SIP协议整理", 《《HTTPS://WWW.CNBLOGS.COM/STEVENSFOLLOWER/P/5591017.HTML》》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111756726A (en) * 2020-06-23 2020-10-09 上海缔安科技股份有限公司 SIP security authentication method supporting State cipher algorithm
CN111901150A (en) * 2020-06-30 2020-11-06 上海欣方智能系统有限公司 ELK storage-based historical signaling analysis and query method
CN113783713A (en) * 2020-08-04 2021-12-10 北京沃东天骏信息技术有限公司 Method, device and system for configuring proxy

Similar Documents

Publication Publication Date Title
Rosenberg et al. Best current practices for third party call control (3pcc) in the session initiation protocol (SIP)
CN104813655B (en) The method of preview caller in videoconference session
US7752315B2 (en) Method for extending the use of SIP (session initiated protocol) for providing debug services
US20060034195A1 (en) SIP message extension for push to watch service
CN105530389B (en) Voice leaving method and device based on IMS network
CN101360091B (en) Apparatus, system and method realizing session initial protocol terminal conference accessing
TW200904100A (en) Signaling of early media capabilities in IMS terminals
KR101169493B1 (en) Facilitating early media in a communications system
CN101888516A (en) Method and system for realizing video communication
CN103297445A (en) Web terminal communication method and system based on IP multimedia network
CN109257368A (en) A kind of conversational communication method for building up based on embedded device
CN102144380B (en) End-to-end address transfer
WO2011109972A1 (en) Method and system for implementing multimedia conference
WO2007098706A1 (en) A method for transmitting the service data and a packet terminal used in the method
CN100563219C (en) Realize the system and method for click to dial
KR20090047481A (en) Device to pc authentication for real time communications
Camarillo et al. Early media and ringing tone generation in the Session Initiation Protocol (SIP)
WO2009086758A1 (en) Method for realizing online color ringback tone and multimedia ringback tone service
Tian et al. Study of SIP protocol through VoIP solution of “Asterisk”
CN108924142A (en) A kind of secure voice intercommunication means of communication based on Session Initiation Protocol
CN102045330A (en) IMS soft terminal and communication method thereof
KR101075750B1 (en) Method and system for providing multimedia ring-back tone in multimedia telephony service network
CN108347414A (en) A kind of method and apparatus of Voice Cryption
KR100785792B1 (en) Method and system for providing service on SIP-based Internet telephony system
Rosenberg A Framework for Application Interaction in the Session Initiation Protocol (SIP)

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190122

RJ01 Rejection of invention patent application after publication