CN105813228B - Communication means and relevant apparatus based on SIP over TCP/TLS - Google Patents

Communication means and relevant apparatus based on SIP over TCP/TLS Download PDF

Info

Publication number
CN105813228B
CN105813228B CN201610143258.6A CN201610143258A CN105813228B CN 105813228 B CN105813228 B CN 105813228B CN 201610143258 A CN201610143258 A CN 201610143258A CN 105813228 B CN105813228 B CN 105813228B
Authority
CN
China
Prior art keywords
sbc
association
terminal
legitimacy
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.)
Active
Application number
CN201610143258.6A
Other languages
Chinese (zh)
Other versions
CN105813228A (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

This application involves the communications fields, more particularly to the communication technology based on SIP over TCP/TLS.In a kind of communication means, after network interruption, mobile terminal and SBC keep call business to hang on, and SBC is not released to the Session Resources of mobile terminal distribution yet.After network recovery, SBC is associated legitimacy using the related information that mobile terminal provides and detects, if detecting successfully, SBC initiates periodic registration to CSCF for the Session Resources of mobile terminal distribution using before network interruption.After network recovery, mobile terminal also sends media stream data to SBC, and after detecting successfully, SBC carries out first packet study.In this way, terminal can realize that call business connects without re-initiating calling, and reduce business interruption time, improves business experience.

Description

Communication means and relevant apparatus based on SIP over TCP/TLS
Technical field
The present invention relates to fields of communication technology, more specifically to the communication technology based on SIP over TCP/TLS.
Background technique
With the rapid development of intelligent terminal and VoIP, based on IMS (IP Multimedia System IP multimedia System) SIP calling using more and more.
The mobility of intelligent terminal, data safety and power consumption requirement, need using SIP Over TCP/TLS.SIP Over TCP/TLS technology further relates to Session Border Controller (SBC) and call session control function (CSCF) network element.
During terminal is mobile, flash, switching (Wifi, 3G/4G are mutually cut) return to the Wifi area of coverage from the edge Wifi Situations such as (can be collectively referred to as network interruption) and can TCP be caused to interrupt, for the audio-video call business of SIP Over TCP, TCP After interruption, terminal re-initiates registration to SBC, re-initiates business.SBC will use new contact address Contact header field to CSCF registration, CSCF are the discovery that new Contact ID, it is believed that are different-place logins, remove existing call business and its session money Source.It is connected if necessary to call business, terminal needs re-initiate calling, not only consume flow in this way, but also increase service delay, greatly It is big to reduce user experience.
Summary of the invention
In view of this, the embodiment of the present invention is designed to provide communication means and phase based on SIP over TCP/TLS Device is closed, to realize that call business connects, reduces service delay.
On the one hand, embodiments herein is provided in the communication means based on SIP over TCP/TLS, in the method, After network interruption, mobile terminal and SBC keep call business to hang on, and SBC is not released to the session of mobile terminal distribution yet Resource.After network recovery, SBC is associated legitimacy using the related information that mobile terminal provides and detects, if detecting successfully, SBC is that the Session Resources that mobile terminal distributes initiate periodic registration to CSCF before using network interruption.After network recovery, move Dynamic terminal also sends media stream data to SBC, and after detecting successfully, SBC carries out first packet study.Due to carrying out the period after restoring Property registration use Session Resources it is identical as before interruption, this make CSCF perception less than network change, will not discharge existing Call business.Media Stream can be transmitted after network recovery immediately, the new address after learning to obtain network recovery by first packet is subsequent The destination address for the Media Stream that SBC is sent toward terminal side and the new address.Due to before the timeout will not call release business, And first packet study has been re-started, so can realize that call business connects without re-initiating calling, and reduce industry It is engaged in the break period, improves business experience.
In a possible design, SBC redistributes Session Resources after association legitimacy detection failure for terminal, Periodic registration is initiated to CSCF using the Session Resources redistributed.Later, SBC will use the Session Resources redistributed to CSCF initiates periodic registration.More preferable it can must realize communication in this way.
In a possible design, no matter it is associated with legitimacy and detects whether success, SBC is generated and returned next time ID is associated with used in association legitimacy detection.More specifically, the association ID for the detection of next secondary association legitimacy can be carried In the success response message returned by SBC.It further, can be in success response message by taking success response message as an example Increase nextAssociateId field in Contact header field, the value in nextAssociateId field is association ID.Pass through New field is associated with ID to carry in existing sip message, the simple not consumption energy of SBC processing, and does not also increase additionally Signaling overheads.Alternatively, the above-mentioned association ID for the detection of next secondary association legitimacy can also be carried on and be increased newly by what SBC was returned In sip message, this design can need not change the format of original sip message.In one example, association ID can be call ID Or service cookie.In another example, association ID can be generated by SBC according to the create-rule of setting.
In a possible design, SBC is by receiving the registration message of carrying related information or carrying related information Newly-increased sip message obtains related information.More specifically, there can be associateId in registration message or newly-increased sip message Field, field value are related information.More preferable it can must realize call proceeding in this way.
In a possible design, above-mentioned association legitimacy detection can include: corresponding session is searched according to association ID Resource, if finding, association legitimacy is detected successfully, is otherwise associated with legitimacy detection failure.More preferable it can must realize calling in this way It connects.
In a possible design, related information further includes MD5 value;The MD5 value be the terminal to random cipher into Row MD5Hash operation obtains, and the random cipher is to distribute to together before the SBC breaks in a network together with the association ID The terminal.SBC then obtains related information by receiving the RTCP message of carrying related information.The present embodiment uses RTCP Message activation SBC again learns the first packet of Media Stream, it is possible to reduce the broken words time that network flash calls after restoring.
In a possible design, above-mentioned association legitimacy detection can include: corresponding session is searched according to association ID Resource;MD5 verification is carried out to the MD5 value in above-mentioned RTCP message;If find corresponding Session Resources and MD5 verification at Function is then associated with legitimacy and detects successfully, is otherwise associated with legitimacy detection failure.MD5 verification is introduced, the peace of call proceeding can be improved Quan Xing.
In a possible design, SBC will additionally generate and return to the pass used in the detection of next secondary association legitimacy Join ID and random cipher.As an example, being associated with ID and random cipher can be carried in the sip message of SBC return, for example, Success response message (200OK message) or newly-increased sip message.More specifically, can increase in the Contact header field of 200OK NextAssociateId field, the value in nextAssociateId field are association ID.By in existing sip message New field is associated with ID to carry, the simple not consumption energy of SBC processing, and does not also increase signaling overheads additionally.
On the other hand, have the embodiment of the invention provides a kind of SBC, the SBC and realize above method SBC behavior in practice Function.The function can also execute corresponding software realization by hardware realization by hardware.The hardware is soft Part includes one or more modules corresponding with above-mentioned function.
In a possible design, the structure of SBC includes: processor, memory, the processor by running storage Software program, the data of calling storage in the memory in the memory, execute the above method.
Another aspect, the embodiment of the invention provides a kind of terminal, which, which has, realizes above method CSU row in practice For function.The function can also execute corresponding software realization by hardware realization by hardware.The hardware or Software includes one or more modules corresponding with above-mentioned function.
In a possible design, the structure of terminal include: processor, memory, the processor by operation deposit Software program, the data of calling storage in the memory of storage in the memory, at least execute: breaking in a network Afterwards, the call business of terminal side is kept not discharge;After network recovery, related information is sent to SBC;The related information is used for The SBC is associated legitimacy detection, wherein the related information includes at least association ID, the association ID and indicates institute The Session Resources that the terminal is distributed to before SBC breaks in a network are stated, after association legitimacy detects successfully, the association ID refers to The Session Resources shown will be used to initiate periodic registration to CSCF by the SBC;After network recovery, Xiang Suoshu SBC transmission with The corresponding media stream data of the call business, new address is sent the media stream number accordingly, the head in the media stream data Packet learns the new address for the SBC.
In another aspect, the embodiment of the invention provides a kind of computer storage medium, for being stored as used in above-mentioned SBC Computer software instructions, it includes for executing program designed by above-mentioned aspect.
In another aspect, the embodiment of the invention provides a kind of computer storage medium, for being stored as used in above-mentioned terminal Computer software instructions, it includes for executing program designed by above-mentioned aspect.
In embodiments of the present invention, after network interruption, mobile terminal and SBC keep call business to hang on, and SBC is not yet It is released to the Session Resources of mobile terminal distribution.After network recovery, mobile terminal provides related information to SBC, and SBC uses pass Connection information is associated legitimacy detection, if detecting successfully, SBC uses the Session Resources distributed before network interruption for mobile terminal Periodic registration is initiated to CSCF.Since the Session Resources for carrying out periodic registration use after restoring are identical as before interruption, this So that CSCF perception will not discharge existing call business less than network change.Media Stream can be transmitted after network recovery immediately, New address after learning to obtain network recovery by first packet, the destination address for the Media Stream that subsequent SBC is sent toward terminal side, and The new address.Due to before the timeout will not call release business, and first packet study has been re-started, so exhaling without re-initiating Crying can realize that call business connects, and reduce business interruption time, improve business experience.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is application scenarios schematic diagram provided in an embodiment of the present invention;
Fig. 2 a-2b, Fig. 3, Fig. 4 a-4c, Fig. 5 a-5b, Fig. 6 are provided in an embodiment of the present invention based on SIP over TCP/ The interactive examples figure of the communication means of TLS;
Fig. 7 a and Fig. 7 b are the possible structural schematic diagram of SBC provided in an embodiment of the present invention;
Fig. 8 is the possible structural schematic diagram of terminal provided in an embodiment of the present invention;
Fig. 9 is the alternatively possible structural schematic diagram of SBC provided in an embodiment of the present invention or terminal.
Specific embodiment
The embodiment of the invention provides communication means and relevant apparatus based on SIP over TCP/TLS, to realize network Call business after recovery connects, meanwhile, the process performance of SBC or other IMS network elements are not reduced.
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 is in moving process In, restore again after interrupting, such as network flash, network switching, public network address become IP2 from IP1.
It should be noted that Fig. 1 illustratively shows a mobile terminal, in practical application scene, mobile terminal Number be not limited merely to one, can be more.In addition, the change for the IP network that mobile terminal is accessed is also believed to Network switching.
Wherein, mobile terminal is mainly responsible for login service device, initiates calling, sends audio-video RTP Media Stream.
SBC is mainly responsible for the signaling and Media proxy of terminal access.
CSCF is mainly responsible for the signaling control during user's login, processing multimedia call session.
It should be noted that Session Initiation Protocol is a Client/Sever agreement, therefore sip message can specifically be divided to two kinds: ask Ask message and response message.
Sip request message of the present invention is as follows:
INVITE: it indicates that calling subscriber initiates a session request, invites other users that a session is added.It can also be used in and exhale It is used for more new session after crying foundation (INVITE is also known as Re-invite at this time);
ACK: it confirms to have had received the final response to INVITE request;
REGISTER: the address information that registration is listed in To field is indicated.
Response message in Session Initiation Protocol indicates the success or failure state of calling for responding to request message.This The response message being related in invention is as follows:
200: success response (OK);
401: unauthorized (Unauthorized).
Below by terms of the general character being related to based on invention described above, further specifically to the embodiment of the present invention It is bright.
One embodiment of the present of invention provides a kind of communication means based on SIP over TCP/TLS, and is based on this side Mobile terminal, BSC, CSCF of method.
2a and Fig. 3 with reference to the accompanying drawing, the scheme provided the embodiment of the present invention are illustrated.
Fig. 2 a is the interaction schematic diagram of communication means provided in an embodiment of the present invention, substantially may include several subprocess: Re-register process and call proceeding after initial registration procedure, calling procedure, network interruption treatment process, network recovery Journey.
What Fig. 3 embodied is Signalling exchange.
Wherein, initial registration procedure may include following part:
200 parts: terminal (UE) is registered according to normal process using Sip Over Tcp/TLS.
What SYN, ACK message in Fig. 3 embodied is the link setup process of TCP.
In initial registration part, SBC can be terminal distribution Session Resources, include contact ID in Session Resources (in Fig. 3 Indicated with contact ID1), and initiate periodic registration to CSCF and (initiate REGISTER message, include in the message contact ID1)。
It should be noted that periodic registration is to maintain enrollment session, it is equivalent to heartbeat.
During initial registration, the signaling of three's interaction is related to REGISTER message, 401 response messages and 200OK message.
201 parts: after succeeding in registration, SBC returns to association identification (ID) to terminal.
Specifically, association ID can be carried in the sip message of SBC return, for example, success response message (200OK message). Specifically, nextAssociateId field can be increased in the Contact header field of 200OK, in nextAssociateId field In value be association ID.By in existing sip message new field carry the simple not consumption energy of association ID, SBC processing, And also do not increase signaling overheads additionally.
In addition, association ID can also be carried in newly-increased sip message, it further, can be in newly-increased sip message NextAssociateId field is set in Contact header field, and the value in nextAssociateId field is association ID.This When, need to redefine detection interface and related information.Original sip message format can not be changed in this way.
Association ID can indicate that SBC is the Session Resources of terminal distribution, and in other words, association ID characterizes terminal and SBC is it Corresponding relationship between the Session Resources of distribution.
Association ID can be used for the detection of association legitimacy next time, subsequent herein to be situated between to association legitimacy detection It continues.
SBC can generate association ID according to the create-rule of setting and return to terminal.In fact, terminal is only to association ID Transparent transmission, SBC can customize the content of association ID.
Calling procedure is embodied in 202 parts.It can refer to the technologies such as existing call setup, media stream data transmission, herein It does not repeat.It should be noted that the current address of media stream data is IP1.After subsequent generation network interruption is restored again, ground Location will be changed to IP2.
Here address refers specifically to the IP address of the corresponding public network NAT of terminal.In fact, terminal is mostly in wifi scene Lower transmission message, used IP address are private network IP address, after the Media Stream or data that terminal is sent reach public network, meeting The IP address of corresponding public network NAT, originally SBC and terminal are not known for this address.SBC needs to learn the IP of Media Stream or data Head (namely initial several IP packets) obtains the IP address of the corresponding public network NAT of terminal and records.
Calling procedure signaling refers at least to INVITE message and 200OK message.
Network interruption treatment process may include following part:
203 parts: having no progeny in a network, and terminal does not release immediately the calling (keeping VoIP) of terminal side, and the purpose is to allow Calling is hung on.
More specifically, terminal can (also longer or shorter) the holding existing calling in terminal side within 15-30 seconds time Business does not discharge.
204 parts: after SBC detects terminal side TCP exception, before waiting time-out, corresponding Session Resources are not discharged, together When keep the corresponding call business of terminal not discharge (namely calling is allowed to hang on).
The corresponding association ID of terminal is not discharged yet before waiting time-out in 204 parts.
In other embodiments of the present invention, if waiting time-out, SBC, which will be discharged, corresponding with terminal is associated with ID, Session Resources With call release business.
Specifically, terminal can generally send Media Stream due in normal calling procedure, therefore, SBC can be in no Media Stream Association ID, Session Resources and call business are discharged after time-out again, before no Media Stream time-out, does not then discharge association ID, session Resource and call business.
Certainly, if exception is not detected in SBC, keep association ID constant.
Re-register process after network recovery may include following part:
205 parts: after network recovery, terminal initiates registration.
In one example, Fig. 3 is referred to, SBC can be carried in registration message as the association ID of its distribution.More specifically , associateId field can be increased newly in a register message, field value is in 201 part nextAssociateId fields Value.
In another example, it is possible to use newly-increased sip request message carries association ID.It more specifically, can be newly-increased Sip message in be arranged associateId field, field value be 201 part nextAssociateId fields in value.
206 parts: SBC is associated legitimacy using association ID and detects.
More specifically, SBC can search corresponding Session Resources according to association ID, if finding, be associated with legitimacy detection Otherwise success is associated with legitimacy detection failure.
207 parts: if association legitimacy detects successfully, SBC initiates week to CSCF using the Session Resources of association ID instruction The registration of phase property.
More specifically, the ContactID1 before use is initiated periodic registration to CSCF by SBC.Before network interruption Keep ContactID1 constant afterwards, CSCF is perceived less than network change, will not discharge existing calling.
In other embodiments of the present invention, Fig. 2 b is referred to, if association legitimacy detection failure, SBC will be terminal weight New distribution Session Resources (2071 part).Preceding to have addressed, Session Resources include contact ID, the contact ID redistributed It can be described as contact ID2.
Later, SBC will use the Session Resources (contact ID2) redistributed to initiate periodic registration to CSCF (2072 part).
208 parts: SBC generate and return next secondary association legitimacy detection used in be associated with ID.
In one example, SBC can be carried in the nextAssociateId of the 200OK of registration closes in next secondary association ID is associated with used in method detection.In addition, 200OK can also carry association legitimacy detection mark assFlag, for notifying end End association legitimacy detects whether success.
It should be noted that no matter being associated with legitimacy detects whether success, SBC can be generated and be returned in next secondary association ID is associated with used in legitimacy detection.
Call-connection process may include following part:
209 parts: terminal transmission media stream data corresponding with call business.
In one example, terminal can transmit matchmaker corresponding with call business after confirmation association legitimacy detects successfully Body flow data.
It is aforementioned to be referred to, association legitimacy detection mark assFlag can be carried in 200OK, for notifying terminal association to close Method detects whether success.Terminal can confirm that association legitimacy detects whether success according to the assFlag.
In another example, terminal can also send related information and media stream data simultaneously, be associated with legitimacy in confirmation After detection failure, 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 the current address of media stream data is IP1 before network interruption, and in 209 parts, address change For IP2 namely new address.
210 parts: SBC learns the first packet of media stream data, obtains new address.
More specifically, SBC can find relevant call business according to active user's number of mobile terminal, support from new The media stream data that the call business is received on address learns the first packet of media stream data, obtains new address.
Later, SBC will receive the related data of above-mentioned call business with the new address.The media that SBC is sent toward terminal side The destination address of stream and the 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 heartbeat in order to maintain calling, keeps the information one of terminal and server side as far as possible It causes.
It should be noted that also there is re-Invite process in the prior art, but by timer driver, may wait very It is long.It is then that re-Invite is just initiated after network recovery in the present embodiment.
It should be noted that SBC will no longer carry out first packet study, call interruption after association legitimacy detection failure.Cause This, refers to Fig. 2 b, and after confirmation association legitimacy detection failure, terminal will not initiate re-Invite.
In embodiments of the present invention, after network interruption, mobile terminal and SBC keep call business to hang on, and also do not release Put the Session Resources for mobile terminal distribution.After network recovery, mobile terminal provides related information to SBC, and SBC uses association Information be associated legitimacy detection, if detect successfully, SBC use network interruption before be mobile terminal distribute Session Resources to CSCF initiates periodic registration.Since the Session Resources for carrying out periodic registration use after restoring are identical as before interruption, this makes CSCF perception is obtained less than network change, existing call business will not be discharged.Media Stream can be transmitted after network recovery immediately, is led to It crosses first packet to learn to obtain the new address after network recovery, the destination address for the Media Stream that subsequent SBC is sent toward terminal side, and is somebody's turn to do New address.Due to before the timeout will not call release business, and first packet study has been re-started, so without re-initiating calling It can realize that call business connects, and reduce business interruption time, improve business experience.
In other embodiments of the present invention, can also be using session information as association ID, such as (Call ID is by Call ID The random string generated by certain rule) or service cookie (service side session map information) as association ID.
Refer to another kind interaction flow shown in Fig. 4 a and Fig. 4 b:
In 400 parts: terminal (UE) is registered according to normal process using Sip Over Tcp/TLS.
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 such as Call ID will not had to be specifically generated association ID as association ID, SBC, without such as figure 2a, 2b and embodiment shown in Fig. 3 (201 part) like that, increase nextAssociateId field in the sip message of return.
401 parts: terminal originated calls.
It can refer to the technologies such as existing call setup, media stream data transmission, therefore not to repeat here.
402 parts: having no progeny in a network, and terminal does not release immediately the calling (keeping VoIP) of terminal side, and the purpose is to allow Calling is hung on.
402 parts are similar with 203 parts, and therefore not to repeat here.
403 parts: after SBC detects terminal side TCP exception, before waiting time-out, corresponding Session Resources are not discharged, together When keep the corresponding call business of terminal not discharge (namely calling is allowed to hang on).
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, due to natively needing to carry Call ID in a register message, without As Fig. 2 a, 2b and embodiment shown in Fig. 3 (205 part), associateId field is increased newly in a register message, It can be further simplified the processing of SBC in this way.
405 parts: SBC is associated legitimacy detection using association ID (namely call ID).
More specifically, SBC can search corresponding Session Resources according to association ID, if finding, be associated with legitimacy detection Otherwise success is associated with legitimacy detection failure.
406 parts: if association legitimacy detects successfully, SBC initiates week to CSCF using the Session Resources of association ID instruction The registration of phase property.
406 parts are similar with 207 parts, and therefore not to repeat here.
In other embodiments of the present invention, Fig. 4 c is referred to, if association legitimacy detection failure, SBC will be terminal weight New distribution Session Resources (2061 part).Preceding to have addressed, Session Resources include contact ID, the contact ID redistributed It can be described as contact ID2.
Later, SBC will use the Session Resources (contact ID2) redistributed to initiate periodic registration to CSCF (2062 part).
407 parts: SBC returns to sip message.
The sip message can carry association legitimacy detection mark assFlag, for notifying the detection of terminal association legitimacy to be No success.
408 parts: terminal transmission media stream data corresponding with call business.
In one example, terminal can transmit matchmaker corresponding with call business after confirmation association legitimacy detects successfully Body flow data, and after confirmation association legitimacy detection failure, terminal will not start transmission Media Stream corresponding with call business The operation (Fig. 4 c) of data.
In another example, terminal can also send related information and media stream data simultaneously, and legal in confirmation association Property detection failure after, terminal stop again send media stream data.Those skilled in the art can flexibly be set according to actual needs Meter.
409 parts: if association legitimacy detects successfully, SBC learns the first packet of media stream data, obtains newly Location.
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 show above-mentioned communication means another exemplary interaction flow, and (Fig. 6 embodies interaction shown in Fig. 5 a Signalling exchange involved in process), it substantially may include several subprocess: initial registration procedure, calling procedure, at network interruption First packet weight learning process and call-connection process after reason process, network recovery.What Fig. 6 embodied is Signalling exchange.It needs Bright, the interaction of SBC and CSCF are identical as aforementioned all embodiments, therefore, are omitted SBC's and CSCF in Fig. 5 a and 6 Interaction, correlative detail refer to aforementioned all embodiments.
Wherein, initial registration procedure may include following part:
500 parts: terminal (UE) is registered according to normal process using Sip Over Tcp/TLS.
In initial registration part, SBC can be terminal distribution Session Resources, and initiate periodic registration to CSCF and (initiate REGISTER message includes contact ID in the message).
After periodic registration success, SBC can return to 200OK message.
Unlike initial registration procedure shown in Fig. 2 a, 2b and Fig. 3, in the initial registration procedure of the present embodiment, and Association ID is not returned, but returns to association ID in calling procedure.
Calling procedure includes at least following part:
501 parts: after succeeding in registration, terminal sends INVITE message to SBC, to establish calling;
502 parts: SBC is generated and is returned to association ID and random cipher (pwd) to terminal.
Association ID and random cipher can be carried in the sip message of SBC return, for example, success response message (200OK For invite message).Specifically, nextAssociateId field can be increased in the Contact header field of 200OK, Value in nextAssociateId field is association ID and random cipher (pwd).Pass through the added word in existing sip message Section is associated with ID and random cipher (pwd) to carry, the simple not consumption energy of SBC processing, and does not also increase signaling overheads additionally.
In addition, association ID and random cipher can also be carried in newly-increased sip message, it further, can be in newly-increased SIP NextAssociateId field is set in the Contact header field of message, and 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.Original sip message lattice can not be changed in this way Formula.
SBC can generate association ID according to the create-rule of setting.Terminal is only transparent transmission to association ID, and SBC can customize pass Join the content of ID, in the present embodiment, association ID is server-cookie.Other related contents of association ID refer to aforementioned The introduction of 201 parts, therefore not to repeat here.
Network interruption treatment process may include following part:
503 parts: having no progeny in a network, and terminal does not release immediately the calling (keeping VoIP) of terminal side, and the purpose is to allow Calling is hung on.
504 parts: after SBC detects terminal side TCP exception, before waiting time-out, corresponding Session Resources, pass are not discharged Join ID, while call business corresponding with terminal being kept not discharge (namely calling is allowed to hang on).
The part 503-504 is identical as the part 203-204, and therefore not to repeat here.
It should be noted that for the sake of simplicity, network interruption treatment process is omitted in Fig. 6.
First packet weight learning process after network recovery includes at least following part:
505 parts: terminal sends RTCP (RTCP Real-time Transport Control Protocol) message for carrying related information to SBC.
The 1st, 2,4 in first packet weight learning process shown in fig. 6 be standard agreement process, Nonce and next therein Nonce is the authentication in registration.3rd process is then corresponding with " RTCP message of the terminal to SBC transmission carrying related information ".
Related information includes association ID and MD5 value (namely MD5-Auth).Wherein, MD5 value is terminal in calling procedure The random cipher of acquisition carries out what MD5Hash operation obtained.
More specifically, associateId field can be increased newly in RTCP message, field value is the association that 502 parts return ID and MD5 value.
506 parts: at the same time, terminal sends Media Stream corresponding with call business to SBC.
It should be noted that the current address of media stream data is IP1, and after recovery, address change is before network interruption IP2。
Here address refers specifically to the IP address of the corresponding public network NAT of terminal.In fact, terminal is mostly in wifi scene Lower transmission message, used IP address are private network IP address, after the Media Stream or data that terminal is sent reach public network, meeting The IP address of corresponding public network NAT, originally SBC and terminal are not known for this address.SBC needs to learn the IP of Media Stream or data Head (namely first packet) obtains the IP address of the corresponding public network NAT of terminal.
507 parts: SBC is associated legitimacy using association ID and MD5 value and detects.
Specifically, SBC searches corresponding Session Resources according to association ID, and carries out the school MD5 to the MD5 value in RTCP message It tests;If finding corresponding Session Resources and MD5 being verified successfully, it is associated with legitimacy and detects successfully, be otherwise associated with legitimacy Detection failure.
Wherein, MD5 is verified can include:
The random cipher that terminal is distributed to before SBC use carries out the MD5 value that MD5Hash operation obtains.To be sent out with terminal The MD5 value sent mutually is distinguished, and can be generated and sent terminal and is known as the first MD5 value to the MD5 value of SBC, and the SBC MD5 generated is claimed For the 2nd MD5 value.
First MD5 value and the 2nd MD5 value are compared by SBC, and such as the two is equal, then MD5 is verified successfully, otherwise the school MD5 Test failure.
508 parts: if association legitimacy detects successfully, SBC supports to receive media stream data from new address, to Media Stream The first packet of data relearns, and obtains new address.
In one example, association legitimacy detect successfully after, SBC also will use be associated with ID indicate Session Resources to CSCF initiates periodic registration.
In other embodiments of the present invention, Fig. 5 b is referred to, if association legitimacy detection failure, SBC will be terminal weight New distribution Session Resources (5081 part).Preceding to have addressed, Session Resources include contact ID, the contact ID redistributed It can be described as contact ID2.Later, SBC will use the Session Resources (contact ID2) redistributed to initiate the period to CSCF Property registration (5082 part).
It should be noted that if association legitimacy detection failure, SBC will learn without first packet, to receiving and this The corresponding Media Stream of the call business of terminal is abandoned (5083 part).
509 parts: terminal initiates re-Invite, keeps original calling.
510 parts: SBC is generated and is returned to the association ID used in the detection of next secondary association legitimacy and random to terminal Password (pwd).
Association ID and random cipher can be carried in the sip message of SBC return, for example, success response message (200OK For invite message).Specifically, nextAssociateId field can be increased in the Contact header field of 200OK, Value in nextAssociateId field is association ID and random cipher (pwd).Pass through the added word in existing sip message Section is associated with ID and random cipher (pwd) to carry, the simple not consumption energy of SBC processing, and can also not increase signaling overheads additionally.
In addition, association ID and random cipher can also be carried in newly-increased sip message, it further, can be in newly-increased SIP NextAssociateId field is set in the Contact header field of message, and 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.Original sip message lattice can not be changed in this way Formula.
It should be noted that no matter being associated with legitimacy detects whether success, SBC can be generated and be returned in next secondary association ID is associated with used in legitimacy detection.
In the present embodiment, the first packet of Media Stream is learnt again using RTCP message activation SBC, it is possible to reduce net The broken words time that network flash calls after restoring.In addition, the present embodiment introduces MD5 verification, the safety of call proceeding can be improved.
It should be noted that for the continuity for realizing the calling of network flash.It is existing general using STG tunnel scheme, this side Case needs to establish tunnel between mobile terminal and STG server.Wherein, STG server individually dispose or SBC built in STG clothes Business device, mobile terminal side then need insertion STG client.After program starting, one is established between mobile terminal and STG server Or a plurality of tunnel, sip message and media stream data all transmit on tunnel.
After network recovery, the embedded STG client of mobile terminal re-establishes tunnel.STG client is supplied to business The information such as virtual IP address and port keep with it is consistent before, network interruption is not embodied to business.In this way, sip message and Media Stream Data can continue to transmit, will not sensing network interrupt process, to realize the continuity of calling.
However, individually deployment STG server, cost are very high.And in STG server built in SBC, SBC can be seriously affected Performance, so that the ability that SBC is supported sharply declines.Also, using the scheme in the tunnel STG, after needing that tunnels is waited to be successfully established It can connect, increase the time of service disconnection.
And technical solution provided by the present invention does not need additionally to dispose STG server or in SBC without establishing tunnel yet Interior deployment STG server, the IMS such as CSCF network element will not increase too many processing without extra process, SBC is carried out, thus The process performance decline of SBC is not will lead to.
It should be noted that above-mentioned technical proposal is applied equally to TLS.
It is above-mentioned that mainly scheme provided in an embodiment of the present invention is described from the angle of interaction between each device.It can With understanding, in order to realize the above functions, it comprises executing, each function is corresponding for each device, such as SBC, terminal etc. Hardware configuration and/or software module.Those skilled in the art should be readily appreciated that, in conjunction with the embodiments described herein Each exemplary unit and algorithm steps of description, the present invention can be come real with the combining form of hardware or hardware and computer software It is existing.Some functions is executed in a manner of hardware or computer software driving hardware actually, depending on the specific of technical solution Using and design constraint.Professional technician can realize each specific application using distinct methods described Function, but such implementation should not be considered as beyond the scope of the present invention.
Fig. 7 a shows a kind of possible structural schematic diagram of SBC involved in above-described embodiment, comprising:
Holding unit 701, for after detecting network interruption, before waiting time-out, keeping the corresponding session money of terminal Source does not discharge, and the corresponding call business of above-mentioned terminal is kept not discharge;
Wherein, above-mentioned Session Resources are to distribute to terminal before SBC breaks in a network;And terminal is had no progeny in a network, The call business for keeping terminal side is not discharged.
First receiving unit 702, for receiving the related information from above-mentioned terminal, above-mentioned related information, which includes at least, to be closed Join ID, above-mentioned association ID indicates the Session Resources that above-mentioned terminal is distributed to before above-mentioned SBC breaks in a network;
It is associated with legitimacy detection unit 703, is detected for being associated legitimacy using above-mentioned related information;
Registering unit 704, for be associated with legitimacy detect successfully when, using above-mentioned association ID indicate Session Resources to CSCF initiates periodic registration;
Second receiving unit 705, for receiving media stream data corresponding with above-mentioned call business;Above-mentioned media stream data With the transmission of new address;
Unit 706 learns for the first packet to above-mentioned media stream data, obtains above-mentioned new address.
In other embodiments of the present invention, Fig. 7 b is referred to, above-mentioned SBC may also include generation unit 707, for generating simultaneously It returns and is associated with ID used in detecting in next secondary association legitimacy.
Wherein, holding unit 701 can be used for executing 204 parts shown in Fig. 2 a and 2b, 403 shown in Fig. 4 a and 4c Divide, 504 parts shown in Fig. 5 a and 5b.
First receiving unit 702 can be used for receiving shown in terminal 205 parts shown in Fig. 2 a and 2b, Fig. 4 a and 4c The related information that 505 parts shown in 404 parts, Fig. 5 a and 5b are sent.
Second receiving unit 705 can be used for receiving terminal 209 parts shown in Fig. 2 a, 408 parts shown in Fig. 4 a, figure The media stream data that 506 parts shown in 5a and 5b are sent, and the media stream number that terminal is sent is received in other embodiments According to.
Association legitimacy detection unit 703 can be used for executing 206 parts shown in Fig. 2 a and 2b, shown in Fig. 4 a and 4c 507 parts shown in 405 parts, Fig. 5 a and 5b.
Registering unit 704 can be used for executing 200 parts and 207 parts shown in Fig. 2 a, 200 parts shown in Fig. 2 b, 2071 parts and 2072 parts, 400 parts, 4061 parts shown in 400 parts and 406 parts, Fig. 4 c shown in Fig. 4 a and 500 parts shown in 4062 parts, Fig. 5 a, 500 parts, 5081 parts shown in Fig. 5 b and 5082 parts.
Unit 706 can be used for executing 409 parts shown in 210 parts, Fig. 4 a shown in Fig. 2 a, shown in Fig. 5 a 5084 parts shown in 508 parts, Fig. 5 b.
Generation unit 707 can be used for executing 201 parts shown in Fig. 2 a and 2b and 208 parts, 502 parts shown in Fig. 5 a With 502 parts shown in 510 parts, Fig. 5 b and 5083 parts, in addition, generation unit can also be used in execute Fig. 4 a and 4c shown in 407 parts.
Fig. 8 shows a kind of possible structural schematic diagram of terminal involved in above-described embodiment, comprising:
Holding unit 801 keeps the call business of terminal side not discharge for having no progeny in a network;
First transmission unit 802, for sending related information to SBC after network recovery;
Above-mentioned related information is associated legitimacy detection for above-mentioned SBC, wherein above-mentioned related information, which includes at least, to close Join ID, above-mentioned association ID indicates the Session Resources that above-mentioned terminal is distributed to before above-mentioned SBC breaks in a network, in association legitimacy After detecting successfully, the Session Resources of above-mentioned association ID instruction will be used to initiate periodic registration to CSCF by above-mentioned SBC;
Second transmission unit 803, for after network recovery, Xiang Shangshu SBC to transmit matchmaker corresponding with above-mentioned call business Body flow data, new address is sent above-mentioned media stream number accordingly, and the first packet in above-mentioned media stream data learns above-mentioned for above-mentioned SBC New address.
Wherein, holding unit 801 can be used for executing shown in 203 parts shown in Fig. 2 a and 2b, Fig. 4 a and 4c 402 Divide, 503 parts shown in Fig. 5 a and 5b.
First transmission unit 802 can be used for executing 404 parts, Fig. 5 a shown in 209 parts shown in Fig. 2 a, Fig. 4 a and 4c With 505 part shown in 5b.
Second transmission unit 803 can be used for executing 205 parts shown in Fig. 2 a and 2b, 408 parts, Fig. 5 a shown in Fig. 4 a With 506 part shown in 5b, and, 5085 parts shown in Fig. 5 b.
In other embodiments of the present invention, above-mentioned terminal may also include calling unit, for completing call setup, Yi Jihu Cry media stream data transmission etc. in the process.Calling unit can be used for executing 202 parts and 211 parts shown in Fig. 2 a, Fig. 2 b Shown in 202 parts, 501 parts shown in 401 parts, Fig. 5 a shown in 401 parts and 410 parts, Fig. 4 c shown in Fig. 4 a With 501 parts shown in 509 parts, Fig. 5 b.
Fig. 9 shows the alternatively possible structural schematic diagram of SBC/ terminal involved in above-described embodiment, comprising:
Bus, controller/processor 1, memory 2, communication interface 3, input equipment 4 and output equipment 5.Processor 1 is deposited Reservoir 2, communication interface 3, input equipment 4 and output equipment 5 are connected with each other by bus.Wherein:
Bus may include an access, transmit information between computer system all parts.
Controller/processor 1 can be general processor, such as general central processor (CPU), network processing unit (Network Processor, abbreviation NP), microprocessor etc., are also possible to application-specific integrated circuit (application- Specific integrated circuit, ASIC), or it is one or more for controlling the collection of the present invention program program execution At circuit.It can also be digital signal processor (DSP), specific integrated circuit (ASIC), ready-made programmable gate array (FPGA) Either other programmable logic device, discrete gate or transistor logic, discrete hardware components.Controller/processor 1 It can be the combination for realizing computing function, such as combined comprising one or more microprocessors, DSP and the combination of microprocessor etc. Deng.
The program for executing technical solution of the present invention is preserved in memory 2, can also preserve operating system and other are answered Use program.Specifically, program may include program code, and program code includes computer operation instruction.More specifically, memory The 2 other kinds of static state that can be read-only memory (read-only memory, ROM), static information and instruction can be stored Store equipment, random access memory (random access memory, RAM), the other types that information and instruction can be stored Dynamic memory, magnetic disk storage etc..
Input equipment 4 may include the device for receiving the data and information of user's input, such as keyboard, mouse, camera, sweep Retouch instrument, light pen, speech input device, touch screen etc..
Output equipment 5 may include allowing output information to the device, such as display screen, printer, loudspeaker etc. of user.
Communication interface 3 may include using the device of any transceiver one kind, so as to other equipment or communication, Such as Ethernet, wireless access network (RAN), WLAN (WLAN) etc..
Controller/processor of SBC can be used for executing Fig. 2 a-2b, Fig. 3, Fig. 4 a-4c, Fig. 5 a-5b, SBC involved in Fig. 6 Treatment process and/or other processes for technology described herein.Controller/processor can also be used for realizing and keep Unit 701, association legitimacy detection unit 703, registering unit 704, the second receiving unit 705, is learned first receiving unit 702 Practise the function of unit 706 and generation unit 707.
The communication interface of SBC is then used to that SBC to be supported to be communicated with other devices.Such as supporting OBU and Fig. 2 a- 2b, Fig. 3, Fig. 4 a-4c, Fig. 5 a-5b, other devices shown in Fig. 6 are communicated.
Controller/processor of terminal can be used for executing Fig. 2 a-2b, Fig. 3, Fig. 4 a-4c, Fig. 5 a-5b, involved in Fig. 6 eventually The treatment process at end and/or other processes for technology described herein.Controller/processor of RSU can also be used for Realize the function of holding unit 801, the first transmission unit 802, the second transmission unit 803 and calling unit.
The communication interface of terminal is then used to that terminal to be supported to be communicated with other devices.Such as supporting terminal and figure 2a-2b, Fig. 3, Fig. 4 a-4c, Fig. 5 a-5b, other devices shown in Fig. 6 are communicated.
It is understood that Fig. 9 illustrate only SBC or simplifying for terminal is designed.In practical applications, SBC or terminal May include any number of transmitter, receiver, processor, controller, memory, communication interface etc., and it is all can be real Existing SBC or terminal of the invention are within protection scope of the present invention.
The step of method in conjunction with described in the disclosure of invention or algorithm can realize in a manner of hardware, can also It is realized in a manner of being to execute software instruction by processor.Software instruction can be made of corresponding software module, software mould Block can be stored on RAM memory, flash memory, ROM memory, eprom memory, eeprom memory, register, hard disk, In the storage medium of mobile hard disk, CD-ROM or any other form well known in the art.A kind of illustrative storage medium It is coupled to processor, to enable a processor to from the read information, and information can be written to the storage medium.When So, storage medium is also possible to the component part of processor.Pocessor and storage media can be located in ASIC.In addition, should ASIC can be located in user equipment.Certainly, pocessor and storage media can also be used as discrete assembly and be present in user equipment In.
Those skilled in the art are it will be appreciated that in said one or multiple examples, function described in the invention It can be realized with hardware, software, firmware or their any combination.It when implemented in software, can be by these functions Storage in computer-readable medium or as on computer-readable medium one or more instructions or code transmitted. Computer-readable medium includes computer storage media and communication media, and wherein communication media includes convenient for from a place to another Any medium of one place transmission computer program.Storage medium can be general or specialized computer can access it is any Usable medium.
Above-described specific embodiment has carried out further the purpose of the present invention, technical scheme and beneficial effects It is described in detail, it should be understood that being not intended to limit the present invention the foregoing is merely a specific embodiment of the invention Protection scope, all any modification, equivalent substitution, improvement and etc. on the basis of technical solution of the present invention, done should all Including within protection scope of the present invention.

Claims (26)

1. a kind of call method based on SIP over TCP/TLS characterized by comprising
Session Border Controller SBC keeps the corresponding Session Resources of terminal not after detecting network interruption, before waiting time-out Release, and the corresponding call business of the terminal is kept not discharge;Wherein, the Session Resources are that the SBC breaks in a network Before distribute to the terminal;The terminal is had no progeny in a network, and the call business of terminal side is kept not discharge;
The SBC receives the related information from the terminal, and the related information includes at least association ID, and the association ID refers to The Session Resources that the terminal is distributed to before the SBC breaks in a network are shown;
The SBC searches Session Resources according to the association ID;If finding, it is determined that association legitimacy detects successfully;Otherwise, Determine the association legitimacy detection failure;
If the association legitimacy detects successfully, the SBC uses the Session Resources of the association ID instruction to call session control Functional network element CSCF processed initiates periodic registration;
The SBC receives media stream data corresponding with the call business;New address is sent the media stream number accordingly;
The SBC learns the first packet of the media stream data, obtains the new address.
2. the method as described in claim 1, which is characterized in that further include:
If being associated with legitimacy detection failure, the SBC is that the terminal redistributes Session Resources, uses the session redistributed Resource initiates periodic registration to CSCF.
3. the method as described in claim 1, which is characterized in that the association legitimacy detection includes: according to the association ID Corresponding Session Resources are searched, if finding, association legitimacy is detected successfully, is otherwise associated with legitimacy detection failure.
4. method as claimed in claim 3, which is characterized in that the related information of the reception from the terminal includes: to connect Receive the registration message or newly-increased sip message for carrying the related information.
5. the method as described in claim 1, which is characterized in that further include: the SBC is generated and is returned and closes in next secondary association ID is associated with used in method detection.
6. the method as described in claim 1, which is characterized in that the related information of the reception from the terminal include:
The RTCP Real-time Transport Control Protocol RTCP message for carrying the related information is received, the related information further includes MD5 value;Institute Stating MD5 value is that the terminal obtains random cipher progress MD5 Hash operation, and the random cipher is the SBC in network The terminal is distributed to together together with the association ID before interrupting.
7. method as claimed in claim 6, which is characterized in that the association legitimacy, which detects, includes:
Corresponding Session Resources are searched according to the association ID;
MD5 verification is carried out to the MD5 value in the RTCP message;
If finding corresponding Session Resources and MD5 being verified successfully, it is associated with legitimacy and detects successfully, be otherwise associated with legitimacy Detection failure.
8. the method for claim 7, which is characterized in that further include: the SBC is generated and is returned and closes in next secondary association Association ID and random cipher used in method detection.
9. the method as described in claim 5 or 8, which is characterized in that
It is described for next secondary association legitimacy detection association ID be carried on by the SBC success response message returned or newly Increase in sip message;Alternatively,
The association ID and random cipher for the detection of next secondary association legitimacy is carried on the successful sound returned by the SBC It answers in message or newly-increased sip message.
10. the method as described in claim 1, which is characterized in that the association ID is call ID or service cookie.
11. a kind of communication means based on SIP over TCP/TLS characterized by comprising
Terminal is had no progeny in a network, and the call business of terminal side is kept not discharge;
After network recovery, the terminal sends related information to Session Border Controller SBC;The related information is for described SBC is associated legitimacy detection, wherein the related information includes at least association ID, the association ID and indicates the SBC The Session Resources that the terminal is distributed to before breaking in a network are finding Session Resources according to the association ID, are determining association After legitimacy detects successfully, the Session Resources of the association ID instruction will be used for call session control function net by the SBC First CSCF initiates periodic registration;
After network recovery, the terminal transmits media stream data corresponding with the call business, the media to the SBC Flow data is sent with new address, and the first packet in the media stream data learns the new address for the SBC.
12. method as claimed in claim 11, which is characterized in that it is described to SBC send related information include: to the SBC Send the registration message or newly-increased sip message for carrying the related information.
13. method as claimed in claim 11, which is characterized in that described to include: to SBC transmission related information
The terminal sends the RTCP Real-time Transport Control Protocol RTCP message for carrying the related information to the SBC;
The related information further includes MD5 value;The MD5 value is that the terminal obtains random cipher progress MD5 Hash operation , the random cipher is to distribute to the terminal together together with the association ID before the SBC breaks in a network.
14. a kind of Session Border Controller SBC characterized by comprising
Holding unit, for keeping the corresponding Session Resources of terminal not release after detecting network interruption, before waiting time-out It puts, and the corresponding call business of the terminal is kept not discharge;Wherein, the Session Resources are before the SBC breaks in a network Distribute to the terminal;The terminal is had no progeny in a network, and the call business of terminal side is kept not discharge;
First receiving unit, for receiving the related information from the terminal, the related information includes at least association ID, institute It states association ID and indicates the Session Resources for distributing to the terminal before the SBC breaks in a network;
It is associated with legitimacy detection unit, for searching Session Resources according to the association ID;If finding, it is determined that association is legal Property detects successfully;Otherwise, it determines the association legitimacy detection failure;
Registering unit, for when the association legitimacy detect successfully, using it is described be associated with Session Resources that ID is indicated to CSCF initiates periodic registration;
Second receiving unit, for receiving media stream data corresponding with the call business;The media stream number is accordingly newly Location is sent;
Unit learns for the first packet to the media stream data, obtains the new address.
15. SBC as claimed in claim 14, which is characterized in that the registering unit is also used to:
When being associated with legitimacy detection failure, Session Resources are redistributed for the terminal, use the Session Resources redistributed Periodic registration is initiated to call session control function network element CSCF.
16. SBC as claimed in claim 15, which is characterized in that in terms of being associated with legitimacy detection, the association legitimacy Detection unit is used for: searching corresponding Session Resources according to the association ID, if finding, association legitimacy is detected successfully, no Then it is associated with legitimacy detection failure.
17. SBC as claimed in claim 16, which is characterized in that in the side for receiving the related information from the terminal Face, first receiving unit are used for: receiving the registration message or newly-increased sip message for carrying the related information.
18. SBC as claimed in claim 14, which is characterized in that further include:
Generation unit, for generate and return next secondary association legitimacy detection used in be associated with ID.
19. SBC as claimed in claim 18, which is characterized in that in the side for receiving the related information from the terminal Face, first receiving unit are used for: receiving the RTCP Real-time Transport Control Protocol RTCP message for carrying the related information, the pass Joining information further includes MD5 value;The MD5 value, which is the terminal, to be carried out MD5 Hash operation to random cipher and obtains, it is described with Secret code is to distribute to the terminal together together with the association ID before the generation unit is broken in a network.
20. SBC as claimed in claim 19, which is characterized in that in terms of being associated with legitimacy detection, the association legitimacy Detection unit is used for:
Corresponding Session Resources are searched according to the association ID;
MD5 verification is carried out to the MD5 value in the RTCP message;
If finding corresponding Session Resources and MD5 being verified successfully, it is associated with legitimacy and detects successfully, be otherwise associated with legitimacy Detection failure.
21. the SBC as described in claim 18 or 19, which is characterized in that
Association ID for the detection of next secondary association legitimacy be carried on the success response message returned by the generation unit or In newly-increased sip message;Alternatively,
Association ID and random cipher for the detection of next secondary association legitimacy are carried on the success returned by the generation unit In response message or newly-increased sip message.
22. a kind of terminal characterized by comprising
Holding unit keeps the call business of terminal side not discharge for having no progeny in a network;
First transmission unit, for sending related information to Session Border Controller SBC after network recovery;The association letter Breath is associated legitimacy detection for the SBC, wherein the related information includes at least association ID, and the association ID refers to The Session Resources for distributing to the terminal before the SBC breaks in a network are shown, session money are being found according to the association ID Source, after determining that association legitimacy detects successfully, the Session Resources of the association ID instruction will be used for by the SBC to call session Control function network element CSCF initiates periodic registration;
Second transmission unit, for after network recovery, Xiang Suoshu SBC to transmit media stream number corresponding with the call business According to new address is sent the media stream number accordingly, and the first packet in the media stream data is described newly for SBC study Location.
23. terminal as claimed in claim 22, which is characterized in that described in terms of SBC sends related information, described the One transmission unit is used for: Xiang Suoshu SBC sends the registration message or newly-increased sip message for carrying the related information.
24. terminal as claimed in claim 22, which is characterized in that described in terms of SBC sends related information, described the One transmission unit is used for:
The RTCP Real-time Transport Control Protocol RTCP message for carrying the related information is sent to the SBC;
The related information further includes MD5 value;The MD5 value is that the terminal obtains random cipher progress MD5 Hash operation , the random cipher is to distribute to the terminal together together with the association ID before the SBC breaks in a network.
25. a kind of Session Border Controller SBC, which is characterized in that including processor and memory, wherein the processor is logical Software program, the data of calling storage in the memory of operation storage in the memory are crossed, are at least executed as follows Step:
After detecting network interruption, before waiting time-out, the corresponding Session Resources of terminal are kept not discharge, and kept for the end Corresponding call business is held not discharge;Wherein, the Session Resources are to distribute to the terminal before the SBC breaks in a network 's;The terminal is had no progeny in a network, and the call business of terminal side is kept not discharge;
The related information from the terminal is received, the related information includes at least association ID, the association ID and indicates institute State the Session Resources that the terminal is distributed to before SBC breaks in a network;
Session Resources are searched according to the association ID;If finding, it is determined that association legitimacy detects successfully;Otherwise, it determines institute State association legitimacy detection failure;
When the association legitimacy detects successfully, using the Session Resources of the association ID instruction to call session control function Network element CSCF initiates periodic registration;
Receive media stream data corresponding with the call business;New address is sent the media stream number accordingly;
The first packet of the media stream data is learnt, the new address is obtained.
26. a kind of terminal, which is characterized in that including processor and memory, wherein the processor is stored in institute by operation It states the software program in memory, call the data of storage in the memory, at least execution following steps:
It has no progeny in a network, the call business of terminal side is kept not discharge;
After network recovery, related information is sent to Session Border Controller SBC;The related information is carried out for the SBC It is associated with legitimacy detection, wherein the related information includes at least association ID, the association ID and indicates the SBC in network The Session Resources that the terminal is distributed to before interruption are finding Session Resources according to the association ID, are determining association legitimacy After detecting successfully, the Session Resources of the association ID instruction will be used for call session control function network element CSCF by the SBC Initiate periodic registration;
After network recovery, Xiang Suoshu SBC transmits media stream data corresponding with the call business, and the media stream number is accordingly New address is sent, and the first packet in the media stream data learns the new address for the 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 CN105813228A (en) 2016-07-27
CN105813228B true 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)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105813228B (en) * 2016-03-14 2019-04-26 华为技术有限公司 Communication means and relevant apparatus based on SIP over TCP/TLS
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
CN110809014B (en) * 2018-08-06 2023-03-03 中兴通讯股份有限公司 Service request, negotiation and response method, device, network equipment and system
CN114124907B (en) * 2020-08-14 2023-07-21 中国移动通信集团浙江有限公司 SIP signaling front-end processor, service upgrading method, device, equipment and storage medium
CN114979980B (en) * 2021-12-14 2023-07-21 中移互联网有限公司 Communication method of SIP message, terminal equipment and network equipment thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (7)

* 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
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
WO2015184418A1 (en) * 2014-05-29 2015-12-03 T-Mobile Usa, Inc. Wi-fi calling using sip-ims handset and evolved packet data gateway
CN105813228B (en) * 2016-03-14 2019-04-26 华为技术有限公司 Communication means and relevant apparatus based on SIP over TCP/TLS

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN104767751A (en) * 2015-04-02 2015-07-08 大唐移动通信设备有限公司 Session control method and device

Also Published As

Publication number Publication date
WO2017157144A1 (en) 2017-09-21
CN105813228A (en) 2016-07-27

Similar Documents

Publication Publication Date Title
CN105813228B (en) Communication means and relevant apparatus based on SIP over TCP/TLS
JP3772831B2 (en) Method for performing UMTS (Universal Mobile Communication System) authentication using SIP (Session Initiation Protocol) messages
JP3853788B2 (en) System and method for reducing information communicated between multimedia enabled units of a universal mobile telecommunications system
TWI289984B (en) Method and system for handling service failures
JP4709217B2 (en) Method and apparatus for session control in a hybrid telecommunications network
US8335197B2 (en) Method and apparatus for transmitting SIP data of idle mode UE in a mobile communication system
US9900291B2 (en) Methods and apparatus for synchronizing decryption state with remote encryption state
WO2012068922A1 (en) Ims multimedia communication method and system, terminal and ims core network
KR101705440B1 (en) Hybrid cloud media architecture for media communications
US10523720B2 (en) P-CSCF recovery and reregistration
CN107612931B (en) Multipoint conversation method and multipoint conversation system
WO2010020169A1 (en) Media bypass method, system and apparatus
CN108833943A (en) The encrypted negotiation method, apparatus and conference terminal of code stream
US7899058B2 (en) Using a hash value as a pointer to an application class in a communications device
WO2011057568A1 (en) Method and system for realizing session handover
WO2016050133A1 (en) Authentication credential replacement method and apparatus
WO2011054257A1 (en) Method of establishing optimized media path and signaling gateway for implementing this method
WO2022166742A1 (en) Network registration method and apparatus, and user equipment
CN102281293A (en) Method and system for transmitting transmission control protocol (TCP) type session media stream
US8903990B2 (en) IMS performance monitoring
CN105207982B (en) Resource-sharing processing method, device and P-CSCF
CN104811426B (en) User Agent Client sends the method and User Agent Client of registration request
CN109120578B (en) Method and device for realizing link connection processing
JP6348875B2 (en) RELAY DEVICE, CALL CONTROL SYSTEM, CALL CONTROL METHOD, AND CALL CONTROL PROGRAM
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