WO2005025143A1 - Method of detecting the status of a media gateway controller by a media gateway - Google Patents

Method of detecting the status of a media gateway controller by a media gateway Download PDF

Info

Publication number
WO2005025143A1
WO2005025143A1 PCT/CN2003/000754 CN0300754W WO2005025143A1 WO 2005025143 A1 WO2005025143 A1 WO 2005025143A1 CN 0300754 W CN0300754 W CN 0300754W WO 2005025143 A1 WO2005025143 A1 WO 2005025143A1
Authority
WO
WIPO (PCT)
Prior art keywords
media gateway
gateway controller
protocol
controller
media
Prior art date
Application number
PCT/CN2003/000754
Other languages
French (fr)
Chinese (zh)
Inventor
Zhong Zhang
Sheng Liu
Taiming Ling
Original Assignee
Utstarcom (China) 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 Utstarcom (China) Co. Ltd. filed Critical Utstarcom (China) Co. Ltd.
Priority to AU2003261630A priority Critical patent/AU2003261630A1/en
Priority to CNB03826949XA priority patent/CN100394744C/en
Priority to PCT/CN2003/000754 priority patent/WO2005025143A1/en
Publication of WO2005025143A1 publication Critical patent/WO2005025143A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/12Arrangements for interconnection between switching centres for working between exchanges having different types of switching equipment, e.g. power-driven and step by step or decimal and non-decimal
    • H04M7/1205Arrangements for interconnection between switching centres for working between exchanges having different types of switching equipment, e.g. power-driven and step by step or decimal and non-decimal where the types of switching equipement comprises PSTN/ISDN equipment and switching equipment of networks other than PSTN/ISDN, e.g. Internet Protocol networks
    • H04M7/125Details of gateway equipment
    • H04M7/1255Details of gateway equipment where the switching fabric and the switching logic are decomposed such as in Media Gateway Control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/40Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection

Definitions

  • the present invention generally relates to the field of communication technology, and more particularly, to a method for detecting a state of a media gateway controller by a media gateway in a next generation network.
  • the functions or services provided to user terminals are directly related to the switch.
  • the control signaling shown in dotted lines
  • voice / data bearer shown in solid lines
  • the traditional switch 1 constitutes the switching core of the traditional switching network. It can be seen from the figure that, for each user terminal 2, the traditional "call and control" function is integrated with the service, and the call control function for different service requirements is different. This traditional switch cannot separate control from voice / data bearer.
  • NGN next-generation networks
  • PSTN public switched telephone network
  • NGN uses softswitch technology.
  • Softswitch is a functional entity that provides real-time service call control and connection control functions for NGN. It is the core of next-generation network call and control.
  • softswitches separate the functional modules of traditional switches into Independent network components, each component is divided according to the corresponding function, using business and call control separation, call control and bearer separation technology, to achieve an open network structure, making services independent of the network.
  • NGN mainly separates the signaling control part and the voice / data bearer part of the traditional switch, and uses a standard media gateway control protocol such as H.248 / Megaco for interaction.
  • FIG. 2 shows a schematic diagram of NGN internal networking.
  • User terminal 2 such as an IP phone and SoftPhone
  • network 3 usually an IP network
  • control signaling shown in dashed lines
  • soft switch 4 also called a media gateway controller
  • the voice / data bearer (shown as a solid line) is connected to the media gateway 1.
  • Softswitch is the control core of NGN. It is responsible for all call processing under its jurisdiction and controls media gateway resources.
  • the media gateway converts the media in one network into the media format required by another network. For example, the voice / data bearer is exchanged according to the media gateway control signaling sent by the softswitch.
  • the basic structure of NGN is generally divided into: service layer, control layer, transmission layer and access layer.
  • the control layer mainly completes functions such as succession control and resource management, and its core is a softswitch, also called a media gateway controller (MGC).
  • MSC media gateway controller
  • the media gateway controller performs bearer control, resource control, and management on the media gateway (MG).
  • the interface between the media gateway controller and the media gateway uses, for example, the Media Gateway Control Protocol (MGCP) or the H.248 / Megaco protocol.
  • the MGCP protocol is an earlier media gateway control protocol defined by the IETF (Internet Engineering Task Force).
  • the H.248 / Megaco protocol is a media gateway control protocol developed by the IETF, ITU-T, and is used for communication between the media gateway controller and the media gateway.
  • the H.248 / Megaco protocol cooperates with other protocols to complete various NGN services.
  • Each message in the H.248 / Megaco protocol contains one or more transactions.
  • a "Transaction” is constituted by “request” and "response”.
  • Each transaction contains one or more contexts.
  • Each context contains one or more commands.
  • the context defines the connection between some terminals.
  • the context is Parameters describing the topology and media mixing / exchange between the terminals can be made, for example, by
  • H.248 / Megaco contains several commands, such as Add, Subtract, Move, Modify, Audit Value, Audit Capability, Notify, Service Change commands.
  • Various commands implement various services through the parameters they carry. Commands under the H.248 / Megaco protocol are independent of the underlying transport protocol.
  • next generation network there are many media gateways (MG) based on the media gateway control protocol H.248 / Megaco protocol. These gateways are distributed in the homes of enterprises or users. They have the characteristics of wide area, large volume, and dynamic IP. .
  • the H.248 / Megaco protocol is mainly used for transmission over the user datagram protocol (UDP) in the fixed network
  • the UDP protocol does not have the link detection function of the transport layer
  • H.248 / Megaco The protocol also does not define whether the media gateway can initiate a message to detect the link state of the softswitch, so that after the media gateway controller fails and restarts, the media gateway cannot know the media gateway control in time without the user actively calling
  • the status of the device, the relevant user as the called party will be affected. In this case, for example, it will prevent others from calling the affected user. Summary of the invention
  • An object of the present invention is to solve the existing problems in the prior art that the media gateway cannot detect the link state of the media gateway controller because the protocol for communication between the media gateway controller and the media gateway has nothing to do with the underlying transmission protocol. defect.
  • Another object of the present invention is to add a detection function of a media gateway controller to a media gateway based on the H.248 / Megaco protocol.
  • a method for detecting a state of a media gateway controller by a media gateway is provided, which is characterized in that a protocol extension package is added to an interface protocol for communication between the media gateway and the media gateway controller, The method includes the following steps: a) the media gateway sends the protocol extension package to the media gateway controller; b) the media gateway controller receives the protocol extension package and completes the authentication of the media gateway according to the parameters carried in the protocol extension package;
  • the step of authenticating the media gateway by the media gateway controller includes: checking whether the IP address in the protocol extension packet sent by the media gateway is consistent with the data configured in the media gateway controller.
  • the protocol extension package includes a request event and a result event, wherein the result event further includes a result of the media gateway controller's legality detection of the media gateway.
  • the Notify command in the H.248 / Megaco protocol carries the parameters in the protocol extension package to complete the detection of the status of the media gateway controller by the media gateway.
  • the media gateway controller communicates with the media gateway through
  • the method further includes starting a timer while the media gateway sends a protocol extension packet to the media gateway controller, or after a delay interval.
  • the timer is reset after detecting a successful response from the media gateway controller.
  • an alarm message is sent and registered with the standby gateway.
  • the media gateway controller After detecting that the media gateway controller fails to respond more than a predetermined number of times, or after the timer time is set to exceed a predetermined time period, sending an alarm message and registering with the standby gateway.
  • the media gateway can actively detect the connection and communication status of the media to the gateway controller.
  • the media gateway controller fails, Registering with the backup media gateway controller, this feature can well support the network home function in the event of a disaster.
  • the media gateway can immediately learn the information that the current media gateway controller has failed, and immediately register the information with the backup media gateway controller, thereby registering the impact caused thereby. Reduced to a minimum.
  • Figure 1 shows a schematic diagram of the internal networking of a traditional switch
  • Figure 2 shows a schematic diagram of the internal networking of the NGN
  • FIG. 3 shows a flowchart of a method for detecting the status of a media gateway controller by a media gateway according to the present invention.
  • FIG. 3 shows a flowchart of a method for detecting a state of a media gateway controller by a media gateway according to the present invention.
  • Specific embodiments of the present invention are described based on the H.248 / Megaco protocol, but the present invention is not limited thereto.
  • the present invention is also applicable to other networks using a protocol similar to the H.248 / Megaco protocol between the media gateway and the media gateway controller, for example, in a network using the MGCP protocol.
  • each message includes one or more transactions, each transaction includes one or more contexts, and each context includes one or more commands.
  • a "request” and "response” constitute a transaction.
  • the connection between terminals is defined by the context.
  • the media gateway detects the status of the media gateway controller.
  • the basic idea of the present invention is: In the interface protocol for communication between the media gateway controller and the media gateway, a new protocol extension package is defined, for example, when using H.248 / In the case of the egaco protocol as an interface protocol, a H.248 / Megaco protocol extension package is newly defined, which is referred to as the H.248 protocol heartbeat packet HeartBeat in this article.
  • the Notify command in the H.248 / Megaco protocol is used to carry the extended protocol extension.
  • Each parameter in the HeartBeat is included, and the parameters are authenticated to implement the detection of the state of the media gateway controller by the media gateway.
  • the embodiment is described based on the H.248 / Megaco protocol.
  • a parameter defined as the H.248 / Megaco protocol heartbeat packet HeartBeat is added to the Notify command under the H.248 / Megaco protocol.
  • the H.248 / Megaco protocol heartbeat packet defined here is a request-response type protocol extension packet, which is a collection of heartbeat request events and heartbeat result events.
  • the content defined in the heartbeat packet is used as a parameter of the Notify command. Parameter to complete the function of detecting the status of the media gateway controller by the media gateway.
  • Heartbeat packet HeartBeat can be defined as follows:
  • Protocol extension package name HeartBeat; Protocol extension package version: 1;
  • Heartbeat request event (This parameter type is Event):
  • Heartbeat request event ID hrtbtreq (0x0001)
  • Heartbeat result event identifier hrtbtrlt (0x0001) This parameter is mainly used to obtain the result of detecting the validity of the heartbeat packet sent by the media gateway by the media gateway controller.
  • enum is an enumerated type, which is a data structure that defines the various possible outcomes of the resulting event.
  • This value is the detection result given by the media gateway controller based on the legality detection of the heartbeat packet. Then, the determined detection result is sent to the media gateway. As follows, the detection results returned by the media gateway controller to the media gateway include:
  • 0x01 Failed-InvalidMGW, indicating that the current media gateway is an illegal media gateway
  • 0x02 Failed-OtherReason, indicating that the current media gateway rejected the heartbeat request event for other reasons.
  • the authentication process based on the add-on protocol extension package that is, by checking whether the IP address in the protocol extension package matches the data configured on the softswitch, the necessary steps used are (general example of communication between MGC and MG):
  • step 1
  • the MG initiates a heartbeat packet request message to the MGC:
  • the MG sends a Notify command requesting an event to the MGC, allocates a transaction identifier 100 and an event request identifier 300 for this, requests the MGC to perform a legality check and returns a heartbeat result event (HeartBeat / hrtbtrit).
  • the MG starts a timer T1.
  • the timer may be, for example, a software timer, which may be directly called by software through an interface function of an operating system (such as VxWORKS, etc.).
  • the period of the timer can be configured by the maintenance station, for example.
  • step 1 The operation of step 1 can be programmed as follows:
  • the protocol used is "MEGACO", and the version number of the protocol is "1".
  • Softswitch IP address 123.123.123.4; port number: 55555.
  • the transaction ID is "100”.
  • the ID of the request event is "300", which represents the ID of the event "HeartBeat / hrtbtreq”.
  • the Notify command sets the identity endpoint ID to "root", which represents the entire gateway.
  • the MGC When the MGC receives the Notify command sent by the MG, it starts to verify the validity of the gateway. That is, it checks whether the IP address in the heartbeat packet matches the data configured on the softswitch. After the validity verification is completed, the MGC returns a corresponding response result to the MG, and the response result is sent back to the MG by using the Notify command of the response type.
  • the event parameter In the Notify command of this response type, the event parameter is the gateway legality authentication result.
  • the transaction ID 100 in the Notify command of the response type is consistent with the Notify transaction ID sent by M0, and the event ID 300 is also consistent with the event ID of the request message.
  • step 2 can be programmed as follows: MEGACO / 1 [125.125.125.111 ⁇ : 55555
  • Step 3 represents the response message, whose transaction ID is "100”, which is the same as the transaction ID in the request message; the event ID is "300”, which represents the "heartbeat result event HeartBeat / hrtbtrlt”, and It is the same as the event ID in the heartbeat request message.
  • the MG After receiving the heartbeat response, the MG checks the returned heartbeat response result. If the response is successful, for example, the value of the heartbeat result event is "0x00", which indicates that the gateway authentication is successful, and the status of the media gateway controller is normal. In this case, Reset the timer. If it is a failure response, for example, the value of the heartbeat result event is "0x01", or the value of the heartbeat result event is "0X02", the background maintenance personnel should be notified to solve the problem. At the same time, the current gateway is notified to register with the standby gateway.
  • the above steps can be repeated periodically by setting a timer to achieve the real-time detection of the MGC status by the MG.
  • the timer interval setting can be manually configured.
  • the timer is set with reference to network traffic in a manner that does not increase too much traffic load as much as possible.
  • step 1 The operation of step 1 can be programmed as follows:
  • the protocol used is "MEGACO", and the version number of the protocol is "1".
  • Softswitch IP address 123.123.123.4; port number: 55555.
  • the transaction ID is "100”.
  • the ID of the request event is "300", which represents the ID of the event "HeartBeat / hrtbtreq”.
  • the Notify command sets the identity endpoint ID to "root”, which represents the entire gateway.
  • Step 2 The timer expires and the MG does not receive a response from the Notify message. Retransmit the message from step 1, reset the timer at the same time, and increment the retransmission counter.
  • Step 3 Repeat Step 2 to check the retransmission counter.
  • the media gateway actively sends a message to the media gateway controller, such as a heartbeat packet message. Therefore, after the media gateway controller fails, the status of the media gateway controller can be known in time, and it can be timely sent to the standby gateway. registered.
  • This feature can well support the dual-homing function of the network in the event of a disaster.
  • the dual-homing function is a network self-healing design concept and is designed to provide protection to a certain network node after a failure.
  • the so-called “attribution” refers to the superior office to which an end office belongs.
  • “Dual-homing” refers to assigning two superior offices to an end office, so this office has two entrances to other offices, and its business requirements are also divided into two. Generally, the traffic in the office is divided into two. When one office fails, 50% of the traffic in the other office is still not affected. Although the dual-homing structure itself does not have recovery capabilities, after it is used with digital cross-connect equipment, if the office-to-backup optical fiber line has sufficient capacity, it can generally recover more than 50% of traffic through the backup superior office. Thereby, the media gateway and the user terminal are connected to two softswitches at the same time, such as softswitch1 and softswitch2.
  • Softswitch When one of the softswitches, such as Softswitch1, fails, the user terminal and the media gateway can obtain the information and register with the standby softswitch, such as Softswitch2, so as to minimize the impact on the result.
  • the standby softswitch such as Softswitch2

Abstract

The invention relates to a method of detecting the status of a media gateway controller by a media gateway in the network of separating bearea and control. By increasing one protocol extending packet in the interface protocol used for communication between media gateway and media gateway controller, the said method comprises following steps: a) transmitting said protocol extending packet from a media gateway to a media gateway controller; b) receiving said protocol extending packet by the media gateway controller, and performing authentication of said media gateway according to the parameter in the protocol extending packet; c) according to the results of authentication to the media gateway by the media gateway controller, the said media gateway detects the link status of the media gateway controller; and d)repeating the above steps periodically. According to the invention, a media gateway can detect the status of a media gateway controller in real time. Once the media gateway controller has fault, the media gateway logs in a spare media gateway controller. This character can support well network double attribution function used to deal with the fault.

