JP7456133B2 - Communication monitoring device, communication monitoring method, and communication monitoring program - Google Patents

Communication monitoring device, communication monitoring method, and communication monitoring program Download PDF

Info

Publication number
JP7456133B2
JP7456133B2 JP2019218101A JP2019218101A JP7456133B2 JP 7456133 B2 JP7456133 B2 JP 7456133B2 JP 2019218101 A JP2019218101 A JP 2019218101A JP 2019218101 A JP2019218101 A JP 2019218101A JP 7456133 B2 JP7456133 B2 JP 7456133B2
Authority
JP
Japan
Prior art keywords
communication
communication monitoring
backup
connections
monitoring
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
JP2019218101A
Other languages
Japanese (ja)
Other versions
JP2021090101A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2019218101A priority Critical patent/JP7456133B2/en
Publication of JP2021090101A publication Critical patent/JP2021090101A/en
Application granted granted Critical
Publication of JP7456133B2 publication Critical patent/JP7456133B2/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 communication monitoring device, a communication monitoring method, and a communication monitoring program.

例えば、TCP(Transmission Control Protocol)/IP(Internet Protocol)の通信プロトコルを用いて、相手先システムとの間でコネクションを確立して通信する通信システムが広く普及している。TCPプロトコルでは、相手先システムとの間のコネクションを確立した後、パケットの送受信を行い続ける必要はなく、必要な場合だけパケットを送信し、パケットの送受信を行っていない無通信状態のままコネクションを維持し続けることができる。従って、通信装置は、無通信状態に相手先システムがダウンしていたとしても気付くことはなく、その後のパケット送信が失敗した場合に初めて相手先システムの異常を検知することになる。 For example, communication systems that establish a connection and communicate with a partner system using TCP (Transmission Control Protocol)/IP (Internet Protocol) communication protocols are widely used. In the TCP protocol, after establishing a connection with the other party's system, there is no need to continue sending and receiving packets; instead, packets are sent only when necessary, and the connection is left in a state of no communication when no packets are being sent or received. can continue to be maintained. Therefore, the communication device does not notice even if the other party's system is down during a non-communication state, and only detects an abnormality in the other party's system when subsequent packet transmission fails.

そこで、TCPプロトコルでは、確立されたコネクションが無通信状態の場合に、コネクションの生存を監視する無通信監視機能がある。無通信監視機能では、コネクションから一定時間以上継続してパケットを受信しなかった場合に、当該コネクションに対して無通信監視パケットを送信し、無通信監視パケットに対する応答が検出されなかった場合に、当該コネクションの異常を検出する。 The TCP protocol has a no-communication monitoring function that monitors the existence of a connection when an established connection is in a no-communication state. With this function, if no packets are received from a connection for a certain period of time or more, a no-communication monitoring packet is sent to that connection, and if no response to the no-communication monitoring packet is detected, an abnormality in that connection is detected.

特開2010-4487号公報Japanese Patent Application Publication No. 2010-4487 国際公開第2017/010079号International Publication No. 2017/010079

通信装置は、相手先システム毎に大量の予備コネクションを事前に確立しておき、通信中の運用コネクションに異常が発生した場合に異常発生の運用コネクションを予備コネクションに切替えることで通信断を抑制する通信システムが知られている。 The communication device establishes a large number of backup connections in advance for each partner system, and if an error occurs in the operational connection during communication, it switches the operational connection in which the error occurred to the backup connection to suppress communication interruptions. Communication systems are known.

しかしながら、通信装置では、大量の予備コネクションの確立後、大量の予備コネクションに対して一斉に無通信監視パケットを送信することになるため、無通信監視パケットの大量同時発生によってネットワーク負荷が瞬間的に集中する。その結果、例えば、無通信監視パケットの送信側の通信装置や受信側の通信装置のバッファ不足や、無通信監視パケットが通過する通信経路上のルータ内のバッファ不足によってパケットロスト事象が発生し、コネクション断や通信遅延が生じる。 However, in a communication device, after establishing a large number of backup connections, a large number of backup connections are sent all the no-communication monitoring packets all at once, so the simultaneous occurrence of a large number of no-communication monitoring packets can cause an instantaneous increase in the network load. concentrate. As a result, for example, a packet lost event may occur due to a buffer shortage in a communication device on the transmitting side or a receiving side of a non-communication monitoring packet, or a buffer shortage in a router on a communication path through which the non-communication monitoring packet passes. Connection breaks and communication delays occur.

1つの側面では、無通信監視パケット送信で生じる集中負荷を軽減できる通信監視装置等を提供することを目的とする。 One aspect of the present invention is to provide a communication monitoring device and the like that can reduce the concentration load caused by non-communication monitoring packet transmission.

1つの側面の通信監視装置では、送信部と、監視部とを有する。送信部は、複数のシステムとの間を通信で接続する複数のコネクションを確立した状況において、インターバルを挟んだ複数の時間帯のそれぞれで各システムの無通信状態のコネクションに分散して無通信監視パケットを送信する。監視部は、無通信監視パケットに対する応答の有無に基づき、当該無通信監視パケットが送信されたコネクション毎の通信状態を監視する。 A communication monitoring device according to one aspect includes a transmitter and a monitor. In a situation where multiple connections have been established to communicate with multiple systems, the transmitting unit monitors non-communication by distributing it to the non-communicating connections of each system during multiple time periods with intervals in between. Send a packet. The monitoring unit monitors the communication state of each connection to which the no-communication monitoring packet was sent, based on the presence or absence of a response to the no-communication monitoring packet.

1つの側面によれば、無通信監視パケット送信で生じる集中負荷を軽減できる。 According to one aspect, it is possible to reduce the concentrated load caused by non-communication monitoring packet transmission.

図1は、本実施例の通信システムの一例を示す説明図である。FIG. 1 is an explanatory diagram showing an example of a communication system according to the present embodiment. 図2は、通信監視装置の一例を示す説明図である。FIG. 2 is an explanatory diagram illustrating an example of a communication monitoring device. 図3は、順序テーブル内の送信順序の一例を示す説明図である。FIG. 3 is an explanatory diagram showing an example of the transmission order in the order table. 図4Aは、1回目の同時送信時(正常時)の送信順序の一例を示す説明図である。FIG. 4A is an explanatory diagram showing an example of a transmission order during the first simultaneous transmission (normal). 図4Bは、2回目の同時送信時(正常時)の送信順序の一例を示す説明図である。FIG. 4B is an explanatory diagram showing an example of the transmission order during the second simultaneous transmission (normal time). 図4Cは、3回目の同時送信時(正常時)の送信順序の一例を示す説明図である。FIG. 4C is an explanatory diagram showing an example of the transmission order during the third simultaneous transmission (normal time). 図5は、通信状況が正常時の無通信監視パケット送信動作の一例を示す説明図である。FIG. 5 is an explanatory diagram showing an example of a non-communication monitoring packet transmission operation when the communication status is normal. 図6Aは、1回目の同時送信時(異常時)の送信順序の一例を示す説明図である。FIG. 6A is an explanatory diagram illustrating an example of the transmission order at the time of the first simultaneous transmission (at the time of abnormality). 図6Bは、2回目の同時送信時(異常時)の送信順序の一例を示す説明図である。FIG. 6B is an explanatory diagram showing an example of the transmission order at the time of the second simultaneous transmission (at the time of abnormality). 図6Cは、3回目の同時送信時(異常時)の送信順序の一例を示す説明図である。FIG. 6C is an explanatory diagram showing an example of the transmission order at the time of the third simultaneous transmission (at the time of abnormality). 図7は、通信状況が異常時の無通信監視パケット送信動作の一例を示す説明図である。FIG. 7 is an explanatory diagram illustrating an example of a non-communication monitoring packet transmission operation when the communication status is abnormal. 図8は、送信順序登録処理に関わる通信監視装置の処理動作の一例を示すフローチャートである。FIG. 8 is a flowchart illustrating an example of processing operations of the communication monitoring device related to transmission order registration processing. 図9Aは、監視パケット送信処理に関わる通信監視装置の処理動作の一例を示すフローチャートである。FIG. 9A is a flowchart illustrating an example of processing operations of the communication monitoring device related to monitoring packet transmission processing. 図9Bは、監視パケット送信処理に関わる通信監視装置の処理動作の一例を示すフローチャートである。FIG. 9B is a flowchart illustrating an example of processing operations of the communication monitoring device related to monitoring packet transmission processing. 図10は、送信順序更新処理に関わる通信監視装置の処理動作の一例を示すフローチャートである。FIG. 10 is a flowchart illustrating an example of processing operations of the communication monitoring device related to transmission order update processing. 図11は、応答監視処理に関わる通信監視装置の処理動作の一例を示すフローチャートである。FIG. 11 is a flowchart illustrating an example of processing operations of the communication monitoring device related to response monitoring processing. 図12は、通信監視プログラムを実行するコンピュータの一例を示すブロック図である。FIG. 12 is a block diagram showing an example of a computer that executes a communication monitoring program.

以下、図面に基づいて、本願の開示する通信監視装置等の実施例を詳細に説明する。尚、各実施例により、開示技術が限定されるものではない。また、以下に示す各実施例は、矛盾を起こさない範囲で適宜組み合わせても良い。 DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of a communication monitoring device and the like disclosed in the present application will be described in detail based on the drawings. Note that the disclosed technology is not limited by each example. Furthermore, the embodiments shown below may be combined as appropriate to the extent that no contradiction occurs.

図1は、本実施例の通信システム1の一例を示す説明図である。図1に示す通信システム1は、自システム2と、複数の相手先システム3と、ネットワーク4とを有する。自システム2は、複数の通信監視装置5を有する。尚、通信監視装置5は、例えば、自システム2内の通信装置が有するものである。相手先システム3も、複数の通信監視装置5A(5)を有する。また、通信監視装置5Aも、例えば、相手先システム3内の通信装置が有するものである。自システム2内の各通信監視装置5は、相手先システム3との通信運用を開始する際に複数の相手先システム3との間に複数のコネクションを一斉に確立する。通信監視装置5は、TCPプロトコルを用いて相手先システム3毎に複数のコネクションを確立し、複数のコネクションの内、例えば、一のコネクションを運用コネクションに使用する。更に、通信監視装置5は、複数のコネクションの内、運用コネクション以外の残りのコネクションを予備コネクションに使用する。そして、通信監視装置5は、運用コネクションの異常を検出した場合、運用コネクションを予備コネクションに切替えて異常検出の運用コネクションの通信を予備コネクションに引き継ぐ。 FIG. 1 is an explanatory diagram showing an example of a communication system 1 of this embodiment. The communication system 1 shown in FIG. 1 includes a local system 2, a plurality of partner systems 3, and a network 4. The own system 2 has a plurality of communication monitoring devices 5. Note that the communication monitoring device 5 is included in, for example, a communication device within the own system 2. The destination system 3 also has a plurality of communication monitoring devices 5A(5). Further, the communication monitoring device 5A is also included in a communication device within the partner system 3, for example. Each communication monitoring device 5 in its own system 2 simultaneously establishes a plurality of connections with a plurality of partner systems 3 when starting communication operations with the partner system 3 . The communication monitoring device 5 establishes a plurality of connections for each partner system 3 using the TCP protocol, and uses, for example, one connection among the plurality of connections as an operational connection. Furthermore, the communication monitoring device 5 uses the remaining connections other than the operational connection among the plurality of connections as backup connections. When the communication monitoring device 5 detects an abnormality in the working connection, it switches the working connection to a backup connection and takes over the communication of the working connection where the abnormality has been detected to the backup connection.

相手先システム3は、例えば、3台の相手先システム3A、3B及び3Cを有する。自システム2と相手先システム3Aとの間の4本の予備コネクションを1-1~1-4、自システム2と相手先システム3Bとの間の4本の予備コネクションを2-1~2-4とする。更に、自システム2と相手先システム3Cとの間の4本の予備コネクションを3-1~3-4とする。 The counterpart system 3 includes, for example, three counterpart systems 3A, 3B, and 3C. The four backup connections between the local system 2 and the destination system 3A are 1-1 to 1-4, and the four backup connections between the local system 2 and the destination system 3B are 2-1 to 2-. Set it to 4. Furthermore, the four backup connections between the own system 2 and the partner system 3C are designated as 3-1 to 3-4.

また、通信監視装置5は、相手先システム3毎の複数の予備コネクションが一定時間以上継続して無通信状態の場合、無通信監視パケットを無通信状態の予備コネクションに順次送信する。通信監視装置5は、無通信監視パケットに対する応答有無に基づき、各予備コネクションの通信状態を監視する。 In addition, when multiple spare connections for each destination system 3 are in a no-communication state for a certain period of time or more, the communication monitoring device 5 sequentially transmits a no-communication monitoring packet to the spare connections in the no-communication state. The communication monitoring device 5 monitors the communication state of each spare connection based on whether or not there is a response to the no-communication monitoring packet.

図2は、通信監視装置5の一例を示す説明図である。図2に示す通信監視装置5は、TCPプロトコル処理部11と、記憶部12とを有する。TCPプロトコル処理部11は、送信部11Aと、監視部11Bとを有する。送信部11Aは、複数の相手先システム3との間を通信で接続する複数のコネクションを確立した状況において、インターバルを挟んだ複数の時間帯のそれぞれで各相手先システム3の無通信状態の予備コネクションに分散して無通信監視パケットを送信する。監視部11Bは、無通信監視パケットに対する応答の有無に基づき、当該無通信監視パケットが送信された予備コネクション毎の通信状態を監視する。 FIG. 2 is an explanatory diagram showing an example of the communication monitoring device 5. As shown in FIG. The communication monitoring device 5 shown in FIG. 2 includes a TCP protocol processing section 11 and a storage section 12. The TCP protocol processing section 11 includes a transmitting section 11A and a monitoring section 11B. In a situation where a plurality of connections are established to communicate with a plurality of destination systems 3, the transmitting unit 11A transmits a backup signal of each destination system 3 in a non-communication state in each of a plurality of time periods with intervals between them. Sends non-communication monitoring packets distributed among connections. The monitoring unit 11B monitors the communication state of each backup connection to which the no-communication monitoring packet has been transmitted, based on the presence or absence of a response to the no-communication monitoring packet.

送信部11Aは、監視タイマ21と、保留タイマ22と、制御部23と、送信制御部24とを有する。記憶部12は、TCPテーブル31と、順序テーブル32とを有する。 The transmitter 11A includes a monitoring timer 21, a hold timer 22, a controller 23, and a transmission controller 24. The storage unit 12 includes a TCP table 31 and an order table 32.

TCPテーブル31は、TCPプロトコル処理部11の起動時に1つ生成され、TCPプロトコル共通のパラメータ等を管理するテーブルである。TCPテーブル31は、後述する同時送信可能数や保留インターバル時間等を管理する。相手先テーブル33は、TCPテーブル31内にキューされ、例えば、相手先システム3固有のパラメータ等を管理するテーブルである。相手先テーブル33は、相手先システム3の異常有無を識別する異常フラグを管理している。コネクション管理テーブル34は、相手先テーブル33内にキューされ、相手先システム3のコネクションの状態、例えば、無通信監視パケットの応答有無を監視する所定時間やコネクションの通信状況等を管理するテーブルである。コネクション管理テーブル34は、無通信監視パケットに対する応答待ちの状態であるか否かを識別する応答待ちフラグを管理している。順序テーブル32は、予備コネクションに対する無通信監視パケットの後述する送信順序を記憶するテーブルである。 One TCP table 31 is generated when the TCP protocol processing unit 11 is activated, and is a table for managing parameters common to the TCP protocol. The TCP table 31 manages the number of possible simultaneous transmissions, hold interval time, etc., which will be described later. The destination table 33 is queued in the TCP table 31, and is a table for managing parameters specific to the destination system 3, for example. The partner table 33 manages an abnormality flag that identifies whether or not the partner system 3 has an abnormality. The connection management table 34 is a table that is queued in the destination table 33 and manages the connection status of the destination system 3, such as a predetermined time period for monitoring whether or not there is a response to a non-communication monitoring packet, and the communication status of the connection. . The connection management table 34 manages a response waiting flag that identifies whether or not a response to a non-communication monitoring packet is being waited for. The order table 32 is a table that stores the transmission order of non-communication monitoring packets for backup connections, which will be described later.

監視タイマ21は、無通信状態の予備コネクションに対して無通信監視パケットを定期的に送信する監視周期を検出するためのタイマである。監視周期のタイマ時間は、例えば、30秒間隔である。保留タイマ22は、監視周期の検出に応じて無通信監視パケットを予備コネクションに対して送信する際の監視周期期間中の無通信監視パケットの保留インターバルを検出するためのタイマである。保留インターバルのタイマ時間は、例えば、監視周期の検出から次の監視周期を検出するまでの50m秒間隔である。 The monitoring timer 21 is a timer for detecting a monitoring cycle for periodically transmitting a no-communication monitoring packet to a backup connection in a no-communication state. The timer time of the monitoring cycle is, for example, every 30 seconds. The hold timer 22 is a timer for detecting the hold interval of the no-communication monitoring packet during the monitoring cycle period when the no-communication monitoring packet is transmitted to the backup connection in response to the detection of the monitoring cycle. The timer time of the hold interval is, for example, a 50 msec interval from detection of a monitoring cycle to detection of the next monitoring cycle.

通信監視装置5は、監視周期を検出した場合、同時送信可能数の範囲内の無通信監視パケットを保留インターバル毎に順次送信する。同時送信可能数は、通信監視装置5が同時に送信可能な無通信監視パケットの数であって、バッファ不足やパケットロスト事象が発生しない範囲のパケット数に相当し、例えば、4個とする。通信監視装置5は、監視周期を検出した場合、後述する送信順序に基づき、例えば、4個の無通信監視パケットを保留インターバル(50m秒)毎に順次送信する。通信監視装置5は、送信順序に基づき、各相手先システム3内の予備コネクション、すなわち4本までの予備コネクションに対して無通信監視パケットを保留インターバル毎に順次同時送信する。 When the communication monitoring device 5 detects the monitoring cycle, it sequentially transmits the non-communication monitoring packets within the number that can be transmitted simultaneously at each hold interval. The number of simultaneous transmissions is the number of non-communication monitoring packets that can be simultaneously transmitted by the communication monitoring device 5, and corresponds to the number of packets within a range where a buffer shortage or a packet lost event does not occur, and is set to, for example, four. When the communication monitoring device 5 detects the monitoring cycle, it sequentially transmits, for example, four no-communication monitoring packets at every hold interval (50 msec) based on the transmission order described later. Based on the transmission order, the communication monitoring device 5 sequentially and simultaneously transmits the no-communication monitoring packets to the backup connections in each destination system 3, that is, up to four backup connections, at each hold interval.

つまり、通信監視装置5は、監視周期の検出から1回目の保留インターバル経過後に、送信順序に基づき、先頭の4本の予備コネクションに対する無通信監視パケットの同時送信(1回目の同時送信)を実行する。更に、通信監視装置5は、監視周期の検出から2回目の保留インターバル経過後、1回目の同時送信で全ての予備コネクションに対して無通信監視パケットを送信できなかった場合、2回目の同時送信を実行する。つまり、通信監視装置5は、送信順序に基づき、続きの4本の予備コネクションに対する無通信監視パケットの同時送信を実行する。更に、通信監視装置5は、監視周期の検出から3回目の保留インターバル経過後、2回目の同時送信で全ての予備コネクションに対して無通信監視パケットを送信できなかった場合、3回目の同時送信を実行する。つまり、通信監視装置5は、送信順序に基づき、続きの4本の予備コネクションに対する無通信監視パケットの同時送信を実行する。そして、通信監視装置5は、送信順序に基づき、全ての予備コネクションに対する無通信監視パケットの同時送信が完了するまで、保留インターバル毎の同時送信を繰り返し実行する。 That is, the communication monitoring device 5 executes simultaneous transmission (first simultaneous transmission) of a no-communication monitoring packet to the first four spare connections based on the transmission order after the first hold interval has elapsed since the detection of the monitoring cycle. Furthermore, if the communication monitoring device 5 is unable to transmit a no-communication monitoring packet to all spare connections in the first simultaneous transmission after the second hold interval has elapsed since the detection of the monitoring cycle, it executes a second simultaneous transmission. That is, the communication monitoring device 5 executes simultaneous transmission of a no-communication monitoring packet to the next four spare connections based on the transmission order. Furthermore, if the communication monitoring device 5 is unable to transmit a no-communication monitoring packet to all spare connections in the second simultaneous transmission after the third hold interval has elapsed since the detection of the monitoring cycle, it executes a third simultaneous transmission. That is, the communication monitoring device 5 executes simultaneous transmission of a no-communication monitoring packet to the next four spare connections based on the transmission order. Then, the communication monitoring device 5 repeatedly executes simultaneous transmission for each hold interval based on the transmission order until simultaneous transmission of a no-communication monitoring packet to all spare connections is completed.

制御部23は、監視タイマ21のタイムアウトによって監視周期を検出した場合、TCPテーブル31を制御する。制御部23は、TCPテーブル31を参照しながら、無通信監視パケットの送信順に相手先テーブル33及びコネクション管理テーブル34を順序テーブル32内に順次キューすることで、順序テーブル32内に無通信監視パケットの送信順序を登録する。送信制御部24は、順序テーブル32内の送信順序に基づき、各相手先システム3内の各予備コネクションに対する無通信監視パケットの送信を制御する。監視部11Bは、予備コネクション毎の無通信監視パケットに対する所定時間内の応答有無に基づき、予備コネクション毎の通信状況を監視する。更に、監視部11Bは、予備コネクションの応答有無に基づき、順序テーブル32内の送信順序を更新する。監視部11Bは、予備コネクションの無通信監視パケットに対する所定時間内の応答を検出した場合、予備コネクションの通信状況が正常と判断し、順序テーブル32内の送信順序から応答検出した予備コネクションのコネクション管理テーブル34を削除する。また、監視部11Bは、予備コネクションの無通信監視パケットに対する所定時間内の応答を検出しなかった場合、予備コネクションの通信状況が異常、すなわち、予備コネクションを管理する相手先システム3の異常と判断する。そして、監視部11Bは、相手先システム3の異常と判断された場合、異常の相手先システム3の予備コネクションへの無通信監視パケットの送信を優先すべく、順序テーブル32内の送信順序を更新する。つまり、監視部11Bは、異常の予備コネクションを管理する相手先システム3に対応する相手先テーブル33及びコネクション管理テーブル34の送信順序を高くして順序テーブル32内の送信順序を更新する。 The control unit 23 controls the TCP table 31 when the monitoring cycle is detected by the timeout of the monitoring timer 21. The control unit 23 sequentially queues the destination table 33 and the connection management table 34 in the order table 32 in the order in which the non-communication monitoring packets are transmitted, while referring to the TCP table 31. Register the sending order. The transmission control unit 24 controls the transmission of non-communication monitoring packets to each backup connection in each destination system 3 based on the transmission order in the order table 32. The monitoring unit 11B monitors the communication status of each backup connection based on whether there is a response within a predetermined time to the no-communication monitoring packet for each backup connection. Furthermore, the monitoring unit 11B updates the transmission order in the order table 32 based on whether there is a response to the backup connection. When the monitoring unit 11B detects a response to the non-communication monitoring packet of the backup connection within a predetermined time, it determines that the communication status of the backup connection is normal, and performs connection management of the backup connection for which the response was detected based on the transmission order in the order table 32. Delete table 34. Further, if the monitoring unit 11B does not detect a response within a predetermined time to the no-communication monitoring packet of the backup connection, the monitoring unit 11B determines that the communication status of the backup connection is abnormal, that is, the partner system 3 that manages the backup connection is abnormal. do. Then, when it is determined that the partner system 3 is abnormal, the monitoring unit 11B updates the transmission order in the order table 32 to give priority to the transmission of the no-communication monitoring packet to the backup connection of the abnormal partner system 3. do. That is, the monitoring unit 11B updates the transmission order in the order table 32 by increasing the transmission order in the partner table 33 and connection management table 34 corresponding to the partner system 3 that manages the abnormal backup connection.

図3は、順序テーブル32内の送信順序の一例を示す説明図である。説明の便宜上、例えば、相手先システム3は3台、相手先システム3Aの予備コネクションが4本(1-1~1-4)、相手先システム3Bの予備コネクションが4本(2-1~2-4)、相手先システム3Cの予備コネクションが4本(3-1~3-4)とする。相手先システム3Aは、“1”の相手先テーブル33で管理し、相手先システム3Aの予備コネクション“1-1”~“1-4”のコネクション管理テーブル“1-1”~“1-4”を管理する。相手先システム3Bは、“2”の相手先テーブル33で管理し、相手先システム3Bの予備コネクション“2-1”~“2-4”のコネクション管理テーブル“2-1”~“2-4”を管理する。相手先システム3Cは、“3”の相手先テーブル33で管理し、相手先システム3Cの予備コネクション“3-1”~“3-4”のコネクション管理テーブル“3-1”~“3-4”を管理する。 FIG. 3 is an explanatory diagram showing an example of the transmission order in the order table 32. For convenience of explanation, for example, there are three destination systems 3, four backup connections (1-1 to 1-4) to the destination system 3A, and four backup connections (2-1 to 2) to the destination system 3B. -4) Assume that the destination system 3C has four backup connections (3-1 to 3-4). The destination system 3A is managed by the destination table 33 of “1”, and the connection management tables “1-1” to “1-4” of the backup connections “1-1” to “1-4” of the destination system 3A are managed. ” to manage. The partner system 3B is managed by the partner table 33 of "2", and the connection management tables "2-1" to "2-4" of the backup connections "2-1" to "2-4" of the partner system 3B are managed. ” to manage. The partner system 3C is managed by the partner table 33 of "3", and the connection management tables "3-1" to "3-4" of the backup connections "3-1" to "3-4" of the partner system 3C are managed. ” to manage.

図4Aは、1回目の同時送信時(正常時)の送信順序の一例を示す説明図、図4Bは、2回目の同時送信時(正常時)の送信順序の一例を示す説明図、図4Cは、3回目の同時送信時(正常時)の送信順序の一例を示す説明図である。図5は、通信状況が正常時の無通信監視パケット送信動作の一例を示す説明図である。通信状況が正常時の無通信監視パケットの送信順序は、1回目の同時送信を予備コネクション“1-1”、“2-1”、“3-1”及び“1-2”宛とする。更に、無通信監視パケットの送信順序は、2回目の同時送信を予備コネクション“2-2”、“3-2”、“1-3”及び“2-3”宛、3回目の同時送信を予備コネクション“3-3”、“1-4”、“2-4”及び“3-4”宛とする。 FIG. 4A is an explanatory diagram showing an example of the transmission order at the time of the first simultaneous transmission (normal time), FIG. 4B is an explanatory diagram showing an example of the transmission order at the time of the second simultaneous transmission (normal time), and FIG. 4C is an explanatory diagram showing an example of the transmission order at the time of the third simultaneous transmission (normal time). FIG. 5 is an explanatory diagram showing an example of a non-communication monitoring packet transmission operation when the communication status is normal. When the communication status is normal, the transmission order of the no-communication monitoring packets is such that the first simultaneous transmission is directed to backup connections "1-1", "2-1", "3-1", and "1-2". Furthermore, the transmission order of the non-communication monitoring packets is such that the second simultaneous transmission is to backup connections "2-2", "3-2", "1-3" and "2-3", and the third simultaneous transmission is to backup connections "2-2", "3-2", "1-3" and "2-3". The backup connections are "3-3", "1-4", "2-4", and "3-4".

制御部23は、監視タイマ21の起動を開始し、監視タイマ21がタイムアウトした場合、監視周期を検出する。送信制御部24は、図4Aの送信順序を参照し、監視周期検出から1回目の保留インターバル(100m秒)が経過すると、“1-1”、“2-1”、“3-1”及び“1-2”の予備コネクションに対する無通信監視パケットを1回目の同時送信としてセットする。そして、送信制御部24は、1回目の同時送信として各予備コネクションに無通信監視パケットを同時送信する。監視部11Bは、“1-1”、“2-1”、“3-1”及び“1-2”の予備コネクションの無通信監視パケットに対する応答を所定時間内に検出した場合、“1-1”、“2-1”、“3-1”及び“1-2”の予備コネクションが正常と判断する。そして、監視部11Bは、順序テーブル32内の送信順序から、1回目の同時送信で無通信監視パケット送信済みの“1-1”、“2-1”、“3-1”及び“1-2”の予備コネクションのコネクション管理テーブル34を削除する(図4B参照)。 The control unit 23 starts activating the monitoring timer 21, and detects a monitoring cycle when the monitoring timer 21 times out. Referring to the transmission order in FIG. 4A, the transmission control unit 24 transmits "1-1", "2-1", "3-1" and A non-communication monitoring packet for the backup connection “1-2” is set as the first simultaneous transmission. Then, the transmission control unit 24 simultaneously transmits a non-communication monitoring packet to each protection connection as the first simultaneous transmission. If the monitoring unit 11B detects a response to the non-communication monitoring packet of the backup connections “1-1”, “2-1”, “3-1” and “1-2” within a predetermined time, the monitoring unit 11B detects “1-1”. The backup connections of ``1'', ``2-1'', ``3-1'', and ``1-2'' are determined to be normal. Then, from the transmission order in the order table 32, the monitoring unit 11B detects "1-1", "2-1", "3-1", and "1-1", which have already sent the non-communication monitoring packet in the first simultaneous transmission. 2" is deleted from the connection management table 34 for the backup connection (see FIG. 4B).

次に送信制御部24は、図4B示す送信順序を参照し、監視周期の検出から2回目の保留インターバルが経過すると、“2-2”、“3-2”、“1-3”及び“2-3”の予備コネクションに対する無通信監視パケットを2回目の同時送信としてセットする。そして、送信制御部24は、2回目の同時送信として各予備コネクションに無通信監視パケットを同時送信する。監視部11Bは、“2-2”、“3-2”、“1-3”及び“2-3”の予備コネクションの無通信監視パケットに対する応答を所定時間内に検出した場合、“2-2”、“3-2”、“1-3”及び“2-3”の予備コネクションが正常と判断する。そして、監視部11Bは、順序テーブル32内の送信順序から、2回目の同時送信で無通信監視パケット送信済みの“2-2”、“3-2”、“1-3”及び“2-3”の予備コネクションのコネクション管理テーブル34を削除する(図4C参照)。 Next, the transmission control unit 24 refers to the transmission order shown in FIG. 4B, and when the second hold interval has elapsed since the detection of the monitoring cycle, "2-2", "3-2", "1-3", and " A non-communication monitoring packet for the backup connection of 2-3" is set as the second simultaneous transmission. Then, the transmission control unit 24 simultaneously transmits a non-communication monitoring packet to each backup connection as a second simultaneous transmission. If the monitoring unit 11B detects a response to the non-communication monitoring packet of the backup connections “2-2”, “3-2”, “1-3”, and “2-3” within a predetermined time, the monitoring unit 11B detects “2-2”. The backup connections of ``2'', ``3-2'', ``1-3'', and ``2-3'' are determined to be normal. Then, the monitoring unit 11B selects "2-2", "3-2", "1-3", and "2-2", which have already sent non-communication monitoring packets in the second simultaneous transmission, from the transmission order in the order table 32. 3" is deleted from the connection management table 34 for the backup connection (see FIG. 4C).

次に送信制御部24は、図4Cに示す送信順序を参照し、監視周期の検出から3回目の保留インターバルが経過すると、“3-3”、“1-4”、“2-4”及び“3-4”の予備コネクションに対する無通信監視パケットを3回目の同時送信としてセットする。そして、送信制御部24は、3回目の同時送信として各予備コネクションに無通信監視パケットを同時送信する。監視部11Bは、“3-3”、“1-4”、“2-4”及び“3-4”の予備コネクションの無通信監視パケットに対する応答を所定時間内に検出した場合、“3-3”、“1-4”、“2-4”及び“3-4”の予備コネクションが正常と判断する。そして、監視部11Bは、順序テーブル32内の送信順序から、3回目の同時送信で無通信監視パケット送信済みの“3-3”、“1-4”、“2-4”及び“3-4”の予備コネクションのコネクション管理テーブル34を削除する。そして、通信監視装置5は、送信順序内の全ての予備コネクションに対する同時送信が完了したので、次の監視周期を検出するまで待機することになる。 Next, the transmission control unit 24 refers to the transmission order shown in FIG. 4C, and when the third hold interval elapses after the detection of the monitoring cycle, the A non-communication monitoring packet for the backup connection "3-4" is set as the third simultaneous transmission. Then, the transmission control unit 24 simultaneously transmits a non-communication monitoring packet to each protection connection as the third simultaneous transmission. If the monitoring unit 11B detects a response to the non-communication monitoring packet of the backup connections “3-3”, “1-4”, “2-4”, and “3-4” within a predetermined time, the monitoring unit 11B detects “3-3”. The backup connections of ``3'', ``1-4'', ``2-4'', and ``3-4'' are determined to be normal. Then, from the transmission order in the order table 32, the monitoring unit 11B detects "3-3", "1-4", "2-4", and "3-3", which are the non-communication monitoring packets that have been transmitted in the third simultaneous transmission. 4" is deleted from the connection management table 34 for the backup connection. Since the communication monitoring device 5 has completed simultaneous transmission for all backup connections in the transmission order, it will wait until it detects the next monitoring cycle.

図6Aは、1回目の同時送信時(異常時)の送信順序の一例を示す説明図、図6Bは、2回目の同時送信時(異常時)の送信順序の一例を示す説明図、図6Cは、3回目の同時送信時(異常時)の送信順序の一例を示す説明図である。図7は、通信状況が異常時の無通信監視パケット送信動作の一例を示す説明図である。通信状況が正常時の無通信監視パケットの送信順序は、1回目の同時送信を予備コネクション“1-1”、“2-1”、“3-1”及び“1-2”宛とする。更に、無通信監視パケットの送信順序は、2回目の同時送信を予備コネクション“2-2”、“3-2”、“1-3”及び“2-3”宛、3回目の同時送信を予備コネクション“3-3”、“1-4”、“2-4”及び“3-4”宛とする。 FIG. 6A is an explanatory diagram showing an example of the transmission order at the time of the first simultaneous transmission (at the time of abnormality), FIG. 6B is an explanatory diagram showing an example of the transmission order at the time of the second simultaneous transmission (at the time of abnormality), and FIG. 6C FIG. 2 is an explanatory diagram showing an example of the transmission order at the time of the third simultaneous transmission (at the time of abnormality). FIG. 7 is an explanatory diagram illustrating an example of a non-communication monitoring packet transmission operation when the communication status is abnormal. When the communication status is normal, the transmission order of the no-communication monitoring packets is such that the first simultaneous transmission is directed to backup connections "1-1", "2-1", "3-1", and "1-2". Furthermore, the transmission order of the non-communication monitoring packets is such that the second simultaneous transmission is to backup connections "2-2", "3-2", "1-3" and "2-3", and the third simultaneous transmission is to backup connections "2-2", "3-2", "1-3" and "2-3". The backup connections are "3-3", "1-4", "2-4", and "3-4".

制御部23は、監視タイマ21の起動を開始し、監視タイマ21がタイムアウトした場合、監視周期を検出する。送信制御部24は、監視周期の検出から1回目の保留インターバルが経過した場合、図6Aに示す送信順序を参照し、“1-1”、“2-1”、“3-1”及び“1-2”の予備コネクションに対する無通信監視パケットを1回目の同時送信としてセットする。そして、送信制御部24は、1回目の同時送信として各予備コネクションに無通信監視パケットを同時送信する。監視部11Bは、予備コネクション“3-1”に対する無通信監視パケットの応答が所定時間内になかった場合、予備コネクション“3-1”を管理する相手先システム3Cの異常と判断する。監視部11Bは、相手先システム3Cの異常と判断された場合、送信順序の相手先システム3C内の残りの予備コネクションに対して無通信監視パケットを優先的に送信すべく、順序テーブル32内の送信順序を並び替える。 The control unit 23 starts activating the monitoring timer 21, and detects a monitoring cycle when the monitoring timer 21 times out. When the first hold interval has elapsed since the detection of the monitoring cycle, the transmission control unit 24 refers to the transmission order shown in FIG. A non-communication monitoring packet for the protection connection 1-2'' is set as the first simultaneous transmission. Then, the transmission control unit 24 simultaneously transmits a non-communication monitoring packet to each protection connection as the first simultaneous transmission. If there is no response to the no-communication monitoring packet for the backup connection "3-1" within a predetermined period of time, the monitoring unit 11B determines that there is an abnormality in the destination system 3C that manages the backup connection "3-1." When the monitoring unit 11B determines that there is an abnormality in the destination system 3C, the monitoring unit 11B uses the information in the order table 32 to preferentially transmit the no-communication monitoring packet to the remaining backup connections in the destination system 3C in the transmission order. Sort the sending order.

