[go: up one dir, main page]

CN1870702B - Method and system for controlling hairpin connection - Google Patents

Method and system for controlling hairpin connection Download PDF

Info

Publication number
CN1870702B
CN1870702B CN2005101183119A CN200510118311A CN1870702B CN 1870702 B CN1870702 B CN 1870702B CN 2005101183119 A CN2005101183119 A CN 2005101183119A CN 200510118311 A CN200510118311 A CN 200510118311A CN 1870702 B CN1870702 B CN 1870702B
Authority
CN
China
Prior art keywords
hair clip
mgc
control
parameter
current
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
CN2005101183119A
Other languages
Chinese (zh)
Other versions
CN1870702A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2005101183119A priority Critical patent/CN1870702B/en
Publication of CN1870702A publication Critical patent/CN1870702A/en
Application granted granted Critical
Publication of CN1870702B publication Critical patent/CN1870702B/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Pharmaceuticals Containing Other Organic And Inorganic Compounds (AREA)

Abstract

This invention discloses a method for controlling barrette connections including: A, a MGC obtains the current supporting ability of said MG to the barrette connection from the parameter showing the supporting ability of the MG to the connection of barrettes at the present, B, the MGC decides the control mode based on the supporting ability of the MG to the barrette connection and sends related control parameters. This invention also provides a system for controlling the barrette connection and a method for controlling it.

Description

控制发夹连接的方法及系统Method and system for controlling hairpin connection

技术领域technical field

本发明涉及通信领域,特别是涉及控制发夹连接的方法及系统。The invention relates to the communication field, in particular to a method and system for controlling hairpin connections.

背景技术Background technique

媒体网关控制器(MGC)和媒体网关(MG)是分组网络中的两个关键构件。MGC负责呼叫控制功能,MG负责业务承载功能,二者配合用以实现呼叫控制平面和业务承载平面的分离,从而充分共享网络资源,简化设备升级和业务扩展,大大降低开发和维护成本。Media Gateway Controller (MGC) and Media Gateway (MG) are two key components in a packet network. The MGC is responsible for the call control function, and the MG is responsible for the service bearer function. The two work together to realize the separation of the call control plane and the service bearer plane, so as to fully share network resources, simplify equipment upgrades and service expansion, and greatly reduce development and maintenance costs.

参见图1所示,媒体网关控制协议是MG与MGC之间通信的主要协议,目前应用较为广泛的有H.248/MeGaCo和MGCP两种协议。其中,MGCP协议版本1由互联网工程任务组(IETF)于1999年10月制订并于2003年1月修订,H.248/MeGaCo协议版本1由IETF和国际电信联盟(ITU)于2000年11月共同制订并于2003年6月修订,H.248协议版本2由ITU于2002年5月制订并于2004年3月修订,H.248协议版本3由ITU于2005年7月制订正待发布。As shown in Figure 1, the media gateway control protocol is the main protocol for communication between the MG and the MGC. Currently, two protocols, H.248/MeGaCo and MGCP, are widely used. Among them, the MGCP protocol version 1 was formulated by the Internet Engineering Task Force (IETF) in October 1999 and revised in January 2003, and the H.248/MeGaCo protocol version 1 was formulated by the IETF and the International Telecommunication Union (ITU) in November 2000. Jointly formulated and revised in June 2003, H.248 protocol version 2 was formulated by ITU in May 2002 and revised in March 2004, H.248 protocol version 3 was formulated by ITU in July 2005 and is yet to be released.

以H.248协议为例,MG上的各种资源被抽象表示为终端(Termination)。Taking the H.248 protocol as an example, various resources on the MG are abstractly expressed as Termination.

终端又分为物理(Physical)终端和临时(Ephemeral)终端,前者代表一些具有半永久存在性的物理实体,例如:时分复用(TDM)通道等,后者代表一些临时申请用后释放的公共资源,例如:实时传输协议(RTP)流等。终端之间的组合被抽象表示为上下文(Context)。上下文可以包含多个终端,因此以拓扑(Topology)来描述终端间的相互关系。对于还未与其它终端发生关联的终端,由一个称为空(Null)上下文的特殊上下文来包含。Terminals are further divided into Physical terminals and Ephemeral terminals. The former represents some physical entities with semi-permanent existence, such as time division multiplexing (TDM) channels, etc., and the latter represents some public resources released after temporary application. , such as: Real-time Transport Protocol (RTP) streaming, etc. The combination between terminals is abstractly represented as a context (Context). A context can contain multiple terminals, so topology (Topology) is used to describe the relationship between terminals. For terminals that have not yet been associated with other terminals, they are contained by a special context called a Null context.

基于协议的这种抽象模型,呼叫的接续实际上就是对终端和上下文的操 作。这种操作通过MGC和MG之间的命令(Command)请求和响应来完成。命令类型包括添加(Add)、修改(Modify)、删减(Subtract)、移动(Move)、审计值(AuditValue)、审计能力(AuditCapabilities)、通报(Notify)、服务改变(ServiceChange)。命令参数,也称为描述符(Descriptor),被分类为属性(Property)、信号(Signal)、事件(Event)、统计(Statistic)。具有业务相关性的参数逻辑上聚合成为包(Package)。Based on the abstract model of the protocol, the connection of the call is actually an operation on the terminal and the context. This operation is accomplished through command (Command) request and response between MGC and MG. Command types include Add, Modify, Subtract, Move, AuditValue, AuditCapabilities, Notify, and ServiceChange. Command parameters, also called descriptors (Descriptor), are classified into properties (Property), signals (Signal), events (Event), statistics (Statistic). Parameters with business relevance are logically aggregated into packages.

