CN105813228A - Communication method and related device based on SIP over TCP/TLS - Google Patents

Communication method and related device based on SIP over TCP/TLS Download PDF

Info

Publication number
CN105813228A
CN105813228A CN201610143258.6A CN201610143258A CN105813228A CN 105813228 A CN105813228 A CN 105813228A CN 201610143258 A CN201610143258 A CN 201610143258A CN 105813228 A CN105813228 A CN 105813228A
Authority
CN
China
Prior art keywords
sbc
association
terminal
related information
network
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.)
Granted
Application number
CN201610143258.6A
Other languages
Chinese (zh)
Other versions
CN105813228B (en
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201610143258.6A priority Critical patent/CN105813228B/en
Publication of CN105813228A publication Critical patent/CN105813228A/en
Priority to PCT/CN2017/074382 priority patent/WO2017157144A1/en
Application granted granted Critical
Publication of CN105813228B publication Critical patent/CN105813228B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/1083In-session procedures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/25Maintenance of established connections

Abstract

The invention relates to the communication field and especially relates to the communication technology based on SIP over TCP/TLS. In a communication method, after a network is interrupted, a mobile terminal and an SBC respectively maintains call service and are not hung up, and the SBC does not release session resources distributed to the mobile terminal; after the network is recovered, the SBC uses association information provided by the mobile terminal to carry out association validity detection, if the detection is successful, the SBC uses the session resources distributed to the mobile terminal before the network interruption to initiate periodic registration to a CSCF; and after the network is recovered, the mobile terminal further sends media stream data to the SBC so as to enable the SBC to carry out first packet learning after the detection is successful. In this way, call service continuing is realized without the terminal initiating a new call, the service interruption time is reduced, and the service experience is improved.

Description

Communication means and relevant apparatus based on SIP over TCP/TLS
Technical field
The present invention relates to communication technical field, more particularly, it relates to based on the communication technology of SIPoverTCP/TLS.
Background technology
Along with developing rapidly of intelligent terminal and VoIP, the application based on IMS (IPMultimediaSystemIP IP multimedia subsystem, IMS) SIP calling gets more and more.
The mobility of intelligent terminal, data safety and power consumption requirement, it is necessary to use SIPOverTCP/TLS.SIPOverTCP/TLS technology further relates to Session Border Controller (SBC) and CSCF (CSCF) network element.
In the process that terminal moves, flash, switching (Wifi, 3G/4G cut mutually), return to the situations such as the Wifi area of coverage (can be collectively referred to as network interrupt) from Wifi edge TCP all can be caused to interrupt, audio frequency and video call business for SIPOverTCP, having no progeny in TCP, terminal is initiated to SBC to register, again initiate business again.SBC can use new contact address Contact header field to register to CSCF, and CSCF is the discovery that new ContactID, it is believed that be different-place login, removes existing call business and Session Resources thereof.If needing call business to continue, terminal needs again to initiate calling, so both consumes flow, adds again service delay, be substantially reduced Consumer's Experience.
Summary of the invention
In view of this, the purpose of the embodiment of the present invention is in that to provide based on the communication means of SIPoverTCP/TLS and relevant apparatus, continues realizing call business, reduces service delay.
On the one hand, embodiments herein provides based on, in the communication means of SIPoverTCP/TLS, in the method, having no progeny in network, and mobile terminal and SBC all keep call business to hang on, and SBC is not released to the Session Resources of mobile terminal distribution yet.After network recovery, SBC uses the related information that mobile terminal provides to be associated legitimacy detection, if detecting successfully, before SBC use network interruption, the Session Resources for mobile terminal distribution initiates periodic registration to CSCF.After network recovery, mobile terminal also sends media stream data to SBC, in order to detecting after successfully, SBC carries out first packet study.Session Resources owing to recovering the registration employing of laggard line period is identical with before interruption, and this makes CSCF perception less than network change, will not discharge existing call business.After network recovery can media stream immediately, obtain the new address after network recovery by first packet study, the destination address of the Media Stream that follow-up SBC sends toward end side, is also this new address.Due to before the timeout will not call release business, and re-started first packet study, so call business just can be realized continue without again initiating calling, and decreased service outage duration, improve business experience.
In a possible design, SBC detects after unsuccessfully in association legitimacy, redistributes Session Resources for terminal, uses the Session Resources redistributed to initiate periodic registration to CSCF.Afterwards, SBC will use the Session Resources redistributed to initiate periodic registration to CSCF.So better can must realize communication.
In a possible design, no matter associating legitimacy and detect whether successfully, SBC all generates and is returned in the association ID used in association legitimacy detection next time.More specifically, for the association ID portability of association legitimacy detection next time in the success response message returned by SBC.Further, for success response message, can increasing nextAssociateId field in the Contact header field of success response message, the value in nextAssociateId field is association ID.Carry association ID, SBC by new field in existing sip message and process simple not consumption energy, and also without additionally increasing signaling consumption.Or, the above-mentioned association ID also portability for associating legitimacy detection next time is in the newly-increased sip message returned by SBC, and this design can change the form of original sip message.In one example, association ID can be callID or servicecookie.In another example, association ID can be generated according to the create-rule set by SBC.
In a possible design, SBC is by receiving the registration message carrying related information or carrying the newly-increased sip message of related information and obtain related information.More specifically, can having associateId field in registration message or newly-increased sip message, field value is related information.So better can must realize call proceeding.
In a possible design, the detection of above-mentioned association legitimacy comprises the steps that searches corresponding Session Resources according to association ID, if finding, association legitimacy detects successfully, and otherwise association legitimacy detects unsuccessfully.So better can must realize call proceeding.
In a possible design, related information also includes MD5 value;This MD5 value is that random cipher is carried out MD5Hash computing and obtains by described terminal, described random cipher be described SBC disconnected in a network before together distribute to described terminal together with described association ID.The RTCP message that SBC then carries related information by reception obtains related information.The present embodiment uses RTCP message activation SBC again the first packet of Media Stream to be learnt, it is possible to reduce the broken words time that network flash calls after recovering.
In a possible design, the detection of above-mentioned association legitimacy comprises the steps that searches corresponding Session Resources according to association ID;MD5 value in above-mentioned RTCP message is carried out MD5 verification;If finding corresponding Session Resources and MD5 verifying successfully, then association legitimacy detects successfully, and otherwise association legitimacy detects unsuccessfully.Introduce MD5 verification, the safety of call proceeding can be improved.
In a possible design, SBC will additionally generate and be returned in the association ID and the random cipher that use in association legitimacy detection next time.As an example, association ID and random cipher can be carried in the SBC sip message returned, for instance, success response message (200OK message) or newly-increased sip message.More specifically, can increasing nextAssociateId field in the Contact header field of 200OK, the value in nextAssociateId field is association ID.Carry association ID, SBC by new field in existing sip message and process simple not consumption energy, and also without additionally increasing signaling consumption.
On the other hand, embodiments provide a kind of SBC, this SBC to have and realize the function of SBC behavior in said method reality.Described function can be realized by hardware, it is also possible to performs corresponding software by hardware and realizes.Described hardware or software include one or more module corresponding with above-mentioned functions.
In a possible design, the structure of SBC includes: processor, memorizer, described processor are stored in the software program in described memorizer, call the data being stored in described memorizer by operation, perform said method.
Another aspect, embodiments provides a kind of terminal, and this terminal has and realizes the function of CSU behavior in said method reality.Described function can be realized by hardware, it is also possible to performs corresponding software by hardware and realizes.Described hardware or software include one or more module corresponding with above-mentioned functions.
In a possible design, the structure of terminal includes: processor, memorizer, described processor are stored in the software program in described memorizer, call the data being stored in described memorizer by operation, at least perform: have no progeny in a network, keep the call business of end side not discharge;After network recovery, send related information to SBC;Described related information is associated legitimacy detection for described SBC, wherein, described related information at least includes association ID, described association ID indicates the Session Resources distributing to described terminal before described SBC breaks in a network, detecting after successfully in association legitimacy, the Session Resources of described association ID instruction will be used for initiating periodic registration to CSCF by described SBC;After network recovery, to the media stream data that described SBC transmission is corresponding with described call business, described media stream number new address according to this sends, and the first packet in described media stream data learns described new address for described SBC.
Another further aspect, embodiments provides a kind of computer-readable storage medium, and for saving as the computer software instructions used by above-mentioned SBC, it comprises for performing the program designed by above-mentioned aspect.
Another further aspect, embodiments provides a kind of computer-readable storage medium, and for saving as the computer software instructions used by above-mentioned terminal, it comprises for performing the program designed by above-mentioned aspect.
In embodiments of the present invention, having no progeny in network, mobile terminal and SBC all keep call business to hang on, and SBC is not released to the Session Resources of mobile terminal distribution yet.After network recovery, mobile terminal provides related information to SBC, and SBC uses related information to be associated legitimacy detection, if detecting successfully, SBC uses network to interrupt the front Session Resources for mobile terminal distribution and initiates periodic registration to CSCF.Session Resources owing to recovering the registration employing of laggard line period is identical with before interruption, and this makes CSCF perception less than network change, will not discharge existing call business.After network recovery can media stream immediately, obtain the new address after network recovery by first packet study, the destination address of the Media Stream that follow-up SBC sends toward end side, is also this new address.Due to before the timeout will not call release business, and re-started first packet study, so call business just can be realized continue without again initiating calling, and decreased service outage duration, improve business experience.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
The application scenarios schematic diagram that Fig. 1 provides for the embodiment of the present invention;
The interactive examples figure of the communication means based on SIPoverTCP/TLS that Fig. 2 a-2b, Fig. 3, Fig. 4 a-4c, Fig. 5 a-5b, Fig. 6 provide for the embodiment of the present invention;
The possible structural representation of the SBC that Fig. 7 a and Fig. 7 b provides for the embodiment of the present invention;
The possible structural representation of the terminal that Fig. 8 provides for the embodiment of the present invention;
SBC that Fig. 9 provides for the embodiment of the present invention or the alternatively possible structural representation of terminal.
Detailed description of the invention
Embodiments provide the communication means based on SIPoverTCP/TLS and relevant apparatus, continue with the call business after realizing network recovery, meanwhile, do not reduce SBC or the process performance of other IMS network elements.
Relevant apparatus involved by the embodiment of the present invention includes mobile terminal, SBC and CSCF.
Fig. 1 gives a kind of application scenarios of above-mentioned mobile terminal (MB), SBC and CSCF: mobile terminal, in moving process, is had no progeny in generation and recovers, for instance network flash, network switch, and its public network address is become IP2 from IP1.
It should be noted that Fig. 1 exemplary show a mobile terminal, in practical application scene, the number of mobile terminal is not limited merely to one, and they can be more.Additionally, the change of IP network that mobile terminal accesses is also believed to network switching.
Wherein, mobile terminal primary responsibility login service device, initiate calling, send audio frequency and video RTP Media Stream.
The signaling of SBC primary responsibility terminal access and Media proxy.
The signaling control that CSCF primary responsibility user logs in, processes in multimedia call session process.
It should be noted that Session Initiation Protocol is a Client/Sever agreement, therefore sip message specifically can divide two kinds: request message and response message.
The sip request message that the present invention relates to is as follows:
INVITE: represent that calling subscribe initiates a session request, invite other users to add a session.Can also with after call setup for more new session (now this INVITE be also called Re-invite);
ACK: confirm to have have received the final response to INVITE request;
REGISTER: represent that registration is listed in the address information in To field.
Response message in Session Initiation Protocol, for request message is responded, indicates the success or failure state of calling.The response message related in the present invention is as follows:
200: success response (OK);
401: unauthorized (Unauthorized).
Now following based on the general character aspect that invention described above relates to, the embodiment of the present invention is further described.
One embodiment of the present of invention provides a kind of communication means based on SIPoverTCP/TLS, and based on the mobile terminal of this method, BSC, CSCF.
Below in conjunction with accompanying drawing 2a and Fig. 3, the scheme that embodiments of the invention are provided illustrates.
The mutual schematic diagram of the communication means that Fig. 2 a provides for the embodiment of the present invention, it substantially can include several subprocess: re-register process after initial registration procedure, calling procedure, network interrupt processing process, network recovery and call-connection process.
What Fig. 3 embodied is Signalling exchange.
Wherein, initial registration procedure can include such as lower part:
200 parts: terminal (UE), according to normal process, uses SipOverTcp/TLS to register.
What the SYN in Fig. 3, ACK message embodied is the link setup process of TCP.
In initial registration part, SBC can be terminal distribution Session Resources, Session Resources includes contactID (representing in Fig. 3) with contactID1, and initiates periodic registration (initiating REGISTER message, this message includes contactID1) to CSCF.
It should be noted that periodic registration is to maintain enrollment session, be equivalent to heart beating.
During initial registration, the mutual signaling of three relates to REGISTER message, 401 response messages and 200OK message.
201 parts: after succeeding in registration, SBC returns association identification (ID) to terminal.
Concrete, association ID can be carried in the SBC sip message returned, for instance, success response message (200OK message).Concrete, nextAssociateId field can be increased in the Contact header field of 200OK, the value in nextAssociateId field is association ID.Carry association ID, SBC by new field in existing sip message and process simple not consumption energy, and also without additionally increasing signaling consumption.
Additionally, association ID also can be carried in newly-increased sip message, further, can arranging nextAssociateId field in the Contact header field of newly-increased sip message, the value in nextAssociateId field is association ID.At this time, it may be necessary to redefine detection interface and related information.So can not change original sip message form.
Association ID may indicate that the Session Resources that SBC is terminal distribution, and in other words, association ID characterizes the corresponding relation between terminal and the Session Resources that SBC is its distribution.
Association ID can be used for association legitimacy detection next time, and follow-up will association legitimacy detection be introduced herein.
SBC can generate association ID according to the create-rule set and return to terminal.It is true that association ID is only transparent transmission by terminal, SBC can customize the content of association ID.
Calling procedure is embodied in 202 parts.Being referred to the technology such as existing call setup, media stream data transmission, therefore not to repeat here.It should be noted that the current address of media stream data is IP1.After follow-up generation network interrupts recovery again, its address will be changed to IP2.
Here address refers specifically to the IP address of public network NAT corresponding to terminal.It practice, terminal is mostly transmission message under wifi scene, the IP address used is private network IP address, and after the Media Stream of terminal transmission or data arrive public network, the IP address of the corresponding public network NAT of meeting, this address originally SBC and terminal are not all known.SBC needs study Media Stream or the IP head (namely initial several IP bags) of data, it is thus achieved that the IP address of the public network NAT that terminal is corresponding is also recorded.
Calling procedure signaling refers at least to INVITE and 200OK message.
Network interrupt processing process can include such as lower part:
203 parts: have no progeny in a network, terminal does not discharge the calling (keeping VoIP) of end side immediately, its objective is to allow calling hang on.
More specifically, terminal (also can be longer or shorter) can keep the existing call business of end side not discharge within the time of 15-30 second.
204 parts: SBC before waiting time-out, does not discharge corresponding Session Resources, is maintained with call business corresponding to terminal and does not discharge (namely allowing calling hang on) after detecting that end side TCP is abnormal.
In 204 parts, before waiting time-out, do not discharge the association ID that terminal is corresponding yet.
In other embodiments of the present invention, if waiting time-out, SBC associates ID, Session Resources and call release business by corresponding with terminal for release.
Concrete, owing to, in normal calling procedure, terminal generally can send Media Stream, therefore, SBC can discharge association ID, Session Resources and call business again after without Media Stream time-out, before without Media Stream time-out, does not then discharge association ID, Session Resources and call business.
Certainly, if SBC is not detected by exception, then keep association ID constant.
Re-register process after network recovery can include such as lower part:
205 parts: after network recovery, terminal initiates registration.
In one example, refer to Fig. 3, the association ID that SBC is its distribution can be carried in registration message.More specifically, can increasing associateId field in a register message newly, field value is the value in 201 part nextAssociateId fields.
In another example, it is possible to use newly-increased sip request message carries association ID.More specifically, can arranging associateId field in newly-increased sip message, field value is the value in 201 part nextAssociateId fields.
206 parts: SBC uses association ID to be associated legitimacy detection.
More specifically, SBC can search corresponding Session Resources according to association ID, if finding, then association legitimacy detects successfully, and otherwise association legitimacy detects unsuccessfully.
207 parts: if association legitimacy detects successfully, SBC uses the Session Resources of association ID instruction to initiate periodic registration to CSCF.
More specifically, the ContactID1 before use is initiated periodic registration to CSCF by SBC.All keeping ContactID1 constant owing to network interrupts front and back, CSCF perception, less than network change, will not discharge existing calling.
In other embodiments of the present invention, referring to Fig. 2 b, if association legitimacy detects unsuccessfully, then SBC will redistribute Session Resources (2071 part) for terminal.Before address, Session Resources includes contactID, and the contactID redistributed can be described as contactID2.
Afterwards, SBC will use the Session Resources (contactID2) redistributed to initiate periodic registration (2072 part) to CSCF.
208 parts: SBC generates and is returned in the association ID used in association legitimacy detection next time.
In one example, SBC can carry at the upper association ID once associating and using in legitimacy detection in the nextAssociateId of the 200OK of registration.Additionally, 200OK also portability association legitimacy detection mark assFlag, it is used for notifying that terminal association legitimacy detects whether successfully.
Detecting whether successfully it should be noted that no matter associate legitimacy, SBC all can generate and be returned in the association ID used in association legitimacy detection next time.
Call-connection process can include such as lower part:
209 parts: the media stream data that terminal transmission is corresponding with call business.
In one example, terminal confirming that association legitimacy detects after successfully, can transmit the media stream data corresponding with call business.
Aforementioned being referred to, in 200OK, portability association legitimacy detection mark assFlag, is used for notifying that terminal association legitimacy detects whether successfully.According to this assFlag, terminal can confirm that association legitimacy detects whether successfully.
In another example, terminal also can send related information and media stream data simultaneously, is confirming that association legitimacy detects after unsuccessfully, and terminal stops sending media stream data again.Those skilled in the art can carry out flexible design according to actual needs.
It should be noted that before network interrupts, the current address of media stream data is IP1, and in 209 parts, address change is IP2, namely new address.
The first packet of media stream data is learnt by 210 parts: SBC, obtains new address.
More specifically, SBC can find relevant call business according to active user's number of mobile terminal, supports to receive the media stream data of this call business from new address, the first packet of media stream data is learnt, obtains new address.
Afterwards, SBC will receive the related data of above-mentioned call business with this new address.The destination address of the Media Stream that SBC sends toward end side, is also this new address.
First packet study is the technology of comparative maturity, and therefore not to repeat here.
211 parts: terminal initiates re-Invite, keeps original calling.
Initiating re-invite is the session heart beating in order to maintain calling, keeps terminal consistent with the information of server side as far as possible.
It should be noted that prior art also has re-Invite flow process, but by timer driver, it is possible to wait very long.The present embodiment is then after network recovery, just initiate re-Invite.
It should be noted that association legitimacy detects after unsuccessfully, SBC will no longer carry out first packet study, call interruption.Therefore, referring to Fig. 2 b, confirming that association legitimacy detects after unsuccessfully, terminal will not initiate re-Invite.
In embodiments of the present invention, having no progeny in network, mobile terminal and SBC all keep call business to hang on, and are not also released to the Session Resources of mobile terminal distribution.After network recovery, mobile terminal provides related information to SBC, and SBC uses related information to be associated legitimacy detection, if detecting successfully, SBC uses network to interrupt the front Session Resources for mobile terminal distribution and initiates periodic registration to CSCF.Session Resources owing to recovering the registration employing of laggard line period is identical with before interruption, and this makes CSCF perception less than network change, will not discharge existing call business.After network recovery can media stream immediately, obtain the new address after network recovery by first packet study, the destination address of the Media Stream that follow-up SBC sends toward end side, is also this new address.Due to before the timeout will not call release business, and re-started first packet study, so call business just can be realized continue without again initiating calling, and decreased service outage duration, improve business experience.
In other embodiments of the present invention, also can using session information as associating ID, for instance using CallID (CallID is the random string generated by certain rule) or servicecookie (service side session map information) as associating ID.
Refer to the another kind of interaction flow shown in Fig. 4 a and Fig. 4 b:
In 400 parts: terminal (UE), according to normal process, uses SipOverTcp/TLS to register.
What Fig. 4 b embodied is Signalling exchange.
400 parts are similar with 200 parts, and therefore not to repeat here.
It should be noted that as CallID need not be specifically generated association ID as association ID, SBC, without the embodiment (201 part) as shown in Fig. 2 a, 2b and Fig. 3, the sip message returned increases nextAssociateId field.
401 parts: terminal originated calls.
Being referred to the technology such as existing call setup, media stream data transmission, therefore not to repeat here.
402 parts: have no progeny in a network, terminal does not discharge the calling (keeping VoIP) of end side immediately, its objective is to allow calling hang on.
402 parts are similar with 203 parts, and therefore not to repeat here.
403 parts: SBC before waiting time-out, does not discharge corresponding Session Resources, is maintained with call business corresponding to terminal and does not discharge (namely allowing calling hang on) after detecting that end side TCP is abnormal.
403 parts are similar with 204 parts, and therefore not to repeat here.
404 parts: after network recovery, terminal initiates registration.
In re-register process, owing to natively needing to carry in a register message by CallID, therefore, without the embodiment (205 part) as shown in Fig. 2 a, 2b and Fig. 3, newly-increased associateId field, so can simplify the process of SBC further in a register message.
405 parts: SBC uses association ID (namely callID) to be associated legitimacy detection.
More specifically, SBC can search corresponding Session Resources according to association ID, if finding, then association legitimacy detects successfully, and otherwise association legitimacy detects unsuccessfully.
406 parts: if association legitimacy detects successfully, SBC uses the Session Resources of association ID instruction to initiate periodic registration to CSCF.
406 parts are similar with 207 parts, and therefore not to repeat here.
In other embodiments of the present invention, referring to Fig. 4 c, if association legitimacy detects unsuccessfully, then SBC will redistribute Session Resources (2061 part) for terminal.Before address, Session Resources includes contactID, and the contactID redistributed can be described as contactID2.
Afterwards, SBC will use the Session Resources (contactID2) redistributed to initiate periodic registration (2062 part) to CSCF.
407 parts: SBC returns sip message.
This sip message portability association legitimacy detection mark assFlag, is used for notifying that terminal association legitimacy detects whether successfully.
408 parts: the media stream data that terminal transmission is corresponding with call business.
In one example, terminal can confirm that association legitimacy detects after successfully, transmitting the media stream data corresponding with call business, and confirming that association legitimacy detects after unsuccessfully, terminal will not start the operation (Fig. 4 c) of the transmission media stream data corresponding with call business.
In another example, terminal also can send related information and media stream data simultaneously, and is confirming that association legitimacy detects after unsuccessfully, and terminal stops sending media stream data again.Those skilled in the art can carry out flexible design according to actual needs.
409 parts: if association legitimacy detects successfully, the first packet of media stream data is learnt by SBC, obtains new address.
409 parts are similar with 210 parts, and therefore not to repeat here.
410 parts: if association legitimacy detects successfully, terminal initiates re-Invite, keeps original calling.
410 parts are similar with 211 parts, and therefore not to repeat here.
Fig. 5 a and Fig. 6 illustrates another exemplary interaction flow of above-mentioned communication means (Fig. 6 embodies the Signalling exchange related in interaction flow shown in Fig. 5 a), and it substantially can include several subprocess: the heavy learning process of the first packet after initial registration procedure, calling procedure, network interrupt processing process, network recovery and call-connection process.What Fig. 6 embodied is Signalling exchange.It should be noted that SBC and CSCF's is mutual identical with aforementioned all embodiments, therefore, eliminating the mutual of SBC and CSCF in Fig. 5 a and 6, correlative detail refers to aforementioned all embodiments.
Wherein, initial registration procedure can include such as lower part:
500 parts: terminal (UE), according to normal process, uses SipOverTcp/TLS to register.
In initial registration part, SBC can be terminal distribution Session Resources, and initiates periodic registration (initiating REGISTER message, this message includes contactID) to CSCF.
After periodic registration success, SBC can return 200OK message.
With initial registration procedure shown in Fig. 2 a, 2b and Fig. 3 the difference is that, in the initial registration procedure of the present embodiment, return association ID, but in calling procedure return association ID.
Calling procedure at least includes such as lower part:
501 parts: after succeeding in registration, terminal sends INVITE to SBC, to set up calling;
502 parts: SBC generates and returns association ID and random cipher (pwd) to terminal.
Association ID and random cipher can be carried in the SBC sip message returned, for instance, success response message (200OKforinvite message).Concrete, nextAssociateId field can be increased in the Contact header field of 200OK, the value in nextAssociateId field is association ID and random cipher (pwd).Carried association ID and random cipher (pwd) by new field in existing sip message, SBC processes simple not consumption energy, and also without additionally increasing signaling consumption.
Additionally, association ID and random cipher also can be carried in newly-increased sip message, further, can arranging nextAssociateId field in the Contact header field of newly-increased sip message, the value in nextAssociateId field is association ID and random cipher.At this time, it may be necessary to redefine detection interface and related information.So can not change original sip message form.
SBC can generate association ID according to the create-rule set.Association ID is only transparent transmission by terminal, and SBC can customize the content of association ID, and in the present embodiment, association ID is server-cookie.Other related contents of association ID refer to the introduction of aforementioned 201 parts, and therefore not to repeat here.
Network interrupt processing process can include such as lower part:
503 parts: have no progeny in a network, terminal does not discharge the calling (keeping VoIP) of end side immediately, its objective is to allow calling hang on.
After 504 parts: SBC detects that end side TCP is abnormal, before waiting time-out, do not discharge corresponding Session Resources, association ID, be maintained with the call business corresponding with terminal and do not discharge (namely allowing calling hang on).
503-504 part is identical with 203-204 part, and therefore not to repeat here.
It should be noted that for the sake of simplicity, Fig. 6 eliminates network interrupt processing process.
First packet weight learning process after network recovery at least includes such as lower part:
505 parts: terminal sends RTCP (RTCP Real-time Transport Control Protocol) message carrying related information to SBC.
In first packet weight learning process shown in Fig. 6 the 1st, 2,4 are standard agreement flow process, and Nonce and nextnonce therein authenticates use in registration.3rd process is then corresponding with " terminal sends the RTCP message carrying related information to SBC ".
Related information includes association ID and MD5 value (namely MD5-Auth).Wherein, to be terminal carry out MD5Hash computing to the random cipher obtained in calling procedure to MD5 value obtains.
More specifically, can increasing associateId field in RTCP message newly, field value is association ID and the MD5 value that 502 parts return.
506 parts: meanwhile, terminal sends the Media Stream corresponding with call business to SBC.
It should be noted that before network interrupts, the current address of media stream data is IP1, and after recovery, address change is IP2.
Here address refers specifically to the IP address of public network NAT corresponding to terminal.It practice, terminal is mostly transmission message under wifi scene, the IP address used is private network IP address, and after the Media Stream of terminal transmission or data arrive public network, the IP address of the corresponding public network NAT of meeting, this address originally SBC and terminal are not all known.SBC needs the IP head (namely first packet) of study Media Stream or data, it is thus achieved that the IP address of the public network NAT that terminal is corresponding.
507 parts: SBC uses association ID and MD5 value to be associated legitimacy detection.
Concrete, SBC searches corresponding Session Resources according to association ID, and the MD5 value in RTCP message is carried out MD5 verification;If finding corresponding Session Resources and MD5 verifying successfully, then association legitimacy detects successfully, and otherwise association legitimacy detects unsuccessfully.
Wherein, MD5 verification comprises the steps that
SBC uses the random cipher being previously allocated to terminal to carry out the MD5 value that MD5Hash computing obtains.MD5 value for sending with terminal is distinguished mutually, terminal can be generated and sent and be called a MD5 value to the MD5 value of SBC, and the MD5 that SBC generates is called the 2nd MD5 value.
Oneth MD5 value and the 2nd MD5 value are compared by SBC, and as the two is equal, then MD5 verifies successfully, and otherwise MD5 verifies unsuccessfully.
508 parts: if association legitimacy detects successfully, SBC supports to receive media stream data from new address, the first packet of media stream data is relearned, obtains new address.
In one example, detecting after successfully in association legitimacy, SBC also can use the Session Resources of association ID instruction to initiate periodic registration to CSCF.
In other embodiments of the present invention, referring to Fig. 5 b, if association legitimacy detects unsuccessfully, then SBC will redistribute Session Resources (5081 part) for terminal.Before address, Session Resources includes contactID, and the contactID redistributed can be described as contactID2.Afterwards, SBC will use the Session Resources (contactID2) redistributed to initiate periodic registration (5082 part) to CSCF.
It should be noted that if association legitimacy detects unsuccessfully, SBC will not carry out first packet study, and the Media Stream that the call business with this terminal received is corresponding is abandoned (5083 part).
509 parts: terminal initiates re-Invite, keeps original calling.
510 parts: SBC generates and is returned in association legitimacy detection next time to terminal the association ID and the random cipher (pwd) that use.
Association ID and random cipher can be carried in the SBC sip message returned, for instance, success response message (200OKforinvite message).Concrete, nextAssociateId field can be increased in the Contact header field of 200OK, the value in nextAssociateId field is association ID and random cipher (pwd).Carried association ID and random cipher (pwd) by new field in existing sip message, SBC processes simple not consumption energy, and can also without additionally increasing signaling consumption.
Additionally, association ID and random cipher also can be carried in newly-increased sip message, further, can arranging nextAssociateId field in the Contact header field of newly-increased sip message, the value in nextAssociateId field is association ID and random cipher.At this time, it may be necessary to redefine detection interface and related information.So can not change original sip message form.
Detecting whether successfully it should be noted that no matter associate legitimacy, SBC all can generate and be returned in the association ID used in association legitimacy detection next time.
In the present embodiment, RTCP message activation SBC is used again the first packet of Media Stream to be learnt, it is possible to reduce the broken words time that network flash calls after recovering.Additionally, the present embodiment introduces MD5 verification, the safety of call proceeding can be improved.
It should be noted that for realizing the seriality that network flash calls.Existing being generally adopted STG tunnel scheme, this scheme needs to set up tunnel between mobile terminal and STG server.Wherein, STG server is individually disposed or the built-in STG server of SBC, and mobile terminal side then needs to embed STG client.After program starts, set up one or more tunnel, sip message and media stream data between mobile terminal and STG server and all transmit on tunnel.
When after network recovery, the embedded STG client of mobile terminal re-establishes tunnel.STG client is supplied to the information such as the virtual IP address of business and port and keeps with consistent before, and business does not embody network interruption.So, sip message and media stream data can continue transmission, will not sensing network interrupt process, thus realize calling seriality.
But, individually dispose STG server, costly.And at the built-in STG server of SBC, the performance of SBC can be had a strong impact on so that the ability that SBC supports sharply declines.Further, the scheme in STG tunnel is adopted, it is necessary to just can continue after waiting tunnel to be successfully established, add the time of service disconnection.
And technical scheme provided by the present invention is without setting up tunnel, dispose STG server also without extra or in SBC, dispose STG server, the IMS network elements such as CSCF are without carrying out extra process, and SBC is without increasing too many process, thus the process performance being not result in SBC declines.
It should be noted that technique scheme is applied equally to TLS.
The scheme that the embodiment of the present invention is provided by above-mentioned main angle mutual between each device is described.It is understood that each device, for instance SBC, terminal etc., in order to realize above-mentioned functions, it comprises the execution corresponding hardware configuration of each function and/or software module.Those skilled in the art should be readily appreciated that, the unit of each example described in conjunction with the embodiments described herein and algorithm steps, and the present invention can realize with the combining form of hardware or hardware and computer software.Certain function performs actually in the way of hardware or computer software drive hardware, depends on application-specific and the design constraint of technical scheme.Professional and technical personnel specifically can should be used for using different methods to realize described function to each, but this realization is it is not considered that beyond the scope of this invention.
Fig. 7 a illustrates a kind of possible structural representation of SBC involved in above-described embodiment, including:
Holding unit 701, before having no progeny in network being detected, waiting time-out, the Session Resources keeping terminal corresponding does not discharge, and the call business keeping above-mentioned terminal corresponding does not discharge;
Wherein, above-mentioned Session Resources is to distribute to terminal before SBC breaks in a network;And terminal is had no progeny in a network, also the call business keeping end side is not discharged.
First receives unit 702, and for receiving the related information from above-mentioned terminal, above-mentioned related information at least includes association ID, above-mentioned association ID and indicates the Session Resources distributing to above-mentioned terminal before above-mentioned SBC breaks in a network;
Association legitimacy detection unit 703, is used for using above-mentioned related information to be associated legitimacy detection;
Registering unit 704, for when associating legitimacy and detecting successfully, using the above-mentioned association ID Session Resources indicated to initiate periodic registration to CSCF;
Second receives unit 705, for receiving the media stream data corresponding with above-mentioned call business;Above-mentioned media stream number new address according to this sends;
Unit 706, for the first packet of above-mentioned media stream data is learnt, obtains above-mentioned new address.
In other embodiments of the present invention, refer to Fig. 7 b, above-mentioned SBC and may also include generation unit 707, for generating and be returned in the association ID used in association legitimacy detection next time.
Wherein, holding unit 701 can be used for 204 parts performed shown in Fig. 2 a and 2b, 504 parts shown in 403 parts shown in Fig. 4 a and 4c, Fig. 5 a and 5b.
First receives unit 702 can be used for receiving the related information that terminal sends in 505 parts shown in 404 parts shown in 205 parts shown in Fig. 2 a and 2b, Fig. 4 a and 4c, Fig. 5 a and 5b.
Second receives unit 705 can be used for receiving the media stream data that terminal sends in 506 parts shown in 408 parts shown in 209 parts shown in Fig. 2 a, Fig. 4 a, Fig. 5 a and 5b, and receives the media stream data that terminal sends in other embodiments.
Association legitimacy detection unit 703 can be used for 206 parts performed shown in Fig. 2 a and 2b, 507 parts shown in 405 parts shown in Fig. 4 a and 4c, Fig. 5 a and 5b.
Registering unit 704 can be used for performing 200 parts shown in Fig. 2 a and 200 parts shown in 207 parts, Fig. 2 b, 2071 parts and 2072 parts, 400 parts shown in Fig. 4 a and 500 parts shown in 400 parts shown in 406 parts, Fig. 4 c, 4061 parts and 4062 parts, Fig. 5 a, 500 parts shown in Fig. 5 b, 5081 parts and 5082 parts.
Unit 706 can be used for performing 5084 parts shown in 508 parts shown in 409 parts shown in 210 parts shown in Fig. 2 a, Fig. 4 a, Fig. 5 a, Fig. 5 b.
Generate unit 707 to can be used for performing 201 parts shown in Fig. 2 a and 2b and 208 parts, 502 parts shown in Fig. 5 a and 502 parts shown in 510 parts, Fig. 5 b and 5083 parts, additionally, generate unit to can be additionally used in the execution 407 parts shown in Fig. 4 a and 4c.
Fig. 8 illustrates a kind of possible structural representation of terminal involved in above-described embodiment, including:
Holding unit 801, for having no progeny in a network, keeps the call business of end side not discharge;
First transmitting element 802, for, after network recovery, sending related information to SBC;
Above-mentioned related information is associated legitimacy detection for above-mentioned SBC, wherein, above-mentioned related information at least includes association ID, above-mentioned association ID indicates the Session Resources distributing to above-mentioned terminal before above-mentioned SBC breaks in a network, detecting after successfully in association legitimacy, the Session Resources of above-mentioned association ID instruction will be used for initiating periodic registration to CSCF by above-mentioned SBC;
Second transmitting element 803, for after network recovery, to the media stream data that above-mentioned SBC transmission is corresponding with above-mentioned call business, above-mentioned media stream number new address according to this sends, and the first packet in above-mentioned media stream data learns above-mentioned new address for above-mentioned SBC.
Wherein, holding unit 801 can be used for performing 503 parts shown in 402 parts shown in 203 parts shown in Fig. 2 a and 2b, Fig. 4 a and 4c, Fig. 5 a and 5b.
First transmitting element 802 can be used for performing 505 parts shown in 404 parts shown in 209 parts shown in Fig. 2 a, Fig. 4 a and 4c, Fig. 5 a and 5b.
Second transmitting element 803 can be used for performing 506 parts shown in 408 parts shown in 205 parts shown in Fig. 2 a and 2b, Fig. 4 a, Fig. 5 a and 5b, and, 5085 parts shown in Fig. 5 b.
In other embodiments of the present invention, above-mentioned terminal may also include calling unit, has been used for call setup and the media stream data transmission etc. in calling procedure.Calling unit can be used for performing 202 parts shown in Fig. 2 a and 401 parts shown in 202 parts shown in 211 parts, Fig. 2 b, 401 parts shown in Fig. 4 a and 410 parts, Fig. 4 c, 501 parts shown in Fig. 5 a and 501 parts shown in 509 parts, Fig. 5 b.
Fig. 9 illustrates the alternatively possible structural representation of SBC/ terminal involved in above-described embodiment, including:
Bus, controller/processor 1, memorizer 2, communication interface 3, input equipment 4 and outut device 5.Processor 1, memorizer 2, communication interface 3, input equipment 4 and outut device 5 are connected with each other by bus.Wherein:
Bus can include a path, transmits information between computer system all parts.
Controller/processor 1 can be general processor, such as general central processor (CPU), network processing unit (NetworkProcessor, be called for short NP), microprocessor etc., can also be ASIC (application-specificintegratedcircuit, ASIC), or one or more for control the present invention program program perform integrated circuit.Can also is that digital signal processor (DSP), special IC (ASIC), ready-made programmable gate array (FPGA) or other PLDs, discrete gate or transistor logic, discrete hardware components.Controller/processor 1 can also be the combination realizing computing function, for instance comprise combination of one or more micro processor combination, DSP and microprocessor etc..
Memorizer 2 is preserved the program performing technical solution of the present invention, it is also possible to preserve operating system and other application programs.Specifically, program can include program code, and program code includes computer-managed instruction.More specifically, memorizer 2 can be read only memory (read-onlymemory, ROM) static information and the other kinds of static storage device of instruction, random access memory (randomaccessmemory, RAM), can be stored, information and the other kinds of dynamic memory of instruction, disk memory etc. can be stored.
Input equipment 4 can include the device of data and the information receiving user's input, for instance keyboard, mouse, photographic head, scanner, light pen, speech input device, touch screen etc..
Outut device 5 can include allowing output information to the device of user, for instance display screen, printer, speaker etc..
Communication interface 3 can include the device using any transceiver one class, in order to other equipment or communication, such as Ethernet, wireless access network (RAN), WLAN (WLAN) etc..
Processing procedure that the controller/processor of SBC can be used for performing to relate to SBC in Fig. 2 a-2b, Fig. 3, Fig. 4 a-4c, Fig. 5 a-5b, Fig. 6 and/or other processes for technology described herein.Controller/processor can also be used for realizing holding unit 701, first and receives unit 702, association legitimacy detection unit 703, registering unit the 704, second reception unit 705, unit 706 and generate the function of unit 707.
The communication interface of SBC is then used for supporting that SBC and other devices communicate.Such as, for supporting that other devices shown in OBU and Fig. 2 a-2b, Fig. 3, Fig. 4 a-4c, Fig. 5 a-5b, Fig. 6 communicate.
Processing procedure that the controller/processor of terminal can be used for performing to relate to terminal in Fig. 2 a-2b, Fig. 3, Fig. 4 a-4c, Fig. 5 a-5b, Fig. 6 and/or other processes for technology described herein.Controller/the processor of RSU can also be used for realizing the function of holding unit the 801, first transmitting element the 802, second transmitting element 803 and calling unit.
The communication interface of terminal is then used for supporting that terminal and other devices communicate.Such as, for supporting that terminal and other devices shown in Fig. 2 a-2b, Fig. 3, Fig. 4 a-4c, Fig. 5 a-5b, Fig. 6 communicate.
It is understood that Fig. 9 illustrate only the simplification design of SBC or terminal.In actual applications, SBC or terminal can comprise any number of emitter, receptor, processor, controller, memorizer, communication interface etc., and all SBC that can realize the present invention or terminal are all within protection scope of the present invention.
Step in conjunction with the method described by the disclosure of invention or algorithm can the mode of hardware realize, it is also possible to is performed the mode of software instruction by processor to realize.Software instruction can be made up of corresponding software module, and software module can be stored in the storage medium of RAM memory, flash memory, ROM memory, eprom memory, eeprom memory, depositor, hard disk, portable hard drive, CD-ROM or other form any well known in the art.A kind of exemplary storage medium coupled to processor, thus enabling a processor to from this read information, and can write information to this storage medium.Certainly, storage medium can also be the ingredient of processor.Processor and storage medium may be located in ASIC.It addition, this ASIC may be located in subscriber equipment.Certainly, processor and storage medium can also be present in subscriber equipment as discrete assembly.
Those skilled in the art are it will be appreciated that in said one or multiple example, function described in the invention can realize by hardware, software, firmware or their combination in any.When implemented in software, it is possible to these functions are stored in computer-readable medium or are transmitted as the one or more instructions on computer-readable medium or code.Computer-readable medium includes computer-readable storage medium and communication media, and wherein communication media includes being easy to any medium of transmission computer program from a place to another place.Storage medium can be any usable medium that universal or special computer can access.
Above-described detailed description of the invention; the purpose of the present invention, technical scheme and beneficial effect have been further described; it is it should be understood that; the foregoing is only the specific embodiment of the present invention; the protection domain being not intended to limit the present invention; all on the basis of technical scheme, any amendment of making, equivalent replacement, improvement etc., all should include within protection scope of the present invention.

Claims (26)

1. the call method based on SIPoverTCP/TLS, it is characterised in that including:
SBC has no progeny in network being detected, wait time-out before, the Session Resources keeping terminal corresponding does not discharge, and the call business keeping described terminal corresponding does not discharge;Wherein, described Session Resources is to distribute to described terminal before described SBC breaks in a network;Described terminal is had no progeny in a network, keeps the call business of end side not discharge;
Described SBC receives the related information from described terminal, and described related information at least includes association ID, described association ID and indicates the Session Resources distributing to described terminal before described SBC breaks in a network;
Described SBC uses described related information to be associated legitimacy detection;
If association legitimacy detects successfully, described SBC uses the Session Resources of described association ID instruction to initiate periodic registration to CSCF;
Described SBC receives the media stream data corresponding with described call business;Described media stream number new address according to this sends;
The first packet of described media stream data is learnt by described SBC, obtains described new address.
2. the method for claim 1, it is characterised in that also include:
If association legitimacy detects unsuccessfully, described SBC is that described terminal redistributes Session Resources, uses the Session Resources redistributed to initiate periodic registration to CSCF.
3. the method for claim 1, it is characterised in that the detection of described association legitimacy includes: search corresponding Session Resources according to described association ID, if finding, association legitimacy detects successfully, and otherwise association legitimacy detects unsuccessfully.
4. method as claimed in claim 3, it is characterised in that described reception includes from the related information of described terminal: receives and carries the registration message of described related information or newly-increased sip message.
5. the method for claim 1, it is characterised in that also include: described SBC generates and be returned in the association ID used in association legitimacy detection next time.
6. the method for claim 1, it is characterised in that described reception includes from the related information of described terminal:
Receiving the RTCP message carrying described related information, described related information also includes MD5 value;Described MD5 value is that random cipher is carried out MD5Hash computing and obtains by described terminal, described random cipher be described SBC disconnected in a network before together distribute to described terminal together with described association ID.
7. method as claimed in claim 6, it is characterised in that the detection of described association legitimacy includes:
Corresponding Session Resources is searched according to described association ID;
MD5 value in described RTCP message is carried out MD5 verification;
If finding corresponding Session Resources and MD5 verifying successfully, then association legitimacy detects successfully, and otherwise association legitimacy detects unsuccessfully.
8. method as claimed in claim 7, it is characterised in that also include: described SBC generates and be returned in the association ID and the random cipher that use in association legitimacy detection next time.
9. the method as described in claim 5 or 8, it is characterised in that
The described association ID for associating legitimacy detection next time is carried in the success response message or newly-increased sip message returned by described SBC;Or,
Described for associate next time legitimacy detection association ID and random cipher be carried in the success response message or newly-increased sip message returned by described SBC.
10. the method for claim 1, it is characterised in that described association ID is callID or servicecookie.
11. the communication means based on SIPoverTCP/TLS, it is characterised in that including:
Terminal is had no progeny in a network, keeps the call business of end side not discharge;
After network recovery, described terminal sends related information to SBC;Described related information is associated legitimacy detection for described SBC, wherein, described related information at least includes association ID, described association ID indicates the Session Resources distributing to described terminal before described SBC breaks in a network, detecting after successfully in association legitimacy, the Session Resources of described association ID instruction will be used for initiating periodic registration to CSCF by described SBC;
After network recovery, described terminal transmits the media stream data corresponding with described call business to described SBC, and described media stream number new address according to this sends, and the first packet in described media stream data learns described new address for described SBC.
12. method as claimed in claim 11, it is characterised in that described send related information to SBC and include: send to described SBC and carry the registration message of described related information or newly-increased sip message.
13. method as claimed in claim 11, it is characterised in that described send related information to SBC and include:
Described terminal sends the RTCP message carrying described related information to described SBC;
Described related information also includes MD5 value;Described MD5 value is that random cipher is carried out MD5Hash computing and obtains by described terminal, described random cipher be described SBC disconnected in a network before together distribute to described terminal together with described association ID.
14. a Session Border Controller SBC, it is characterised in that including:
Holding unit, before having no progeny in network being detected, waiting time-out, the Session Resources keeping terminal corresponding does not discharge, and the call business keeping described terminal corresponding does not discharge;Wherein, described Session Resources is to distribute to described terminal before described SBC breaks in a network;Described terminal is had no progeny in a network, keeps the call business of end side not discharge;
First receives unit, and for receiving the related information from described terminal, described related information at least includes association ID, described association ID and indicates the Session Resources distributing to described terminal before described SBC breaks in a network;
Association legitimacy detection unit, is used for using described related information to be associated legitimacy detection;
Registering unit, for when associating legitimacy and detecting successfully, using the Session Resources of described association ID instruction to initiate periodic registration to CSCF;
Second receives unit, for receiving the media stream data corresponding with described call business;Described media stream number new address according to this sends;
Unit, for the first packet of described media stream data is learnt, obtains described new address.
15. SBC as claimed in claim 14, it is characterised in that described registering unit is additionally operable to:
When associating legitimacy and detecting unsuccessfully, redistribute Session Resources for described terminal, use the Session Resources redistributed to initiate periodic registration to CSCF.
16. SBC as claimed in claim 15, it is characterised in that in association legitimacy detection, described association legitimacy detection unit is used for: search corresponding Session Resources according to described association ID, if finding, association legitimacy detects successfully, and otherwise association legitimacy detects unsuccessfully.
17. SBC as claimed in claim 16, it is characterised in that described reception from described terminal related information in, described first receives unit is used for: receives and carries the registration message of described related information or newly-increased sip message.
18. SBC as claimed in claim 14, it is characterised in that also include:
Generate unit, for generating and be returned in the association ID used in association legitimacy detection next time.
19. SBC as claimed in claim 18, it is characterised in that described reception from described terminal related information in, described first receives unit is used for: receiving the RTCP message carrying described related information, described related information also includes MD5 value;Described MD5 value is that random cipher is carried out MD5Hash computing and obtains by described terminal, described random cipher be described generation unit disconnected in a network before together distribute to described terminal together with described association ID.
20. SBC as claimed in claim 19, it is characterised in that in association legitimacy detection, described association legitimacy detection unit is used for:
Corresponding Session Resources is searched according to described association ID;
MD5 value in described RTCP message is carried out MD5 verification;
If finding corresponding Session Resources and MD5 verifying successfully, then association legitimacy detects successfully, and otherwise association legitimacy detects unsuccessfully.
21. the SBC as described in claim 18 or 19, it is characterised in that
Association ID for associating legitimacy detection next time is carried in the success response message or newly-increased sip message returned by described generation unit;Or,
Association ID and random cipher for associating legitimacy detection next time are carried in the success response message or newly-increased sip message returned by described generation unit.
22. a terminal, it is characterised in that including:
Holding unit, for having no progeny in a network, keeps the call business of end side not discharge;
First transmitting element, for, after network recovery, sending related information to SBC;Described related information is associated legitimacy detection for described SBC, wherein, described related information at least includes association ID, described association ID indicates the Session Resources distributing to described terminal before described SBC breaks in a network, detecting after successfully in association legitimacy, the Session Resources of described association ID instruction will be used for initiating periodic registration to CSCF by described SBC;
Second transmitting element, for after network recovery, to the media stream data that described SBC transmission is corresponding with described call business, described media stream number new address according to this sends, and the first packet in described media stream data learns described new address for described SBC.
23. terminal as claimed in claim 22, it is characterised in that described in SBC transmission related information, described first transmitting element is used for: sends to described SBC and carries the registration message of described related information or newly-increased sip message.
24. terminal as claimed in claim 22, it is characterised in that described in SBC transmission related information, described first transmitting element is used for:
The RTCP message carrying described related information is sent to described SBC;
Described related information also includes MD5 value;Described MD5 value is that random cipher is carried out MD5Hash computing and obtains by described terminal, described random cipher be described SBC disconnected in a network before together distribute to described terminal together with described association ID.
25. a Session Border Controller SBC, it is characterised in that include processor and memorizer, wherein, described processor is stored in the software program in described memorizer, calls the data being stored in described memorizer by operation, at least performs following steps:
Before having no progeny in network being detected, waiting time-out, the Session Resources keeping terminal corresponding does not discharge, and the call business keeping described terminal corresponding does not discharge;Wherein, described Session Resources is to distribute to described terminal before described SBC breaks in a network;Described terminal is had no progeny in a network, keeps the call business of end side not discharge;
Receiving the related information from described terminal, described related information at least includes association ID, described association ID and indicates the Session Resources distributing to described terminal before described SBC breaks in a network;
Described related information is used to be associated legitimacy detection;
When associating legitimacy and detecting successfully, the Session Resources of described association ID instruction is used to initiate periodic registration to CSCF;
Receive the media stream data corresponding with described call business;Described media stream number new address according to this sends;
The first packet of described media stream data is learnt, obtains described new address.
26. a terminal, it is characterised in that include processor and memorizer, wherein, described processor is stored in the software program in described memorizer, calls the data being stored in described memorizer by operation, at least performs following steps:
Have no progeny in a network, keep the call business of end side not discharge;
After network recovery, send related information to SBC;Described related information is associated legitimacy detection for described SBC, wherein, described related information at least includes association ID, described association ID indicates the Session Resources distributing to described terminal before described SBC breaks in a network, detecting after successfully in association legitimacy, the Session Resources of described association ID instruction will be used for initiating periodic registration to CSCF by described SBC;
After network recovery, to the media stream data that described SBC transmission is corresponding with described call business, described media stream number new address according to this sends, and the first packet in described media stream data learns described new address for described SBC.
CN201610143258.6A 2016-03-14 2016-03-14 Communication means and relevant apparatus based on SIP over TCP/TLS Active CN105813228B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610143258.6A CN105813228B (en) 2016-03-14 2016-03-14 Communication means and relevant apparatus based on SIP over TCP/TLS
PCT/CN2017/074382 WO2017157144A1 (en) 2016-03-14 2017-02-22 Sip over tcp/tls-based communication method and associated device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610143258.6A CN105813228B (en) 2016-03-14 2016-03-14 Communication means and relevant apparatus based on SIP over TCP/TLS

Publications (2)

Publication Number Publication Date
CN105813228A true CN105813228A (en) 2016-07-27
CN105813228B CN105813228B (en) 2019-04-26

Family

ID=56468264

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610143258.6A Active CN105813228B (en) 2016-03-14 2016-03-14 Communication means and relevant apparatus based on SIP over TCP/TLS

Country Status (2)

Country Link
CN (1) CN105813228B (en)
WO (1) WO2017157144A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017157144A1 (en) * 2016-03-14 2017-09-21 华为技术有限公司 Sip over tcp/tls-based communication method and associated device
CN108617037A (en) * 2017-01-10 2018-10-02 大唐移动通信设备有限公司 A kind of method for releasing resource and device based on LTE system
CN110351224A (en) * 2018-04-03 2019-10-18 成都鼎桥通信技术有限公司 A kind of dissemination method and device of SIP status service
CN110809014A (en) * 2018-08-06 2020-02-18 中兴通讯股份有限公司 Service request, negotiation and response method, device, network equipment and system
CN114124907A (en) * 2020-08-14 2022-03-01 中国移动通信集团浙江有限公司 SIP signaling front-end processor, service upgrading method, device, equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979980B (en) * 2021-12-14 2023-07-21 中移互联网有限公司 Communication method of SIP message, terminal equipment and network equipment thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070002764A1 (en) * 2005-06-30 2007-01-04 Siemens Aktiengesellschaft Network arrangement and method for handling sessions in a telecommunications network
CN102577510A (en) * 2011-12-28 2012-07-11 华为技术有限公司 Method and device for maintaining call continuity
CN103166766A (en) * 2011-12-12 2013-06-19 中国移动通信集团北京有限公司 Billing method, device and system
CN104767751A (en) * 2015-04-02 2015-07-08 大唐移动通信设备有限公司 Session control method and device
US20150350983A1 (en) * 2014-05-29 2015-12-03 T-Mobile Usa, Inc. Wi-Fi Calling Using SIP-IMS Handset and Evolved Packet Data Gateway

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9197674B1 (en) * 2006-03-27 2015-11-24 Alcatel Lucent Inter-domain user and service mobility in SIP/SIMPLE systems
EP2111701B1 (en) * 2007-01-31 2018-12-05 BroadSoft, Inc. System and method for reestablishing, with a client device, a signaling session associated with a call in progress
US20140079023A1 (en) * 2012-09-20 2014-03-20 D2 Technologies Inc. Method of Internet Protocol (IP) to IP handover
JP5681772B1 (en) * 2013-09-24 2015-03-11 株式会社Nttドコモ IP multimedia subsystem, proxy session control device, and communication control method
CN105813228B (en) * 2016-03-14 2019-04-26 华为技术有限公司 Communication means and relevant apparatus based on SIP over TCP/TLS

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070002764A1 (en) * 2005-06-30 2007-01-04 Siemens Aktiengesellschaft Network arrangement and method for handling sessions in a telecommunications network
CN103166766A (en) * 2011-12-12 2013-06-19 中国移动通信集团北京有限公司 Billing method, device and system
CN102577510A (en) * 2011-12-28 2012-07-11 华为技术有限公司 Method and device for maintaining call continuity
US20150350983A1 (en) * 2014-05-29 2015-12-03 T-Mobile Usa, Inc. Wi-Fi Calling Using SIP-IMS Handset and Evolved Packet Data Gateway
CN104767751A (en) * 2015-04-02 2015-07-08 大唐移动通信设备有限公司 Session control method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017157144A1 (en) * 2016-03-14 2017-09-21 华为技术有限公司 Sip over tcp/tls-based communication method and associated device
CN108617037A (en) * 2017-01-10 2018-10-02 大唐移动通信设备有限公司 A kind of method for releasing resource and device based on LTE system
CN108617037B (en) * 2017-01-10 2020-08-18 大唐移动通信设备有限公司 Resource release method and device based on LTE system
CN110351224A (en) * 2018-04-03 2019-10-18 成都鼎桥通信技术有限公司 A kind of dissemination method and device of SIP status service
CN110809014A (en) * 2018-08-06 2020-02-18 中兴通讯股份有限公司 Service request, negotiation and response method, device, network equipment and system
CN110809014B (en) * 2018-08-06 2023-03-03 中兴通讯股份有限公司 Service request, negotiation and response method, device, network equipment and system
CN114124907A (en) * 2020-08-14 2022-03-01 中国移动通信集团浙江有限公司 SIP signaling front-end processor, service upgrading method, device, equipment and storage medium
CN114124907B (en) * 2020-08-14 2023-07-21 中国移动通信集团浙江有限公司 SIP signaling front-end processor, service upgrading method, device, equipment and storage medium

Also Published As

Publication number Publication date
WO2017157144A1 (en) 2017-09-21
CN105813228B (en) 2019-04-26

Similar Documents

Publication Publication Date Title
CN105813228A (en) Communication method and related device based on SIP over TCP/TLS
US8335197B2 (en) Method and apparatus for transmitting SIP data of idle mode UE in a mobile communication system
TWI289984B (en) Method and system for handling service failures
JP4709217B2 (en) Method and apparatus for session control in a hybrid telecommunications network
JP3853788B2 (en) System and method for reducing information communicated between multimedia enabled units of a universal mobile telecommunications system
US8374079B2 (en) Proxy server, communication system, communication method and program
WO2011006324A1 (en) Method and terminal for file transmission
KR101705440B1 (en) Hybrid cloud media architecture for media communications
KR20100042270A (en) Call transfer with multiple application servers in session initiation protocol-based network
US20180241784A1 (en) P-cscf recovery and reregistration
CN105592486A (en) Disaster tolerance method, network element and server
WO2017076278A1 (en) Method and device for flexibly processing link between network elements
WO2016086890A1 (en) Method and device for detecting connectivity
CN110875914A (en) Method and device for transmitting messages based on shared session link
WO2011057568A1 (en) Method and system for realizing session handover
US20230379857A1 (en) Network registration method and apparatus, and user equipment
WO2023030384A1 (en) Ims network registration method and apparatus, and electronic device
WO2022183982A1 (en) Call establishment method and apparatus, and electronic device and readable storage medium
CN102281293A (en) Method and system for transmitting transmission control protocol (TCP) type session media stream
US20160302055A1 (en) Information processing system
CN103795878B (en) A kind of guard method of Voice over IP business, equipment and system
CN104811426B (en) User Agent Client sends the method and User Agent Client of registration request
WO2015158058A1 (en) Method and system for implementing call saving and recovery
WO2016201973A1 (en) Disaster tolerance method and apparatus, and communication system
US20100262698A1 (en) Method for negotiating redundant transmission

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant