JP6526149B2 - Relay device and its program - Google Patents

Relay device and its program Download PDF

Info

Publication number
JP6526149B2
JP6526149B2 JP2017212969A JP2017212969A JP6526149B2 JP 6526149 B2 JP6526149 B2 JP 6526149B2 JP 2017212969 A JP2017212969 A JP 2017212969A JP 2017212969 A JP2017212969 A JP 2017212969A JP 6526149 B2 JP6526149 B2 JP 6526149B2
Authority
JP
Japan
Prior art keywords
network
communication
failure
pseudo
interface
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.)
Active
Application number
JP2017212969A
Other languages
Japanese (ja)
Other versions
JP2018019443A (en
Inventor
周一 佐藤
周一 佐藤
祐二 川崎
祐二 川崎
吉田 敏之
敏之 吉田
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2017212969A priority Critical patent/JP6526149B2/en
Publication of JP2018019443A publication Critical patent/JP2018019443A/en
Application granted granted Critical
Publication of JP6526149B2 publication Critical patent/JP6526149B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

本発明は、中継装置およびそのプログラム、より詳しくは、所定の通信規約により通信サービスを提供する複数のネットワーク間における通信を処理する中継装置およびそのプログラムに関するものである。   The present invention relates to a relay apparatus and its program, and more particularly, to a relay apparatus and its program for processing communication between a plurality of networks providing communication service according to a predetermined communication protocol.

複数の通信網間、特に異なるプロトコルによる通信網間を接続して相互の通信を可能とする機器として、中継装置(ゲートウェイ装置(交換機))が広く用いられている。   A relay apparatus (gateway apparatus (switch)) is widely used as an apparatus that enables communication between a plurality of communication networks, in particular between communication networks based on different protocols, to enable mutual communication.

通信網では、様々な要因によって正常な通信に支障をきたす障害が発生する場合があり、通信網の障害を速やかに察知するため、中継装置は通信網の状態を監視する機能を有している場合がある。   In the communication network, various factors may cause a failure that interferes with normal communication, and the relay device has a function to monitor the status of the communication network in order to detect a failure in the communication network promptly. There is a case.

また、複数の通信網間を接続する中継装置を1つのみならず複数用意しておき、1の中継装置とある通信網の間で障害が発生したとしても、別の中継装置を使用して通信を続行できるよう設計する場合もある。このように、通常用いている中継装置を経由しての通信に障害が発生した場合、別の中継装置を経由するよう切り替えて所望の通信網への通信を実現することが可能な通信網のことを、迂回機能を有する通信網という。   Also, not only one relay device for connecting a plurality of communication networks but also a plurality of relay devices are prepared, and even if a failure occurs between one relay device and a certain communication network, another relay device is used. It may be designed to allow communication to continue. As described above, when a failure occurs in the communication via the relay device normally used, the communication network can be switched to another communication relay device to realize communication to a desired communication network. Is called a communication network having a bypass function.

例えば、特許文献1に記載されている方式によれば、ノードは中継網で障害を検出すると内線網の音声回線を閉塞する。かかる装置を複数用いて迂回用の通信ルートを確保しておくことも考えられる。   For example, according to the method described in Patent Document 1, when a node detects a failure in the relay network, it blocks the voice line of the extension network. It is also conceivable to secure a bypass communication route by using a plurality of such devices.

特開平11−186983号公報Unexamined-Japanese-Patent No. 11-186983

しかし、特許文献1の方式によれば、単に音声回線を閉塞しているにすぎず、ノードに接続している通信網に対して積極的に障害の発生を通知する処理を行っているわけではない。そのため、通信網は、障害の発生に気づかぬまま障害が発生した通信ルートでの再通信を試み続ける可能性や、別の中継装置の使用に切り替える迂回ルートへの移行が遅れるなど、円滑な通信を妨げるような様々な事態が考えられる。   However, according to the method of Patent Document 1, although the voice line is merely blocked, the processing of actively notifying the occurrence of a fault to the communication network connected to the node is not performed. Absent. Therefore, the communication network may smoothly communicate, such as the possibility of continuing to attempt recommunication on the communication route where the failure has occurred without noticing the occurrence of the failure, or delay of transition to a bypass route for switching to use of another relay device. There are a variety of situations that could interfere with

本発明はこのような課題に鑑み、ある通信網および対向する別の通信網の間における通信の際、ある通信網に障害が発生して正常な通信が妨げられる状態になったとしても、対向する通信網に積極的また確実に障害の発生を通知し、通信網間通信の際に使用している通信ルートを迂回ルートに移行させる措置を促すことが可能な中継装置およびその制御方法を提供することを目的とする。   SUMMARY OF THE INVENTION In view of such problems, according to the present invention, even when communication between a communication network and another communication network facing each other causes a failure in a communication network to prevent normal communication, the present invention is not limited thereto. A relay apparatus capable of actively and surely notifying occurrence of a failure to a communication network and promoting measures to shift a communication route used in communication between communication networks to a bypass route, and a control method thereof The purpose is to

本発明は上述の課題を解決するために、あるネットワークに接続されそのネットワークに対し信号を送受信するあるインタフェースと、別のネットワークに接続されそのネットワークに対し信号を送受信する別のインタフェースと、別のネットワークより障害を検出する監視部と、あるネットワークから受信する受信信号からTCP(Transmission Control Protocol)におけるポート80の通信を検出する学習部と、監視部の検出結果および学習部の検出結果に基づいて擬似障害信号の生成を制御する擬似障害生成部とを有し、監視部は、常時または定期的に別のインタフェースを介して別のネットワークに所定の信号を自ら発信し、所定の信号に対する別のネットワークからの応答の有無に応じて障害の有無を検出し、学習部はあるインタフェースを介してあるネットワークから受信する受信信号より通信を検出し、あるインタフェースは擬似障害信号をあるネットワークに送信する中継装置の構成をとる。   In order to solve the problems described above, the present invention provides an interface connected to a network for transmitting and receiving signals to and from another network, another interface connected to another network and transmitting and receiving signals to and from the network, and another interface. Based on a monitoring unit that detects a fault from a network, a learning unit that detects communication of port 80 in TCP (Transmission Control Protocol) from a received signal received from a certain network, and a detection result of the monitoring unit and a detection result of a learning unit And a monitoring unit configured to transmit a predetermined signal to another network constantly or periodically via another interface, and to monitor another signal corresponding to the predetermined signal. The presence or absence of a failure is detected according to the presence or absence of a response from the network, and the learning unit Detecting a communication from a received signal received from the network, there interface takes the configuration of a relay apparatus to the network in a pseudo fault signal.

また、本発明に係るプログラムは、あるネットワークに接続されそのネットワークに対し信号を送受信する1のインタフェースと、別のネットワークに接続されそのネットワークに対し信号を送受信する別のインタフェースとを有し、あるネットワークと別のネットワークの間に介在する中継装置を、常時または定期的に別のインタフェースを介して別のネットワークに所定の信号を自ら発信し、所定の信号に対する別のネットワークからの応答の有無に応じて障害の有無を検出する監視手段、あるインタフェースを介してあるネットワークから受信する受信信号からTCP(Transmission Control Protocol)におけるポート80の通信を検出する学習手段、ならびに監視手段の検出結果および学習手段の検出結果に基づいて擬似障害信号の生成を制御し、あるインタフェースに擬似障害信号をあるネットワークに送信させる擬似障害生成手段として機能させる構成をとる。   Also, the program according to the present invention has one interface connected to a network to transmit and receive signals to and from the other network, and another interface connected to another network to transmit and receive signals to and from the network A relay device interposed between a network and another network is automatically or periodically sent a predetermined signal to another network via another interface, and the presence or absence of a response from the other network to the predetermined signal Correspondingly, monitoring means for detecting the presence or absence of failure, learning means for detecting the communication of port 80 in TCP (Transmission Control Protocol) from a received signal received from a certain network via an interface, detection results of the monitoring means and learning means Control the generation of a false fault signal based on the detection result of Interface a configuration to function as a pseudo fault generating means for transmitting to the network in a pseudo fault signal to.

また、本発明に係る制御方法は、あるネットワークに接続されそのネットワークに対し信号を送受信するあるインタフェースと、別のネットワークに接続されそのネットワークに対し信号を送受信する別のインタフェースとを有し、あるネットワークと別のネットワークの間に介在する中継装置を制御する方法であり、中継装置が常時または定期的に別のインタフェースを介して別のネットワークに所定の信号を自ら発信し、所定の信号に対する別のネットワークからの応答の有無に応じて障害の有無を検出するステップと、中継装置が障害を検出した別のネットワークへの通信を実行するTCP(Transmission Control Protocol)におけるポート80の通信をあるインタフェースを介してあるネットワークから受信した受信信号より検出すると、中継装置は障害および通信に基づいて擬似障害信号の生成を制御し、擬似障害信号をあるインタフェースにあるネットワークに送信させるステップとを含む構成をとる。   In addition, the control method according to the present invention includes an interface connected to a network to transmit and receive signals to and from the network, and another interface connected to another network to transmit and receive signals to and from the network A method of controlling a relay device interposed between a network and another network, wherein the relay device transmits a predetermined signal to another network on its own at all times or periodically via another interface. For detecting the presence or absence of a failure according to the presence or absence of a response from the network, and performing communication to another network where the relay device has detected a failure, the communication of port 80 in TCP (Transmission Control Protocol) If it detects from the received signal received from a certain network, the relay device And it controls the generation of the pseudo fault signal based on the communication, a configuration and a step of transmitting to the network at the interface with a pseudo fault signal.

また、本発明に係る別の中継装置は、あるネットワークと別のネットワークの間に介在し、あるネットワークに接続されあるネットワークに対し信号を送受信するあるインタフェースと別のネットワークに接続され別のネットワークに対し信号を送受信する別のインタフェースとを有し、さらに、常時または定期的に別のインタフェースを介して別のネットワークに所定の信号を自ら発信し、所定の信号に対する別のネットワークからの応答の有無に応じて障害の有無を検出する監視部と、あるネットワークから別のネットワークへ向かう際にあるインタフェースを介してあるネットワークから受信する中継信号から通信プロトコルTCP(Transmission Control Protocol)におけるポート80の通信を検出する学習部と、監視部の検出結果および学習部の検出結果に基づいて中継装置におけるHTTP(HyperText Transfer Protocol)擬似障害状態を生成する擬似障害生成部と、擬似障害生成部で生成されるHTTP擬似障害状態を設定するあるHTTP擬似障害状態データまたはそのHTTP擬似障害状態データとは異なる別のHTTP擬似障害状態データを少なくとも記憶する記憶部とを有し、擬似障害生成部は、あるHTTP擬似障害状態データまたは別のHTTP擬似障害状態データに基づいてHTTP擬似障害を生成し、あるHTTP擬似障害状態データに基づいてHTTP擬似障害状態を生成する場合、中継装置のあるインタフェースは所定のHTTPステータスコードを含めたHTTP擬似障害信号をあるネットワークに返送する処理を行い、別のHTTP擬似障害状態データに基づいてHTTP擬似障害状態を生成する場合、中継装置のあるインタフェースは返送する処理とは異なる処理をするように構成されている。   Further, another relay device according to the present invention is connected between a certain network and another network which is interposed between a certain network and another network and which transmits and receives a signal to and from another network. And another interface for transmitting and receiving a signal, and further transmitting a predetermined signal to another network at all times or periodically via another interface, and the presence or absence of a response from the other network to the predetermined signal. In accordance with the monitoring unit that detects the presence or absence of a failure, communication of port 80 in the communication protocol TCP (Transmission Control Protocol) from a relay signal received from a certain network via an certain interface from one network to another network Detecting learning unit, detection result of monitoring unit and detection of learning unit Result and a pseudo-fault failure status data generated by the pseudo-fault generation unit that generates an HTTP (HyperText Transfer Protocol) pseudo-fault condition in the relay apparatus and an HTTP pseudo-fault condition generated by the pseudo-fault generation unit And a storage unit for storing at least another HTTP pseudo failure status data different from the failure status data, wherein the pseudo failure creation unit generates an HTTP pseudo failure based on a certain HTTP pseudo failure status data or another HTTP pseudo failure status data. When an HTTP pseudo-fault status is generated based on certain HTTP pseudo-fault status data, an interface of the relay apparatus performs processing for returning an HTTP pseudo-fault signal including a predetermined HTTP status code to a network. When creating an HTTP pseudo failure state based on another HTTP pseudo failure state data, what process is the process of returning an interface of a relay device being? It is configured to the composed process.

本発明によれば、あるネットワークと別のネットワークの間に介在する中継装置が、あるネットワークより障害を検出した後に別のネットワークから受信する受信信号より通信を検出すると、擬似障害信号を生成するようにしたので、障害の発生が検出されたネットワークとは別のネットワークに積極的また確実に障害の発生を通知することができる。また、ネットワーク間通信を行う際の通信ルートを迂回ルートに移行させる措置を促すことができる。   According to the present invention, when a relay device intervening between one network and another network detects communication from a received signal received from another network after detecting a failure from the one network, a pseudo failure signal is generated. As a result, it is possible to positively and surely notify the occurrence of a failure to a network other than the network where the occurrence of the failure is detected. Further, it is possible to urge a measure to shift the communication route to the bypass route when performing communication between networks.

本発明に係るゲートウェイ装置の実施例の構成を示すブロック図である。It is a block diagram showing composition of an example of a gateway device concerning the present invention. 図1に示すゲートウェイ装置を使用したネットワークの構築例を概略的に示すブロック図である。It is a block diagram which shows roughly the example of construction | assembly of the network using the gateway apparatus shown in FIG. 図1に示す記憶部に記憶された擬似障害状態データの一例を示す図である。It is a figure which shows an example of the pseudo | simulation failure state data memorize | stored in the memory | storage part shown in FIG. 図1に示す制御部の内部構成例を示すブロック図である。It is a block diagram which shows the example of an internal structure of the control part shown in FIG. 図1に示すゲートウェイ装置が行う擬似障害状態の生成動作および同動作に起因する通信網の処理動作を示すフローチャートである。It is a flowchart which shows the production | generation operation | movement of the pseudo | simulation failure state which the gateway apparatus shown in FIG. 1 performs, and the processing operation of the communication network resulting from the operation | movement. 図1に示すゲートウェイ装置が行う擬似障害状態の生成動作および同動作に起因する通信網の処理動作を示す図である。It is a figure which shows the production | generation operation | movement of the pseudo | simulation failure state which the gateway apparatus shown in FIG. 1 performs, and the processing operation of the communication network resulting from the operation | movement. 図1に示す実施例において、擬似障害状態からの回復動作を示すフローチャートである。In the embodiment shown in FIG. 1, it is a flow chart showing recovery operation from a simulated fault condition. 図3に示す擬似障害状態データを用いて擬似障害状態を生成する場合の動作を示すシーケンスチャートである。It is a sequence chart which shows the operation | movement in the case of producing | generating a pseudo | simulation failure state using the pseudo | simulation failure state data shown in FIG. 本発明に係るゲートウェイ装置の別の実施例の構成を示すブロック図である。It is a block diagram which shows the structure of another Example of the gateway apparatus based on this invention. 図9に示す学習部の内部構成例を示すブロック図である。It is a block diagram which shows the internal structural example of the learning part shown in FIG. 図9に示す記憶部に記憶された擬似障害状態データの一例を示す図である。It is a figure which shows an example of the pseudo | simulation failure state data memorize | stored in the memory | storage part shown in FIG. 図9に示すゲートウェイ装置において、通信網の障害検出方法を解析する動作を示すフローチャートである。10 is a flowchart showing an operation of analyzing a fault detection method of the communication network in the gateway device shown in FIG. 9;

次に添付図面を参照して本発明によるゲートウェイ装置の実施例を詳細に説明する。図1を参照すると、本発明によるゲートウェイ装置10(GW)の実施例は、所定の通信プロトコル(通信規約)により通信サービスを提供する複数の通信網間の通信を実行すべく、必要に応じて装置10の後述する各部と連動しつつ、通信プロトコルの変換などゲートウェイ装置10の全体的な制御を行う制御部12を有している。   An embodiment of a gateway device according to the invention will now be described in detail with reference to the accompanying drawings. Referring to FIG. 1, an embodiment of the gateway apparatus 10 (GW) according to the present invention is configured to execute communication between a plurality of communication networks providing communication services according to a predetermined communication protocol (communication protocol), as needed. The control unit 12 performs overall control of the gateway device 10 such as conversion of a communication protocol while interlocking with respective units of the device 10 described later.

またゲートウェイ装置10は、通信網間通信を実行するために制御部12から必要な制御信号を受け取ることができるよう任意に接続された、装置10および通信網間においてデータ情報などを含む信号を入出力するためのインタフェースたるポート14a〜14cを有する。制御部12とポート14の詳細な接続態様については、制御部12および装置10内の各部の接続態様と併せて後述する。   Also, the gateway device 10 receives a signal including data information and the like between the device 10 and the communication network, which is arbitrarily connected so as to be able to receive a control signal required from the control unit 12 to execute communication between communication networks. It has ports 14a-14c which are interfaces for output. The detailed connection mode of the control unit 12 and the port 14 will be described later together with the connection mode of each unit in the control unit 12 and the apparatus 10.

さらに、各ポート14a〜14cはシリアルやパラレルの伝送方式を用いた通信回線16a〜16cのような任意の通信線を介して通信網20a〜20cと接続されている。本図では通信網20およびポート14はそれぞれ3つずつ示されているが、これは単に説明の便宜上の問題であり、ゲートウェイ装置10と接続される通信網20およびそのために必要なポート14の数は任意でよい。   Furthermore, the ports 14a to 14c are connected to the communication networks 20a to 20c via arbitrary communication lines such as communication lines 16a to 16c using serial or parallel transmission methods. Although three communication networks 20 and three ports 14 are shown in the figure, this is merely a matter of convenience for explanation, and the number of communication networks 20 connected with the gateway device 10 and the number of ports 14 required therefor are as follows. Is optional.

ゲートウェイ装置10はかかる構成により、通信情報の送信元が属する通信網(例えば通信網20a)から情報を受け取り、制御部12などの働きにより必要なプロトコルの変換を行って、送信先が属する通信網(例えば通信網20b)へ情報を受け渡すことにより、異なる通信網間での通信を成立させる。   With such a configuration, the gateway device 10 receives information from the communication network (for example, the communication network 20a) to which the transmission source of communication information belongs, performs necessary protocol conversion by the operation of the control unit 12 or the like, and the communication network to which the transmission destination belongs. By passing information to (for example, the communication network 20b), communication between different communication networks is established.

通信網20a〜20cをゲートウェイ装置10で接続することによって構築されたネットワークは図2で示されている。ここで通信網20a〜20cは、ISDN(Integrated Services Digital Network)、イーサネット、FDDI(Fiber Distributed Data Interface)、トークンリングなど任意の、通信網ごとに所定の通信プロトコルを有する通信網である。すなわち、本発明は、公知のいかなる通信プロトコルを有する通信網と接続しても使用することが可能である。   A network constructed by connecting the communication networks 20a to 20c with the gateway device 10 is shown in FIG. Here, the communication networks 20a to 20c are communication networks having a predetermined communication protocol for each arbitrary communication network such as Integrated Services Digital Network (ISDN), Ethernet, Fiber Distributed Data Interface (FDDI), and token ring. That is, the present invention can be used in connection with a communication network having any known communication protocol.

通信網20a〜20cは複数のゲートウェイ装置10a、10bを介して相互に接続されている。ここでは、通常時の網間通信に用いられるゲートウェイ装置を装置10aとおき、他方、装置10aを経由するルートに何らかの異常が発生して円滑な通信が行えなくなった場合に装置10aに代わって情報の送受信やプロトコル変換などを実行する待機系のゲートウェイ装置を装置10bとおいている。通信網20a〜20cは、通信回線16a〜16cを用いてゲートウェイ装置10aと接続されているのと同様に、待機系の装置10bとも通信回線16d〜16fを用いて接続されている。   The communication networks 20a to 20c are mutually connected via a plurality of gateway devices 10a and 10b. Here, the gateway device used for inter-network communication in normal times is assumed to be the device 10a, and on the other hand, information is exchanged instead of the device 10a when some trouble occurs in the route passing through the device 10a and smooth communication can not be performed. A standby gateway apparatus that executes transmission / reception, protocol conversion, etc. is referred to as the apparatus 10 b. The communication networks 20a to 20c are connected to the standby system 10b using communication lines 16d to 16f as well as connected to the gateway 10a using the communication lines 16a to 16c.

また、通信網20a〜20cはそれぞれ、回線22a〜22cを介して接続された、利用者が通信データを送受信するための操作の用に供する端末24a〜24cを有する。かかるネットワークの構成により、例えば端末24aの利用者が端末24bの利用者への通信を企図した場合、通常時には端末24aから入力されたデータは回線22a、通信網20aおよび通信回線16aを経てゲートウェイ装置10aに供給され、装置10aで必要なプロトコル変換を行い、変換されたデータは通信回線16b、通信網20bおよび回線22bを経て端末24bへ送信されることとなる。   Further, the communication networks 20a to 20c respectively have terminals 24a to 24c connected via the lines 22a to 22c and used for operations for the user to transmit and receive communication data. With such a network configuration, for example, when the user of the terminal 24a intends to communicate with the user of the terminal 24b, the data inputted from the terminal 24a is normally transmitted through the line 22a, the communication network 20a and the communication line 16a to the gateway device The data is supplied to 10a, and the necessary protocol conversion is performed in the apparatus 10a, and the converted data is transmitted to the terminal 24b via the communication line 16b, the communication network 20b and the line 22b.

さらに、本ネットワークを構成する通信網20a〜20cはそれぞれ、網間通信に使用中のゲートウェイ装置10aの障害発生を検出する検出部26a〜26c、および検出部26a〜26cによりゲートウェイ装置10aに障害が検出された場合には、予備的に設けられているゲートウェイ装置10bを経由する通信ルートに切り替える切替部28a〜28cを有するものとする。すなわち、本ネットワークを構成する通信網20a〜20cはいわゆる迂回機能を有する通信網であるとする。   Further, in the communication networks 20a to 20c constituting the present network, a fault occurs in the gateway device 10a by the detection units 26a to 26c and the detection units 26a to 26c that detect occurrence of a failure in the gateway device 10a being used for inter-network communication. When it detects, it shall have switching parts 28a-28c switched to the communication route which goes through via the gateway apparatus 10b provided preliminarily. That is, communication networks 20a to 20c constituting the present network are assumed to be communication networks having a so-called bypass function.

本実施例の説明では、ゲートウェイ装置10aおよび10bに接続されている通信網は説明の便宜上通信網20a〜20cの3つであるが、ゲートウェイ装置10に接続される通信網20の数はもちろん任意である。   In the description of this embodiment, the communication networks connected to the gateway devices 10a and 10b are three communication networks 20a to 20c for convenience of explanation, but the number of communication networks 20 connected to the gateway device 10 is of course arbitrary It is.

かかるネットワーク構成により、例えば通常時には通信網20aから20bへの通信に装置10aが用いられているとして、装置10aと通信網20bとの間に障害が発生した場合でも、通信網20aは装置10bを介して通信網22bへの通信を実行することができる。   With such a network configuration, for example, assuming that the device 10a is normally used for communication from the communication network 20a to the communication network 20b, the communication network 20a does not receive the device 10b even if a failure occurs between the device 10a and the communication network 20b. Communication to the communication network 22b can be performed via the communication network 22b.

図1に戻り、ゲートウェイ装置10のその他の構成要素についてもさらに詳しく説明する。本実施例においては、図1に示す通り、装置10内の構成要素および装置10外の間におけるデータおよび信号などの授受は、装置10内に設けられデータや信号の経路となる通信バス30を介して行われるものとしている。例えば、制御部12は信号線32を介して通信バス30と接続され、さらに通信バス30は信号線34a〜34cを介してそれぞれポート14a〜14cと接続されている。このように通信バス30を設ける構成によって、制御部12からポート14a〜14cへの制御信号の送信または受信、さらには制御部12や後述する各部のような装置10内の構成要素相互間における信号やデータの送受信などが可能となる。もっとも、通信バス30を設置したこの接続態様は、あくまで本発明の説明が平易なものとなるように、便宜上一例として配線されたにすぎず、信号処理効率や製造費等の諸条件を考慮したうえで最適の接続構成を適宜採用してよい。   Returning to FIG. 1, the other components of the gateway device 10 will be described in more detail. In the present embodiment, as shown in FIG. 1, transmission and reception of data and signals between components in the apparatus 10 and the outside of the apparatus 10 are provided in the apparatus 10 and serve as a communication bus 30 serving as a path of data and signals. It is supposed to be done through. For example, the control unit 12 is connected to the communication bus 30 via the signal line 32, and the communication bus 30 is further connected to the ports 14a to 14c via the signal lines 34a to 34c. By providing the communication bus 30 in this manner, transmission or reception of control signals from the control unit 12 to the ports 14a to 14c, and signals between components in the apparatus 10 such as the control unit 12 and units to be described later. And sending and receiving of data. However, this connection mode in which the communication bus 30 is installed is merely wired as an example for the sake of convenience so as to simply explain the present invention, and various conditions such as signal processing efficiency and manufacturing cost are taken into consideration. The optimal connection configuration may be adopted as appropriate.

ゲートウェイ装置10は、信号線38、通信バス30を介してポート14a〜14c、および制御部12と接続され、制御部12からの監視命令に応じて常時もしくは定期的に通信網20a〜20cの状態を監視する監視部40を有する。監視部40は、ポート14a〜14cを介して通信網20a〜20cから受け取る情報を元に、または自ら発信する信号に対する通信網側からの応答の有無など適宜の方法で通信網20a〜20cの障害の有無を監視し、通信網20a〜20cのいずれかが障害状態にあると判断した場合には、障害検出信号を制御部12へ送信する。   The gateway device 10 is connected to the ports 14 a to 14 c and the control unit 12 via the signal line 38 and the communication bus 30, and constantly or periodically states of the communication networks 20 a to 20 c according to a monitoring instruction from the control unit 12. The monitoring unit 40 monitors the The monitoring unit 40 is based on the information received from the communication networks 20a to 20c via the ports 14a to 14c, or the failure of the communication networks 20a to 20c by an appropriate method such as the presence or absence of a response from the communication network side to the signal transmitted by itself. When it is determined that any of the communication networks 20a to 20c is in a failure state, a failure detection signal is transmitted to the control unit 12.

また、ゲートウェイ装置10は、信号線44、通信バス30を介してポート14a〜14cおよび制御部12と接続され、監視部40によって装置10およびいずれかの通信網20の間に障害発生が検出された場合には、制御部12からの命令信号の受信に応じて障害発生が検出された通信網20に対向する通信網と接続するポート14a〜14cに擬似的な障害を生成させる擬似障害生成部46を有する。   Also, the gateway device 10 is connected to the ports 14 a to 14 c and the control unit 12 via the signal line 44 and the communication bus 30, and the occurrence of a failure is detected between the device 10 and any communication network 20 by the monitoring unit 40. In this case, a pseudo failure generation unit that generates a pseudo failure in the ports 14a to 14c connected to the communication network facing the communication network 20 in which the failure occurrence is detected in response to the reception of the command signal from the control unit 12 It has 46.

すなわち、例えばゲートウェイ装置10から見て通信網20b側に障害の発生を検出した場合には、通信網20bに対向する通信網20a、20cと接続するポート14aおよび14cに擬似的な障害を生成させる。また擬似障害生成部46は、通信網20a〜20cの障害を検出した監視部40が当該障害の消滅をその後検出した場合には、制御部12からの命令に応じてポート14a〜14cに生成させた擬似的な障害を解消させることもできる。   That is, for example, when occurrence of a failure is detected on the communication network 20b side as viewed from the gateway device 10, a pseudo failure is generated in the ports 14a and 14c connected to the communication networks 20a and 20c facing the communication network 20b. . In addition, when the monitoring unit 40 that detects a failure in the communication networks 20a to 20c subsequently detects the disappearance of the failure, the pseudo failure generation unit 46 causes the ports 14a to 14c to generate in response to an instruction from the control unit 12. It is also possible to eliminate false failures.

さらに、ゲートウェイ装置10は、信号線48および通信バス30を介して制御部12や監視部40、擬似障害生成部46などの各部と接続され、通信を実現するためのプロトコルスタック等が実装される記憶部50を有する。さらに記憶部50には、どのポートにどのような擬似障害を生成させるかについて設定された擬似障害状態データ52が保持されている。また、記憶部50は制御部12から記憶命令信号を受け取ることにより、擬似障害状態の有無など、その時点におけるゲートウェイ装置10の状態を記憶することができる。   Furthermore, the gateway device 10 is connected to each unit such as the control unit 12, the monitoring unit 40, and the simulated fault generation unit 46 via the signal line 48 and the communication bus 30, and a protocol stack or the like for realizing communication is implemented. A storage unit 50 is provided. Furthermore, the storage unit 50 holds simulated failure status data 52 set as to what port is used to generate what type of simulated failure. In addition, the storage unit 50 can store the state of the gateway device 10 at that time, such as the presence or absence of the pseudo failure state, by receiving the storage instruction signal from the control unit 12.

図3には、記憶部50で設定保持されている擬似障害状態データ52の一例が示されている。擬似障害状態データ52としては、例えば方路54、通信層56、擬似障害処理58および対向装置の障害検出60のようなデータを含む様々なタイプのデータD1〜D4が記憶されている。   FIG. 3 shows an example of the simulated fault state data 52 set and held in the storage unit 50. As shown in FIG. As the simulated fault state data 52, various types of data D1 to D4 are stored, including, for example, data such as the route 54, the communication layer 56, the simulated fault processing 58, and the fault detection 60 of the opposing apparatus.

方路54では、通信回線16a〜16cと接続され通信網20a〜20cとの間で信号の入出力を行うポート14a〜14cを示している。   In the route 54, ports 14a to 14c connected to the communication lines 16a to 16c and performing signal input / output with the communication networks 20a to 20c are shown.

通信層56では、OSI参照モデル(Open Systems Interconnection Reference Model)によって定義された7つの通信機能層のことを示している。例えばポート14aがISDN通信網に接続される場合、レイヤ1(物理層)の通信機能としては、ビットストリームでBch(Bチャネル)やDch(Dチャネル)による伝送機能や同期機能などが挙げられる。本図の通信層56ではレイヤ1のほかレイヤ2(データリンク層)、レイヤ3(ネットワーク層)およびレイヤ7(アプリケーション層)のみが示されているが、これはあくまで例示的なものであり、本図で挙げられていないレイヤが通信層56の内容として記憶されることを妨げるものではない。   The communication layer 56 indicates seven communication function layers defined by the OSI Reference Model (Open Systems Interconnection Reference Model). For example, when the port 14a is connected to the ISDN communication network, the communication function of layer 1 (physical layer) may be a bit-stream transmission function or synchronization function by Bch (B channel) or Dch (D channel). Although only the layer 2 (data link layer), the layer 3 (network layer) and the layer 7 (application layer) other than the layer 1 are shown in the communication layer 56 in the figure, this is merely an example, It does not prevent the layers not listed in the figure from being stored as the contents of the communication layer 56.

擬似障害状態データ52における擬似障害処理58とは、障害が発生した通信網と対向する通信網と接続しているポートに対し、擬似障害生成部46が具体的に生成させる擬似的な障害状態の処理内容である。例えばポート14aがISDN通信網に接続される場合、擬似障害生成部46はポート14aに対して送出フレームを遅延送出させる処理を行うことによって、通信網20aの検出部26aに対して同期はずれの障害が発生したと識別させる。記憶部50にデータ52の一部として記憶される擬似障害処理58には、例えばISDN網、イーサネット網などのように、本実施例に係る装置10と接続し得るあらゆる通信網に対して装置10に障害が発生したとして認識させる擬似障害を設定可能である。   The simulated fault processing 58 in the simulated fault state data 52 is a simulated fault state in which the simulated fault generation unit 46 specifically generates a port connected to the communication network facing the communication network in which the fault has occurred. It is processing content. For example, when the port 14a is connected to the ISDN communication network, the pseudo failure generation unit 46 performs processing to delay transmission of the transmission frame to the port 14a, whereby the failure of the synchronization failure with respect to the detection unit 26a of the communication network 20a. To identify that has occurred. The simulated fault processing 58 stored in the storage unit 50 as part of the data 52 is a device 10 for any communication network that can be connected to the device 10 according to the present embodiment, such as an ISDN network or an Ethernet network. It is possible to set a simulated fault that causes a fault to be recognized as having occurred.

対向装置の障害検出60とは、装置10の擬似障害生成部46により記憶部50に記憶されたいずれかの擬似障害処理58がなされ、そしてこの擬似異常状態58をゲートウェイ装置10と対向する通信網20の検出部26が検出したときにその通信網20が識別する具体的な障害状態のことを指す。   With the fault detection 60 of the opposing apparatus, any pseudo fault processing 58 stored in the storage unit 50 by the pseudo fault generation unit 46 of the device 10 is performed, and the communication network that makes the pseudo abnormal state 58 confront the gateway device 10 This refers to a specific failure state that the communication network 20 identifies when the twenty detection units 26 detect.

したがって、記憶部50に保持された擬似障害状態データ52に基づき、制御部12により例えば方路54を「ポート14a」、通信層56を「レイヤ1」、擬似障害処理58を「送出フレーム遅延送出」、対向装置の障害検出60を「同期はずれ」とのデータタイプD1の設定実行が擬似障害生成部46に指令された場合、擬似障害生成部46はかかる指令を実行することによって、ポート14aのレイヤ1において送出フレームを遅延送出する処理を行うことで、ポート14aと接続する通信網20aに「同期はずれ」の障害状態を識別させる。   Therefore, based on the simulated fault state data 52 held in the storage unit 50, the control unit 12 sends, for example, the route 54 "port 14a", the communication layer 56 "layer 1", and the simulated fault processing 58 "send frame delay transmission When the simulated failure generation unit 46 is instructed to execute setting of the data type D1 with “fault out” with the failure detection 60 of the opposing device, the simulated failure generation unit 46 executes such a command to execute By performing processing to delay transmission of the transmission frame in layer 1, the communication network 20a connected to the port 14a is made to identify the failure state of “out of synchronization”.

もちろんのこと、図3に示された擬似障害処理58は例示的なものであり、通信層56の通信プロトコルに対応する擬似障害処理58を適宜に設定することが可能である。   Of course, the simulated fault processing 58 shown in FIG. 3 is an example, and the simulated fault processing 58 corresponding to the communication protocol of the communication layer 56 can be set as appropriate.

図3によると、ひとつのポートに対して複数の擬似障害処理58が用意されている。これによって、生成する擬似障害処理58を所定の時間ごとに変更することができる。その結果、たとえゲートウェイ装置10に接続される通信網20が例えば同期はずれ状態から自動に回復する機能を有する通信網であったとしても、所定の時間後には装置10にB&Dchフレーム非送出のような別の擬似障害処理58が実行されるので、通信網20に装置10には障害が発生していると識別させる確率を高めることができる。   According to FIG. 3, a plurality of pseudo failure processes 58 are prepared for one port. By this, it is possible to change the generated simulated fault processing 58 every predetermined time. As a result, even if the communication network 20 connected to the gateway device 10 is a communication network having a function of automatically recovering from, for example, an out-of-synchronization state, such as sending no B & D ch frame to the device 10 after a predetermined time. Since another simulated fault process 58 is performed, the probability that the communication network 20 is identified as having a fault in the device 10 can be increased.

制御部12はゲートウェイ装置10の全体的な制御を行うものであることは既に述べた通りであるが、本発明の理解を助けるため、ここで制御部12内に設けられている様々な機能を実現するいくつかの要素について図4を参照しながら説明する。   As described above, the control unit 12 performs overall control of the gateway device 10, but in order to help the understanding of the present invention, various functions provided in the control unit 12 will be described here. Several elements to realize are described with reference to FIG.

制御部12は、複数の擬似障害状態データ52が記憶部50に保持されている場合において、ポート14に生成させる擬似障害処理58を、例えば5秒ごとなど所定の時間ごとに変化させるべく擬似障害生成部46を制御する変化部62を有していてもよい。   The control unit 12 is configured to change the simulated failure process 58 to be generated on the port 14 at predetermined time intervals, such as every 5 seconds, when the plurality of simulated failure status data 52 is stored in the storage unit 50. You may have the change part 62 which controls the production | generation part 46. FIG.

また制御部12は、監視部40によって通信網20のいずれかに検出された障害がその後解消したことがさらに検出された場合に、擬似障害処理58の実行によりポート14に生成された擬似的な障害を解消させる用に供する擬似障害生成部46を制御する復旧部64を有していてもよい。   In addition, the control unit 12 is pseudo-generated on the port 14 by execution of the simulated failure processing 58 when it is further detected that the failure detected in any of the communication networks 20 by the monitoring unit 40 is subsequently eliminated. You may have the restoration part 64 which controls the pseudo | simulation failure generation part 46 used to eliminate a failure.

さらに制御部12は、どの程度の時間ごとに障害の有無を検出するかという監視部40の監視周期、異常なデータが連続もしくは通算で何度検出されたときにそれを障害と判断するかという監視部40の検出回数などを調整する調整部66を有していてもよい。かかる調整部66を設けて、想定され得る異常に応じて監視条件を調整することによって、通信の続行に支障のない軽微な異常や瞬間的に回復し得る異常までもが即座に通信障害と判断されてしまうことを防ぐことができる。   Furthermore, the control unit 12 refers to the monitoring cycle of the monitoring unit 40 to determine the time interval at which the presence or absence of a fault is detected, and the number of times abnormal data is detected continuously or in total as a fault. You may have the adjustment part 66 which adjusts the frequency | count of detection of the monitoring part 40, etc. FIG. By providing the adjustment unit 66 and adjusting the monitoring conditions according to possible abnormalities, it is immediately judged that there is a slight abnormality that does not affect the continuation of communication or an abnormality that can be recovered instantaneously as a communication failure. It can prevent being done.

ところで本実施例においては、ゲートウェイ装置10内に設けられた制御部12と、制御部12による制御を受けて通信網20の監視をする監視部40、擬似障害状態の生成をする擬似障害生成部46とは、装置10内に設けられる構成要素の作用を明確にするために別々に示した。しかしながら、これらの構成要素の一部または全部はハードウェア的あるいはソフトウェア的に一体と構成されていたとしても構わない。例えば制御部12が監視部40および擬似障害生成部46の役割を兼ねるよう一体的に構成されてもよい。   In the present embodiment, the control unit 12 provided in the gateway device 10, the monitoring unit 40 monitoring the communication network 20 under control of the control unit 12, and a simulated failure generation unit generating a simulated failure state 46 are separately shown in order to clarify the operation of the components provided in the apparatus 10. However, some or all of these components may be integrated as hardware or software. For example, the control unit 12 may be integrally configured to also serve as the monitoring unit 40 and the simulated failure generation unit 46.

本実施例においては制御部12の内部要素として説明した変化部62、復旧部64および調整部66についても同様に、たとえば変化部62や復旧部64を擬似障害生成部46の内部要素として設けるなどゲートウェイ装置10内において任意の構成を採りうることはもちろんである。   Similarly, for the changing unit 62, the recovery unit 64 and the adjustment unit 66 described as internal elements of the control unit 12 in the present embodiment, for example, the change unit 62 and the recovery unit 64 are provided as internal elements of the simulated failure generation unit 46 Of course, any configuration can be adopted in the gateway device 10.

続いて、図5および図6を参照しつつ、ゲートウェイ装置10と接続されている通信網20のいずれかに通信障害が発生した場合における、装置10の基本的動作および装置10の動作に対応する通信網20の動作の説明を行う。   Subsequently, referring to FIG. 5 and FIG. 6, it corresponds to the basic operation of the device 10 and the operation of the device 10 when a communication failure occurs in any of the communication networks 20 connected to the gateway device 10. The operation of the communication network 20 will be described.

通信網20a、20b間の通常時の通信に処理されているゲートウェイ装置10が装置10aである場合、装置10aの監視部40は、装置10aと接続されている通信網20a、20bの状態を監視している。そのため、例えば装置10aと通信網20bの間に正常な通信を妨げる何らかの障害が発生した場合には、ゲートウェイ装置10aは監視部40による障害発生の検出を通じて障害の発生を認識する(ステップS10)。   When the gateway device 10 processed for normal communication between the communication networks 20a and 20b is the device 10a, the monitoring unit 40 of the device 10a monitors the state of the communication networks 20a and 20b connected to the device 10a. doing. Therefore, for example, when a failure that prevents normal communication occurs between the device 10a and the communication network 20b, the gateway device 10a recognizes the occurrence of the failure through the detection of the failure occurrence by the monitoring unit 40 (step S10).

ゲートウェイ装置10aから見て通信網20b側での障害の発生が検出された場合、装置10aの制御部12は、擬似障害生成部46に指令を送り、記憶部50に保持されている擬似障害状態データ52に基づいて、障害が発生した通信網20bに対向する通信網20aと接続されているポート14aを擬似障害状態に移行させる(ステップS20)。   When occurrence of a failure on the communication network 20b side is detected from the gateway device 10a, the control unit 12 of the device 10a sends a command to the simulated failure generation unit 46, and the simulated failure state held in the storage unit 50 Based on the data 52, the port 14a connected to the communication network 20a facing the communication network 20b in which the failure has occurred is shifted to the pseudo failure state (step S20).

具体的に生成される擬似障害状態は、各ポートと接続されている通信網の通信プロトコルに応じて擬似障害状態データ52のデータタイプD1〜D4の中から選択される。例えば通信網20aがISDN網である場合には、制御部12の命令により擬似障害生成部46で生成されるポート14aの擬似障害は、例えばデータタイプD1の、レイヤ1の送出フレーム遅延送出である。   The simulated fault condition to be specifically generated is selected from the data types D1 to D4 of the simulated fault condition data 52 according to the communication protocol of the communication network connected to each port. For example, when the communication network 20a is an ISDN network, the pseudo failure of the port 14a generated by the pseudo failure generation unit 46 according to an instruction of the control unit 12 is layer 1 transmission frame delay transmission of data type D1, for example. .

さらに、ゲートウェイ装置10は、制御部12から記憶部50を制御して、装置10自身がどのような擬似障害状態になったことを示す情報を記憶させる。(ステップS30)   Further, the gateway device 10 controls the storage unit 50 from the control unit 12 to store information indicating that the device 10 itself is in a simulated failure state. (Step S30)

擬似障害が生成されたポート14aと接続されている通信網20aは、その検出部26aによりゲートウェイ装置10に障害が発生していることを検出する(ステップS40)。ゲートウェイ装置10内での障害の発生を検出した通信網20aは、切替部28aによって、通常時の網間通信に使用してきた装置10aに代わって、待機系のゲートウェイ装置10bを経由する、いわゆる迂回ルートによって通信網20bとの通信を実行できるように設定を切り替える(ステップS50)。その結果、通信網20aおよび20bの間の正常な通信は回復する。   The communication network 20a connected to the port 14a in which the simulated failure is generated detects that a failure has occurred in the gateway 10 by the detection unit 26a (step S40). The communication network 20a that detects the occurrence of a failure in the gateway device 10 passes through the standby gateway device 10b in place of the device 10a that has been used for inter-network communication by the switching unit 28a. The setting is switched so that communication with the communication network 20b can be performed by the route (step S50). As a result, normal communication between the communication networks 20a and 20b is restored.

このように、ゲートウェイ装置10は一方の通信網20bの障害検出を契機に対向する通信網20aと接続されているポート14aを自動的に擬似障害状態に移行させることによって、他方の通信網20aの迂回通信を積極的に促すことが可能となる。   As described above, the gateway device 10 automatically shifts the port 14a connected to the opposite communication network 20a to the simulated failure state in response to the failure detection of the one communication network 20b, thereby causing the other communication network 20a to operate. It becomes possible to actively promote bypass communication.

この説明では、通信網20bに障害が発生した場合における、通信網20aおよび20b間の正常な通信を担保するためのゲートウェイ装置10の動作を例に挙げて説明した。しかしながら、もちろんのこと通信網20cおよび20b間の通信の正常な通信を担保するために装置10が通信網20cに接続されたポート14cに対して実行する動作も同様である。そのため、それぞれの通信網20a〜20cに設置されている端末24a〜24cの利用者は、たとえいずれかの通信網20に障害が発生しようとも障害不発生時と何ら変わらず他の端末24の利用者と通信を行うことが可能である。   In this description, the operation of the gateway device 10 for securing normal communication between the communication networks 20a and 20b when a failure occurs in the communication network 20b has been described as an example. However, of course, the operation performed by the device 10 on the port 14c connected to the communication network 20c in order to secure the normal communication of the communication between the communication networks 20c and 20b is also the same. Therefore, the users of the terminals 24a to 24c installed in the respective communication networks 20a to 20c use the other terminal 24 in the same manner as when no failure occurs even if a failure occurs in any of the communication networks 20. It is possible to communicate with the

同様の原理により、通信網20b側での障害の発生によりゲートウェイ装置10bを介した迂回ルートが選択されている場合において、その後通信網20b側の障害が解消し、装置10aの監視部40が障害の解消を検出したときには、復旧部64の指令により、通信網20bと対向する通信網20aや20cに通信網間のルートを速やかに通常時のルートに復旧させるよう促すことも可能である。   By the same principle, when a bypass route via the gateway device 10b is selected due to the occurrence of a failure on the communication network 20b side, the failure on the communication network 20b side is solved thereafter, and the monitoring unit 40 of the device 10a fails When it is detected that the above is detected, it is also possible to prompt the communication network 20a or 20c opposite to the communication network 20b to promptly restore the route between the communication networks to the normal route by the command of the recovery unit 64.

迂回ルートから通常ルートへの復旧を促す装置10の基本的動作および装置10の動作に対する通信網20の動作の一例を、図7を用いて説明する。   An example of the basic operation of the device 10 and the operation of the communication network 20 with respect to the operation of the device 10 for prompting recovery from the bypass route to the normal route will be described using FIG. 7.

通常時の通信網間通信の中継に用いられるゲートウェイ装置10aは、装置10aからみて通信網20b側の障害発生により通信情報の送受信およびプロトコル変換装置としての働きを休止しているときでも、監視部40によって通信網20b側の障害状態の監視を続ける。これにより、やがて装置10aと通信網20bの間に発生した障害が解消された場合には、障害解消の事実を検出することができる(ステップS60)。   The gateway device 10a used for relaying communication between communication networks at normal time is a monitoring unit even when transmission and reception of communication information and the function as a protocol conversion device are suspended due to the occurrence of a failure on the communication network 20b side as viewed from the device 10a. Monitoring of the fault condition on the communication network 20b side is continued by 40. FIG. As a result, when the fault occurring between the device 10a and the communication network 20b is eventually eliminated, the fact of the fault elimination can be detected (step S60).

監視部40は、通信網20b側に生じていた障害状態の解消を検出したときには、制御部12に障害の解消を通知する。この通知を受けた制御部12内の復旧部64は、擬似障害生成部46に対して擬似障害状態の生成終了を命じる。この命令を受けて擬似障害生成部46は、ポート14a、14cに作っていた擬似障害処理58による状態を正常状態に戻す(ステップS70)。ゲートウェイ装置10は、装置10が擬似障害状態から回復したことを示す情報を記憶すべく、制御部12から記憶部50を制御して回復後の装置10の状態を記憶させる。(ステップS80)   The monitoring unit 40 notifies the control unit 12 that the failure has been eliminated when it detects that the failure state occurring on the communication network 20 b has been eliminated. The recovery unit 64 in the control unit 12 that has received this notification instructs the simulated failure generation unit 46 to end the generation of the simulated failure state. In response to this instruction, the simulated fault generation unit 46 restores the status of the simulated fault processing 58 created in the ports 14a and 14c to the normal status (step S70). The gateway device 10 controls the storage unit 50 from the control unit 12 to store the state of the restored device 10 so as to store information indicating that the device 10 has recovered from the simulated failure state. (Step S80)

擬似的な障害から回復したポート14aと接続されている通信網20aは、その検出部26aによりゲートウェイ装置10の障害状態が回復したことを検出し(ステップS90)、切替部28aによって、障害発生時の網間通信用に使用してきた装置10bに代わって、通常時に用いるルートであるゲートウェイ装置10aを用いての通信網20bとの通信を実行するように設定を戻す(ステップS100)。   The communication network 20a connected to the port 14a recovered from the pseudo failure detects that the failure status of the gateway device 10 has been recovered by the detection unit 26a (step S90), and the switching unit 28a causes the failure to occur. The setting is returned to execute communication with the communication network 20b using the gateway device 10a, which is a route normally used, in place of the device 10b used for inter-network communication (step S100).

このように、一方の通信網の障害状態が解消した場合には速やかに通信網間の通信ルートを通常時のルートに復旧させるよう促す構成をゲートウェイ装置10に設けることによって、網間通信に使用するゲートウェイ装置10の切替えおよびその復旧のいずれの実行にあたっても、端末24の利用者に悪影響を与えることなく円滑にネットワーク処理することが可能となる。   As described above, by providing the gateway 10 with a configuration for prompting restoration of the communication route between the communication networks to the normal route when the fault condition of one communication network is eliminated, it is used for inter-network communication. In any of the switching of the gateway device 10 and the recovery thereof, network processing can be smoothly performed without adversely affecting the user of the terminal 24.

ところで、通信網20によっては、接続するゲートウェイ装置10に何らかの障害が発生していることを検知した場合、自動的に障害状態を克服して通信を続行しようと試みる障害回復機能を有している場合がある。その場合、ゲートウェイ装置10内に擬似障害を作り出したとしても、通信網20の障害回復機能が働いてあくまで迂回ルートに切り替えずに網間通信を続行しようとすることになる。しかしながら、ゲートウェイ装置10および他方の通信網間に存在する障害が回復したわけではないため、依然として正常な通信は不可能である。   By the way, some communication networks 20 have a failure recovery function that automatically attempts to overcome communication and continue communication when it detects that a failure has occurred in the connecting gateway device 10. There is a case. In that case, even if a simulated failure is created in the gateway device 10, the failure recovery function of the communication network 20 works and the internetwork communication is continued without switching to the bypass route. However, since the failure existing between the gateway 10 and the other communication network has not recovered, normal communication is still impossible.

このような事態を防ぎ、障害が発生した側とは他方の側の通信網に使用中の通信経路が障害状態にあることを識別してもらう確率を高めるため、記憶部50には1のポートに対して複数の擬似障害処理58、そして擬似障害状態の変化を制御する変化部62を用意しておき、擬似障害処理58を所定の時間ごとに変更可能な構成をとってもいいことは先に述べたとおりである。ここでは、時間に応じて異なる擬似障害状態を生成可能な構成をとった場合のゲートウェイ装置10の動作を説明する。   In order to prevent such a situation and to increase the probability that the communication network in use is identified to be in a failure state by the communication network on the other side from the side where the failure has occurred, the storage unit 50 has one port The plurality of simulated fault processes 58 and the change unit 62 for controlling changes in the simulated fault state are prepared, and it is possible to adopt a configuration in which the simulated fault process 58 can be changed at predetermined time intervals. That's right. Here, the operation of the gateway 10 will be described in the case where the configuration capable of generating different simulated failure states according to time is taken.

本説明における図2のネットワークにおいては、通信網20aはISDN網であり、通信網20cはイーサネットであるものとする。また、ISDN通信網20aと接続されているポート14aはISDN対応のポート、イーサネット通信網20cと接続されているポート14cはLAN(Local Area Network)規格IEEE802.3(the Institute of Electrical and Electronic Engineers 802.3)対応のポートであるものとする。もちろん、この設定条件は単なる実施例の一態様にすぎず、ゲートウェイ装置10はいかなる通信プロトコルの通信網と接続していたとしてもよい。   In the network of FIG. 2 in the present description, the communication network 20a is an ISDN network, and the communication network 20c is Ethernet. The port 14a connected to the ISDN communication network 20a is an ISDN-compatible port, and the port 14c connected to the Ethernet communication network 20c is a LAN (Local Area Network) standard IEEE 802.3 (the Institute of Electrical and Electronic Engineers 802.3). ) It shall be a corresponding port. Of course, this setting condition is only an aspect of the embodiment, and the gateway device 10 may be connected to a communication network of any communication protocol.

ゲートウェイ装置10が時間ごとに異なる擬似障害状態を生成する場合には、図5および図6で示した装置10aの動作のうち、ステップS20およびステップS30に相当する動作が複数回繰り返されることとなる。この場合にゲートウェイ装置10aのとる動作の説明を、添付された図8を参照しながら説明する。   In the case where the gateway device 10 generates different simulated fault conditions every time, operations corresponding to step S20 and step S30 among the operations of the device 10a shown in FIG. 5 and FIG. 6 are repeated a plurality of times. . A description of the operation taken by the gateway device 10a in this case will be described with reference to the attached FIG.

通信網20a〜20cと接続され情報の送受信やプロトコル変換を実行中であるゲートウェイ装置10aは、監視部40によって各通信網20の通信障害発生の有無を監視する。例えば通信網20b側から正常な通信を妨げる障害を検出した場合(ステップS110)には、監視部40は制御部12に検出信号を送信して障害発生を知らせる(ステップS120)。   The gateway device 10a connected to the communication networks 20a to 20c and executing transmission / reception of information and protocol conversion monitors the monitoring unit 40 for the occurrence of communication failure in each communication network 20. For example, when a failure that prevents normal communication is detected from the communication network 20b side (step S110), the monitoring unit 40 transmits a detection signal to the control unit 12 to notify the occurrence of a failure (step S120).

通信網20bにおける通信障害発生を識別した制御部12は、ゲートウェイ装置10aを自動的に擬似障害状態に移行させるための処理として、記憶部50で保持する擬似障害状態データ52を参照し(ステップS130)、例えば最上段に記載されたデータタイプD1の設定を実現するよう擬似障害生成部46に指令を送る(ステップS140)。指令を受けた擬似障害生成部46はデータタイプD1の擬似状態を生成する処理を行う(ステップS150)。具体的には、擬似障害生成部46はポート14aのレイヤ1において、記憶部等に実装されたプロトコルスタックで規定されている送出タイミングを超える間隔でフレーム送出を行うようにさせる。例えば、プロトコルスタックで1秒間隔の場合には1.3秒などの1秒を超える間隔で送出する。また、ゲートウェイ装置10aと通信網20aの間において通信タイミングを同期している場合には、故意に同期を逸脱するタイミングでフレーム送出するようにする。このようにして対向装置である通信網20aに「同期はずれ」の障害状態を識別させる。   The control unit 12 that has identified the occurrence of a communication failure in the communication network 20b refers to the simulated failure state data 52 held by the storage unit 50 as processing for automatically shifting the gateway 10a to the simulated failure state (step S130). ), For example, a command is sent to the simulated fault generation unit 46 to realize the setting of the data type D1 described in the top row (step S140). The simulated fault generation unit 46 that has received the command performs processing to generate a simulated state of the data type D1 (step S150). Specifically, the pseudo failure generation unit 46 causes frame transmission to be performed at an interval exceeding the transmission timing defined by the protocol stack implemented in the storage unit or the like in the layer 1 of the port 14a. For example, in the case of a one second interval in the protocol stack, it transmits at an interval exceeding one second, such as 1.3 seconds. Further, when the communication timing is synchronized between the gateway device 10a and the communication network 20a, frames are sent out at a timing that deviates from the synchronization intentionally. In this way, the communication network 20a, which is the opposite device, is made to identify the failure state of "out of synchronization".

ゲートウェイ装置10a内でデータタイプD1に設定された擬似障害状態が実行された後には、制御部12は装置10自身がデータタイプD1の擬似障害状態になったことを示す情報を記憶部50に記憶させる制御を行う(ステップS160)。   After the simulated fault state set to the data type D1 is executed in the gateway device 10a, the control unit 12 stores in the storage unit 50 information indicating that the device 10 itself is in the simulated fault state of the data type D1. Control is performed (step S160).

その後、例えば5秒などの所定時間が経過した後、変化部62を含む制御部12は、ポート14aに生成される擬似障害処理58を変更するための制御を開始する。まず、制御部12は記憶部50で保持する擬似障害状態データ52を参照し(ステップS170)、今度はポート14aに係わる次のデータとして、データタイプD2の設定を実現するよう擬似障害生成部46に命じる(ステップS180)。命令を受けた擬似障害生成部46はデータタイプD2の擬似状態を生成する処理を行う(ステップS190)。具体的には、擬似障害生成部46はポート14aのレイヤ2において、B&Dchフレームを非送出する処理を行う。ここで、B&Dchフレームを非送出するとき、制御部12はゲートウェイ装置10に実装されているプロトコルスタックで規定されている呼制御メッセージに基づき、呼制御メッセージやパケット情報を非送出するよう各部を制御する。このようにして対向装置である通信網20aに「通信失敗」の障害状態を識別させる。   Thereafter, after a predetermined time such as 5 seconds has elapsed, for example, the control unit 12 including the changing unit 62 starts control for changing the simulated failure process 58 generated in the port 14a. First, the control unit 12 refers to the simulated fault state data 52 stored in the storage unit 50 (step S170), and this time, the simulated fault generation unit 46 realizes the setting of the data type D2 as the next data related to the port 14a. Command (step S180). The simulated fault generation unit 46 that has received the instruction performs processing to generate a simulated state of the data type D2 (step S190). Specifically, the pseudo failure generation unit 46 performs a process of not transmitting the B & Dch frame in the layer 2 of the port 14a. Here, when not transmitting the B & Dch frame, the control unit 12 controls each unit so as not to transmit the call control message or the packet information based on the call control message defined by the protocol stack implemented in the gateway device 10. Do. In this manner, the communication network 20a, which is the opposite device, identifies the failure state of "communication failure".

ゲートウェイ装置10a内でデータタイプD2に設定された擬似障害状態が実行された後には、制御部12は装置10自身がデータタイプD2の擬似障害状態になったことを示す情報を記憶部50に記憶させる制御を行う(ステップS200)。   After the simulated fault state set to the data type D2 is executed in the gateway device 10a, the control unit 12 stores in the storage unit 50 information indicating that the device 10 itself is in the simulated fault state of the data type D2. Control is performed (step S200).

その後、例えば5秒などの所定時間が経過した後、制御部12は再度記憶部50で保持する擬似障害状態データ52を参照する(ステップS210)。ポート14aに係わる次のデータはすべて実行済みなので、変化部62を含む制御部12は、続いてポート14cに係るデータであるデータタイプD3の設定を実現するよう擬似障害生成部46に指令を送る(ステップS220)。指令を受けた擬似障害生成部46はデータタイプD3の擬似状態を生成する処理を行う(ステップS230)。具体的には、擬似障害生成部46はポート14cのレイヤ3において、ICMP Reply(Internet Control Message Protocol Reply)を非送出する処理を行う。ここで、ICMP Reply を非送出するとき、制御部12はゲートウェイ装置10に実装されているプロトコルスタックで規定されているICMPメッセージに基づき、ICMP Reply を非送出する処理を行う。したがって、ゲートウェイ装置10が通信網20cからping(Echo Request)を受けたとしても、装置10の側からはping応答を返送しない。このようにして対向装置である通信網20cに「ハートビートはずれ」の障害状態を識別させる。   Thereafter, after a predetermined time such as 5 seconds has elapsed, for example, the control unit 12 refers again to the simulated failure state data 52 stored in the storage unit 50 (step S210). Since all the next data related to the port 14a has been executed, the control unit 12 including the change unit 62 subsequently sends a command to the simulated failure generation unit 46 to realize the setting of the data type D3 which is data related to the port 14c. (Step S220). The simulated fault generation unit 46 that has received the command performs processing to generate a simulated state of the data type D3 (step S230). Specifically, the pseudo failure generation unit 46 performs a process of not transmitting an ICMP control (Internet Control Message Protocol Reply) at layer 3 of the port 14c. Here, when the ICMP Reply is not transmitted, the control unit 12 performs a process of not transmitting the ICMP Reply based on the ICMP message defined by the protocol stack implemented in the gateway device 10. Therefore, even if the gateway device 10 receives a ping (Echo Request) from the communication network 20c, the device 10 does not return a ping response. In this way, the communication network 20c, which is the opposite device, is made to identify the failure state of "Heartbeat".

ゲートウェイ装置10a内でデータタイプD3に設定された擬似障害処理58が実行された後には、制御部12は装置10自身がデータタイプD3の擬似障害状態になったことを示す情報を記憶部50に記憶させる制御を行う(ステップS240)。   After the simulated failure process 58 set to the data type D3 is executed in the gateway device 10a, the control unit 12 stores the information indicating that the device 10 itself is in the simulated failure state of the data type D3 in the storage unit 50. Control to be stored is performed (step S240).

その後、例えば5秒などの所定時間が経過した後、変化部62を含む制御部12は再度記憶部50で保持する擬似障害状態データ52を参照し(ステップS250)、今度はポート14cに係わる次のデータとして、データタイプD4の設定を実現するよう擬似障害生成部46に指令を送る(ステップS260)。指令を受けた擬似障害生成部46はデータタイプD4の擬似状態を生成する処理を行う(ステップS270)。具体的には、擬似障害生成部46はポート14cのレイヤ7において、SNMP Trap(Simple Network Management Program Trap)を非送出する処理を行う。ここで、SNMP Trapを非送出するとき、制御部12はゲートウェイ装置10に実装されているプロトコルスタックで規定されているSNMPメッセージに基づき、SNMP Trap を非送出する処理を行う。したがって、ゲートウェイ装置10が通信網20cに定規定に送信するSNMP Trap の送信を中止する。このようにして対向装置である通信網20cに「監視はずれ」の障害状態を識別させる。   Thereafter, after a predetermined time such as 5 seconds has elapsed, the control unit 12 including the change unit 62 refers again to the simulated failure state data 52 held in the storage unit 50 (step S250), and this time the next related to the port 14c The command is sent to the simulated fault generation unit 46 to realize the setting of the data type D4 as the data of (step S260). The simulated fault generation unit 46 that has received the command performs processing to generate a simulated state of the data type D4 (step S270). Specifically, the simulated failure generation unit 46 performs a process of not transmitting a Simple Network Management Program Trap (SNMP Trap) in the layer 7 of the port 14c. Here, when the SNMP Trap is not transmitted, the control unit 12 performs a process of not transmitting the SNMP Trap based on the SNMP message defined by the protocol stack implemented in the gateway device 10. Therefore, the gateway device 10 suspends the transmission of the SNMP Trap which is regularly transmitted to the communication network 20c. In this way, the communication network 20c, which is the opposite device, is made to identify the failure state of "monitoring failure".

ゲートウェイ装置10a内でデータタイプD4に設定された擬似障害処理58が実行された後には、制御部12は装置10自身がデータタイプD4の擬似障害状態になったことを示す情報を記憶部50に記憶させる制御を行う(ステップS280)。   After the simulated failure processing 58 set to the data type D4 is executed in the gateway device 10a, the control unit 12 stores the information indicating that the device 10 itself is in the simulated failure state of the data type D4 in the storage unit 50. Control to be stored is performed (step S280).

以上のように、ゲートウェイ装置10は所定の時間ごとに装置内に生成する擬似障害の内容を変化させることによって、たとえ装置10と接続された通信網20が障害の自動回復機能を有する通信網であったとしても、装置10の擬似障害状態に基づき通信網20に障害の発生を識別させる確率を高めることが可能となる。ひいては、迂回通信ルートへの切替えをより迅速に促すことができる。   As described above, the gateway device 10 changes the content of the simulated fault generated in the device at predetermined time intervals, so that the communication network 20 connected to the device 10 has a fault recovery function even if it is connected. Even if this is the case, it is possible to increase the probability of causing the communication network 20 to identify the occurrence of a failure based on the simulated failure state of the device 10. As a result, switching to the bypass communication route can be urged more quickly.

実際に生成される擬似障害状態データ52の選択の順番は任意である。また、ポートごとに順々に擬似障害状態を作り出すのみならず、複数のポートに対して同時に擬似障害状態を作り出す処理を行っても構わない。   The order of selection of the pseudo fault condition data 52 actually generated is arbitrary. In addition to creating a simulated fault state sequentially for each port, processing may be performed to create a simulated fault state simultaneously for a plurality of ports.

本発明の実施例に係るここまでの説明では、最初に障害が発生した通信網はポート14bと接続された通信網20bであるものとして説明してきたが、障害が発生した通信網がどの通信網であったとしても、ゲートウェイ装置10は他のポートに対して上記の動作をとることにより対向する通信網群に擬似障害の発生を識別させることができることはもちろんである。   Although the communication network in which the failure first occurred is the communication network 20b connected to the port 14b in the above description according to the embodiment of the present invention, which communication network is the communication network in which the failure occurred Even if this is the case, of course, the gateway apparatus 10 can cause the opposing communication network group to identify the occurrence of the pseudo failure by taking the above operation to the other port.

次に、本発明に係るゲートウェイ装置10の別の実施例について説明する。この実施例に係るゲートウェイ装置10は、例えば稼働中のゲートウェイ装置10に新たな通信網20dが接続された場合において、通信網20dがいかなる方法を用いて装置10の障害発生を検出しようとしているのかを解析することが可能である。   Next, another embodiment of the gateway device 10 according to the present invention will be described. For example, in the case where a new communication network 20d is connected to the gateway device 10 in operation, for example, in the gateway device 10 according to this embodiment, what method is used by the communication network 20d to detect a failure occurrence of the device 10? It is possible to analyze

今回説明する実施例によるゲートウェイ装置10の構成は、図9で示すとおりである。先の実施例の構成要素と同一の部分は、同一の参照符号を用いて表している。なお、本発明に係るゲートウェイ装置10はポート14a〜14dを有するものとし、ポート14dに新たな通信網20dが接続されたものとする。   The configuration of the gateway device 10 according to the embodiment to be described this time is as shown in FIG. The same parts as the constituent elements of the previous embodiment are represented using the same reference numerals. The gateway device 10 according to the present invention is assumed to have ports 14a to 14d, and a new communication network 20d is connected to the port 14d.

この通信網20dは図2で示す通信網20a〜20dと同様に、ゲートウェイ装置10の障害発生を検出する検出部26dおよび通信ルートを切り替える切替部28dを有するものとする。しかしながら、新規接続の段階では、ゲートウェイ装置10は検出部26dがいかなる障害検出手段あるいは方法であるかは認識していないものとする。   Similar to the communication networks 20a to 20d shown in FIG. 2, the communication network 20d includes a detection unit 26d for detecting the occurrence of a failure in the gateway 10 and a switching unit 28d for switching the communication route. However, at the stage of the new connection, it is assumed that the gateway device 10 does not recognize what failure detection means or method is the detection unit 26 d.

本実施例に係るゲートウェイ装置10は、通信バス30と信号線68を介して接続されている学習部70を有する。学習部70は、制御部12の制御の下で各通信網20からの所定の単位時間あたりの通信のうち周期的な通信を検出し、プロトコルスタックを用いて通信プロトコルを翻訳し、翻訳した情報を記憶部50に保存する処理を行う装置である。さらに学習部70は、単位時間ごとの周期的通信の検出、照合および保存処理を任意の回数行い、各回の保存履歴を比較することで、新たに接続されたゲートウェイ装置10に対して通信網20dが採る障害検出方法を推測し解析する装置である。   The gateway device 10 according to the present embodiment has a learning unit 70 connected to the communication bus 30 via the signal line 68. The learning unit 70 detects periodic communication in communication per predetermined unit time from each communication network 20 under the control of the control unit 12, and translates the communication protocol using the protocol stack, Are stored in the storage unit 50. Furthermore, the learning unit 70 performs detection, collation and storage processing of periodic communication for each unit time any number of times, and compares the storage history of each time to the communication network 20 d for the newly connected gateway device 10. Is an apparatus to infer and analyze the fault detection method adopted by

検出時における単位時間とは、例えばゲートウェイ装置10の起動から10分間など、任意の時間で構わない。ここで単位時間の起算点が装置10の起動時点である場合には、周期的通信の検出を始めるごとに、例えばゲートウェイ装置10を一旦再起動させるよう、制御部12は制御を行う。   The unit time at the time of detection may be any time, for example, 10 minutes from the start of the gateway device 10. Here, when the starting point of the unit time is the activation time point of the device 10, the control unit 12 performs control so as to, for example, once restart the gateway device 10 each time the periodic communication detection starts.

図10を参照しつつ、さらに具体的に学習部70の構成の一例を述べる。まず、学習部70は、新たにポート14dと接続された通信網20dから送出される信号を監視し、そのうち周期的に受信する信号を検出する周期信号検出部72を有していてもよい。また学習部70は、周期信号検出部72によって検出された周期的な信号について、記憶部50に記憶されたプロトコルスタックに基づいて通信プロトコルを翻訳する翻訳部74を有することができる。さらに学習部70は、記憶部50に記憶された所定の回数分の翻訳結果を比較し、例えば共通点を導き出すなどの手段により通信網20dが実施する障害検出方法を推測し解析する解析部76を有していてもよい。   More specifically, an example of the configuration of the learning unit 70 will be described with reference to FIG. First, the learning unit 70 may have a periodic signal detection unit 72 that monitors a signal transmitted from the communication network 20 d newly connected to the port 14 d and detects a signal received periodically. The learning unit 70 can also have a translating unit 74 that translates a communication protocol based on the protocol stack stored in the storage unit 50 for the periodic signal detected by the periodic signal detecting unit 72. Furthermore, the learning unit 70 compares the translation results for a predetermined number of times stored in the storage unit 50, and an analysis unit 76 that estimates and analyzes the fault detection method implemented by the communication network 20d by means such as deriving common points. May be included.

例えば、各回の保存履歴とも、記憶部50には新規に接続した通信網20dからは定期的にpingがゲートウェイ装置10に送信されているという検出および翻訳結果が保存されている場合、pingはレイヤ3に位置するプロトコルで規定されたICMPを利用した疎通確認を行うものなので、解析部76は通信網20dの採る具体的な異常検出方法はpingによる疎通確認であると解析する。   For example, in the storage history of each time, when the detection result and the translation result that the ping is periodically transmitted to the gateway device 10 from the newly connected communication network 20d are stored in the storage unit 50, the ping is a layer Since the communication check is performed using the ICMP specified in the protocol located at 3, the analysis unit 76 analyzes that the specific abnormality detection method adopted by the communication network 20d is the communication check by ping.

また、記憶部50には、装置10を再起動する度に通信網20dからTCP 80(Transmission Control Protocol 80)などの所定ポートによるセッションが改めて確立されているという検出および翻訳結果が保存されている場合には、学習部70は検出期間中の継続的なセッションの維持を一種の周期的な通信として判断し、通信網20dの採る検出方法はTCPセッションの切断により装置10の異常を検出しているものと解析する。   In addition, the storage unit 50 stores the detection and translation result that a session by a predetermined port such as TCP 80 (Transmission Control Protocol 80) is reestablished from the communication network 20 d each time the device 10 is restarted. In this case, the learning unit 70 determines that the continuous session maintenance during the detection period is a kind of periodic communication, and the detection method adopted by the communication network 20 d detects an abnormality of the device 10 by disconnection of the TCP session. Analyze it as

記憶部50には、図11で一例が示されているような擬似障害状態データ152が設定保持されている。擬似障害状態データ152としては、例えば通信層56、擬似障害処理58および対向装置の障害検出60のようなデータを含む様々なタイプのデータD5〜D10が記憶されているものとする。本実施例の擬似障害状態データ152では、擬似障害処理58として、先の実施例の擬似障害状態としても記憶されていたICMP 非送出(データD5)の他に、データD6にRIP (Routing Information Protocol) Response 非送出、データD7にTCP FIN (Transmission Control Protocol Finish)、データD8にIGMP (Internet Group Management Protocol) query&report 非送出、データD9にHTTP (HyperText Transfer Protocol) ステータスコード500返送、そしてデータD10にHTTP ステータスコード201非送出が併せて記憶されている。   The storage unit 50 sets and holds simulated fault state data 152, an example of which is shown in FIG. As the simulated fault state data 152, various types of data D5 to D10 including data such as the communication layer 56, the simulated fault process 58, and the fault detection 60 of the opposing apparatus are stored. In the simulated fault state data 152 of the present embodiment, as the simulated fault processing 58, in addition to the ICMP non-transmission (data D5) stored also as the simulated fault state of the previous embodiment, RIP (Routing Information Protocol) ) Response Not sent, TCP DIN (Transmission Control Protocol Finish) to data D7, Internet Group Management Protocol (IGMP) query & report not sent to data D8, HTTP (HyperText Transfer Protocol) status code 500 returned to D9, and D10 to D10 Status code 201 non-transmission is also stored.

また、本実施例の場合、記憶部50は、制御部12の指示により解析結果を記憶する。これによって、将来的に通信網20dに対する擬似障害状態を生成する必要が生じた場合に、記憶された解析結果および擬似障害状態データ152を利用して適切なレイヤの擬似障害を生成することが可能となる。   Further, in the case of the present embodiment, the storage unit 50 stores the analysis result in accordance with an instruction of the control unit 12. By this, when it becomes necessary to generate a simulated fault condition for the communication network 20d in the future, it is possible to generate a simulated fault of an appropriate layer using stored analysis results and simulated fault condition data 152. It becomes.

次に、図12を参照しながら、本実施例に係るゲートウェイ装置10に新たな通信網20dが接続された場合の解析動作について述べる。ゲートウェイ装置10のポート14dに新たに通信網20dが接続されると、所定の単位時間の間、周期信号検出部72は行われた通信網20dと装置10の間で行われた通信のうち周期的な通信を検出する(ステップS310)。単位時間の経過後、翻訳部74は検出された周期的な通信について、プロトコルスタックを用いて通信プロトコルを翻訳する(ステップS320)。学習部70が翻訳した通信情報の結果を、制御部12の制御を受けて解析用の履歴として記憶部50に保存する(ステップS330)。   Next, an analysis operation when a new communication network 20d is connected to the gateway device 10 according to the present embodiment will be described with reference to FIG. When the communication network 20d is newly connected to the port 14d of the gateway device 10, the periodic signal detection unit 72 detects the period of the communication performed between the communication network 20d and the device 10 performed for a predetermined unit time. Communication is detected (step S310). After the unit time has elapsed, the translation unit 74 translates the communication protocol using the protocol stack for the detected periodic communication (step S320). The result of the communication information translated by the learning unit 70 is stored in the storage unit 50 as a history for analysis under the control of the control unit 12 (step S330).

ここで学習部70は、予め設定された所定の数だけ履歴が保存されたか否かを判断する(ステップS340)。保存された履歴が所定の数に満たなければ、ステップS310に戻って通信の検出、翻訳および保存を続ける。他方、所定の数だけ履歴が保存されている場合、解析部76はそれまで保存されてきた履歴をもとに新たに接続された通信網20dの障害検出方法を解析する(ステップS350)。通信網の障害検出方法を解析したら、記憶部50はその解析結果を記憶する(ステップS360)。   Here, the learning unit 70 determines whether the history has been stored by a predetermined number set in advance (step S340). If the stored history does not reach the predetermined number, the process returns to step S310 to continue detection, translation and storage of the communication. On the other hand, when the history is stored for a predetermined number, the analysis unit 76 analyzes the failure detection method of the newly connected communication network 20d based on the history stored so far (step S350). After analyzing the fault detection method of the communication network, the storage unit 50 stores the analysis result (step S360).

このように、本実施例に係るゲートウェイ装置10を用いれば、新規に接続された通信網20dの障害検出方法を自動的に解析することが可能である。したがって、管理者による特別の管理作業を必要とすることなく、のちに別の通信網に通信障害が発生した場合であっても、ゲートウェイ装置10は記憶した解析結果をもとに通信網20dに適したレイヤの擬似障害状態を発生させ、通信網20dへ通信ルートの迂回切替えを促すことができる。   As described above, by using the gateway device 10 according to the present embodiment, it is possible to automatically analyze the failure detection method of the newly connected communication network 20d. Therefore, even if a communication failure occurs in another communication network later without requiring a special management operation by the administrator, the gateway device 10 can use the communication network 20d based on the stored analysis result. It is possible to generate a pseudo-fault state in a suitable layer, and to prompt the communication network 20d to perform bypass switching of the communication route.

また、図11で示したようにレイヤごとに複数の擬似障害状態データ152を用意しておけば、データ152に基づいた変化部62の制御により、図8で示したような手法で所定の時間ごとに生成する擬似障害の内容を変化させることが可能となる。これによって、たとえ通信網20dが障害の自動回復機能を有する通信網であったとしても、ゲートウェイ装置10の擬似障害状態に基づき通信網20dに障害の発生を識別させる確率を高めることが可能となる。もちろん、生成する擬似状態の変化順は任意に設定し得る。   Further, as shown in FIG. 11, if a plurality of pseudo failure state data 152 are prepared for each layer, the control of the changing unit 62 based on the data 152 makes it possible to obtain a predetermined time by the method as shown in FIG. It is possible to change the contents of the simulated fault that is generated on a case-by-case basis. As a result, even if the communication network 20d is a communication network having an automatic failure recovery function, it is possible to increase the probability of causing the communication network 20d to identify the occurrence of a failure based on the simulated failure state of the gateway device 10. . Of course, the change order of the generated pseudo state can be set arbitrarily.

以上、ここまで本発明のいくつかの実施例を述べてきたが、実施の形態は上述の実施例に制限されるものではなく、本発明の実施が可能である限りにおいて適宜に設計や動作手順の変更をなし得る。   Although some embodiments of the present invention have been described above, the embodiments are not limited to the above-described embodiments, and appropriate design and operation procedures can be made as long as the present invention can be implemented. Can make changes.

10 ゲートウェイ装置
14 ポート
40 監視部
46 擬似障害生成部
50 記憶部
52 擬似障害状態データ
64 変化部
64 復旧部
70 学習部
72 周期信号検出部
74 翻訳部
76 解析部
152 擬似障害状態データ
10 Gateway device
14 ports
40 Monitoring Department
46 Pseudo fault generation unit
50 storage unit
52 Pseudo-fault status data
64 change part
64 Recovery section
70 Learning Department
72 Periodic signal detector
74 Translation Department
76 Analysis Unit
152 simulated fault status data

Claims (7)

第1ネットワークと第2ネットワークの間に介在する中継装置であって、該装置は、
第1ネットワークに接続され第1ネットワークに対し信号を送受信する第1インタフェースと、
第2ネットワークに接続され第2ネットワークに対し信号を送受信する第2インタフェースと、
第2ネットワークより障害を検出する監視部と、
第1ネットワークから受信する受信信号からTCP(Transmission Control Protocol)におけるポート80の通信を検出する学習部と、
前記監視部の検出結果および前記学習部の検出結果に基づいてHTTP(HyperText Transfer Protocol)ステータスコードを含む擬似障害信号の生成を制御する擬似障害生成部とを有し、
前記監視部は、常時または定期的に第2インタフェースを介して第2ネットワークに所定の信号を自ら発信し、該所定の信号に対する第2ネットワークからの応答の有無に応じて障害の有無を検出し、
前記学習部は第1インタフェースを介して第1ネットワークから受信する前記受信信号より前記通信を検出し、
第1インタフェースは返送として前記擬似障害信号を第1ネットワークに送信することを特徴とする中継装置。
A relay device interposed between the first network and the second network, the device being
A first interface connected to the first network for transmitting and receiving signals to and from the first network;
A second interface connected to the second network for transmitting and receiving signals to and from the second network;
A monitoring unit that detects a failure from the second network;
A learning unit that detects communication of the port 80 in TCP (Transmission Control Protocol) from a received signal received from the first network;
And a simulated fault generation unit configured to control generation of a simulated fault signal including an HTTP (HyperText Transfer Protocol) status code based on the detection result of the monitoring unit and the detection result of the learning unit.
The monitoring unit constantly or periodically transmits a predetermined signal to the second network via the second interface, and detects the presence or absence of a failure according to the presence or absence of a response from the second network to the predetermined signal. ,
The learning unit detects the communication from the received signal received from the first network via the first interface,
A relay apparatus characterized in that the first interface transmits the pseudo fault signal to the first network as a return.
第1ネットワークと第2ネットワークの間に介在する中継装置であって、該装置は、
第1ネットワークに接続され第1ネットワークに対し信号を送受信する第1インタフェースと、
第2ネットワークに接続され第2ネットワークに対し信号を送受信する第2インタフェースと、
第2ネットワークより障害を検出する監視部と、
第1ネットワークから受信する受信信号からTCP(Transmission Control Protocol)におけるポート80の通信を検出する学習部と、
前記監視部の検出結果および前記学習部の検出結果に基づいてHTTP(HyperText Transfer Protocol)ステータスコードを含む第1擬似障害信号またはTCP接続を終了する第2擬似障害信号の生成を制御する擬似障害生成部とを有し、
前記監視部は、常時または定期的に第2インタフェースを介して第2ネットワークに所定の信号を自ら発信し、該所定の信号に対する第2ネットワークからの応答の有無に応じて障害の有無を検出し、
前記学習部は第1インタフェースを介して第1ネットワークから受信する前記受信信号より前記通信を検出し、
第1インタフェースは、前記擬似障害生成部が第1擬似障害信号の生成を制御する場合、前記通信に係わる返送として第1擬似障害信号を第1ネットワークに送信し、前記擬似障害生成部が第2擬似障害信号の生成を制御する場合、前記通信に係わるTCP接続を終了する第2擬似障害信号を第1ネットワークに送信することを特徴とする中継装置。
A relay device interposed between the first network and the second network, the device being
A first interface connected to the first network for transmitting and receiving signals to and from the first network;
A second interface connected to the second network for transmitting and receiving signals to and from the second network;
A monitoring unit that detects a failure from the second network;
A learning unit that detects communication of the port 80 in TCP (Transmission Control Protocol) from a received signal received from the first network;
Based on the detection result of the monitoring unit and the detection result of the learning unit, generation of a first pseudo failure signal including an HTTP (HyperText Transfer Protocol) status code or a second pseudo failure signal for terminating a TCP connection is generated. Have a department,
The monitoring unit constantly or periodically transmits a predetermined signal to the second network via the second interface, and detects the presence or absence of a failure according to the presence or absence of a response from the second network to the predetermined signal. ,
The learning unit detects the communication from the received signal received from the first network via the first interface,
The first interface transmits the first simulated fault signal to the first network as a return related to the communication when the simulated fault generation unit controls generation of the first simulated fault signal, and the simulated fault generation unit transmits the second simulated fault signal to the second network. A relay apparatus characterized by transmitting a second pseudo failure signal for terminating a TCP connection related to the communication to a first network when controlling generation of the pseudo failure signal.
第1ネットワークに接続され第1ネットワークに対し信号を送受信する第1インタフェースと、第2ネットワークに接続され第2ネットワークに対し信号を送受信する第2インタフェースとを有し、第1ネットワークと第2ネットワークの間に介在する中継装置を、
常時または定期的に第2インタフェースを介して第2ネットワークに所定の信号を自ら発信し、該所定の信号に対する第2ネットワークからの応答の有無に応じて障害の有無を検出する監視手段、
第1インタフェースを介して第1ネットワークから受信する受信信号からTCP(Transmission Control Protocol)におけるポート80の通信を検出する学習手段、ならびに
前記監視手段の検出結果および前記学習手段の検出結果に基づいてHTTP(HyperText Transfer Protocol)ステータスコードを含む擬似障害信号の生成を制御し、第1インタフェースに返送として前記擬似障害信号を第1ネットワークに送信させる擬似障害生成手段として機能させることを特徴とするプログラム。
A first interface connected to the first network to transmit and receive signals to and from the first network; and a second interface connected to the second network to transmit and receive signals to and from the second network; Relay device between them,
A monitoring unit that transmits a predetermined signal to the second network by itself constantly or periodically via the second interface, and detects the presence or absence of a failure according to the presence or absence of a response from the second network to the predetermined signal;
Learning means for detecting the communication of the port 80 in TCP (Transmission Control Protocol) from a received signal received from the first network via the first interface, and HTTP based on the detection result of the monitoring means and the detection result of the learning means (HyperText Transfer Protocol) A program that controls generation of a pseudo fault signal including a status code, and functions as a pseudo fault generation unit that transmits the pseudo fault signal to the first network as a return to the first interface.
第1ネットワークに接続され第1ネットワークに対し信号を送受信する第1インタフェースと、第2ネットワークに接続され第2ネットワークに対し信号を送受信する第2インタフェースとを有し、第1ネットワークと第2ネットワークの間に介在する中継装置を、
常時または定期的に第2インタフェースを介して第2ネットワークに所定の信号を自ら発信し、該所定の信号に対する第2ネットワークからの応答の有無に応じて障害の有無を検出する監視手段、
第1インタフェースを介して第1ネットワークから受信する受信信号からTCP(Transmission Control Protocol)におけるポート80の通信を検出する学習手段、ならびに
前記監視手段の検出結果および前記学習手段の検出結果に基づいてHTTP(HyperText Transfer Protocol)ステータスコードを含む第1擬似障害信号またはTCP接続を終了する第2擬似障害信号の生成を制御し、第1擬似障害信号の生成を制御する場合には第1インタフェースに前記通信に係わる返送として第1擬似障害信号を第1ネットワークに送信させ、第2擬似障害信号の生成を制御する場合には第1インタフェースに前記通信に係わるTCP接続を終了する第2擬似障害信号を第1ネットワークに送信させる擬似障害生成手段として機能させることを特徴とするプログラム。
A first interface connected to the first network to transmit and receive signals to and from the first network; and a second interface connected to the second network to transmit and receive signals to and from the second network; Relay device between them,
A monitoring unit that transmits a predetermined signal to the second network by itself constantly or periodically via the second interface, and detects the presence or absence of a failure according to the presence or absence of a response from the second network to the predetermined signal;
Learning means for detecting the communication of the port 80 in TCP (Transmission Control Protocol) from a received signal received from the first network via the first interface, and HTTP based on the detection result of the monitoring means and the detection result of the learning means (HyperText Transfer Protocol) controlling the generation of a first pseudo fault signal including a status code or a second pseudo fault signal for terminating a TCP connection, and controlling the generation of a first pseudo fault signal, the communication to the first interface The first pseudo fault signal is transmitted to the first network as a return related to the second network, and the second pseudo fault signal for terminating the TCP connection related to the communication is transmitted to the first interface when the generation of the second pseudo fault signal is controlled. (1) A program characterized in that it functions as a simulated fault generation unit to be transmitted to a network.
第1ネットワークに接続され第1ネットワークに対し信号を送受信する第1インタフェースと、第2ネットワークに接続され第2ネットワークに対し信号を送受信する第2インタフェースとを有し、第1ネットワークと第2ネットワークの間に介在する中継装置の制御方法であって、該方法は、
前記中継装置が常時または定期的に第2インタフェースを介して第2ネットワークに所定の信号を自ら発信し、該所定の信号に対する第2ネットワークからの応答の有無に応じて障害の有無を検出するステップと、
前記中継装置が前記障害を検出した第2ネットワークへの通信を実行するTCP(Transmission Control Protocol)におけるポート80の通信を第1インタフェースを介して第1ネットワークから受信した受信信号より検出すると、前記中継装置は返送に係る疑似障害状態データ、前記障害および前記通信に基づいてHTTP(HyperText Transfer Protocol)ステータスコードを含む擬似障害信号の生成を制御し、該擬似障害信号を第1インタフェースに返送として第1ネットワークに送信させるステップとを含むことを特徴とする制御方法。
A first interface connected to the first network to transmit and receive signals to and from the first network; and a second interface connected to the second network to transmit and receive signals to and from the second network; And controlling the relay apparatus interposed between the
The relay apparatus constantly or periodically transmitting a predetermined signal to the second network via the second interface, and detecting the presence or absence of a failure according to the presence or absence of a response from the second network to the predetermined signal; When,
The relay device detects communication of a port 80 in Transmission Control Protocol (TCP) that executes communication to the second network where the failure is detected from the received signal received from the first network via the first interface, the relay The apparatus controls generation of a pseudo fault signal including HTTP (HyperText Transfer Protocol) status code based on the pseudo fault status data relating to return, the fault and the communication, and sends the pseudo fault signal back to the first interface. And b. Causing the network to transmit.
第1ネットワークに接続され第1ネットワークに対し信号を送受信する第1インタフェースと、第2ネットワークに接続され第2ネットワークに対し信号を送受信する第2インタフェースとを有し、第1ネットワークと第2ネットワークの間に介在する中継装置の制御方法であって、該方法は、
前記中継装置が常時または定期的に第2インタフェースを介して第2ネットワークに所定の信号を自ら発信し、該所定の信号に対する第2ネットワークからの応答の有無に応じて障害の有無を検出するステップと、
前記中継装置が前記障害を検出した第2ネットワークへの通信を実行するTCP(Transmission Control Protocol)におけるポート80の通信を第1インタフェースを介して第1ネットワークから受信した受信信号より検出すると、前記中継装置は返送に係る疑似障害状態データ、前記障害および前記通信に基づいてHTTP(HyperText Transfer Protocol)ステータスコードを含む第1擬似障害信号またはTCP接続を終了する第2擬似障害信号の生成を制御し、第1擬似障害信号の生成を制御する場合には第1インタフェースに前記通信に係わる返送として第1擬似障害信号を第1ネットワークに送信させ、第2擬似障害信号の生成を制御する場合には第1インタフェースに前記通信に係わるTCP接続を終了する第2擬似障害信号を第1ネットワークに送信させるステップとを含むことを特徴とする制御方法。
A first interface connected to the first network to transmit and receive signals to and from the first network; and a second interface connected to the second network to transmit and receive signals to and from the second network; And controlling the relay apparatus interposed between the
The relay apparatus constantly or periodically transmitting a predetermined signal to the second network via the second interface, and detecting the presence or absence of a failure according to the presence or absence of a response from the second network to the predetermined signal; When,
The relay device detects communication of a port 80 in Transmission Control Protocol (TCP) that executes communication to the second network where the failure is detected from the received signal received from the first network via the first interface, the relay The apparatus controls generation of a first pseudo failure signal including HTTP (HyperText Transfer Protocol) status code or a second pseudo failure signal for terminating a TCP connection based on the pseudo failure status data relating to the return, the failure and the communication. When controlling the generation of the first pseudo fault signal, the first interface transmits the first pseudo fault signal to the first network as a return related to the communication, and when controlling the generation of the second pseudo fault signal, the first Sending a second simulated fault signal to the first network to terminate the TCP connection involved in the communication on one interface. The method according to claim and.
第1ネットワークと第2ネットワークの間に介在し、第1ネットワークに接続され第1ネットワークに対し信号を送受信する第1インタフェースと第2ネットワークに接続され第2ネットワークに対し信号を送受信する第2インタフェースとを有する中継装置であって、該中継装置はさらに、
常時または定期的に第2インタフェースを介して第2ネットワークに所定の信号を自ら発信し、該所定の信号に対する第2ネットワークからの応答の有無に応じて障害の有無を検出する監視部と、
第1ネットワークから第2ネットワークへ向かう際に第1インタフェースを介して第1ネットワークから受信する中継信号から通信プロトコルTCP(Transmission Control Protocol)におけるポート80の通信を検出する学習部と、
前記監視部の検出結果および前記学習部の検出結果に基づいて該中継装置におけるHTTP(HyperText Transfer Protocol)擬似障害状態を生成する擬似障害生成部と、
少なくとも、該擬似障害生成部で生成される前記HTTP擬似障害状態を設定する第1HTTP擬似障害状態データまたは第1HTTP擬似障害状態データとは異なる第2HTTP擬似障害状態データを記憶する記憶部とを有し、
前記擬似障害生成部は、第1HTTP擬似障害状態データまたは第2HTTP擬似障害状態データに基づいて前記HTTP擬似障害を生成し、
第1HTTP擬似障害状態データに基づいて前記HTTP擬似障害状態を生成する場合、該中継装置の第1インタフェースは所定のHTTPステータスコードを含めたHTTP擬似障害信号を第1ネットワークに返送する処理を行い、第2HTTP擬似障害状態データに基づいて前記HTTP擬似障害状態を生成する場合、該中継装置の第1インタフェースは前記返送する処理とは異なる処理をすることを特徴とする中継装置。
A first interface connected to the first network for transmitting and receiving signals to and from the first network, and a second interface connected to the second network and for transmitting and receiving signals to the second network, interposed between the first network and the second network And the relay apparatus further comprises:
A monitoring unit that transmits a predetermined signal to the second network via the second interface constantly or periodically, and detects the presence or absence of a failure according to the presence or absence of a response from the second network to the predetermined signal;
A learning unit that detects communication of a port 80 in a communication protocol TCP (Transmission Control Protocol) from a relay signal received from the first network via the first interface when going from the first network to the second network;
A simulated failure generation unit that generates an HTTP (HyperText Transfer Protocol) simulated failure state in the relay device based on the detection result of the monitoring unit and the detection result of the learning unit;
And a storage unit for storing at least second HTTP pseudo failure status data different from the first HTTP pseudo failure status data for setting the HTTP pseudo failure status generated by the pseudo failure generation unit or the first HTTP pseudo failure status data. ,
The simulated fault generation unit generates the HTTP simulated fault based on the first HTTP simulated fault status data or the second HTTP simulated fault status data,
When generating the HTTP pseudo failure state based on first HTTP pseudo failure state data, the first interface of the relay device performs processing to return an HTTP pseudo failure signal including a predetermined HTTP status code to the first network, 2. A relay apparatus characterized in that when the HTTP pseudo failure state is generated based on second HTTP pseudo failure state data, the first interface of the relay device performs processing different from the processing to be returned.
JP2017212969A 2017-11-02 2017-11-02 Relay device and its program Active JP6526149B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017212969A JP6526149B2 (en) 2017-11-02 2017-11-02 Relay device and its program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017212969A JP6526149B2 (en) 2017-11-02 2017-11-02 Relay device and its program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2016115305A Division JP6240260B2 (en) 2016-06-09 2016-06-09 Relay device and control method thereof

Publications (2)

Publication Number Publication Date
JP2018019443A JP2018019443A (en) 2018-02-01
JP6526149B2 true JP6526149B2 (en) 2019-06-05

Family

ID=61076831

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017212969A Active JP6526149B2 (en) 2017-11-02 2017-11-02 Relay device and its program

Country Status (1)

Country Link
JP (1) JP6526149B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003050752A (en) * 2001-08-06 2003-02-21 Fujitsu Ltd Method and device for informing restoration of server fault
JP4699541B2 (en) * 2009-05-25 2011-06-15 株式会社エヌ・ティ・ティ・ドコモ Intermediate server device, transmission server device, communication system, and communication method

Also Published As

Publication number Publication date
JP2018019443A (en) 2018-02-01

Similar Documents

Publication Publication Date Title
US7924702B2 (en) Method for reconfiguring a communication network
US8244838B2 (en) Industrial controller employing the network ring topology
US7782892B2 (en) Method and an apparatus for consistency verification of traffic engineering link timeslot status
WO2012068996A1 (en) Method and device for detecting link state
CN109873719B (en) Fault detection method and device
JP2009303092A (en) Network equipment and line switching method
EP3029883A1 (en) Network protection method and apparatus, next-ring node, and system
CN103607293A (en) Flow protection method and equipment thereof
CN101217445B (en) A method of loop generation protection and Ethernet ring system
EP2466804A1 (en) Protection switching method for ethernet automatic protection switching (eaps) ring network and master node in eaps ring network
US8218433B2 (en) Monitoring connectivity in ring networks
JP4532253B2 (en) Frame transfer apparatus and frame loop suppression method
JP5004758B2 (en) Layer 2 network and network connection device
JP5551470B2 (en) Gateway device and processing method thereof
US7860090B2 (en) Method for processing LMP packets, LMP packet processing unit and LMP packet processing node
CN105897580A (en) Protocol-independent forwarding network rapid fault detection and flow protection switching method
JP6526149B2 (en) Relay device and its program
CN100464528C (en) Method and system for preventing circuit loop after failure recovery
JP6240260B2 (en) Relay device and control method thereof
JP5952337B2 (en) Relay device and control method thereof
EP2573977A1 (en) Subnet protection method and device for transport multi-protocol label switching (tmpls) network
CN112073270B (en) Link fault detection method and device
CN101183921A (en) Method and apparatus for guaranteeing continuousness of service stream
CN112737938B (en) DRP switching method, device, equipment and medium
CN103840965A (en) Method for enhancing quick fault convergence in RSTP

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171102

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180820

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180918

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181119

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7426

Effective date: 20181119

RD13 Notification of appointment of power of sub attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7433

Effective date: 20181119

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20181119

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190507

R150 Certificate of patent or registration of utility model

Ref document number: 6526149

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150