CN103546491A - Communication link abnormity protection method based on H.248 terminal - Google Patents

Communication link abnormity protection method based on H.248 terminal Download PDF

Info

Publication number
CN103546491A
CN103546491A CN201310553782.7A CN201310553782A CN103546491A CN 103546491 A CN103546491 A CN 103546491A CN 201310553782 A CN201310553782 A CN 201310553782A CN 103546491 A CN103546491 A CN 103546491A
Authority
CN
China
Prior art keywords
terminal
mgc
registration
communication link
protection method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310553782.7A
Other languages
Chinese (zh)
Other versions
CN103546491B (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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication 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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201310553782.7A priority Critical patent/CN103546491B/en
Publication of CN103546491A publication Critical patent/CN103546491A/en
Priority to PCT/CN2014/086512 priority patent/WO2015067094A1/en
Application granted granted Critical
Publication of CN103546491B publication Critical patent/CN103546491B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1023Media gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1073Registration or de-registration

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a communication link abnormity protection method based on an H.248 terminal. The protection method is used for detection on an abnormity of a communication link between a terminal and an MGC and recovery. The method comprises the following steps of setting a main MGC and a set of standby MGCs, setting and starting a detection timer, judging whether the detection timer exceeds time or not, determining whether the detection timer is restarted or not and whether the main MGC sends a message to the terminal or not according to a judgment result, judging whether the terminal receives the message sent by the main MGC or not within the time set by the detection timer, determining whether cold start registration is started or not according to a judgment result, and starting the cold start registration to make the terminal send registration requests to the main MGC and the standby MGCs in sequence until registration succeeds. According to the method, whether the link is broken or not is judged through timing detection so that the communication terminal can find the survival state of the MGCs in time, preset strategies are adopted timely according to the state changes of the MGCs, limitation from types of the terminal does not exist, operation is easy, and timeliness and high efficiency are achieved.

Description

Based on the communication link abnormal protection method of terminal H.248
Technical field
The present invention relates to the communications field, relate in particular to a kind of based on the communication link abnormal protection method of terminal H.248.
Background technology
H.248/MECAMGO Protocol is a kind of interface protocol being applied between Media Gateway Controller and media gateway terminal, is also one of the most active communication protocol of current industry.At present, in using the flexible exchanging network of agreement H.248, generally at Media Gateway Controller (Media Gateway Controller, MGC) and between terminal only by MGC, control heartbeat, be implemented as follows, MGC adopts audit parameter value order AuditValue message as heartbeat message, periodically to terminal, sends.When heartbeat retransmitting message is not all received the response message of terminal, judge terminal fault, i.e. the link down of MGC and terminal.That is to say, H.248 the heartbeat detection mode of type communicating terminal generally adopts controlled way, under terminal equipment default situations, initiatively to MGC, does not send heartbeat, by MGC, controls heartbeat, comprises that initiatively to former primary MGC, not doing route after switching detects.
Yet, in this manner, terminal is not opened active heartbeat message, and MGC sends heartbeat message and must be limited by terminal, when MGC breaks down or when network breaks down, cause MGC server end cannot send heartbeat message, or the heartbeat message sending cannot arrive gateway terminal, even MGC Failure elimination or network failure are eliminated after a period of time, network recovery, H.248 communicating terminal also will be always in off-line state on MGC, affects user and uses.If find link abnormal problem, complicated because of network environment, use that H.248 communication terminal equipment producer is different, often need a plurality of producers to coordinate, proof cycle is long, and expends a large amount of manpower and materials.Therefore only rely on present this heartbeat method, cannot guarantee under link abnormal conditions that gateway terminal accurately and timely detects and recovers link down.
Summary of the invention
In view of this, the invention provides a kind of can accurately and timely detect link abnormal and recover link down based on the communication link abnormal protection method of terminal H.248.
H.248 a communication link abnormal protection method for terminal, it is abnormal for detection of the communication link between terminal and Media Gateway Controller (Media Gateway Controller, MGC), and described guard method comprises the following steps:
A primary MGC and one group of standby MGC are set;
Arrange and start a detection timer;
Judge that whether described detection timer is overtime and determine according to judged result whether described detection timer restarts and whether described primary MGC sends message to terminal;
Judge the message whether terminal receives that within the time of described detection set timer primary MGC sends and determine whether to start cold start-up registration according to judged result;
Start cold start-up registration so that terminal successively to primary MGC and a plurality of standby MGC request registration until succeed in registration.
Compared with prior art, provided by the inventionly by timing, detect to judge whether link interrupts, so that the communication terminal equipment existing state of discovery server in time, according to the state variation of server, take in time the strategy customizing in advance, be not subject to the restriction of terminal type simultaneously yet, simple to operate, efficient in time.
Accompanying drawing explanation
Fig. 1 is the system schematic in the communication link abnormal protection method based on terminal H.248 provided by the invention.
Fig. 2 is provided by the invention based on the flow chart of the communication link abnormal protection method of terminal H.248.
Fig. 3 arranges the flow chart that detects timer in Fig. 2.
Fig. 4 is the flow chart that starts cold start-up registration in Fig. 2.
Following embodiment further illustrates the present invention in connection with above-mentioned accompanying drawing.
Embodiment
Incorporated by reference to Fig. 1 and Fig. 2; Fig. 2 is provided by the invention a kind of based on the communication link abnormal protection method of terminal H.248; described guard method is for detection of terminal in Fig. 1 and Media Gateway Controller (Media Gateway Controller; MGC) communication link between is abnormal and take measures to protect proper communication between terminal and MGC, and described guard method comprises the following steps:
S100: a primary MGC and one group of standby MGC are set;
S200: arrange and start a detection timer;
S300: judge that whether described detection timer is overtime and determine according to judged result whether described detection timer restarts and whether described primary MGC sends message to terminal, if so, enters step S400;
S400: detect timer restart and primary MGC and send message to terminal;
S500: judge the message whether terminal receives that within the time of described detection set timer primary MGC sends and determine whether to start cold start-up registration according to judged result, if not, entering step S600;
S600: start cold start-up registration so that terminal successively to primary MGC and a plurality of standby MGC request registration until succeed in registration.
In step S100, soft-switch platform provides the server info of the standby usage on configured list, and provide alternatively the list of one group of alternative MGC, generally before opening, terminal is handed down to terminal by terminal total management system (Integrated Terminal Management System, ITMS) platform.The quantity that is appreciated that standby MGC can be set according to actual needs.
Refer to Fig. 3, in step S200, comprise the following steps:
S210: obtain configuration data;
S220 a: sense switch and described detection timer are set according to described configuration data;
S230: whether described detection timer is opened to determine whether to start according to described sense switch, if so, start detection timer; If not, start detection timer not.
H.248, the configuration data of sense switch and detection time is being set before process initiation as required voluntarily, general open detection switch.If need change sense switch to enable and the assay intervals time after process initiation, reset and be issued to H.248 terminal after relevant configuration data and can come into force, do not need to restart, reset and detect timer after configuration data and restart timing.
In present embodiment, detect the time length arranging in timer and determine according to described configuration data.If the unlatching of sense switch determines whether to be set to " 0 " in terminal with the starting protection method of the communicating by letter sense switch flag bit of MGC, represent to close sense switch, do not enable communication link and detect, detect timer and do not start; If sense switch flag bit is set to " 1 ", represent open detection switch, enable link detecting, detect timer and start.Represent to start to the interval time that H.248 terminal is initiated registration again from detecting timer the interval time of detecting set timer.
In step S210 and step S220, by terminal, obtain configuration data and sense switch be set and detect timer.
In step S300 and step S400: if judge described detection timer expiry, described detection timer restart, primary MGC sends heartbeat or other signaling messages to terminal simultaneously.
In step S500, if terminal is not received any message that primary MGC sends within the time interval of described detection set timer, terminal is set to unregistered state and starts cold start-up ServiceChange registration.
Refer to Fig. 4, in step S600, start, cold start-up register flow path comprises the following steps:
S610: terminal is registered and whether sent message according to primary MGC to primary MGC registration packet and determines whether to succeed in registration after detecting timer expiry, if so, enters step S650, and if not, registration failure, enters step S620.
S620: terminal is registered to described each standby MGC successively;
S630: whether succeed in registration and determine whether terminal starts a registration silence period, if so, enters step S650, if not, starts silence period, also enters step S640 to described standby MGC according to terminal;
S640: registration silence period later terminal is registered to primary MGC and standby MGC again successively until succeed in registration, and also returns to step S610.
S650: endpoint registration success is also reset and detected timer.
In step S610, terminal sends 901(Cold Boot to primary MGC) ServiceChange registration packet register, TerminationId in ServiceChange bag is Root, if terminal is not received the Reply message that primary MGC loopback is succeeded in registration within the time interval of detecting timer always, judgement is to primary MGC registration failure.If endpoint registration success, terminal will be reset and detect timer, detect timer and restart timing, and the time interval of detecting set timer is that the configuration data obtaining in step S210 is determined.
In step S620, when detecting link, terminal disconnects after primary MGC registration failure, ServiceChange registration packet to standby MGC equipment transmission 901 is registered, and in ServiceChange bag, TerminationId is that its follow-up hour of log-on of Root can customize, and is generally no more than 60 seconds.Within 60 seconds assay intervals time, cannot receive any message from primary MGC, start to standby MGC facility registration.In present embodiment, the switching cycle that terminal is generally switched to standby MGC equipment from primary MGC equipment is less than 60 seconds, and terminal unsuccessfully starts to standby MGC registration period duration and should be less than 120 seconds to primary MGC facility registration.
In step S630, terminal is to primary each standby MGC facility registration of MGC facility registration failure rear steering, once carry out registration failure to standby MGC, terminal will be enabled registration silence period.If be appreciated that endpoint registration success, terminal is received the message that MGC sends, and now resets detection timer.In present embodiment, silence period duration is less than 120 seconds.
In step S640, terminal is registered to the ServiceChange registration packet of primary MGC transmission 901 again after starting silence period, also enter next round registration, repeating step S610 is to step S640 until succeed in registration, again to primary MGC and standby MGC, register until succeed in registration successively, if endpoint registration success, terminal is reset and is detected timer.
In step S650, if terminal succeeds in registration to primary MGC or standby MGC, detecting timer can reset after terminal is received the message of MGC at every turn, and the timing length resetting is that the configuration data obtaining in step S210 is determined
In present embodiment, described detection set timer interval greater than the passive heartbeat of terminal, be also the time interval that terminal is replied MGC message.
The order that is appreciated that step S100 and step S200 can be mutual.
The link of communication link abnormal protection method based on terminal H.248 provided by the invention between terminal and MGC disconnects and surpasses predefined assay intervals during the time, H.248 terminal initiatively sends registration message to active and standby MGC, automatic activation signaling link, thereby detect and note abnormalities in time while making link occur abnormal interruption, utilize initiatively sending when registration message disappears link extremely of terminal can recover in time communication simultaneously, the setting of every message and transmission thereof, the associative operation step receiving is all utilized H.248 agreement itself, be not subject to the restriction of terminal type, without the performance consumption that increases equipment, simple to operate, efficiently feasible.
Be understandable that, for the person of ordinary skill of the art, can make other various corresponding changes and distortion by technical conceive according to the present invention, and all these change and distortion all should belong to the protection range of the claims in the present invention.

Claims (10)

1. based on a communication link abnormal protection method for terminal H.248, it is abnormal for detection of the communication link between terminal and Media Gateway Controller (Media Gateway Controller, MGC), and described guard method comprises the following steps:
A primary MGC and one group of standby MGC are set;
Arrange and start a detection timer;
Judge that whether described detection timer is overtime and determine according to judged result whether described detection timer restarts and whether described primary MGC sends message to terminal;
Judge the message whether terminal receives that within the time of described detection set timer primary MGC sends and determine whether to start cold start-up registration according to judged result;
Start cold start-up registration so that terminal successively to primary MGC and a plurality of standby MGC request registration until succeed in registration.
2. as claimed in claim 1 based on the communication link abnormal protection method of terminal H.248; it is characterized in that; in judgement, detect in the whether overtime step of timer: if described detection timer expiry, described detection timer restart simultaneously primary MGC to terminal, send message.
3. as claimed in claim 1 based on the communication link abnormal protection method of terminal H.248; it is characterized in that; in judging the messages step whether terminal receives that primary MGC sends: if terminal is not received any message that primary MGC sends within the time of described detection set timer, start cold start-up registration.
4. as claimed in claim 1ly based on the communication link abnormal protection method of terminal H.248, it is characterized in that, described setting starting in the step of described inspection analyzer comprises the following steps:
Obtain configuration data;
According to described configuration data, a sense switch and described detection timer are set;
Whether described detection timer is opened to determine whether to start according to described sense switch.
5. as claimed in claim 1ly based on the communication link abnormal protection method of terminal H.248, it is characterized in that, in starting cold start-up registration step, comprise the following steps:
If described detection timer expiry, terminal is registered and whether is sent message according to primary MGC to primary MGC transmission registration packet and determines whether to succeed in registration.
According to terminal, to primary MGC registration, whether successfully determine whether to register to described each standby MGC;
According to terminal, whether to described standby MGC, succeed in registration and determine whether terminal starts a registration silence period;
According to terminal, whether start described registration silence period and determine whether terminal is registered to primary MGC and standby MGC again successively.
6. as claimed in claim 5ly based on the communication link abnormal protection method of terminal H.248, it is characterized in that, determining whether that terminal is to primary MGC registration whether in successful step: if not, terminal is to primary MGC registration failure.
7. as claimed in claim 5 based on the communication link abnormal protection method of terminal H.248; it is characterized in that; in definite terminal whether in described each standby MGC registration step: if terminal to primary MGC registration failure, terminal is registered to described standby MGC successively.
8. as claimed in claim 5ly based on the communication link abnormal protection method of terminal H.248, it is characterized in that, start in registration silence period step determining whether, if terminal to described each all failure of standby MGC registration, terminal starts described silence period.
9. as claimed in claim 5 based on the communication link abnormal protection method of terminal H.248; it is characterized in that; again to active and standby MGC, carry out in registration step determining whether; if terminal starts described silence period, after silence period, terminal is registered until succeed in registration to primary MGC and standby MGC successively.
10. as claimed in claim 1 based on the communication link abnormal protection method of terminal H.248, what in described detection timer, arrange replys time interval of MGC message interval greater than terminal.
CN201310553782.7A 2013-11-08 2013-11-08 Communication link abnormity protection method based on H.248 terminal Active CN103546491B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310553782.7A CN103546491B (en) 2013-11-08 2013-11-08 Communication link abnormity protection method based on H.248 terminal
PCT/CN2014/086512 WO2015067094A1 (en) 2013-11-08 2014-09-15 Abnormality protection method for communication link based on h.248 terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310553782.7A CN103546491B (en) 2013-11-08 2013-11-08 Communication link abnormity protection method based on H.248 terminal

Publications (2)

Publication Number Publication Date
CN103546491A true CN103546491A (en) 2014-01-29
CN103546491B CN103546491B (en) 2017-01-11

Family

ID=49969538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310553782.7A Active CN103546491B (en) 2013-11-08 2013-11-08 Communication link abnormity protection method based on H.248 terminal

Country Status (2)

Country Link
CN (1) CN103546491B (en)
WO (1) WO2015067094A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015067094A1 (en) * 2013-11-08 2015-05-14 烽火通信科技股份有限公司 Abnormality protection method for communication link based on h.248 terminal
CN105024833A (en) * 2015-07-03 2015-11-04 上海斐讯数据通信技术有限公司 Communication method and system based on voice protocol, server, and client

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794665A (en) * 2005-04-15 2006-06-28 华为技术有限公司 Method of medium gateway monitoring and uploading event
CN101039313A (en) * 2006-03-17 2007-09-19 广东省电信有限公司研究院 Implementing method for network entity to separately independent control protocol heart-beat

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100414892C (en) * 2004-12-14 2008-08-27 华为技术有限公司 Realizing method for monitoring state of media gateway controller by media gateway
CN100442727C (en) * 2006-07-04 2008-12-10 华为技术有限公司 Detecting method between medium control device and medium processing device
CN103546491B (en) * 2013-11-08 2017-01-11 烽火通信科技股份有限公司 Communication link abnormity protection method based on H.248 terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794665A (en) * 2005-04-15 2006-06-28 华为技术有限公司 Method of medium gateway monitoring and uploading event
CN101039313A (en) * 2006-03-17 2007-09-19 广东省电信有限公司研究院 Implementing method for network entity to separately independent control protocol heart-beat

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘静: "接入网关常用容灾保护技术浅析", 《科技信息》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015067094A1 (en) * 2013-11-08 2015-05-14 烽火通信科技股份有限公司 Abnormality protection method for communication link based on h.248 terminal
CN105024833A (en) * 2015-07-03 2015-11-04 上海斐讯数据通信技术有限公司 Communication method and system based on voice protocol, server, and client

Also Published As

Publication number Publication date
WO2015067094A1 (en) 2015-05-14
CN103546491B (en) 2017-01-11

Similar Documents

Publication Publication Date Title
RU2466505C2 (en) Method, device and system of communication for protection of alarm transfer
EP2510651B1 (en) Connectivity fault management timeout period control
CN1992711B (en) Method for performing link detection to server by SIP terminal
CN104506392B (en) A kind of delay machine detection method and equipment
CN104683188A (en) Method for quickly detecting communication of IP channel of household router
CN103441897A (en) Method and device for locating failure node in virtual network
CN100579076C (en) Neighbourhood establishing method and router
CN105450469A (en) Method for detecting faults of rapid communication bus in industrial equipment
WO2014036724A1 (en) Fault recovery method of operation and maintenance channel and network management terminal
CN103546491A (en) Communication link abnormity protection method based on H.248 terminal
CN100397829C (en) Warning method for frequent discrete event fault
CN103684897A (en) Method, system and device for detecting network connectivity in client
CN104363138A (en) Interface backup method and device
CN107819508B (en) Link fault detection and recovery method based on EPON home gateway
CN101800682A (en) Bidirectional forwarding detection (BFD) method and device
CN102014054A (en) Sending method and equipment for keep-alive messages
CN104348676A (en) Link detection method and device based on operation administration and maintenance
CN101588271A (en) Method for detecting routing in IP multimedia subsystem (IMS)
CN101771583A (en) Method and device for detecting elimination or no elimination of network failure
CN101917302A (en) Method and system for reducing call disconnection caused by transient interruption of terminal media
CN106130823B (en) Uniformly send the method and system of BFD message
CN105337996B (en) A kind of data processing method and system
CN106130822B (en) Uniformly send the method and system of CCM message
CN104811426A (en) Method for sending registration request through user agency client and user agency client
CN101521669A (en) Method and device for releasing temporary destination node of H.248 protocol

Legal Events

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