JP2010206454A - Tcp connection method, call control unit, and communication system - Google Patents

Tcp connection method, call control unit, and communication system Download PDF

Info

Publication number
JP2010206454A
JP2010206454A JP2009049020A JP2009049020A JP2010206454A JP 2010206454 A JP2010206454 A JP 2010206454A JP 2009049020 A JP2009049020 A JP 2009049020A JP 2009049020 A JP2009049020 A JP 2009049020A JP 2010206454 A JP2010206454 A JP 2010206454A
Authority
JP
Japan
Prior art keywords
tcp connection
call control
tcp
control device
call
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.)
Granted
Application number
JP2009049020A
Other languages
Japanese (ja)
Other versions
JP4828615B2 (en
Inventor
Makoto Ise
誠 伊勢
Ko Harada
高 原田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2009049020A priority Critical patent/JP4828615B2/en
Publication of JP2010206454A publication Critical patent/JP2010206454A/en
Application granted granted Critical
Publication of JP4828615B2 publication Critical patent/JP4828615B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To lighten processing loads associated with establishment and disconnection of TCP connection, and to prevent interruption of calls by alternative means on detection of faults. <P>SOLUTION: A call control unit 2a actively sets first TCP connection that can be controlled independently of the call for each opposing call control unit 2b, and passively sets second TCP connection actively set by the call control unit 2b. The call control unit 2a continuously monitors whether the first TCP connection is normal, closes the TCP connection and notifies a high-order application of occurrence of faults in the detection of the faults, and transmits and receives a signal of the high-order application that has already been set via the second TCP connection. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、IP(Internet Protocol;インターネット・プロトコル)ネットワークにおけるTCP(Transport Control Protocol;伝送制御プロトコル)を用いた接続技術に関し、特にTCP接続方法と、このTCP接続方法を実行する呼制御装置及び通信システムに関する。   The present invention relates to a connection technology using a TCP (Transport Control Protocol) in an IP (Internet Protocol) network, and more particularly to a TCP connection method, a call control apparatus and a communication for executing the TCP connection method. About the system.

例えばインターネットのようなネットワークにおいてTCPは、IPを下位プロトコルとして、各種のアプリケーションのデータを伝送するために用いられている。TCPによるデータ伝送では、相手側からの確認応答のパケットを受信しない限り、ウィンドウサイズと呼ばれるデータ量を超えて連続して相手側にデータを送信できないので、データ伝送のスループットのさらなる向上のために、従来から、送信側と受信側との間で複数のTCPコネクションを設定してこれらのTCPコネクションを用いてデータを並列に伝送することも行われている。   For example, in a network such as the Internet, TCP is used for transmitting data of various applications using IP as a lower protocol. In TCP data transmission, unless an acknowledgment packet is received from the other side, data cannot be sent continuously to the other side exceeding the data amount called the window size. For further improvement of data transmission throughput Conventionally, a plurality of TCP connections are set between the transmission side and the reception side, and data is transmitted in parallel using these TCP connections.

複数のTCPコネクションを設定してデータ送信を行うことの適用例としては、実時間での動画像伝送が挙げられる。例えば特許文献1には、このような実時間での動画像伝送において、送信装置は、動画像データにおいて画像データの1フレーム分または複数フレーム分を単位として単位画像データとし、このような単位画像データを複数に分割して分割画像データを生成し、分割数に応じた数のTCPコネクションを確立することによって、これらの分割画像データを並列に送信し、受信装置は、これらのTCPコネクションにより受信した分割画像データに基づいて、元の単位画像データに戻す処理を実行することが記載されている。このとき、1つのTCPコネクションあたり1つの分割画像データが割り当てられる。このような構成を採用することにより、特許文献1に記載されているように、実時間での動画像伝送を安定的に行うことが可能になる。   An application example of performing data transmission by setting a plurality of TCP connections includes moving image transmission in real time. For example, in Patent Document 1, in such moving image transmission in real time, the transmission apparatus sets unit image data in units of one frame or a plurality of frames of image data in moving image data. The divided image data is generated by dividing the data into a plurality of pieces, and the number of TCP connections corresponding to the number of divisions is established, so that these divided image data are transmitted in parallel, and the receiving device receives these TCP connections. It is described that processing for returning to the original unit image data is executed based on the divided image data. At this time, one divided image data is assigned to one TCP connection. By adopting such a configuration, as described in Patent Document 1, it is possible to stably perform moving image transmission in real time.

しかしながら、複数のTCPコネクションを設定して動画像データの伝送を行う場合、TCP接続処理としては、動画像伝送のつどすなわち呼ごとにTCPコネクションを確立し切断を行うため、この確立及び切断のための負荷処理が大きくなる、という課題が生じる。また上位のアプリケーションには、TCPコネクションが確立されるまで、データ転送を待ち合わせる必要が生じる。   However, when moving image data is transmitted by setting a plurality of TCP connections, the TCP connection processing is performed to establish and disconnect the TCP connection for each moving image transmission, that is, for each call. There arises a problem that the load processing becomes large. Further, the upper application needs to wait for data transfer until the TCP connection is established.

また、TCP接続に関連する別の技術としては、例えば非特許文献1には、再送を特定の回数にわたってデータの再送を繰り返しても相手側から確認応答のパケットを得られない場合に、ネットワークや相手装置に異常が発生していると判断し、強制的にTCPコネクションを切断し、上位のアプリケーションに異常終了したことを通知することが開示されている。このような構成によれば、上位のアプリケーションは、障害などの発生により相手装置に対してデータが伝送されなかったことを知ることができ、そのようなデータ伝送上の障害に対応する処置をとることが可能になる。   Further, as another technique related to TCP connection, for example, Non-Patent Document 1 discloses that when an acknowledgment packet cannot be obtained from the other party even if retransmission of data is repeated for a specific number of times, a network or It is disclosed that it is determined that an abnormality has occurred in the counterpart device, the TCP connection is forcibly disconnected, and the upper application is notified of the abnormal termination. According to such a configuration, the host application can know that data has not been transmitted to the counterpart device due to the occurrence of a failure or the like, and take measures corresponding to such a failure in data transmission. It becomes possible.

しかしながら、非特許文献1に記載のものは、TCP接続が異常終了したことを上位のアプリケーションに通知するものの、TCP接続処理自体としては障害を回避する代替手段をとるまでには至っていないものである。   However, although the one described in Non-Patent Document 1 notifies the host application that the TCP connection has ended abnormally, the TCP connection processing itself has not yet reached an alternative means for avoiding a failure. .

特開2004−260668号公報JP 2004-260668 A

Henry Sinnreich,Alan B.Johnston著、株式会社ソフトフロント 阪口克彦 監訳、「マスタリングTCP/IP SIP編」、オーム社、88〜89頁Henry Sinnreich, Alan B. Johnston, Softfront Co., Ltd. Supervised by Katsuhiko Sakaguchi, “Mastering TCP / IP SIP”, Ohm, pages 88-89

上述したように従来のTCP接続技術には、呼ごとにTCPコネクションの確立と切断とを行うため、確立および切断のための処理負荷が大きくなり、また再送を繰り返しても確認応答が得られない場合には上位アプリケーションに対して異常終了したことを通知するものの、障害を回避する代替手段をとるまでに至っていないという課題がある。   As described above, the conventional TCP connection technology establishes and disconnects a TCP connection for each call, which increases the processing load for establishing and disconnecting, and no confirmation response is obtained even if retransmission is repeated. In some cases, the host application is notified of abnormal termination, but there is a problem that alternative means for avoiding the failure have not yet been taken.

本発明の目的は、TCPコネクションの確立と切断とにともなう処理負担を軽減でき、かつ、異常を検出した場合に代替手段をとることによって呼の中断を防ぐことができるTCP接続方法と、このようなTCP接続方法を実行する呼制御装置及び通信システムを提供することにある。   An object of the present invention is to provide a TCP connection method capable of reducing the processing burden associated with the establishment and disconnection of a TCP connection and preventing call interruption by taking alternative means when an abnormality is detected. Another object of the present invention is to provide a call control device and a communication system for executing a TCP connection method.

本発明のTCP接続方法は、ネットワークを介して接続した第1の呼制御手段と第2の呼制御手段との間でTCPコネクションを確立し、上位アプリケーションによる呼を疎通させるTCP接続方法であって、第1の呼制御手段が、対向する第2の呼制御手段ごとに、呼とは独立して制御可能である第1のTCPコネクションを能動的に設定し、呼とは独立して制御可能であって対応する第2の呼制御手段が能動的に設定した第2のTCPコネクションを受動的に設定するステップと、第1の呼制御手段が、第1のTCPコネクションが正常であるか否かを常時監視し、第1のTCPコネクションにおける異常を検出した場合に当該第1のTCPコネクションを閉塞するともに異常が発生した旨を上位アプリケーションに通知するステップと、第1のTCPコネクションが異常であるときに、第1の呼制御手段が、既に設定されている上位アプリケーションの信号を第2のTCPコネクションを介して送受信するステップと、を有する。   The TCP connection method of the present invention is a TCP connection method in which a TCP connection is established between a first call control unit and a second call control unit connected via a network, and a call by a higher-level application is communicated. The first call control means actively sets the first TCP connection that can be controlled independently of the call, and can be controlled independently of the call for each second call control means opposed to the call control means. And passively setting the second TCP connection actively set by the corresponding second call control means, and whether or not the first call control means is normal for the first TCP connection. A step of constantly monitoring and detecting an abnormality in the first TCP connection, blocking the first TCP connection and notifying the host application that an abnormality has occurred; When the first TCP connection is abnormal, the first call control means comprises the steps of: receiving, already through the second TCP connection to the upper application of the signal being set.

本発明の呼制御装置は、ネットワークに接続し、対向する装置との間で上位アプリケーションによる呼を疎通させる呼制御装置であって、対向する装置ごとに、呼とは独立して制御可能である第1のTCPコネクションを能動的に設定する第1のTCP機能手段と、対向する装置が能動的に設定した第2のTCPコネクションを受動的に設定する第2のTCP機能手段と、第1のTCP機能手段に設けられて第1のTCPコネクションが正常であるか否かを常時監視する監視手段と、監視手段において第1のTCPコネクションにおける異常を検出した場合に、第1の機能手段によって当該第1のTCPコネクションを閉塞するともに異常が発生した旨を上位アプリケーションに通知し、既に設定されている上位アプリケーションの信号を第2のTCPコネクションを介して送受信させる管理手段と、を有する。   The call control device according to the present invention is a call control device that is connected to a network and allows a call by a higher-level application to communicate with an opposing device, and can be controlled independently of the call for each opposing device. A first TCP function means for actively setting a first TCP connection; a second TCP function means for passively setting a second TCP connection that is actively set by an opposite apparatus; A monitoring means provided in the TCP function means for constantly monitoring whether the first TCP connection is normal; and when the monitoring means detects an abnormality in the first TCP connection, the first function means Notifies the upper application that the first TCP connection is blocked and an error has occurred, and the signal of the upper application already set Having a management means for receiving via a TCP connection.

本発明の通信システムは、ネットワークと、ネットワークに接続された複数台の本発明に基づく呼制御装置と、を備える。   The communication system of the present invention includes a network and a plurality of call control devices according to the present invention connected to the network.

本発明のTCP接続技術では、TCPコネクションを呼ごとに確立するのではなく、呼とは独立して長期に確立できるようにして処理負担を軽減し、その反面、TCPコネクションの確立が呼とは独立しかつ長期にわたることから、TCPコネクションの正常性を常時監視するようにする。異常を検出した場合は、当該TCPコネクションが新しい呼の設定のために使われ呼損になることがないようにし、また既に設定に入っている呼の継続信号は、代替手段をとることにより呼が中断されることを防ぐようにする。その結果、本発明によれば、TCP処理負担の軽減が達成されるとともに、信頼性の向上、障害耐性の向上がもたらされる。   In the TCP connection technology of the present invention, the TCP connection is not established for each call, but can be established for a long time independently of the call to reduce the processing load. On the other hand, the establishment of the TCP connection is a call. Since it is independent and long-term, the normality of the TCP connection is constantly monitored. If an abnormality is detected, the TCP connection is used for setting up a new call so that the call is not lost, and the call continuation signal already set up is called by using alternative means. To prevent it from being interrupted. As a result, according to the present invention, a reduction in TCP processing burden is achieved, and reliability and fault tolerance are improved.

本発明の実施の一形態のTCP接続方法が適用されるネットワークシステムの全体的な接続構成の一例を示す図である。It is a figure which shows an example of the whole connection structure of the network system to which the TCP connection method of one Embodiment of this invention is applied. 図1に示すシステムの構成を説明するブロック図である。It is a block diagram explaining the structure of the system shown in FIG. 呼制御装置の構成の詳細を示すブロック図である。It is a block diagram which shows the detail of a structure of a call control apparatus. 呼制御装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a call control apparatus. 図1に示すシステムの動作を示すシーケンス図である。It is a sequence diagram which shows operation | movement of the system shown in FIG.

次に、本発明の実施の形態について、図面を参照して説明する。   Next, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明に基づくTCP接続方法が適用されるネットワークシステムの一例の構成を示している。このネットワークシステムは、IP(インターネットプロトコル)をベースとしたネットワークであるIPネットワーク1を含んでおり、IPネットワーク1に対して呼制御装置2a,2b(以下、どの呼制御装置であるかを特定しない場合には呼制御装置2と称する)が接続している。ここではIPネットワーク1では、IPv4(IPバージョン4)に基づくIPv4ネットワーク1aとIPv6(IPバージョン6)に基づくIPv6ネットワーク1bとが独立して設けられている。各呼制御装置2は、加入者系あるいは中継系の呼制御機能を有するサーバであってIPv4ネットワーク1aとIPv6ネットワーク1bの双方に対してTCP/IPによって通信可能なものであり、本発明に基づいてTCP接続を実行する。呼制御装置2の構成及び機能の詳細については後述する。図ではIPネットワーク1に対して2台の呼制御装置2が接続しているが、IPネットワーク1に対してより多くの呼制御装置2を接続することができ、任意の2台の呼制御装置2の間でTCP/IPに基づくデータ伝送が実行可能である。   FIG. 1 shows an example of the configuration of a network system to which a TCP connection method according to the present invention is applied. This network system includes an IP network 1 which is a network based on IP (Internet Protocol), and does not specify call control devices 2a and 2b (hereinafter, which call control device is the IP network 1). In this case, it is called a call control device 2). Here, in the IP network 1, an IPv4 network 1a based on IPv4 (IP version 4) and an IPv6 network 1b based on IPv6 (IP version 6) are provided independently. Each call control device 2 is a server having a subscriber-system or relay-system call control function, and can communicate with both the IPv4 network 1a and the IPv6 network 1b by TCP / IP, and is based on the present invention. TCP connection is executed. Details of the configuration and functions of the call control device 2 will be described later. In the figure, two call control devices 2 are connected to the IP network 1, but more call control devices 2 can be connected to the IP network 1, and any two call control devices can be connected. Data transmission based on TCP / IP can be executed between the two.

