CN101039313A - Implementing method for network entity to separately independent control protocol heart-beat - Google Patents
Implementing method for network entity to separately independent control protocol heart-beat Download PDFInfo
- Publication number
- CN101039313A CN101039313A CN 200610057092 CN200610057092A CN101039313A CN 101039313 A CN101039313 A CN 101039313A CN 200610057092 CN200610057092 CN 200610057092 CN 200610057092 A CN200610057092 A CN 200610057092A CN 101039313 A CN101039313 A CN 101039313A
- Authority
- CN
- China
- Prior art keywords
- gateway
- soft switch
- message
- network entity
- response 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.)
- Pending
Links
Images
Landscapes
- Communication Control (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Provided is an implemental method for a network entity to independently control protocol heartbeats, which is to transmit heartbeats information between network elements such as a gateway, a media server,etc., the network elements are those successful login of soft-switch, the transmission period of the heartbeats information is self-controlled by the transmitter, and survival statuss of the opposite terminal is found in time, so scheduled countermeasures are adopted in time according to the variety of the opposite terminal such as the scheduled transmission period, response results to the heartbeats information of the opposite terminal network entity from each equipment. The present invention adopts each network entity of H.28 protocol, heartbeats information is indepedently and self-controlled transmitted between the soft-switch and the network equipment without mutual interference and restriction, discontinuity of a chain-route is determined by an information retransmission mechanism which adopts the H.248 protocol, so the survival statuss of the opposite terminal is found by both the soft-switch and the network equipment, scheduled countermeasures are adopted in time according to the variety of the opposite terminal, and then the network performance and the operation function quality are improved.
Description
Technical field
The present invention relates to a kind of reliability engineering that transmits protocol message between soft switch and the gateway device based on the User Datagram Protoco (UDP) UDP of the Internet that is used to solve, exactly, the implementation method that relates to a kind of network entity to separately independent control protocol heart-beat belongs to the flexible exchanging network communication technical field.
Background technology
Flexible exchanging network is that a signaling key-course carries the hierarchical network that separates fully with bottom, wherein between soft switch MGC and the media gateway MG except needs medium connection control function, because it is unreliable that udp protocol transmits, also need to realize the fault detect between these two equipment and the discovery feature of fault recovery, and reduce the influence that equipment fault produces Network by the Business Processing strategy of taking to set by certain mechanism.
H.248 agreement is a kind of interface protocol that is applied between gateway controller and the gateway, also is one of the most active communication protocol of present industry.Now based on Softswitch technology with based on the next generation network (comprising 3G network) of instantaneous communication system IMS, all adopt H.248 agreement as the first-selected agreement between network core control section (as soft switch, IMS etc.) and the media gateway, for the user provides solution.
At present, in the flexible exchanging network, carry out signaling control by agreement H.248 between soft switch and the media gateway, the medium of being finished calling by soft switch control media gateway connect.But the existing H.248 standard of IETF and ITU approval has only been carried out general definition to framework, function, order and the parameter of agreement, does not relate to the regulation of heartbeat mechanism aspect.
For this reason, the domestic standard tissue has defined a kind of heartbeat mechanism scheme of only being controlled by soft switch between soft switch and gateway at present, is implemented as follows:
Soft switch MGC adopts audit parameter value order AuditValue message as heartbeat message, periodically sends to media gateway MG, and the transmission cycle can be set.When heartbeat message retransmits the response message of all not receiving gateway for 7 times, then judge gateway fails, i.e. the link down of itself and gateway.
Simultaneously, soft switch is that gateway is set a maximum sleep time, and soft switch must guarantee that the time interval that sends message to gateway is no more than the maximum sleep time.The suggestion maximum sleep time is 7 heart beat cycles.When gateway at 7 heart beat cycles all not when soft switch receives any message from soft switch, then judge the soft switch fault, i.e. the link down of gateway and soft switch.
This mode is very dumb, disadvantage is more: gateway does not have independent heartbeat message, must possess the function of " dormancy time is set, and after dormancy time reaches, can judges the link down fault between itself and the soft switch and start corresponding strategies "; And soft switch transmission heartbeat message must be limited by gateway, i.e. soft switch must guarantee that the time interval that sends message to gateway is no more than the maximum sleep time.So just make soft switch and gateway device all strengthen the performance difficulty, complexity is set, realize difficulty, promptly be easy to because the reason of equipment performance causes normally realizing above-mentioned heartbeat mechanism, and mistake is judged as link down.Particularly under the more situation of gateway type, a soft switch need be provided with the multiple maximum sleep time, and the whole network is implemented very difficulty.And the maximum sleep time of gateway always is set to 7 times of soft switch heart beat cycle, and is also very unreasonable, because the length of soft switch heart beat cycle can directly influence the efficient that gateway is judged the link down fault.Therefore, present this heartbeat method is a kind of method that expends equipment performance, inefficiency, relies on it can not guarantee that equipment detects accurately and timely and judges link down.Therefore, how to adopt a kind of reasonable, feasible method to solve the integrity problem that transmits protocol message between soft switch and the gateway device based on the User Datagram Protoco (UDP) UDP of the Internet, just become the new problem that the insider pays close attention to.
Summary of the invention
In view of this, the implementation method that the purpose of this invention is to provide a kind of network entity to separately independent control protocol heart-beat, this method sends heartbeat message by independent respectively control between soft switch and gateway or other network element device to the other side, do not disturb mutually, do not restrict mutually, utilize H.248 the message retransmission mechanism of agreement self to judge whether link interrupts, make soft switch and gateway or other network element device can both in time find the other side's existing state, in time take the strategy that customizes in advance according to the other side's state variation, to improve network performance and service operation quality.
In order to achieve the above object, the invention provides a kind of implementation method of network entity to separately independent control protocol heart-beat, it is characterized in that: between gateway that soft switch is succeeded in registration or other network element device and Softswitch, sent heartbeat message mutually, its transmission cycle is respectively by the transmit leg Autonomous Control, and the duration in transmission cycle is set on equipment separately, by each equipment according to receiving the responsive status of opposite end network entity to heartbeat message, in time find the existing state of opposite end network entity, so that in time take the countermeasure be scheduled to according to the other side's state variation.
Described method is applicable to and adopts H.248 each network entity of agreement, described gateway to include but not limited to IAD, Tandem Gateway, integrated access equipment IAD and be controlled by the media server of soft switch with gateway mode.
In the described method, soft switch is the audit parameter value order-AuditValue message in the agreement H.248 to the heartbeat message that gateway sends, and the transmission flow of heartbeat message comprises the following steps:
(101) soft switch periodically sends the order of audit parameter value to gateway: AuditValue message, and wherein related Context is a null value, destination node is root ROOT, does not have any audit parameter item among the audit descriptor Audit;
(102) after gateway is received above-mentioned heartbeat message, to soft switch back response message Reply;
(103) if response message Reply is received in soft switch, judge that then link is normal, operating process is finished; If response message Reply is not received in soft switch, carry out subsequent operation;
(104) soft switch is returned step (101) and is retransmitted AuditValue message, if still do not receive response message Reply, then soft switch continues to retransmit, and up to the message retransmission timer expiry, link down is judged in soft switch, and every processing of taking to set is operated.
In the described step (104), every processing operation of setting comprises the charging of ending associated call in the soft switch at least.
In the described method, gateway is the notification command-Notify message in the agreement H.248 to the heartbeat message that soft switch sends, and the transmission flow of heartbeat message comprises the following steps:
(201) gateway is periodically to the soft switch order of sending out public notice: Notify message, wherein related Context is a null value, destination node is root ROOT, the request event sign RequestID value of the incident ObservedEvents that is observed is 0, reported event is survival timer expiry incident it/ito (just using the survival timer event in the survival timer bag that defines in the agreement H.248.14 herein, is not to refer to true event);
(202) after above-mentioned heartbeat message is received in soft switch, to gateway back response message Reply;
(203) if gateway is received response message Reply, judge that then link is normal, operating process is finished; If gateway is not received response message Reply, carry out subsequent operation;
(204) gateway returns step (201) and retransmits Notify message, if still do not receive response message Reply, then gateway continues to retransmit, up to the message retransmission timer expiry, gateway is judged link down, and attempt sending request that reconnects or the request that re-registers to soft switch, in time recover to guarantee service.
The present invention is a kind of implementation method of network entity to separately independent control protocol heart-beat, with respect to the heartbeat mechanism of prior art, has the following advantages and effect:
(1) independent respectively control sends heartbeat message to the other side between soft switch and gateway or other network element device, do not disturb mutually, do not restrict mutually, naturally utilize H.248 the message retransmission mechanism of agreement itself to judge whether link interrupts, make soft switch and gateway or other network element device can both in time find the other side's existing state, and in time take the countermeasure be scheduled to according to the other side's state variation.
(2) method of the present invention need not extension protocol, and equipment realizes easily and be efficiently feasible that the network design freedom and flexibility are not limited by gateway type.The associative operation step of the setting of every message and transmission thereof, reception all is to utilize self natural mechanism of agreement H.248, does not need to increase the performance consumption of equipment, thus guarantee to detect accurately, reliable and efficient.
Description of drawings
Fig. 1 is the sequential schematic diagram that soft switch sends heartbeat message in the inventive method to gateway.
Fig. 2 is the sequential schematic diagram that gateway sends heartbeat message in the inventive method to soft switch.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with accompanying drawing.
The present invention is a kind of implementation method of network entity to separately independent control protocol heart-beat, this method is by send heartbeat message mutually between gateway that soft switch is succeeded in registration or other network element device and Softswitch, its transmission cycle is respectively by the transmit leg Autonomous Control, and the duration in transmission cycle is set on equipment separately, by each equipment according to receiving the responsive status of opposite end network entity to heartbeat message, in time find the existing state of opposite end network entity, so that in time take the countermeasure be scheduled to according to the other side's state variation.
The implementation method of heartbeat mechanism of the present invention is applicable between each network entity that adopts agreement H.248, for example between soft switch and the gateway, between soft switch and the media server etc.
An embodiment below in conjunction with between soft switch and the gateway introduces specific implementation step of the present invention; Need to prove that IP address of equipment among the embodiment and transaction number all are applicating examples, will change it according to actual conditions when specifically using.
The step that soft switch periodically sends heartbeat message is as follows:
(1) soft switch periodically sends heartbeat message to gateway, and this heartbeat message is exemplified as:
MEGACO/1[191.1.11.45]:2944?T=378800572{Context=-{AuditValue=ROOT{Audit{}}}}
(2) after gateway is received above-mentioned heartbeat message, to soft switch back response message Reply; This response message Reply is exemplified as:
MEGACO/1[191.1.11.15]:2944?P=378800572{Context=-{AuditValue=ROOT{}}}
(3) if response message Reply is received in soft switch, judge that then link is normal, operating process is finished; If response message Reply is not received in soft switch, carry out subsequent operation;
(4) above-mentioned heartbeat message is retransmitted in soft switch, if still do not receive response message Reply, then soft switch continues to retransmit, and up to the message retransmission timer expiry, link down is judged in soft switch, and every processing of taking to set is operated.For example, end the charging etc. of associated call in the soft switch.
The step that gateway periodically sends heartbeat message is as follows:
(1) gateway periodically sends heartbeat message to soft switch, and this heartbeat message is exemplified as:
MEGACO/1[191.1.11.15]:2944?T=22067{Context=-{Notify=ROOT{ObservedEvents=0{20040413T15565300:it/ito}}}}
(2) after above-mentioned heartbeat message is received in soft switch, to gateway back response message Reply; This response message Reply is exemplified as:
MEGACO/1[191.1.11.45]:2944?P=22067{Context=-{Notify=ROOT}}
(3) if gateway is received response message Reply, judge that then link is normal, operating process is finished; If gateway is not received response message Reply, carry out subsequent operation;
(4) gateway is retransmitted Notify message, if still do not receive response message Reply, then gateway continues to retransmit, up to the message retransmission timer expiry, gateway is judged link down, and attempt sending request that reconnects or the request that re-registers to soft switch, the service that so just can guarantee in time recovers.
Claims (5)
1, a kind of implementation method of network entity to separately independent control protocol heart-beat, it is characterized in that: between gateway that soft switch is succeeded in registration or other network element device and Softswitch, sent heartbeat message mutually, its transmission cycle is respectively by the transmit leg Autonomous Control, and the duration in transmission cycle is set on equipment separately, by each equipment according to receiving the responsive status of opposite end network entity to heartbeat message, in time find the existing state of opposite end network entity, so that in time take the countermeasure be scheduled to according to the other side's state variation.
2, the implementation method of network entity to separately independent control protocol heart-beat according to claim 1, it is characterized in that: described method is applicable to and adopts H.248 each network entity of agreement, described gateway to include but not limited to IAD, Tandem Gateway, integrated access equipment IAD and be controlled by the media server of soft switch with gateway mode.
3, the implementation method of network entity to separately independent control protocol heart-beat according to claim 1, it is characterized in that: in the described method, soft switch is the audit parameter value order-AuditValue message in the agreement H.248 to the heartbeat message that gateway sends, and the transmission flow of heartbeat message comprises the following steps:
(101) soft switch periodically sends the order of audit parameter value to gateway: AuditValue message, and wherein related Context is a null value, destination node is root ROOT, does not have any audit parameter item among the audit descriptor Audit;
(102) after gateway is received above-mentioned heartbeat message, to soft switch back response message Reply;
(103) if response message Reply is received in soft switch, judge that then link is normal, operating process is finished; If response message Reply is not received in soft switch, carry out subsequent operation;
(104) soft switch is returned step (101) and is retransmitted AuditValue message, if still do not receive response message Reply, then soft switch continues to retransmit, and up to the message retransmission timer expiry, link down is judged in soft switch, and every processing of taking to set is operated.
4, the implementation method of network entity to separately independent control protocol heart-beat according to claim 1 is characterized in that: in the described step (104), every processing operation of setting comprises the charging of ending associated call in the soft switch at least.
5, the implementation method of network entity to separately independent control protocol heart-beat according to claim 1, it is characterized in that: in the described method, gateway is the notification command-Notify message in the agreement H.248 to the heartbeat message that soft switch sends, and the transmission flow of heartbeat message comprises the following steps:
(201) gateway is periodically to the soft switch order of sending out public notice: Notify message, wherein related Context is a null value, destination node is root ROOT, and the request event sign RequestID value of the incident ObservedEvents that is observed is 0, and reported event is survival timer expiry incident it/ito;
(202) after above-mentioned heartbeat message is received in soft switch, to gateway back response message Reply;
(203) if gateway is received response message Reply, judge that then link is normal, operating process is finished; If gateway is not received response message Reply, carry out subsequent operation;
(204) gateway returns step (201) and retransmits Notify message, if still do not receive response message Reply, then gateway continues to retransmit, up to the message retransmission timer expiry, gateway is judged link down, and attempt sending request that reconnects or the request that re-registers to soft switch, in time recover to guarantee service.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200610057092 CN101039313A (en) | 2006-03-17 | 2006-03-17 | Implementing method for network entity to separately independent control protocol heart-beat |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200610057092 CN101039313A (en) | 2006-03-17 | 2006-03-17 | Implementing method for network entity to separately independent control protocol heart-beat |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101039313A true CN101039313A (en) | 2007-09-19 |
Family
ID=38889948
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200610057092 Pending CN101039313A (en) | 2006-03-17 | 2006-03-17 | Implementing method for network entity to separately independent control protocol heart-beat |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101039313A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102137017A (en) * | 2011-03-17 | 2011-07-27 | 华为技术有限公司 | Working method and device used for virtual network unit |
CN102480753A (en) * | 2010-11-24 | 2012-05-30 | 中兴通讯股份有限公司 | Link state detecting method and device |
CN103532843A (en) * | 2011-03-17 | 2014-01-22 | 华为技术有限公司 | Work method and device for virtual network unit |
CN103546491A (en) * | 2013-11-08 | 2014-01-29 | 烽火通信科技股份有限公司 | Communication link abnormity protection method based on H.248 terminal |
CN107708212A (en) * | 2016-08-09 | 2018-02-16 | 中兴通讯股份有限公司 | The collocation method and device that chain rupture is held time |
CN108737142A (en) * | 2017-04-21 | 2018-11-02 | 华为技术有限公司 | A kind of method, node and the mesh network of adjustment nodal test parameter |
CN110460520A (en) * | 2019-08-26 | 2019-11-15 | 北京经纬恒润科技有限公司 | A kind of data message transmission method and vehicle network system |
CN114868367A (en) * | 2019-11-08 | 2022-08-05 | 沃达丰Ip许可有限公司 | Method and system for exchanging periodic data in a mobile telecommunications network |
-
2006
- 2006-03-17 CN CN 200610057092 patent/CN101039313A/en active Pending
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102480753B (en) * | 2010-11-24 | 2016-03-30 | 中兴通讯股份有限公司 | Link state detection method and device |
CN102480753A (en) * | 2010-11-24 | 2012-05-30 | 中兴通讯股份有限公司 | Link state detecting method and device |
WO2012068996A1 (en) * | 2010-11-24 | 2012-05-31 | 中兴通讯股份有限公司 | Method and device for detecting link state |
CN102137017B (en) * | 2011-03-17 | 2013-10-09 | 华为技术有限公司 | Working method and device used for virtual network unit |
CN103532843A (en) * | 2011-03-17 | 2014-01-22 | 华为技术有限公司 | Work method and device for virtual network unit |
CN102137017A (en) * | 2011-03-17 | 2011-07-27 | 华为技术有限公司 | Working method and device used for virtual network unit |
CN103546491A (en) * | 2013-11-08 | 2014-01-29 | 烽火通信科技股份有限公司 | Communication link abnormity protection method based on H.248 terminal |
CN107708212A (en) * | 2016-08-09 | 2018-02-16 | 中兴通讯股份有限公司 | The collocation method and device that chain rupture is held time |
CN107708212B (en) * | 2016-08-09 | 2023-02-21 | 中兴通讯股份有限公司 | Method and device for configuring broken link maintaining time |
CN108737142A (en) * | 2017-04-21 | 2018-11-02 | 华为技术有限公司 | A kind of method, node and the mesh network of adjustment nodal test parameter |
CN110460520A (en) * | 2019-08-26 | 2019-11-15 | 北京经纬恒润科技有限公司 | A kind of data message transmission method and vehicle network system |
CN114868367A (en) * | 2019-11-08 | 2022-08-05 | 沃达丰Ip许可有限公司 | Method and system for exchanging periodic data in a mobile telecommunications network |
CN114868367B (en) * | 2019-11-08 | 2024-05-28 | 沃达丰Ip许可有限公司 | Method and system for exchanging periodic data in a mobile telecommunication network |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101039313A (en) | Implementing method for network entity to separately independent control protocol heart-beat | |
US9332037B2 (en) | Method and apparatus for redundant signaling links | |
CN1921369B (en) | Adapting method for network connection | |
US6141785A (en) | Error control method for multiparty multimedia communications | |
CN103430524B (en) | A backup sip server for the survivability of an enterprise network using sip | |
CN103944698B (en) | A kind of double hot standby method | |
CN103036904A (en) | Method of data reliable transmission with user datagram protocol (UDP) in communication network | |
US20100166006A1 (en) | Method, media gateway and system for controlling redundant data packet transmission | |
WO2007079643A1 (en) | A method and system for realizing duplication based on session border controller | |
CN1917639A (en) | Method of enhancing vedio signal by discarding packets and using retransmission | |
CN1531262A (en) | Network communication method for carrying out load division | |
US7971099B2 (en) | Method for enabling faster recovery of client applications in the event of server failure | |
US20090196281A1 (en) | ENERGY STAR compliant Voice over Internet Protocol (VoIP) telecommunications network including ENERGY STAR compliant VoIP devices | |
WO2006026929A1 (en) | A method for monitoring the state of the media gateway controller by the media gateway | |
CA2656660A1 (en) | Client/bridge and method and system for using same | |
CN103685166A (en) | Method and device for switching between main server and standby server for session initiation protocol terminal | |
CN1700694A (en) | Method and system for acquiring initial protocol network node status of a session | |
CN1750540A (en) | Method for keeping port open of fire-proof wall/address converting device in soft exhanging net | |
WO2010017659A1 (en) | A method for implementing a heartbeat mechanism in a communication network and the apparatus thereof | |
CN1893428A (en) | Bearing system and method for media network gate control protocol | |
CN1859361A (en) | Method for detecting terminal on-line state of meeting sponsored protocol server | |
CN1567905A (en) | A method for monitoring operating state of media gateway controller by media gateway | |
CN1917432A (en) | Media gateway controller / media gateway, and method for synchronizing connection status after disconnection | |
WO2008049346A1 (en) | Method, system and device for registering device | |
WO2002103969A1 (en) | Method of implementing ip telephone gatekeeper group and a gatekeeper 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 | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20070919 |