一个典型的IP语音呼叫模型是在一个上下文中包含两个终端,一个是代表TDM通道的物理终端,另一个是代表RTP流的临时终端,这两个终端在上下文中互连也就意味着在一个TDM通道与一个RTP流之间进行媒体转换。另外,在两个MG上各有一个这样的上下文,并且它们通过上述RTP流基于IP网互连,也即其媒体转换是TDM到RTP再到TDM的形式,于是在上述两个TDM通道之间也就建立起一个IP语音呼叫。A typical IP voice call model contains two terminals in a context, one is a physical terminal representing a TDM channel, and the other is a temporary terminal representing an RTP stream. Media conversion between a TDM channel and an RTP stream. In addition, there is one such context on each of the two MGs, and they are interconnected based on the IP network through the above RTP flow, that is, the media conversion is in the form of TDM to RTP and then to TDM, so between the above two TDM channels A voice-over-IP call is also established.

然而当上述两个TDM通道在同一个MG上时,如果MG可以将这两个TDM通道直接互连,那么实际上并不需要再通过RTP流来转发。反映到呼叫模型上就是在一个上下文中直接包含两个都代表TDM通道的物理终端,这两个终端在上下文中互连也就意味着TDM通道之间的互连。这样不仅能够减少媒体转换的资源消耗,而且能够提高媒体传输的服务质量。这种在一个MG上的终端(例如TDM通道)之间建立的呼叫,称为本地连接或发夹(Hairpin)连接。However, when the above two TDM channels are on the same MG, if the MG can directly interconnect the two TDM channels, it is actually not necessary to forward them through the RTP stream. Reflected on the call model, a context directly includes two physical terminals that both represent TDM channels, and the interconnection of these two terminals in the context means the interconnection between TDM channels. This can not only reduce the resource consumption of media conversion, but also improve the service quality of media transmission. Such a call established between terminals (such as a TDM channel) on one MG is called a local connection or a hairpin (Hairpin) connection.

在MG可以支持将TDM通道直接互连的前提之下,如果MGC可以判别涉及呼叫的双方在同一个MG上,那么MGC可以按照在一个上下文中包含两个物理终端的呼叫模型指示MG建立呼叫,称为受控方式的发夹连接;如果MGC无法判断,但MG可以判别涉及呼叫的双方在同一个MG上,那么MGC可以按照在两个上下文中各自都包含一个物理终端和一个临时终端的呼叫模型指示MG建立呼叫,而由MG自己直接互连这两个物理终端而不分配资源(例如:数字信号处理器DSP)做TDM与RTP之间的媒体转换,称为自治方式的 发夹连接。MGC与MG针对发夹连接的交互目前还缺乏区分这两种情况并采取相应措施的机制。On the premise that the MG can support the direct interconnection of TDM channels, if the MGC can determine that the two parties involved in the call are on the same MG, then the MGC can instruct the MG to establish a call according to the call model involving two physical terminals in one context, It is called a hairpin connection in a controlled mode; if the MGC cannot determine, but the MG can determine that the two parties involved in the call are on the same MG, then the MGC can follow a call that contains a physical terminal and a temporary terminal in each of the two contexts. The model instructs the MG to establish a call, and the MG directly interconnects the two physical terminals without allocating resources (for example: digital signal processor DSP) for media conversion between TDM and RTP, which is called an autonomous hairpin connection. The interaction between MGCs and MGs for hairpin junctions currently lacks a mechanism to distinguish between the two situations and act accordingly.

同时某些业务又可能需要避免MG建立发夹连接,例如:IP环回导通检测业务就要求避免发夹连接。当MG支持上述自治方式的发夹连接,但又需要避免建立发夹连接时,MGC与MG针对发夹连接的交互目前还缺乏控制MG的发夹连接自治能力的机制。At the same time, some services may need to prevent the MG from establishing a hairpin connection, for example, the IP loopback continuity detection service requires avoiding the hairpin connection. When the MG supports the hairpin connection in the above-mentioned autonomous mode, but needs to avoid establishing the hairpin connection, the interaction between the MGC and the MG for the hairpin connection currently lacks a mechanism for controlling the autonomous capability of the MG's hairpin connection.

发明内容Contents of the invention

本发明提供了控制发夹连接的方法及系统,用以解决现有技术无法根据媒体网关的发夹连接能力对发夹连接进行控制的问题。The present invention provides a method and system for controlling hairpin connection, which is used to solve the problem that the prior art cannot control the hairpin connection according to the hairpin connection capability of the media gateway.

本发明方法包括步骤:The inventive method comprises steps:

A、媒体网关控制器MGC从用于反映媒体网关MG当前对发夹连接的支持能力的参数中获取该MG当前对发夹连接的支持能力;A. The media gateway controller MGC obtains the current support capability of the MG for the hairpin connection from the parameter reflecting the current support capability of the media gateway MG for the hairpin connection;

B、MGC根据所述MG当前对发夹连接的支持能力决定控制方式,并下发相应的控制参数进行控制。B. The MGC determines the control mode according to the current support capability of the MG for the hairpin connection, and issues corresponding control parameters for control.

所述反映MG当前对发夹连接的支持能力的参数配置在MG上。The parameters reflecting the current capability of the MG to support the hairpin connection are configured on the MG.

通过扩展媒体网关控制协议来定义所述反映MG当前对发夹连接的支持能力的参数。The parameters reflecting the current support capability of the MG for the hairpin connection are defined by extending the media gateway control protocol.

所述步骤A中MGC通过媒体网关控制协议中的审计值命令获取所述支持能力。In the step A, the MGC obtains the support capability through an audit value command in the media gateway control protocol.

所述反映MG当前对发夹连接的支持能力的参数也可配置在MGC上。The parameters reflecting the current capability of the MG to support the hairpin connection can also be configured on the MGC.