呼制御装置2a,2bには、それぞれ保守管理装置3a、3b(以下、どの保守管理装置であるかを特定しない場合は保守管理装置3と称する)が接続している。保守管理装置3は、対応する呼制御装置2やIPネットワーク1の管理に用いられるものであり、保守者が操作するコマンドを呼制御装置2に伝え、あるいは呼制御装置2の稼動状態等を保守者に知らせる機能を有する。さらに呼制御装置2a,2bには、それぞれ端末装置4a,4b(以下、どの端末装置であるかを特定しない場合は端末装置4と称する)が接続している。端末装置4は、ユーザが操作する端末装置である。なお図では、1台の呼制御装置2あたり1台の端末装置4が接続しているが、呼制御装置2あたりの端末装置4の数はこれに限られるものではなく、多数の端末装置4が呼制御装置2に接続していてもよい。   The call control devices 2a and 2b are connected to maintenance management devices 3a and 3b (hereinafter referred to as the maintenance management device 3 when not identifying which maintenance management device). The maintenance management device 3 is used for managing the corresponding call control device 2 and the IP network 1, and transmits a command operated by the maintenance person to the call control device 2, or maintains the operating state of the call control device 2, etc. Has a function to inform the person. Further, terminal devices 4a and 4b (hereinafter referred to as terminal device 4 when not identifying which terminal device) are connected to call control devices 2a and 2b, respectively. The terminal device 4 is a terminal device operated by a user. In the figure, one terminal device 4 is connected per call control device 2, but the number of terminal devices 4 per call control device 2 is not limited to this, and a large number of terminal devices 4 are connected. May be connected to the call control device 2.

ここで、本明細書において使用される「出側」、「入側」の用語について説明する。一般に、1対の呼制御装置2a,2bの間でTCPコネクションを確立する場合には、3方向ハンドシェイクにより、まず、一方の呼制御装置2aが他方の呼制御装置2bに対してSYNパケットを送信し、これを受けて他方の呼制御装置2bはACK+SYNパケットを一方の呼制御装置2aに送信し、ACK+SYNパケットを受信した一方の呼制御装置2aはACKパケットを他方の呼制御装置2bに送信し、これによりTCPコネクションの確立が完了する。ここで最初にSYNパケットを送信する側を「出側」と呼び、そのようなSYNパケットを受信する側を「入側」と呼ぶ。したがって、「出側TCPコネクション」とは、自装置である呼制御装置が、対向する呼制御装置に向かって能動的に確立するTCPコネクションのことを指し、「入側TCPコネクション」とは、対向する呼制御装置が自装置に向かって能動的に確立したTCPコネクションを指すものとする。   Here, the terms “outside” and “inside” used in this specification will be described. In general, when establishing a TCP connection between a pair of call control devices 2a and 2b, first, one call control device 2a sends a SYN packet to the other call control device 2b by a three-way handshake. In response, the other call control device 2b transmits an ACK + SYN packet to one call control device 2a, and the one call control device 2a that has received the ACK + SYN packet transmits an ACK packet to the other call control device 2b. This completes the establishment of the TCP connection. Here, the side that first transmits the SYN packet is referred to as “outside”, and the side that receives such a SYN packet is referred to as “inside”. Therefore, the “egress TCP connection” refers to a TCP connection that the call control device that is its own device actively establishes toward the opposite call control device, and the “incoming TCP connection” It is assumed that the call control device to be used indicates a TCP connection that is actively established toward the own device.

本実施形態におけるTCP接続方法の概要は、
(1)呼制御装置2が、保守管理装置3からの制御に基づき、対向する呼制御装置ごとに、IPバージョン4/IPバージョン6ごとかつ出側/入側別に、すなわち4つのTCPコネクションを、呼とは独立して確立し、
(2)出側TCPコネクションの正常性を、例えば10秒間隔によるキープアライブ(Keep Alive)パケットの送出により常時監視し、
(3)キープアライブの失敗およびTCPデータ送達確認のタイムアウトにより異常を検出した場合は、呼制御装置2が、即座に当該出側TCPコネクションを閉塞することにより当該出側TCPコネクションが新しい呼の設定のために使われないようにし、
(4)出側TCPコネクションを閉塞した場合に、既に設定に入っている呼の継続信号については、呼制御装置2が入側TCPコネクションの利用の可否を判断し、入側TCPコネクションが利用可であれば、その入側TCPコネクションを利用することにより継続信号を送信し、
(5)閉塞した出側TCPコネクションについて、呼制御装置2が、自動的に、周期的に再確立を実施するようにする、
というものである。なお、閉塞した出側TCPコネクションの再確立の実施に際しては、出側TCPコネクションの閉塞後、一定時間の間は、出側TCPコネクションの再確立の実施を抑止するようにする。
The outline of the TCP connection method in this embodiment is as follows:
(1) Based on the control from the maintenance management device 3, the call control device 2 assigns, for each opposing call control device, for each IP version 4 / IP version 6 and for each outgoing / incoming side, that is, four TCP connections. Established independently of the call,
(2) The normality of the outgoing TCP connection is constantly monitored, for example, by sending keep-alive packets at 10-second intervals,
(3) When an abnormality is detected due to a keepalive failure and a TCP data delivery confirmation timeout, the call control device 2 immediately closes the outgoing TCP connection, so that the outgoing TCP connection sets a new call. Not to be used for
(4) When the outgoing TCP connection is blocked, for the call continuation signal already set, the call control device 2 determines whether the incoming TCP connection can be used, and the incoming TCP connection can be used. If so, send a continuation signal by using the incoming TCP connection,
(5) The call control device 2 automatically and periodically re-establishes the blocked outgoing TCP connection.
That's it. When reestablishing the blocked outgoing TCP connection, the outgoing TCP connection is prevented from being reestablished for a fixed time after the outgoing TCP connection is blocked.

ここで呼とは、TCPよりも上位のプロトコルレイヤに属するアプリケーション(上位アプリケーション)によってエンド・ツー・エンドに設定されるべき呼のことであり、当該上位アプリケーションは、設定された呼を用いてそのアプリケーションのトランザクションの起動や処理を行いデータを送信する。呼の継続信号とは、呼の設定やトランザクションの起動や処理、データの送信のために、上位アプリケーションによってTCPコネクションを介して伝送される信号のことをいう。   Here, a call is a call that should be set end-to-end by an application (upper application) that belongs to a protocol layer higher than TCP, and the upper application uses the set call. Starts and processes application transactions and sends data. The call continuation signal refers to a signal transmitted via a TCP connection by a higher-level application for call setting, transaction activation and processing, and data transmission.

本実施形態では、呼とは独立してTCPコネクションを確立している。「呼とは独立」とは、呼の確立および切断とは無関係に、半ば永続的にTCPコネクションを確立して維持することを意味している。本実施形態では、呼ごとにTCPコネクションを確立するのではなく、呼とは独立して長期にわたってTCPコネクションが確立できるすることによって、TCPコネクションの確立と切断とに必要な処理負担を軽減している。また、TCPコネクションの確立が呼とは独立しかつ長期にわたることから、本実施形態では、TCPコネクションの正常性を例えばキープアライブを用いて常時監視するようにし、異常を検出した場合は、当該TCPコネクションが新しい呼の設定のために使われ呼損になることがないようにする。また異常が検出されたTCPコネクションがある場合には、既に設定に入っている呼の継続信号については代替手段をとることにより、具体的には他のTCPコネクションを利用するようにすることにより、呼が中断されることを防ぎ、信頼性を高めている。   In this embodiment, the TCP connection is established independently of the call. “Independent of call” means to establish and maintain a TCP connection semi-permanently regardless of call establishment and disconnection. In this embodiment, instead of establishing a TCP connection for each call, the TCP connection can be established over a long period of time independently of the call, thereby reducing the processing burden required for establishing and disconnecting the TCP connection. Yes. In addition, since the establishment of the TCP connection is independent of the call and takes a long time, in this embodiment, the normality of the TCP connection is constantly monitored using, for example, keep alive, and if an abnormality is detected, the TCP connection Ensure that the connection is used for setting up a new call and does not cause a call drop. In addition, when there is a TCP connection in which an abnormality has been detected, by taking alternative means for a call continuation signal that has already been set up, specifically, by using another TCP connection, It prevents calls from being interrupted and improves reliability.

図2は、図1に示したシステムの機能を説明するための図であり、呼制御装置2a,2bを構成する機能ブロックを示している。ここでは、上位アプリケーションのプロトコルがSIP(session initiation protocol;セッション確立プロトコル)であって、端末装置4aと端末装置4bとの間でやり取りされるSIP信号が、呼制御装置2aと呼制御装置2bの間ではTCPコネクションを介して伝送されるものとする。呼制御装置2aと呼制御装置2bは実際には同一構成のものとすることができるが、ここでは説明のため、これらの呼制御装置2a,2bを構成する各要素に別々の参照符号を割り当てている。   FIG. 2 is a diagram for explaining functions of the system shown in FIG. 1, and shows functional blocks constituting the call control devices 2a and 2b. Here, the protocol of the higher-level application is SIP (session initiation protocol), and the SIP signal exchanged between the terminal device 4a and the terminal device 4b is performed between the call control device 2a and the call control device 2b. It is assumed that data is transmitted via a TCP connection. Although the call control device 2a and the call control device 2b can actually have the same configuration, for the sake of explanation, different reference numerals are assigned to the elements constituting the call control devices 2a and 2b. ing.

呼制御装置2aは、SIP信号制御部21aと、TCPマネージャ22aと、V4出側TCP機能部23aと、V4入側TCP機能部24aと、V6出側TCP機能部25aと、V6入側TCP機能部26aとにより構成されている。ここでSIP信号制御部21aには、保守管理装置3aや端末装置4aが接続する。同様に呼制御装置2bは、保守管理装置3bや端末装置4bが接続するSIP信号制御部21bと、TCPマネージャ22bと、V4出側TCP機能部23bと、V4入側TCP機能部24bと、V6出側TCP機能部25bと、V6入側TCP機能部26bとにより構成されている。   The call control device 2a includes a SIP signal control unit 21a, a TCP manager 22a, a V4 outgoing TCP function unit 23a, a V4 incoming TCP function unit 24a, a V6 outgoing TCP function unit 25a, and a V6 incoming TCP function. Part 26a. Here, the maintenance management device 3a and the terminal device 4a are connected to the SIP signal control unit 21a. Similarly, the call control device 2b includes a SIP signal control unit 21b, a TCP manager 22b, a V4 outgoing TCP function unit 23b, a V4 incoming TCP function unit 24b, and a V6 to which the maintenance management device 3b and the terminal device 4b are connected. The outgoing TCP function unit 25b and the V6 incoming TCP function unit 26b are configured.

SIP信号制御部21a,21b(以下、どのSIP信号制御部であるかを特定しない場合はSIP信号制御部21と称する)は、端末装置4からのあるいは端末装置4へのSIP信号を処理してSIPに基づく制御を行うものであって、SIP信号におけるセッション確立要求信号や切断信号を受信してこれらの信号を処理し、さらに端末装置4とTCPマネージャ間でこれらの信号を転送する機能を有する。   SIP signal control units 21a and 21b (hereinafter referred to as SIP signal control unit 21 when it is not specified which SIP signal control unit) processes the SIP signal from or to terminal device 4 It performs control based on SIP, and receives a session establishment request signal and a disconnection signal in a SIP signal, processes these signals, and further transfers these signals between the terminal device 4 and the TCP manager. .

V4出側TCP機能部23a,23b(以下、どのV4出側TCP機能部であるかを特定しない場合はV4出側TCP機能部23と称する)は、IPv4ネットワーク1a上で出側TCPコネクションを確立する機能を有する。   The V4 outgoing TCP function units 23a and 23b (hereinafter referred to as the V4 outgoing TCP function unit 23 if it is not specified which V4 outgoing TCP functional unit) establishes an outgoing TCP connection on the IPv4 network 1a. Has the function of

V4入側TCP機能部24a,24b(以下、どのV4入側TCP機能部であるかを特定しない場合はV4入側TCP機能部24と称する)は、IPv4ネットワーク1aを介して対向する呼制御装置内のV4出側TCP機能部23からの起動により、IPv4ネットワーク1a上において入側TCPコネクションを確立する機能を有する。   The V4 ingress TCP function units 24a and 24b (hereinafter referred to as the V4 ingress TCP function unit 24 when not specifying which V4 ingress TCP function unit) are opposed to each other via the IPv4 network 1a. It has a function of establishing an incoming TCP connection on the IPv4 network 1a by activation from the V4 outgoing TCP function unit 23.

V6出側TCP機能部25a,25b(以下、どのV6出側TCP機能部であるかを特定しない場合はV6出側TCP機能部25と称する)は、IPv6ネットワーク1b上で出側TCPコネクションを確立する機能を有する。   The V6 outgoing TCP function units 25a and 25b (hereinafter referred to as the V6 outgoing TCP function unit 25 if it is not specified which V6 outgoing TCP functional unit) establishes an outgoing TCP connection on the IPv6 network 1b. Has the function of

V6入側TCP機能部26a,26b(以下、どのV6入側TCP機能部であるかを特定しない場合はV6入側TCP機能部26と称する)は、IPv6ネットワーク1bを介して対向する呼制御装置内のV6出側TCP機能部25からの起動により、IPv6ネットワーク1b上において入側TCPコネクションを確立する機能を有する。   The V6 ingress TCP function units 26a and 26b (hereinafter referred to as the V6 ingress TCP function unit 26 if it is not specified which V6 ingress TCP function unit) are opposed to each other via the IPv6 network 1b. And has a function of establishing an incoming TCP connection on the IPv6 network 1b by activation from the V6 outgoing TCP function unit 25.

TCPマネージャ22a,22b(以下、どのTCPマネージャであるかを特定しない場合はTCPマネージャ22と称する)は、そのTCPマネージャ23を備える呼制御装置2内において、SIP信号制御部21と、V4出側TCP機能部23、V4入側TCP機能部24、V6出側TCP機能部25およびV6入側TCP機能部26との間で各種情報を伝達する機能を有する。   The TCP managers 22a and 22b (hereinafter referred to as the TCP manager 22 when it is not specified which TCP manager is) are connected to the SIP signal control unit 21 and the V4 outgoing side in the call control device 2 including the TCP manager 23. The TCP function unit 23, the V4 incoming TCP function unit 24, the V6 outgoing TCP function unit 25, and the V6 incoming TCP function unit 26 have a function of transmitting various types of information.

上述のように構成された本実施形態のシステムでは、保守管理者がIPv4のTCPコネクションを確立するコマンドおよびIPv6のTCPコネクションを確立するコマンドを保守管理装置3aに投入すると、保守管理装置3aは、保守管理者から投入されたそれらのコマンドを呼制御装置2aに伝えるようになっている。呼制御装置2aでは、これらのコマンドは、SIP信号制御部21aにまず伝えられ、SIP信号制御部21aは、TCPマネージャ22aを通してそれらのコマンドをV4出側TCP機能部23aおよびV6出側TCP機能部25aに伝え、V4出側TCP機能部23aおよびV6出側TCP機能部25aは、それぞれ、IPネットワーク1を介して対向する相手側の呼制御装置2bのV4入側TCP機能部24bおよびV6入側TCP機能部26bの間で出側TCPコネクションを確立する。同様に保守管理装置3bは、保守管理者から投入されたIPv4のTCPコネクションを確立するコマンドおよびIPv6のTCPコネクションを確立するコマンドをSIP信号制御部21bに伝え、SIP信号制御部21bは、それらのコマンドをTCPマネージャ22bを通してV4出側TCP機能部23bおよびV6出側TCP機能部25bに伝え、V4出側TCP機能部23bおよびV6出側TCP機能部25bは、相手側となる呼制御装置2aのV4入側TCP機能部24aおよびV6入側TCP機能部26aの間で出側TCPコネクションを確立する。   In the system of the present embodiment configured as described above, when the maintenance manager inputs a command for establishing an IPv4 TCP connection and a command for establishing an IPv6 TCP connection to the maintenance management device 3a, the maintenance management device 3a Those commands input from the maintenance manager are transmitted to the call control device 2a. In the call control device 2a, these commands are first transmitted to the SIP signal control unit 21a, and the SIP signal control unit 21a transmits the commands through the TCP manager 22a to the V4 outgoing TCP function unit 23a and the V6 outgoing TCP function unit. 25a, the V4 outgoing TCP function unit 23a and the V6 outgoing TCP function unit 25a are respectively connected to the V4 incoming TCP functional unit 24b and V6 incoming side of the opposite call control device 2b via the IP network 1. An outgoing TCP connection is established between the TCP function units 26b. Similarly, the maintenance management device 3b transmits a command for establishing an IPv4 TCP connection and a command for establishing an IPv6 TCP connection input from the maintenance manager to the SIP signal control unit 21b, and the SIP signal control unit 21b The command is transmitted to the V4 outgoing TCP function unit 23b and the V6 outgoing TCP function unit 25b through the TCP manager 22b, and the V4 outgoing TCP function unit 23b and the V6 outgoing TCP function unit 25b of the call control device 2a on the other side. An outgoing TCP connection is established between the V4 incoming TCP function unit 24a and the V6 incoming TCP function unit 26a.

このように本実施形態のシステムにおいては、呼制御装置2は、対向する呼制御装置ごとに、IPv4/IPv6ごとかつ出側/入側別に、呼とは独立して長期にわたって継続するTCPコネクションを確立する。   As described above, in the system of the present embodiment, the call control device 2 establishes a TCP connection that continues for a long time independently of the call for each IPv4 / IPv6 and for each outgoing / incoming side for each opposing call control device. Establish.

このように呼制御装置2が呼とは独立して永続的なTCPコネクションを確立している場合に、端末装置4aが、例えば端末装置4bとの間にセッションを設定するセッション確立要求信号を呼制御装置2aに送信すると、送信されたセッション確立要求信号は、それがIPv4のものであれば、図2において(1)と記載されているように、呼制御装置2aのV4出側TCP機能部23aと呼制御装置2bのV4入側TCP機能部24bとの間に確立されているTCPコネクションを通して、端末装置4bに伝えられる。そして呼の状態において、終話に伴って端末装置4bが呼制御装置2bに対してセッションを切断する切断信号を送信すると、送信された切断信号は、図2において(2)と記載されているように、呼制御装置2bのV4出側TCP機能部23bと呼制御装置2aのV4入側TCP機能部24aとの間に確立されているTCPコネクションを通して、端末装置4aに伝えられる。   In this way, when the call control device 2 has established a permanent TCP connection independent of the call, the terminal device 4a calls a session establishment request signal for setting a session with the terminal device 4b, for example. When transmitted to the control device 2a, if the transmitted session establishment request signal is of IPv4, as described in (1) in FIG. 2, the V4 outgoing TCP function unit of the call control device 2a It is transmitted to the terminal device 4b through a TCP connection established between the terminal 23a and the V4 incoming TCP function unit 24b of the call control device 2b. In the call state, when the terminal device 4b transmits a disconnection signal for disconnecting the session to the call control device 2b along with the end of the call, the transmitted disconnection signal is described as (2) in FIG. As described above, the information is transmitted to the terminal device 4a through the TCP connection established between the V4 outgoing TCP function unit 23b of the call control device 2b and the V4 incoming TCP function unit 24a of the call control device 2a.

これにより本実施形態では、TCPコネクションを呼ごとに確立しなくてすみ、また、呼が終話した際にTCPコネクションを切断しなくて済むため、処理負担を軽減することが可能になる。   As a result, in this embodiment, it is not necessary to establish a TCP connection for each call, and it is not necessary to disconnect the TCP connection when the call ends, so that the processing load can be reduced.

また本実施形態では、V4出側TCP機能部23およびV6出側TCP機能部25は、それぞれの出側TCPコネクションの正常性を、例えば10秒間隔によるキープアライブ処理により常時監視し、キープアライブの失敗およびTCPデータ送達確認のタイムアウトにより異常を検出した場合には、即座に当該出側TCPコネクションを閉塞し、異常状態にあることをSIP信号制御部21に通知し、これにより、呼制御装置2は、当該出側TCPコネクションが新しい呼の設定のために使われないようにし、閉塞した出側TCPコネクションについて再確立を実施する。TCPマネージャ22は、V4出側TCP機能部23あるいはV6出側TCP機能部25が異常状態にある場合は、既に設定に入っている呼の継続信号をV4入側TCP機能部24あるいはV6入側TCP機能部26に伝え、これにより、異常状態にあるTCPコネクションを回避して信号が入側TCPコネクションを利用して送信されるようにする。   In this embodiment, the V4 outgoing TCP function unit 23 and the V6 outgoing TCP function unit 25 constantly monitor the normality of each outgoing TCP connection, for example, by a keep alive process at intervals of 10 seconds. When an abnormality is detected due to a failure and a TCP data delivery confirmation timeout, the outgoing TCP connection is immediately blocked, and the SIP signal control unit 21 is notified of the abnormal state, whereby the call control device 2 Prevents the outgoing TCP connection from being used to set up a new call, and reestablishes the blocked outgoing TCP connection. When the V4 outgoing TCP function unit 23 or the V6 outgoing TCP function unit 25 is in an abnormal state, the TCP manager 22 sends a call continuation signal already set to the V4 incoming TCP function unit 24 or V6 incoming side. This is communicated to the TCP function unit 26, thereby avoiding a TCP connection in an abnormal state and transmitting a signal using the incoming TCP connection.

以下、上記に述べたシステムの機能を実現するために係わる構成装置のうち、呼制御装置2についてさらに詳しく説明する。   Hereinafter, the call control device 2 will be described in more detail among the components related to realizing the functions of the system described above.

(呼制御装置の構成)
まず、呼制御装置2の構成について説明する。図3は、図2に示したシステムにおける呼制御装置2の構成の一例を示すものであり、呼制御装置2の機能のうち本発明に関係する部分のみを概念的に示している。
(Configuration of call control device)
First, the configuration of the call control device 2 will be described. FIG. 3 shows an example of the configuration of the call control device 2 in the system shown in FIG. 2, and conceptually shows only the part related to the present invention among the functions of the call control device 2.

上述したように呼制御装置2は、SIP信号制御部21とTCPマネージャ22とV4出側TCP機能部23とV4入側TCP機能部24とV6出側TCP機能部25とV6入側TCP機能部26とによって構成される。ここでTCPマネージャ22は、出側TCP確立通知部221と出側TCP解放通知部222とSIP信号管理通知部223と状態管理通知部224とを備えている。   As described above, the call control device 2 includes the SIP signal control unit 21, the TCP manager 22, the V4 outgoing TCP function unit 23, the V4 incoming TCP functional unit 24, the V6 outgoing TCP functional unit 25, and the V6 incoming TCP functional unit. 26. Here, the TCP manager 22 includes an outgoing TCP establishment notification unit 221, an outgoing TCP release notification unit 222, a SIP signal management notification unit 223, and a state management notification unit 224.

出側TCP確立通知部221は、SIP信号制御部21から。TCPコネクションを確立するコマンド情報を受信し、V4出側TCP機能部23およびV6出側TCP機能部25にそれらのコマンド情報を伝える機能を有する。   The outgoing TCP establishment notification unit 221 is from the SIP signal control unit 21. It has a function of receiving command information for establishing a TCP connection and transmitting the command information to the V4 outgoing TCP function unit 23 and the V6 outgoing TCP function unit 25.

出側TCP解放通知部222は、SIP信号制御部21から、TCPコネクションを解放するコマンド情報を受信し、V4出側TCP機能部23およびV6出側TCP機能部25にそれらのコマンド情報を伝える機能を有する。   The outgoing TCP release notification unit 222 receives command information for releasing a TCP connection from the SIP signal control unit 21, and transmits the command information to the V4 outgoing TCP function unit 23 and the V6 outgoing TCP function unit 25. Have

SIP信号管理通知部223は、SIP信号制御部21から送られてくる、対向する呼制御装置2に送信するSIP信号を受信し、受信したSIP信号をいずれかのTCP機能部23〜26に伝える機能を有する。具体的には、トランザクションを起動する場合には、SIP信号管理通知部223はCIP信号をV4出側TCP機能部23あるいはV6出側TCP機能部25に伝え、SIP信号が対向する呼制御装置2のリクエストに対するレスポンスである場合には、V4入側TCP機能部24およびV6入側TCP機能部26にそのSIP信号を伝える、状態管理通知部224からV4出側TCP機能部23あるいはV6出側TCP機能部25が異常状態にあることが知らされている場合は、既に設定に入っている呼の継続信号については、SIP信号管理通知部223は、トランザクションを起動する場合であってもSIP信号をV4入側TCP機能部24あるいはV6入側TCP機能部26に伝える。さらにSIP信号管理通知部223は、V4出側TCP機能部23およびV6出側TCP機能部25、あるいはV4入側TCP機能部24およびV6入側TCP機能部26が受信した対向する呼制御装置2から送信されてきたSIP信号を受信し、そのSIP信号をSIP信号制御部21に伝える機能も有する。   The SIP signal management notification unit 223 receives the SIP signal transmitted from the SIP signal control unit 21 and transmitted to the opposite call control device 2, and transmits the received SIP signal to any of the TCP function units 23 to 26. It has a function. Specifically, when starting a transaction, the SIP signal management notifying unit 223 transmits the CIP signal to the V4 outgoing TCP function unit 23 or the V6 outgoing TCP function unit 25, and the call control device 2 to which the SIP signal is opposed. Is sent to the V4 incoming TCP function unit 24 and the V6 incoming TCP function unit 26, the state management notification unit 224 transmits the SIP signal to the V4 outgoing TCP function unit 23 or V6 outgoing TCP function. When it is known that the functional unit 25 is in an abnormal state, the SIP signal management notifying unit 223 sends a SIP signal for a call continuation signal that has already been set, even when a transaction is started. The information is transmitted to the V4 incoming TCP function unit 24 or the V6 incoming TCP function unit 26. Further, the SIP signal management notifying unit 223 receives the call control device 2 facing the V4 outgoing TCP function unit 23 and the V6 outgoing TCP functional unit 25, or the V4 incoming TCP functional unit 24 and the V6 incoming TCP functional unit 26. It also has a function of receiving a SIP signal transmitted from, and transmitting the SIP signal to the SIP signal control unit 21.

状態管理通知部224は、V4出側TCP機能部23、V6出側TCP機能部25、V4入側TCP機能部24およびV6入側TCP機能部26から伝えられる状態情報を管理し、SIP信号制御部21に伝える機能を有する。これによりSIP信号制御部21は、出側TCPコネクションあるいは入側TCPコネクションのいずれかが正常である場合は、継続信号をこれまでどおりSIP信号管理通知部223に伝えるが、新規呼については異常が発生していない他の対向する呼制御装置(図示を省略)に伝えるようにする。   The state management notification unit 224 manages state information transmitted from the V4 outgoing TCP function unit 23, the V6 outgoing TCP function unit 25, the V4 incoming TCP function unit 24, and the V6 incoming TCP function unit 26, and performs SIP signal control. It has a function to transmit to the unit 21. As a result, when either the outgoing TCP connection or the incoming TCP connection is normal, the SIP signal control unit 21 transmits the continuation signal to the SIP signal management notification unit 223 as before, but the new call has an abnormality. The message is transmitted to another opposing call control device (not shown) that has not occurred.

このようにSIP信号制御部21及びTCPマネージャ22が構成されていることにより、既に設定に入っている呼の継続制御が可能になり、また新規呼が呼損になることを防ぐことができる。   Since the SIP signal control unit 21 and the TCP manager 22 are configured in this way, it is possible to continuously control a call that has already been set, and to prevent a new call from being lost.

次に、V4出側TCP機能部23およびV6出側TCP機能部25について説明する。V4出側TCP機能部23およびV6出側TCP機能部25は、対象とするネットワークがIPv4ネットワーク1aなのかIPv6ネットワーク1bなのかが異なるが内部構成は同様のものであるにあるので、ここでは、V4出側TCP機能部23を説明する。   Next, the V4 outgoing TCP function unit 23 and the V6 outgoing TCP function unit 25 will be described. Since the V4 outgoing TCP function unit 23 and the V6 outgoing TCP function unit 25 are different in whether the target network is the IPv4 network 1a or the IPv6 network 1b, the internal configuration is the same. The V4 outgoing TCP function unit 23 will be described.

V4出側TCP機能部23は、出側TCP確立部231と出側TCP解放部232とSIP信号部233とタイムアウト検出部234とキープアライブ(KeepALive)実施部235と状態管理部236と再確立部237と設定抑止部238とを備えている。   The V4 outgoing TCP function unit 23 includes an outgoing TCP establishment unit 231, an outgoing TCP release unit 232, a SIP signal unit 233, a timeout detection unit 234, a keep alive execution unit 235, a state management unit 236, and a re-establishment unit. 237 and a setting suppression unit 238.

出側TCP確立部231は、TCPマネージャ22から伝えられた、TCPコネクションを確立するコマンド情報により、また再確立部237から起動されることにより、IPネットワーク上に出側TCPコネクションを確立する機能を有する。   The outgoing TCP establishment unit 231 has a function of establishing an outgoing TCP connection on the IP network by being activated from the reestablishing unit 237 according to the command information transmitted from the TCP manager 22 and establishing the TCP connection. Have.

出側TCP解放部232は、TCPマネージャ22から伝えられた、TCPコネクションを解放するコマンド情報により、また状態管理部236から起動されることにより、IPネットワーク上の出側TCPコネクションを解放する機能を有する。   The outgoing TCP release unit 232 has a function of releasing the outgoing TCP connection on the IP network by the command information released from the TCP manager 22 and activated by the state management unit 236. Have.

SIP信号部233は、TCPマネージャ22から伝えられたSIP信号を対向する呼制御装置2に送信し、また対向する呼制御装置2から送信されるSIP信号を受信し、TCPマネージャ22に伝える機能を有する。   The SIP signal unit 233 has a function of transmitting the SIP signal transmitted from the TCP manager 22 to the opposing call control device 2, receiving the SIP signal transmitted from the opposing call control device 2, and transmitting it to the TCP manager 22. Have.

タイムアウト検出部234は、TCPデータ送達確認のタイムアウトにより異常を検出する機能を有する。   The timeout detection unit 234 has a function of detecting an abnormality by a timeout of TCP data delivery confirmation.

キープアライブ実施部235は、SIP信号部233が一定時間にわたってSIP信号を送信していない場合に、キープアライパケットを送出してキープアライブ動作を実施し、出側TCPコネクションの異常を検出する機能を有する。   The keep alive execution unit 235 has a function of transmitting a keep alive packet and performing a keep alive operation when the SIP signal unit 233 has not transmitted a SIP signal for a certain period of time, and detects an abnormality of the outgoing TCP connection. Have.

状態管理部236は、出側TCP確立部231による出側TCPコネクションの確立、出側TCP解放部232によるが出側TCPコネクションの解放、タイムアウト検出部234による異常の検出、キープアライブ実施部235による異常の検出を受け、出側TCP解放部232を起動し出側TCPコネクションを解放し、状態をTCPマネージャ22に伝える機能を有する。また、状態管理部236は、再確立部237の起動を行う機能も有する。   The state management unit 236 establishes the outgoing TCP connection by the outgoing TCP establishment unit 231, releases the outgoing TCP connection by the outgoing TCP release unit 232, detects an abnormality by the timeout detection unit 234, and performs the keep alive execution unit 235. Upon detection of an abnormality, the outgoing TCP release unit 232 is activated to release the outgoing TCP connection, and has a function of transmitting the status to the TCP manager 22. The state management unit 236 also has a function of starting up the re-establishment unit 237.

再確立部237は、起動された場合に、設定抑止部238に抑止条件が解除されているかの問合せを行い、抑止条件が解除されると出側TCP確立部231を起動し、出側TCPコネクションの確立を行う機能を有する。   When the re-establishment unit 237 is activated, the re-establishment unit 237 inquires of the setting deterrence unit 238 whether the deterrence condition has been canceled. It has the function to establish.

設定抑止部238は、異常検出などによって出側TCPコネクションを解放したのちにその出側TCPコネクションの確立の実施を見合わせる時間を規定する機能を有する。これは、出側TCPコネクションの解放と同時にその出側TCPコネクションの再確立を実施しても、依然として出側TCPコネクションが異常となる確率が高いからである。   The setting deterrence unit 238 has a function of prescribing a time to postpone the establishment of the outgoing TCP connection after releasing the outgoing TCP connection due to abnormality detection or the like. This is because even if the outgoing TCP connection is re-established at the same time as the outgoing TCP connection is released, there is still a high probability that the outgoing TCP connection will be abnormal.

次に、V4入側TCP機能部24およびV6入側TCP機能部26について説明する。V4入側TCP機能部24およびV6入側TCP機能部26は、対象とするネットワークがIPv4ネットワーク1aなのかIPv6ネットワーク1bなのかが異なるが内部構成は同様のものであるにあるので、ここでは、V4入側TCP機能部24を説明する。   Next, the V4 incoming TCP function unit 24 and the V6 incoming TCP function unit 26 will be described. The V4 incoming TCP function unit 24 and the V6 incoming TCP function unit 26 are different in whether the target network is the IPv4 network 1a or the IPv6 network 1b, but the internal configuration is the same. The V4 incoming TCP function unit 24 will be described.

V4入側TCP機能部24は、SIP信号部241とタイムアウト検出部242と状態管理部243とを備えている。   The V4 incoming TCP function unit 24 includes a SIP signal unit 241, a timeout detection unit 242, and a state management unit 243.

SIP信号部241は、TCPマネージャ22から伝えられたSIP信号を対向する呼制御装置2に送信し、また対向する呼制御装置2から送信されるSIP信号を受信し、TCPマネージャ22に伝える機能を有する。   The SIP signal unit 241 has a function of transmitting the SIP signal transmitted from the TCP manager 22 to the opposing call control device 2, receiving the SIP signal transmitted from the opposing call control device 2, and transmitting it to the TCP manager 22. Have.

タイムアウト検出部242は、TCPデータ送達確認のタイムアウトにより異常を検出する機能を有する。   The timeout detection unit 242 has a function of detecting an abnormality by a timeout of TCP data delivery confirmation.

状態管理部243は、タイムアウト検出部242による異常の検出を受け、状態をTCPマネージャ22に伝える機能を有する。   The state management unit 243 has a function of receiving an abnormality detected by the timeout detection unit 242 and transmitting the state to the TCP manager 22.

上述のように各TCP機能部23〜26を構成することにより、出側TCPコネクションを常時監視できるようになり、異常を検出した場合には、その異常が起きている出側TCPコネクションが新しい呼の設定のために使われて呼損になることが防止される。さらにこの構成によれば、異常が検出された場合には、既に設定に入っている呼の信号は他のTCPコネクションを介して継続されるので、呼が中断されることがぐことができる。   By configuring the TCP function units 23 to 26 as described above, it becomes possible to constantly monitor the outgoing TCP connection, and when an abnormality is detected, the outgoing TCP connection in which the abnormality has occurred is a new call. It is used for the setting of, and it is prevented that the call is lost. Furthermore, according to this configuration, when an abnormality is detected, a call signal that has already been set is continued through another TCP connection, so that the call can be prevented from being interrupted.

(呼制御装置の動作)
次に、呼制御装置2の動作の詳細について説明する。図4は、図3に示す呼制御装置2の動作例を示すフローチャートである。ここでは、IPv4ネットワーク1a上にTCPコネクションを確立する場合を説明するが、IPv6ネットワーク1b上にTCPコネクションを確立する場合であっても同様の処理が実行される。
(Operation of call control device)
Next, details of the operation of the call control device 2 will be described. FIG. 4 is a flowchart showing an operation example of the call control device 2 shown in FIG. Here, a case where a TCP connection is established on the IPv4 network 1a will be described, but the same processing is executed even when a TCP connection is established on the IPv6 network 1b.

呼制御装置2において、TCPマネージャ22の出側TCP確立通知部221が、出側TCPコネクションを確立することを指示するコマンド情報を受信すると(ステップA1)、その旨がV4出側TCP機能部23内の出側TCP確立部231に伝えられ、出側TCP確立部231がIPv4ネットワーク1a上に出側TCPコネクションを確立する(ステップA2)。   In the call control device 2, when the outgoing TCP establishment notifying unit 221 of the TCP manager 22 receives command information instructing establishment of the outgoing TCP connection (step A1), this is indicated by the V4 outgoing TCP function unit 23. The outgoing TCP establishment unit 231 establishes an outgoing TCP connection on the IPv4 network 1a (step A2).

出側TCPコネクションが確立すると、キープアライブ実施部235は、SIP信号がそのTCPコネクション上で送信されていない時間を計測し(ステップA3)、送信がない時間が一定時間、例えば10秒以上になると(ステップA4)、キープアライブ動作を実施し(ステップA5)、キープアライブが正常かどうかを判定する(ステップA6)。キープアライブにおける正常が確認された場合には、処理はステップA3に戻る。また、ステップA4において、SIP信号が存在しない時間が前述した一定時間に満たない場合にも、処理はステップA3に戻る。これらにより、SIP信号が存在しない期間中、キープアライブ動作が周期的に実施されることになる。   When the outgoing TCP connection is established, the keep alive execution unit 235 measures the time during which the SIP signal is not transmitted on the TCP connection (step A3), and when the time during which the SIP signal is not transmitted reaches a certain time, for example, 10 seconds or more. (Step A4), a keep alive operation is performed (Step A5), and it is determined whether or not the keep alive is normal (Step A6). If normality in keep alive is confirmed, the process returns to step A3. In step A4, when the time during which no SIP signal exists is less than the predetermined time described above, the process returns to step A3. As a result, the keep-alive operation is periodically performed during a period in which no SIP signal exists.

キープアライブ実施部235は、ステップA6において異常を検出すると、その旨を状態管理部236に伝え、状態管理部236は、出側TCPコネクションに異常が発生している旨を状態情報として蓄積するとともに(ステップA7)、その旨を出側TCP解放部232及び再確立部237に通知するとともに、TCPマネージャ22内の状態管理通知部224にも通知する(ステップA8)。   When the keep alive execution unit 235 detects an abnormality in step A6, it notifies the state management unit 236 of the fact, and the state management unit 236 accumulates information indicating that an abnormality has occurred in the outgoing TCP connection as status information. (Step A7), the fact is notified to the outgoing TCP release unit 232 and the re-establishment unit 237, and also to the state management notification unit 224 in the TCP manager 22 (Step A8).

出側TCPコネクションでの異常発生を通知された出側TCP解放部232は、対応する出側TCPコネクションを解放し(ステップA9)、再確立部237は、設定抑止部238を起動して一定時間経過したことにより(ステップA10)、出側TCP確立部231を起動して再確立を実施し(ステップA11)、出側TCPコネクションが再確立できたかを判断する(ステップA12)。出側TCPコネクションを再確立できた場合には、状態管理部236が、一旦蓄積した出側TCPコネクションの異常を取り消し(ステップA13)、状態管理通知部224に対して出側TCPコネクションの異常の取り消しを伝える(ステップA14)。その後、処理はステップA3に戻る。一方、ステップA12において再確立できなかった場合には、再確立を試みた回数が規定回数に達したかどうかを判断し(ステップA15)、規定回数に達していない場合にはステップA10に戻ることによって、規定回数まで再確立を試みる。ステップA15において規定回数に達しても出側TCPコネクションを確立できなかった場合には、状態管理部236は、確立できなかったことを蓄積し(ステップA16)、TCPマネージャ22の状態管理通知部224に状態を通知する(ステップA17)。状態管理通知部224では、ステップA19に示すように、出側TCPコネクションおよび入側TCPコネクションの状態を管理する。   The outgoing TCP release unit 232 notified of the occurrence of an abnormality in the outgoing TCP connection releases the corresponding outgoing TCP connection (step A9), and the re-establishing unit 237 activates the setting suppression unit 238 for a certain period of time. When elapses (step A10), the outgoing TCP establishment unit 231 is activated and reestablished (step A11), and it is determined whether the outgoing TCP connection has been reestablished (step A12). When the outgoing TCP connection can be re-established, the state management unit 236 cancels the abnormality of the outgoing TCP connection once accumulated (step A13), and the state management notification unit 224 Tell the cancellation (step A14). Thereafter, the process returns to step A3. On the other hand, if re-establishment cannot be established in step A12, it is determined whether or not the number of re-establishment attempts has reached the specified number (step A15), and if not, the process returns to step A10. By trying to re-establish up to the specified number of times. If the outgoing TCP connection cannot be established even if the predetermined number of times is reached in step A15, the state management unit 236 accumulates the fact that the connection has not been established (step A16), and the state management notification unit 224 of the TCP manager 22 is stored. Is notified of the state (step A17). The state management notification unit 224 manages the states of the outgoing TCP connection and the incoming TCP connection as shown in step A19.

