CN101510883B - Method for transmission of SIP message - Google Patents

Method for transmission of SIP message Download PDF

Info

Publication number
CN101510883B
CN101510883B CN2009101061641A CN200910106164A CN101510883B CN 101510883 B CN101510883 B CN 101510883B CN 2009101061641 A CN2009101061641 A CN 2009101061641A CN 200910106164 A CN200910106164 A CN 200910106164A CN 101510883 B CN101510883 B CN 101510883B
Authority
CN
China
Prior art keywords
link
sip
message
new
sip message
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
CN2009101061641A
Other languages
Chinese (zh)
Other versions
CN101510883A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2009101061641A priority Critical patent/CN101510883B/en
Publication of CN101510883A publication Critical patent/CN101510883A/en
Application granted granted Critical
Publication of CN101510883B publication Critical patent/CN101510883B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention relates to an SIP message transporting method, in particular to a method for realizing message transporting on the basis of TCP/TLS long connected SIP (Session Initialization Protocol), which comprises the following steps: firstly, an SIP entity sends an SIP message to a target cluster system and establishes a plurality of links; and secondly, the links go through the continuous cycle of valid period and retention period and realize dynamic load balance under the joint effect of the detection part of an application layer, thereby better solving the problems of load balance of the SIP message, link cut back, fake link detection, and the like, as well as increasing the throughput among the cluster systems and being characterized by being convenient for the capacity expansion of the system.

Description

