JP5218085B2 - Gateway control device, gateway control method, and program - Google Patents
Gateway control device, gateway control method, and program Download PDFInfo
- Publication number
- JP5218085B2 JP5218085B2 JP2009008940A JP2009008940A JP5218085B2 JP 5218085 B2 JP5218085 B2 JP 5218085B2 JP 2009008940 A JP2009008940 A JP 2009008940A JP 2009008940 A JP2009008940 A JP 2009008940A JP 5218085 B2 JP5218085 B2 JP 5218085B2
- Authority
- JP
- Japan
- Prior art keywords
- count value
- request
- resource
- gateway device
- transaction information
- 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
Links
- 238000000034 method Methods 0.000 title claims description 58
- 238000012508 change request Methods 0.000 claims description 74
- 238000012217 deletion Methods 0.000 claims description 63
- 230000037430 deletion Effects 0.000 claims description 63
- 238000004891 communication Methods 0.000 claims description 59
- 230000004913 activation Effects 0.000 claims description 45
- 230000008054 signal transmission Effects 0.000 claims description 39
- 230000004044 response Effects 0.000 claims description 35
- 230000008859 change Effects 0.000 claims description 27
- 230000008569 process Effects 0.000 claims description 15
- 238000012545 processing Methods 0.000 claims description 11
- 238000010586 diagram Methods 0.000 description 15
- 230000005540 biological transmission Effects 0.000 description 6
- 238000006243 chemical reaction Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000001914 filtration Methods 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 2
- 238000013519 translation Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
Images
Landscapes
- Telephonic Communication Services (AREA)
Description
本発明は、通信装置を接続するゲートウェイ装置を制御するゲートウェイ制御装置、ゲートウェイ制御方法及びプログラムに関する。 The present invention relates to a gateway control apparatus, a gateway control method, and a program for controlling a gateway apparatus that connects communication apparatuses.
近年、複数の通信装置間で通信を行う際、当該通信装置がそれぞれ属するネットワークを互いに接続するゲートウェイ装置(以下、MG:Media Gatewayと称する)が用いられている。 In recent years, when communication is performed between a plurality of communication devices, a gateway device (hereinafter referred to as MG: Media Gateway) that connects networks to which the communication devices belong has been used.
ゲートウェイ装置は、ネットワークと接続された通信装置と、他のネットワークと接続された通信装置との間で通信を行う際、互いのネットワークを接続するために用いられる。ここでネットワークとは、既存の電話交換網やIP(Internet Protocol)網等のネットワークである。例えば、ゲートウェイ装置は、既存の電話交換網とIP網とを、また、既存の電話交換網と既存の電話交換網とを、また、IP網とIP網とを接続するために用いられる。 The gateway device is used to connect each other's network when performing communication between the communication device connected to the network and the communication device connected to another network. Here, the network is a network such as an existing telephone exchange network or an IP (Internet Protocol) network. For example, the gateway device is used to connect an existing telephone exchange network and an IP network, an existing telephone exchange network and an existing telephone exchange network, and an IP network and an IP network.
また、MGを制御するゲートウェイ制御装置(以下、MGC:Media Gateway Controlと称する)がMGと接続される。 In addition, a gateway control device (hereinafter referred to as MGC: Media Gateway Control) that controls the MG is connected to the MG.
このMGCとMGとの間では、H.248という通信プロトコルを用いて、MGCがMGを制御している(例えば、非特許文献1参照。)。 Between this MGC and MG, The MGC controls the MG using a communication protocol of H.248 (see, for example, Non-Patent Document 1).
図8は、MGおよびMGCを用いた一般的な通信システムの形態の一例を示す図である。 FIG. 8 is a diagram showing an example of a form of a general communication system using MG and MGC.
図8に示した通信システムは、SIPサーバ1000と、MGC2000と、MG3000と、端末4000,5000とから構成されている。
The communication system shown in FIG. 8 includes a
SIPサーバ1000は、通信プロトコルの1つであるSIP(Session Initiation Protocol)を利用して端末4000,5000の呼制御を行うサーバである。
The
端末4000は、通信機能を有する通信端末である。端末4000は、既存の電話交換網と接続された通信端末であっても良いし、IP網と接続された通信端末であっても良い。 Terminal 4000 is a communication terminal having a communication function. The terminal 4000 may be a communication terminal connected to an existing telephone exchange network or a communication terminal connected to an IP network.
端末5000は、通信機能を有する通信端末である。端末5000は、既存の電話交換網と接続された通信端末であっても良いし、IP網と接続された通信端末であっても良い。 The terminal 5000 is a communication terminal having a communication function. The terminal 5000 may be a communication terminal connected to an existing telephone exchange network, or may be a communication terminal connected to an IP network.
MG3000は、端末4000と端末5000とを接続する。ここで、端末4000と接続されたネットワークと端末5000と接続されたネットワークとが同種のネットワークである場合(例えば、双方が既存の電話交換網である場合や、双方がIP網である場合)、MG3000は、不正パケットのフィルタリング、帯域制限、優先度制御、NAPT(Network Address and Port Translation)変換等を行う。また、端末4000と接続されたネットワークと端末5000と接続されたネットワークとが異種のネットワークである場合(例えば、一方が既存の電話交換網であり、他方がIP網である場合)、MG3000は、既存の電話交換網のインタフェースとIP網のインタフェースとの変換を行う。 The MG 3000 connects the terminal 4000 and the terminal 5000. Here, when the network connected to the terminal 4000 and the network connected to the terminal 5000 are the same type of network (for example, when both are existing telephone exchange networks or when both are IP networks), The MG 3000 performs filtering of illegal packets, bandwidth limitation, priority control, NAPT (Network Address and Port Translation) conversion, and the like. When the network connected to the terminal 4000 and the network connected to the terminal 5000 are different networks (for example, when one is an existing telephone exchange network and the other is an IP network), the MG 3000 Conversion between the interface of the existing telephone exchange network and the interface of the IP network is performed.
MGC2000は、H.248のプロトコルを用いてMG3000を制御する。 MGC2000 is an H.264 standard. The MG3000 is controlled using the H.248 protocol.
以下に、図8に示した形態におけるゲートウェイ制御方法について説明する。 Below, the gateway control method in the form shown in FIG. 8 is demonstrated.
図9は、図8に示した形態におけるゲートウェイ制御方法を説明するためのシーケンス図である。 FIG. 9 is a sequence diagram for explaining the gateway control method in the form shown in FIG.
まず、MGC2000からMG3000へリソースの生成の要求をする場合、当該生成要求するために、トランザクション情報が生成される(ステップS51)。このトランザクション情報には固有の識別情報であるトランザクションID(Identification)が付与される。続いて、当該トランザクション情報がMGC2000内に記憶される(ステップS52)。 First, when a resource generation request is issued from the MGC 2000 to the MG 3000, transaction information is generated to request the generation (step S51). This transaction information is given a transaction ID (Identification) which is unique identification information. Subsequently, the transaction information is stored in the MGC 2000 (step S52).
そして、当該トランザクション情報に応じたリソースの生成を要求する生成要求(Add Request)がMGC2000からMG3000へ送信される(ステップS53)。 Then, a generation request (Add Request) for requesting generation of a resource according to the transaction information is transmitted from MGC2000 to MG3000 (step S53).
MGC2000から送信されてきた生成要求がMG3000にて受信されると、MG3000にてリソースが生成される(ステップS54)。このとき、当該リソースを識別するためのリソース識別情報であるContext IDが当該リソースに付与される。ここで付与されたContext IDを「1」とする。 When the generation request transmitted from MGC2000 is received by MG3000, a resource is generated by MG3000 (step S54). At this time, a Context ID that is resource identification information for identifying the resource is given to the resource. The Context ID assigned here is “1”.
そして、生成要求に対する生成応答(Add Reply)にContext ID=1が付与されてMG3000からMGC2000へ送信される(ステップS55)。 Then, Context ID = 1 is assigned to the generation response (Add Reply) to the generation request and transmitted from MG3000 to MGC2000 (step S55).
MG3000から送信されてきた生成応答に含まれるContext ID=1が、ステップS52にて記憶されたトランザクション情報に書き込まれる(追加される)。 Context ID = 1 included in the generation response transmitted from MG3000 is written (added) to the transaction information stored in step S52.
その後、Context ID=1のリソース状態の変更を要求する場合、当該変更要求するために、トランザクション情報が生成される(ステップS56)。このトランザクション情報には固有の識別情報であるトランザクションID(Identification)が付与される。また、変更を要求するリソースのContext ID=1が当該トランザクション情報に含まれる。続いて、当該トランザクション情報がMGC2000内に記憶される(ステップS57)。 Thereafter, when requesting a change of the resource state of Context ID = 1, transaction information is generated to request the change (step S56). This transaction information is given a transaction ID (Identification) which is unique identification information. The transaction information includes Context ID = 1 of the resource requesting the change. Subsequently, the transaction information is stored in the MGC 2000 (step S57).
そして、Context ID=1が含まれたリソース状態の変更を要求する変更要求(Modify Request)がMGC2000からMG3000へ送信される(ステップS58)。このリソース状態の変更要求は、通信先の電話のアドレスの変更要求や、リソースを一時的にクローズする要求等である。 Then, a change request (Modify Request) for requesting a change of the resource state including Context ID = 1 is transmitted from MGC2000 to MG3000 (step S58). This resource state change request is a request for changing the address of a communication destination telephone, a request for temporarily closing a resource, or the like.
MGC2000から送信されてきた変更要求がMG3000にて受信されると、変更要求に含まれるContext ID=1のリソース状態が変更される(ステップS59)。 When the change request transmitted from MGC2000 is received by MG3000, the resource status of Context ID = 1 included in the change request is changed (step S59).
そして、変更要求に対する変更応答(Modify Reply)にContext ID=1が付与されてMG3000からMGC2000へ送信される(ステップS60)。 Then, Context ID = 1 is assigned to the change response (Modify Reply) to the change request and transmitted from MG 3000 to MGC 2000 (step S60).
その後、Context ID=1のリソースの削除を要求する場合、当該削除要求するために、トランザクション情報が生成される(ステップS61)。このトランザクション情報には固有の識別情報であるトランザクションID(Identification)が付与される。また、削除を要求するリソースのContext ID=1が当該トランザクション情報に含まれる。続いて、当該トランザクション情報がMGC2000内に記憶される(ステップS62)。 Thereafter, when requesting deletion of the resource with Context ID = 1, transaction information is generated in order to request the deletion (step S61). This transaction information is given a transaction ID (Identification) which is unique identification information. The transaction information includes Context ID = 1 of the resource requesting deletion. Subsequently, the transaction information is stored in the MGC 2000 (step S62).
そして、Context ID=1が含まれたリソースの削除を要求する削除要求(Subtract Request)がMGC2000からMG3000へ送信される(ステップS63)。 Then, a deletion request (Subtract Request) for requesting deletion of the resource including Context ID = 1 is transmitted from MGC2000 to MG3000 (step S63).
MGC2000から送信されてきた削除要求がMG3000にて受信されると、削除要求に含まれるContext ID=1のリソースが削除される(ステップS64)。 When the deletion request transmitted from MGC2000 is received by MG3000, the resource with Context ID = 1 included in the deletion request is deleted (step S64).
そして、削除要求に対する削除応答(Subtract Reply)にContext ID=1が付与されてMG3000からMGC2000へ送信される(ステップS65)。これにより、MGC2000内でContext ID=1のリソースが削除されたことが認識できる。 Then, Context ID = 1 is assigned to the deletion response (Subtract Reply) in response to the deletion request, and is transmitted from MG3000 to MGC2000 (step S65). Thereby, it can be recognized that the resource with Context ID = 1 has been deleted in MGC2000.
ここで、MG3000に再開が発生した場合を考える。 Here, consider the case where resumption occurs in MG3000.
図10は、図8に示した形態においてMG3000に再開が発生した場合のゲートウェイ制御方法を説明するためのシーケンス図である。 FIG. 10 is a sequence diagram for explaining a gateway control method when resumption occurs in MG 3000 in the form shown in FIG.
まず、MGC2000からMG3000へリソースの生成の要求をする場合、当該生成要求するために、トランザクション情報が生成される(ステップS71)。このトランザクション情報には固有の識別情報であるトランザクションID(Identification)が付与される。続いて、当該トランザクション情報がMGC2000内に記憶される(ステップS72)。 First, when a resource generation request is issued from the MGC 2000 to the MG 3000, transaction information is generated to request the generation (step S71). This transaction information is given a transaction ID (Identification) which is unique identification information. Subsequently, the transaction information is stored in the MGC 2000 (step S72).
そして、当該トランザクション情報に応じたリソースの生成を要求する生成要求(Add Request)がMGC2000からMG3000へ送信される(ステップS73)。 Then, a generation request (Add Request) for requesting generation of a resource according to the transaction information is transmitted from MGC2000 to MG3000 (step S73).
MGC2000から送信されてきた生成要求がMG3000にて受信されると、MG3000にてリソースが生成される(ステップS74)。このとき、当該リソースを識別するためのリソース識別情報であるContext IDが当該リソースに付与される。ここで付与されたContext IDを「1」とする。 When the generation request transmitted from MGC2000 is received by MG3000, a resource is generated by MG3000 (step S74). At this time, a Context ID that is resource identification information for identifying the resource is given to the resource. The Context ID assigned here is “1”.
そして、生成要求に対する生成応答(Add Reply)にContext ID=1が付与されてMG3000からMGC2000へ送信される(ステップS75)。 Then, Context ID = 1 is assigned to the generation response (Add Reply) for the generation request and transmitted from MG3000 to MGC2000 (step S75).
MG3000から送信されてきた生成応答に含まれるContext ID=1が、ステップS72にて記憶されたトランザクション情報に書き込まれる(追加される)。 Context ID = 1 included in the generation response transmitted from MG3000 is written (added) to the transaction information stored in step S72.
その後、MG3000にて再開が発生した場合(ステップS76)、再開が発生した旨を示す起動通知(Service Change Request)がMG3000からMGC2000へ送信される(ステップS77)。この再開時、MG3000にて管理されている払い出し(リソースに付与)中のContext IDのリスト情報がすべてクリアされる。つまり、ステップS74にて生成されたリソースに付与されたContext ID「1」についても、払い出し中のContext IDには該当しなくなる。 Thereafter, when resumption occurs in MG3000 (step S76), a start notification (Service Change Request) indicating that resumption has occurred is transmitted from MG3000 to MGC2000 (step S77). At the time of the restart, all the list information of the Context ID that is being managed (assigned to the resource) managed by the MG 3000 is cleared. That is, the Context ID “1” assigned to the resource generated in step S74 does not correspond to the Context ID being paid out.
さらにその後、MGC2000からMG3000へリソースの生成の要求をする場合、リソースの生成を要求する生成要求(Add Request)がMGC2000からMG3000へ送信される(ステップS78)。ここで、ステップS71のトランザクション情報生成処理およびステップS72のトランザクション情報記憶処理も行われるが、説明は割愛する。 After that, when a resource generation request is issued from MGC2000 to MG3000, a generation request (Add Request) for requesting resource generation is transmitted from MGC2000 to MG3000 (step S78). Here, the transaction information generation process in step S71 and the transaction information storage process in step S72 are also performed, but the description thereof is omitted.
MGC2000から送信されてきた生成要求がMG3000にて受信されると、リソースが生成される(ステップS79)。このとき、当該リソースを識別するためのリソース識別情報であるContext IDが当該リソースに付与される。ここで付与されたContext IDを「1」とする。 When the generation request transmitted from MGC 2000 is received by MG 3000, a resource is generated (step S79). At this time, a Context ID that is resource identification information for identifying the resource is given to the resource. The Context ID assigned here is “1”.
ここで、Context ID=1に相当するリソースは、ステップS76にて発生した再開によって、ステップS74にて生成されたリソースではなく、ステップS79にて生成されたリソースとなっている。 Here, the resource corresponding to Context ID = 1 is not the resource generated in step S74 but the resource generated in step S79 due to the restart generated in step S76.
その後、MGC2000からステップS74にて生成されたリソースの削除を要求する場合、ステップS74にて生成されたリソースをについてContext ID=1を指定して削除要求が送信される(ステップS80)。
Thereafter, when requesting deletion of the resource generated in step S74 from the
MGC2000から送信されてきた削除要求がMG3000にて受信されると、Context ID=1に相当するリソースは、ステップS79にて生成されているリソースとなっているため、ステップS79にて生成されたリソースが削除される(ステップS81)。 When the deletion request transmitted from MGC2000 is received by MG3000, the resource corresponding to Context ID = 1 is the resource generated in step S79, so the resource generated in step S79. Is deleted (step S81).
そして、生成要求に対する生成応答(Add Reply)にContext ID=1が付与されてMG3000からMGC2000へ送信される(ステップS82)。また、削除要求に対する変更応答(Subtract Reply)にContext ID=1が付与されてMG3000からMGC2000へ送信される(ステップS83)。 Then, Context ID = 1 is assigned to the generation response (Add Reply) to the generation request and transmitted from MG3000 to MGC2000 (step S82). Further, Context ID = 1 is assigned to the change response (Subtract Reply) in response to the deletion request and transmitted from MG3000 to MGC2000 (step S83).
この状態では、ステップS80にて送信された削除要求に対して削除されたContext ID=1に相当するリソースは、ステップS79にて生成されたリソースである。それにもかかわらず、MGC2000は、ステップS80にて送信された削除要求に対して削除されたContext ID=1に相当するリソースは、ステップS74にて生成されたリソースであると誤認識してしまう。 In this state, the resource corresponding to Context ID = 1 deleted in response to the deletion request transmitted in step S80 is the resource generated in step S79. Nevertheless, MGC2000 misrecognizes that the resource corresponding to Context ID = 1 deleted in response to the deletion request transmitted in step S80 is the resource generated in step S74.
このように、MG3000に再開が発生した場合、MGC2000が認識しているリソースのContext ID情報とMG3000が認識しているリソースのContext ID情報との間で、食い違いが生じてしまうという問題点がある。
As described above, when resumption occurs in the
この問題は、要求信号の再送時にも生じるものである。 This problem also occurs when a request signal is retransmitted.
例えば、削除要求が送信された後、一定期間応答が無い場合に当該削除要求が再送されるが、その送信から再送までの間にMG3000の再開が発生すると、送信時に指定したContext IDが、再送時にはクリアされてしまっている。 For example, after a deletion request is transmitted, the deletion request is retransmitted when there is no response for a certain period of time. However, when MG3000 restarts between the transmission and the retransmission, the Context ID specified at the time of transmission is retransmitted. Sometimes it has been cleared.
このような問題を解決するために、MGC2000にてMG3000から再開を示す起動通知が受信された場合、MGC2000にて保持しているContext ID情報をクリアさせる方法が一般的に用いられている。
In order to solve such a problem, a method of clearing the Context ID information held in the
しかし、Context ID情報をクリアさせるには、クリア処理が行われている間は、他の処理を行うことができなくなり、サービス停止期間が生じてしまうという問題点がある。 However, in order to clear the Context ID information, there is a problem that during the clear process, other processes cannot be performed, and a service stop period occurs.
本発明は、上述した課題を解決するゲートウェイ制御装置、ゲートウェイ制御方法及びプログラムを提供することを目的とする。 It is an object of the present invention to provide a gateway control device, a gateway control method, and a program that solve the above-described problems.
本発明のゲートウェイ制御装置は、
通信装置を接続するゲートウェイ装置を制御するゲートウェイ制御装置であって、
前記ゲートウェイ装置から該ゲートウェイ装置が起動した旨を示す起動通知を受信した回数をカウントする起動回数カウント部と、
前記ゲートウェイ装置のリソース状態の変更を要求する変更要求またはリソースの削除を要求する削除要求を、該ゲートウェイ装置にて該リソースを生成する際に該リソースを識別するために与えられたリソース識別情報を指定して該ゲートウェイ装置へ送信する要求信号送信部と、
前記要求信号送信部が前記変更要求または前記削除要求を送信する際に、該変更要求または該削除要求するリソースのリソース識別情報と、その時点で前記起動回数カウント部が示しているカウント値である第1のカウント値とを含んだトランザクション情報を生成するトランザクション情報管理部と、
前記トランザクション情報を記憶する記憶部と、
前記要求信号送信部から送信された変更要求または削除要求に対して前記ゲートウェイ装置から応答信号が送信されてこない場合、該変更要求または該削除要求を送信する際に前記トランザクション情報管理部が生成したトランザクション情報に含まれる前記第1のカウント値と、その時点で前記起動回数カウント部が示しているカウント値である第2のカウント値とを比較する比較部とを有し、
前記要求信号送信部は、前記比較部における比較の結果、前記第1のカウント値と前記第2のカウント値とが同じである場合、前記変更要求または前記削除要求を再送し、
前記トランザクション情報管理部は、前記比較部における比較の結果、前記第1のカウント値と前記第2のカウント値とが異なる場合、該トランザクション情報を前記記憶部から削除する。
The gateway control device of the present invention
A gateway control device for controlling a gateway device for connecting a communication device,
An activation number counting unit that counts the number of times an activation notification indicating that the gateway device is activated from the gateway device;
Resource identification information given to identify the resource when the gateway device generates the change request for requesting the change of the resource state of the gateway device or the deletion request for deleting the resource. A request signal transmission unit for designating and transmitting to the gateway device;
When the request signal transmission unit transmits the change request or the deletion request, resource identification information of the change request or the resource requested to be deleted, and a count value indicated by the activation number counting unit at that time A transaction information management unit that generates transaction information including the first count value;
A storage unit for storing the transaction information;
When the response signal is not transmitted from the gateway device to the change request or the deletion request transmitted from the request signal transmission unit, the transaction information management unit generates the change request or the deletion request when transmitting the change request. A comparison unit that compares the first count value included in the transaction information with a second count value that is a count value indicated by the activation number counting unit at that time;
The request signal transmission unit resends the change request or the deletion request when the first count value and the second count value are the same as a result of the comparison in the comparison unit,
The transaction information management unit deletes the transaction information from the storage unit when the first count value and the second count value are different as a result of the comparison by the comparison unit.
また、本発明のゲートウェイ制御方法は、
通信装置を接続するゲートウェイ装置を制御するゲートウェイ制御方法であって、
前記ゲートウェイ装置から該ゲートウェイ装置が起動した旨を示す起動通知を受信した回数をカウントする処理と、
前記ゲートウェイ装置のリソース状態の変更を要求する変更要求またはリソースの削除を要求する削除要求を、該ゲートウェイ装置にて該リソースを生成する際に該リソースを識別するために与えられたリソース識別情報を指定して該ゲートウェイ装置へ送信する処理と、
前記変更要求または前記削除要求を送信する際に、該変更要求または該削除要求するリソースのリソース識別情報と、その時点で前記カウントしているカウント値である第1のカウント値とを含んだトランザクション情報を生成する処理と、
前記送信された変更要求または削除要求に対して前記ゲートウェイ装置から応答信号が送信されてこない場合、該変更要求または該削除要求を送信する際に前記生成したトランザクション情報に含まれる前記第1のカウント値と、その時点で前記カウントしているカウント値である第2のカウント値とを比較する処理と、
該比較の結果、前記第1のカウント値と前記第2のカウント値とが同じである場合、前記変更要求または前記削除要求を再送する処理と、
該比較の結果、前記第1のカウント値と前記第2のカウント値とが異なる場合、前記トランザクション情報を解放する処理とを有する。
The gateway control method of the present invention
A gateway control method for controlling a gateway device for connecting communication devices,
A process of counting the number of times the activation notification indicating that the gateway device has been activated is received from the gateway device;
Resource identification information given to identify the resource when the gateway device generates the change request for requesting the change of the resource state of the gateway device or the deletion request for deleting the resource. Processing to designate and transmit to the gateway device;
When transmitting the change request or the deletion request, a transaction including resource identification information of the resource requesting the change request or the deletion request and a first count value that is the count value counted at that time Processing to generate information;
When a response signal is not transmitted from the gateway device to the transmitted change request or deletion request, the first count included in the generated transaction information when transmitting the change request or the deletion request A process of comparing a value with a second count value that is the count value being counted at that time;
As a result of the comparison, when the first count value and the second count value are the same, a process of resending the change request or the deletion request;
As a result of the comparison, when the first count value and the second count value are different, processing for releasing the transaction information is included.
また、本発明のプログラムは、
通信装置を接続するゲートウェイ装置を制御するゲートウェイ制御装置に実行させるためのプログラムであって、
前記ゲートウェイ装置から該ゲートウェイ装置が起動した旨を示す起動通知を受信した回数をカウントする手順と、
前記ゲートウェイ装置のリソース状態の変更を要求する変更要求またはリソースの削除を要求する削除要求を、該ゲートウェイ装置にて該リソースを生成する際に該リソースを識別するために与えられたリソース識別情報を指定して該ゲートウェイ装置へ送信する手順と、
前記変更要求または前記削除要求を送信する際に、該変更要求または該削除要求するリソースのリソース識別情報と、その時点で前記カウントしているカウント値である第1のカウント値とを含んだトランザクション情報を生成する手順と、
前記送信された変更要求または削除要求に対して前記ゲートウェイ装置から応答信号が送信されてこない場合、該変更要求または該削除要求を送信する際に前記生成したトランザクション情報に含まれる前記第1のカウント値と、その時点で前記カウントしているカウント値である第2のカウント値とを比較する手順と、
該比較の結果、前記第1のカウント値と前記第2のカウント値とが同じである場合、前記変更要求または前記削除要求を再送する手順と、
該比較の結果、前記第1のカウント値と前記第2のカウント値とが異なる場合、前記トランザクション情報を解放する手順とを実行させる。
The program of the present invention is
A program for causing a gateway control device that controls a gateway device to connect a communication device to execute,
A procedure for counting the number of times of reception of an activation notification indicating that the gateway device has been activated from the gateway device;
Resource identification information given to identify the resource when the gateway device generates the change request for requesting the change of the resource state of the gateway device or the deletion request for deleting the resource. A procedure for designating and transmitting to the gateway device;
When transmitting the change request or the deletion request, a transaction including resource identification information of the resource requesting the change request or the deletion request and a first count value that is the count value counted at that time A procedure for generating information,
When a response signal is not transmitted from the gateway device to the transmitted change request or deletion request, the first count included in the generated transaction information when transmitting the change request or the deletion request A procedure for comparing a value with a second count value that is the count value being counted at that time;
As a result of the comparison, if the first count value and the second count value are the same, a procedure for resending the change request or the deletion request;
As a result of the comparison, when the first count value and the second count value are different, a procedure for releasing the transaction information is executed.
以上説明したように本発明においては、通信装置を接続するゲートウェイ装置から起動通知を受信した回数をカウントし、ゲートウェイ装置のリソースの変更要求または削除要求を、リソース識別情報を指定してゲートウェイ装置へ送信し、変更要求または削除要求を送信する際に、リソース識別情報と、その時点でカウントしている第1のカウント値とを含んだトランザクション情報を生成し、送信された変更要求または削除要求に対してゲートウェイ装置から応答信号が送信されてこない場合、第1のカウント値と、その時点でカウントしている第2のカウント値とが同じである場合、変更要求または削除要求を再送し、第1のカウント値と第2のカウント値とが異なる場合、トランザクション情報を解放する構成としたため、ゲートウェイ装置の再開後に集中的なサービス停止期間の発生を防ぐことができる。 As described above, in the present invention, the number of times the activation notification is received from the gateway device connected to the communication device is counted, and the resource change request or the deletion request of the gateway device is designated to the gateway device by specifying the resource identification information. When transmitting the change request or the deletion request, transaction information including the resource identification information and the first count value counted at that time is generated, and the transmitted change request or deletion request On the other hand, when the response signal is not transmitted from the gateway device, when the first count value is the same as the second count value counted at that time, the change request or the deletion request is retransmitted, When the count value of 1 is different from the second count value, the configuration is such that the transaction information is released. It is possible to prevent the occurrence of intensive services stop period after resumption of Lee device.
以下に、本発明の実施の形態について図面を用いて説明する。 Embodiments of the present invention will be described below with reference to the drawings.
図1は、本発明のゲートウェイ制御装置の実施の一形態を示す図である。 FIG. 1 is a diagram showing an embodiment of a gateway control apparatus of the present invention.
本形態は図1に示すように、SIPサーバ100と、MGC200と、MG300と、端末400,500とから構成されている。
As shown in FIG. 1, this embodiment includes a
SIPサーバ100は、通信プロトコルの1つであるSIP(Session Initiation Protocol)を利用して端末400,500の呼制御を行うサーバである。
The
端末400は、通信機能を有する通信端末である。端末400は、既存の電話交換網と接続された通信端末であっても良いし、IP網と接続された通信端末であっても良い。 The terminal 400 is a communication terminal having a communication function. The terminal 400 may be a communication terminal connected to an existing telephone exchange network, or may be a communication terminal connected to an IP network.
端末500は、通信機能を有する通信端末である。端末500は、既存の電話交換網と接続された通信端末であっても良いし、IP網と接続された通信端末であっても良い。 The terminal 500 is a communication terminal having a communication function. The terminal 500 may be a communication terminal connected to an existing telephone exchange network or a communication terminal connected to an IP network.
MG300は、端末400と端末500とを接続する。ここで、端末400と接続されたネットワークと端末500と接続されたネットワークとが同種のネットワークである場合(例えば、双方が既存の電話交換網である場合や、双方がIP網である場合)、MG300は、不正パケットのフィルタリング、帯域制限、優先度制御、NAPT(Network Address and Port Translation)変換等を行う。また、端末400と接続されたネットワークと端末500と接続されたネットワークとが異種のネットワークである場合(例えば、一方が既存の電話交換網であり、他方がIP網である場合)、MG300は、既存の電話交換網のインタフェースとIP網のインタフェースとの変換を行う。
MGC200は、H.248のプロトコルを用いてMG300を制御するゲートウェイ制御装置である。
MGC200 is H.264. This is a gateway control device that controls the
図2は、図1に示したMGC200の内部構成の一例を示す図である。
FIG. 2 is a diagram showing an example of the internal configuration of
図1に示したMGC200には図2に示すように、SIPサーバ通信部201と、MG通信部202と、起動回数カウント部203と、要求信号送信部204と、トランザクション情報管理部205と、記憶部206と、比較部207と、タイマ208とが設けられている。
As shown in FIG. 2, the
SIPサーバ通信部201は、図1に示したSIPサーバ100と通信を行う。
The SIP
MG通信部202は、図1に示したMG300と通信を行う。また、MG通信部202は、MG300から送信されてきた応答信号に付与されたリソースを識別するためのリソース識別情報であるContext IDをトランザクション情報管理部205へ出力する。また、MG通信部202は、MG300が再開(起動)した際に送信されてくる起動通知であるService Change Requestを起動回数カウント部203へ出力する。また、MG通信部202は、要求信号送信部204から出力された要求(生成、変更、削除)信号をMG300へ送信する。また、MG通信部202は、要求信号送信部204から出力された要求信号に対する応答信号がMG300から送信されてきた場合、その旨を要求信号送信部204へ通知する。
The
起動回数カウント部203は、MG通信部202からService Change Requestが出力されてきた回数をカウントするカウンタである。また、起動回数カウント部203は、カウントした回数であるカウント値をトランザクション情報管理部205へ出力する。
The activation
要求信号送信部204は、MG300に対して、比較部207から出力された比較結果に基づいて、リソースの生成を要求する生成要求(Add Request)、リソースの状態の変更を要求する変更要求(Modify Request)、リソースの削除を要求する削除要求(Subtract Request)の要求信号を生成してMG通信部202を介してMG300へ送信する。また、変更要求または削除要求を送信する場合、記憶部206に記憶されているContext IDを付与して要求信号を生成する。また、要求信号送信部204は、これら要求信号を送信した際、タイマ208を起動する。
Based on the comparison result output from the
トランザクション情報管理部205は、要求信号送信部204が要求信号を生成した際に、当該要求信号に応じたトランザクション情報を生成して記憶部206へ書き込む。また、トランザクション情報管理部205は、MG通信部202から出力されてきたContext IDを記憶部206に記憶されている相応のトランザクション情報に追加する。また、起動回数カウント部203から出力されたカウント値を記憶部206に記憶されている相応のトランザクション情報に追加する。
When the request
記憶部206は、トランザクション情報管理部205によって書き込まれたトランザクション情報を記憶する。
The
比較部207は、タイマ208から比較指示が出力されてきた際に、記憶部206に記憶されている相応のトランザクション情報に含まれるカウント値(第1のカウント値)と、起動回数カウント部203が示すカウント値(第2のカウント値)とを比較する。また、比較部207は、当該比較の結果を要求信号送信部204へ出力する。
When the comparison instruction is output from the
タイマ208は、要求信号送信部204によって起動されたときからあらかじめ設定された時間を計る時計である。また、要求信号送信部204によって起動されたときからあらかじめ設定された時間が経過したときに、比較部207へ比較指示を出力する。
The
図3は、図1に示したMG300にて管理しているContext ID情報のリストの一例を示す図である。
FIG. 3 is a diagram showing an example of a list of Context ID information managed by the
図1に示したMG300では図3に示すように、払い出し中(使用中)のリソースのContext IDがリストアップされている。
In the
例えば、図3に示すように、「0001」と「0003」と「0010」と「0015」とがリストアップされている。これは、「0001」、「0003」、「0010」および「0015」であるContext IDはすでに使用されていることを示している。 For example, as shown in FIG. 3, “0001”, “0003”, “0010”, and “0015” are listed. This indicates that Context IDs “0001”, “0003”, “0010”, and “0015” are already used.
図4は、図2に示したトランザクション情報管理部205にて生成されるトランザクション情報の一例を示す図である。
FIG. 4 is a diagram showing an example of transaction information generated by the transaction
図2に示したトランザクション情報管理部205にて生成されるトランザクション情報は図4に示すように、当該トランザクション情報を識別するためのトランザクション識別情報であるTransaction ID、そのリソースを付与したMGを識別するためのMG識別情報であるMG ID、MG300から付与された(払い出された)Context ID、タイマ情報、接続回数等が含まれている。
As shown in FIG. 4, the transaction information generated by the transaction
ここでタイマ情報は、再送に用いる時間等を示す情報である。 Here, the timer information is information indicating the time used for retransmission.
また、接続回数は、当該トランザクション情報が生成されたときの起動回数カウント部203が示すカウント値である。
The connection count is a count value indicated by the activation
以下に、本形態におけるゲートウェイ制御方法について説明する。ここで、上述した要求信号送信部204から要求信号を送信した旨が通知されたときからあらかじめ設定された時間を「T」とする。また、すでにリソースが生成されており、生成されたリソースの状態の変更を要求する場合を例に挙げて説明する。
Below, the gateway control method in this form is demonstrated. Here, a time set in advance from when the request
図5は、本形態におけるゲートウェイ制御方法の第1の例を示すシーケンス図である。この第1の例では、変更要求が送信されてから、時間「T」が経過するまで、MG300が再開しなかった場合を例に挙げて説明する。
FIG. 5 is a sequence diagram illustrating a first example of the gateway control method according to the present embodiment. In this first example, a case will be described as an example where the
まず、MG300にて再開が発生すると(ステップS1)、再開が発生した旨を示す起動通知(Service Change Request)がMG300からMGC200へ送信される(ステップS2)。
First, when resumption occurs in MG 300 (step S1), a start notification (Service Change Request) indicating that resumption has occurred is transmitted from
すると、起動回数カウント部203が示すカウント値が、1つカウントアップされる(ステップS3)。
Then, the count value indicated by the activation
その後、リソース状態の変更を要求する場合、当該変更要求するために、トランザクション情報がトランザクション情報管理部205にて生成される(ステップS4)。このトランザクション情報には固有の識別情報であるトランザクションID(Identification)が付与される。このとき、起動回数カウント部203が示しているカウント値が当該トランザクション情報に含まれる。また、変更を要求するリソースのContext IDが当該トランザクション情報に含まれる。続いて、当該トランザクション情報がトランザクション情報管理部205によって記憶部206に記憶される(ステップS5)。
Thereafter, when requesting a change of the resource state, transaction information is generated by the transaction
そして、変更するリソースのリソース識別情報であるContext IDが含まれたリソース状態の変更を要求する変更要求(Modify Request)が、要求信号送信部204からMG通信部202を介してMG300へ送信される(ステップS6)。
Then, a change request (Modify Request) for requesting a change of the resource state including the Context ID that is the resource identification information of the resource to be changed is transmitted from the request
この送信の際、要求信号送信部204によってタイマ208が起動する。
At the time of this transmission, the
ここで、要求信号送信部204からMG通信部202を介してMG300へ送信された変更要求に対する応答信号が、何らかの原因で送信されてこないまま時間「T(タイマ208にて計時)」が経過した場合、起動回数カウント部203が示しているカウント値と、当該トランザクション情報に含まれるカウント値とが比較部207にて比較される(ステップS7)。
Here, the time “T (timed by the timer 208)” has passed without a response signal to the change request transmitted from the request
比較の結果、ここでは、起動回数カウント部203が示しているカウント値と、当該トランザクション情報に含まれるカウント値とが同じであるため、要求信号送信部204から当該変更要求がMG通信部202を介してMG300へ再送される(ステップS8)。
As a result of the comparison, here, since the count value indicated by the activation
図6は、本形態におけるゲートウェイ制御方法の第2の例を示すシーケンス図である。この第2の例では、変更要求が送信されてから、時間「T」が経過するまでの間に、MG300が再開した場合を例に挙げて説明する。
FIG. 6 is a sequence diagram illustrating a second example of the gateway control method according to the present embodiment. In the second example, a case will be described as an example where the
まず、MG300にて再開が発生すると(ステップS11)、再開が発生した旨を示す起動通知(Service Change Request)がMG300からMGC200へ送信される(ステップS12)。
First, when resumption occurs in the MG 300 (step S11), a startup notification (Service Change Request) indicating that resumption has occurred is transmitted from the
すると、起動回数カウント部203が示すカウント値が、1つカウントアップされる(ステップS13)。
Then, the count value indicated by the activation
その後、リソース状態の変更を要求する場合、当該変更要求するために、トランザクション情報がトランザクション情報管理部205にて生成される(ステップS14)。このトランザクション情報には固有の識別情報であるトランザクションID(Identification)が付与される。このとき、起動回数カウント部203が示しているカウント値が当該トランザクション情報に含まれる。また、変更を要求するリソースのContext IDが当該トランザクション情報に含まれる。続いて、当該トランザクション情報がトランザクション情報管理部205によって記憶部206に記憶される(ステップS15)。
Thereafter, when requesting a change of the resource state, transaction information is generated by the transaction
そして、変更するリソースのリソース識別情報であるContext IDが含まれたリソース状態の変更を要求する変更要求(Modify Request)が、要求信号送信部204からMG通信部202を介してMG300へ送信される(ステップS16)。
Then, a change request (Modify Request) for requesting a change of the resource state including the Context ID that is the resource identification information of the resource to be changed is transmitted from the request
この送信の際、要求信号送信部204によってタイマ208が起動する。
At the time of this transmission, the
ここで、タイマ208が起動してから時間「T(タイマ208にて計時)」が経過するまでの間に、MG300にて再開が発生すると(ステップS17)、再開が発生した旨を示す起動通知(Service Change Request)がMG300からMGC200へ送信される(ステップS18)。
Here, if resumption occurs in the
すると、起動回数カウント部203が示すカウント値が、1つカウントアップされる(ステップS19)。
Then, the count value indicated by the activation
ここで、要求信号送信部204からMG通信部202を介してMG300へ送信された変更要求に対する応答信号が、何らかの原因で送信されてこないまま時間「T(タイマ208にて計時)」が経過した場合、起動回数カウント部203が示しているカウント値と、当該トランザクション情報に含まれるカウント値とが比較部207にて比較される(ステップS20)。
Here, the time “T (timed by the timer 208)” has passed without a response signal to the change request transmitted from the request
比較の結果、ここでは、起動回数カウント部203が示しているカウント値と、当該トランザクション情報に含まれるカウント値とが異なるため、当該トランザクション情報が記憶部206から削除(解放)される(ステップS21)。つまり、当該トランザクション情報に含まれるContext IDがMGC200にて管理(使用中であると認識)されなくなる。
As a result of the comparison, here, since the count value indicated by the activation
図7は、本形態におけるゲートウェイ制御方法の第3の例を示すシーケンス図である。この第3の例では、変更要求が送信されてから最初の時間「T」が経過するまで、MG300が再開せず、その後、変更要求が再送されてから、時間「T」が経過するまでの間に、MG300が再開した場合を例に挙げて説明する。
FIG. 7 is a sequence diagram showing a third example of the gateway control method according to the present embodiment. In this third example, the
まず、MG300にて再開が発生すると(ステップS31)、再開が発生した旨を示す起動通知(Service Change Request)がMG300からMGC200へ送信される(ステップS32)。
First, when resumption occurs in MG 300 (step S31), a start notification (Service Change Request) indicating that resumption has occurred is transmitted from
すると、起動回数カウント部203が示すカウント値が、1つカウントアップされる(ステップS33)。
Then, the count value indicated by the activation
その後、リソース状態の変更を要求する場合、当該変更要求するために、トランザクション情報がトランザクション情報管理部205にて生成される(ステップS34)。このトランザクション情報には固有の識別情報であるトランザクションID(Identification)が付与される。このとき、起動回数カウント部203が示しているカウント値が当該トランザクション情報に含まれる。また、変更を要求するリソースのContext IDが当該トランザクション情報に含まれる。続いて、当該トランザクション情報がトランザクション情報管理部205によって記憶部206に記憶される(ステップS35)。
Thereafter, when requesting a change of the resource state, transaction information is generated by the transaction
そして、変更するリソースのリソース識別情報であるContext IDが含まれたリソース状態の変更を要求する変更要求(Modify Request)が、要求信号送信部204からMG通信部202を介してMG300へ送信される(ステップS36)。
Then, a change request (Modify Request) for requesting a change of the resource state including the Context ID that is the resource identification information of the resource to be changed is transmitted from the request
この送信の際、要求信号送信部204によってタイマ208が起動する。
At the time of this transmission, the
ここで、要求信号送信部204からMG通信部202を介してMG300へ送信された変更要求に対する応答信号が、何らかの原因で送信されてこないまま時間「T(タイマ208にて計時)」が経過した場合、起動回数カウント部203が示しているカウント値と、当該トランザクション情報に含まれるカウント値とが比較部207にて比較される(ステップS37)。
Here, the time “T (timed by the timer 208)” has passed without a response signal to the change request transmitted from the request
比較の結果、ここでは、起動回数カウント部203が示しているカウント値と、当該トランザクション情報に含まれるカウント値とが同じであるため、要求信号送信部204から当該変更要求がMG通信部202を介してMG300へ再送される(ステップS38)。
As a result of the comparison, here, since the count value indicated by the activation
この送信の際、要求信号送信部204によってタイマ208が再度「0」から起動する。
At the time of this transmission, the request
ここで、タイマ208が起動してから時間「T(タイマ208にて計時)」が経過するまでの間に、MG300にて再開が発生すると(ステップS39)、再開が発生した旨を示す起動通知(Service Change Request)がMG300からMGC200へ送信される(ステップS40)。
Here, if resumption occurs in the
すると、起動回数カウント部203が示すカウント値が、1つカウントアップされる(ステップS41)。
Then, the count value indicated by the activation
ここで、要求信号送信部204からMG通信部202を介してMG300へ送信された変更要求に対する応答信号が、何らかの原因で送信されてこないまま時間「T(タイマ208にて計時)」が経過した場合、起動回数カウント部203が示しているカウント値と、当該トランザクション情報に含まれるカウント値とが比較部207にて比較される(ステップS42)。
Here, the time “T (timed by the timer 208)” has passed without a response signal to the change request transmitted from the request
比較の結果、ここでは、起動回数カウント部203が示しているカウント値と、当該トランザクション情報に含まれるカウント値とが異なるため、当該トランザクション情報が記憶部206から削除(解放)される(ステップS43)。つまり、当該トランザクション情報に含まれるContext IDがMGC200にて管理(使用中であると認識)されなくなる。
As a result of the comparison, here, since the count value indicated by the
なお、上述したリソースの変更要求のほかに、リソースの生成要求やリソースの削除要求の再送についても同じ処理を行う。 In addition to the resource change request described above, the same processing is performed for resending a resource generation request and a resource deletion request.
以上説明したように、MGC200内で管理(認識)しているリソース情報のうち、MG300の再開前に送信した要求信号をMG300再開後に再送した要求信号に係るリソースのリソース情報のみを削除するため、集中的なサービス停止期間の発生を防ぐことができる。
As described above, in order to delete only the resource information of the resource related to the request signal retransmitted after the
なお、上述したMGC200の処理は、目的に応じて作製された論理回路で行うようにしても良い。また、処理内容を記述したプログラムをMGC200にて読取可能な記録媒体に記録し、この記録媒体に記録されたプログラムをMGC200に読み込ませ、実行するものであっても良い。MGC200にて読取可能な記録媒体とは、フロッピーディスク(登録商標)、光磁気ディスク、DVD、CDなどの移設可能な記録媒体の他、MGC200に内蔵されたROM、RAM等のメモリやHDD等を指す。この記録媒体に記録されたプログラムは、MGC200内のCPUにて読み込まれ、CPUの制御によって、上述したものと同様の処理が行われる。ここで、CPUは、プログラムが記録された記録媒体から読み込まれたプログラムを実行するコンピュータとして動作するものである。
Note that the above-described processing of the
100 SIPサーバ
200 MGC
201 SIPサーバ通信部
202 MG通信部
203 起動回数カウント部
204 要求信号送信部
205 トランザクション情報管理部
206 記憶部
207 比較部
208 タイマ
300 MG
400,500 端末
100
201 SIP
400,500 terminals
Claims (13)
前記ゲートウェイ装置から該ゲートウェイ装置が起動した旨を示す起動通知を受信した回数をカウントする起動回数カウント部と、
前記ゲートウェイ装置のリソース状態の変更を要求する変更要求またはリソースの削除を要求する削除要求を、該ゲートウェイ装置にて該リソースを生成する際に該リソースを識別するために与えられたリソース識別情報を指定して該ゲートウェイ装置へ送信する要求信号送信部と、
前記要求信号送信部が前記変更要求または前記削除要求を送信する際に、該変更要求または該削除要求するリソースのリソース識別情報と、その時点で前記起動回数カウント部が示しているカウント値である第1のカウント値とを含んだトランザクション情報を生成するトランザクション情報管理部と、
前記トランザクション情報を記憶する記憶部と、
前記要求信号送信部から送信された変更要求または削除要求に対して前記ゲートウェイ装置から応答信号が送信されてこない場合、該変更要求または該削除要求を送信する際に前記トランザクション情報管理部が生成したトランザクション情報に含まれる前記第1のカウント値と、その時点で前記起動回数カウント部が示しているカウント値である第2のカウント値とを比較する比較部とを有し、
前記要求信号送信部は、前記比較部における比較の結果、前記第1のカウント値と前記第2のカウント値とが同じである場合、前記変更要求または前記削除要求を再送し、
前記トランザクション情報管理部は、前記比較部における比較の結果、前記第1のカウント値と前記第2のカウント値とが異なる場合、該トランザクション情報を前記記憶部から削除するゲートウェイ制御装置。 A gateway control device for controlling a gateway device for connecting a communication device,
An activation number counting unit that counts the number of times an activation notification indicating that the gateway device is activated from the gateway device;
Resource identification information given to identify the resource when the gateway device generates the change request for requesting the change of the resource state of the gateway device or the deletion request for deleting the resource. A request signal transmission unit for designating and transmitting to the gateway device;
When the request signal transmission unit transmits the change request or the deletion request, resource identification information of the change request or the resource requested to be deleted, and a count value indicated by the activation number counting unit at that time A transaction information management unit that generates transaction information including the first count value;
A storage unit for storing the transaction information;
When the response signal is not transmitted from the gateway device to the change request or the deletion request transmitted from the request signal transmission unit, the transaction information management unit generates the change request or the deletion request when transmitting the change request. A comparison unit that compares the first count value included in the transaction information with a second count value that is a count value indicated by the activation number counting unit at that time;
The request signal transmission unit resends the change request or the deletion request when the first count value and the second count value are the same as a result of the comparison in the comparison unit,
The transaction information management unit is a gateway control device that deletes the transaction information from the storage unit when the first count value and the second count value are different as a result of the comparison by the comparison unit.
前記比較部は、前記要求信号送信部が前記変更要求または前記削除要求を送信してから所定の時間を経過するまでに、前記応答信号が前記ゲートウェイ装置から送信されてこない場合、前記比較を行うことを特徴とするゲートウェイ制御装置。 The gateway control device according to claim 1,
The comparison unit performs the comparison when the response signal is not transmitted from the gateway device until a predetermined time elapses after the request signal transmission unit transmits the change request or the deletion request. A gateway control device.
前記要求信号送信部は、前記ゲートウェイ装置へ前記リソースの生成を要求する生成要求を該ゲートウェイ装置へ送信し、
前記トランザクション情報管理部は、前記要求信号送信部が前記生成要求を送信する際に、その時点で前記起動回数カウント部が示しているカウント値である第1のカウント値を含んだトランザクション情報を生成し、
前記比較部は、前記要求信号送信部から送信された生成要求に対して前記ゲートウェイ装置から応答信号が送信されてこない場合、該生成要求を送信する際に前記トランザクション情報管理部が生成したトランザクション情報に含まれる第1のカウント値と、その時点で前記起動回数カウント部が示しているカウント値である第2のカウント値とを比較し、
前記要求信号送信部は、前記比較部における比較の結果、前記第1のカウント値と前記第2のカウント値とが同じである場合、前記生成要求を再送することを特徴とするゲートウェイ制御装置。 The gateway control device according to claim 1,
The request signal transmission unit transmits a generation request for requesting generation of the resource to the gateway device, to the gateway device,
When the request signal transmission unit transmits the generation request, the transaction information management unit generates transaction information including a first count value that is a count value indicated by the activation count counting unit at that time And
The comparison unit generates transaction information generated by the transaction information management unit when transmitting the generation request when a response signal is not transmitted from the gateway device in response to the generation request transmitted from the request signal transmission unit. The first count value included in the second count value, which is the count value indicated by the activation number counting unit at that time,
The request signal transmission unit retransmits the generation request when the first count value and the second count value are the same as a result of comparison in the comparison unit.
前記起動回数カウント部は、前記起動通知を受信した際、前記カウント値を1つカウントアップすることを特徴とするゲートウェイ制御装置。 The gateway control device according to claim 1,
The gateway control device, wherein the activation count counting unit increments the count value by one when receiving the activation notification.
当該ゲートウェイ制御装置と、前記ゲートウェイ装置との間の信号の送受信は、H.248のプロトコルに従うことを特徴とするゲートウェイ制御装置。 In the gateway control device according to any one of claims 1 to 4,
Signal transmission / reception between the gateway control device and the gateway device is performed in H.264. 248. The gateway control apparatus according to the H.248 protocol.
前記ゲートウェイ装置から該ゲートウェイ装置が起動した旨を示す起動通知を受信した回数をカウントする処理と、
前記ゲートウェイ装置のリソース状態の変更を要求する変更要求またはリソースの削除を要求する削除要求を、該ゲートウェイ装置にて該リソースを生成する際に該リソースを識別するために与えられたリソース識別情報を指定して該ゲートウェイ装置へ送信する処理と、
前記変更要求または前記削除要求を送信する際に、該変更要求または該削除要求するリソースのリソース識別情報と、その時点で前記カウントしているカウント値である第1のカウント値とを含んだトランザクション情報を生成する処理と、
前記送信された変更要求または削除要求に対して前記ゲートウェイ装置から応答信号が送信されてこない場合、該変更要求または該削除要求を送信する際に前記生成したトランザクション情報に含まれる前記第1のカウント値と、その時点で前記カウントしているカウント値である第2のカウント値とを比較する処理と、
該比較の結果、前記第1のカウント値と前記第2のカウント値とが同じである場合、前記変更要求または前記削除要求を再送する処理と、
該比較の結果、前記第1のカウント値と前記第2のカウント値とが異なる場合、前記トランザクション情報を解放する処理とを有するゲートウェイ制御方法。 A gateway control method for controlling a gateway device for connecting communication devices,
A process of counting the number of times the activation notification indicating that the gateway device has been activated is received from the gateway device;
Resource identification information given to identify the resource when the gateway device generates the change request for requesting the change of the resource state of the gateway device or the deletion request for deleting the resource. Processing to designate and transmit to the gateway device;
When transmitting the change request or the deletion request, a transaction including resource identification information of the resource requesting the change request or the deletion request and a first count value that is the count value counted at that time Processing to generate information;
When a response signal is not transmitted from the gateway device to the transmitted change request or deletion request, the first count included in the generated transaction information when transmitting the change request or the deletion request A process of comparing a value with a second count value that is the count value being counted at that time;
As a result of the comparison, when the first count value and the second count value are the same, a process of resending the change request or the deletion request;
A gateway control method comprising: processing for releasing the transaction information when the first count value and the second count value are different as a result of the comparison.
前記変更要求または前記削除要求を送信してから所定の時間を経過するまでに、前記応答信号が前記ゲートウェイ装置から送信されてこない場合、前記比較を行う処理を有することを特徴とするゲートウェイ制御方法。 The gateway control method according to claim 6, wherein
A gateway control method comprising a process of performing the comparison when the response signal is not transmitted from the gateway device until a predetermined time elapses after the change request or the deletion request is transmitted. .
前記ゲートウェイ装置へ前記リソースの生成を要求する生成要求を該ゲートウェイ装置へ送信する処理と、
前記生成要求を送信する際に、その時点で前記カウントしているカウント値である第1のカウント値を含んだトランザクション情報を生成する処理と、
前記送信された生成要求に対して前記ゲートウェイ装置から応答信号が送信されてこない場合、該生成要求を送信する際に前記生成したトランザクション情報に含まれる第1のカウント値と、その時点で前記カウントしているカウント値である第2のカウント値とを比較する処理と、
該比較の結果、前記第1のカウント値と前記第2のカウント値とが同じである場合、前記生成要求を再送する処理とを有することを特徴とするゲートウェイ制御方法。 The gateway control method according to claim 6, wherein
Processing for transmitting a generation request for requesting generation of the resource to the gateway device;
When transmitting the generation request, a process of generating transaction information including a first count value that is the count value counted at that time;
When a response signal is not transmitted from the gateway device in response to the generated generation request, a first count value included in the generated transaction information when transmitting the generation request, and the count at that time A process of comparing the second count value, which is the count value being
As a result of the comparison, when the first count value and the second count value are the same, the gateway control method includes a process of resending the generation request.
前記起動通知を受信した際、前記カウント値を1つカウントアップする処理を有することを特徴とするゲートウェイ制御方法。 The gateway control method according to claim 6, wherein
A gateway control method comprising a process of incrementing the count value by one when the activation notification is received.
前記ゲートウェイ装置から該ゲートウェイ装置が起動した旨を示す起動通知を受信した回数をカウントする手順と、
前記ゲートウェイ装置のリソース状態の変更を要求する変更要求またはリソースの削除を要求する削除要求を、該ゲートウェイ装置にて該リソースを生成する際に該リソースを識別するために与えられたリソース識別情報を指定して該ゲートウェイ装置へ送信する手順と、
前記変更要求または前記削除要求を送信する際に、該変更要求または該削除要求するリソースのリソース識別情報と、その時点で前記カウントしているカウント値である第1のカウント値とを含んだトランザクション情報を生成する手順と、
前記送信された変更要求または削除要求に対して前記ゲートウェイ装置から応答信号が送信されてこない場合、該変更要求または該削除要求を送信する際に前記生成したトランザクション情報に含まれる前記第1のカウント値と、その時点で前記カウントしているカウント値である第2のカウント値とを比較する手順と、
該比較の結果、前記第1のカウント値と前記第2のカウント値とが同じである場合、前記変更要求または前記削除要求を再送する手順と、
該比較の結果、前記第1のカウント値と前記第2のカウント値とが異なる場合、前記トランザクション情報を解放する手順とを実行させるためのプログラム。 In the gateway control device that controls the gateway device that connects the communication device,
A procedure for counting the number of times of reception of an activation notification indicating that the gateway device has been activated from the gateway device;
Resource identification information given to identify the resource when the gateway device generates the change request for requesting the change of the resource state of the gateway device or the deletion request for deleting the resource. A procedure for designating and transmitting to the gateway device;
When transmitting the change request or the deletion request, a transaction including resource identification information of the resource requesting the change request or the deletion request and a first count value that is the count value counted at that time A procedure for generating information,
When a response signal is not transmitted from the gateway device to the transmitted change request or deletion request, the first count included in the generated transaction information when transmitting the change request or the deletion request A procedure for comparing a value with a second count value that is the count value being counted at that time;
As a result of the comparison, if the first count value and the second count value are the same, a procedure for resending the change request or the deletion request;
A program for executing a procedure of releasing the transaction information when the first count value and the second count value are different as a result of the comparison.
前記変更要求または前記削除要求を送信してから所定の時間を経過するまでに、前記応答信号が前記ゲートウェイ装置から送信されてこない場合、前記比較を行う手順を実行させるためのプログラム。 The program according to claim 10, wherein
A program for executing a procedure for performing the comparison when the response signal is not transmitted from the gateway device until a predetermined time elapses after the change request or the deletion request is transmitted.
前記ゲートウェイ装置へ前記リソースの生成を要求する生成要求を該ゲートウェイ装置へ送信する手順と、
前記生成要求を送信する際に、その時点で前記カウントしているカウント値である第1のカウント値を含んだトランザクション情報を生成する手順と、
前記送信された生成要求に対して前記ゲートウェイ装置から応答信号が送信されてこない場合、該生成要求を送信する際に前記生成したトランザクション情報に含まれる第1のカウント値と、その時点で前記カウントしているカウント値である第2のカウント値とを比較する手順と、
該比較の結果、前記第1のカウント値と前記第2のカウント値とが同じである場合、前記生成要求を再送する手順とを実行させるためのプログラム。 The program according to claim 10, wherein
A procedure for transmitting to the gateway device a generation request for requesting the gateway device to generate the resource;
A procedure for generating transaction information including a first count value, which is the count value being counted at that time, when transmitting the generation request;
When a response signal is not transmitted from the gateway device in response to the generated generation request, a first count value included in the generated transaction information when transmitting the generation request, and the count at that time Comparing the second count value, which is the count value being
A program for executing a procedure for retransmitting the generation request when the first count value and the second count value are the same as a result of the comparison.
前記起動通知を受信した際、前記カウント値を1つカウントアップする手順を実行させるためのプログラム。 The program according to claim 10, wherein
A program for executing a procedure for counting up the count value by one when the activation notification is received.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009008940A JP5218085B2 (en) | 2009-01-19 | 2009-01-19 | Gateway control device, gateway control method, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009008940A JP5218085B2 (en) | 2009-01-19 | 2009-01-19 | Gateway control device, gateway control method, and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2010166495A JP2010166495A (en) | 2010-07-29 |
| JP5218085B2 true JP5218085B2 (en) | 2013-06-26 |
Family
ID=42582287
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2009008940A Expired - Fee Related JP5218085B2 (en) | 2009-01-19 | 2009-01-19 | Gateway control device, gateway control method, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5218085B2 (en) |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003078567A (en) * | 2001-09-05 | 2003-03-14 | Nippon Telegr & Teleph Corp <Ntt> | Distributed highly-reliable communication system, control device therefor, fault detection method, program therefor, and recording medium |
| CN1283070C (en) * | 2004-09-10 | 2006-11-01 | 华为技术有限公司 | Monitoring method of media gateway controller state |
-
2009
- 2009-01-19 JP JP2009008940A patent/JP5218085B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2010166495A (en) | 2010-07-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP2079024A1 (en) | Proxy server, communication system, communication method, and program | |
| US20110153809A1 (en) | Legal Intercept | |
| KR20170036735A (en) | Synthetic transactions between communication endpoints | |
| WO2016131172A1 (en) | Method and device for updating network service descriptor | |
| JP5716795B2 (en) | Service control apparatus, service control system and method | |
| CN103036729A (en) | System and method for opening network capability, and relevant network element | |
| CN108737484B (en) | Media data storage method and system | |
| WO2014079371A1 (en) | Video data transmission method, apparatus and communication device | |
| JP5218086B2 (en) | Gateway control device, gateway control method, and program | |
| CN101047752B (en) | Ip telephone system | |
| JP5218085B2 (en) | Gateway control device, gateway control method, and program | |
| US10873609B2 (en) | Method of controlling a session related to a service | |
| CN108111964B (en) | Method and device for executing transmission strategy | |
| CN110248138B (en) | Method and device for audio and video conference | |
| JP4926250B2 (en) | Method, system, and network entity for obtaining session description protocol capability information | |
| WO2012000337A1 (en) | Method and device for implementing voice signaling tracking | |
| CN109120578A (en) | A kind of method and device for realizing link connection processing | |
| JP5050908B2 (en) | Media gateway device and event transmission method used therefor | |
| JP2008306375A (en) | VoIP-GW equipment | |
| CN114726923B (en) | Service calling method and related device | |
| WO2005025143A1 (en) | Method of detecting the status of a media gateway controller by a media gateway | |
| KR100898734B1 (en) | Initial access method and system between media server and application server for call processing service | |
| CN116346256B (en) | Method, device, equipment and medium for controlling BFD information transmission with transfer and control separation | |
| JP5305533B2 (en) | Communication test equipment | |
| KR100400351B1 (en) | A METHOD FOR TRANSMITTING CDR(Call Detail Report) PACKET BETWEEN GATEWAY AND CDR SERVER |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20111208 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130124 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20130205 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130218 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20160315 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |