CN1317854C - Method for detecting medium gateway controller and medium between-gateways link state - Google Patents

Method for detecting medium gateway controller and medium between-gateways link state Download PDF

Info

Publication number
CN1317854C
CN1317854C CNB021114528A CN02111452A CN1317854C CN 1317854 C CN1317854 C CN 1317854C CN B021114528 A CNB021114528 A CN B021114528A CN 02111452 A CN02111452 A CN 02111452A CN 1317854 C CN1317854 C CN 1317854C
Authority
CN
China
Prior art keywords
media gateway
link
gateway controller
controller
opposite end
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.)
Expired - Fee Related
Application number
CNB021114528A
Other languages
Chinese (zh)
Other versions
CN1452347A (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 CNB021114528A priority Critical patent/CN1317854C/en
Publication of CN1452347A publication Critical patent/CN1452347A/en
Application granted granted Critical
Publication of CN1317854C publication Critical patent/CN1317854C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention discloses a method for detecting the link state between a media gateway controller and a media gateway, which is applied between the media gateway and the media gateway controller which are separated in an IP/ATM network. A command group of a media gateway control protocol self and a processing mechanism are used as detection link information and are continuously sent to the opposite end, and the link state is detected according to whether a self end receives a response message. The adoption of the present invention can avoid that after both calling sides in the gateway come into conversation, the media gateway controller does not know when a user releases the conversation because the link of the gateway and the media gateway controller is intermitted, and accordingly, charging can not be stopped in time.

Description

A kind of method that detects Media Gateway Controller and medium between-gateways link state
Technical field:
The present invention relates to communication field, specifically, relate to the whether online method of communication state between media gateway in the IP/ATM network (MediaGateway is called for short MG) and the Media Gateway Controller (Media Gateway Controller is called for short MGC) that detects.
Background technology:
At present, in IP telephony network, can insert various device by different media gateway MG, as legacy telephony equipments such as public telephone network PSTN, integrated services digital network ISDN, Public Land Mobile Nerwork PLMN, by the media gateway controller MGC unification these media gateway MG is controlled, thereby be convenient to introduce newborn business, this becomes the direction of Next Generation Telecommunication Networks network development gradually.Wherein, the control protocol between media gateway controller MGC and the media gateway MG is a considerable ring, and at present, this type of control protocol has H.248 agreement, MGCP agreement and Session Initiation Protocol etc.
With agreement H.248 is example, media gateway controller MGC can be finished the control to media gateway MG, accept from media gateway MG detected incident, to media gateway MG send signal tone or signaling, require media gateway MG create a context with the ongoing calling of correspondence, report statistical value when requiring media gateway MG at end of calling.
From the framework of agreement H.248, its definition is still quite complete, as taked the mechanism of " Atmost Once " (at most once), Handshake (three-way handshake) etc. at transaction layer.But in actual applications, as when making a phone call, can run into some relevant with calling itself but with the problem of protocol-independent.
After calling and called entered talking state, according to agreement H.248, media gateway controller MGC was wherein no longer controlled these two users side's call release except waiting for.If the media gateway MG at one of them user place and the link down between the media gateway controller MGC, then media gateway controller MGC can not be known.So just cause a problem: the user can continue conversation, but media gateway controller MGC can not control it, can not carry out accurate billing to this calling.Because network interrupts, media gateway controller MGC may not be received user's release event, thereby media gateway controller MGC itself is had a negative impact, in time the call release resource in addition.
In addition, H.248 agreement itself does not have the special order of shaking hands, and can not directly finish the task whether link interrupts that detects.
For other agreements, the problems referred to above exist equally.
Summary of the invention:
Given this, technical problem to be solved by this invention is to provide a kind of method that detects Link State between Media Gateway Controller and the media gateway, utilize the command group and the treatment mechanism of MGCP itself, link between media gateway MG and the media gateway controller MGC is detected, solve the problem that produces owing to the network interruption.
The method of Link State may further comprise the steps between detection Media Gateway Controller of the present invention and the media gateway:
One, after media gateway is registered, a timer is set respectively in media gateway and Media Gateway Controller in Media Gateway Controller;
Two, after the timer timing arrives, media gateway and Media Gateway Controller send link detecting message to the opposite end respectively, described Media Gateway Controller is the H.248 AuditValue order in the agreement to the link detecting message that media gateway sends, this order detects whole gateway, checks the current user mode of whole gateway; Described media gateway is the H.248 ServiceChange order in the agreement to the link detecting message that Media Gateway Controller sends, and the current parameter of this command report media gateway realizes;
Three, judge whether echo reply message of opposite end, if, represent that then link is unobstructed, local terminal is removed timer, resets next time regularly; If not, then represent link down, go to step 4;
Four,, then initiatively remove ongoing calling in the media gateway of opposite end, and the notice charge system stops charging if local terminal is a Media Gateway Controller; If local terminal is media gateway, then again with the Media Gateway Controller link setup, re-register.
Before the step 4, further comprising the steps of: as 1) retransmission timer, 2 to be set respectively in local terminal and opposite end after step 3) after the retransmission timer timing arrives, judge whether to receive the response message of opposite end, if receive, then think the network hit, link is unobstructed; If do not receive, then retransmission counter adds 1, judges whether retransmission counter overflows, if do not have, then starts retransmission timer, returns step 2); If overflow, then think link down to go to step 4.
The current parameter of the media gateway of above-mentioned ServiceChange command report realizes, comprises the configuration file of current version number, current time, current use at least.
The method of the invention adopts the order of the control protocol between Media Gateway Controller and the media gateway itself as link detecting message, can regularly detect the Link State between media gateway and the Media Gateway Controller, can be in communication process because the link between media gateway and Media Gateway Controller breaks down, and overcharge or other phenomenon of the failure appear; Because what link detecting message was used is the command parameter of control protocol itself, does not introduce extra mechanism, therefore guaranteed the consistency of whole Media Gateway Controller, media gateway system.
Description of drawings:
Fig. 1 be the present invention schematic flow sheet.
Fig. 2 is the embodiment schematic diagram that detection link-state of the present invention is used.
Fig. 3 is the embodiment schematic diagram that detection link-state of the present invention is used.
Embodiment:
The present invention is described in further detail below in conjunction with drawings and Examples.For introduce convenient for the purpose of, suppose that control protocol between media gateway controller MGC and the media gateway MG is an agreement H.248, for other MGCPs, the present invention is suitable equally.
In flow chart shown in Figure 1, at first media gateway MG registers (step 101) afterwards in media gateway controller MGC, enter step 102, MGC is provided with a timer respectively in media gateway MG and Media Gateway Controller, and timer length regularly can change according to actual conditions.After the timing time of timer has arrived, enter step 103, media gateway MG and media gateway controller MGC send to the opposite end respectively and detect chain circuit message.On media gateway controller MGC, according to agreement H.248, most protocol command all is sent to media gateway MG from media gateway controller MGC, from realization of the present invention, any order that is sent to media gateway MG all can be used as the detection chain circuit message, but wherein some order and parameter group credit union exert an influence to calling, such as operation that the end points of calling out is carried out etc., therefore, the present invention considers to have selected for use order and the parameter combinations little with the relation of calling out as far as possible, wherein a kind of can the detection whole gateway by the AuditValue order, check the current user mode of whole gateway, this order can not participate in calling out, and can any influence not arranged to calling; If media gateway MG return results then illustrates what MGC and MG still were communicated with.And on media gateway MG, according to agreement H.248, have only two order ServiceChange and Notify to be sent to media gateway controller MGC from media gateway MG, every the different parameter of order has its different implication, for not influencing normal calling, the present invention has selected for use and the relation of calling out is little order and parameter combinations, wherein a kind of method are to report the parameter current of some MG to realize by ServiceChange, as the configuration file of current version number, current time, current use etc.; Echo reply immediately after MGC receives can be finished the one-time detection coupling.
If network causes the detection chain circuit message that sends to be dropped the opposite end is not received owing to shake causes hit, this hit should not be regarded as network and interrupt, and should be overcome.The present invention has also utilized the H.248 transaction layer treatment mechanism of agreement for this reason, prevents the network hit by repeatedly retransmitting, and overcharges message when preventing to receive by two transaction list.All be provided with a retransmission timer (step 104) this moment in media gateway and Media Gateway Controller, repetition cycle is set.
In step 105, judge whether the opposite end has response message to return, and replys if returned, and then enters step 106, illustrates that link is unobstructed, after local terminal receives and replys, remove timer, and be provided with simultaneously regularly next time.Turn back to step 102 then, beginning detection next time.
If the opposite end does not have echo reply, then to handle according to the transaction processing facility of agreement H.248, local terminal can repeatedly be retransmitted, if hit, during repeatedly retransmitting, the opposite end can be received and provide and be replied, so local terminal still can be received replying of opposite end.Retransmission counter is used for retransmitting the calculating of number of times, when count value surpasses predetermined repeating transmission number of times, also do not receive the response message of opposite end, then local terminal (media gateway MG or media gateway controller MGC) is judged link down (or network state is too poor) (step 107), if local terminal is a media gateway controller MGC, then initiatively remove ongoing calling among the media gateway MG of opposite end, and notify charge system to stop to charge, prepare to detect next time; If local terminal is media gateway MG, then attempt and the media gateway controller MGC link setup again, re-register.
Fig. 2 is the embodiment that the method for the invention is used.What adopt between Media Gateway Controller and the IP/ATM network is MGCP such as agreement or MGCP, SIP H.248, between media gateway A, B and the IP/ATM network signaling adopt H.248, agreements such as MGCP or SIP, Media Stream is then walked Real-time Transport Protocol, solid line represents it is Real-time Transport Protocol among the figure, and dotted line represents it is MGCP.To be example H.248, the calling subscriber A off-hook among the media gateway A is initiated a calling.Media gateway detects this off-hook event, and be notified to media gateway controller MGC by protocol command, MGC is then to the calling subscriber A Sending dialled number sound and the order that collects the digits, create the RTP port of an IP side subsequently for calling subscriber A, ability parameters such as configuration corresponding IP address, RTP port numbers and encoding and decoding speech; The called subscriber B ring in media gateway B simultaneously, and create the RTP port of an IP side for it, dispose ability parameters such as corresponding IP address, RTP port and encoding and decoding speech.In case user B off-hook is then just no longer got in touch with Media Gateway Controller between user A and the user B, directly converse by the RTP port, simultaneously, the charging center begins to charge.If the network link between media gateway and the Media Gateway Controller interrupts at this moment, as long as the route between user A and the user B can reach, then both sides still can continue conversation, and media gateway can't be known when on-hook of user, make the control fails of Media Gateway Controller.After adopting the present invention, in the time of can between user A and user B, entering conversation, still between media gateway A, B and Media Gateway Controller, send mutually and detect chain circuit message.If link down, then Media Gateway Controller and media gateway can in time be understood, and take the control measure of being correlated with, link down as media gateway A and Media Gateway Controller, then Media Gateway Controller can be thought user A aborted just to send busy tone to user B by detecting chain circuit message, discharge this calling, and transmission stops charging information to the charging center.
Fig. 3 contains the schematic diagram of communicating by letter between the network of Tandem Gateway (a kind of media gateway), agreement between Media Gateway Controller and the IP/ATM network has two kinds: MGCP, as agreement H.248, MGCP agreement, and Session Initiation Protocol etc., with the SS7 signaling, agreement control signaling between Tandem Gateway A, B and the IP/ATM network adopts MGCP, and Media Stream then adopts Real-time Transport Protocol.The SS7 signaling is sent to Media Gateway Controller by SGW; Medium are set up with release command and then can be realized by MGCP.Similar with last example, in case the link down between Tandem Gateway and the Media Gateway Controller, by detecting chain circuit message, in a single day Media Gateway Controller learns interrupt message, then send call release message by SGW on the one hand, as the REL in the SS7 signaling etc., initiating a message to the charging center on the other hand requires to stop to charge.

Claims (3)

1, a kind of method that detects Link State between Media Gateway Controller and the media gateway is characterized in that, may further comprise the steps:
One, after media gateway is registered, a timer is set respectively in media gateway and Media Gateway Controller in Media Gateway Controller;
Two, after the timer timing arrives, media gateway and Media Gateway Controller send link detecting message to the opposite end respectively, described Media Gateway Controller is the H.248 AuditValue order in the agreement to the link detecting message that media gateway sends, this order detects whole gateway, checks the current user mode of whole gateway; Described media gateway is the H.248 ServiceChange order in the agreement to the link detecting message that Media Gateway Controller sends, and the current parameter of this command report media gateway realizes;
Three, judge whether echo reply message of opposite end, if, represent that then link is unobstructed, local terminal is removed timer, resets next time regularly; If not, then represent link down, go to step 4;
Four,, then initiatively remove ongoing calling in the media gateway of opposite end, and the notice charge system stops charging if local terminal is a Media Gateway Controller; If local terminal is media gateway, then again with the Media Gateway Controller link setup, re-register.
2, the method for detection Link State according to claim 1, it is characterized in that, after the step 3 before the step 4, further comprising the steps of: as 1) retransmission timer to be set respectively in local terminal and opposite end, 2) after the retransmission timer timing arrives, judge whether to receive the response message of opposite end, if receive, then think the network hit, link is unobstructed; If do not receive, then retransmission counter adds 1, judges whether retransmission counter overflows, if do not have, then starts retransmission timer, returns step 2); If overflow, then think link down to go to step 4.
3, the method for detection Link State according to claim 1 and 2 is characterized in that, the current parameter of the media gateway of described ServiceChange command report realizes, comprises the configuration file of current version number, current time, current use at least.
CNB021114528A 2002-04-20 2002-04-20 Method for detecting medium gateway controller and medium between-gateways link state Expired - Fee Related CN1317854C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB021114528A CN1317854C (en) 2002-04-20 2002-04-20 Method for detecting medium gateway controller and medium between-gateways link state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB021114528A CN1317854C (en) 2002-04-20 2002-04-20 Method for detecting medium gateway controller and medium between-gateways link state

Publications (2)

Publication Number Publication Date
CN1452347A CN1452347A (en) 2003-10-29
CN1317854C true CN1317854C (en) 2007-05-23

Family

ID=29220895

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021114528A Expired - Fee Related CN1317854C (en) 2002-04-20 2002-04-20 Method for detecting medium gateway controller and medium between-gateways link state

Country Status (1)

Country Link
CN (1) CN1317854C (en)

Families Citing this family (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100346605C (en) 2003-06-26 2007-10-31 华为技术有限公司 A method and system for multicast source control
CN100454827C (en) * 2004-02-28 2009-01-21 华为技术有限公司 Method for preventing loss of digit reception
CN100372297C (en) * 2004-03-24 2008-02-27 华为技术有限公司 Service method and system for equipment link
CN100417276C (en) * 2004-05-21 2008-09-03 华为技术有限公司 Call state detecting method
CN100334845C (en) * 2004-07-21 2007-08-29 华为技术有限公司 Method for detecting link failure between media getway and media gatway controller
CN100438452C (en) * 2004-08-29 2008-11-26 华为技术有限公司 Method and equipment for detecting signalling or media path fault in next generation method
CN1283070C (en) * 2004-09-10 2006-11-01 华为技术有限公司 Monitoring method of media gateway controller state
CN100414892C (en) * 2004-12-14 2008-08-27 华为技术有限公司 Realizing method for monitoring state of media gateway controller by media gateway
CN100342693C (en) * 2005-04-15 2007-10-10 华为技术有限公司 Method of medium gateway monitoring and uploading event
CN100440797C (en) * 2005-05-18 2008-12-03 中兴通讯股份有限公司 Method for H.323 gatekeeper realizing H.323 terminal timely registration
CN100403678C (en) * 2005-06-28 2008-07-16 华为技术有限公司 Charging control method
CN100411365C (en) * 2005-07-25 2008-08-13 大唐移动通信设备有限公司 Method for monitoring and maintaining multi-data link
CN1893475B (en) * 2005-08-03 2010-08-11 华为技术有限公司 Method for realizing handshake between network apparatus and network terminal while talking
CN1917506B (en) * 2005-08-16 2010-06-30 上海贝尔阿尔卡特股份有限公司 Media gateway / media gateway controller, and related method for registering, controlling and processing
CN1992711B (en) * 2005-12-27 2011-05-11 中兴通讯股份有限公司 Method for performing link detection to server by SIP terminal
CN1870646B (en) * 2006-02-17 2010-08-04 华为技术有限公司 Method for improving jump mechanism of media gateway control protocol centre
CN101052037B (en) * 2006-05-10 2010-08-18 华为技术有限公司 Conversation management control method of IP bearing net
CN100466561C (en) * 2006-06-13 2009-03-04 华为技术有限公司 Method for deciding carried media gateway of media gateway controller
CN1968097A (en) * 2006-10-23 2007-05-23 华为技术有限公司 Method and system for device registration
CN101543106B (en) * 2006-11-06 2012-06-20 艾利森电话股份有限公司 A telecommunication system for controlling media gateways
CN101466103A (en) * 2007-12-19 2009-06-24 中国移动通信集团公司 Method and device for detecting and reporting user surface broken circuit based on soft switching
CN101808352B (en) * 2009-02-13 2013-02-06 上海贝尔股份有限公司 Method for realizing double-ownership switching of single trunking gateway in next generation of network
CN101674595B (en) * 2009-09-28 2012-10-10 中兴通讯股份有限公司 Physical link testing device and method thereof
CN101917302B (en) * 2010-04-02 2015-06-10 中兴通讯股份有限公司 Method and system for reducing call disconnection caused by transient interruption of terminal media
CN101883157A (en) * 2010-06-28 2010-11-10 华为技术有限公司 Method and corresponding device for realizing gateway access
CN102143013B (en) * 2010-09-15 2013-08-28 华为技术有限公司 Method, device and communication system for processing call interruption
CN102221995A (en) * 2011-05-19 2011-10-19 中国石油集团川庆钻探工程有限公司 Break restoration method of seismic data processing work
US9331913B2 (en) * 2012-10-29 2016-05-03 Telefonaktiebolaget Lm Ericsson (Publ) Methods and devices for packet data network gateway suspension for accurate charging in an evolved packet system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1148921A (en) * 1994-05-25 1997-04-30 诺基亚电信公司 Method for monitoring the condition of interconnection network
WO2001039444A1 (en) * 1999-11-08 2001-05-31 Mci Worldcom, Inc. Method and system for dynamic gateway selection in an ip telephony network
WO2002005573A2 (en) * 2000-07-12 2002-01-17 Telefonaktiebolaget L M Ericsson (Publ) Communication management in networks having split control planes and user planes
US20020006780A1 (en) * 2000-07-12 2002-01-17 Frode Bjelland Charging in communication networks having split control planes and user planes
CN1343051A (en) * 2000-09-06 2002-04-03 日本电气株式会社 Gate system with medium gate controller redundacy structure

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1148921A (en) * 1994-05-25 1997-04-30 诺基亚电信公司 Method for monitoring the condition of interconnection network
WO2001039444A1 (en) * 1999-11-08 2001-05-31 Mci Worldcom, Inc. Method and system for dynamic gateway selection in an ip telephony network
WO2002005573A2 (en) * 2000-07-12 2002-01-17 Telefonaktiebolaget L M Ericsson (Publ) Communication management in networks having split control planes and user planes
US20020006780A1 (en) * 2000-07-12 2002-01-17 Frode Bjelland Charging in communication networks having split control planes and user planes
CN1343051A (en) * 2000-09-06 2002-04-03 日本电气株式会社 Gate system with medium gate controller redundacy structure

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
呼叫承载网关的设计和实现 杨飞,李晓峰,陈俊亮,中国数据通信,第2001卷第2期 2001 *
对GPRS计费的几点思考 顾恺,电信技术,第2000卷第10期 2000 *
对GPRS计费的几点思考 顾恺,电信技术,第2000卷第10期 2000;呼叫承载网关的设计和实现 杨飞,李晓峰,陈俊亮,中国数据通信,第2001卷第2期 2001 *

Also Published As

Publication number Publication date
CN1452347A (en) 2003-10-29

Similar Documents

Publication Publication Date Title
CN1317854C (en) Method for detecting medium gateway controller and medium between-gateways link state
US6363424B1 (en) Reuse of services between different domains using state machine mapping techniques
Hamdi et al. Voice service interworking for PSTN and IP networks
EP2137947B1 (en) Methods, systems, and computer program products for jumping calls between different modes of the same device
US20020141386A1 (en) System, apparatus and method for voice over internet protocol telephone calling using enhanced signaling packets and localized time slot interchanging
US7280532B2 (en) Call set-up method using SIP-T overlap signaling
US20070121812A1 (en) System and method for lawful intercept detection of call data and call content
EP1725060A1 (en) Wireless ip telephone unit
CN1421091A (en) Methods for providing prepaid telephony service via internet protocol network system
WO2003055193A1 (en) System and method for integrating multimedia services with traditional telephony via different networks
US20070147600A1 (en) Multiple call origination
JP2004364301A5 (en)
CN101188859B (en) A method for replacing non-stable status call
CN1859517B (en) Click-to-call system of network telephone and its control method
CN100571299C (en) A kind of method and system that realize public telephone exchange network simulation service
CN101651753B (en) Calling control device and method for supporting circuit domain telephone and voice over IP
CN102439906A (en) Exception handling method and server in calling continuous process
KR100416211B1 (en) Accounting Method In Gatekeeper Direct Mode
CN101094274A (en) Method for realizing disaster tolerated uninterrupted call in media gateway of next generation of network
CN103139055B (en) Voice home gateway side realizes method and the device of internal call transfer
KR100461726B1 (en) A System for Providing the Service Using Open Service API in Integrated Network Based on Internet
CN101106733B (en) A forward processing method for one-in-two SIM card service in next-generation of network
CN100388710C (en) Method of DTMF signalling intercommunication between network with separated bearing and controlling and public switching network
CN100499708C (en) Method for playing individualized ring back tone for calling terminal in low speed
CN101262622B (en) Intelligent service processing method and soft switching service network in soft switching service network

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070523

Termination date: 20190420

CF01 Termination of patent right due to non-payment of annual fee