WO2009000123A1 - Method for a media gateway controller controlling a media gateway preempting circuit source - Google Patents

Method for a media gateway controller controlling a media gateway preempting circuit source Download PDF

Info

Publication number
WO2009000123A1
WO2009000123A1 PCT/CN2007/003830 CN2007003830W WO2009000123A1 WO 2009000123 A1 WO2009000123 A1 WO 2009000123A1 CN 2007003830 W CN2007003830 W CN 2007003830W WO 2009000123 A1 WO2009000123 A1 WO 2009000123A1
Authority
WO
WIPO (PCT)
Prior art keywords
mgc
mgw
circuit
circuit resource
preemption
Prior art date
Application number
PCT/CN2007/003830
Other languages
French (fr)
Chinese (zh)
Inventor
Dongzi Ning
Hui Cai
Original Assignee
Zte Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zte Corporation filed Critical Zte Corporation
Publication of WO2009000123A1 publication Critical patent/WO2009000123A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1043Gateway controllers, e.g. media gateway control protocol [MGCP] controllers

Definitions

  • the invention relates to a method for controlling a media gateway (MGGW) by a Media Gateway Controller (MGC) in a Next Generation Network (NGN) of a digital mobile communication, and particularly relates to an MGC control MGW circuit resource in an NGN system. Preemption method.
  • MGW media gateway
  • NGW Next Generation Network
  • Telecommunication Union Telecommunication Standardization Sector responsible for the development and revision of telecommunications standards in the Telecommunications Union.
  • H.248 protocol a system and method for controlling MGW by MGC is defined.
  • the H.248 protocol continuously expands the functionality of the protocol by defining functional packages, and the different functional packages are required for different applications.
  • the H.248 protocol is widely applied to the core of systems such as WCDMA (Wideband Code Division Multiple Access) / CDMA2000 (Code Division Multiple Access 2000) / TD-SCDMA (Time Division 1 Synchronous Code Division Multiple Access) / SOFTSWITCH (Softswitch) network.
  • WCDMA Wideband Code Division Multiple Access
  • CDMA2000 Code Division Multiple Access 2000
  • TD-SCDMA Time Division 1 Synchronous Code Division Multiple Access
  • SOFTSWITCH Softswitch
  • MGC and MGW are server and client modes, MGC is the server, and MGW is the client.
  • MGC will instruct the MGW to establish a context data area, and then add two terminal data areas in the context data area for characterizing different media bearers and their associated attributes, where the media bearer can be time division multiplexed (TDM). , Time Division Multiplexing ) Circuitry, or other types of carriers.
  • TDM time division multiplexed
  • the MGW is responsible for the management of the circuit resource status and the connection between the circuits; and the MGC is responsible for the call signaling negotiation and the TDM circuit resource management, that is, the MGC instructs the MGW to occupy a specific circuit according to the call signaling requirement. To complete the connection between the circuits.
  • the data between the context data area and the terminal data area between the MGC and the MGW will be synchronized, that is, the current call MGC indicates that the MGW occupies a certain circuit resource, and the current call to the MGC at the end of the call, because the MGC and Communication layer message loss between MGW, MGC or MGW If an internal fault occurs, the data in the context data area and the terminal data area between the MGC and the MGW will not match, and the garbage data in the context data area and the terminal data area will be generated, which will affect the normal progress of subsequent calls.
  • the MGW when the MGW fails to release the circuit resources and the corresponding data in the context data area and the terminal data area at the end of the call, the MGW mistakenly considers the circuit when the next call MGC that needs the circuit resource indicates that the MGW occupies the circuit resource.
  • the resource is a duplicate circuit resource, and the MGC "3 ⁇ 4 wrong, making the next call fail.
  • ITU-T defines a functional package H.248.36.
  • a periodic timer is defined for each terminal data area of the MGW.
  • the MGW reports a heartbeat event to the MGC, informing the MGC of its current context information and terminal information.
  • the MGC can directly send the delete command to clear the context and terminal information hanged in the MGW, or not to respond to the MGW.
  • the MGW deletes the hang-up message when it receives the delete command; or, after the MGW does not receive the MGC response several times, it can delete the hang-up information by itself.
  • the heartbeat timer will take a long time. H.248.36 suggests that the heartbeat duration is several times the average talk duration.
  • the above method of H.248.36 causes the garbage data processing between the MGC and the MGW to be untimely, thereby causing the subsequent call to be abnormal. Because the MGW encounters MGC repeated circuit resource add commands during this process, it is common practice to report syntax errors to the MGC. As a result, it is possible to cause some circuits in the call that need to be added in time to be added, which may result in the failure of the call.
  • the MGC Since all the information of the TDM circuit resources is managed by the MGC, the MGC knows which circuit resources need to be added during the current call, and the MGW as the client should be able to execute the operation commands of the circuit in full accordance with the latest commands of the MGC, instead of passively Wait until the heartbeat timeout clears the above garbage data before executing the MGC command to add circuit resources.
  • the technical problem to be solved by the present invention is to provide a method for a media gateway controller to control a media gateway to preempt circuit resources, so as to effectively solve the problem between the MGW and the MGC in the H.248 protocol.
  • the MGW cannot properly add circuit resources to the call in time due to the mismatch between the context data area and the terminal data area data between the MGC and the MGC.
  • the present invention provides a method for controlling a media gateway circuit resource preemption by a media gateway controller, including the following steps:
  • the media gateway controller MGC includes preemption control information in a circuit resource addition command sent to the media gateway MGW;
  • the MGW determines whether to preempt the circuit resource according to the preemption control information when the circuit resource is repeatedly occupied, and returns a response message to the MGC according to the result of the adding circuit.
  • step (a) the MGC sets the preemption control information to preempt the circuit resources or not preempt.
  • step (a) if the preemption control information is set to preemption, in step (b), the MGW actively preempts the circuit resource, and actively deletes the context data. Data in the zone that is originally associated with the circuit resource, and a response message that adds a correct circuit to the MGC; and if in step (a), the preemption control information is set to not preempt, then in step (b) The MGW returns a response message to the MGC to add an error circuit, indicating that the current call fails.
  • the MGC further adds a request for the MGW to preempt the circuit resource information on the MGC in the circuit resource addition command sent to the MGW;
  • the step (b) further includes the step of the MGW actively preempting the circuit resource and reporting the preemption of the circuit resource information to the MGC.
  • the foregoing method further has the following feature: the request for the MGW to report the preemption of the circuit resource information to the MGC includes a function package list and additional positioning information for preempting the circuit resource.
  • the preemption circuit resource information includes a text ID and a terminal ID.
  • the foregoing method further has the following features:
  • the method is compatible with the H.248 protocol, and in the step (b), the MGW returns a response message to the MGC by using a notification message of the H.248 protocol.
  • the foregoing method further has the following features: the step (b) further includes: when the MGW does not encounter repeated occupied circuit resources, normally adding corresponding circuit resources, and returning a correct response to the added circuit resources to the MGC. The steps of the message.
  • the circuit resource preemption function of the method can be turned on or off through negotiation between the MGC and the MGW.
  • the call can be guaranteed to be normal when the data of the MGC and the MGW context data area and the terminal data area are inconsistent, and the garbage data appearing between the MGC and the MGW can be actively cleaned in time, thereby enhancing the stability of the system.
  • FIG. 1 is a flow chart of the MGW being controlled by the MGC and preempting circuit resources in time according to an embodiment of the present invention. Preferred embodiment of the invention
  • the present invention extends a method for controlling the media gateway circuit resource preemption by the media gateway controller based on H.248.36, including the following steps: (a) Circuit resources between the MGC and the MGW The preemption control information is included in the add command; (b) according to the preemption control information, the MGW does not report a syntax error to the MGC when the repeated occupied circuit resources are encountered (that is, the added circuit is occupied), and directly preempts the context data. The circuit resources in the zone are then notified to the MGC by using the notification message of the H.248 protocol. In addition, the MGC and the MGW can turn on or off the circuit resource preemption function according to negotiation.
  • the MGC control MGW circuit resource preemption method described in this embodiment includes the following steps: Step 1: When the MGC sends a circuit resource add command to the MGW, the preemption control information is included in the control parameter, and the parameter of the control information is set to preemption or Not preempting;
  • the MGC settings request the MGW to actively preempt the sttf attribute of the TDM circuit resource, and if the MGW An ai event that actively reports additional information when TDM circuit resources are preempted internally;
  • the sttf attribute set by the MGC in the circuit resource add command is defined as follows:
  • Attribute Name Actively preempts TDM circuit resources
  • Attribute parameter type Logic
  • Attribute parameter value If there are duplicate circuit resources in the MGW,
  • Event name The MGW actively preempts the TDM circuit resources and reports additional information.
  • Event ID ai (0x0001)
  • Function Description Defines that the MGW actively preempts the TDM circuit resources and reports additional information. The event exists: Optional.
  • Step 2 After receiving the circuit resource addition command sent by the MGC, the MGW determines whether there is a duplicate circuit resource, and returns a response to the MGC according to the result of adding the circuit.
  • the MGW determines that there is a duplicate circuit resource in the command sent by the MGC, if the parameter of the preemption control information is preemption (the value of the sttf attribute parameter is true), the MGW actively preempts the TDM circuit resource, and deletes the original and the context data area. After the data associated with the circuit resource is executed, step 3 is performed. If the preemption information parameter is not preempted (the value of the sttf attribute parameter is false), the MGW reports an error message to the MGC, indicating that there is already a duplicate circuit resource, and the call fails.
  • Step 3 After completing the preemption of the circuit resources, the MGW notifies the MGC of the additional information preempted by the circuit resources according to the indication that the MGC reports the additional information (that is, the definition of the ai event in the issued command of the MGC). In step 3, the MGW reports the additional information of the circuit resource preemption to the MGC, including a function package list carrying the preempted resources and additional positioning information.
  • the additional information parameters that the MGW informs the MGC to preempt the circuit resources are defined as follows:
  • Function Description Define additional information to report the details of the circuit resources required by the MGC to be preempted and the circuit resources required in the terminal data area.
  • Parameter mode Optional. That is, when the MGC has an indication of the additional information (the definition of the ai event) in the issued command, the MGW performs the preemption of the circuit resource, and then notifies the MGC of the additional information of the preempted circuit resource through the ai parameter; and the command issued by the MGC There is no indication that the additional information is reported (the definition of the ai event is not), and the MGW does not have to notify the MGC of the additional information of the preempted circuit resource after performing the preemption of the circuit resource.
  • the MGW does not have to notify the MGC of the additional information of the preempted circuit resource after performing the preemption of the circuit resource.
  • the parameter may take values: It is recommended to include a text ID and a terminal ID. Other useful information can also be added to the additional information.
  • the processing flow in the MGW compatible with the H.248 message in this embodiment is shown.
  • the process includes the following steps:
  • Step 101 The MGW receives a circuit resource addition command sent by the MGC.
  • Step 102 The MGW determines whether there is a circuit resource that is repeatedly occupied. If yes, go to step 103, if not, go to step 104;
  • Step 103 Continue to determine if the MGC sets the sttf attribute to preemptible? If yes, go to step 105; if no, go to step 106;
  • Step 104 The MGW adds corresponding circuit resources, and then performs step 108;
  • Step 105 The MGW actively preempts the corresponding circuit resources, and then performs step 107;
  • Step 106 The MGW returns a response to the MGC to add an error circuit, and the process ends.
  • Step 107 This step is optional. If the MGC carries the ai event in the command in step 101, The MGW notifies the MGC of the preempted additional information, otherwise the MGW does not report any information to the MGC.
  • Step 108 The MGW returns a response to add the correct circuit to the MGC using the notification message of the H.248 protocol, and the process ends.
  • steps 1 to 3 of the above method of the present invention can be more clearly understood.
  • the MGC and the MGW may turn off the circuit resource preemption function by negotiation (e.g., messaging or other means).
  • the method provided by the invention can be compatible with the original method of H.248.36, and is simple and easy, and in the case that the gram does not match, the use of the relevant circuit resources cannot restore the defects of the normal call in time, and the stability of the system is enhanced.
  • the MGC control MGW circuit resource preemption method provided by the present invention is simple and convenient, and the call can be guaranteed to be normal and active when the data of the MGC and the MGW context data area and the terminal data area are inconsistent. Clean up the garbage data between MGC and MGW in time, thus enhancing the stability of the system.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A method for a media gateway controller controlling a media gateway preempting circuit source includes the following steps that: (a) the preempting control information is carried in a circuit resource adding command transmitted from a media gateway controller MGC to a media gateway MGW; (b) when MGW has found that the circuit resource is repeatedly occupied, it determines whether to preempt the circuit resource according to the preempting control information, and returns a response message to MGC based on the result of adding the circuit. In contrast with the prior art, the preempting method is easy to realize, ensures that a call goes on normally even in the case of that the context data region and the terminal data region between MGC and MGW are not accordant, and cleans up the junk data between MGC and MGW initiatively and in time, thereby the system stability is enhanced.

Description

媒体网关控制器控制媒体网关抢占电路资源的方法  Method for controlling media gateway to seize circuit resources by media gateway controller
技术领域 Technical field
本发明涉及数字移动通讯下一代网络( NGN , Next Generation Network ) 中媒体网关控制器( MGC, Media Gateway Controller )控制媒体网关( MGW, Media Gateway )的方法, 尤其涉及 NGN系统中 MGC控制 MGW电路资源 抢占的方法。  The invention relates to a method for controlling a media gateway (MGGW) by a Media Gateway Controller (MGC) in a Next Generation Network (NGN) of a digital mobile communication, and particularly relates to an MGC control MGW circuit resource in an NGN system. Preemption method.
背景技术 Background technique
国际标准化组织的国际电信联盟 -电信标准部 (ITU-T, International International Telecommunication Union International Telecommunication Union - Telecommunication Standards Department (ITU-T, International
Telecommunication Union Telecommunication Standardization Sector ) , 负责 电信联盟有关电信标准的制定和修改工作。在其制定的 H.248协议中, 定义 了一套 MGC控制 MGW的系统和方法。 H.248协议通过定义功能包来不断 扩充协议的功能, 不同的应用场合所需要的功能包也不同。 目前 H.248协议 被广泛地应用到 WCDMA (宽带码分多址) /CDMA2000 (码分多址 2000 ) /TD-SCDMA (时分一同步码分多址) /SOFTSWITCH (软交换)等系统的核 心网。 Telecommunication Union Telecommunication Standardization Sector ) , responsible for the development and revision of telecommunications standards in the Telecommunications Union. In its H.248 protocol, a system and method for controlling MGW by MGC is defined. The H.248 protocol continuously expands the functionality of the protocol by defining functional packages, and the different functional packages are required for different applications. At present, the H.248 protocol is widely applied to the core of systems such as WCDMA (Wideband Code Division Multiple Access) / CDMA2000 (Code Division Multiple Access 2000) / TD-SCDMA (Time Division 1 Synchronous Code Division Multiple Access) / SOFTSWITCH (Softswitch) network.
根据 H.248协议规定, MGC和 MGW是服务器和客户端模式, MGC是 月良务器, MGW是客户端。 针对普通呼叫, MGC会命令 MGW建立一个上 下文数据区, 然后在这个上下文数据区中添加两个终端数据区, 用于表征不 同的媒体承载及其相关属性, 这里媒体承载可以是时分复用 (TDM, Time Division Multiplexing )电路承栽,也可以是其它类型承载。不同厂家的 MGW 和 MGC对接时, MGW负责电路资源状态的管理以及电路之间的接续; 而 MGC负责呼叫信令协商和 TDM电路资源管理,即 MGC根据呼叫信令需要 来指示 MGW占用特定的电路, 以完成电路之间的接续。 理论上, MGC和 MGW之间的上下文数据区和终端数据区的数据会保持同步, 也就是当前呼 叫 MGC指示 MGW占用一定的电路资源, 在呼叫结束时当前呼叫 MGC会 际情况下, 因为 MGC和 MGW之间的通信层消息丟失、 MGC或者 MGW 产生内部故障, 均会导致 MGC和 MGW之间上下文数据区和终端数据区的 数据不匹配, 产生上下文数据区和终端数据区的垃圾数据, 蜂而会影响后续 呼叫的正常进行。譬如 MGW在呼叫结束时未能及时释放该电路资源及上下 文数据区和终端数据区中相应的数据, 会使需要该电路资源的下次呼叫 MGC指示 MGW占用该电路资源时, MGW误认为该电路资源为重复的电 路资源, 而向 MGC "¾错, 使得该下次呼叫失败。 According to the H.248 protocol, MGC and MGW are server and client modes, MGC is the server, and MGW is the client. For ordinary calls, the MGC will instruct the MGW to establish a context data area, and then add two terminal data areas in the context data area for characterizing different media bearers and their associated attributes, where the media bearer can be time division multiplexed (TDM). , Time Division Multiplexing ) Circuitry, or other types of carriers. When the MGW and the MGC of different manufacturers are connected, the MGW is responsible for the management of the circuit resource status and the connection between the circuits; and the MGC is responsible for the call signaling negotiation and the TDM circuit resource management, that is, the MGC instructs the MGW to occupy a specific circuit according to the call signaling requirement. To complete the connection between the circuits. In theory, the data between the context data area and the terminal data area between the MGC and the MGW will be synchronized, that is, the current call MGC indicates that the MGW occupies a certain circuit resource, and the current call to the MGC at the end of the call, because the MGC and Communication layer message loss between MGW, MGC or MGW If an internal fault occurs, the data in the context data area and the terminal data area between the MGC and the MGW will not match, and the garbage data in the context data area and the terminal data area will be generated, which will affect the normal progress of subsequent calls. For example, when the MGW fails to release the circuit resources and the corresponding data in the context data area and the terminal data area at the end of the call, the MGW mistakenly considers the circuit when the next call MGC that needs the circuit resource indicates that the MGW occupies the circuit resource. The resource is a duplicate circuit resource, and the MGC "3⁄4 wrong, making the next call fail.
为了有效清除 MGC和 MGW之间的吊死数据, ITU-T定义了一个功能 包 H.248.36。 在这个功能包中, 为 MGW每一个终端数据区定义周期性定时 器, 每当定时器到时以后, MGW会向 MGC报告一个心跳事件, 告知 MGC 自己当前的上下文信息和终端信息。 MGC收到心跳事件以后, 若发现本身 上下文和终端信息已经不存在, MGC可以直接下发删除命令清除 MGW中 吊死的上下文和终端信息, 也可以不给 MGW应答。 MGW在收到该删除命 令时会删除吊死信息; 或者, MGW在若干次没有收到 MGC应答以后, 可 以自行删除吊死信息。 实际应用中, 为了减少 MGC和 MGW之间的通信层 数据量, 心跳定时器的时间都会比较长, H.248.36建议心跳时长为平均通话 时长的数倍。  In order to effectively clear the hanged data between the MGC and the MGW, ITU-T defines a functional package H.248.36. In this function package, a periodic timer is defined for each terminal data area of the MGW. Whenever the timer expires, the MGW reports a heartbeat event to the MGC, informing the MGC of its current context information and terminal information. After the MGC receives the heartbeat event, if the context and the terminal information are not available, the MGC can directly send the delete command to clear the context and terminal information hanged in the MGW, or not to respond to the MGW. The MGW deletes the hang-up message when it receives the delete command; or, after the MGW does not receive the MGC response several times, it can delete the hang-up information by itself. In actual applications, in order to reduce the amount of communication layer data between the MGC and the MGW, the heartbeat timer will take a long time. H.248.36 suggests that the heartbeat duration is several times the average talk duration.
在 MGC管理 TDM电路资源时, H.248.36的上述方法会导致 MGC和 MGW之间的垃圾数据处理不及时, 从而导致后续呼叫的失常。 因为 MGW 在此过程中遇到 MGC重复的电路资源添加命令时, 通常的做法是向 MGC 报告语法错误。这样一来,有可能造成呼叫中一些需要及时添加的电路而添 加不了,从而导致呼叫的失败。 由于 TDM电路资源的所有信息都是由 MGC 管理, MGC很清楚当前呼叫过程中哪些电路资源需要添加, 而 MGW作为 客户端, 应该可以完全依照 MGC最新的命令执行电路的操作命令, 而不是 被动地等到心跳超时清理了上述垃圾数据以后才能执行 MGC添加电路资源 的命令。  When the MGC manages the TDM circuit resources, the above method of H.248.36 causes the garbage data processing between the MGC and the MGW to be untimely, thereby causing the subsequent call to be abnormal. Because the MGW encounters MGC repeated circuit resource add commands during this process, it is common practice to report syntax errors to the MGC. As a result, it is possible to cause some circuits in the call that need to be added in time to be added, which may result in the failure of the call. Since all the information of the TDM circuit resources is managed by the MGC, the MGC knows which circuit resources need to be added during the current call, and the MGW as the client should be able to execute the operation commands of the circuit in full accordance with the latest commands of the MGC, instead of passively Wait until the heartbeat timeout clears the above garbage data before executing the MGC command to add circuit resources.
发明内容 Summary of the invention
本发明要解决的技术问题是提供一种媒体网关控制器控制媒体网关抢 占电路资源的方法, 以有效地解决 H.248协议中 MGW和 MGC之间关于电 路资源占用时 MGW因其同 MGC之间上下文数据区和终端数据区数据不匹 配而不能正常为呼叫及时添加电路资源的问题。 The technical problem to be solved by the present invention is to provide a method for a media gateway controller to control a media gateway to preempt circuit resources, so as to effectively solve the problem between the MGW and the MGC in the H.248 protocol. When the path resource is occupied, the MGW cannot properly add circuit resources to the call in time due to the mismatch between the context data area and the terminal data area data between the MGC and the MGC.
为解决上述技术问题,本发明提供了一种媒体网关控制器控制媒体网关 电路资源抢占的方法, 包括以下步骤:  To solve the above technical problem, the present invention provides a method for controlling a media gateway circuit resource preemption by a media gateway controller, including the following steps:
( a )所述媒体网关控制器 MGC在向所述媒体网关 MGW发送的电路 资源添加命令中附带抢占控制信息;  (a) the media gateway controller MGC includes preemption control information in a circuit resource addition command sent to the media gateway MGW;
( b )所述 MGW在遇有重复占用电路资源时, 根据所述抢占控制信息 决定是否抢占该电路资源, 并才艮据添加电路的结果向所述 MGC返回应答消 息。  (b) The MGW determines whether to preempt the circuit resource according to the preemption control information when the circuit resource is repeatedly occupied, and returns a response message to the MGC according to the result of the adding circuit.
进一步地, 上述方法还具有以下特征: 步骤(a ) 中, 所述 MGC将所 述抢占控制信息设置为抢占所述电路资源或是不抢占。  Further, the foregoing method further has the following features: In step (a), the MGC sets the preemption control information to preempt the circuit resources or not preempt.
进一步地, 上述方法还具有以下特征: 步骤(a ) 中, 若所述抢占控制 信息被设为抢占, 则在步骤(b ) 中, 所述 MGW主动抢占所述电路资源, 并主动删除上下文数据区中原来与该电路资源相关联的数据, 以及向所述 MGC返回添加正确电路的应答消息; 而若步骤(a )中, 所述抢占控制信息 被设为不抢占, 则在步骤(b ) 中, 所述 MGW向所述 MGC返回添加错误 电路的应答消息, 指示本次呼叫失败。  Further, the foregoing method has the following features: In step (a), if the preemption control information is set to preemption, in step (b), the MGW actively preempts the circuit resource, and actively deletes the context data. Data in the zone that is originally associated with the circuit resource, and a response message that adds a correct circuit to the MGC; and if in step (a), the preemption control information is set to not preempt, then in step (b) The MGW returns a response message to the MGC to add an error circuit, indicating that the current call fails.
进一步地, 上述方法还具有以下特征: 步骤(a ) 中, 所述 MGC在向 所述 MGW发送的电路资源添加命令中还附加有 MGW向 MGC上 4艮抢占电 路资源信息的要求; 所述步骤(b ) 中还包括所述 MGW主动抢占所述电路 资源后向所述 MGC上报抢占所述电路资源信息的步骤。  Further, the foregoing method has the following features: In the step (a), the MGC further adds a request for the MGW to preempt the circuit resource information on the MGC in the circuit resource addition command sent to the MGW; The step (b) further includes the step of the MGW actively preempting the circuit resource and reporting the preemption of the circuit resource information to the MGC.
进一步地, 上述方法还具有以下特征: 所述 MGW向所述 MGC上报抢 占电路资源信息的要求中包括抢占电路资源的功能包列表和附加定位信息。  Further, the foregoing method further has the following feature: the request for the MGW to report the preemption of the circuit resource information to the MGC includes a function package list and additional positioning information for preempting the circuit resource.
进一步地, 上述方法还具有以下特征: 所述抢占电路资源信息包括文本 ID和终端 ID。  Further, the foregoing method further has the following feature: the preemption circuit resource information includes a text ID and a terminal ID.
进一步地, 上述方法还具有以下特征: 所述方法与 H.248协议兼容, 步 骤(b ) 中, 所述 MGW使用 H.248协议的通知消息向所述 MGC返回应答 消息。 进一步地, 上述方法还具有以下特征: 所述步骤(b )还包括所述 MGW 在未遇有重复占用电路资源时, 正常添加相应的电路资源, 并向所述 MGC 返回添加电路资源正确的应答消息的步骤。 Further, the foregoing method further has the following features: The method is compatible with the H.248 protocol, and in the step (b), the MGW returns a response message to the MGC by using a notification message of the H.248 protocol. Further, the foregoing method further has the following features: the step (b) further includes: when the MGW does not encounter repeated occupied circuit resources, normally adding corresponding circuit resources, and returning a correct response to the added circuit resources to the MGC. The steps of the message.
进一步地, 上述方法还具有以下特征: 所述方法的电路资源抢占功能通 过所述 MGC与所述 MGW的协商可打开或关闭。  Further, the foregoing method has the following features: The circuit resource preemption function of the method can be turned on or off through negotiation between the MGC and the MGW.
采用本发明, 可以在 MGC和 MGW上下文数据区和终端数据区的数据 不一致的情况下仍能保证通话正常进行, 并能主动及时清理 MGC和 MGW 之间出现的垃圾数据, 从而增强了系统的稳定性 附图概述  By adopting the invention, the call can be guaranteed to be normal when the data of the MGC and the MGW context data area and the terminal data area are inconsistent, and the garbage data appearing between the MGC and the MGW can be actively cleaned in time, thereby enhancing the stability of the system. Sexual drawing overview
图 1为本发明实施例中 MGW受控于 MGC而及时抢占电路资源的流程 图。 本发明的较佳实施方式  FIG. 1 is a flow chart of the MGW being controlled by the MGC and preempting circuit resources in time according to an embodiment of the present invention. Preferred embodiment of the invention
下面将结合附图及实施例对本发明的技术方案进行更详细的说明。  The technical solution of the present invention will be described in more detail below with reference to the accompanying drawings and embodiments.
为了兼容 H.248.36原有方法, 本发明在 H.248.36基础上扩展出一种媒 体网关控制器控制媒体网关电路资源抢占的方法, 包括以下步骤: (a )在 MGC和 MGW之间的电路资源添加命令中附带抢占控制信息; ( b ) MGW 根据该抢占控制信息,在遇有重复占用电路资源时(即指添加的电路已被占 用)时, 不向 MGC报告语法错误, 直接抢占其上下文数据区中的电路资源, 然后使用 H.248协议的通知消息告知 MGC相关信息。 另外, MGC和 MGW 可以根据协商打开或者关闭电路资源抢占功能。  In order to be compatible with the original method of H.248.36, the present invention extends a method for controlling the media gateway circuit resource preemption by the media gateway controller based on H.248.36, including the following steps: (a) Circuit resources between the MGC and the MGW The preemption control information is included in the add command; (b) according to the preemption control information, the MGW does not report a syntax error to the MGC when the repeated occupied circuit resources are encountered (that is, the added circuit is occupied), and directly preempts the context data. The circuit resources in the zone are then notified to the MGC by using the notification message of the H.248 protocol. In addition, the MGC and the MGW can turn on or off the circuit resource preemption function according to negotiation.
下面结合实施例和附图对本发明的技术方案进行详细的阐述和说明。 本实施例讲述的 MGC控制 MGW电路资源的抢占方法包括以下步骤: 步骤一: MGC向 MGW发送电路资源添加命令时, 在其控制参数中附 带抢占控制信息 , 将该控制信息的参数设置为抢占或不抢占; The technical solutions of the present invention are explained and illustrated in detail below with reference to the embodiments and the accompanying drawings. The MGC control MGW circuit resource preemption method described in this embodiment includes the following steps: Step 1: When the MGC sends a circuit resource add command to the MGW, the preemption control information is included in the control parameter, and the parameter of the control information is set to preemption or Not preempting;
MGC设置请求 MGW主动抢占 TDM电路资源的 sttf属性,以及若 MGW 内部发生 TDM电路资源抢占时主动上报附加信息的 ai事件; 其中, The MGC settings request the MGW to actively preempt the sttf attribute of the TDM circuit resource, and if the MGW An ai event that actively reports additional information when TDM circuit resources are preempted internally;
MGC在电路资源添加命令中设置的 sttf属性的定义如下:  The sttf attribute set by the MGC in the circuit resource add command is defined as follows:
属性名称: 主动抢占 TDM电路资源  Attribute Name: Actively preempts TDM circuit resources
属 <!·生标识: sttf  Genus <!·生标识: sttf
功能描述: 指定 MGW是否主动抢占 TDM电路资源。  Function Description: Specifies whether the MGW actively preempts TDM circuit resources.
属性参数类型: 逻辑  Attribute parameter type: Logic
属性参数取值: 若在 MGW中存在重复占用的电路资源时,  Attribute parameter value: If there are duplicate circuit resources in the MGW,
- true(OxOOOO): 指示 MGW主动抢占 TDM电路资源;  - true(OxOOOO): Instructs the MGW to actively preempt the TDM circuit resources;
- false(0x0001): 指示 MGW不主动抢占 TDM电路资源并返回错误信 息。  - false(0x0001): Indicates that the MGW does not actively preempt the TDM circuit resources and returns an error message.
MGC在电路资源添加命令中附加的 ai事件的定义如下:  The definition of the ai event attached by the MGC in the circuit resource add command is as follows:
事件名称: MGW主动抢占 TDM电路资源, 上报附加信息;  Event name: The MGW actively preempts the TDM circuit resources and reports additional information.
事件标识: ai (0x0001);  Event ID: ai (0x0001);
功能描述: 定义 MGW主动抢占 TDM电路资源后上报附加信息; 事件存在方式: 可选。  Function Description: Defines that the MGW actively preempts the TDM circuit resources and reports additional information. The event exists: Optional.
步骤二: MGW收到 MGC下发的电路资源添加命令后, 判断是否存在 重复的电路资源, 并根据添加电路的结果向 MGC返回应答。 Step 2: After receiving the circuit resource addition command sent by the MGC, the MGW determines whether there is a duplicate circuit resource, and returns a response to the MGC according to the result of adding the circuit.
在 MGW判断 MGC下发的命令中存在重复的电路资源情况下, 若抢占 控制信息的参数为抢占 (sttf属性参数值为 true ) , 则 MGW主动抢占 TDM 电路资源, 并删除上下文数据区中原来与该电路资源关联的数据后,执行步 骤三; 而若抢占信息参数为不抢占 (sttf属性参数值为 false ) , 则 MGW向 MGC报告错误信息, 指示已经存在重复的电路资源, 本次呼叫失败;  If the MGW determines that there is a duplicate circuit resource in the command sent by the MGC, if the parameter of the preemption control information is preemption (the value of the sttf attribute parameter is true), the MGW actively preempts the TDM circuit resource, and deletes the original and the context data area. After the data associated with the circuit resource is executed, step 3 is performed. If the preemption information parameter is not preempted (the value of the sttf attribute parameter is false), the MGW reports an error message to the MGC, indicating that there is already a duplicate circuit resource, and the call fails.
步骤三: MGW在完成抢占电路资源以后, 根据 MGC上报附加信息的 指示(即 MGC在下发的命令中对 ai事件的定义)向 MGC通知电路资源抢 占的附加信息。 在步骤三中 MGW向 MGC报告电路资源抢占的附加信息, 其中包括携 带抢占资源的功能包列表和附加定位信息。 Step 3: After completing the preemption of the circuit resources, the MGW notifies the MGC of the additional information preempted by the circuit resources according to the indication that the MGC reports the additional information (that is, the definition of the ai event in the issued command of the MGC). In step 3, the MGW reports the additional information of the circuit resource preemption to the MGC, including a function package list carrying the preempted resources and additional positioning information.
MGW向 MGC通知抢占电路资源的附加信息参数定义如下:  The additional information parameters that the MGW informs the MGC to preempt the circuit resources are defined as follows:
参数名称: 附加信息  Parameter Name: Additional Information
参数标识: ai (0x0001)  Parameter identification: ai (0x0001)
功能描述: 定义附加信息用来上报 MGC被抢占的上下文数据区和终端 数据区里要求的电路资源的详细信息。  Function Description: Define additional information to report the details of the circuit resources required by the MGC to be preempted and the circuit resources required in the terminal data area.
参数类型: 字符型  Parameter type: character type
参数方式: 可选。 亦即当 MGC在下发的命令中有上报附加信息的指示 (对 ai事件的定义), 则 MGW执行抢占电路资源后通过此 ai参数向 MGC 通知抢占电路资源的附加信息; 而 MGC在下发的命令中没有上报附加信息 的指示(未对 ai事件的定义),则 MGW执行抢占电路资源后就不必向 MGC 通知抢占电路资源的附加信息。  Parameter mode: Optional. That is, when the MGC has an indication of the additional information (the definition of the ai event) in the issued command, the MGW performs the preemption of the circuit resource, and then notifies the MGC of the additional information of the preempted circuit resource through the ai parameter; and the command issued by the MGC There is no indication that the additional information is reported (the definition of the ai event is not), and the MGW does not have to notify the MGC of the additional information of the preempted circuit resource after performing the preemption of the circuit resource.
参数可能取值: 建议包括文本 ID和终端 ID, 其他有用的信息也可以添 加到附加信息中。  The parameter may take values: It is recommended to include a text ID and a terminal ID. Other useful information can also be added to the additional information.
如图 1所示是本实施例与 H.248消息兼容的在 MGW中的处理流程。该 流程包括以下步骤: As shown in FIG. 1, the processing flow in the MGW compatible with the H.248 message in this embodiment is shown. The process includes the following steps:
步骤 101 : MGW收到 MGC发送的电路资源添加命令;  Step 101: The MGW receives a circuit resource addition command sent by the MGC.
步骤 102: MGW判断是否存在重复占用的电路资源,若是执行步骤 103, 若否执行步骤 104;  Step 102: The MGW determines whether there is a circuit resource that is repeatedly occupied. If yes, go to step 103, if not, go to step 104;
步骤 103: 继续判断 MGC是否将 sttf 属性设置为可抢占? 若是, 执行 步骤 105; 若否, 执行步骤 106;  Step 103: Continue to determine if the MGC sets the sttf attribute to preemptible? If yes, go to step 105; if no, go to step 106;
步骤 104: MGW添加相应的电路资源, 然后执行步骤 108;  Step 104: The MGW adds corresponding circuit resources, and then performs step 108;
步骤 105: MGW主动抢占相应的电路资源, 然后执行步骤 107;  Step 105: The MGW actively preempts the corresponding circuit resources, and then performs step 107;
步骤 106: MGW向 MGC返回添加错误电路的应答, 流程结束; 步骤 107: 该步可选, 若 MGC在步骤 101的命令中携带了 ai事件, 则 MGW向 MGC通知抢占的附加信息, 否则 MGW向 MGC不报告任何信息; 步骤 108: MGW使用 H.248协议的通知消息向 MGC返回添加正确电 路的应答, 流程结束。 Step 106: The MGW returns a response to the MGC to add an error circuit, and the process ends. Step 107: This step is optional. If the MGC carries the ai event in the command in step 101, The MGW notifies the MGC of the preempted additional information, otherwise the MGW does not report any information to the MGC. Step 108: The MGW returns a response to add the correct circuit to the MGC using the notification message of the H.248 protocol, and the process ends.
由此流程可以更清晰地理解本发明上述方法步骤一至步骤三。 当在 MGC和 MGW上下文数据区和终端数据区的数据同步的情况下, 或者在其 它一些情况下, MGC和 MGW可以通过协商 (譬如消息传递或其它方式) 而关闭电路资源抢占功能。  From this flow, steps 1 to 3 of the above method of the present invention can be more clearly understood. In the case of data synchronization between the MGC and MGW context data areas and the terminal data area, or in some other cases, the MGC and the MGW may turn off the circuit resource preemption function by negotiation (e.g., messaging or other means).
本发明提供的方法能与 H.248.36原有方法兼容, 简便易行, 并且其克 不匹配的情况下,使用相关电路资源不能及时恢复正常通话的缺陷, 使系统 的稳定性得到增强。 The method provided by the invention can be compatible with the original method of H.248.36, and is simple and easy, and in the case that the gram does not match, the use of the relevant circuit resources cannot restore the defects of the normal call in time, and the stability of the system is enhanced.
工业实用性 Industrial applicability
与现有技术相比, 本发明提供的 MGC控制 MGW电路资源的抢占方法 简便易行, 在 MGC和 MGW上下文数据区和终端数据区的数据不一致的情 况下仍能保证通话正常进行, 并能主动及时清理 MGC和 MGW之间出现的 垃圾数据, 从而增强了系统的稳定性。  Compared with the prior art, the MGC control MGW circuit resource preemption method provided by the present invention is simple and convenient, and the call can be guaranteed to be normal and active when the data of the MGC and the MGW context data area and the terminal data area are inconsistent. Clean up the garbage data between MGC and MGW in time, thus enhancing the stability of the system.

Claims

权 利 要 求 书 Claim
1、 一种媒体网关控制器控制媒体网关电路资源抢占的方法, 其特征 在于, 包括以下步骤:  A method for controlling a media gateway circuit resource preemption by a media gateway controller, comprising the steps of:
( a ) 所述媒体网关控制器 MGC在向所述媒体网关 MGW发送的电路 资源添加命令中附带抢占控制信息;  (a) the media gateway controller MGC includes preemption control information in a circuit resource addition command sent to the media gateway MGW;
( b )所述 MGW在遇有重复占用电路资源时, 根据所述抢占控制信息 决定是否抢占该电路资源, 并根据添加电路的结果向所述 MGC返回应答消 息。  (b) The MGW determines whether to preempt the circuit resource according to the preemption control information when there is a repeated occupation of the circuit resource, and returns a response message to the MGC according to the result of the adding circuit.
2、 按照权利要求 1所述的方法, 其特征在于,  2. The method of claim 1 wherein:
步骤(a ) 中, 所述 MGC将所述抢占控制信息设置为抢占所述电路资 源或是不抢占。  In step (a), the MGC sets the preemption control information to preempt the circuit resources or does not preempt.
3、 按照权利要求 2所述的方法, 其特征在于,  3. The method of claim 2, wherein
步骤 ) 中, 若所述抢占控制信息被设为抢占, 则在步骤(b ) 中, 所 述 MGW主动抢占所述电路资源,并主动删除上下文数据区中原来与该电路 资源相关联的数据, 以及向所述 MGC返回添加正确电路的应答消息; 而若 步骤(a ) 中, 所述抢占控制信息被设为不抢占, 则在步骤(b ) 中, 所述 MGW向所述 MGC返回添加错误电路的应答消息, 指示本次呼叫失败。  In step (b), if the preemption control information is set to preemption, in step (b), the MGW actively preempts the circuit resource, and actively deletes data originally associated with the circuit resource in the context data area, And returning a response message to the MGC to add a correct circuit; and if the preemption control information is set to not preempt in step (a), in step (b), the MGW returns an error to the MGC. A response message from the circuit indicating that the call failed.
4、 按照权利要求 2所述的方法, 其特征在于,  4. The method of claim 2, wherein
步骤(a ) 中, 所述 MGC在向所述 MGW发送的电路资源添加命令中 还附加有 MGW向 MGC上报抢占电路资源信息的要求; 所述步骤(b ) 中 资源信息的步骤。  In the step (a), the MGC adds a request for the MGW to report the preemption of the circuit resource information to the MGC in the circuit resource addition command sent to the MGW; and the step of the resource information in the step (b).
5、 按照权利要求 4所述的方法, 其特征在于, 资源的功能包列表和附加定位信息。  5. A method according to claim 4, characterized by a list of functional packages of resources and additional positioning information.
6、 按照权利要求 4所述的方法, 其特征在于,  6. The method of claim 4 wherein:
所述抢占电路资源信息包括文本 ID和终端 ID。 The preemption circuit resource information includes a text ID and a terminal ID.
7、 按照权利要求 1所述的方法, 其特征在于, 7. The method of claim 1 wherein:
所述方法与 H.248协议兼容, 步骤(b ) 中, 所述 MGW使用 H.248协 议的通知消息向所述 MGC返回应答消息。  The method is compatible with the H.248 protocol. In step (b), the MGW returns a response message to the MGC by using a notification message of the H.248 protocol.
8、 按照权利要求 1所述的方法, 其特征在于,  8. The method of claim 1 wherein:
所述步骤(b )还包括所述 MGW在未遇有重复占用电路资源时, 正常 添加相应的电路资源, 并向所述 MGC返回添加电路资源正确的应答消息的 步骤。  The step (b) further includes the step of the MGW normally adding a corresponding circuit resource when the multiplexed circuit resource is not encountered, and returning a response message indicating that the circuit resource is correct to the MGC.
9、 按照权利要求 1所述的方法, 其特征在于,  9. The method of claim 1 wherein:
所述方法的电路资源抢占功能通过所述 MGC与所述 MGW的协商可打 开或关闭。  The circuit resource preemption function of the method may be turned on or off by negotiation between the MGC and the MGW.
PCT/CN2007/003830 2007-06-25 2007-12-27 Method for a media gateway controller controlling a media gateway preempting circuit source WO2009000123A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 200710111480 CN101330478B (en) 2007-06-25 2007-06-25 Method for controlling preemption of medium gateway circuit resource for medium gateway controller
CN200710111480.9 2007-06-25

Publications (1)

Publication Number Publication Date
WO2009000123A1 true WO2009000123A1 (en) 2008-12-31

Family

ID=40185163

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/003830 WO2009000123A1 (en) 2007-06-25 2007-12-27 Method for a media gateway controller controlling a media gateway preempting circuit source

Country Status (2)

Country Link
CN (1) CN101330478B (en)
WO (1) WO2009000123A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1630424A (en) * 2003-12-04 2005-06-22 埃沃柳姆公司 Method for preemption of resources in a mobile communications network, for the establishment of a service according to a maximum rate of the associated preemption
US20060045102A1 (en) * 2004-08-31 2006-03-02 Pelaez Mariana B Method for recovering a mismatch between a media gateway and a media gateway controller
CN1780229A (en) * 2004-11-26 2006-05-31 华为技术有限公司 Method for soluting detained context on medium gateway

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1867189A (en) * 2006-01-21 2006-11-22 华为技术有限公司 Method and system for realizing urgent call in group-calling process
CN100531453C (en) * 2006-08-05 2009-08-19 华为技术有限公司 Method for establishing MBMS service channel and auxiliary publish control physical channel thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1630424A (en) * 2003-12-04 2005-06-22 埃沃柳姆公司 Method for preemption of resources in a mobile communications network, for the establishment of a service according to a maximum rate of the associated preemption
US20060045102A1 (en) * 2004-08-31 2006-03-02 Pelaez Mariana B Method for recovering a mismatch between a media gateway and a media gateway controller
CN1780229A (en) * 2004-11-26 2006-05-31 华为技术有限公司 Method for soluting detained context on medium gateway