TCPマネージャ22のSIP信号管理通知部223は、SIP信号制御部21からSIP信号が送られてくると(ステップA18)、出側TCPコネクションおよび入側TCPコネクションに障害が発生しているという情報が状態管理通知部224から届いてない場合(すなわち「出側TCP正常」かつ「入側TCP正常」)には(ステップA191)、SIP信号がトランザクションを起動する信号であれば(ステップA20)、そのSIP信号をV4出側TCP機能部23に伝える(ステップA21)。V4出側TCP機能部23では、SIP信号部233が状態管理通知部224からSIP信号を受信し、そのSIP信号をIPv4ネットワーク1aにおいて既に確立している出側TCPコネクションを介して送信する(ステップA22)。これと同時にタイムアウト検出部234がタイムをカウントし(ステップA23)、時間内に処理が終わったかどうかを判断する(ステップA24)。時間内であった場合、すなわちタイムアウトでなかった場合には、処理はステップA18に戻る。これに対し、ステップA24において時間内でなかった場合、すなわち、タイムアウトとなった場合には、前述のステップA7の先頭に移行する。   When the SIP signal is sent from the SIP signal control unit 21 (step A18), the SIP signal management notification unit 223 of the TCP manager 22 has information that a failure has occurred in the outgoing TCP connection and the incoming TCP connection. If it has not arrived from the state management notification unit 224 (that is, “outgoing TCP normal” and “incoming TCP normal”) (step A191), if the SIP signal is a signal for starting a transaction (step A20), The SIP signal is transmitted to the V4 outgoing TCP function unit 23 (step A21). In the V4 outgoing TCP function unit 23, the SIP signal unit 233 receives the SIP signal from the state management notification unit 224, and transmits the SIP signal via the outgoing TCP connection already established in the IPv4 network 1a (step A22). At the same time, the timeout detection unit 234 counts the time (step A23), and determines whether or not the processing is completed within the time (step A24). If it is within the time, that is, if it is not a timeout, the process returns to step A18. On the other hand, if it is not within the time in step A24, that is, if a time-out occurs, the process proceeds to the head of step A7 described above.

また、ステップA18においてSIP信号を受信し、かつ、ステップA19において状態管理通知部224から出側TCPコネクションおよび入側TCPコネクションに障害が発生しているという情報が届いてない場合であって(ステップA191)、そのSIP信号が、対向の呼制御装置のリクエストの受信に対するレスポンスである場合(ステップA25)には、TCPマネージャ22のSIP信号管理通知部223は、そのSIP信号をV4入側TCP機能部24に伝える(ステップA26)。V4入側TCP機能部24では、SIP信号部241が状態管理通知部224からSIP信号を受信し、そのSIP信号をIPv4ネットワーク1aにおいて既に確立している入側TCPコネクションを介して送信する(ステップA27)。これと同時にタイムアウト検出部242がタイムをカウントし(ステップA28)、時間内に処理が終わったかどうかを判断する(ステップA29)。時間内であった場合、すなわちタイムアウトでなかった場合には、処理はステップA18に戻る。これに対し、ステップA29において時間内でなかった場合、すなわち、タイムアウトとなった場合には、タイムアウト検出部242はその旨を状態管理部243に伝え、状態管理部243は、入側TCPコネクションに異常が発生していることを状態情報として蓄積するとともに(ステップA30)、その旨をTCPマネージャ22の状態管理通知部224に通知し(ステップA31)、ステップA19に戻る。   Further, it is a case where a SIP signal is received in step A18, and information indicating that a failure has occurred in the outgoing TCP connection and the incoming TCP connection from the state management notification unit 224 in step A19 (step S19). A191) When the SIP signal is a response to the reception of the request of the opposite call control device (step A25), the SIP signal management notification unit 223 of the TCP manager 22 converts the SIP signal into the V4 incoming TCP function. This is transmitted to the unit 24 (step A26). In the V4 incoming TCP function unit 24, the SIP signal unit 241 receives the SIP signal from the state management notification unit 224, and transmits the SIP signal via the incoming TCP connection already established in the IPv4 network 1a (step A27). At the same time, the time-out detection unit 242 counts the time (step A28), and determines whether the processing is completed within the time (step A29). If it is within the time, that is, if it is not a timeout, the process returns to step A18. On the other hand, if it is not within the time in step A29, that is, if a time-out occurs, the time-out detection unit 242 notifies the state management unit 243 to that effect, and the state management unit 243 sets the incoming TCP connection. The fact that an abnormality has occurred is accumulated as status information (step A30), and the fact is notified to the status management notification unit 224 of the TCP manager 22 (step A31), and the process returns to step A19.

ステップA18でSIP信号を受信したがステップA19において出側TCPコネクションに異常が発生している場合(入側TCPコネクションは正常)(ステップA192)には、TCPマネージャ22のSIP信号管理通知部223は、継続信号であるSIP信号をV4入側TCP機能部24に伝える(ステップA32)。その後は、上述したステップA26からの処理が実行される。   If the SIP signal is received in step A18 but an abnormality has occurred in the outgoing TCP connection in step A19 (the incoming TCP connection is normal) (step A192), the SIP signal management notification unit 223 of the TCP manager 22 Then, the SIP signal as the continuation signal is transmitted to the V4 incoming TCP function unit 24 (step A32). Thereafter, the processing from step A26 described above is executed.

ステップA18でSIP信号を受信したがステップA19において入側TCPコネクションに異常が発生している場合(出側TCPコネクションは正常)(ステップA193)には、TCPマネージャ22のSIP信号管理通知部223は、継続信号であるSIP信号をV4出側TCP機能部23に伝える(ステップA33)。その後は、上述したステップA21からの処理が実行される。   If the SIP signal is received in step A18 but an abnormality has occurred in the incoming TCP connection in step A19 (the outgoing TCP connection is normal) (step A193), the SIP signal management notification unit 223 of the TCP manager 22 Then, the SIP signal as the continuation signal is transmitted to the V4 outgoing TCP function unit 23 (step A33). Thereafter, the processing from step A21 described above is executed.

TCPマネージャ22の出側TCP解放通知部222が、IPv4ネットワーク1a上の出側TCPコネクションを解放することを指示するコマンド情報を受信した場合には(ステップA34)、その旨がV4出側TCP機能部23の出側TCP解放部232に伝えられ、出側TCP解放部232がその出側TCPコネクションを解放する(ステップA35)。   When the outgoing TCP release notification unit 222 of the TCP manager 22 receives command information instructing to release the outgoing TCP connection on the IPv4 network 1a (step A34), this indicates that the V4 outgoing TCP function The outgoing TCP release unit 232 releases the outgoing TCP connection (step A35).

(システムの動作)
次に、上述の図4のように動作する呼制御装置2を有するシステム全体としての動作を説明する。図5は、システム全体の動作の一例を示すシーケンスチャートであり、ここでは、図1に示すシステムにおける保守管理装置3a、呼制御装置2a、呼制御装置2bおよび保守管理装置3bの相互間の信号やデータのやり取りを示している。なお、図5の左半分は呼制御装置2aが確立する出側TCPコネクション(呼制御装置2bから見れば入側TCPコネクション)に関する動作を示し、右半分は呼制御装置2bが確立する出側TCPコネクションに関する動作を示している。実際には、呼制御装置2a,2bは同時期に出側TCPコネクションを確立するものであり、各呼制御装置の動作は、図5の左半分のシーケンスと右半分のシーケンスとを重ね合わせたものとなる。以下では、上位アプリケーションとして、IP電話のためのSIPが用いられるものとする。
(System operation)
Next, the operation of the entire system having the call control device 2 operating as shown in FIG. 4 will be described. FIG. 5 is a sequence chart showing an example of the operation of the entire system. Here, signals between the maintenance management device 3a, the call control device 2a, the call control device 2b, and the maintenance management device 3b in the system shown in FIG. And exchange of data. The left half of FIG. 5 shows the operation related to the outgoing TCP connection established by the call control device 2a (the incoming TCP connection as seen from the call control device 2b), and the right half shows the outgoing TCP established by the call control device 2b. The operation related to the connection is shown. Actually, the call control devices 2a and 2b establish outgoing TCP connections at the same time, and the operation of each call control device is a combination of the left half sequence and the right half sequence in FIG. It will be a thing. In the following, it is assumed that SIP for IP telephone is used as the upper application.

保守管理装置3aが、出側TCPコネクションを確立するコマンドを送出すると(ステップB1)、呼制御装置2aがそのコマンドを受信し、IPネットワーク1において3方向ハンドシェイクによってTCPコネクションを確立するために、まず、呼制御装置2bにSYNパケットを送信する(ステップB2)。呼制御装置2bはそのSYNパケットを受信すると、ACK+SYNパケットを呼制御装置2a返送し(ステップB3)、呼制御装置2aはACK+SYNを受信すると、次にACKを呼制御装置2bに送信する(ステップB4)。呼制御装置2bがACKを受信することによって、出側TCPコネクションが確立される(ステップB5)。   When the maintenance management device 3a sends a command for establishing the outgoing TCP connection (step B1), the call control device 2a receives the command and establishes the TCP connection by the three-way handshake in the IP network 1, First, a SYN packet is transmitted to the call control device 2b (step B2). When the call control device 2b receives the SYN packet, the call control device 2b returns an ACK + SYN packet (step B3). When the call control device 2a receives ACK + SYN, the call control device 2b transmits ACK to the call control device 2b (step B4). ). When the call control device 2b receives ACK, the outgoing TCP connection is established (step B5).

呼制御装置2aが出側TCPコネクションが確立した状態で、このTCPコネクション上で10秒以上SIP信号がないと、呼制御装置2aはキープアライブ(KeepAlive)パケットを呼制御装置に送信し(ステップB6)、呼制御装置2bがACKを返送することにより(ステップB7)、TCPコネクションが正常であることが確認される。   When the call control device 2a has established the outgoing TCP connection and there is no SIP signal for 10 seconds or longer on this TCP connection, the call control device 2a transmits a keep alive packet to the call control device (step B6). ) When the call control device 2b returns ACK (step B7), it is confirmed that the TCP connection is normal.