所述反映MG当前对发夹连接的支持能力的参数取值为受控、自治或无效;其中所述受控表示所述MG支持由MGC判断和指示建立发夹连接;所述自治表示所述MG支持自主判断和建立发夹连接;所述无效表示所述MG不支持建立发夹连接。The value of the parameter reflecting the current capability of the MG to support the hairpin connection is controlled, autonomous or invalid; wherein the controlled means that the MG supports the establishment of a hairpin connection judged and instructed by the MGC; the autonomous means that the The MG supports independent judgment and establishment of a hairpin connection; the invalidity means that the MG does not support establishment of a hairpin connection.

所述步骤B中,若所述MG当前对发夹连接的支持能力为受控,则MGC 判断和指示建立发夹连接;若所述MG当前对发夹连接的支持能力为自治,则MGC指示MG建立普通IP语音呼叫,或者MG自主判断和建立发夹连接;若所述MG当前对发夹连接的支持能力为无效,则MGC无需判断和指示建立发夹连接。In the step B, if the current capability of the MG to support the hairpin connection is controlled, the MGC judges and instructs to establish the hairpin connection; if the current capability of the MG to support the hairpin connection is autonomous, the MGC instructs The MG establishes a common IP voice call, or the MG judges and establishes a hairpin connection independently; if the MG currently supports the hairpin connection is invalid, the MGC does not need to judge and instruct to establish a hairpin connection.

本发明另一种方法,用于在预知媒体网关MG具有发夹连接自治能力时,控制MG自治方式的发夹连接,包括下列步骤:Another method of the present invention is used to control the hairpin connection in the MG autonomous mode when it is predicted that the media gateway MG has the hairpin connection autonomy capability, comprising the following steps:

A、在MG上设置用于控制MG发夹连接自治能力的控制参数;A. Set control parameters on the MG for controlling the autonomous capability of the MG hairpin connection;

B、MG根据MGC下发的所述控制参数的取值相应开启或关闭对发夹连接的自治能力。B. The MG correspondingly enables or disables the autonomous capability of the hairpin connection according to the value of the control parameter issued by the MGC.

通过扩展媒体网关控制协议来定义所述控制MG发夹连接自治能力的参数。The parameters for controlling the autonomy capability of the MG hairpin connection are defined by extending the media gateway control protocol.

所述步骤A中控制MG发夹连接自治能力的参数的取值通过媒体网关控制器MGC向所述MG下发。In the step A, the value of the parameter controlling the autonomous capability of the hairpin connection of the MG is sent to the MG through the media gateway controller MGC.

所述控制MG发夹连接自治能力的参数的取值通过MG后台设置。The value of the parameter controlling the autonomous capability of the MG hairpin connection is set through the MG background.

所述控制MG发夹连接自治能力的参数取值为开或关;其中所述开表示使能所述MG发夹连接自治能力;所述关表示去能所述MG发夹连接自治能力。The value of the parameter controlling the autonomous capability of the MG hairpin connection is on or off; the ON means enabling the autonomous capability of the MG hairpin connection; the OFF means disabling the autonomous capability of the MG hairpin connection.

本发明的控制连接的系统,用于控制发夹连接,包括:相互连接的媒体网关MG和媒体网关控制器MGC;所述MG,用于执行发夹连接操作,所述MGC,用于向所述MG下发控制MG的发夹连接操作以及发夹连接的自治能力的控制参数,。The system for controlling the connection of the present invention is used for controlling the hairpin connection, comprising: a media gateway MG and a media gateway controller MGC connected to each other; the MG is used for performing the hairpin connection operation, and the MGC is used for sending the The MG issues control parameters for controlling the hairpin connection operation of the MG and the autonomy capability of the hairpin connection.

所述MG将其当前对发夹连接的支持能力上报所述MGC,所述MGC根据所述MG当前对发夹连接的支持能力决定对发夹连接的控制方式,并下发控制MG的发夹连接操作的控制参数进行控制。The MG reports its current ability to support the hairpin connection to the MGC, and the MGC determines the control mode for the hairpin connection according to the MG's current ability to support the hairpin connection, and issues a hairpin control method for the MG. The control parameters of the connection operation are controlled.

所述MG根据所述MGC下发的MG发夹连接自治能力控制参数,相应开启或关闭其对发夹连接的自治能力。The MG correspondingly enables or disables its autonomous capability for the hairpin connection according to the MG hairpin connection autonomy control parameter issued by the MGC.

本发明有益效果如下:The beneficial effects of the present invention are as follows:

本发明通过设置用于反映该MG当前发夹连接能力的参数,使得MGC可以获取MG当前的发夹连接能力,并据此决定发夹连接的控制方式。所述反映 该MG当前发夹连接能力的参数可以通过扩展媒体网关控制协议在MG上配置,并通过媒体网关控制协议的审计命令被MGC获取,也可以在MGC上配置而直接被MGC所了解。In the present invention, by setting parameters for reflecting the current hairpin connection capability of the MG, the MGC can obtain the current hairpin connection capability of the MG, and determine the hairpin connection control mode accordingly. The parameters reflecting the current hairpin connection capability of the MG can be configured on the MG through the extended media gateway control protocol, and obtained by the MGC through the audit command of the media gateway control protocol, or configured on the MGC to be directly understood by the MGC.