つまり、監視部11Bは、図6Bに示す送信順序に示すように、“3-2”、“3-3”、“3-4”及び“2-2”の予備コネクションを2回目の同時送信とする。そして、監視部11Bは、“1-3”、“2-3”、“1-4”及び“2-4”の予備コネクションを3回目の同時送信とするように送信順序を並び替える。 In other words, as shown in the transmission order in FIG. 6B, the monitoring unit 11B sets the backup connections "3-2", "3-3", "3-4", and "2-2" as the second simultaneous transmission. Then, the monitoring unit 11B rearranges the transmission order so that the backup connections "1-3", "2-3", "1-4", and "2-4" are the third simultaneous transmission.

送信制御部24は、監視周期の検出から2回目の保留インターバルが経過した場合、図6Bに示す送信順序を参照し、“3-2”、“3-3”、“3-4”及び“2-2”の予備コネクションに対する無通信監視パケットを2回目の同時送信としてセットする。そして、送信制御部24は、2回目の同時送信として各予備コネクションに無通信監視パケットを同時送信する。監視部11Bは、“3-2”、“3-3”、“3-4”及び“2-2”の予備コネクションの無通信監視パケットに対する応答を所定時間内に検出した場合、“3-2”、“3-3”、“3-4”及び“2-2”の予備コネクションの通信状況が正常と判断する。監視部11Bは、“3-2”、“3-3”、“3-4”及び“2-2”の予備コネクションの無通信監視パケットに対する応答を所定時間内に検出した場合、送信順序から“3-2”、“3-3”、“3-4”及び“2-2”の予備コネクションを削除する。つまり、監視部11Bは、順序テーブル32から、2回目の同時送信で無通信監視パケット送信済みの“3-2”、“3-3”、“3-4”及び“2-2”の予備コネクションのコネクション管理テーブル34を削除する(図6C参照)。 When the second hold interval has elapsed since the detection of the monitoring cycle, the transmission control unit 24 refers to the transmission order shown in FIG. A non-communication monitoring packet for the backup connection of 2-2" is set as the second simultaneous transmission. Then, the transmission control unit 24 simultaneously transmits a non-communication monitoring packet to each backup connection as a second simultaneous transmission. If the monitoring unit 11B detects a response to the non-communication monitoring packet of the backup connections "3-2", "3-3", "3-4", and "2-2" within a predetermined time, It is determined that the communication status of the backup connections 2", 3-3, 3-4, and 2-2 is normal. If the monitoring unit 11B detects a response to the non-communication monitoring packet of the backup connections “3-2”, “3-3”, “3-4”, and “2-2” within a predetermined time, the monitoring unit 11B Delete backup connections "3-2", "3-3", "3-4" and "2-2". In other words, the monitoring unit 11B determines from the order table 32 that the backup packets "3-2", "3-3", "3-4" and "2-2" have already been sent the non-communication monitoring packets in the second simultaneous transmission. The connection management table 34 of the connection is deleted (see FIG. 6C).

送信制御部24は、監視周期の検出から3回目の保留インターバルが経過した場合、図6Cに示す送信順序を参照し、“1-3”、“2-3”、“1-4”及び“2-4”の予備コネクションに対する無通信監視パケットを3回目の同時送信としてセットする。そして、送信制御部24は、3回目の同時送信として各予備コネクションに無通信監視パケットを同時送信する。監視部11Bは、“1-3”、“2-3”、“1-4”及び“2-4”の予備コネクションの無通信監視パケットに対する応答を所定時間内に検出した場合、“1-3”、“2-3”、“1-4”及び“2-4”の予備コネクションの通信状況が正常と判断する。監視部11Bは、“1-3”、“2-3”、“1-4”及び“2-4”の予備コネクションの無通信監視パケットに対する応答を所定時間内に検出した場合、順序テーブル32から、“1-3”、“2-3”、“1-4”及び“2-4”の予備コネクションを削除する。つまり、監視部11Bは、順序テーブル32から、3回目の同時送信で無通信監視パケット送信済みの“1-3”、“2-3”、“1-4”及び“2-4”の予備コネクションのコネクション管理テーブル34を削除する(図6C参照)。 When the third hold interval has elapsed since the detection of the monitoring cycle, the transmission control unit 24 refers to the transmission order shown in FIG. A non-communication monitoring packet for the backup connection of 2-4" is set as the third simultaneous transmission. Then, the transmission control unit 24 simultaneously transmits a non-communication monitoring packet to each protection connection as the third simultaneous transmission. When the monitoring unit 11B detects a response to the non-communication monitoring packet of the backup connections “1-3”, “2-3”, “1-4” and “2-4” within a predetermined time, the monitoring unit 11B It is determined that the communication status of the backup connections "3", "2-3", "1-4", and "2-4" is normal. When the monitoring unit 11B detects a response to the non-communication monitoring packet of the backup connections “1-3”, “2-3”, “1-4”, and “2-4” within a predetermined time, the monitoring unit 11B updates the order table 32. From here, the backup connections "1-3", "2-3", "1-4", and "2-4" are deleted. In other words, the monitoring unit 11B selects from the order table 32 the backup packets "1-3", "2-3", "1-4", and "2-4" that have already sent the non-communication monitoring packets in the third simultaneous transmission. The connection management table 34 of the connection is deleted (see FIG. 6C).

次に本実施例の通信システム1の動作について説明する。図8は、送信順序登録処理に関わる通信監視装置5の処理動作の一例を示すフローチャートである。図8において通信監視装置5内の制御部23は、監視周期を検出したか否かを判定する(ステップS11)。制御部23は、監視周期を検出した場合(ステップS11:Yes)、TCPテーブル31から送信順序が先頭の相手先テーブル33を抽出する抽出動作を実行する(ステップS12)。 Next, the operation of the communication system 1 of this embodiment will be explained. FIG. 8 is a flowchart illustrating an example of processing operations of the communication monitoring device 5 related to transmission order registration processing. In FIG. 8, the control unit 23 in the communication monitoring device 5 determines whether a monitoring cycle has been detected (step S11). When the control unit 23 detects the monitoring cycle (step S11: Yes), the control unit 23 executes an extraction operation to extract the destination table 33 having the first transmission order from the TCP table 31 (step S12).

制御部23は、抽出動作によって相手先テーブル33があるか否かを判定する(ステップS13)。制御部23は、相手先テーブル33がある場合(ステップS13:Yes)、相手先テーブル33から送信順序が先頭のコネクション管理テーブル34を抽出する抽出動作を実行する(ステップS14)。 The control unit 23 determines whether the destination table 33 exists by the extraction operation (step S13). If the destination table 33 exists (step S13: Yes), the control unit 23 performs an extraction operation to extract the connection management table 34 having the first transmission order from the destination table 33 (step S14).

制御部23は、抽出動作によってコネクション管理テーブル34があるか否かを判定する(ステップS15)。制御部23は、コネクション管理テーブル34がある場合(ステップS15:Yes)、コネクション管理テーブル34が無通信監視パケットの送信対象のコネクションであるか否かを判定する(ステップS16)。 The control unit 23 determines whether or not the connection management table 34 exists by the extraction operation (step S15). If the connection management table 34 exists (step S15: Yes), the control unit 23 determines whether the connection management table 34 is a connection to which a non-communication monitoring packet is to be transmitted (step S16).

制御部23は、コネクション管理テーブル34が無通信監視パケットの送信対象のコネクションである場合(ステップS16:Yes)、順序テーブル32内に、ステップS13の相手先テーブル33があるか否かを判定する(ステップS17)。制御部23は、順序テーブル32内に相手先テーブル33がある場合(ステップS17:Yes)、順序テーブル32内の相手先テーブル33内に、ステップS15のコネクション管理テーブル34をキューする(ステップS18)。制御部23は、順序テーブル32内に相手先テーブル33がない場合(ステップS17:No)、順序テーブル32内にステップS13の相手先テーブル33をキューする(ステップS19)。更に、制御部23は、ステップS15のコネクション管理テーブル34を相手先テーブル33内にキューする。 When the connection management table 34 is the connection to which the non-communication monitoring packet is to be sent (step S16: Yes), the control unit 23 determines whether the destination table 33 of step S13 is present in the sequence table 32 (step S17). When the destination table 33 is present in the sequence table 32 (step S17: Yes), the control unit 23 queues the connection management table 34 of step S15 in the destination table 33 of the sequence table 32 (step S18). When the destination table 33 is not present in the sequence table 32 (step S17: No), the control unit 23 queues the destination table 33 of step S13 in the sequence table 32 (step S19). Furthermore, the control unit 23 queues the connection management table 34 of step S15 in the destination table 33.

制御部23は、相手先テーブル33から次のコネクション管理テーブル34を抽出する抽出動作を実行し(ステップS20)、抽出動作によってコネクション管理テーブル34があるか否かを判定すべく、ステップS35に移行する。制御部23は、ステップS11にて監視周期を検出しなかった場合(ステップS11:No)、又は、ステップS13にて相手先テーブル33がない場合(ステップS13:No)、図8に示す処理動作を終了する。 The control unit 23 executes an extraction operation to extract the next connection management table 34 from the destination table 33 (step S20), and moves to step S35 to determine whether or not there is a connection management table 34 based on the extraction operation. do. If the control unit 23 does not detect the monitoring cycle in step S11 (step S11: No), or if the destination table 33 does not exist in step S13 (step S13: No), the control unit 23 performs the processing operation shown in FIG. end.

制御部23は、ステップS15にてコネクション管理テーブル34がない場合(ステップS15:No)、順序テーブル32から次の相手先テーブル33を抽出する抽出動作を実行する(ステップS21)。制御部23は、抽出動作によって相手先テーブル33があるか否かを判定すべく、ステップS13に移行する。また、制御部23は、コネクション管理テーブル34が無通信監視パケット送信対象のコネクションでない場合(ステップS16:No)、相手先テーブル33から次のコネクション管理テーブル34を抽出すべく、ステップS20に移行する。 If the connection management table 34 does not exist in step S15 (step S15: No), the control unit 23 executes an extraction operation to extract the next destination table 33 from the order table 32 (step S21). The control unit 23 moves to step S13 to determine whether or not the destination table 33 exists by the extraction operation. Further, if the connection management table 34 is not the connection to which the non-communication monitoring packet is to be transmitted (step S16: No), the control unit 23 moves to step S20 to extract the next connection management table 34 from the destination table 33. .

図8に示す送信順序登録処理を実行する通信監視装置5は、監視周期を検出した場合、相手先テーブル33及びコネクション管理テーブル34をTCPテーブル31から順次抽出する。更に、通信監視装置5は、各相手先システム3の予備コネクションを分散して無通信監視パケットの送信順序を順序テーブル32内に登録する。その結果、通信監視装置5は、無通信監視パケット送信に伴う集中負荷を防止できる。 When the communication monitoring device 5, which executes the transmission order registration process shown in FIG. 8, detects a monitoring period, it sequentially extracts the destination table 33 and the connection management table 34 from the TCP table 31. Furthermore, the communication monitoring device 5 distributes the spare connections of each destination system 3 and registers the transmission order of the no-communication monitoring packets in the sequence table 32. As a result, the communication monitoring device 5 can prevent concentrated loads associated with the transmission of no-communication monitoring packets.