Description

由媒体网关裣测  Speculated by Media Gateway
媒体网关控制器状态的方法 技术领域  METHOD OF STATUS OF MEDIA GATEWAY CONTROLLER TECHNICAL FIELD
本发明一般涉及通信技术领域, 更具体地涉及一种在下一代 网络中由媒体网关检测媒体网关控制器状态的方法。 背景技术  The present invention generally relates to the field of communication technology, and more particularly, to a method for detecting a state of a media gateway controller by a media gateway in a next generation network. Background technique
在传统交换网络中, 给用户终端提供的功能或业务都直接与 交换机有关。 例如, 在图 1示出的传统交换机的内部组网的示意图 中, 控制信令(以虛线示出)和话音 /数据承载(以实线示出)是 集中在传统交换机 1中的。 传统交换机 1构成了传统交换网络的交 换核心。 从图中可以看出, 对于各个用户终端 2, 传统的 "呼叫 与控制 "功能是和业务结合在一起的, 不同的业务需求的呼叫控 制功能不同。 这种传统交换机不能实现控制与话音 /数据承载的分 离。  In traditional switching networks, the functions or services provided to user terminals are directly related to the switch. For example, in the schematic diagram of the internal networking of the traditional switch shown in FIG. 1, the control signaling (shown in dotted lines) and voice / data bearer (shown in solid lines) are concentrated in the traditional switch 1. The traditional switch 1 constitutes the switching core of the traditional switching network. It can be seen from the figure that, for each user terminal 2, the traditional "call and control" function is integrated with the service, and the call control function for different service requirements is different. This traditional switch cannot separate control from voice / data bearer.
随着网络技术的演进, 特别是 IP技术和以 IP网络为代表的宽 带网络的发展, 出现了下一代网络(NGN )的概念。 NGN是一种 综合、 开放的网络构架, 可以提供语音、 数据和多媒体等多种业 务。 NGN可在统一的分組网络上融合通信、 信息、 电子商务和交 易等业务, 满足多样化、 个性化的业务需求, 在继承的基础上实 现与各种业务网络(PSTN/ISDN, PLMN, IN, Internet )之间 的互通, 在全网内快速提供新的语音、 数据、 视频业务等融合业 务。  With the evolution of network technologies, especially the development of IP technologies and broadband networks represented by IP networks, the concept of next-generation networks (NGN) has emerged. NGN is a comprehensive, open network architecture that can provide multiple services such as voice, data, and multimedia. NGN can integrate communications, information, e-commerce, and transaction services on a unified packet network to meet diverse and personalized business needs, and to achieve integration with various business networks (PSTN / ISDN, PLMN, IN, Internet) to quickly provide new integrated services such as voice, data, and video services in the entire network.
NGN采用软交换技术, 软交换是一种功能实体, 为 NGN提供 具有实时性的业务呼叫控制和连接控制功能, 是下一代网絡呼叫 与控制的核心。 筒单看, 软交换将传统交换机的功能模块分离为 独立网络部件, 各部件按相应功能进行划分, 采用业务与呼叫控 制分离、 呼叫控制与承载分离技术, 实现开放式网络结构, 使业 务独立于网络。 NGN在网络架构方面主要是将传统交换机中, 信 令控制部分和话音 /数据承载部分进行了分离, 中间使用标准的媒 体网关控制协议, 例如 H.248/Megaco进行交互。 NGN uses softswitch technology. Softswitch is a functional entity that provides real-time service call control and connection control functions for NGN. It is the core of next-generation network call and control. In a nutshell, softswitches separate the functional modules of traditional switches into Independent network components, each component is divided according to the corresponding function, using business and call control separation, call control and bearer separation technology, to achieve an open network structure, making services independent of the network. In terms of network architecture, NGN mainly separates the signaling control part and the voice / data bearer part of the traditional switch, and uses a standard media gateway control protocol such as H.248 / Megaco for interaction.
如图 2所示, 图 2示出了 NGN内部组网的示意图。 用户终端 2 (如 IP电话, SoftPhone ) , 通过网络 3 (—般是 IP网络)连接到 不同的地方, 控制信令(以虚线示出)连接到软交换 4 (或称媒体 网关控制器)。 语音 /数据承载(以实线示出)连接到媒体网关 1。 软交换是 NGN的控制核心, 负责处理所管辖的所有呼叫处理, 控 制媒体网关资源。 媒体网关将一种网络中的媒体转换成另一种网 络所要求的媒体格式。 例如, 根据软交换发送来的媒体网关控制 信令, 进行语音 /数据承载的交换。  As shown in FIG. 2, FIG. 2 shows a schematic diagram of NGN internal networking. User terminal 2 (such as an IP phone and SoftPhone) is connected to different places through network 3 (usually an IP network), and control signaling (shown in dashed lines) is connected to soft switch 4 (also called a media gateway controller). The voice / data bearer (shown as a solid line) is connected to the media gateway 1. Softswitch is the control core of NGN. It is responsible for all call processing under its jurisdiction and controls media gateway resources. The media gateway converts the media in one network into the media format required by another network. For example, the voice / data bearer is exchanged according to the media gateway control signaling sent by the softswitch.
NGN的基本结构一般分为: 业务层、 控制层、 传输层和接入 层。 其中, 控制层主要完成接继控制、 资源管理等功能, 其核心 是软交换(Softswitch ) , 也称媒体网关控制器(MGC ) 。 媒体 网关控制器对媒体网关(MG )进行承载控制、 资源控制及管理。 媒体网关控制器与媒体网关之间的接口使用例如媒体网关控制协 议( MGCP )或 H.248/Megaco协议。 MGCP协议是 IETF (互联网 工程任务组)较早定义的媒体网关控制协议。 H.248/Megaco协议 是 IETF, ITU-T制定的媒体网关控制协议, 用于媒体网关控制器 和媒体网关之间的通信。 并且, H.248/Megaco协议配合其它协议 可完成各种 NGN业务。  The basic structure of NGN is generally divided into: service layer, control layer, transmission layer and access layer. Among them, the control layer mainly completes functions such as succession control and resource management, and its core is a softswitch, also called a media gateway controller (MGC). The media gateway controller performs bearer control, resource control, and management on the media gateway (MG). The interface between the media gateway controller and the media gateway uses, for example, the Media Gateway Control Protocol (MGCP) or the H.248 / Megaco protocol. The MGCP protocol is an earlier media gateway control protocol defined by the IETF (Internet Engineering Task Force). The H.248 / Megaco protocol is a media gateway control protocol developed by the IETF, ITU-T, and is used for communication between the media gateway controller and the media gateway. In addition, the H.248 / Megaco protocol cooperates with other protocols to complete various NGN services.
在 H.248/Megaco协议中的每条消息中包含一个或多个事务处 理, 由 "请求 "和 "响应"构成一个事务(Transaction ) , 每 个事务处理包含一个或多个上下文(context ) , 每个上下文包含 一个或多个命令。 上下文定义了一些终端之间的联系, 上下文是 描述终端之间的拓朴关系和媒体混合 /交换的参数, 可通过例如Each message in the H.248 / Megaco protocol contains one or more transactions. A "Transaction" is constituted by "request" and "response". Each transaction contains one or more contexts. Each context contains one or more commands. The context defines the connection between some terminals. The context is Parameters describing the topology and media mixing / exchange between the terminals can be made, for example, by
Add命令进行创建, 也可通过 Subtract命令、 Move命令进行删除。 在 H.248/Megaco中包含若干条命令, 例如 Add、 Subtract, Move、 Modify, Audit Value, Audit Capability, Notify, Service Change 命令, 各种命令通过其携带的参数实现各种业务。 H.248/Megaco 协议下的命令独立于底层传输协议。 Add command to create, or delete by Subtract command, Move command. H.248 / Megaco contains several commands, such as Add, Subtract, Move, Modify, Audit Value, Audit Capability, Notify, Service Change commands. Various commands implement various services through the parameters they carry. Commands under the H.248 / Megaco protocol are independent of the underlying transport protocol.
在下一代网络(NGN ) 中, 存在很多基于媒体网关控制协议 H.248/Megaco协议的媒体网关(MG ) , 这些网关分布在企业或 用户家中,具有面广、量大、基于动态 IP的特点。但在目前的 NGN 网络中, 由于 H.248/Megaco协议在固定网络中主要在用户数据报 协议上进行传输(UDP ) , 该 UDP协议没有传输层的链路检测功 能, 而 H.248/Megaco协议也没有定义能否由媒体网关主动发起消 息来检测到软交换的链路状态, 使得在媒体网关控制器出现故障 重启后, 在用户没有主动呼叫的情况下, 媒体网关无法及时知道 媒体网关控制器的状态, 相关的用户作为被叫将受到影响。 例如, 在这种情况下, 将导致其他人无法给受到影响的用户打电话。 发明内容  In the next generation network (NGN), there are many media gateways (MG) based on the media gateway control protocol H.248 / Megaco protocol. These gateways are distributed in the homes of enterprises or users. They have the characteristics of wide area, large volume, and dynamic IP. . However, in the current NGN network, because the H.248 / Megaco protocol is mainly used for transmission over the user datagram protocol (UDP) in the fixed network, the UDP protocol does not have the link detection function of the transport layer, and H.248 / Megaco The protocol also does not define whether the media gateway can initiate a message to detect the link state of the softswitch, so that after the media gateway controller fails and restarts, the media gateway cannot know the media gateway control in time without the user actively calling The status of the device, the relevant user as the called party will be affected. In this case, for example, it will prevent others from calling the affected user. Summary of the invention
本发明的一个目的是为了解决因媒体网关控制器与媒体网关 之间进行通信的协议与底层传输协议无关而使媒体网关无法检测 到媒体网关控制器的链路状态这一现有技术中存在的缺陷。  An object of the present invention is to solve the existing problems in the prior art that the media gateway cannot detect the link state of the media gateway controller because the protocol for communication between the media gateway controller and the media gateway has nothing to do with the underlying transmission protocol. defect.
本发明的另一个目的是提出了在基于 H.248/Megaco协议的媒 体网关中增加了对媒体网关控制器的检测功能。  Another object of the present invention is to add a detection function of a media gateway controller to a media gateway based on the H.248 / Megaco protocol.
为了实现上述目的, 根据本发明提出了一种由媒体网关检测 媒体网关控制器状态的方法, 其特征在于, 在媒体网关与媒体网 关控制器之间进行通信的接口协议中增加一个协议扩展包, 所述 方法包括以下步骤: a ) 由媒体网关向媒体网关控制器发送所迷协议扩展包; b )媒体网关控制器接收所述协议扩展包, 根据协议扩展包中 携带的参数, 完成对所述媒体网关的认证; In order to achieve the above object, according to the present invention, a method for detecting a state of a media gateway controller by a media gateway is provided, which is characterized in that a protocol extension package is added to an interface protocol for communication between the media gateway and the media gateway controller, The method includes the following steps: a) the media gateway sends the protocol extension package to the media gateway controller; b) the media gateway controller receives the protocol extension package and completes the authentication of the media gateway according to the parameters carried in the protocol extension package;
c )根据媒体网关控制器对所迷媒体网关的认证结果, 所述媒 体网关确定媒体网关控制器的链路状态; 以及  c) determining the link state of the media gateway controller according to the authentication result of the media gateway controller by the media gateway controller; and
d ) 定期重复以上步骤。  d) Repeat the above steps regularly.
优选地, 媒体网关控制器对媒体网关进行认证的步骤包括: 检查媒体网关所发送的协议扩展包中的 IP地址与配置在所述媒体 网关控制器中的数据是否一致。  Preferably, the step of authenticating the media gateway by the media gateway controller includes: checking whether the IP address in the protocol extension packet sent by the media gateway is consistent with the data configured in the media gateway controller.
优选地, 所迷协议扩展包中包括请求事件和结果事件, 其中 结果事件进一步包括媒体网关控制器对媒体网关合法性检测的结 果。  Preferably, the protocol extension package includes a request event and a result event, wherein the result event further includes a result of the media gateway controller's legality detection of the media gateway.
优选地, 通过 H.248/Megaco协议中的 Notify命令携带所述协 议扩展包中的参数,完成媒体网关对媒体网关控制器状态的检测。  Preferably, the Notify command in the H.248 / Megaco protocol carries the parameters in the protocol extension package to complete the detection of the status of the media gateway controller by the media gateway.
优选地, 所述媒体网关控制器与所述媒体网关通过 Preferably, the media gateway controller communicates with the media gateway through
H.248/Megaco协议, 或通过 MGCP协议进行通信。 H.248 / Megaco protocol, or communication through MGCP protocol.
优选地, 所迷方法还包括在媒体网关向媒体网关控制器发送 协议扩展包的同时, 或延迟一段时间间隔后, 启动一定时器。  Preferably, the method further includes starting a timer while the media gateway sends a protocol extension packet to the media gateway controller, or after a delay interval.
优选地, 在检测到媒体网关控制器的成功响应后, 复位定时 器。  Preferably, the timer is reset after detecting a successful response from the media gateway controller.
优选地, 在检测到媒体网关控制器失败的响应后, 发送报警 消息并向备用网关注册。  Preferably, after a failure response of the media gateway controller is detected, an alarm message is sent and registered with the standby gateway.
优选地, 在检测到媒体网关控制器失败响应超过一预定次数 后, 或定时器时间设置超过一预定时间期限后, 发送报警消息并 向备用网关注册。  Preferably, after detecting that the media gateway controller fails to respond more than a predetermined number of times, or after the timer time is set to exceed a predetermined time period, sending an alarm message and registering with the standby gateway.
根据本发明提出的方法, 可以让媒体网关主动检测媒体到网 关控制器的连接通信状态。 当媒体网关控制器发生故障时, 及时 向备用媒体网关控制器注册, 该特性可以很好地支持应付灾难发 生时的网絡 归属功能。 当媒体网关控制器发生灾难后, 通过本 发明的方法, 媒体网关可以立即得知当前媒体网关控制器发生了 故障的信息, 并立即向备用的媒体网关控制器注册, 从而把因此 所造成的影响減少到最低。 附图说明 According to the method provided by the present invention, the media gateway can actively detect the connection and communication status of the media to the gateway controller. When the media gateway controller fails, Registering with the backup media gateway controller, this feature can well support the network home function in the event of a disaster. When a disaster occurs in the media gateway controller, through the method of the present invention, the media gateway can immediately learn the information that the current media gateway controller has failed, and immediately register the information with the backup media gateway controller, thereby registering the impact caused thereby. Reduced to a minimum. BRIEF DESCRIPTION OF THE DRAWINGS
以下通过参考附图, 对本发明的具体实施方式进行描述, 其 中:  The following describes specific embodiments of the present invention by referring to the drawings, in which:
图 1示出了传统交换机内部組网示意图;  Figure 1 shows a schematic diagram of the internal networking of a traditional switch;
图 2示出了 NGN的内部组网示意图;  Figure 2 shows a schematic diagram of the internal networking of the NGN;
图 3示出了根据本发明的由媒体网关检测媒体网关控制器状 态的方法的流程图。 具体实施方式  FIG. 3 shows a flowchart of a method for detecting the status of a media gateway controller by a media gateway according to the present invention. detailed description
以下结合附图对本发明优选实施方式进行详细描述, 本领域 技术人员知道, 通过对本发明实施例的描迷, 可以对本发明做出 各种改进、 修改或替换, 而均不会脱离本发明的原理。  The following describes the preferred embodiments of the present invention in detail with reference to the accompanying drawings. Those skilled in the art know that by describing the embodiments of the present invention, various improvements, modifications, or replacements can be made to the present invention without departing from the principles of the present invention. .
参照附图 3, 附图 3示出了根据本发明的由媒体网关检测媒体 网关控制器状态的方法的流程图。 本发明的具体实施方式基于 H.248/Megaco协议进行描述, 但本发明并不局限于此。 本发明也 适用于其它的在媒体网关与媒体网关控制器之间使用与 H.248/Megaco协议类似的协议, 例如使用 MGCP协议的网络中。  Referring to FIG. 3, FIG. 3 shows a flowchart of a method for detecting a state of a media gateway controller by a media gateway according to the present invention. Specific embodiments of the present invention are described based on the H.248 / Megaco protocol, but the present invention is not limited thereto. The present invention is also applicable to other networks using a protocol similar to the H.248 / Megaco protocol between the media gateway and the media gateway controller, for example, in a network using the MGCP protocol.
如前所述, 在 H.248/Megaco协议中, 每条消息中包含一个或 多个事务处理, 每个事务处理包含一个或多个上下文(context ) , 每个上下文包含一个或多个命令。 由 "请求 "和 "响应 "构成 一个事务。 由上下文定义终端之间的联系。 根据本发明, 为实现 媒体网关对媒体网关控制器状态的检测, 本发明的基本思想是: 在媒体网关控制器与媒体网关之间通信的接口协议中, 增加定义 一个新的协议扩展包, 例如在使用 H.248/ egaco协议作为接口协 议的情况下, 新定义一个 H.248/Megaco协议扩展包, 在本文中称 为 H.248协议心跳包 HeartBeat , 通过 H.248/Megaco协议中的 Notify命令携带所迷协议扩展包 HeartBeat中的各个参数, 以及对 所述参数进行认证, 来实现媒体网关对媒体网关控制器状态的检 测。 As mentioned earlier, in the H.248 / Megaco protocol, each message includes one or more transactions, each transaction includes one or more contexts, and each context includes one or more commands. A "request" and "response" constitute a transaction. The connection between terminals is defined by the context. According to the present invention, The media gateway detects the status of the media gateway controller. The basic idea of the present invention is: In the interface protocol for communication between the media gateway controller and the media gateway, a new protocol extension package is defined, for example, when using H.248 / In the case of the egaco protocol as an interface protocol, a H.248 / Megaco protocol extension package is newly defined, which is referred to as the H.248 protocol heartbeat packet HeartBeat in this article. The Notify command in the H.248 / Megaco protocol is used to carry the extended protocol extension. Each parameter in the HeartBeat is included, and the parameters are authenticated to implement the detection of the state of the media gateway controller by the media gateway.
以下, 通过具体实施例更详细地描述根据本发明的由媒体网 关检测媒体网关控制器状态的方法。 所述实施例是基于 H.248/Megaco协议进行描述的, 为此在 H.248/Megaco协议下的 Notify命令中添加被定义为 H.248/Megaco协议心跳包 HeartBeat 的参数。此处定义的 H.248/Megaco协议心跳包是请求 -响应类型的 协议扩展包, 是心跳请求事件和心跳结果事件的集合, 心跳包中 所定义的内容, 作为 Notify 命令的参数, 通过所述参数, 完成由 媒体网关检测媒体网关控制器状态的功能。  Hereinafter, the method for detecting the state of the media gateway controller by the media gateway according to the present invention is described in more detail through specific embodiments. The embodiment is described based on the H.248 / Megaco protocol. To this end, a parameter defined as the H.248 / Megaco protocol heartbeat packet HeartBeat is added to the Notify command under the H.248 / Megaco protocol. The H.248 / Megaco protocol heartbeat packet defined here is a request-response type protocol extension packet, which is a collection of heartbeat request events and heartbeat result events. The content defined in the heartbeat packet is used as a parameter of the Notify command. Parameter to complete the function of detecting the status of the media gateway controller by the media gateway.
下面举例说明上述过程。  The following illustrates the above process.
假设媒体网关和媒体网关控制器的配置为:  Assume that the configuration of the media gateway and media gateway controller is:
1. 媒体网关的 IP地址、 端口号: [123.123.123.4]:55555  1. The IP address and port number of the media gateway: [123.123.123.4]: 55555
2.媒体网关控制器的 IP地址、端口号: [125.125.125.111]:55555 基于 H.248/Megaco协议的实现本发明的 H.248/Megaco协议 心跳包 HeartBeat可如下定义:  2. IP address and port number of the media gateway controller: [125.125.125.111]: 55555 Implementation based on H.248 / Megaco protocol H.248 / Megaco protocol of the present invention Heartbeat packet HeartBeat can be defined as follows:
协议扩展包名称: HeartBeat; 协议扩展包版本: 1;  Protocol extension package name: HeartBeat; Protocol extension package version: 1;
协议扩展包中包含的事件:  Events included in the protocol extension package:
1: 心跳请求事件 (该参数类型是 Event):  1: Heartbeat request event (This parameter type is Event):
心跳请求事件标识: hrtbtreq ( 0x0001 )  Heartbeat request event ID: hrtbtreq (0x0001)
参数: 无 心跳结果事件 (该参数类型是 ObservedEvents): Parameters: None Heartbeat result events (this parameter type is ObservedEvents):
心跳结果事件标识: hrtbtrlt ( 0x0001 )该参数主要是为了 获取媒体网关控制器对媒体网关发出的心跳包的合法性的检测 结果。  Heartbeat result event identifier: hrtbtrlt (0x0001) This parameter is mainly used to obtain the result of detecting the validity of the heartbeat packet sent by the media gateway by the media gateway controller.
类型: enum为枚举类型, 是一种数据结构, 定义了结果 事件出现的各种可能结果。  Type: enum is an enumerated type, which is a data structure that defines the various possible outcomes of the resulting event.
心跳结果事件的取值: 该取值是媒体网关控制器根据对心 跳包的合法性检测, 给出的检测结果。 之后, 所确定的检测结 果发送给媒体网关。 如下, 媒体网关控制器返回给媒体网关的 检测结果包括:  Value of the heartbeat result event: This value is the detection result given by the media gateway controller based on the legality detection of the heartbeat packet. Then, the determined detection result is sent to the media gateway. As follows, the detection results returned by the media gateway controller to the media gateway include:
0x00: Successful (成功), 表示媒体网关控制器对媒体网关 的认证成功;  0x00: Successful, indicating that the media gateway controller successfully authenticated the media gateway;
0x01: Failed - InvalidMGW (非法 MG), 表示当前媒体网 关是非法媒体网关;  0x01: Failed-InvalidMGW, indicating that the current media gateway is an illegal media gateway;
0x02: Failed - OtherReason (失败 -其它原因), 表示当 前媒体网关因其它原因拒绝心跳请求事件。 基于上迷协议扩展包的认证过程, 即通过检查协议扩展包中 的 IP地址与配置在软交换上的数据是否符合, 所采用的必要步骤 为 (MGC与 MG进行通信的常规示例) :  0x02: Failed-OtherReason, indicating that the current media gateway rejected the heartbeat request event for other reasons. The authentication process based on the add-on protocol extension package, that is, by checking whether the IP address in the protocol extension package matches the data configured on the softswitch, the necessary steps used are (general example of communication between MGC and MG):
步骤 1:  step 1:
由 MG向 MGC发起心跳包的请求消息: MG发出请求事件的 Notify命令给 MGC, 为此分配事务标识 100和事件请求标识 300, 请 求 MGC进行合法 性检查 并返 回 心 跳 结 果 事 件 ( HeartBeat/hrtbtrit ) 。 发出心跳请求消息同时, 或延迟一时间 间隔后, MG启动一定时器 Tl。该定时器例如可为软件定时器, 直 接由软件通过搡作系统 (如 VxWORKS,等)的接口函数调用即可。 定时器的周期例如可以通过维护台配置。 The MG initiates a heartbeat packet request message to the MGC: The MG sends a Notify command requesting an event to the MGC, allocates a transaction identifier 100 and an event request identifier 300 for this, requests the MGC to perform a legality check and returns a heartbeat result event (HeartBeat / hrtbtrit). At the same time when the heartbeat request message is sent, or after a delay, the MG starts a timer T1. The timer may be, for example, a software timer, which may be directly called by software through an interface function of an operating system (such as VxWORKS, etc.). The period of the timer can be configured by the maintenance station, for example.
对步骤 1的操作, 可编程如下:  The operation of step 1 can be programmed as follows:
MEGACO/1 [123.123.123.4]:55555 MEGACO / 1 [123.123.123.4]: 55555
Transaction=100{  Transaction = 100 {
Context- - {  Context--{
Notify=root{  Notify = root {
Events=300{HeartBeat/hrtbtreq} Events = 300 {HeartBeat / hrtbtreq}
} }
}  }
}  }
其中,使用的协议为 " MEGACO ", 该协议的版本号为 " 1 "。 软交换的 IP地址: 123.123.123.4; 端口号 :55555。 事务处理的标识 ID 为 " 100 "。 请求事件的标识 ID 为 " 300 " , 代表事件 " HeartBeat/hrtbtreq "的标识。 Notify命令将标识端点 ID设置 为 " root" , 代表整个网关。 步骤 2:  Among them, the protocol used is "MEGACO", and the version number of the protocol is "1". Softswitch IP address: 123.123.123.4; port number: 55555. The transaction ID is "100". The ID of the request event is "300", which represents the ID of the event "HeartBeat / hrtbtreq". The Notify command sets the identity endpoint ID to "root", which represents the entire gateway. Step 2:
当 MGC接收到 MG发送的 Notify命令后., 开始进行网关合法 性认证, 即检查心跳包中的 IP地址与配置在软交换上的数据是否 符合。 合法性认证完成后, 由 MGC向 MG返回相应的响应结果, 该响应结果通过使用响应类型的 Notify命令发送回 MG。 在该响应 类型的 Notify命令中, 事件参数为网关合法性认证结果。 其中, 该 响应类型的 Notify命令中的事务标识 ID100与 M0发出的 Notify的 事务标识一致, 事件标识 ID300与请求消息的事件标识也是一致 的。  When the MGC receives the Notify command sent by the MG, it starts to verify the validity of the gateway. That is, it checks whether the IP address in the heartbeat packet matches the data configured on the softswitch. After the validity verification is completed, the MGC returns a corresponding response result to the MG, and the response result is sent back to the MG by using the Notify command of the response type. In the Notify command of this response type, the event parameter is the gateway legality authentication result. The transaction ID 100 in the Notify command of the response type is consistent with the Notify transaction ID sent by M0, and the event ID 300 is also consistent with the event ID of the request message.
对步骤 2的操作可编程如下: MEGACO/1 [125.125.125.111〗 : 55555 The operation of step 2 can be programmed as follows: MEGACO / 1 [125.125.125.111〗: 55555
Reply=100{  Reply = 100 {
Context=― {Notify=root{  Context = ― {Notify = root {
ObservedEvents=300 {HeartBeat/hrtbtrlt}  ObservedEvents = 300 {HeartBeat / hrtbtrlt}
}  }
}  }
}  }
其中, "Reply"代表响应消息, 其事务标识 ID为 " 100", 与请求消息中的事务标识 ID—致; 事件标识 ID为 " 300", 代表 " 心跳结果事件 HeartBeat/hrtbtrlt"的标识, 也与心跳请求消息 中的事件标识 ID—致。 步驟 3:  Among them, "Reply" represents the response message, whose transaction ID is "100", which is the same as the transaction ID in the request message; the event ID is "300", which represents the "heartbeat result event HeartBeat / hrtbtrlt", and It is the same as the event ID in the heartbeat request message. Step 3:
MG接收到心跳响应后,检查返回的心跳响应结果, 如果是成 功响应, 例如心跳结果事件的取值是 "0x00", 表示网关认证成 功, 媒体网关控制器的状态正常, 在这种情况下, 复位定时器。 如果是失败响应, 例如心跳结果事件的取值是 "0x01", 或心跳 结果事件的取值是 " 0X02", 则应该报警通知后台维护人员, 解决问题。 同时, 通知当前网关向备用网关注册。  After receiving the heartbeat response, the MG checks the returned heartbeat response result. If the response is successful, for example, the value of the heartbeat result event is "0x00", which indicates that the gateway authentication is successful, and the status of the media gateway controller is normal. In this case, Reset the timer. If it is a failure response, for example, the value of the heartbeat result event is "0x01", or the value of the heartbeat result event is "0X02", the background maintenance personnel should be notified to solve the problem. At the same time, the current gateway is notified to register with the standby gateway.
例如, 可通过设定定时器的方式, 周期地重复上述步骤, 以 实现 MG对 MGC状态的实时检测。 定时器的时间间隔设置, 可以 人工配置, 优选地, 参考网络业务量以尽可能不增加太大的流量 负荷的方式对定时器进行设定。 在 MGC与 MG通信不正常的情况下:  For example, the above steps can be repeated periodically by setting a timer to achieve the real-time detection of the MGC status by the MG. The timer interval setting can be manually configured. Preferably, the timer is set with reference to network traffic in a manner that does not increase too much traffic load as much as possible. In the case of abnormal communication between MGC and MG:
此时, MG的定时器会超时, 定时器超时后, MG重发 Notify消 息, 同时复位定时器. 当重发了 N次后, (N可以通过维护台配置), MG 认为 MGC链路状态不正常, 告警并向备用网关注册。 具体步 骤如下: 对步骤 1的操作, 可编程如下: At this time, the MG's timer will expire. After the timer expires, the MG resends the Notify message. And reset the timer at the same time. After resending N times (N can be configured through the maintenance station), the MG considers that the MGC link status is abnormal, and alerts and registers with the standby gateway. The specific steps are as follows: The operation of step 1 can be programmed as follows:
MEGACO/1 [123.123.123.4]:55555  MEGACO / 1 [123.123.123.4]: 55555
Transaction=100{  Transaction = 100 {
Context- - {  Context--{
Notify=root{  Notify = root {
Events=300{HeartBeat/hrtbtreq} Events = 300 {HeartBeat / hrtbtreq}
} }
}  }
}  }
其中,使用的协议为 " MEGACO ",该协议的版本号为 " 1 "。 软交换的 IP地址: 123.123.123.4; 端口号 :55555。 事务处理的标识 ID 为 " 100 "。 请求事件的标识 ID 为 " 300 ", 代表事件 " HeartBeat/hrtbtreq "的标识。 Notify命令将标识端点 ID设置 为 " root", 代表整个网关。  Among them, the protocol used is "MEGACO", and the version number of the protocol is "1". Softswitch IP address: 123.123.123.4; port number: 55555. The transaction ID is "100". The ID of the request event is "300", which represents the ID of the event "HeartBeat / hrtbtreq". The Notify command sets the identity endpoint ID to "root", which represents the entire gateway.
步骤 2:定时器超时, MG 没有收到 Notify消息的响应。 重发 步骤 1的消息, 同时复位定时器, 重发计数器加 1 。  Step 2: The timer expires and the MG does not receive a response from the Notify message. Retransmit the message from step 1, reset the timer at the same time, and increment the retransmission counter.
步骤 3 : 重复步骤 2, 检查重发计数器, 当重发计数器 >N时, 则告警, 向备用网关注册。 停止重发定时器。 根据本发明的方法, 由媒体网关主动向媒体网关控制器发送 —消息, 例如一个心跳包消息, 因此能够在媒体网关控制器出现 故障后, 及时知道媒体网关控制器的状态, 并及时向备用网关注 册。 该特性可以很好地支持应付灾难发生时的网络双归属功能。 双归属功能是一种网络自愈设计概念, 是为对某个网络节点发生 故障后提供保护而设计的。 所谓 "归属 "是指网络中某一端局归 属于哪一个上级局而言。 " 双归属"是给某个端局指派两个上级 局, 故该局有两个通往其它各局的入口, 其业务需求也被一分为 二。 一般局内的话务被一分为二, 当出现一个局发生故障, 仍可 保证另一局 50 %的话务不受影响。 双归属结构本身虽然没有恢复 能力, 但是同数字交叉连接设备配合使用后, 如果该局至备用的 光纤线路有足够的容量, 则通过备用上级局一般可以恢复 50 %以 上的话务。 由此, 将媒体网关和用户终端同时与两个软交换连接, 例如软交换 1和软交换 2。 当其中一个软交换, 例如软交换 1发生故 障时, 用户终端和媒体网关可以获取该信息, 并向备用软交换, 例如软交换 2, 进行注册, 从而把因此受到的影响减小到最低。 以上, 已经通过结合附图对本发明的具体实施方式进行了描 述。 应该理解, 本领域技术人员在形式和细节上可根据本发明的 原理进行各种修改, 而不脱离本发明随附权利要求书所限定的范 围。 Step 3: Repeat Step 2 to check the retransmission counter. When the retransmission counter is greater than N, an alarm is generated and registered with the standby gateway. Stop the retransmission timer. According to the method of the present invention, the media gateway actively sends a message to the media gateway controller, such as a heartbeat packet message. Therefore, after the media gateway controller fails, the status of the media gateway controller can be known in time, and it can be timely sent to the standby gateway. registered. This feature can well support the dual-homing function of the network in the event of a disaster. The dual-homing function is a network self-healing design concept and is designed to provide protection to a certain network node after a failure. The so-called "attribution" refers to the superior office to which an end office belongs. "Dual-homing" refers to assigning two superior offices to an end office, so this office has two entrances to other offices, and its business requirements are also divided into two. Generally, the traffic in the office is divided into two. When one office fails, 50% of the traffic in the other office is still not affected. Although the dual-homing structure itself does not have recovery capabilities, after it is used with digital cross-connect equipment, if the office-to-backup optical fiber line has sufficient capacity, it can generally recover more than 50% of traffic through the backup superior office. Thereby, the media gateway and the user terminal are connected to two softswitches at the same time, such as softswitch1 and softswitch2. When one of the softswitches, such as Softswitch1, fails, the user terminal and the media gateway can obtain the information and register with the standby softswitch, such as Softswitch2, so as to minimize the impact on the result. The specific embodiments of the present invention have been described above with reference to the accompanying drawings. It should be understood that those skilled in the art can make various modifications in form and detail according to the principles of the present invention without departing from the scope defined by the appended claims of the present invention.

Claims

Figure imgf000014_0001
Figure imgf000014_0001
1、 一种在承载与控制分离的网络中由媒体网关检测媒体网关 控制器状态的方法, 其特征在于, 在媒体网关与媒体网关控制器 之间进行通信的接口协议中增加一个协议扩展包, 所述方法包括 以下步骤: 1. A method for detecting the status of a media gateway controller by a media gateway in a network with separate bearing and control, characterized in that a protocol extension package is added to an interface protocol for communication between the media gateway and the media gateway controller, The method includes the following steps:
a ) 由媒体网关向媒体网关控制器发送所述协议扩展包; b )媒体网关控制器接收所述协议扩展包, 根据协议扩展包中 携带的参数, 完成对所述媒体网关的认证;  a) the media gateway sends the protocol extension package to the media gateway controller; b) the media gateway controller receives the protocol extension package and completes the authentication of the media gateway according to the parameters carried in the protocol extension package;
c )根据媒体网关控制器对所述媒体网关的认证结果, 所迷媒 体网关确定媒体网关控制器的链路状态; 以及  c) determining the link state of the media gateway controller according to the authentication result of the media gateway by the media gateway controller; and
d ) 定期重复以上步骤。  d) Repeat the above steps regularly.
1、 根据权利要求 1的方法, 其特征在于, 媒体网关控制器对 媒体网关进行认证的步骤包括: 检查媒体网关所发送的协议扩展 包中的 IP地址与配置在所迷媒体网关控制器中的数据是否一致。  1. The method according to claim 1, wherein the step of authenticating the media gateway by the media gateway controller comprises: checking the IP address in the protocol extension package sent by the media gateway and the IP address configured in the media gateway controller. Whether the data is consistent.
3、 根据权利要求 1的方法, 其特征在于, 所述协议扩展包中 包括请求事件和结果事件, 其中结果事件进一步包括媒体网关控 制器对媒体网关合法性检测的结果。  3. The method according to claim 1, wherein the protocol extension package includes a request event and a result event, wherein the result event further includes a result of the media gateway controller's validity check of the media gateway.
4、 根据权利要求 1的方法, 其特征在于, 进一步包括: 通过 H.248/Megaco协议中的 Notify命令携带所述协议扩展包中的参 数, 完成媒体网关对媒体网关控制器状态的检测。  4. The method according to claim 1, further comprising: using a Notify command in the H.248 / Megaco protocol to carry parameters in the protocol extension package to complete the detection of the status of the media gateway controller by the media gateway.
5、 根据权利要求 1的方法, 其特征在于, 所述媒体网关控制 器与所述媒体网关通过 H.248/Megaco协议进行通信。  5. The method according to claim 1, wherein the media gateway controller communicates with the media gateway through a H.248 / Megaco protocol.
6、 根据权利要求 1的方法, 其特征在于, 所述媒体网关控制 器与所述媒体网关通过 MGCP协议进行通信。  6. The method according to claim 1, wherein the media gateway controller communicates with the media gateway through an MGCP protocol.
7、 根据权利要求 1的方法, 其特征在于, 还包括在媒体网关 向媒体网关控制器发送协议扩展包的同时, 或延迟一段时间间隔 后, 启动一定时器。 7. The method according to claim 1, further comprising: while the media gateway sends a protocol extension packet to the media gateway controller, or delaying a time interval After that, a timer is started.
8、 根据权利要求 1的方法, 其特征在于, 还包括在检测到媒 体网关控制器的成功响应后, 复位定时器。  8. The method according to claim 1, further comprising resetting a timer after detecting a successful response of the media gateway controller.
9、 根据权利要求 1的方法, 其特征在于, 还包括在检测到媒 体网关控制器失败的响应后, 发送报警消息并向备用网关注册。  9. The method according to claim 1, further comprising, after detecting a failure response of the media gateway controller, sending an alarm message and registering with the standby gateway.
10、 根据权利要求 1或 9的方法, 其特征在于, 在检测到媒体 网关控制器失败响应超过一预定次数后, 或定时器时间设置超过 一预定时间期限后, 发送报警消息并向备用网关注册。  10. The method according to claim 1 or 9, characterized in that, after detecting that the media gateway controller fails to respond more than a predetermined number of times, or after the timer time is set to exceed a predetermined time period, sending an alarm message and registering with the standby gateway .
PCT/CN2003/000754 2003-09-05 2003-09-05 Method of detecting the status of a media gateway controller by a media gateway WO2005025143A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
AU2003261630A AU2003261630A1 (en) 2003-09-05 2003-09-05 Method of detecting the status of a media gateway controller by a media gateway
CNB03826949XA CN100394744C (en) 2003-09-05 2003-09-05 Method for inspecting medium gateway controller state by medium gateway
PCT/CN2003/000754 WO2005025143A1 (en) 2003-09-05 2003-09-05 Method of detecting the status of a media gateway controller by a media gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2003/000754 WO2005025143A1 (en) 2003-09-05 2003-09-05 Method of detecting the status of a media gateway controller by a media gateway

Publications (1)

Publication Number Publication Date
WO2005025143A1 true WO2005025143A1 (en) 2005-03-17

Family

ID=34230867

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2003/000754 WO2005025143A1 (en) 2003-09-05 2003-09-05 Method of detecting the status of a media gateway controller by a media gateway

Country Status (3)

Country Link
CN (1) CN100394744C (en)
AU (1) AU2003261630A1 (en)
WO (1) WO2005025143A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100459738C (en) * 2005-06-21 2009-02-04 华为技术有限公司 Realization method for controlling and bearing dual homing in separate network
WO2009121273A1 (en) * 2008-04-01 2009-10-08 华为技术有限公司 An application method, equipment and system for the relation of the base and extension of the packages
US8571546B2 (en) 2004-08-29 2013-10-29 Huawei Technologies Co., Ltd. Method for implementing dual-homing

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120083917A (en) * 2009-11-23 2012-07-26 알까뗄 루슨트 A system and method for hand-off maintenance
CN102577483A (en) * 2011-12-23 2012-07-11 华为技术有限公司 Method, device and system for service realization when failures occur in media gateway controller

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001015487A1 (en) * 1999-08-23 2001-03-01 Nortel Networks Limited Method and apparatus for associating an end-to-end call identifier with a connection in a multimedia packet network
EP1109368A2 (en) * 1999-12-15 2001-06-20 Nortel Networks Corporation System, method and computer program product for support of bearer path services in a distributed control network
JP2002271399A (en) * 2001-03-09 2002-09-20 Nec Corp Telephone system and method for monitoring telephone connection
JP2002325101A (en) * 2001-04-26 2002-11-08 Hitachi Ltd Packet communication network and its fault detection method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001015487A1 (en) * 1999-08-23 2001-03-01 Nortel Networks Limited Method and apparatus for associating an end-to-end call identifier with a connection in a multimedia packet network
EP1109368A2 (en) * 1999-12-15 2001-06-20 Nortel Networks Corporation System, method and computer program product for support of bearer path services in a distributed control network
JP2002271399A (en) * 2001-03-09 2002-09-20 Nec Corp Telephone system and method for monitoring telephone connection
JP2002325101A (en) * 2001-04-26 2002-11-08 Hitachi Ltd Packet communication network and its fault detection method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8571546B2 (en) 2004-08-29 2013-10-29 Huawei Technologies Co., Ltd. Method for implementing dual-homing
CN100459738C (en) * 2005-06-21 2009-02-04 华为技术有限公司 Realization method for controlling and bearing dual homing in separate network
WO2009121273A1 (en) * 2008-04-01 2009-10-08 华为技术有限公司 An application method, equipment and system for the relation of the base and extension of the packages
US8750318B2 (en) 2008-04-01 2014-06-10 Huawei Technologies Co., Ltd. Method, apparatus and system for applying relations between package base and extension

Also Published As

Publication number Publication date
CN1820466A (en) 2006-08-16
CN100394744C (en) 2008-06-11
AU2003261630A1 (en) 2005-03-29

Similar Documents

Publication Publication Date Title
RU2287911C2 (en) Method for registration of client in mobile communication system
Andreasen et al. Media gateway control protocol (MGCP) version 1.0
RU2386219C2 (en) Method for processing of denials in services rendering
US7894410B2 (en) Method and system for implementing backup based on session border controllers
JP4001813B2 (en) Monitoring connections to user terminals in telecommunications systems
JP3753316B2 (en) How to generate call detail records
WO2004032421A1 (en) A method for adding devices to management system
WO2007003094A1 (en) Method and system for realizing conventional terminal access to ims domain
JP2007504758A (en) Telecommunications network system and communication service method using session initiation protocol
CN101416468A (en) Network-initiated IMS registration in a communication system
WO2009070999A1 (en) Method and device for adjusting the relaying state
RU2513760C2 (en) Method and system for accessing ims domain for traditional fixed network users
US7257111B2 (en) Method and system of managing a call in a telecommunication system
WO2008025257A1 (en) An intercommunication method and a communication system between different networks
US20050180396A1 (en) Managing routing path of voice over internet protocol (VoIP) system
US7539178B2 (en) Connection of users in hybrid communication networks
WO2005025143A1 (en) Method of detecting the status of a media gateway controller by a media gateway
WO2008049346A1 (en) Method, system and device for registering device
JP2001516531A (en) Registration protocol
Cisco Commands: debug ppp bap through debug sdllc
Cisco Cisco BTS 10200 Softswitch Release Notes for Release 3.1V6
JP2001517385A (en) Incoming call routing
Loughney et al. Signalling connection control part user adaptation layer (SUA)
Cisco FastPAD Events
WO2009071021A1 (en) Method, system, mscg and server for limiting voip terminal roaming

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 03826949.X

Country of ref document: CN

AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
122 Ep: pct application non-entry in european phase
NENP Non-entry into the national phase

Ref country code: JP