本发明通过设置用于控制MG发夹连接自治能力的参数,使得在预先知道MG具有自治发夹连接能力的情况下,可以按需控制是否启用所述自治发夹连接能力。所述控制MG发夹连接自治能力的参数设置在MG上,其取值可以通过扩展媒体网关控制协议由MGC下发给MG,也可以在MG上通过后台直接设置。In the present invention, by setting parameters for controlling the autonomous hairpin connection capability of the MG, it is possible to control whether to enable the autonomous hairpin connection capability as required when the MG is known in advance to have the autonomous hairpin connection capability. The parameter controlling the autonomous capability of the MG hairpin connection is set on the MG, and its value can be sent from the MGC to the MG through the extended media gateway control protocol, or can be directly set on the MG through the background.

本发明还提供了控制连接的系统,用于支撑本发明方法。The present invention also provides a system for controlling connections for supporting the method of the present invention.

附图说明Description of drawings

图1为现有组网示意图;Figure 1 is a schematic diagram of an existing networking;

图2为本发明系统示意图;Fig. 2 is a schematic diagram of the system of the present invention;

图3为本发明方法步骤流程图。Fig. 3 is a flowchart of the method steps of the present invention.

具体实施方式Detailed ways

为了控制媒体网关MG的发夹连接能力,本发明提供一种系统,参见图2所示,其包括:用于执行发夹连接操作的媒体网关MG,以及与其相连,用于控制发夹连接操作的媒体网关控制器MGC。In order to control the hairpin connection capability of the media gateway MG, the present invention provides a system, as shown in FIG. 2, which includes: a media gateway MG for performing a hairpin connection operation, and connected to it for controlling the hairpin connection operation Media Gateway Controller MGC.

所述MG将其当前对发夹连接的支持能力上报所述MGC,所述MGC根据所述MG当前对发夹连接的支持能力决定对发夹连接的控制方式,并下发相应的控制参数进行控制。所述MG根据所述MGC下发的MG发夹连接自治能力控制参数,相应开启或关闭其对发夹连接的自治能力。The MG reports its current ability to support the hairpin connection to the MGC, and the MGC determines the control mode for the hairpin connection according to the current ability of the MG to support the hairpin connection, and sends corresponding control parameters to implement control. The MG correspondingly enables or disables its autonomous capability for the hairpin connection according to the MG hairpin connection autonomy control parameter issued by the MGC.

应用上述系统,本发明提供了一种控制发夹连接的方法,参见图3所示,包括下列步骤:Applying the above-mentioned system, the present invention provides a method for controlling the hairpin connection, as shown in Figure 3, comprising the following steps:

S0、准备步骤,用于设置相关参数。S0, a preparation step for setting related parameters.

S1、MGC获取MG当前的发夹连接能力参数值,并据此决定发夹连接控制方式。S1. The MGC acquires the current hairpin connection capability parameter value of the MG, and determines a hairpin connection control method based on the value.

S2、MG根据发夹连接自治能力控制参数值使能或去能其发夹连接自治能力。S2. The MG enables or disables its hairpin connection autonomy capability according to the hairpin connection autonomy capability control parameter value.

S3、完成连接。S3. The connection is completed.

为了使MGC可获知MG当前的发夹连接能力,本发明方法在媒体网关控制协议(例如H.248)中扩展了一个属性参数,用以反映所述MG当前的发夹连接能力。该属性参数可定义在所述协议已有的包中,也可定义在所述协议的一个新的包中。In order for the MGC to know the current hairpin connection capability of the MG, the method of the present invention extends an attribute parameter in the media gateway control protocol (eg H.248) to reflect the current hairpin connection capability of the MG. The attribute parameter can be defined in an existing package of the protocol, or can be defined in a new package of the protocol.

例如:将所述新的包命名为发夹连接(Hairpin Connection),并将所述属性参数命名为发夹连接能力(Hairpin Connection Capability),该参数为枚举(Enumerate)类型,其参数值可为受控(Controlled)、自治(Autonomic)或无效(Invalid),并可定义该参数无缺省值和只读。For example: the new package is named as Hairpin Connection (Hairpin Connection), and the attribute parameter is named as Hairpin Connection Capability (Hairpin Connection Capability), this parameter is an enumeration (Enumerate) type, and its parameter value can be It can be controlled (Controlled), autonomous (Autonomic) or invalid (Invalid), and it can be defined that this parameter has no default value and is read-only.

其中所述参数取值若为受控,则表示MG支持由MGC判断和指示建立发夹连接;取值若为自治,则表示MG支持自主判断和建立发夹连接;取值若为无效,则表示MG不支持建立发夹连接。If the value of the parameter is controlled, it means that the MG supports the determination and instruction of the MGC to establish a hairpin connection; if the value is autonomous, it means that the MG supports independent judgment and establishment of a hairpin connection; if the value is invalid, then Indicates that the MG does not support the establishment of hairpin connections.

为了所述MGC在必要时(例如:IP环回导通检测业务要求避免发夹连接)可以控制MG自主判断和建立发夹连接的能力,本发明方法在媒体网关控制协议(例如H.248)中另外扩展了一个属性参数,用于在所述MG支持所述自治能力时,控制所述自治能力是否启用。该属性参数可定义在所述协议已有的包中,也可定义在所述协议的一个新的包中。In order for the MGC to control the ability of the MG to independently determine and establish a hairpin connection when necessary (for example: the IP loopback continuity detection service requires avoiding a hairpin connection), the method of the present invention is implemented in a media gateway control protocol (such as H.248) In addition, an attribute parameter is extended to control whether the autonomy capability is enabled when the MG supports the autonomy capability. The attribute parameter can be defined in an existing package of the protocol, or can be defined in a new package of the protocol.

例如:在上述同一个Hairpin Connection包中,将该属性参数命名为使能自治(Enable Autonomy),该参数为枚举类型,其参数值可为开(On)或关(Off),并可定义缺省值为On,以及该参数可读可写。For example: in the above-mentioned same Hairpin Connection package, the attribute parameter is named Enable Autonomy (Enable Autonomy), this parameter is an enumeration type, its parameter value can be on (On) or off (Off), and can be defined The default value is On, and the parameter can be read and written.