A kind of method of sip message transmission
Technical field
The present invention relates to the method for transmission of messages in the IP communication network, especially relate to implementation method based on long SIP (Session Initialization Protocol, the session initiation protocol) transmission of messages that connects of TCP/TLS.
Background technology
Session Initiation Protocol belongs to application layer protocol; It uses the restriction ratio of which kind of transport layer protocol looser to two SIP inter-entity; Can be agreements such as UDP, SCTP, TCP, TLS; But in some environment, congested controlled, agreement maturity, fail safe all become weighs the important indicator that adopts which kind of transport layer protocol, and especially commercial large-scale cluster system is more outstanding to these requirements.Because the transport layer protocol (like TCP, TLS etc.) based on link has the incomparable advantages of other agreements such as UDP; TCP has superior congested control and reliability; And TLS has increased fail safe on the basis of TCP, and long connection of TCP/TLS become the main transport layer protocol in a lot of large commercial cluster systems.But, carry out having when sip message transmits several outstanding problems to need to solve through TCP or the long connection of TLS between cluster system in actual application.
It at first is the problem of load balancing of sip message; For sip message based on connection; Four layer switch can only provide based on the load balancing that connects, promptly can only link balancedly be assigned on each server of inside of cluster system, how to accomplish the equilibrium of sip message through connecting equilibrium?
Next is that link returns the problem of cutting; After the cluster system internal server broke down, the new link that four layers of exchange meeting will belong to failed server was transferred on other normal server, thereby had externally shielded the fault of cluster system part pellucidly; But after failed server is recovered normally; Because four layers of exchange have only signaling transfer point, do not close the function of link, so how the normal link on other servers is switched back to and recovers the back server?
Be the detection problem of false link at last; Link in the geographical position or the network topology structure upper span very big; Just there is the situation of false link inevitably in this; Though Transmission Control Protocol itself provides link survival testing mechanism, because the influence of security strategy of compatibility, sense cycle, fire compartment wall or the like factor, the testing mechanism of TCP itself is difficult to gather effect; So how about find false link? The problem that proposes above proposition of the present invention is and solves, the present invention simultaneously can also play the throughput of system that increases between cluster system, make things convenient for effect such as System Expansion.
Summary of the invention
Technical problem to be solved by this invention mainly be the load balancing, the link that solve sip message return cut, problem such as false link detecting.
For this reason, the present invention provides a kind of method of sip message transmission, comprises the steps:
Step 1: the SIP entity sends sip message to the target complex collecting system, and sets up corresponding link;
Step 2: link is through the term of validity and the circulation of retention period, and the acting in conjunction in the application layer test section is issued to the dynamic load leveling of link.
Described method, further, in the said step 1, said SIP entity balancedly sends sip message on said every link.
Described method, further, in the said step 1, said number of links is the integral multiple of number of servers in the said target complex collecting system.
Described method further, in the said step 2, after said link establishment finishes, is in the described term of validity earlier, and the back gets into described retention period, so circulation.
Described method further, is sent said sip request message at said SIP entity during the said term of validity on this link, also on this link, receive the response message of these request messages.
Described method, further, when getting into described retention period; Said SIP entity can be set up a new link; And on this new link, send new request message and the response message that receives these new request messages, simultaneously, for the old link that is in this retention period; Still can receive the response message on this old link, thereby the request message of guaranteeing old link can both be received response message.
Described method; Further; In the detection layers part described in the said step 2, the said application layer detect-message of said SIP entity timed sending on this every link is not if receive response message then think that this link is false link at the appointed time; Close this link, set up a new alternate link simultaneously.
Can solve problems such as load balancing, link are returned and cut, false link detecting well through the present invention, increase the throughput of system between cluster system simultaneously, and have the advantages that to make things convenient for System Expansion.
Description of drawings
Fig. 1 example the link circuit condition under the normal condition
Fig. 2 example the link circuit condition of server 2 after breaking down
Fig. 3 example server 2 recover and the link circuit condition of link 2 ' when getting into retention period
Fig. 4 example server 2 recover and 2 ' retention period of link the link circuit condition after finishing
Embodiment
To accompanying drawing 4, specify practical implementation of the present invention below in conjunction with accompanying drawing 1, the application scenarios of simulation is that the SIP entity sends sip message through four layer switch to certain cluster system in this example:
(1) the SIP entity is set up N bar link to cluster system, and on this N bar link, sends sip message equably;
(2) four layer switch are transferred to this N bar link respectively on N the server in the cluster system under the link equilibrating mechanism, have reached the purpose of the equally loaded of sip message like this;
(3) No. 2 servers in the cluster system break down, and No. 2 link is broken off by meeting;
(4) after the SIP entity finds that No. 2 links break off, set up a new alternate link 2 ' to cluster system at once;
(5) because No. 2 servers are in malfunction, four layer switch are transferred to 2 ' link on certain other server in the cluster system, such as No. 1 server;
(6) sometime, it is normal that No. 2 servers recover, but current N bar link is all in proper working order, and four layer switch can't switch back to the link on other servers and recover on normal No. 2 servers, and at this moment No. 2 servers still are in idle condition in the back;
(7) after after a while, 2 ' number link gets into retention period, and at this moment the SIP entity can initiatively be set up a new alternate link 2 to cluster system ", at this moment four layer switch according to homeostatic principle with 2 " link is transferred on No. 2 servers;
(8) after the retention period of 2 ' number link finished, the SIP entity can initiatively be closed 2 ' number link, and at this moment as can beappreciated from fig. 4, its link circuit condition reverts to the situation before No. 2 servers break down again;
Above-mentioned flow process is mainly used in explains that sip message is the equally loaded that how in cluster system, to realize sip message, and after failed server recovers, and link is again switchback how.Because four layer switch can only carry out the switching of link, it can not initiatively be closed link or link is shifted, so can only rely on the link layer mechanism of SIP entity itself to satisfy this switchback work.
In sum, each step of the present invention can realize that they can concentrate on the single calculation element with the general calculation device; Perhaps be distributed on the network that a plurality of calculation element forms; Alternatively, they can realize with the executable program code of calculation element, thereby; Can they be stored in the storage device and carry out by calculation element; Perhaps they are made into each integrated circuit modules respectively, perhaps the step in them are made into the single integrated circuit module and realize, the present invention is not restricted to any specific hardware and software and combines.
What should explain is; Above embodiment is only unrestricted in order to technical scheme of the present invention to be described; Although with reference to preferred embodiment the present invention is specified, those of ordinary skill in the art should be appreciated that and can make amendment or be equal to replacement technical scheme of the present invention; And not breaking away from the spirit and the scope of technical scheme of the present invention, it all should be encompassed in the middle of the claim scope of the present invention.

Claims (5)

1. the method for a sip message transmission comprises the steps:
Step 1: the SIP entity sends sip message to the target complex collecting system, and sets up corresponding link; When server broke down, new alternate link was established and is transferred on other server in the cluster system;
Step 2: said new alternate link is through the term of validity and the circulation of retention period, and the acting in conjunction in the application layer test section is issued to the dynamic load leveling of link; Wherein,
Said new alternate link is in the described term of validity earlier after setting up and finishing, and the back gets into described retention period, so circulation; When getting into described retention period; Said SIP entity can be set up a new link; And on this new link, send new request message and the response message that receives these new request messages, simultaneously, for the old link that is in this retention period; Still can receive the response message on this old link, thereby the request message of guaranteeing old link can both be received response message; After said retention period finished, said SIP entity was closed said old link.
2. the method for sip message transmission as claimed in claim 1 is characterized in that in the said step 1, said SIP entity balancedly sends sip message on said every link.
3. the method for sip message transmission as claimed in claim 1 is characterized in that in the said step 1, said number of links is the integral multiple of number of servers in the said target complex collecting system.
4. the method for sip message transmission as claimed in claim 1 is characterized in that, on this link, sends said sip request message at said SIP entity during the said term of validity, also on this link, receives the response message of these request messages.
5. the method for the described sip message of claim 1 transmission; It is characterized in that; In the application layer test section described in the said step 2, the said application layer detect-message of said SIP entity timed sending on this every link is not if receive response message then think that this link is false link at the appointed time; Close this link, set up a new alternate link simultaneously.
CN2009101061641A 2009-03-23 2009-03-23 Method for transmission of SIP message Active CN101510883B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101061641A CN101510883B (en) 2009-03-23 2009-03-23 Method for transmission of SIP message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101061641A CN101510883B (en) 2009-03-23 2009-03-23 Method for transmission of SIP message

Publications (2)

Publication Number Publication Date
CN101510883A CN101510883A (en) 2009-08-19
CN101510883B true CN101510883B (en) 2012-05-23

Family

ID=41003147

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101061641A Active CN101510883B (en) 2009-03-23 2009-03-23 Method for transmission of SIP message

Country Status (1)

Country Link
CN (1) CN101510883B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103118055A (en) * 2012-10-10 2013-05-22 中兴通讯股份有限公司 Method and device for multi-media access
CN104683253A (en) * 2013-11-27 2015-06-03 北京大唐高鸿数据网络技术有限公司 Dynamic load balancing method for unified communication system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005027563A1 (en) * 2003-09-15 2005-03-24 Matsushita Electric Industrial Co., Ltd. Method for releasing allocated resources at sip handover
CN1992711A (en) * 2005-12-27 2007-07-04 中兴通讯股份有限公司 Method for performing link detection to server by SIP terminal
CN101212478A (en) * 2006-12-30 2008-07-02 华为技术有限公司 Packet service method and network device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005027563A1 (en) * 2003-09-15 2005-03-24 Matsushita Electric Industrial Co., Ltd. Method for releasing allocated resources at sip handover
CN1992711A (en) * 2005-12-27 2007-07-04 中兴通讯股份有限公司 Method for performing link detection to server by SIP terminal
CN101212478A (en) * 2006-12-30 2008-07-02 华为技术有限公司 Packet service method and network device

Also Published As

Publication number Publication date
CN101510883A (en) 2009-08-19

Similar Documents

Publication Publication Date Title
JP5361794B2 (en) Method and apparatus for maintaining a port state table in the forwarding plane of a network element
CN104104570B (en) Aggregation processing method in IRF systems and device
US8438307B2 (en) Method and device of load-sharing in IRF stack
CN102238072B (en) Method for dynamically selecting routing and CLOS (Charles Clos) switching network system
CN104168193B (en) A kind of method and routing device of Virtual Router Redundancy Protocol fault detect
CN107454155A (en) A kind of fault handling method based on load balancing cluster, device and system
CN101652963B (en) Method for reconfiguring a communications network
CN108306777A (en) Virtual gateway main/standby switching method and device based on SDN controllers
CN103973424B (en) Failure in caching system solves method and apparatus
CN101888307B (en) The method and apparatus of port selection is realized for this locality
WO2011100609A2 (en) Methods, systems, and computer readable media for inter-message processor status sharing
CN101888330A (en) Be used to provide the method and apparatus of the quick rerouting of grouping
CN101820358A (en) The Ethernet optical-fibre channel of high usage and multichannel
EP2695337A1 (en) A method for traffic load balancing
CN104243239B (en) The condition detection method and device of controller in a kind of SDN clusters
CN104243323B (en) Switching network multi-broadcast routing method and system
CN101163060B (en) BFD session establishing method, BFD session establishing device and routing device
CN105915467A (en) Data center network flow balancing method and device oriented to software definition
Wang et al. Designing efficient high performance server-centric data center network architecture
CN101702678B (en) Star-shaped stack system and method thereof
CN103346967A (en) Data center network topology structure and routing method thereof
CN101764706A (en) Link redundant control method based on EPA network bridge
CN106254242A (en) A kind of data transmission method, Centralized Controller, forwarding face equipment and local terminal communicator
US20160124884A1 (en) Redundancy for port extender chains
CN107968747A (en) A kind of path adjustment management method and device, communication system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant