# Patent

## Title
Method, system and device for implementing interconnection between IP domains

## Abstract

A method, a system and a device for implementing interconnection between IP domains. The method mainly includes: first, the Media Gateway Controller (MGC) sends the IP domain information of the IP domain to which the media stream to be created pertains to the Media Gateway (MG) between IP domains; when the MG receives the IP domain information for creating the media stream from the MGC, the MG creates the corresponding media stream between the IP domains according to the IP domain information, thus implementing the interconnection between the IP domains.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
This application is a continuation of U.S. patent application Ser. No. 11/579,977, filed on Aug. 24, 2007, which is a National Stage of International Application No. PCT/CN2006/000863, filed on Apr. 29, 2006, which claims priority to Chinese Patent Application No. 200510069415.5, filed on Apr. 29, 2005. All of the afore-mentioned patent applications are hereby incorporated by reference in their entireties.


FIELD OF THE DISCLOSURE
The present disclosure relates to the field of network communication technology in general, and more specifically to a method, a system and a device for implementing interconnection between IP domains.
BACKGROUND OF THE DISCLOSURE
A network structure of Next Generation Network (NGN) is shown in FIG. 1, in which Media Gateway Controller (MGC) 110 and Media Gateways (MGs) 121, 122 are two key components in NGN. MGC provides the function of call control and MG provides the function of service bearing, thus the separation of Call Control Plan and Service Bearing Plan can be realized, network resources can be shared to full advantage, upgrading of devices and extending of service can be simplified, and the cost of development and maintenance can be reduced greatly.
Media gateway control protocols are primary communication protocols between MG and MGC, and at present, two media gateway control protocols widely used are H.248/MeGaCo (Gateway Control Protocol) and Media Gateway Control Protocol (MGCP). MGCP is drafted in October, 1999 and revised in January, 2003 by Internet Engineering Task Force (IETF), and H.248/MeGaCo is drafted in November, 2000 and revised in June, 2003 by IETF and International Telecommunication Union (ITU) jointly.
Take H.248 for example, all kinds of resources on MG are abstractly expressed as Terminations. Terminations can be divided into physical Terminations and ephemeral Terminations; the former represents physical entities with a half-permanent existence, such as a Time Division Multiplex (TDM) channel, while the latter represents common resources applied for use ephemerally and released after the duration of their use, such as Real-time Transport Protocol (RTP) streams. The association between Terminations is abstractly expressed as Context. The Context can involve a plurality of Terminations; therefore the Context describes the relationship between the Terminations in Topology.
Based on the abstract model of the protocol, connection of calls is actually manipulating of Terminations and Contexts. The manipulating is implemented through request and response of Commands between MGC and MG. The parameters carried by a Command are also called Descriptors, which are divided into several classes such as Property, Signal, Event, and Statistic Descriptors etc. The parameters with service correlation are logically converged into a Package.
The topological structure of Context defined by H.248 is not sensitive to the type of Termination itself, i.e. the Terminations composing a Context can be any physical Terminations (such as TDM channels) or ephemeral Terminations (such as RTP streams). With respect to a bidirectional media stream, common IP telephone service can be carried by interconnecting a TDM physical Termination and a RTP ephemeral Termination, local TDM telephone service can be carried by interconnecting two TDM physical Terminations, and IP-IP interconnection service can be carried by interconnecting two RTP ephemeral Terminations.
The original model of H.248 protocol is designed for MGC-MG control association inside a single IP domain. In general, a media stream is transferred between a TDM physical Termination and a RTP ephemeral Termination on common MGs. But in practical applications, besides the interconnecting of MGs under the control of MGC within respective IP domains, operators possibly need to realize interconnection between different IP domains with each other.
However, RTP streams over different IP domains need to be connected in series in the same Context to realize interconnection between IP domains; for this purpose, an MG creating a RTP stream needs to learn the information of the corresponding IP domain, so as to determine the direction of the media stream. This is to say, if the MG can not obtain the corresponding IP domain information, the RTP stream can not be created at all. At present, not any technological method can make an MG which is required to implement interconnection obtain IP domain information for creating RTP streams, i.e. at present, IP domain information for creating RTP streams can not be obtained on MG.
SUMMARY OF THE DISCLOSURE
The present disclosure aims to provide a method, a system and a device for implementing interconnection between IP domains, thus to realize the interconnection between IP domains in networks based on Media Gateway Control Protocol.
For implementing interconnection between IP domains by the present disclosure, the solutions are provided as follows.
In one respect of the present disclosure, there provides a method for implementing interconnection between IP domains, including:
A. a MG between the IP domains obtains IP domain information for creating a media stream by means of a message from a MGC;
B. the MG between the IP domains creates the corresponding media stream between the IP domains according to the IP domain information.
Optionally, the Step A includes:
A1. the MGC sends the IP domain information of the IP domain to which the media stream to be created by the MG pertains to the MG, and the MG obtains the IP domain information.
Optionally, in the Step A1, the MGC sending the IP domain information of the IP domain to which the media stream to be created by the MG pertains to the MG includes bearing the IP domain information in LocalControl Descriptor information and sending the LocalControl Descriptor information to the MG.
Optionally, in the Step A1, bearing the IP domain information in the LocalControl Descriptor includes bearing the IP domain information in extended Property of the LocalControl Descriptor; and the extended Property is defined in the LocalControl Descriptor directly or through the extended Package and Properties contained in the extended Package.
Optionally, the method further includes:
configuring a default value of the IP domain information on the MG.
Optionally, the Step A includes:
the IP domain information is in default when the MGC indicates the MG to create the media stream;
determining, by the MG, the IP domain information for creating the media stream according to the IP domain information corresponding to the default value configured in advance.
Optionally, the IP domain information is character string valued.
Optionally, in NGN the values of the IP domain information corresponding to the IP domains, which may interconnect with each other, are different from each other.
Optionally, the method further includes: in the Step A, when the IP domain information obtained from the MGC can not be identified by the MG, failing to create the media stream and returning error information to the MGC by the MG; and the Step B is not carried out.
Optionally, the error information is an error code.
In another aspect of the present disclosure, there provides a system for implementing interconnection between IP domains, including MGs between the IP domains and respective MGCs in the IP domains; each of the MGs and its MGC is configured with the IP domain information of adjacent IP domains that the MG relates to;
the MGCs each is used to send IP domain information of the IP domain to which a media stream to be created pertains to its MG when the media stream need to be created; and
the MGs each is used to create the corresponding media stream between the IP domains according to the IP domain information.
Optionally, any one of the MGCs sending the IP information required by its MG for creating the media stream includes bearing the IP domain information in LocalControl Descriptor information and sending the LocalControl Descriptor information to its MG.
Optionally, each of the MGs is configured with a default value of the IP domain information; in case that the IP domain information is in default when any one of the MGCs indicates its MG to create the media stream, determining, by the MG, the IP domain information for creating the media stream according to the IP domain information corresponding to the default value configured in advance.
In a further aspect of the present disclosure, there provides a device for implementing interconnection between IP domains. The device is configured with IP domain information of adjacent IP domains that the device relates to, and creates a media stream according to IP domain information when receiving a message which indicates creating the corresponding media stream and the IP domain information of the IP domain that the media stream to be created pertains to.
In yet another aspect of the present disclosure, there provides a device for implementing interconnection between IP domains. The device is configured with IP domain information of adjacent IP domains that an MG, which correlates with the device and is between the IP domains, relates to, and sends the IP domain information of the IP domain, to which a media stream to be created pertains, to the MG.
The implementation of the present disclosure enables the MG between the IP domains in NGN, between which interconnecting is needed, to obtain the IP domain information of the IP domain to which the media stream to be created by the MG pertains, thus ensuring the interconnection between the IP domains which need to interconnect with each other, and providing great convenience for network operation.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a schematic diagram illustrating the network structure of MG and MGC in NGN;
FIG. 2 is a schematic diagram illustrating the network structure for interconnection between IP domains in NGN;
FIG. 3 is a flow chart illustrating the method according to an embodiment of the present disclosure;
FIG. 4 is schematic diagram illustrating the procedure of creating a media stream according to an embodiment of the present disclosure.



DETAILED DESCRIPTION OF THE EMBODIMENTS
FIG. 2 shows a schematic diagram illustrating the network structure of interconnecting MG between IP domains in NGN, wherein MGi 230 is arranged between IP domain IPa 210 and IP domain IPb 220 between which interconnection is desired. There are MGCa 211 and MGa 212 arranged in IPa 210, and MGCb 221 and MGb 222 arranged in IPb 220. MG (MGi) 230 arranged between the IP domains between which interconnection is desired is called interconnecting MG across IP domains or IP-IP MG (MG between the IP domains), which differs from common MGs (MGa 212 and MGb 222) in that: common MGs play the role of User Network Interface (UNI), while the IP-IP MG plays the role of Network Network Interface (NNI). Accordingly, the media streams on the IP-IP MG are transferred between the corresponding ephemeral Terminations.
To realize the interconnecting of media streams across different IP domains, when creating a media stream, the IP-IP MG needs to learn the IP domain information of the IP domain that the media stream pertains to. Since there are generally different requirements on media streams in different IP domains, for example, different protocols (such as IPv4 and IPv6) are adopted in different IP domains, the IP-IP MG can create a media stream correctly only after learning the corresponding IP domain information. The key idea of the present disclosure is to carry the IP domain information required by the IP-IP MG through extended LocalControl Descriptor of H.248 protocol, so as to make it convenient for the IP-IP MG to obtain the IP domain information for creating media streams and to create the corresponding media streams accurately.
The present disclosure will be further understood from the following detailed description of the method of an embodiment of the present disclosure with reference to accompanying drawings.
As shown in FIG. 3, the method of an embodiment of the present disclosure specifically includes the following procedure:
Step 31: when an MGC determines to send an indication of creating a media stream to an MG, it determines the IP domain information of the IP domain that the media stream to be created pertains to;
The media stream may be a RTP media stream or any of other media streams.
In general, the MGC establishes a call connection for the purpose of creating a media stream between MGs; at that time, it is necessary to send an indication of creating a media stream to the MG by the MGC.
Corresponding IP domain information (such as IP domain identifiers, etc.) for different IP domains is configured on the MGC and the MG; and the IP domain information configured on the MGC is the same as that configured on the MG. When the MGC determines to send an indication of creating a media stream to the MG, it can obtain the IP domain information of the IP domain that the media stream to be created pertains to according to the configured information.
Step 32: The MGC transmits the IP domain information to the corresponding MG, informing the MG the IP domain to which the media stream to be created pertains;
The MGC can send the IP domain information to the MG with the IP domain information carried in the LocalControl Descriptor, and more specifically, the MGC can send the IP domain information to the MG with the IP domain information carried in an extended Property in the LocalControl Descriptor. The extended Property can be defined directly in the LocalControl Descriptor or defined through an extended Package and Properties of the extended Package.
Those skilled in the art should understand that the LocalControl Descriptor is a parameter of correlative messages relating to manipulating of the media stream; the correlative messages relating to manipulating of the media stream include but are not limited to messages such as Add, Modify, Move and the like.
Hereunder the LocalControl Descriptor mentioned above will be explained: when indicating the MG to add a Termination into a Context to create a media stream, the MGC generally describes the Properties of the Termination to be added in Descriptors such as LocalControl, Local, Remote and on the like; wherein the Local Descriptor describes encoding/decoding parameters of Local received (i.e., Remote sent) media streams; the Remote Descriptor describes encoding/decoding parameters of Remote received (i.e., Local sent) media streams, such as IP address and port, encoding/decoding algorithm and packaging duration, etc.; which parameters are organized in SDP (Session Description Protocol); the LocalControl Descriptor includes Mode, ReserveGroup and ReserveValue, and other Properties correlative with the media stream defined in the Package; wherein Mode describes the status of the media stream on the Termination with respect to the exterior of the Context, which can be send-only, receive-only, send-receive, inactive and loop-back; ReserveGroup and ReserveValue describe whether the resource for media stream encoding/decoding on the Termination shall be reserved; accordingly, in an embodiment of the present disclosure, a Property parameter of Realm (i.e., domain) can be extended into the LocalControl Descriptor of H.248 protocol for identifying the IP domain of the media stream carried by the Termination. The character string valued Property of IP domain information may be in the form of domain name, for example, “mynet.net”.
Of course, a Property functioning as the same as Realm can be defined in a H.248 protocol package through extending a Package of H.248 protocol, for being used in bearing in the LocalControl Descriptor the corresponding IP domain information to be sent to the MG.
As described above, the IP domain information (IP domain identifiers) needs to be provisioned in advance between the MGC and the MG, and different IP domains between which interconnection may be needed should have different IP domain identifiers. Of course, the provisioning procedure can be implemented by a number of specific ways, as long as the MGC and the MG each can understand the meaning of the IP domain identifiers, and the detailed description of which will be omitted here.
Step 33: after obtaining the IP domain information of the IP domain, to which the media stream to be created pertains, sent by the MGC, the MG creates the corresponding media stream according to the IP domain information.
Those skilled in the art should understand that the creating the corresponding media stream according to the IP domain information includes: determining source address, source port, destination address, destination port, and protocol type, etc. of the media stream to be created according to the IP domain information, and the detailed description of which will be omitted here.
After the corresponding media stream is created, the interconnection between the IP domains in NGN is realized.
Those skilled in the art should understand that when media streams from the MG to different IP domains are created successfully and connected in series through the MG, the interconnection between those IP domains is realized. The procedure of connecting media streams in series includes forwarding and necessary modification of the media streams, etc., and the detail description of which will be omitted here.
It should be noted that if the IP domain information sent by the MGC cannot be identified by the MG (for example, which exceeds the range previously provisioned between the MGC and the MG), the MG fails to create the media stream and return the corresponding error code to the MGC. Moreover, in case of a successful creating, the MG may return a response of success to the MGC.
Moreover, a relative default IP domain information also can be configured on the IP-IP MG in advance (the default IP domain information may do not differ from the common IP domain information); and if the Property of IP domain information is in default in the indication of creating media stream sent by the MGC, the MG operates with respect to the default IP domain.
In case of single IP, the IP domain to which the MG pertains can be directly took as the default.
FIG. 4 shows the method in practice use of creating RTP media streams according to an embodiment of the present disclosure. Two media streams are to be created by the interconnecting MG MGi 430 in FIG. 4, i.e., RTPa and RTPb. When MGC 440 indicates MGi 430 to create RTPa, it sends a LocalControl Descriptor with Realm=IPa.net (i.e., the IP domain information) to MGi 430. In this way, MGi 430 can learn the IP domain that the stream RTPa to be created pertains to is IPa.net, and then create the RTPa;
Those skilled in the art should understand that the MGC may be MGCa or MGCb, depending on by which MGC the MGi 430 is controlled. For example, the MGi is controlled subsequently by the MGC with which the MGi is registered.
In a similar way, RTPb can be created accordingly.
When a Context is established on MGi to interconnect Termination 1 with Termination 2 and the media streams RTPa and RTPb are created successfully, the interconnection between IP domains IPa 410 and IPb 420 is realized through MGi 430.
Referring to FIG. 2 again, in the system for implementing interconnection between IP domains of an embodiment of the present disclosure, MGi 230, MGCa 211 and MGCb 221 are configured with corresponding IP domain information respectively. When a media stream is to be created by MGi 230, the required IP domain information is sent by MGCa 211 or MGCb 221 to MGi 230; and then MGi 230 creates the media stream according to the IP domain information.
In a word, the embodiments of the present disclosure realize the interconnection between the IP domains in NGN between which interconnection is needed, thus to provide great convenience for network operation.
What mentioned above are just preferable embodiments of the present disclosure, which are not intended to limit the protection scope of the present disclosure. It is apparent that various modifications and substitutions in light thereof will be suggested to those skilled in the art easily and are to be included within the scope of the present disclosure defined by the appended claims.

## Claims

1. A method for cross-domain communications, the method comprising:
sending, by a Media Gateway Controller (MGC), domain information of a first Internet Protocol (IP) domain network and domain information of a second IP domain network, wherein the domain information of the first IP domain network and the domain information of the second IP domain network is each carried in a LocalControl Descriptor contained in a message from the MGC;
receiving, by an interconnecting Media Gateway (MG) positioned to connect the first IP domain network and the second IP domain network, domain information of the first IP domain network and domain information of the second IP domain network from the MGC;
creating, by the MG, a first media stream between the interconnecting MG and a first MG located in the first IP domain network according to the domain information of the first IP domain network;
creating, by the MG, a second media stream between the interconnecting MG and a second MG located in the second IP domain network according to the domain information of the second IP domain network; and
connecting, by the MG, the first media stream and the second media stream to form a data communication path between the first MG and the second MG.

2. The method of claim 1, wherein the domain information of the first IP domain network and the domain information of the second IP domain network are received from the MGC on the first IP domain network.

3. The method of claim 1, wherein the domain information of the first IP domain network and the domain information of the second IP domain network are received from the MGC on the second IP domain network.

4. The method of claim 1, wherein each of the domain information of the first IP domain network and the domain information of the second IP domain network is contained in a property of the LocalControl Descriptor.

5. The method of claim 1, wherein each of the domain information of the first IP domain network and the domain information of the second IP domain network is represented as a character string.

6. A system for implementing interconnection between Internet Protocol (IP) domains, the system comprising:
a Media Gateway Controller (MGC) configured to send domain information of a first IP domain network and domain information of a second IP domain network, wherein the domain information of the first IP domain network and the domain information of the second IP domain network is each carried in a LocalControl Descriptor contained in a message from the MGC; and
an interconnecting Media Gateway (MG) positioned to connect the first IP domain network and the second IP domain network and configured to:
receive domain information of the first IP domain network and domain information of the second IP domain network from the MGC;
create a first media stream between the interconnecting MG and a first MG located in the first IP domain network according to the domain information of the first IP domain network;
create a second media stream between the interconnecting MG and a second MG located in the second IP domain network according to the domain information of the second IP domain network; and
connect the first media stream and the second media stream to form a data communication path between the first MG and the second MG.

7. The system of claim 6, wherein the interconnecting MG is configured to receive the domain information of the first IP domain network and the domain information of the second IP domain network from the MGC on the first IP domain network.

8. The system of claim 6, wherein the interconnecting MG is configured to receive the domain information of the first IP domain network and the domain information of the second IP domain network from the MGC on the second IP domain network.

9. The system of claim 6, wherein each of the domain information of the first IP domain network and the domain information of the second IP domain network is contained in a property of the LocalControl Descriptor.

10. The system of claim 6, wherein each of the domain information of the first IP domain network and the domain information of the second IP domain network is represented as a character string.