该属性参数取值为On,则表示开启MG对发夹连接的自治能力(即使能)。The value of this attribute parameter is On, which means that the autonomous capability of the MG for the hairpin connection is enabled (that is, it can be enabled).

该属性参数取值为Off,则表示关闭MG对发夹连接的自治能力(即去能)。The value of this attribute parameter is Off, which indicates that the autonomous capability of the MG for the hairpin connection is disabled (that is, disabled).

以下通过三个实例具体描述本发明方法。The method of the present invention is specifically described below through three examples.

方法实例一:MG当前发夹连接能力的参数值为受控。Method example 1: The parameter value of the current hairpin connection capability of the MG is controlled.

S100、在MG上设置用于反映该MG当前发夹连接能力的参数,本例中该值为受控。本步骤为流程开始前的准备步骤。S100. Set a parameter on the MG to reflect the current hairpin connection capability of the MG. In this example, the value is controlled. This step is a preparatory step before the process starts.

S101、MGC获取MG当前的发夹连接能力参数值,并据此决定发夹连接控制方式。S101. The MGC obtains the current hairpin connection capability parameter value of the MG, and determines a hairpin connection control mode based on the value.

MGC向MG发送审计值(Audit Value)请求命令,要求审计发夹连接包中的发夹连接能力参数的当前值。The MGC sends an audit value (Audit Value) request command to the MG, requesting to audit the current value of the hairpin connection capability parameter in the hairpin connection packet.

MG收到所述审计值请求命令后,向MGC发送审计值响应命令,所述审计值响应命令中携带有发夹连接包中的发夹连接能力参数的当前值。本例中该值为受控。After receiving the audit value request command, the MG sends an audit value response command to the MGC, where the audit value response command carries the current value of the hairpin connection capability parameter in the hairpin connection packet. In this example the value is Controlled.

MGC收到所述审计响应消息后,从中获知所述MG当前的发夹连接能力参数值为受控。据此判定所述MG可根据MGC的指示建立发夹连接。After receiving the audit response message, the MGC learns from it that the current hairpin connection capability parameter value of the MG is controlled. Based on this, it is determined that the MG can establish a hairpin connection according to the instruction of the MGC.

这样当MGC通过判断得知当前的呼叫为发夹连接时,无需下发发夹连接自治能力控制参数来指示MG启用或关闭其发夹连接自治能力,即跳过步骤S102,直接执行步骤103。In this way, when the MGC determines that the current call is a hairpin connection, it does not need to deliver the hairpin connection autonomy control parameter to instruct the MG to enable or disable its hairpin connection autonomy, that is, step S102 is skipped and step 103 is directly executed.

S102、MG根据发夹连接自治能力控制参数值使能或去能其发夹连接自治能力。S102. The MG enables or disables its hairpin connection autonomy capability according to the hairpin connection autonomy capability control parameter value.

S103、完成连接。S103. Complete the connection.

MGC向MG发送Add请求命令,指示MG按照在一个上下文中包含两个物理终端的呼叫模型建立发夹连接;The MGC sends an Add request command to the MG, instructing the MG to establish a hairpin connection according to the call model including two physical terminals in one context;

MG根据MGC的指示将该两个物理终端所代表的时分复用(TDM)通道直接互连建立发夹连接,并向MGC发送Add响应命令。According to the instructions of the MGC, the MG directly interconnects the TDM channels represented by the two physical terminals to establish a hairpin connection, and sends an Add response command to the MGC.

至此完成呼叫连接。This completes the call connection.

方法实例二:MG当前发夹连接能力的参数值为自治。Method Example 2: The parameter value of the current hairpin connection capability of the MG is autonomy.

S200、在MG上设置用于反映该MG当前发夹连接能力的参数,本例中该 值为自治。(除参数值外本步骤与实例一相同)S200. Set a parameter on the MG to reflect the current hairpin connection capability of the MG. In this example, the value is autonomous. (This step is the same as Example 1 except for the parameter value)

S201、MGC获取MG当前的发夹连接能力参数值,并据此决定发夹连接控制方式。S201. The MGC obtains the current hairpin connection capability parameter value of the MG, and determines a hairpin connection control mode based on the value.

MGC向MG发送审计值(Audit Value)请求命令,要求审计发夹连接包中的发夹连接能力参数的当前值。The MGC sends an audit value (Audit Value) request command to the MG, requesting to audit the current value of the hairpin connection capability parameter in the hairpin connection packet.

MG收到所述审计值请求命令后,向MGC发送审计值响应命令,所述审计值响应命令中携带有发夹连接包中的发夹连接能力参数的当前值。本例中该值为自治。After receiving the audit value request command, the MG sends an audit value response command to the MGC, where the audit value response command carries the current value of the hairpin connection capability parameter in the hairpin connection packet. In this example the value is Autonomous.

MGC收到所述审计响应消息后,从中获知所述MG当前的发夹连接能力参数值为自治。据此判定所述MG可自主判断和建立发夹连接。After receiving the audit response message, the MGC learns from it that the current hairpin connection capability parameter value of the MG is autonomous. Based on this, it is determined that the MG can independently determine and establish a hairpin connection.

这里分两种情况:There are two situations here:

若MGC判断无需限制MG的发夹连接自治能力(例如:判断当前业务无需避免发夹连接),则所述MGC无需判断当前的呼叫是否为发夹连接,可跳过步骤S202,直接执行步骤S203。If the MGC judges that there is no need to restrict the autonomous capability of the MG's hairpin connection (for example: judging that the current service does not need to avoid the hairpin connection), then the MGC does not need to judge whether the current call is a hairpin connection, and can skip step S202 and directly execute step S203 .

若MGC要求避免由MG自主判断和建立发夹连接(例如:要求由MGC控制建立发夹连接,或者某些业务应用需要避免建立发夹连接),则所述MGC向所述MG下发含有发夹连接自治能力控制参数的命令,所述发夹连接自治能力控制参数的取值为去能。If the MGC requires that the MG avoid independent judgment and establishment of a hairpin connection (for example, the establishment of a hairpin connection is required to be controlled by the MGC, or some service applications need to avoid the establishment of a hairpin connection), the MGC sends a message containing a hairpin connection to the MG. A command for controlling parameters of the hairpin connection autonomy capability, where the value of the hairpin connection autonomy control parameter is disabled.

S202、MG根据发夹连接自治能力控制参数值使能或去能其发夹连接自治能力。S202. The MG enables or disables its hairpin connection autonomy capability according to the hairpin connection autonomy capability control parameter value.

MG从所述含有发夹连接自治能力控制参数的命令中获取所述发夹连接自治能力参数值为去能,并据此关闭本MG的发夹连接自治能力。The MG obtains the hairpin connection autonomy parameter value as disabled from the command containing the hairpin connection autonomy control parameter, and accordingly disables the hairpin connection autonomy of the MG.

S203、完成连接。S203. Complete the connection.

对应步骤S201中的两种情况:Corresponding to two situations in step S201:

若MGC判断无需限制MG的发夹连接自治能力,则向MG发送Add请求消息,并按照在两个上下文中各自都包含一个物理终端和一个临时终端的呼叫 模型指示MG建立普通IP语音呼叫。若所述MG自主判断当前呼叫为发夹连接(例如:发现涉及呼叫的双方使用同一个IP地址),则不分配TDM与RTP之间的媒体转换资源(例如:DSP)而直接将两个TDM通道互连实现发夹连接。If the MGC judges that there is no need to limit the autonomous capability of the hairpin connection of the MG, it sends an Add request message to the MG, and instructs the MG to establish a normal IP voice call according to the call model in which each of the two contexts includes a physical terminal and a temporary terminal. If the MG independently judges that the current call is a hairpin connection (for example: it is found that both parties involved in the call use the same IP address), then the media conversion resources (for example: DSP) between TDM and RTP are not allocated, and the two TDM Channel interconnects implement hairpin connections.

若MGC要求避免由MG自主建立发夹连接,则在步骤202中所述MG根据发夹连接自治能力控制参数值为去能不再自主判断当前呼叫是否发夹连接,而是按照MGC指示分配相关资源。这样是否建立发夹连接就完全由MGC控制了,若需要建立发夹连接,则所述MGC向所述MG发送Add请求命令,指示MG按照在一个上下文中包含两个物理终端的呼叫模型建立发夹连接;若不需建立发夹连接,则所述MGC向所述MG发送Add请求命令,指示MG按照在两个上下文中各自都包含一个物理终端和一个临时终端的呼叫模型指示MG建立普通IP语音呼叫。If the MGC requests to prevent the MG from independently establishing a hairpin connection, then in step 202, the MG can no longer autonomously judge whether the current call is a hairpin connection according to the value of the hairpin connection autonomy control parameter value. resource. In this way, whether to establish a hairpin connection is completely controlled by the MGC. If a hairpin connection needs to be established, the MGC sends an Add request command to the MG, instructing the MG to establish a hairpin connection according to a call model containing two physical terminals in one context. pinch connection; if there is no need to establish a hairpin connection, the MGC sends an Add request command to the MG, instructing the MG to instruct the MG to establish a normal IP according to the call model in which each of the two contexts includes a physical terminal and a temporary terminal. voice call.

这两种情况下MG都与MGC保持上下文和终端的一致,并向MGC发送Add响应命令。In both cases, the MG keeps the same context and terminal as the MGC, and sends an Add response command to the MGC.

方法实例三:MG当前发夹连接能力的参数值为无效。Method Example 3: The parameter value of the current hairpin connection capability of the MG is invalid.

S300、在MG上设置用于反映该MG当前发夹连接能力的参数,本例中该值为自治。(除参数值外本步骤与实例一相同)S300. Set a parameter on the MG to reflect the current hairpin connection capability of the MG. In this example, the value is autonomy. (This step is the same as Example 1 except for the parameter value)

S301、MGC获取MG当前的发夹连接能力参数值,并据此决定发夹连接控制方式。S301. The MGC obtains the current hairpin connection capability parameter value of the MG, and determines a hairpin connection control mode based on the value.

MGC向MG发送审计值(AuditValue)请求命令,要求审计发夹连接包中的发夹连接能力参数的当前值。The MGC sends an audit value (AuditValue) request command to the MG, requesting to audit the current value of the hairpin connection capability parameter in the hairpin connection packet.

MG收到所述审计值请求命令后,向MGC发送审计值响应命令,所述审计值响应命令中携带有发夹连接包中的发夹连接能力参数的当前值。本例中该值为无效。After receiving the audit value request command, the MG sends an audit value response command to the MGC, where the audit value response command carries the current value of the hairpin connection capability parameter in the hairpin connection packet. In this example the value is invalid.

MGC收到所述审计值响应命令后,从中获知所述MG当前的发夹连接能力参数值为无效。据此判定所述MG不支持建立发夹连接。After receiving the audit value response command, the MGC learns that the current hairpin connection capability parameter value of the MG is invalid. Based on this, it is determined that the MG does not support the establishment of a hairpin connection.