同様に保守管理装置3bが、出側TCPコネクションを確立するコマンドを送出すると(ステップB8)、呼制御装置2bがそのコマンドを受信し、呼制御装置2aにSYNを送信する(ステップB9)。SYNを受信した呼制御装置2aが呼制御装置2bにACK+SYNを返送し(ステップB10)、ACK+SYNを受信した呼制御装置2bが呼制御装置2aにACKを返送して(ステップB11)呼制御装置2aが受信することにより、出側TCPコネクションが確立される(ステップB12)。   Similarly, when the maintenance management device 3b sends a command for establishing the outgoing TCP connection (step B8), the call control device 2b receives the command and transmits SYN to the call control device 2a (step B9). The call control device 2a receiving SYN returns ACK + SYN to the call control device 2b (step B10), and the call control device 2b receiving ACK + SYN returns ACK to the call control device 2a (step B11). Is received, the outgoing TCP connection is established (step B12).

呼制御装置2bが出側TCPコネクションを確立した状態で、このTCPコネクション上で10秒以上SIP信号がないと、呼制御装置2bがキープアライブパケットを送信し(ステップB13)、呼制御装置2aがACKを返送することにより(ステップB14)、TCPコネクションが正常であることが確認される。   When the call control device 2b has established the outgoing TCP connection and there is no SIP signal for 10 seconds or longer on this TCP connection, the call control device 2b transmits a keep-alive packet (step B13), and the call control device 2a By returning the ACK (step B14), it is confirmed that the TCP connection is normal.

端末装置4bに対して電話による通信をするために端末装置4aがセッション確立要求信号(1)(INVITE(1))を送信すると(ステップB15)、呼制御装置2aがINVITE(1)を受信して呼制御装置2bにINVITE(2)を送信し(ステップB16)、呼制御装置2bはINVITE(2)を受信して端末装置4bにINVITE(3)を送信する(ステップB17)。INVITE(3)を受信した端末装置4bは、180Ringing(1)を送信し(ステップB18)、180Ringing(1)を受信した呼制御装置2bは180Ringing(2)を呼制御装置2aに送出し(ステップB19)、180Ringing(2)を受信した呼制御装置2aは180Ringing(3)を端末装置4aに送信する(ステップB20)。続いて端末装置4bが200OK(1)を呼制御装置2bに送信すると(ステップB21)、200OK(1)を受信した呼制御装置2bが200OK(2)を呼制御装置2aに送信し(ステップB22)、200OK(2)を受信した呼制御装置2aが端末装置4aに200OK(3)を送信する(ステップB23)。200OK(3)を受信した端末装置4aがACK(1)を呼制御装置2aに返送すると(ステップB24)、ACK(1)を受信した呼制御装置2aはACK(2)を呼制御装置2bに送信し(ステップB25)、ACK(2)を受信した呼制御装置2bが端末装置4bにACK(3)を送信し(ステップB26)、端末装置4bがACK(3)受信する。   When the terminal device 4a transmits a session establishment request signal (1) (INVITE (1)) to communicate with the terminal device 4b by telephone (step B15), the call control device 2a receives INVITE (1). Then, INVITE (2) is transmitted to the call control device 2b (step B16), and the call control device 2b receives INVITE (2) and transmits INVITE (3) to the terminal device 4b (step B17). The terminal device 4b that has received INVITE (3) transmits 180 Ringing (1) (step B18), and the call control device 2b that has received 180 Ringing (1) sends 180 Ringing (2) to the call control device 2a (step B18). B19), the call control device 2a that receives 180Ringing (2) transmits 180Ringing (3) to the terminal device 4a (step B20). Subsequently, when the terminal device 4b transmits 200OK (1) to the call control device 2b (step B21), the call control device 2b receiving 200OK (1) transmits 200OK (2) to the call control device 2a (step B22). The call control device 2a that has received 200OK (2) transmits 200OK (3) to the terminal device 4a (step B23). When the terminal device 4a that has received 200OK (3) returns ACK (1) to the call control device 2a (step B24), the call control device 2a that has received ACK (1) sends ACK (2) to the call control device 2b. The call control device 2b that has transmitted (step B25) and received ACK (2) transmits ACK (3) to the terminal device 4b (step B26), and the terminal device 4b receives ACK (3).

以上の動作により、端末装置4aと端末装置4bとは通話できる状態になり、端末装置4aのユーザと端末装置4bのユーザとの間での通話が開始する。なお図では、スペースの関係で、180Ringing(1)、200OK(1)などは、それぞれ180(1),200(1)のように記載されている。   With the above operation, the terminal device 4a and the terminal device 4b are in a state where they can talk, and a conversation between the user of the terminal device 4a and the user of the terminal device 4b starts. In the drawing, 180 Ringing (1), 200 OK (1), and the like are described as 180 (1) and 200 (1), respectively, because of space.

端末装置4aと端末装置4bとの通話が終了すると、この終話に伴って、端末装置4aがBYE(1)を呼制御装置2aに送信する(ステップB27)。BYE(1)を受信した呼制御装置2aは、呼制御装置2bにBYE(2)を送信する。呼制御装置2aと呼制御装置2bとの間では、IPネットワーク1上のTCPコネクションを介してBYE(2)が送信されるが、ここでBYE(2)の送信がタイムアウトになり送信が完了しないとする(ステップB28)。その結果、図4に示した手順により、呼制御装置2aは、呼制御装置2bに向けた出側TCPコネクションを閉塞し、障害が出ていることを上位アプリケーションに通知する(ステップB29)。そして呼制御装置2aは、入側TCPコネクション(すなわち呼制御装置2bから見た出側TCPコネクション)を選択し、その入側TCPコネクションを使って呼制御装置2bにBYE(3)を送信する(ステップB30)。このBYE(3)を受信した呼制御装置2bは、端末装置4bにBYE(4)を送信する(ステップB31)。BYE(4)を受信したことに基づいて端末装置4bが、200OK(4)を呼制御装置2bに送信すると(ステップB32)、200OK(4)を受信した呼制御装置2bが200OK(5)を呼制御装置2aに送信し(ステップB33)、200OK(5)を受信した呼制御装置2aが端末装置4aに200OK(6)を送信する(ステップB34)。200OK(6)を端末装置4aが受信することで、終話処理が完了する。すなわち、呼制御装置2aから見た出側TCPコネクションに異常が発生していたことにより、継続信号であるSIP信号の伝送が、それまでの出側TCPコネクションから、呼制御装置2aから見た入側TCPコネクションに移って継続したことになる。   When the call between the terminal device 4a and the terminal device 4b ends, the terminal device 4a transmits BYE (1) to the call control device 2a along with this call termination (step B27). The call control device 2a that has received BYE (1) transmits BYE (2) to the call control device 2b. BYE (2) is transmitted between the call control device 2a and the call control device 2b via the TCP connection on the IP network 1, but the transmission of BYE (2) times out here and the transmission is not completed. (Step B28). As a result, according to the procedure shown in FIG. 4, the call control device 2a closes the outgoing TCP connection toward the call control device 2b and notifies the higher-level application that a failure has occurred (step B29). Then, the call control device 2a selects an incoming TCP connection (that is, an outgoing TCP connection viewed from the call control device 2b), and transmits BYE (3) to the call control device 2b using the incoming TCP connection ( Step B30). The call control device 2b that has received this BYE (3) transmits BYE (4) to the terminal device 4b (step B31). When the terminal device 4b transmits 200OK (4) to the call control device 2b based on the reception of BYE (4) (step B32), the call control device 2b that has received 200OK (4) receives 200OK (5). The call control device 2a that transmits to the call control device 2a (step B33) and receives 200OK (5) transmits 200OK (6) to the terminal device 4a (step B34). When the terminal device 4a receives 200 OK (6), the call termination process is completed. In other words, because an abnormality has occurred in the outgoing TCP connection as seen from the call control device 2a, the transmission of the SIP signal as the continuation signal is received from the outgoing TCP connection up to that point as seen from the call control device 2a. This means that the TCP connection has been continued.

ステップB29での出側TCPコネクションの閉塞に引き続いて、呼制御装置2aは、この出側TCPコネクションの再確立を行うが(ステップB35)、再確立できなかった場合には、その旨が保守管理装置3aに通知される(ステップB36)。   Following the blocking of the outgoing TCP connection in step B29, the call control device 2a re-establishes the outgoing TCP connection (step B35). The device 3a is notified (step B36).

保守管理装置3bが、呼制御装置2bからの出側TCPコネクションを解放するコマンドを送出すると(ステップB37)、呼制御装置2bは、そのコマンドを受信し、3方向ハンドシェークによってTCPコネクションを解放するために、呼制御装置2aにFINを送信する(ステップB38)。FINを受信した呼制御装置2aが、呼制御装置2bに対してACKを返信し(ステップB39)、FINを送信する(ステップB40)。FINとACKとを受信した呼制御装置2bが呼制御装置2aに対してACKを返信することにより(ステップB41)、出側TCPコネクションが解放される(ステップB42)。   When the maintenance management device 3b sends a command for releasing the outgoing TCP connection from the call control device 2b (step B37), the call control device 2b receives the command and releases the TCP connection by a three-way handshake. Then, FIN is transmitted to the call control device 2a (step B38). The call control device 2a that has received FIN returns ACK to the call control device 2b (step B39), and transmits FIN (step B40). The call control device 2b that has received FIN and ACK returns an ACK to the call control device 2a (step B41), and the outgoing TCP connection is released (step B42).

1 IPネットワーク
1a IPv4ネットワーク
1b IPv6ネットワーク
2a,2b 呼制御装置
3a,3b 保守管理装置
4a,4b 端末装置
21,21a,21b SIP信号制御部
22,22a,22b TCPマネージャ
23,23a,23b V4出側機能部
24,24a,24b V4入側機能部
25,25a,25b V6出側機能部
26,26a,26b V6入側機能部
221 出側TCP確立通知部
222 出側TCP解放通知部
223 SIP信号管理通知部
224 状態管理通知部
231 出側TCP確立部
232 出側TCP解放部
233,241 SIP信号部
234,242 タイムアウト検出部
235 キープアライブ実施部
236,243 状態管理部
237 再確立部
238 設定抑止部
DESCRIPTION OF SYMBOLS 1 IP network 1a IPv4 network 1b IPv6 network 2a, 2b Call control apparatus 3a, 3b Maintenance management apparatus 4a, 4b Terminal apparatus 21, 21a, 21b SIP signal control part 22, 22a, 22b TCP manager 23, 23a, 23b V4 outgoing side Functional part 24, 24a, 24b V4 incoming side functional part 25, 25a, 25b V6 outgoing side functional part 26, 26a, 26b V6 incoming side functional part 221 outgoing side TCP establishment notification part 222 outgoing side TCP release notification part 223 SIP signal management Notification unit 224 Status management notification unit 231 Egress side TCP establishment unit 232 Egress side TCP release unit 233, 241 SIP signal unit 234, 242 Timeout detection unit 235 Keep alive execution unit 236, 243 Status management unit 237 Re-establishment unit 238 Setting suppression unit

Claims (10)

ネットワークを介して接続した第1の呼制御手段と第2の呼制御手段との間でTCPコネクションを確立し、上位アプリケーションによる呼を疎通させるTCP接続方法であって、
前記第1の呼制御手段が、対向する前記第2の呼制御手段ごとに、前記呼とは独立して制御可能である第1のTCPコネクションを能動的に設定し、前記呼とは独立して制御可能であって対応する第2の呼制御手段が能動的に設定した第2のTCPコネクションを受動的に設定するステップと、
前記第1の呼制御手段が、前記第1のTCPコネクションが正常であるか否かを常時監視し、前記第1のTCPコネクションにおける異常を検出した場合に当該第1のTCPコネクションを閉塞するともに異常が発生した旨を前記上位アプリケーションに通知するステップと、
前記第1のTCPコネクションが異常であるときに、前記第1の呼制御手段が、既に設定されている前記上位アプリケーションの信号を前記第2のTCPコネクションを介して送受信するステップと、
を有する、TCP接続方法。
A TCP connection method for establishing a TCP connection between a first call control unit and a second call control unit connected via a network and communicating a call by a higher-level application,
The first call control means actively sets a first TCP connection that can be controlled independently of the call for each of the opposing second call control means, and is independent of the call. Passively setting a second TCP connection that is controllable and actively set by a corresponding second call control means;
The first call control means constantly monitors whether or not the first TCP connection is normal, and closes the first TCP connection when an abnormality is detected in the first TCP connection. Notifying the host application that an abnormality has occurred;
When the first TCP connection is abnormal, the first call control means transmits / receives a signal of the upper application that has already been set via the second TCP connection;
A TCP connection method.
前記第1のTCPコネクションが異常であるときに、前記第1の呼制御手段が、前記第1のTCPコネクションを再確立する処理を実行する、請求項1に記載のTCP接続方法。   2. The TCP connection method according to claim 1, wherein when the first TCP connection is abnormal, the first call control unit executes a process of re-establishing the first TCP connection. 前記第1の呼制御手段は、キープアライブ動作での異常及びTCPデータ送達確認のタイムアウトによって、前記第1のTCPコネクションの異常を検出する、請求項1または2に記載のTCP接続方法。   3. The TCP connection method according to claim 1, wherein the first call control unit detects an abnormality of the first TCP connection based on an abnormality in a keep-alive operation and a timeout of TCP data delivery confirmation. 前記第1及び第2のTCPコネクションが正常である場合に、前記第1の呼制御手段側からの前記上位アプリケーションによる信号がトランザクションの起動に関するものである場合に前記第1の呼制御手段が前記第1のTCPコネクションを選択し、前記第1の呼制御手段側からの前記上位アプリケーションによる信号が前記第2の呼制御手段からのリクエスト受信に対するレスポンスである場合に前記第2のTCPコネクションを選択する、請求項1乃至3のいずれか1項に記載のTCP接続方法。   In the case where the first and second TCP connections are normal, the first call control means includes the first call control means when the signal from the higher-order application from the first call control means side relates to the activation of a transaction. The first TCP connection is selected, and the second TCP connection is selected when the signal from the upper application from the first call control means side is a response to the request reception from the second call control means The TCP connection method according to any one of claims 1 to 3. 前記ネットワークはIPネットワークであって、IPv4ネットワークとIPv6ネットワークのそれぞれごとに前記第1及び第2のTCPコネクションを確立する、請求項1乃至4のいずれか1項に記載のTCP接続方法。   5. The TCP connection method according to claim 1, wherein the network is an IP network, and the first and second TCP connections are established for each of an IPv4 network and an IPv6 network. 6. ネットワークに接続し、対向する装置との間で上位アプリケーションによる呼を疎通させる呼制御装置であって、
前記対向する装置ごとに、前記呼とは独立して制御可能である第1のTCPコネクションを能動的に設定する第1のTCP機能手段と、
前記対向する装置が能動的に設定した第2のTCPコネクションを受動的に設定する第2のTCP機能手段と、
前記第1のTCP機能手段に設けられて前記第1のTCPコネクションが正常であるか否かを常時監視する監視手段と、
前記監視手段において前記第1のTCPコネクションにおける異常を検出した場合に、前記第1の機能手段によって当該第1のTCPコネクションを閉塞するともに異常が発生した旨を前記上位アプリケーションに通知し、既に設定されている前記上位アプリケーションの信号を前記第2のTCPコネクションを介して送受信させる管理手段と、
を有する、呼制御装置。
A call control device that is connected to a network and communicates a call by a higher-level application with a device opposite to the device,
First TCP function means for actively setting a first TCP connection that can be controlled independently of the call for each of the opposing devices;
Second TCP function means for passively setting a second TCP connection actively set by the opposing device;
Monitoring means provided in the first TCP function means for constantly monitoring whether or not the first TCP connection is normal;
When the monitoring unit detects an abnormality in the first TCP connection, the first function unit closes the first TCP connection and notifies the higher-level application that an abnormality has occurred. Management means for transmitting and receiving the signal of the upper application being transmitted via the second TCP connection;
A call control device.
前記第1のTCPコネクションが異常であるときに前記第1のTCPコネクションを再確立する処理を実行する再確立手段をさらに備える、請求項6に記載の呼制御装置。   The call control device according to claim 6, further comprising re-establishing means for executing processing for re-establishing the first TCP connection when the first TCP connection is abnormal. 前記管理手段は、前記第1及び第2のTCPコネクションが正常である場合に、前記上位アプリケーションによる信号がトランザクションの起動に関するものである場合に前記第1のTCPコネクションを選択し、前記上位アプリケーションによる信号が前記対向する装置からのリクエスト受信に対するレスポンスである場合に前記第2のTCPコネクションを選択する、請求項6または7に記載の呼制御装置。   The management means selects the first TCP connection when the first and second TCP connections are normal and the signal from the upper application is related to the start of a transaction. The call control device according to claim 6 or 7, wherein the second TCP connection is selected when a signal is a response to a request reception from the opposite device. 前記ネットワークはIPネットワークであって、IPv4ネットワークとIPv6ネットワークのそれぞれごとに前記第1及び第2のTCP機能手段を備える、請求項6乃至8のいずれか1項に記載の呼制御装置。   The call control device according to any one of claims 6 to 8, wherein the network is an IP network and includes the first and second TCP function units for each of an IPv4 network and an IPv6 network. ネットワークと、前記ネットワークに接続された請求項6乃至9のいずれか1項に記載の複数台の呼制御装置と、を備える、通信システム。   A communication system comprising: a network; and the plurality of call control devices according to claim 6 connected to the network.
JP2009049020A 2009-03-03 2009-03-03 TCP connection method, call control device, and communication system Active JP4828615B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009049020A JP4828615B2 (en) 2009-03-03 2009-03-03 TCP connection method, call control device, and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009049020A JP4828615B2 (en) 2009-03-03 2009-03-03 TCP connection method, call control device, and communication system

Publications (2)

Publication Number Publication Date
JP2010206454A true JP2010206454A (en) 2010-09-16
JP4828615B2 JP4828615B2 (en) 2011-11-30

Family

ID=42967500

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009049020A Active JP4828615B2 (en) 2009-03-03 2009-03-03 TCP connection method, call control device, and communication system

Country Status (1)

Country Link
JP (1) JP4828615B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3023106A1 (en) * 2014-06-30 2016-01-01 Orange TCP COMMUNICATION METHOD VIA MULTIPLE PATHS BETWEEN TWO TERMINALS

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08298535A (en) * 1995-04-27 1996-11-12 Nec Corp Osi communication system
JP2002185488A (en) * 2000-12-14 2002-06-28 Nippon Telegr & Teleph Corp <Ntt> Communication efficiency amplifier
JP2006060674A (en) * 2004-08-23 2006-03-02 Nec Corp Communication equipment, data communication method and program
JP2007110604A (en) * 2005-10-17 2007-04-26 Canon Inc Image forming apparatus
JP2007267138A (en) * 2006-03-29 2007-10-11 Murata Mach Ltd Relay apparatus and communication system
JP2008034947A (en) * 2006-07-26 2008-02-14 Fujitsu Ltd Load balanced call processing system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08298535A (en) * 1995-04-27 1996-11-12 Nec Corp Osi communication system
JP2002185488A (en) * 2000-12-14 2002-06-28 Nippon Telegr & Teleph Corp <Ntt> Communication efficiency amplifier
JP2006060674A (en) * 2004-08-23 2006-03-02 Nec Corp Communication equipment, data communication method and program
JP2007110604A (en) * 2005-10-17 2007-04-26 Canon Inc Image forming apparatus
JP2007267138A (en) * 2006-03-29 2007-10-11 Murata Mach Ltd Relay apparatus and communication system
JP2008034947A (en) * 2006-07-26 2008-02-14 Fujitsu Ltd Load balanced call processing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3023106A1 (en) * 2014-06-30 2016-01-01 Orange TCP COMMUNICATION METHOD VIA MULTIPLE PATHS BETWEEN TWO TERMINALS
WO2016001543A1 (en) * 2014-06-30 2016-01-07 Orange Multi-path tcp communication method between two terminals

Also Published As

Publication number Publication date
JP4828615B2 (en) 2011-11-30

Similar Documents

Publication Publication Date Title
CA2985353C (en) Managing alternative networks for high quality of service communications
US8068824B2 (en) Automated reconnection of interrupted voice call session
JP4924124B2 (en) SIP server
EP2187574A1 (en) Method, media gateway and system for controlling redundant data packets transport
KR20110112549A (en) Apparatus and method for filtering ip packet in mobile communication terminal
US8711734B2 (en) Method and system for fail-safe call survival
US9100468B2 (en) Method and system of controlling state of devices operable to support calls between endpoints
US20130055016A1 (en) Session recovery during virtual mobile management
JP4828615B2 (en) TCP connection method, call control device, and communication system
CN109217978A (en) The methods, devices and systems of data transmission
CN108462612B (en) Method, device, electronic equipment and storage medium for adjusting RTP media stream transmission
KR100780359B1 (en) Apparatus and method for connection process in uma network
US8417769B2 (en) Gateway having distributed processing function, and communication terminal
JP2012216964A (en) Client device, communication system, existence confirmation method and program
CN108616558B (en) Method and device for establishing call and user equipment
KR20070039666A (en) A session controlling method and an equipment of sip terminals
JP5821734B2 (en) IP controller
KR20140121599A (en) Network Management System, Gateway Server and Communication Relay Method, Mobile and Keep Alive Control Method
JP4379601B2 (en) Packet relay method, packet relay device, and program
WO2019176730A1 (en) Disconnection monitoring terminating device and disconnection monitoring method
CN105897450B (en) Method and apparatus for Diameter connection management
JP5353773B2 (en) RTP data communication device
JP2022123672A (en) Packet control system
CN115580555A (en) Distributed task canceling method, device and system and electronic equipment
CN114374729A (en) Voice talkback service implementation method, device and storage medium

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110526

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110601

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20110615

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110914

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140922

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4828615

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350