図9A及び図9Bは、無通信監視パケット送信処理に関わる通信監視装置5の処理動作の一例を示すフローチャートである。図9Aにおいて通信監視装置5内の送信制御部24は、現在が監視周期検出後の1回目の保留インターバルの経過タイミングであるか否かを判定する(ステップS31)。尚、1回目の保留インターバルの経過タイミングとは、管理周期検出から100m秒が経過したタイミングである。送信制御部24は、1回目の保留インターバルの経過タイミングの場合(ステップS31:Yes)、順序テーブル32から先頭の相手先テーブル33を抽出する抽出動作を実行する(ステップS32)。 9A and 9B are flowcharts illustrating an example of processing operations of the communication monitoring device 5 related to the no-communication monitoring packet transmission process. In FIG. 9A, the transmission control unit 24 in the communication monitoring device 5 determines whether the current timing is the elapsed timing of the first hold interval after the detection of the monitoring cycle (step S31). Note that the elapsed timing of the first hold interval is the timing when 100 msec has elapsed since the management cycle was detected. When the first hold interval has elapsed (step S31: Yes), the transmission control unit 24 executes an extraction operation to extract the first destination table 33 from the order table 32 (step S32).

送信制御部24は、抽出動作によって相手先テーブル33があるか否かを判定する(ステップS33)。送信制御部24は、相手先テーブル33がある場合(ステップS33:Yes)、この相手先テーブル33から先頭のコネクション管理テーブル34を抽出する抽出動作を実行する(ステップS34)。送信制御部24は、抽出動作によってコネクション管理テーブル34があるか否かを判定する(ステップS35)。 The transmission control unit 24 determines whether or not the destination table 33 exists by the extraction operation (step S33). If the destination table 33 exists (step S33: Yes), the transmission control unit 24 executes an extraction operation to extract the first connection management table 34 from the destination table 33 (step S34). The transmission control unit 24 determines whether or not the connection management table 34 exists by the extraction operation (step S35).

送信制御部24は、コネクション管理テーブル34がある場合(ステップS35:Yes)、コネクション管理テーブル34を同時送信セットにセットする(ステップS36)。送信制御部24は、同時送信セット内のコネクション管理テーブル34が同時送信可能数に到達したか否かを判定する(ステップS37)。尚、同時送信可能数は、例えば、4である。送信制御部24は、同時送信セット内のコネクション管理テーブル34が同時送信可能数に到達した場合(ステップS37:Yes)、同時送信セット内の予備コネクションに対して無通信監視パケットを同時送信する(ステップS39)。更に、送信制御部24は、同時送信セット内の予備コネクションに対して無通信監視パケットを同時送信した後、当該予備コネクションに対応するコネクション管理テーブル34内の応答待ちフラグをONにし(ステップS40)、図9Aに示す処理動作を終了する。送信制御部24は、コネクション管理テーブル34内の応答待ちフラグを参照して予備コネクションの無通信監視パケットに対する応答待ち状態を識別できる。 If the connection management table 34 exists (step S35: Yes), the transmission control unit 24 sets the connection management table 34 to the simultaneous transmission set (step S36). The transmission control unit 24 determines whether the connection management table 34 in the simultaneous transmission set has reached the maximum number of simultaneous transmissions possible (step S37). Note that the number of simultaneous transmissions possible is, for example, four. When the connection management table 34 in the simultaneous transmission set reaches the maximum number of simultaneous transmissions possible (step S37: Yes), the transmission control unit 24 simultaneously transmits non-communication monitoring packets to the backup connections in the simultaneous transmission set ( Step S39). Furthermore, after simultaneously transmitting the no-communication monitoring packet to the backup connections in the simultaneous transmission set, the transmission control unit 24 turns on the response wait flag in the connection management table 34 corresponding to the backup connections (step S40). , the processing operation shown in FIG. 9A ends. The transmission control unit 24 can refer to the response waiting flag in the connection management table 34 to identify the state of waiting for a response to the non-communication monitoring packet of the backup connection.

送信制御部24は、同時送信セット内のコネクション管理テーブル34が同時送信可能数に到達しなかった場合(ステップS37:No)、相手先テーブル33から次のコネクション管理テーブル34を抽出する抽出動作を実行する(ステップS38)。そして、送信制御部24は、抽出動作によって、次のコネクション管理テーブル34があるか否かを判定すべく、ステップS35に移行する。送信制御部24は、ステップS33にて相手先テーブル33がない場合(ステップS33:No)、順序テーブル32から次の相手先テーブル33を抽出する抽出動作を実行する(ステップS41)。送信制御部24は、抽出動作によって、次の相手先テーブル33から先頭のコネクション管理テーブル34を抽出すべく、ステップS34に移行する。 If the number of connection management tables 34 in the simultaneous transmission set has not reached the maximum number of possible simultaneous transmissions (step S37: No), the transmission control unit 24 performs an extraction operation to extract the next connection management table 34 from the destination table 33. Execute (step S38). Then, the transmission control unit 24 moves to step S35 to determine whether or not there is the next connection management table 34 by the extraction operation. If the destination table 33 does not exist in step S33 (step S33: No), the transmission control unit 24 executes an extraction operation to extract the next destination table 33 from the order table 32 (step S41). The transmission control unit 24 moves to step S34 to extract the first connection management table 34 from the next destination table 33 by an extraction operation.

送信制御部24は、現在が1回目の保留インターバルの経過タイミングでない場合(ステップS31:No)、図9Bに示すM1に移行する。 If the current timing is not the elapsed timing of the first hold interval (step S31: No), the transmission control unit 24 moves to M1 shown in FIG. 9B.

図9BのM1において送信制御部24は、現在が監視周期検出後の2回目以降の保留インターバルの経過タイミングであるか否かを判定する(ステップS51)。送信制御部24は、現在のタイミングが2回目以降の保留インターバルの経過タイミングの場合(ステップS51:Yes)、図10に示す送信順序更新処理を実行する(ステップS52)。 At M1 in FIG. 9B, the transmission control unit 24 determines whether the current timing is the elapsed timing of the second or subsequent hold interval after the detection of the monitoring cycle (step S51). If the current timing is the elapsed timing of the second or subsequent hold interval (step S51: Yes), the transmission control unit 24 executes the transmission order update process shown in FIG. 10 (step S52).

送信制御部24は、送信順序更新処理を実行した後、順序テーブル32から先頭の相手先テーブル33を抽出する抽出動作を実行する(ステップS53)。送信制御部24は、抽出動作によって相手先テーブル33があるか否かを判定する(ステップS54)。送信制御部24は、相手先テーブル33がある場合(ステップS54:Yes)、相手先テーブル33内の異常フラグがONであるか否かを判定する(ステップS55)。 After executing the transmission order update process, the transmission control unit 24 executes an extraction operation to extract the first destination table 33 from the order table 32 (step S53). The transmission control unit 24 determines whether or not the destination table 33 exists by the extraction operation (step S54). If the destination table 33 exists (step S54: Yes), the transmission control unit 24 determines whether the abnormality flag in the destination table 33 is ON (step S55).

送信制御部24は、相手先テーブル33内の異常フラグがONの場合(ステップS55:Yes)、相手先テーブル33から先頭のコネクション管理テーブル34を抽出する抽出動作を実行する(ステップS56)。送信制御部24は、抽出動作によってコネクション管理テーブル34があるか否かを判定する(ステップS57)。 If the abnormality flag in the destination table 33 is ON (step S55: Yes), the transmission control unit 24 executes an extraction operation to extract the first connection management table 34 from the destination table 33 (step S56). The transmission control unit 24 determines whether the connection management table 34 exists by the extraction operation (step S57).

送信制御部24は、コネクション管理テーブル34がある場合(ステップS57:Yes)、このコネクション管理テーブル34を同時送信セットにセットする(ステップS58)。送信制御部24は、同時送信セット内のコネクション管理テーブル34が同時送信可能数に到達したか否かを判定する(ステップS59)。送信制御部24は、同時送信セット内のコネクション管理テーブル34が同時送信可能数に到達した場合(ステップS59:Yes)、同時送信セット内の予備コネクションに対して無通信監視パケットを同時送信する(ステップS63)。更に、送信制御部24は、同時送信セット内の予備コネクションに対して無通信監視パケットを同時送信した後、当該予備コネクションに対応するコネクション管理テーブル34内の応答待ちフラグをONにし(ステップS64)、図9Bに示す処理動作を終了する。 If there is a connection management table 34 (step S57: Yes), the transmission control unit 24 sets this connection management table 34 in the simultaneous transmission set (step S58). The transmission control unit 24 determines whether the connection management table 34 in the simultaneous transmission set has reached the maximum number of simultaneous transmissions possible (step S59). When the connection management table 34 in the simultaneous transmission set reaches the maximum number of simultaneous transmissions possible (step S59: Yes), the transmission control unit 24 simultaneously transmits non-communication monitoring packets to the backup connections in the simultaneous transmission set ( Step S63). Furthermore, after simultaneously transmitting the no-communication monitoring packet to the backup connections in the simultaneous transmission set, the transmission control unit 24 turns ON the response wait flag in the connection management table 34 corresponding to the backup connections (step S64). , the processing operation shown in FIG. 9B ends.

送信制御部24は、同時送信セット内のコネクション管理テーブル34が同時送信可能数に到達しなかった場合(ステップS59:No)、相手先テーブル33から次のコネクション管理テーブル34を抽出する抽出動作を実行する(ステップS60)。更に、送信制御部24は、抽出動作によってコネクション管理テーブル34があるか否かを判定すべく、ステップS57に移行する。 If the number of connection management tables 34 in the simultaneous transmission set has not reached the maximum number of possible simultaneous transmissions (step S59: No), the transmission control unit 24 performs an extraction operation to extract the next connection management table 34 from the destination table 33. Execute (step S60). Further, the transmission control unit 24 moves to step S57 to determine whether or not the connection management table 34 exists by the extraction operation.

送信制御部24は、相手先テーブル33内の異常フラグがONでない場合(ステップS55:No)、すなわち異常フラグがOFFの場合、相手先テーブル33から先頭のコネクション管理テーブル34を抽出する抽出動作を実行する(ステップS65)。送信制御部24は、抽出動作によってコネクション管理テーブル34があるか否かを判定する(ステップS66)。 If the abnormality flag in the destination table 33 is not ON (step S55: No), i.e., if the abnormality flag is OFF, the transmission control unit 24 executes an extraction operation to extract the first connection management table 34 from the destination table 33 (step S65). The transmission control unit 24 determines whether or not a connection management table 34 exists through the extraction operation (step S66).

送信制御部24は、コネクション管理テーブル34がある場合(ステップS66:Yes)、このコネクション管理テーブル34を同時送信セットにセットする(ステップS67)。送信制御部24は、同時送信セット内のコネクション管理テーブル34が同時送信可能数に到達したか否かを判定する(ステップS68)。送信制御部24は、同時送信セット内のコネクション管理テーブル34が同時送信可能数に到達しなかった場合(ステップS68:No)、次の相手先テーブル33を抽出する抽出動作を実行する(ステップS69)。送信制御部24は、抽出動作によって相手先テーブル33があるか否かを判定すべく、ステップS54に移行する。 If there is a connection management table 34 (step S66: Yes), the transmission control unit 24 sets this connection management table 34 in the simultaneous transmission set (step S67). The transmission control unit 24 determines whether the connection management table 34 in the simultaneous transmission set has reached the maximum number of simultaneous transmissions possible (step S68). If the number of connection management tables 34 in the simultaneous transmission set has not reached the maximum number of simultaneous transmissions possible (step S68: No), the transmission control unit 24 executes an extraction operation to extract the next destination table 33 (step S69). ). The transmission control unit 24 moves to step S54 to determine whether or not the destination table 33 exists by the extraction operation.

送信制御部24は、同時送信セット内のコネクション管理テーブル34が同時送信可能数に到達した場合(ステップS68:Yes)、同時送信セット内の予備コネクションに対して無通信監視パケットを同時送信する(ステップS70)。更に、送信制御部24は、同時送信セット内の予備コネクションに対して無通信監視パケットを同時送信した後、当該予備コネクションに対応するコネクション管理テーブル34内の応答待ちフラグをONにし(ステップS71)、図9Bに示す処理動作を終了する。 When the connection management table 34 in the simultaneous transmission set reaches the maximum number of simultaneous transmissions possible (step S68: Yes), the transmission control unit 24 simultaneously transmits non-communication monitoring packets to the backup connections in the simultaneous transmission set ( Step S70). Furthermore, after simultaneously transmitting the no-communication monitoring packet to the backup connections in the simultaneous transmission set, the transmission control unit 24 turns on the response wait flag in the connection management table 34 corresponding to the backup connections (step S71). , the processing operation shown in FIG. 9B ends.

送信制御部24は、現在が2回目以降の保留インターバルの経過タイミングでない場合(ステップS51:No)、又は、相手先テーブル33がない場合(ステップS54:No)、図9Bに示す処理動作を終了する。 If the current timing is not the second or subsequent hold interval lapse timing (step S51: No), or if the destination table 33 does not exist (step S54: No), the transmission control unit 24 ends the processing operation shown in FIG. 9B.

監視パケット送信処理を実行する通信監視装置5は、監視周期検出後の1回目の保留インターバルの経過タイミングに応じて、送信順序の先頭から同時送信可能数分の予備コネクションを抽出する。更に、通信監視装置5は、抽出した予備コネクションに対して無通信監視パケットを同時送信する。その結果、通信監視装置5は、無通信監視パケット送信による集中負荷を軽減できる。 The communication monitoring device 5 that executes the monitoring packet transmission process extracts the number of backup connections that can be simultaneously transmitted from the beginning of the transmission order according to the elapsed timing of the first hold interval after the detection of the monitoring cycle. Further, the communication monitoring device 5 simultaneously transmits a non-communication monitoring packet to the extracted backup connection. As a result, the communication monitoring device 5 can reduce the concentrated load caused by the transmission of non-communication monitoring packets.

通信監視装置5は、監視周期検出後の2回目以降の保留インターバルの経過タイミング毎に、送信順序の先頭から同時送信可能数分の予備コネクションを抽出し、抽出した予備コネクションに対して無通信監視パケットを同時送信する。その結果、通信監視装置5は、保留インターバル毎に無通信監視パケットの送信を分散することで、無通信監視パケット送信による集中負荷を軽減できる。 The communication monitoring device 5 extracts the number of backup connections that can be sent simultaneously from the beginning of the transmission order at each elapsed timing of the second hold interval after the detection of the monitoring cycle, and monitors the extracted backup connections for non-communication. Send packets simultaneously. As a result, the communication monitoring device 5 can reduce the concentrated load caused by the transmission of no-communication monitoring packets by distributing the transmission of no-communication monitoring packets for each hold interval.

図10は、送信順序更新処理に関わる通信監視装置5の処理動作の一例を示すフローチャートである。図10において通信監視装置5内の送信制御部24は、順序テーブル32から先頭の相手先テーブル33を抽出する抽出動作を実行し(ステップS81)、抽出動作によって相手先テーブル33があるか否かを判定する(ステップS82)。 FIG. 10 is a flowchart illustrating an example of processing operations of the communication monitoring device 5 related to transmission order update processing. In FIG. 10, the transmission control unit 24 in the communication monitoring device 5 executes an extraction operation to extract the first destination table 33 from the order table 32 (step S81), and determines whether or not there is a destination table 33 by the extraction operation. is determined (step S82).

送信制御部24は、相手先テーブル33がある場合(ステップS82:Yes)、相手先テーブル33内の異常フラグをOFFにする(ステップS83)。更に、送信制御部24は、相手先テーブル33内に応答待ちフラグONのコネクション管理テーブル34があるか否かを判定する(ステップS84)。 If the destination table 33 exists (step S82: Yes), the transmission control unit 24 turns off the abnormality flag in the destination table 33 (step S83). Further, the transmission control unit 24 determines whether or not there is a connection management table 34 with the response waiting flag ON in the destination table 33 (step S84).

監視部11Bは、相手先テーブル33内に応答待ちフラグONのコネクション管理テーブル34がある場合(ステップS84:Yes)、相手先テーブル33の異常フラグをONにする(ステップS85)。つまり、監視部11Bは、保留インターバルが経過したにも関わらず、応答待ちフラグがONのコネクション管理テーブル34がある場合、コネクション管理テーブル34に対応する予備コネクションの異常と判断することになる。更に、監視部11Bは、順序テーブル32内の相手先テーブル33から応答待ちフラグONのコネクション管理テーブル34をデキュー、すなわち削除する(ステップS86)。 If there is a connection management table 34 with the response waiting flag ON in the destination table 33 (step S84: Yes), the monitoring unit 11B turns on the abnormality flag of the destination table 33 (step S85). In other words, if there is a connection management table 34 whose response wait flag is ON even though the hold interval has elapsed, the monitoring unit 11B determines that the backup connection corresponding to the connection management table 34 is abnormal. Furthermore, the monitoring unit 11B dequeues, that is, deletes, from the destination table 33 in the order table 32, the connection management table 34 whose response wait flag is ON (step S86).

監視部11Bは、応答待ちフラグONのコネクション管理テーブル34をデキューした後、順序テーブル32内の該当相手先テーブル33の送信順序を先頭に移動する(ステップS87)。尚、送信順序を先頭に移動とは、例えば、図6Bに示すように、異常と判断された“3”の相手先テーブル33のコネクション管理テーブル“3-2”、“3-3”及び“3-4”を優先的に先頭に移動する。更に、監視部11Bは、順序テーブル32から次の相手先テーブル33を抽出する抽出動作を実行し(ステップS88)、抽出動作によって相手先テーブル33があるか否かを判定すべく、ステップS82に移行する。 After dequeuing the connection management table 34 whose response wait flag is ON, the monitoring unit 11B moves the corresponding destination table 33 in the order table 32 to the top of the transmission order (step S87). Note that moving the transmission order to the top means, for example, as shown in FIG. 6B, the connection management tables "3-2", "3-3" and " 3-4” is moved to the top with priority. Furthermore, the monitoring unit 11B executes an extraction operation to extract the next destination table 33 from the order table 32 (step S88), and proceeds to step S82 to determine whether or not there is a destination table 33 by the extraction operation. Transition.

送信制御部24は、相手先テーブル33がない場合(ステップS82:No)、順序テーブル32から先頭の相手先テーブル33を抽出すべく、図9Bに示すステップS53に移行する。監視部11Bは、相手先テーブル33内に応答待ちフラグONのコネクション管理テーブル34がない場合(ステップS84:No)、順序テーブル32から次の相手先テーブル33を抽出すべく、ステップS88に移行する。 If the destination table 33 does not exist (step S82: No), the transmission control unit 24 moves to step S53 shown in FIG. 9B in order to extract the first destination table 33 from the order table 32. If there is no connection management table 34 with the response waiting flag ON in the destination table 33 (step S84: No), the monitoring unit 11B moves to step S88 to extract the next destination table 33 from the order table 32. .

送信順序更新処理は、無通信監視パケットの応答有無から相手先システム3の異常を判断し、異常と判断された相手先システム3の予備コネクションに対する無通信監視パケットの送信順序を先頭に移動させる。その結果、通信監視装置5は、異常の相手先システム3の送信順序を先頭に移動させることで、異常と判断された相手先システム3内の予備コネクションに対して優先的に無通信監視パケットを送信できる。 In the transmission order update process, an abnormality is determined in the partner system 3 from the presence or absence of a response to the no-communication monitoring packet, and the transmission order of the no-communication monitoring packet for the backup connection of the partner system 3 determined to be abnormal is moved to the top. As a result, the communication monitoring device 5 moves the transmission order of the abnormal partner system 3 to the top, thereby preferentially sending the non-communication monitoring packet to the backup connection in the partner system 3 that is determined to be abnormal. Can be sent.

図11は、応答監視処理に関わる通信監視装置5の処理動作の一例を示すフローチャートである。図11において通信監視装置5内の監視部11Bは、無通信監視パケットに対する応答を検出したか否かを判定する(ステップS91)。監視部11Bは、応答を検出した場合(ステップS91:Yes)、順序テーブル32から先頭の相手先テーブル33を抽出する抽出動作を実行する(ステップS92)。監視部11Bは、抽出動作によって相手先テーブル33があるか否かを判定する(ステップS93)。 FIG. 11 is a flowchart showing an example of the processing operation of the communication monitoring device 5 related to response monitoring processing. In FIG. 11, the monitoring unit 11B in the communication monitoring device 5 determines whether a response to the no-communication monitoring packet has been detected (step S91). When the monitoring unit 11B detects a response (step S91: Yes), it executes an extraction operation to extract the first destination table 33 from the order table 32 (step S92). The monitoring unit 11B determines whether the destination table 33 exists by the extraction operation (step S93).

監視部11Bは、相手先テーブル33がある場合(ステップS93:Yes)、検出した応答が当該相手先テーブル33対応の予備コネクションの応答であるか否かを判定する(ステップS94)。監視部11Bは、検出した応答が当該相手先テーブル33対応の予備コネクションの応答でない場合(ステップS94:No)、順序テーブル32から次の相手先テーブル33を抽出する抽出動作を実行する(ステップS95)。監視部11Bは、抽出動作によって相手先テーブル33があるか否かを判定すべく、ステップS93に移行する。 If the destination table 33 exists (step S93: Yes), the monitoring unit 11B determines whether the detected response is a response of a backup connection corresponding to the destination table 33 (step S94). If the detected response is not a response of a backup connection corresponding to the corresponding destination table 33 (step S94: No), the monitoring unit 11B executes an extraction operation to extract the next destination table 33 from the order table 32 (step S95). ). The monitoring unit 11B moves to step S93 to determine whether or not the destination table 33 exists by the extraction operation.

監視部11Bは、検出した応答が当該相手先テーブル33対応の予備コネクションの応答の場合(ステップS94:Yes)、相手先テーブル33から先頭のコネクション管理テーブル34を抽出する抽出動作を実行する(ステップS96)。監視部11Bは、抽出動作によってコネクション管理テーブル34があるか否かを判定する(ステップS97)。監視部11Bは、抽出したコネクション管理テーブル34がある場合(ステップS97:Yes)、検出した応答がコネクション管理テーブル34対応の予備コネクションの応答であるか否かを判定する(ステップS98)。 If the detected response is a response of a backup connection corresponding to the destination table 33 (step S94: Yes), the monitoring unit 11B executes an extraction operation to extract the first connection management table 34 from the destination table 33 (step S94: Yes). S96). The monitoring unit 11B determines whether or not the connection management table 34 exists by the extraction operation (step S97). If the extracted connection management table 34 exists (step S97: Yes), the monitoring unit 11B determines whether the detected response is a response of a backup connection corresponding to the connection management table 34 (step S98).

監視部11Bは、検出した応答がコネクション管理テーブル34対応の予備コネクションの応答でない場合(ステップS98:No)、順序テーブル32から次のコネクション管理テーブル34を抽出する抽出動作を実行する(ステップS99)。監視部11Bは、相手先テーブル33から先頭のコネクション管理テーブル34を抽出すべく、ステップS96に移行する。 If the detected response is not a response of a backup connection corresponding to the connection management table 34 (step S98: No), the monitoring unit 11B executes an extraction operation to extract the next connection management table 34 from the order table 32 (step S99). . The monitoring unit 11B moves to step S96 to extract the first connection management table 34 from the destination table 33.

監視部11Bは、検出した応答がコネクション管理テーブル34対応の予備コネクションの応答の場合(ステップS98:Yes)、コネクション管理テーブル34対応の予備コネクションの応答待ちフラグがONであるか否かを判定する(ステップS100)。監視部11Bは、コネクション管理テーブル34対応の予備コネクションの応答待ちフラグがONの場合(ステップS100:Yes)、コネクション管理テーブル34対応の予備コネクションの応答待ちフラグをOFFする(ステップS101)。監視部11Bは、順序テーブル32内の相手先テーブル33から該当コネクション管理テーブル34をデキュー、すなわち削除する(ステップS102)。監視部11Bは、デキューされたコネクション管理テーブル34の相手先テーブル33内にコネクション管理テーブル34があるか否かを判定する(ステップS103)。 If the detected response is a response of a backup connection compatible with the connection management table 34 (step S98: Yes), the monitoring unit 11B determines whether the response wait flag of the backup connection compatible with the connection management table 34 is ON. (Step S100). If the response wait flag of the backup connection corresponding to the connection management table 34 is ON (step S100: Yes), the monitoring unit 11B turns OFF the response wait flag of the backup connection corresponding to the connection management table 34 (step S101). The monitoring unit 11B dequeues, that is, deletes the corresponding connection management table 34 from the destination table 33 in the order table 32 (step S102). The monitoring unit 11B determines whether or not there is a connection management table 34 in the destination table 33 of the dequeued connection management table 34 (step S103).

監視部11Bは、デキューされたコネクション管理テーブル34の相手先テーブル33内にコネクション管理テーブル34がある場合(ステップS103:Yes)、順序テーブル32から該当の相手先テーブル33をデキューする(ステップS104)。そして、監視部11Bは、図11に示す処理動作を終了する。 If there is a connection management table 34 in the destination table 33 of the dequeued connection management table 34 (step S103: Yes), the monitoring unit 11B dequeues the corresponding destination table 33 from the order table 32 (step S104). . The monitoring unit 11B then ends the processing operation shown in FIG.

監視部11Bは、コネクション管理テーブル43の応答待ちフラグがONでない場合(ステップS100:No)、図11に示す処理動作を終了する。監視部11Bは、デキューされたコネクション管理テーブル34の相手先テーブル33内にコネクション管理テーブル34がない場合(ステップS103:No)、図11に示す処理動作を終了する。監視部11Bは、応答を検出しなかった場合(ステップS91:No)、又は、コネクション管理テーブル34がない場合(ステップS97:No)、図11に示す処理動作を終了する。 If the response waiting flag in the connection management table 43 is not ON (step S100: No), the monitoring unit 11B ends the processing operation shown in FIG. 11. If the connection management table 34 does not exist in the destination table 33 of the dequeued connection management table 34 (step S103: No), the monitoring unit 11B ends the processing operation shown in FIG. 11. If the monitoring unit 11B does not detect a response (step S91: No) or if there is no connection management table 34 (step S97: No), the monitoring unit 11B ends the processing operation shown in FIG. 11.

応答監視処理を実行する通信監視装置5は、無通信監視パケットに対する応答を検出した場合、応答検出の予備コネクションのコネクション管理テーブル34を順序テーブル32から削除する。その結果、通信監視装置5は、無通信監視パケット送信済みの予備コネクションを送信順序から削除できる。 When the communication monitoring device 5 that executes the response monitoring process detects a response to the no-communication monitoring packet, it deletes the connection management table 34 of the backup connection for which the response was detected from the order table 32 . As a result, the communication monitoring device 5 can delete the backup connection to which the no-communication monitoring packet has been sent from the transmission order.

通信監視装置5は、複数の相手先システム3との間を通信で接続する複数の予備コネクションが確立した状況下で、複数の時間帯(保留インターバル)のそれぞれで各相手先システム3の無通信状態の予備コネクションに分散して無通信監視パケットを送信する。通信監視装置5は、無通信監視パケットに対する応答の有無に基づき、当該無通信監視パケットが送信された予備コネクション毎の通信状態を監視する。その結果、無通信監視パケット送信で生じる集中負荷を軽減できる。しかも、相手先システム3内の予備コネクションの通信状態を監視できる。 The communication monitoring device 5 detects the non-communication of each partner system 3 during each of a plurality of time periods (holding intervals) under a situation where a plurality of backup connections are established to connect the plurality of partner systems 3 by communication. Sends non-communication monitoring packets distributed to backup connections in the status. The communication monitoring device 5 monitors the communication state of each backup connection to which the no-communication monitoring packet has been transmitted, based on the presence or absence of a response to the no-communication monitoring packet. As a result, the concentrated load caused by non-communication monitoring packet transmission can be reduced. Furthermore, the communication status of the backup connection within the partner system 3 can be monitored.

通信監視装置5は、無通信監視パケットが同時送信可能数の範囲内で、各相手先システム3の予備コネクションに分散して無通信監視パケットを順次送信する。その結果、通信監視装置5は、同時送信可能数の範囲及び保留インターバルで無通信監視パケット送信を分散することで、無通信監視パケット送信で生じる集中負荷を軽減できる。 The communication monitoring device 5 distributes the non-communication monitoring packets to the backup connections of each partner system 3 and sequentially transmits the non-communication monitoring packets, within the range of the number of non-communication monitoring packets that can be simultaneously transmitted. As a result, the communication monitoring device 5 can reduce the concentrated load caused by the transmission of non-communication monitoring packets by distributing the transmission of non-communication monitoring packets within the range of the number that can be simultaneously transmitted and the hold interval.

通信監視装置5は、全ての予備コネクションに対する無通信監視パケットの送信が完了するまで、残り予備コネクションに対して同時送信可能数の範囲内で無通信監視パケットを分散して保留インターバル帯毎に順次送信する。その結果、通信監視装置5は、同時送信可能数の範囲及び保留インターバルで無通信監視パケット送信を分散することで、無通信監視パケット送信で生じる集中負荷を軽減できる。 The communication monitoring device 5 distributes the no-communication monitoring packets to the remaining backup connections within the range of the number that can be sent simultaneously and sequentially transmits them for each hold interval period until the transmission of the no-communication monitoring packets to all the backup connections is completed. Send. As a result, the communication monitoring device 5 can reduce the concentrated load caused by the transmission of non-communication monitoring packets by distributing the transmission of non-communication monitoring packets within the range of the number that can be simultaneously transmitted and the hold interval.

通信監視装置5は、予備コネクションの通信状態の異常を検出した場合に、当該異常の予備コネクションを確立している相手先システム3内の予備コネクションに対して同時送信可能数の範囲内で優先的に無通信監視パケットを送信する。その結果、通信監視装置5は、通信状態が異常の予備コネクションを管理する相手先システム3の予備コネクションに対して無通信監視パケットを優先的に送信することで速やかに通信状態の異常を認識できる。 When the communication monitoring device 5 detects an abnormality in the communication status of a backup connection, the communication monitoring device 5 gives priority to the backup connection in the destination system 3 that has established the backup connection with the abnormality within the range of the number of simultaneous transmissions possible. Sends a no-communication monitoring packet to. As a result, the communication monitoring device 5 can quickly recognize an abnormality in the communication state by preferentially transmitting a no-communication monitoring packet to the backup connection of the partner system 3 that manages the backup connection with the abnormal communication state. .

尚、説明の便宜上、通信監視装置5は、相手先システム3が3台の場合を例示したが、これに限定されるものではなく、適宜変更可能である。 For convenience of explanation, the communication monitoring device 5 has been exemplified in the case where there are three partner systems 3, but the present invention is not limited to this and can be changed as appropriate.

通信監視装置5は、監視周期を30秒間隔としたが、30秒間に限定されるものではなく、適宜変更可能である。また、相手先システム3は同一の監視周期を例示したが、相手先システム3毎に異なる監視周期を設定しても良く、適宜変更可能である。 Although the communication monitoring device 5 has a monitoring cycle of 30 seconds, it is not limited to 30 seconds and can be changed as appropriate. Furthermore, although the counterpart systems 3 have been shown to have the same monitoring cycle, different monitoring cycles may be set for each counterpart system 3, and can be changed as appropriate.

通信監視装置5は、保留インターバルを100m秒間隔としたが、100m秒に限定されるものではなく、適宜変更可能である。 Although the communication monitoring device 5 sets the hold interval to 100 msec, it is not limited to 100 msec and can be changed as appropriate.

通信監視装置5は、同時送信可能数を「4」に設定する場合を例示したが、無通信監視パケットの同時送信によってパケットロストが生じない範囲のパケット数でよく、適宜変更可能である。 Although the case where the communication monitoring device 5 sets the number of simultaneous transmissions to "4" has been exemplified, the number of packets may be within a range in which packet loss does not occur due to simultaneous transmission of non-communication monitoring packets, and can be changed as appropriate.

また、図示した各部の各構成要素は、必ずしも物理的に図示の如く構成されていることを要しない。すなわち、各部の分散・統合の具体的形態は図示のものに限られず、その全部又は一部を、各種の負荷や使用状況等に応じて、任意の単位で機能的又は物理的に分散・統合して構成することができる。 Further, each component of each part shown in the drawings does not necessarily have to be physically configured as shown in the drawings. In other words, the specific form of dispersion/integration of each part is not limited to what is shown in the diagram, but all or part of it may be functionally or physically distributed/integrated in arbitrary units depending on various loads, usage conditions, etc. can be configured.

更に、各装置で行われる各種処理機能は、CPU(Central Processing Unit)、DSP(Digital Signal Processor)やFPGA(Field Programmable Gate Array)等上で、その全部又は任意の一部を実行するようにしても良い。また、各種処理機能は、CPU等で解析実行するプログラム上、又はワイヤードロジックによるハードウェア上で、その全部又は任意の一部を実行するようにしても良い。 Furthermore, the various processing functions performed by each device are executed in whole or in part on a CPU (Central Processing Unit), DSP (Digital Signal Processor), FPGA (Field Programmable Gate Array), etc. Also good. Furthermore, all or any part of the various processing functions may be executed on a program analyzed and executed by a CPU or the like, or on hardware using wired logic.

各種情報を記憶する領域は、例えば、ROM(Read Only Memory)や、SDRAM(Synchronous Dynamic Random Access Memory)、MRAM(Magnetoresistive Random Access Memory)やNVRAM(Non-Volatile Random Access Memory)等のRAM(Random Access Memory)で構成しても良い。 Examples of areas for storing various information include RAM (Random Access Memory) such as ROM (Read Only Memory), SDRAM (Synchronous Dynamic Random Access Memory), MRAM (Magnetoresistive Random Access Memory), and NVRAM (Non-Volatile Random Access Memory). Memory).

ところで、本実施例で説明した各種の処理は、予め用意されたプログラムをコンピュータ内のCPU等のプロセッサで実行させることによって実現できる。そこで、以下では、上記実施例と同様の機能を有するプログラムを実行するコンピュータの一例を説明する。図12は、通信監視プログラムを実行するコンピュータの一例を示すブロック図である。 By the way, the various processes described in this embodiment can be realized by causing a processor such as a CPU in a computer to execute a program prepared in advance. Therefore, an example of a computer that executes a program having the same functions as those in the above embodiment will be described below. FIG. 12 is a block diagram showing an example of a computer that executes a communication monitoring program.

図12に示す通信監視プログラムを実行するコンピュータ100は、通信IF(Interface)110と、入力装置120と、出力装置130と、ROM140と、RAM150と、CPU160とを有する。通信IF110、入力装置120、出力装置130、ROM140、RAM150及びCPU160は、バス170を介して接続される。通信IF110は、通信網内の通信機器と通信する。 A computer 100 that executes the communication monitoring program shown in FIG. 12 includes a communication IF (Interface) 110, an input device 120, an output device 130, a ROM 140, a RAM 150, and a CPU 160. Communication IF 110, input device 120, output device 130, ROM 140, RAM 150, and CPU 160 are connected via bus 170. Communication IF 110 communicates with communication devices within the communication network.

そして、ROM140には、上記実施例と同様の機能を発揮する通信監視プログラムが予め記憶されている。ROM140は、通信監視プログラムとして送信プログラム140A及び監視プログラム140Bが記憶されている。尚、ROM140ではなく、図示せぬドライブでコンピュータ読取可能な記録媒体に通信監視プログラムが記録されていても良い。また、記録媒体としては、例えば、CD-ROM、DVDディスク、USBメモリ等の可搬型記録媒体、フラッシュメモリ等の半導体メモリ等でも良い。 The ROM 140 is pre-stored with a communication monitoring program that performs the same functions as the above embodiment. The ROM 140 stores a transmission program 140A and a monitoring program 140B as the communication monitoring program. The communication monitoring program may be recorded on a computer-readable recording medium using a drive (not shown) instead of the ROM 140. The recording medium may also be, for example, a portable recording medium such as a CD-ROM, DVD disk, or USB memory, or a semiconductor memory such as a flash memory, etc.

そして、CPU160は、送信プログラム140AをROM140から読み出し、RAM150上で送信プロセス150Aとして機能する。更に、CPU160は、監視プログラム140BをROM140から読み出し、RAM150上で監視プロセス150Bとして機能する。 Then, the CPU 160 reads the transmission program 140A from the ROM 140 and functions as a transmission process 150A on the RAM 150. Further, the CPU 160 reads the monitoring program 140B from the ROM 140 and functions as a monitoring process 150B on the RAM 150.