因为MG并不支持建立发夹连接,所以MGC无需判断当前的呼叫是否为发夹连接,可跳过步骤S302,直接执行步骤S303。Since the MG does not support the establishment of a hairpin connection, the MGC does not need to judge whether the current call is a hairpin connection, and may skip step S302 and directly execute step S303.

S302、MG根据发夹连接自治能力控制参数值使能或去能其发夹连接自治能力。S302. The MG enables or disables its hairpin connection autonomy capability according to the hairpin connection autonomy capability control parameter value.

S303、完成连接。S303. Complete the connection.

由于本例中MGC通过所述发夹连接能力参数的当前值获知所述MG不支持建立发夹连接,所以无论所述MGC是否通过判断得知当前的呼叫为发夹连接,都只能向所述MG发送Add请求消息,并按照在两个上下文中各自都包含一个物理终端和一个临时终端的呼叫模型指示MG建立普通IP语音呼叫。Since the MGC in this example knows that the MG does not support the establishment of a hairpin connection through the current value of the hairpin connection capability parameter, no matter whether the MGC knows that the current call is a hairpin connection through judgment, it can only The MG sends an Add request message, and instructs the MG to establish a normal IP voice call according to the call model in which each of the two contexts includes a physical terminal and a temporary terminal.

MG与MGC保持上下文和终端的一致,即按照媒体转换为TDM到RTP再到TDM的形式创建IP语音呼叫,并向MGC发送Add响应命令。The MG and the MGC keep the same context and terminal, that is, create an IP voice call in the form of media conversion from TDM to RTP to TDM, and send an Add response command to the MGC.

上述发明方法所涉及的反映发夹连接能力参数和发夹连接自治能力控制参数可以一起使用(如上述三个实例),也可以单独使用。例如MGC可以通过所述反映发夹连接能力参数了解MG当前的发夹连接能力,但并不干涉MG的发夹连接自治能力(如果有的话)。The parameters reflecting the hairpin connection capability and the control parameters of the hairpin connection autonomy involved in the above inventive method can be used together (such as the above three examples), or can be used separately. For example, the MGC can know the current hairpin connection capability of the MG through the parameter reflecting the hairpin connection capability, but does not interfere with the hairpin connection autonomy capability of the MG (if any).

而在预知MG具有发夹连接自治能力时,MGC也可以通过所述发夹连接自治能力控制参数控制其发夹连接自治能力,然后按照MGC下发的指令相应控制是否建立发夹连接。When it is predicted that the MG has the hairpin connection autonomy capability, the MGC may also control its hairpin connection autonomy capability through the hairpin connection autonomy control parameter, and then control whether to establish a hairpin connection according to the instructions issued by the MGC.

上述发明方法所涉及的反映发夹连接能力参数可以配置在MG上,并作为媒体网关协议(例如H.248)的一个扩展属性由MGC通过审计值命令从MG获得(如上述实例),也可以配置在MGC上而被MGC所直接了解。The parameter reflecting the hairpin connection capability involved in the above inventive method can be configured on the MG, and as an extended attribute of the media gateway protocol (such as H.248), the MGC can obtain it from the MG through the audit value command (as in the above example), or it can be Configured on the MGC and directly understood by the MGC.

上述发明方法所涉及的发夹连接自治能力控制参数可以作为通过媒体网关协议(例如H.248)在的一个扩展属性由MGC下发给MG来设置(如上述实例),也可以直接在MG上通过后台配置。The hairpin connection autonomy control parameter involved in the above inventive method can be set as an extended attribute sent by the MGC to the MG through a media gateway protocol (such as H.248) (as in the above example), or can be set directly on the MG Through background configuration.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及 其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. In this way, if these modifications and variations of the present invention belong to the scope of the claims of the present invention and equivalent technologies thereof, the present invention is also intended to include these modifications and variations.

Claims (14)

1. the method for a control connection is used to control hair clip and connects, and it is characterized in that, comprises the following steps:
A, media gateway controller MGC obtain the current tenability that hair clip is connected of this MG from the parameter that is used for reflecting the current tenability that hair clip is connected of media gateway MG;
B, MGC be according to the current tenability decision control mode that hair clip is connected of described MG, and issue the control corresponding parameter and control.
2. method according to claim 1 is characterized in that, the parameter configuration of the current tenability that hair clip is connected of described reflection MG is on MG.
3. as method as described in the claim 2, it is characterized in that, define the parameter of the current tenability that hair clip is connected of described reflection MG by the extended medium gateway control protocol.
4. as method as described in the claim 3, it is characterized in that MGC obtains described tenability by the audit value order in the MGCP in the described steps A.
5. method according to claim 1 is characterized in that, the parameter configuration of the current tenability that hair clip is connected of described reflection MG is on MGC.
6. as claim 1 to 5 method as described in each, it is characterized in that the parameter value of the current tenability that hair clip is connected of described reflection MG is controlled, autonomous or invalid;
The described MG of wherein said controlled expression supports to judge that by MGC setting up hair clip with indication is connected;
The described MG of described autonomous expression supports independently to judge and sets up hair clip and be connected;
The described MG of described invalid representation does not support to set up hair clip and connects.
7. method according to claim 1 is characterized in that, among the described step B,
If the current tenability that hair clip is connected of described MG is controlled, then MGC judges that setting up hair clip with indication is connected;
If the current tenability that hair clip is connected of described MG be autonomous, then MGC indication MG sets up common ip voice calling, and perhaps MG independently judges and sets up hair clip and be connected;
If the current tenability that hair clip is connected of described MG is invalid, then MGC need not to judge that setting up hair clip with indication is connected.
8. the method for a control connection is used for when precognition media gateway MG has hair clip connection capacity of self-government, and the hair clip of the autonomous mode of control MG connects, and it is characterized in that, comprises the following steps:
A, on MG, be provided for controlling the Control Parameter that the MG hair clip connects capacity of self-government;
The corresponding unlatching of value of the described Control Parameter that B, MG issue according to MGC or close the capacity of self-government that hair clip is connected.
9. as method as described in the claim 8, it is characterized in that, define the parameter that described control MG hair clip connects capacity of self-government by the extended medium gateway control protocol.
10. as method as described in the claim 9, it is characterized in that the value that control MG hair clip connects the parameter of capacity of self-government in the described steps A issues to described MG by media gateway controller MGC.
11., it is characterized in that described control MG hair clip connects the parameter value of capacity of self-government for opening or closing as claim 8 to 10 method as described in each;
Wherein said game clock shows that enabling described MG hair clip connects capacity of self-government;
Described pass represent to deenergize described MG hair clip connects capacity of self-government.
12. the system of a control connection is used to control hair clip and connects, and it is characterized in that, comprising: interconnective media gateway MG and media gateway controller MGC;
Described MG is used to carry out the hair clip attended operation, and described MGC is used for issuing the hair clip attended operation of control MG and the Control Parameter of the capacity of self-government that hair clip connects to described MG.
13. as system as described in the claim 12, it is characterized in that, described MG reports described MGC with its current tenability that hair clip is connected, the described MGC control mode that the current tenability decision that hair clip is connected connects hair clip according to described MG, and the Control Parameter that issues the hair clip attended operation of control MG is controlled.
14., it is characterized in that described MG connects the capacity of self-government Control Parameter according to the MG hair clip that described MGC issues as system as described in the claim 12, corresponding unlatching or close the capacity of self-government that it connects hair clip.
CN2005101183119A 2005-10-28 2005-10-28 Method and system for controlling hairpin connection Expired - Fee Related CN1870702B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2005101183119A CN1870702B (en) 2005-10-28 2005-10-28 Method and system for controlling hairpin connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2005101183119A CN1870702B (en) 2005-10-28 2005-10-28 Method and system for controlling hairpin connection

