The present disclosure relates to a media gateway device and a media path setting method.
A media path set to provide a Voice over IP (VoIP) service is first generated as a session using a Session Initiation Protocol (SIP) call control signal. For the generated session, media resources required for data transmission and reception are assigned using a band control signal of a Media Gateway Control Protocol (Megaco) described in Non Patent Literature 1. Thus, a plurality of protocol signals are used in a series of sequences, thereby increasing a management burden.
Therefore, Patent Literature 1 describes a packet extraction device that binds an SIP signal and a signaling transport (SIGTRAN) signal via a Megaco signal for ensuring a call path in order to extract a series of sequences between different protocols even when there is no information that can be identified as the same corresponding call between the SIP signal and the SIGTRAN signal.
Non Patent Literature 1: The Telecommunication Technology Committee, “JT-H248.1 Media Gateway Control Protocol”, [online], Jun. 1, 2006, [Retrieved on Jul. 9, 2018], Internet <URL: https://www.ttc.or.jp/jp/document_list/pdf/j/STD/JT-H248.1v2.pdf>
Patent Literature 1: JP 2014-175975 A
A media gateway (MG) is a device that relays data on a media path set between terminals on different communication networks. The media gateway is responsible for relaying between different types of networks, such as relaying a terminal accommodated in a Public Switched Telephone Network (PSTN) and a terminal accommodated in an IP network.
Here, the following information is registered in setting data 91c of the MGC 91, for example.
The same termination ID as the termination ID generated by the MGC 91 using a logic of the MGC 91 is set in setting data 92c of the MG 92 for a media path 98 such as a VoIP channel.
Here, in order to set, as one Context, the media path 98 to be set between the phone 94a and the phone 94b via the MG 92, it is necessary for an interface on the PSTN 93a side through which the media path 98 passes and an interface on the IP network 93b side through which the same media path 98 passes to be appropriately mapped as the setting data 92c in the MG 92.
However, the termination ID, which is setting data for mapping the interface, may not be managed by the MGC 91, and is a parameter in which a setting error is likely to occur. Because the MGC 91 logically performs management of media resources, the MGC 91 does not explicitly perform management of each termination ID in the setting data 91c and may automatically generate the termination ID from another setting data parameter.
Meanwhile, the MG 92 needs to handle physical position information of the interface in the MG 92, and thus, the termination ID for each interface and the media resources are associated with each other and managed using the setting data 92c. Because the MGC 91 has no physical position information of the interface in the MG 92, processing of assigning the termination ID cannot be automated.
Therefore, in an actual operation, a maintenance person manually prepares a complex setting sheet as the setting data 92c. To prevent a setting error of the termination ID in this setting sheet, the maintenance person checks (collates) a consistency between content of the setting sheet and control content from the MGC 91 in advance.
Therefore, setting the termination ID requires a great deal of work. Because there are actually as many media paths 98 as a huge number of voice channels used by a telecom carrier, the work of setting media resources for these media paths 98 increases the number of operations of construction workers.
Thus, a main object of the present disclosure is to reduce a burden of setting of a media path in a media gateway.
In order to solve the problem, a media gateway device of the present disclosure has the following characteristics.
The present disclosure is a media gateway device for relaying data on a media path set between terminals of a plurality of communication networks, the media gateway device including a first interface for connecting to a first network among the plurality of communication networks, a second interface for connecting to a second network among the plurality of communication networks, and a test command issuing unit configured to establish, when a mapping between the first interface and the second interface is set by first setting data for associating a media path ID in the first interface with a termination ID in the first interface and second setting data for associating a media path ID in the second interface with a termination ID in the second interface, a test call for a first media path passing through the first interface and the second interface based on the mapping and test, by assigning a resource to the first media path that is established, whether data transmission and reception are possible on the first media path that is established.
Thus, when the mapping between the first setting data and the second setting data is inappropriate, data cannot be transmitted and received on the media path and the mapping fails the test. Therefore, setting content of the termination ID and the media path ID in the media gateway is automatically tested, which makes it possible to reduce a burden of a maintenance person manually checking the setting content.
In the present disclosure, the test command issuing unit changes, when data transmission and reception are unsuccessful on the first media path that is established, the mapping between the first interface and the second interface to another untested combination, and then, again, establishes a test call for a second media path and tests, by assigning a resource to the second media path that is established, whether data transmission and reception are possible on the second media path that is established.
This allows the test command issuing unit to automatically set a mapping separate from a mapping that has failed in the test so that mappings that pass the test are sequentially tried in a round robin. Thus, even if a maintenance person does not manually input a correct mapping, a correct mapping is automatically set.
According to the present disclosure, it is possible to reduce a burden of setting the media path in the media gateway.
Hereinafter, an embodiment of the present disclosure will be described in detail with reference to the drawings.
The media communication system includes an MGC 3, an MG 1 controlled from the MGC 3, a switch 2a connected to the MGC 3 via a common channel network 5a, and a switch 2b connected to the MGC 3 via a common channel network 5b. Further, the MG 1 is connected to the switch 2a via a PSTN 4.
The media gateway device (MG) 1 is configured as a transfer device exemplified by a router or the like. The transfer device exemplified by a router or the like includes a Central Processing Unit (CPU), a memory, a storage part (storage unit) exemplified by a hard disk, a non-volatile memory, or a solid state drive (SSD), and a network interface.
This computer operates a control unit (a control part) configured of each processing unit by the CPU executing a program (also referred to as an application, or an app that is an abbreviation thereof) read into the memory.
The MG 1 includes a plurality of STM interface units 11a, 11b, . . . (hereinafter collectively referred to as an STM interface unit 11), a plurality of media protocol conversion units 12a, 12b, . . . (hereinafter collectively referred to as a media protocol conversion unit 12), and a test command issuing unit 13. The plurality of STM interface units 11 are first interfaces on the PSTN 4 side as a first network. The media protocol conversion unit 12 is a second interface on the IP network (an IP network 93b in
A media path 8a passes through the switch 2a, the STM interface unit 11a in the MG 1, and the media protocol conversion unit 12a in the MG 1.
First setting data associates a media path ID and a termination ID both in the STM interface unit 11.
Second setting data associates a media path ID and a termination ID both in the media protocol conversion unit 12 (see
As many termination IDs as the media resources (for example, media path IDs of 400 ch) that can be handled by each STM interface unit 11 are registered in the first setting data.
As many termination IDs as the media resources (for example, media path IDs of 400 ch) that can be handled by each media protocol conversion units 12 are registered in the second setting data.
An in-MG mapping 14a in
An in-MG mapping 14b in
Hereinafter, the in-MG mapping 14a in
Referring back to
That is, the in-MG mapping 14a transitions from a “provisional path setting” state prior to a test by the test command issuing unit 13 to an “after path setting” state after the test passes by the test command issuing unit 13.
However, a media path 8b cannot establish a session between the switch 2a and the media protocol conversion unit 12a. This is because, although the media path 8b passes through the STM interface unit 11a, the in-MG mapping 14b does not associate the STM interface unit 11a. Thus, because data exchange is unsuccessful between the switch 2a and the media protocol conversion unit 12a, the test command issuing unit 13 determines that the continuity test has failed.
Hereinafter, details of the continuity test by the test command issuing unit 13 will be described with reference to
In S11, the test command issuing unit 13 issues a test command to the switch 2a to perform a continuity test for a test call with the media path 8a in
Details of the test command are implemented, for example, as a sequence of an LooP Trunk (LPT) incoming test (loopback test) in JJ-90.10 Inter-Carrier Interface based on ISUP “http://www.ttc.or.jp/jp/document_list/pdf/j/STD/JJ-90.10v7.1.pdf” of a TTC standard.
In S12, the switch 2a receives the test command and requests the MGC 3 to call the media path 8a to the media protocol conversion unit 12a. This allows a session of the media path 8a to be established.
In S13, the MGC 3 receives the test command and secures media resources for the media path 8a established in S12. That is, the termination ID of the STM interface unit 11 and the termination ID of the media protocol conversion unit 12 are set as one Context in a Megaco signal, so that the media path 8a is established as a call path between the PSTN 4 and the IP network.
In S14, using the media path 8a in which the media resources are secured, the switch 2a transmits and receives a bit pattern for a test to and from the media protocol conversion unit 12a.
In S15, the switch 2a successfully transmits and receives the bit pattern using the media path 8a, and thus, replies to the test command issuing unit 13 with a test call result indicating that the continuity test has passed. This allows the media path 8a that has passed the continuity test to become available. Thereafter, when the media path 8a is used immediately, the media path 8a may be used as is, or when an opportunity for use of the media path 8a is in the future, the secured resources may be released and a test call for the media path 8a may be disconnected. The case in which the continuity test passes has been described with reference to
First, respective processing of S11 to S14 in
As S15b in
In S16, the test command issuing unit 13 issues a change command to replace the media path 8b for the test call with the media path 8a. The STM interface unit 11 receiving this change command changes the in-MG mapping 14b to the in-MG mapping 14a to replace the media path 8b with the media path 8a (the state after path setting).
An example of a determination of the in-MG mapping 14 to which the test command issuing unit 13 changes the in-MG mapping 14b may include a method of sequentially testing a combination of the untested in-MG mapping 14 (that is, a combination of the STM interface unit 11 and the media protocol conversion unit 12) in a round robin.
The respective processing (re-continuity test) of S21 to S25 in
The in-MG mapping 14a in which a combination of the first setting data of the STM interface unit 11a and the second setting data of the media protocol conversion unit 12a is correctly designated passes the continuity test as illustrated in
The in-MG mapping 14b in which a combination of the first setting data of the STM interface unit 11b and the second setting data of the media protocol conversion unit 12a is correctly designated fails the continuity test as illustrated in
The test command issuing unit 13 receives the continuity test result for the untested in-MG mapping 14, and changes the continuity test result from “untested” to “pass” or “fail”. This allows the test command issuing unit 13 to appropriately set the in-MG mapping 14 in which the continuity test result is not “pass”, as a test target.
The embodiment described above is mainly characterized in that the MG 1 includes the test command issuing unit 13 for avoiding a control error caused by a setting error of the in-MG mapping 14b through the continuity test.
The test command issuing unit 13 transmits a test command to the switch 2a to issue a test call, so that an LPT incoming test of the media path 8b is executed between the switch 2a and the MG 1. The test command issuing unit 13 changes the in-MG mapping 14b to the in-MG mapping 14a based on a result of the test to set the media path from the media path 8b to the media path 8a again. Thus, the test command issuing unit 13 changes the in-MG mapping 14 until the continuity test passes.
Thus, automatic setting of the media path 8a allows the control error caused by the setting error of the in-MG mapping 14b to be avoided and a number of work operations in pre-setting work and setting work to be reduced.
On the other hand, in the known art, the maintenance person has manually set the first setting data in the STM interface unit 11 and the second setting data in the media protocol conversion unit 12 as path setting work for associating the termination IDs of the same media path IDs with each other. A test for confirming the validity of each of the first setting data and the second setting data is also performed manually by the maintenance person as separate work. Therefore, the number of work operations that is a burden for the maintenance person is appropriately reduced through processing of concurrent execution of automated processing of the path setting and the continuity test by the test command issuing unit 13 of the embodiment.
Although the MG 1 according to the present disclosure issues the test command from the PSTN 4 to the switch 2a as illustrated in
1 MG (media gateway device)
4 PSTN (first network)
5a, 5b Common channel network
8a, 8b Media path
11 STM interface unit (first interface)
12 Media protocol conversion unit (second interface)
13 Test command issuing unit
14a, 14b In-MG mapping
Number | Date | Country | Kind |
---|---|---|---|
2018-149873 | Aug 2018 | JP | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2019/029476 | 7/26/2019 | WO | 00 |