CPU160は、複数のシステムとの間を通信で接続する複数のコネクションを確立した状況において、インターバルを挟んだ複数の時間帯のそれぞれで各システムの無通信状態のコネクションに分散して無通信監視パケットを送信する。CPU160は、無通信監視パケットに対する応答の有無に基づき、当該無通信監視パケットが送信されたコネクション毎の通信状態を監視する。その結果、無通信監視パケット送信で生じる集中負荷を軽減できる。 In a situation where a plurality of connections are established to communicate with a plurality of systems, the CPU 160 distributes the non-communication monitoring packets to the non-communicating connections of each system during a plurality of time periods with intervals in between. Send. The CPU 160 monitors the communication status of each connection to which the no-communication monitoring packet was sent, based on whether there is a response to the no-communication monitoring packet. As a result, the concentrated load caused by non-communication monitoring packet transmission can be reduced.

5 通信監視装置
11A 送信部
11B 監視部
23 制御部
24 送信制御部
32 順序テーブル
5 Communication monitoring device 11A Transmission unit 11B Monitoring unit 23 Control unit 24 Transmission control unit 32 Order table

Claims (3)

複数のシステム毎に通信で接続する複数のコネクションのうち、複数の予備コネクションを確立した状況において、インターバルを挟んだ複数の時間帯のそれぞれで各システムの無通信状態の予備コネクションに分散して無通信監視パケットを送信する送信部と、
前記無通信監視パケットに対する応答の有無に基づき、当該無通信監視パケットが送信された予備コネクション毎の通信状態を監視する監視部と、を有し、
前記送信部は、
前記無通信監視パケットが同時に送信可能な数の範囲内で、前記無通信監視パケットを各システムの予備コネクションに分散して送信した後、全てのシステム内の全ての予備コネクションに対する前記無通信監視パケットの送信が完了したか否かを判定し、全てのシステム内の全ての予備コネクションに対する前記無通信監視パケットの送信が完了するまで、各システムの残り予備コネクションに対して同時に送信可能な数の範囲内で前記無通信監視パケットを分散して前記時間帯毎に順次送信すると共に、
前記監視部が前記予備コネクションの通信状態の異常を検出した場合に、当該通信状態が異常の予備コネクションを確立している前記システムを異常と判断し、異常と判断された前記システム内の無通信状態の予備コネクションに対して同時に送信可能な数の範囲内で優先的に前記無通信監視パケットを送信する、
ことを特徴とする通信監視装置。
In a situation where multiple backup connections have been established among multiple connections that are connected by communication for each multiple system, the idle connection is distributed to the idle backup connections of each system during multiple time periods with intervals in between. a transmitting unit that transmits a communication monitoring packet;
a monitoring unit that monitors the communication state of each backup connection to which the no-communication monitoring packet has been transmitted based on the presence or absence of a response to the no-communication monitoring packet;
The transmitter includes:
After distributing and transmitting the no-communication monitoring packets to the backup connections of each system within the range of the number of the no-communication monitoring packets that can be transmitted simultaneously, the no-communication monitoring packets are transmitted to all the backup connections in all systems. The range of the number of packets that can be sent simultaneously to the remaining backup connections in each system until the transmission of the no-communication monitoring packets is completed to all backup connections in all systems. distributing the non-communication monitoring packets within and sequentially transmitting them for each time period;
When the monitoring unit detects an abnormality in the communication state of the backup connection, the system that has established the backup connection with the abnormal communication state is determined to be abnormal, and no communication is detected in the system that is determined to be abnormal. transmitting the non-communication monitoring packets preferentially within the range of the number that can be simultaneously transmitted to backup connections in the state;
A communication monitoring device characterized by:
情報処理装置が、
複数のシステム毎に通信で接続する複数のコネクションのうち、複数の予備コネクションを確立した状況において、インターバルを挟んだ複数の時間帯のそれぞれで各システムの無通信状態の予備コネクションに分散して無通信監視パケットを送信し、
前記無通信監視パケットに対する応答の有無に基づき、当該無通信監視パケットが送信された予備コネクション毎の通信状態を監視し、
前記送信する処理として、
前記無通信監視パケットが同時に送信可能な数の範囲内で、前記無通信監視パケットを各システムの予備コネクションに分散して送信した後、全てのシステム内の全ての予備コネクションに対する前記無通信監視パケットの送信が完了したか否かを判定し、全てのシステム内の全ての予備コネクションに対する前記無通信監視パケットの送信が完了するまで、各システムの残り予備コネクションに対して同時に送信可能な数の範囲内で前記無通信監視パケットを分散して前記時間帯毎に順次送信すると共に、
前記予備コネクションの通信状態の異常を検出した場合に、当該通信状態が異常の予備コネクションを確立している前記システムを異常と判断し、異常と判断された前記システム内の無通信状態の予備コネクションに対して同時に送信可能な数の範囲内で優先的に前記無通信監視パケットを送信する、
処理を実行することを特徴とする通信監視方法。
The information processing device
In a situation where multiple backup connections have been established among multiple connections that are connected by communication for each multiple system, the idle connection is distributed to the idle backup connections of each system during multiple time periods with intervals in between. Sends a communication monitoring packet,
Based on the presence or absence of a response to the no-communication monitoring packet, monitoring the communication state of each backup connection to which the no-communication monitoring packet was sent;
As the sending process,
After distributing and transmitting the no-communication monitoring packets to the backup connections of each system within the range of the number of the no-communication monitoring packets that can be transmitted simultaneously, the no-communication monitoring packets are transmitted to all the backup connections in all systems. The range of the number of packets that can be sent simultaneously to the remaining backup connections in each system until the transmission of the no-communication monitoring packets is completed to all backup connections in all systems. distributing the non-communication monitoring packets within and sequentially transmitting them for each time period;
When an abnormality in the communication state of the backup connection is detected, the system that has established the backup connection with the abnormal communication state is determined to be abnormal, and the backup connection in the non-communication state in the system that is determined to be abnormal is determined to be abnormal. transmitting the non-communication monitoring packets preferentially within the range of the number that can be simultaneously transmitted to;
A communication monitoring method characterized by executing processing.
複数のシステム毎に通信で接続する複数のコネクションのうち、複数の予備コネクションを確立した状況において、インターバルを挟んだ複数の時間帯のそれぞれで各システムの無通信状態の予備コネクションに分散して無通信監視パケットを送信し、
前記無通信監視パケットに対する応答の有無に基づき、当該無通信監視パケットが送信された予備コネクション毎の通信状態を監視し、
前記送信する処理として、
前記無通信監視パケットが同時に送信可能な数の範囲内で、前記無通信監視パケットを各システムの予備コネクションに分散して送信した後、全てのシステム内の全ての予備コネクションに対する前記無通信監視パケットの送信が完了したか否かを判定し、全てのシステム内の全ての予備コネクションに対する前記無通信監視パケットの送信が完了するまで、各システムの残り予備コネクションに対して同時に送信可能な数の範囲内で前記無通信監視パケットを分散して前記時間帯毎に順次送信すると共に、
前記予備コネクションの通信状態の異常を検出した場合に、当該通信状態が異常の予備コネクションを確立している前記システムを異常と判断し、異常と判断された前記システム内の無通信状態の予備コネクションに対して同時に送信可能な数の範囲内で優先的に前記無通信監視パケットを送信する、
処理をコンピュータに実行させることを特徴とする通信監視プログラム。
In a situation where multiple backup connections have been established among multiple connections that are connected by communication for each multiple system, the idle connection is distributed to the idle backup connections of each system during multiple time periods with intervals in between. Sends a communication monitoring packet,
Based on the presence or absence of a response to the no-communication monitoring packet, monitoring the communication state of each backup connection to which the no-communication monitoring packet was sent;
As the sending process,
After distributing and transmitting the no-communication monitoring packets to the backup connections of each system within the range of the number of the no-communication monitoring packets that can be transmitted simultaneously, the no-communication monitoring packets are transmitted to all the backup connections in all systems. The range of the number of packets that can be sent simultaneously to the remaining backup connections in each system until the transmission of the no-communication monitoring packets is completed to all backup connections in all systems. distributing the non-communication monitoring packets within and sequentially transmitting them for each time period;
When an abnormality in the communication state of the backup connection is detected, the system that has established the backup connection with the abnormal communication state is determined to be abnormal, and the backup connection in the non-communication state in the system that is determined to be abnormal is determined to be abnormal. transmitting the non-communication monitoring packets preferentially within the range of the number that can be simultaneously transmitted to;
A communication monitoring program that causes a computer to execute processing.
JP2019218101A 2019-12-02 2019-12-02 Communication monitoring device, communication monitoring method, and communication monitoring program Active JP7456133B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019218101A JP7456133B2 (en) 2019-12-02 2019-12-02 Communication monitoring device, communication monitoring method, and communication monitoring program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019218101A JP7456133B2 (en) 2019-12-02 2019-12-02 Communication monitoring device, communication monitoring method, and communication monitoring program

Publications (2)

Publication Number Publication Date
JP2021090101A JP2021090101A (en) 2021-06-10
JP7456133B2 true JP7456133B2 (en) 2024-03-27

Family

ID=76220614

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019218101A Active JP7456133B2 (en) 2019-12-02 2019-12-02 Communication monitoring device, communication monitoring method, and communication monitoring program

Country Status (1)

Country Link
JP (1) JP7456133B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003188905A (en) 2001-12-20 2003-07-04 Nec Commun Syst Ltd System and method for multiplexing tcp/ip communication for server/client system
JP2012248927A (en) 2011-05-25 2012-12-13 Nec Engineering Ltd Network system and terminal switching device
WO2014068879A1 (en) 2012-10-31 2014-05-08 日本電気株式会社 Delivery device, communication system, load balancing method, and load balancing program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003188905A (en) 2001-12-20 2003-07-04 Nec Commun Syst Ltd System and method for multiplexing tcp/ip communication for server/client system
JP2012248927A (en) 2011-05-25 2012-12-13 Nec Engineering Ltd Network system and terminal switching device
WO2014068879A1 (en) 2012-10-31 2014-05-08 日本電気株式会社 Delivery device, communication system, load balancing method, and load balancing program

Also Published As

Publication number Publication date
JP2021090101A (en) 2021-06-10

Similar Documents

Publication Publication Date Title
US11223690B2 (en) Service management modes of operation in distributed node service management
US9762669B2 (en) Service management roles of processor nodes in distributed node service management
TWI761330B (en) Communication channel processing method and system
KR20160106149A (en) Multi-master selection in a software defined network
US9049241B2 (en) Peer discovery and secure communication in failover schemes
WO2016107424A1 (en) Link state detection method, apparatus and system
CN104243239A (en) State inspection method and device for controllers in SDN clusters
US10530869B2 (en) Bidirectional forwarding detection accelerator
US7768905B2 (en) Program and method for controlling communication
JP7456133B2 (en) Communication monitoring device, communication monitoring method, and communication monitoring program
CN106487696B (en) Link failure detection method and device
CN107534576A (en) A kind of link restoring method and the network equipment
US11159424B2 (en) Networking aggregation link provisioning system
CN101848165B (en) The method recovered after controlling interrupted communication link and interface board
CN112367179B (en) Link switching method and device
JP6554405B2 (en) Ring network system and network node
CN106301835B (en) BFD link establishing method and device and router
JP4413897B2 (en) Monitoring method, monitoring device, monitoring program, and monitoring system
US9025440B2 (en) Preventing upper layer renegotiations by making PPP aware of layer one switchovers
JP4692419B2 (en) Network device, redundant switching method used therefor, and program thereof
US11212217B2 (en) Spanning tree enabled link aggregation system
US11750494B2 (en) Modified graceful restart
WO2023273838A1 (en) Method and apparatus for establishing session on basis of bfd technology, and network device and computer storage medium
JP3693968B2 (en) Flow control method and program for file transfer by Zenginkyo TCP / IP procedure
CN112653596B (en) Method and device for routing information issuing and gateway equipment switching

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220809

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230623

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230627

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230801

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231024

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231206

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240226

R150 Certificate of patent or registration of utility model

Ref document number: 7456133

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150