Publications (2)

Publication Number Publication Date
CN1870702A CN1870702A (en) 2006-11-29
CN1870702B true CN1870702B (en) 2010-12-15

Family

ID=37444244

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2005101183119A Expired - Fee Related CN1870702B (en) 2005-10-28 2005-10-28 Method and system for controlling hairpin connection

Country Status (1)

Country Link
CN (1) CN1870702B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5174812B2 (en) 2006-06-26 2013-04-03 ホアウェイ・テクノロジーズ・カンパニー・リミテッド Method, system and apparatus for instructing media gateway to establish termination connection
CN101316264B (en) * 2007-06-02 2011-05-04 华为技术有限公司 Resource control method and apparatus under service and bearing separation structure
CN101867575B (en) * 2010-05-31 2015-08-19 中兴通讯股份有限公司 A kind of media hairpin connection method of inter-network element and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6754180B1 (en) * 1999-12-15 2004-06-22 Nortel Networks Limited System, method, and computer program product for support of bearer path services in a distributed control network
CN1612564A (en) * 2003-10-31 2005-05-04 华为技术有限公司 Media gateway control protocol compatible method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6754180B1 (en) * 1999-12-15 2004-06-22 Nortel Networks Limited System, method, and computer program product for support of bearer path services in a distributed control network
CN1612564A (en) * 2003-10-31 2005-05-04 华为技术有限公司 Media gateway control protocol compatible method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
N. Greene, M. Ramalho, B. Rosen.RFC2805 - Media Gateway Control Protocol Architecture and Requirements.Network Working Group,2000,章节3-章节5.2.
N. Greene, M. Ramalho, B. Rosen.RFC2805-Media Gateway Control Protocol Architecture and Requirements.Network Working Group,2000,章节3-章节5.2. *

Also Published As

Publication number Publication date
CN1870702A (en) 2006-11-29

Similar Documents

Publication Publication Date Title
US20060013194A1 (en) Support for fax and modem in sip/sip-t networks and the interworking of these networks with isup+/bicc
US7969875B2 (en) Media gateway and packet filtering method thereof
CN101313558B (en) Method for Realizing Internal Connection of Media Gateway
WO2008003254A1 (en) An implementation method, system and apparatus for packet filtering
US20070041357A1 (en) Interworking of hybrid protocol multimedia networks
JP4826792B2 (en) Relay device, relay method, relay program
CN1870702B (en) Method and system for controlling hairpin connection
CN100471184C (en) Gate control proxy and realizing method thereof
CN101322382B (en) Method and system for releasing call when multimedia business intercommunication under separation structure
CN100473059C (en) A method for switching media stream codec format
CN101119292B (en) A method for negotiating and transmitting data services between gateways
CN1859339B (en) Communication system and method for realizing IP cross-domain inter communication by edge media gateway
CN101336002A (en) Method and system for parameter negotiation of dual-tone multi-frequency signal between media gateways
CN100527740C (en) Method for switching services
CN100479442C (en) Method for realizing IP cross domain intercommunication
CN100556009C (en) A method for realizing tandem media gateway and tandem media gateway
CN101179784A (en) Terminal configuration method and terminal configuration system
CN101552846B (en) Method and device for processing dialing information in media stream
CN103167053B (en) IP carries the medium surface address distribution method in setting up, equipment and soft switchcall server
CN101345722A (en) Method and device for realizing resource reservation, media gateway
US20100316059A1 (en) Method, apparatus and system for processing tone in media stream
CN1983964A (en) Method and device for controlling preset event
KR20090026403A (en) Method and apparatus for fax call processing using MEAC protocol
CN101453471A (en) Session description protocol version negotiation/information acquisition method, system and network entity
CN101330647A (en) Session description protocol media modification method

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: 20101215

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