Also Published As

Publication number Publication date
CN101330478A (en) 2008-12-24
CN101330478B (en) 2011-04-20

Similar Documents

Publication Publication Date Title
EP1845687B1 (en) A method for ip-based service transmission
US8614953B2 (en) Method for monitoring and reporting events by media gateways
US9332037B2 (en) Method and apparatus for redundant signaling links
KR20070039108A (en) Method and device for session control in hybrid telecommunication networks
KR20090102620A (en) Failover/failback trigger using sip messages in a sip survivable configuration
CN100574486C (en) The system of dual-homing networking and method thereof in the communication network
WO2015096426A1 (en) Ethernet oam configuration method and device
WO2007054011A1 (en) A method for switching the termination state in the media gateway
JP2010124421A (en) Telephone system and gateway therefor, and redundant switching method
US8737237B2 (en) Network fault detection method and apparatus
WO2008071060A1 (en) Net accessing optimization method, device and system for virtual media gateway
US7860090B2 (en) Method for processing LMP packets, LMP packet processing unit and LMP packet processing node
US20120135768A1 (en) Method and apparatus for processing release of connection resources
WO2009000123A1 (en) Method for a media gateway controller controlling a media gateway preempting circuit source
WO2012163164A1 (en) Gateway selection method and device
EP2618533B1 (en) Method and system for determining ip bearer optimization based on virtual media gateway
WO2009129712A1 (en) Method, media gateway and system for session state reporting
WO2009026757A1 (en) A call management system, method applied to ims terminals and the ims terminal
WO2009036697A1 (en) A method for reporting information of link abnormity
US8331258B2 (en) Method and device for responding to termination service state change indication
WO2006136098A1 (en) A call processing method
WO2007131421A1 (en) A method and device for playing the playback sound of failure
WO2011120384A1 (en) Method, device and system for achieving synchronization of user dynamic resources
CN100428825C (en) Method for recovering service data when service rearrangement / rollback in system of dual attributes
JP5342612B2 (en) Call control system and information redundancy method used for call control

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07855831

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 07855831

Country of ref document: EP

Kind code of ref document: A1