JPH10173676A - Communication device - Google Patents

Communication device

Info

Publication number
JPH10173676A
JPH10173676A JP8334073A JP33407396A JPH10173676A JP H10173676 A JPH10173676 A JP H10173676A JP 8334073 A JP8334073 A JP 8334073A JP 33407396 A JP33407396 A JP 33407396A JP H10173676 A JPH10173676 A JP H10173676A
Authority
JP
Japan
Prior art keywords
monitored
communication
monitoring device
monitoring
message
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.)
Pending
Application number
JP8334073A
Other languages
Japanese (ja)
Inventor
Atsushi Suzuki
淳 鈴木
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP8334073A priority Critical patent/JPH10173676A/en
Publication of JPH10173676A publication Critical patent/JPH10173676A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

(57)【要約】 【課題】 LANの障害部位を特定することが困難であ
った。 【解決手段】 監視装置1および被監視装置2a〜2c
において、電文送信装置3,3a〜3c、電文受信装置
4,4a〜4cおよび障害判定装置5,5a〜5cを備
え、監視装置1の電文送信装置3から2本の通信経路6
a,6bを介して被監視装置2a〜2cに確認電文を送
信すると共に、被監視装置2a〜2cから2本の通信経
路6a,6bを介して監視装置1に返信された応答電文
に基づいて、監視装置の障害判定装置5により2本の通
信経路6a,6bおよび複数の被監視装置2a〜2cの
障害箇所を判定する。
(57) [Summary] [Problem] It is difficult to identify a faulty part of a LAN. SOLUTION: A monitoring device 1 and monitored devices 2a to 2c are provided.
, Includes message transmission devices 3, 3a to 3c, message reception devices 4, 4a to 4c, and failure determination devices 5, 5a to 5c, and two communication paths 6 from the message transmission device 3 of the monitoring device 1.
Confirmation messages are transmitted to the monitored devices 2a to 2c via the communication devices 6a and 6b, and based on response messages returned from the monitored devices 2a to 2c to the monitoring device 1 via the two communication paths 6a and 6b. The fault determination device 5 of the monitoring device determines fault locations of the two communication paths 6a and 6b and the plurality of monitored devices 2a to 2c.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、例えばプラント
制御などの情報を管理するためのTCP/IP[Tra
nsmission Control Protoco
l/Internet Protocol(トランスミ
ッション コントロール プロトコル/インターネット
プロトコル)]を用いて構築された計算機ネットワー
クシステムにおいて、通信経路の異常を検知し、その回
避を自動的に行う通信装置に関するものである。
[0001] The present invention relates to a TCP / IP [Tra] for managing information such as plant control.
nsmission Control Protocol
1 / Internet Protocol (Transmission Control Protocol / Internet Protocol)], and a communication device that detects an abnormality in a communication path and automatically avoids the abnormality.

【0002】[0002]

【従来の技術】図12は従来のポーリングによる通信装
置を示すブロック構成図であり、図において、50は監
視装置、51,52は被監視装置、53,54はLAN
(ローカル エリア ネットワーク)によって構成され
た2本の通信経路、55〜60は監視装置50,被監視
装置51,52と2本の通信経路53,54とを接続す
るトランシーバーである。
2. Description of the Related Art FIG. 12 is a block diagram showing a conventional communication device using polling. In FIG. 12, reference numeral 50 denotes a monitoring device, 51 and 52 denote monitored devices, and 53 and 54 denote LANs.
Two communication paths 55 to 60 constituted by (local area network) are transceivers for connecting the monitoring apparatus 50, the monitored apparatuses 51 and 52 and the two communication paths 53 and 54.

【0003】次に動作について説明する。監視装置50
は一定周期で2本の通信経路53,54にブロードキャ
スト送信を行い、各通信経路53,54にて被監視装置
51,52からの返答を監視している。もし、一定時間
内に通信経路53からの返答がない場合は、その通信経
路53の異常と判定して、通信経路53から手動もしく
は自動で通信経路54に切り替える。
Next, the operation will be described. Monitoring device 50
Performs broadcast transmission to the two communication paths 53 and 54 at regular intervals, and monitors responses from the monitored devices 51 and 52 through the communication paths 53 and 54. If there is no response from the communication path 53 within a predetermined time, it is determined that the communication path 53 is abnormal, and the communication path 53 is manually or automatically switched to the communication path 54.

【0004】例えば、図12のように、被監視装置52
の通信経路53との接点であるトランシーバー59に障
害が発生した場合を想定する。監視装置50は通信経路
53経由での被監視装置52からの通信が途絶えたこと
により、通信経路53に障害が発生していることを検知
して、その通信経路53を切り離し、通信経路54との
接続を行う。被監視装置51,52でも同様の設定にて
通信経路54との接続を行うことにより、各計算機上の
通信ソフトウェアプログラムは、コネクションを張り直
すことによって通信経路54経由で通信が再開される。
[0004] For example, as shown in FIG.
It is assumed that a failure has occurred in the transceiver 59 which is a contact point with the communication path 53 of FIG. The monitoring device 50 detects that a failure has occurred in the communication path 53 due to the interruption of the communication from the monitored device 52 via the communication path 53, disconnects the communication path 53, and disconnects the communication path 54. Make the connection. The monitored devices 51 and 52 also connect to the communication path 54 with the same settings, and the communication software program on each computer resumes communication via the communication path 54 by reestablishing the connection.

【0005】[0005]

【発明が解決しようとする課題】従来の通信装置は以上
のように構成されているので、障害が発生した場合、そ
れまで実行中のプログラムの接続を一旦切断して、新た
につなぎ直すなどの処理が必要で、切り替えに対応する
ようソフトウェアを改修する必要が生じていた。また、
被監視装置51のLAN障害により通信経路53から通
信経路54に切り替える場合、障害とは直接関係のない
監視装置50と被監視装置52間の通信プログラムまで
も終了してしまうという課題があった。さらに、故障状
態は監視装置50にて集中的に管理されていた。そのた
め監視装置50以外の計算機は単に応答を返すだけで、
各通信経路53,54の状態に関する情報を持っていな
かった。そのためLANの障害部位を特定することが困
難であるなどの課題があった。
Since the conventional communication apparatus is configured as described above, when a failure occurs, the connection of the program that has been executed up to that point is temporarily disconnected and the connection is newly reconnected. Processing was required, and software had to be modified to accommodate the switch. Also,
When switching from the communication path 53 to the communication path 54 due to the LAN failure of the monitored device 51, there is a problem in that the communication program between the monitoring device 50 and the monitored device 52 that is not directly related to the failure ends. Further, the failure state is centrally managed by the monitoring device 50. Therefore, computers other than the monitoring device 50 simply return a response,
There is no information on the state of each communication path 53, 54. For this reason, there is a problem that it is difficult to specify a trouble site of the LAN.

【0006】この発明は上記のような課題を解決するた
めになされたもので、障害部位を特定することができる
通信装置を得ることを目的とする。また、この発明は、
実行中の通信プログラムを停止することなく、障害によ
り通信が不可能となった経路だけの切り替えを可能とす
る通信装置を得ることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and has as its object to obtain a communication device capable of specifying a failure site. In addition, the present invention
It is an object of the present invention to provide a communication device capable of switching only a path in which communication is disabled due to a failure without stopping a communication program being executed.

【0007】[0007]

【課題を解決するための手段】請求項1記載の発明に係
る通信装置は、監視装置から2本の通信経路を介して複
数の被監視装置に確認電文を送信すると共に、確認電文
の受信に応じて複数の被監視装置から2本の通信経路を
介して返信された応答電文に基づいて2本の通信経路お
よび複数の被監視装置の障害箇所を判定するものであ
る。
According to a first aspect of the present invention, a communication device transmits a confirmation message from a monitoring device to a plurality of monitored devices via two communication paths and receives the confirmation message. Accordingly, based on the response messages returned from the plurality of monitored devices via the two communication paths, the failure points of the two communication paths and the plurality of monitored devices are determined.

【0008】請求項2記載の発明に係る通信装置は、監
視装置および複数の被監視装置において電文送信装置,
電文受信装置および障害判定装置を備え、監視装置は、
その監視装置の電文送信装置から2本の通信経路を介し
て複数の被監視装置の電文受信装置に確認電文を送信す
ると共に、複数の被監視装置の電文受信装置の確認電文
の受信に応じて複数の被監視装置の電文送信装置から2
本の通信経路を介して監視装置の電文受信装置に返信さ
れた応答電文に基づいて、監視装置の障害判定装置によ
り2本の通信経路および複数の被監視装置の障害箇所を
判定し、確認電文としてその障害箇所をそれら複数の被
監視装置に送信するものである。
According to a second aspect of the present invention, there is provided a communication device comprising: a monitoring device and a plurality of monitored devices;
The monitoring device includes a message receiving device and a failure determination device,
A confirmation message is transmitted from the message transmission device of the monitoring device to the message reception devices of the plurality of monitored devices via the two communication paths, and in response to the reception of the confirmation message of the message reception device of the plurality of monitored devices. 2 from message transmission devices of a plurality of monitored devices
Based on the response message returned to the message receiving device of the monitoring device via the communication path of the book, the fault determining device of the monitoring device determines two communication paths and the failure points of the plurality of monitored devices, and confirms the confirmation message. The fault location is transmitted to the plurality of monitored devices.

【0009】請求項3記載の発明に係る通信装置は、被
監視装置において2本の通信経路を介して被監視装置の
電文受信装置に全く確認電文が受信されなかった場合
に、被監視装置の電文送信装置から2本の通信経路を介
して他の被監視装置の電文受信装置に確認電文を送信す
ると共に、他の被監視装置の電文受信装置の確認電文の
受信に応じて他の被監視装置の電文送信装置から2本の
通信経路を介して被監視装置の電文受信装置に返信され
た応答電文に基づいて、被監視装置の障害判定装置によ
り監視装置の障害または2本の通信経路障害を判定する
ものである。
According to the third aspect of the present invention, the communication device of the monitored device receives no confirmation message from the monitored device via the two communication paths in the message receiving device of the monitored device. A confirmation message is transmitted from the message transmission device to the message reception device of the other monitored device via the two communication paths, and another monitored message is received in response to the reception of the confirmation message of the message reception device of the other monitored device. Based on the response message returned from the message transmission device of the device to the message reception device of the monitored device via the two communication paths, the failure determination device of the monitored device causes a failure of the monitoring device or two communication path failures. Is determined.

【0010】請求項4記載の発明に係る通信装置は、監
視装置の障害判定装置により現在通信中の通信経路に障
害があると判定された場合に、その障害がある通信経路
によって通信不能となる経路テーブル中の通信先の項目
を不可にすると共に、通信中のデータを送信側の監視装
置または被監視装置に一旦保存して、経路テーブル中の
その不可にされた項目に該当する通信経路を介した監視
装置または被監視装置へのデータの送信を停止し、且つ
経路テーブル中にその不可にされた通信先の監視装置名
または被監視装置名および正常な通信経路の項目を可に
すると共に、その送信側の監視装置または被監視装置に
一旦保存されたデータを経路テーブル中のその新たに可
にされた項目に該当する正常な通信経路を介した通信先
の監視装置または被監視装置に送信する特定通信路切替
装置を備えたものである。
[0010] In the communication device according to the fourth aspect of the present invention, when the failure determination device of the monitoring device determines that the communication path currently being communicated has a failure, the communication is disabled by the communication path having the failure. In addition to disabling the communication destination item in the routing table, the data being communicated is temporarily stored in the monitoring device or monitored device on the transmission side, and the communication route corresponding to the disabled item in the routing table is determined. Transmission of data to the monitoring device or the monitored device via the network device, and enabling the disabled monitoring device name or monitored device name and the item of the normal communication route in the route table, The data once stored in the monitoring device on the transmission side or the monitored device, or the monitoring device of the communication destination via the normal communication path corresponding to the newly enabled item in the routing table or Those having a specific communication path switching apparatus to be transmitted to the monitoring device.

【0011】請求項5記載の発明に係る通信装置は、経
路テーブルに通信先の監視装置名または被監視装置名お
よび通信経路の全ての項目を予め登録し、特定通信路切
替装置によって可または不可に設定するようにしたもの
である。
In the communication apparatus according to the present invention, all the items of the communication destination monitoring device name or monitored device name and the communication path are registered in the path table in advance, and are enabled or disabled by the specific communication path switching device. Is set to.

【0012】請求項6記載の発明に係る通信装置は、監
視装置を被監視装置に、および被監視装置を監視装置に
動的に切り替えられるようにしたものである。
According to a sixth aspect of the present invention, there is provided a communication device wherein a monitoring device can be dynamically switched to a monitored device and a monitored device can be dynamically switched to a monitoring device.

【0013】請求項7記載の発明に係る通信装置は、予
め監視装置の優先度が設定された優先度設定テーブルを
設け、被監視装置から監視装置への動的な切り替えは、
その優先度設定テーブルに設定された優先度に応じて行
われるようにしたものである。
The communication device according to the present invention is provided with a priority setting table in which the priorities of the monitoring devices are set in advance, and the dynamic switching from the monitored device to the monitoring device is performed by:
This is performed according to the priority set in the priority setting table.

【0014】請求項8記載の発明に係る通信装置は、監
視装置の障害を最初に判定した被監視装置を、被監視装
置から監視装置に動的に切り替えるようにしたものであ
る。
The communication device according to the invention of claim 8 is such that the monitored device which first determines the failure of the monitoring device is dynamically switched from the monitored device to the monitoring device.

【0015】[0015]

【発明の実施の形態】以下、この発明の実施の一形態を
説明する。 実施の形態1.図1はこの発明の実施の形態1による通
信装置を示すブロック構成図であり、図において、1は
監視装置、2a〜2cは被監視装置であり、それぞれ電
文送信装置3,3a〜3c、電文受信装置4,4a〜4
cおよび障害判定装置5,5a〜5cを備えている。6
a,6bはLANによって構成された2本の通信経路、
7a,7b,7aa,7ab,7ba,7bb,7c
a,7cbは監視装置1、被監視装置2a〜2cと2本
の通信経路6a,6bとを接続するトランシーバーであ
る。また、図2に示すように、10は確認電文テーブル
であり、通信経路11、ホスト名称(またはネットワー
クアドレス)12、経路状態13および応答電文送信時
刻14の欄から構成されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below. Embodiment 1 FIG. FIG. 1 is a block diagram showing a communication device according to a first embodiment of the present invention. In the figure, reference numeral 1 denotes a monitoring device, 2a to 2c denote monitored devices, and message transmission devices 3, 3a to 3c, and Receiving devices 4, 4a to 4
c and failure determination devices 5, 5a to 5c. 6
a and 6b are two communication paths configured by LAN,
7a, 7b, 7aa, 7ab, 7ba, 7bb, 7c
Reference numerals a and 7cb denote transceivers that connect the monitoring device 1, the monitored devices 2a to 2c, and the two communication paths 6a and 6b. As shown in FIG. 2, reference numeral 10 denotes a confirmation message table, which includes columns for a communication path 11, a host name (or network address) 12, a path state 13, and a response message transmission time 14.

【0016】次に動作について説明する。図3は監視装
置の動作を示すフローチャートであり、図3(a)はそ
の監視装置の電文送信装置の動作を示し、図3(b)は
その監視装置の電文受信装置の動作を示す。また、図4
は被監視装置の動作を示すフローチャートである。図3
(a)に示すように、監視装置1の電文送信装置3から
2本の通信経路6a,6bを介して被監視装置2a〜2
cに一定周期で確認電文をそれぞれ送信し(ステップS
T11)、一定時間待機する(ステップST12)。こ
こで、監視装置1から被監視装置2a〜2cに送信され
る確認電文は、図1に示すように、確認電文テーブルに
応じたデータが送信される。さらに、被監視装置2a〜
2cから2本の通信経路6a,6bを介して受信した応
答電文に応じて確認電文テーブルの内容を変更する(ス
テップST13)。この監視装置1から被監視装置2a
〜2cへの送信は、図2に示した確認電文テーブルに基
づいて行われる。即ち、ホスト名称12がhost1
(監視装置1)では、そのhost1の経路状態13が
監視と設定されているので、host1を監視装置とし
て用い、他のhost2〜host4を被監視装置とし
て用いる。また、応答電文が返送された場合は通信経路
が正常であると判定して、経路状態13を‘○’に、一
方、一定時間内に応答電文が返送されなかった場合は通
信経路に障害が発生したと判定して、経路状態13を
‘×’に設定する。さらに、応答電文送信時刻14に被
監視装置2a〜2cから応答電文の送信時に刻印された
時刻を設定する。
Next, the operation will be described. FIG. 3 is a flowchart showing the operation of the monitoring device. FIG. 3A shows the operation of the message transmitting device of the monitoring device, and FIG. 3B shows the operation of the message receiving device of the monitoring device. FIG.
Is a flowchart showing the operation of the monitored device. FIG.
As shown in (a), the monitored devices 2a to 2 are transmitted from the message transmission device 3 of the monitoring device 1 via two communication paths 6a and 6b.
Confirmation message is transmitted to c at regular intervals (step S
T11), and wait for a certain time (step ST12). Here, as the confirmation message transmitted from the monitoring device 1 to the monitored devices 2a to 2c, data corresponding to the confirmation message table is transmitted as shown in FIG. Further, the monitored devices 2a to
The contents of the confirmation message table are changed according to the response message received from 2c via the two communication paths 6a and 6b (step ST13). From the monitoring device 1 to the monitored device 2a
2c is transmitted based on the confirmation message table shown in FIG. That is, the host name 12 is host1
In the (monitoring device 1), since the path state 13 of the host 1 is set to be monitored, the host 1 is used as a monitoring device, and the other hosts 2 to 4 are used as monitored devices. When the response message is returned, it is determined that the communication path is normal, and the path state 13 is set to “○”. On the other hand, when the response message is not returned within a predetermined time, a failure occurs in the communication path. It is determined that an error has occurred, and the route state 13 is set to “×”. Further, the time stamped when the response message is transmitted from the monitored devices 2a to 2c is set as the response message transmission time 14.

【0017】また、図3(b)に示すように、監視装置
1の電文受信装置4では、2本の通信経路6a,6b毎
に応答電文の受信を調査して(ステップST21)、全
部の被監視装置2a〜2cからの応答電文が届いた場合
(ステップST22)、確認電文テーブルの内容を変更
してステップST21ヘ戻る。また、電文受信装置4に
より受信した応答電文は、障害判定装置5へ送られる。
一方、全部の被監視装置2a〜2cからの応答電文が届
かない場合は、一定時間待機し(ステップST23)、
一定時間経過後も応答電文が届かない場合は、その応答
電文が届かない被監視装置の通信経路に障害が発生して
いると判断して障害判定装置5へ通知してステップST
21ヘ戻る。
As shown in FIG. 3B, the message receiving device 4 of the monitoring device 1 checks the reception of a response message for each of the two communication paths 6a and 6b (step ST21), When the response message from the monitored devices 2a to 2c arrives (step ST22), the contents of the confirmation message table are changed, and the process returns to step ST21. The response message received by the message receiving device 4 is sent to the failure determination device 5.
On the other hand, if the response messages from all the monitored devices 2a to 2c have not arrived, the process waits for a certain period of time (step ST23).
If the response message does not arrive even after a certain period of time has elapsed, it is determined that a failure has occurred in the communication path of the monitored device to which the response message has not reached, and the failure determination device 5 is notified of the failure.
Return to 21.

【0018】さらに、図4に示すように、被監視装置2
a〜2cの電文受信装置4a〜4cでは、2本の通信経
路6a,6bを介して一定周期で送信された確認電文の
受信を調査して(ステップST31)、確認電文を電文
受信装置4a〜4cから受信したら、電文送信装置3a
〜3cから応答電文を返送する(ステップST32)。
Further, as shown in FIG.
The message receiving devices 4a to 4c a to 2c investigate the reception of the confirmation message transmitted at a fixed period via the two communication paths 6a and 6b (step ST31), and transmit the confirmation message to the message receiving devices 4a to 4c. 4c, the message transmission device 3a
3c return a response message (step ST32).

【0019】ここで、障害が発生した場合の動作を説明
する。図1に示すように、被監視装置2bとトランシー
バー7baを接続するケーブル上に障害が発生して、通
信が不可能となった場合、監視装置1には、被監視装置
2bから通信経路6aを介した応答電文の受信がなく、
且つ他の被監視装置2a,2cからの応答電文の受信が
あることから、被監視装置2bのケーブル上に障害が発
生したことを検知する。障害判定装置5では、確認電文
テーブルの対応する経路状態13を被監視装置2bが通
信できないことを示す‘×’に更新する(ステップST
13)。また、被監視装置2bは、通信経路6aからの
確認電文が途絶えたことと、通信経路6bから受信した
確認電文の内容から、通信経路6a上に障害が発生した
ことが障害判定装置5bによって判定される。
Here, the operation when a failure occurs will be described. As shown in FIG. 1, when a failure occurs on the cable connecting the monitored device 2b and the transceiver 7ba and communication becomes impossible, the monitoring device 1 connects the monitored device 2b to the communication path 6a. No response message was received via
In addition, since a response message is received from the other monitored devices 2a and 2c, it is detected that a failure has occurred on the cable of the monitored device 2b. The failure determination device 5 updates the corresponding route state 13 in the confirmation message table to “x” indicating that the monitored device 2b cannot communicate (step ST).
13). The monitored device 2b determines from the failure determination device 5b that the confirmation message from the communication path 6a has been interrupted and that a failure has occurred on the communication path 6a from the contents of the confirmation message received from the communication path 6b. Is done.

【0020】なお、被監視装置において、通信経路6a
および通信経路6bからの確認電文が両方とも途絶えた
場合は、その被監視装置の障害判定装置が他の被監視装
置との通信を実施する。まず、確認電文が両方とも途絶
えた被監視装置の電文送信装置から他の被監視装置に確
認電文を送信し、その確認電文を他の被監視装置の電文
受信装置から受信して、その確認電文の受信に応じて他
の被監視装置の電文送信装置から確認電文が両方とも途
絶えた被監視装置に応答電文を返送する。確認電文が両
方とも途絶えた被監視装置では、障害判定装置におい
て、その電文受信装置から応答電文が受信されれば、監
視装置1の計算機が停止していると判断し、また、応答
電文が受信されなければ、2本の通信経路6a,6bに
障害が発生したと判定する。
In the monitored device, the communication path 6a
When both the confirmation message from the communication path 6b is lost, the failure determination device of the monitored device performs communication with another monitored device. First, a confirmation message is transmitted from the message transmission device of the monitored device whose both confirmation messages have been interrupted to another monitored device, the confirmation message is received from the message reception device of the other monitored device, and the confirmation message is transmitted. The response message is returned from the message transmission device of the other monitored device to the monitored device for which both of the confirmation messages have been interrupted. In the monitored device in which both of the confirmation messages have been interrupted, if the failure determination device receives a response message from the message receiving device, it determines that the computer of the monitoring device 1 has stopped, and receives the response message. If not, it is determined that a failure has occurred in the two communication paths 6a and 6b.

【0021】以上のように、この実施の形態1によれ
ば、監視装置1および被監視装置2a〜2c間におい
て、確認電文および応答電文を送受信することによっ
て、2本の通信経路6a,6b、被監視装置2a〜2c
および監視装置1の障害の発生箇所を特定することがで
き、障害箇所の速やかな復旧対策が実現できる効果があ
る。また、確認電文テーブル10から障害の発生時間を
特定することができる効果がある。
As described above, according to the first embodiment, a confirmation message and a response message are transmitted and received between the monitoring device 1 and the monitored devices 2a to 2c, whereby the two communication paths 6a, 6b, Monitored devices 2a to 2c
In addition, it is possible to identify the location where the failure of the monitoring device 1 has occurred, and it is possible to realize a quick recovery measure for the failure location. Further, there is an effect that the occurrence time of the failure can be specified from the confirmation message table 10.

【0022】実施の形態2.図5はこの発明の実施の形
態2による通信装置を示すブロック構成図であり、図に
おいて、15,15a,15bは監視装置1および被監
視装置2a,2bに設けられた特定通信路切替装置であ
り、この特定通信路切替装置15,15a,15bは、
通信経路6a,6bに障害があると判定された場合に、
図6に示すような経路テーブルを更新し、正常な通信経
路を介した通信をさせるようにするものである。 図6
はそれら監視装置および被監視装置上にあるデータの通
信先経路の情報などが登録された経路テーブルを示す説
明図であり、この経路テーブル20は、監視装置1およ
び被監視装置2a,2bに設けられ、TCP通信を実現
する場合に参照されるものである。図において、21は
通信先、22はホスト名、23はフラッグ、24は通信
経路の各欄、25〜28は各項目である。その他の構成
は図1と同様なのでその説明を省略する。
Embodiment 2 FIG. FIG. 5 is a block diagram showing a communication apparatus according to a second embodiment of the present invention. In the figure, reference numerals 15, 15a and 15b denote specific communication path switching apparatuses provided in the monitoring apparatus 1 and the monitored apparatuses 2a and 2b. The specific communication path switching devices 15, 15a, 15b
When it is determined that there is a failure in the communication paths 6a and 6b,
The route table as shown in FIG. 6 is updated so that communication can be performed via a normal communication route. FIG.
FIG. 4 is an explanatory diagram showing a route table in which information on communication destination routes of data on the monitoring device and the monitored device is registered. This routing table 20 is provided in the monitoring device 1 and the monitored devices 2a and 2b. This is referred to when implementing TCP communication. In the figure, 21 is a communication destination, 22 is a host name, 23 is a flag, 24 is a column of communication path, and 25 to 28 are items. Other configurations are the same as those in FIG.

【0023】次に動作について説明する。図7はこの発
明の実施の形態2による通信装置の動作を示す説明図で
あり、図7(a)に示すように、監視装置1と被監視装
置2a間において、ある通信プログラム29および30
が、TCP通信手順により通信経路6a上でデータの送
受信を繰り返す処理を実施している場合を想定する。こ
の時、経路テーブル20には図6の項目26,27が設
定されている。図7(b)に示すように、被監視装置2
aと通信経路6a間のケーブルに障害が発生して、実施
の形態1に示した構成により、監視装置1と被監視装置
2aが共に障害を検知したとする。この時、TCP通信
による送信処理を行っていた通信プログラム29および
30は、ケーブルの障害発生により停止状態となる。た
だし、TCPの機能により、送信用領域に格納されたデ
ータは一定時間は保存されている。
Next, the operation will be described. FIG. 7 is an explanatory diagram showing the operation of the communication device according to the second embodiment of the present invention. As shown in FIG. 7A, certain communication programs 29 and 30 are provided between the monitoring device 1 and the monitored device 2a.
However, it is assumed that a process of repeating transmission and reception of data on the communication path 6a by the TCP communication procedure is performed. At this time, the items 26 and 27 of FIG. As shown in FIG. 7B, the monitored device 2
It is assumed that a failure has occurred in the cable between the communication device 6a and the communication path 6a, and both the monitoring device 1 and the monitored device 2a have detected the failure with the configuration shown in the first embodiment. At this time, the communication programs 29 and 30 that have been performing the transmission processing by the TCP communication are stopped due to the occurrence of a cable failure. However, due to the TCP function, the data stored in the transmission area is stored for a certain period of time.

【0024】この場合、監視装置1と被監視装置2a
は、相互に同期をとり、特定通信路切替装置15によ
り、それぞれの通信経路を通信経路6aから通信経路6
bに切り替える。以下、それぞれの監視装置1と被監視
装置2aでの処理を説明する。監視装置1では特定通信
路切替装置15により、以下の処理を順に実施する。ま
ず、図6(b)の項目28に示すように、図6(a)の
項目26を削除する。次に、図6(a)の項目27に被
監視装置2a宛の通信を通信経路6b経由で実施するよ
うに設定する。さらに、図6(a)の項目26を登録す
る。一方、被監視装置2a上でも特定通信路切替装置1
5aにより、監視装置1と同様に監視装置1宛の設定を
通信経路6b経由に変更する。
In this case, the monitoring device 1 and the monitored device 2a
Are synchronized with each other, and each communication path is changed from the communication path 6a to the communication path 6
Switch to b. Hereinafter, processing in each of the monitoring device 1 and the monitored device 2a will be described. In the monitoring device 1, the following processing is sequentially performed by the specific communication path switching device 15. First, as shown in item 28 of FIG. 6B, item 26 of FIG. 6A is deleted. Next, a setting is made in item 27 of FIG. 6A so that communication to the monitored device 2a is performed via the communication path 6b. Further, the item 26 in FIG. 6A is registered. On the other hand, even on the monitored device 2a, the specific communication path switching device 1
By 5a, the setting for the monitoring device 1 is changed via the communication path 6b in the same manner as the monitoring device 1.

【0025】上記処理により、図7(c)に示すよう
に、監視装置1と被監視装置2aの両者間の通信経路が
通信経路6b経由に変更され、TCPの送信用領域に保
存されていたデータが、通信経路6bヘと送出される。
なお、宛先の変更はTCP層の下位のIP層にて実施さ
れるため、TCP層は影響を受けることはない。そのた
めTCP通信を行っていたプロセスは、障害発生前と同
様の処理を継続することができる。
By the above processing, as shown in FIG. 7C, the communication path between the monitoring apparatus 1 and the monitored apparatus 2a is changed to the communication path 6b and stored in the TCP transmission area. The data is transmitted to the communication path 6b.
The change of the destination is performed in the IP layer below the TCP layer, so that the TCP layer is not affected. Therefore, the process that has performed the TCP communication can continue the same processing as before the occurrence of the failure.

【0026】以上のように、この実施の形態2によれ
ば、監視装置1および被監視装置2a上の特定通信路切
替装置15,15aにより、通信経路6aに障害が発生
した場合に、データを一旦蓄え、経路テーブル20を正
常な通信経路6bに更新し、その正常な通信経路6bを
介して一旦蓄えたデータを送信するようにしたので、通
信経路の障害が発生しても、監視装置1および被監視装
置2aは通信動作を継続することができるという効果が
ある。また、TCPによる送受信を実現しているプログ
ラムなどに特別な処置を施すことなく、従来のままでの
適用ができるという効果がある。
As described above, according to the second embodiment, when a failure occurs in the communication path 6a by the specific communication path switching devices 15 and 15a on the monitoring device 1 and the monitored device 2a, data is transmitted. Since the data is temporarily stored, the route table 20 is updated to the normal communication route 6b, and the temporarily stored data is transmitted via the normal communication route 6b. In addition, there is an effect that the monitored device 2a can continue the communication operation. In addition, there is an effect that the program can be applied as it is without taking any special measures to a program that realizes transmission and reception by TCP.

【0027】実施の形態3.図8はこの発明の実施の形
態3による通信装置の経路テーブルを示す説明図であ
り、この実施の形態3は、実施の形態2に示した構成に
おいて、経路テーブル20に、通信先の監視装置名また
は被監視装置名および通信経路の全ての項目を予め登録
し、特定通信路切替装置15,15aによってフラッグ
を設定されることにより、通信に用いる通信経路を決定
するものである。
Embodiment 3 FIG. 8 is an explanatory view showing a route table of a communication device according to a third embodiment of the present invention. In the third embodiment, in the configuration shown in the second embodiment, The communication path used for communication is determined by registering in advance all items of the name or monitored device name and the communication path and setting flags by the specific communication path switching devices 15 and 15a.

【0028】次に動作について説明する。図8に示すよ
うに、例えば、被監視装置2aであるB−HOSTに対
して正常の宛先を示す項目31と退避用の宛先を示す項
目32を登録しておき、通常は正常な宛先に対する通信
を実施する。もし、監視装置1と被監視装置2aである
B−HOST間の障害が検出された場合は、特定通信路
切替装置15が、正常な宛先に対する設定を削除するこ
とにより退避用の宛先に切り替える。
Next, the operation will be described. As shown in FIG. 8, for example, an item 31 indicating a normal destination and an item 32 indicating an evacuation destination are registered in the B-HOST, which is the monitored device 2a, and communication with the normal destination is normally performed. Is carried out. If a failure between the monitoring device 1 and the B-HOST that is the monitored device 2a is detected, the specific communication path switching device 15 switches to the evacuation destination by deleting the setting for the normal destination.

【0029】以上のように、この実施の形態3によれ
ば、経路テーブル20に、通信先の監視装置名または被
監視装置名および通信経路の全ての項目を予め登録した
ので、通信経路に異常が発生した場合に、速やかに別の
通信経路に切り替えられるという効果がある。
As described above, according to the third embodiment, all the items of the monitoring device name or the monitored device name of the communication destination and the communication path are registered in the path table 20 in advance. When an error occurs, it is possible to quickly switch to another communication path.

【0030】実施の形態4.図9はこの発明の実施の形
態4による通信装置の動作を示す説明図であり、この実
施の形態4は、上記実施の形態1から3の構成におい
て、監視装置を被監視装置に、および被監視装置を監視
装置に動的に切り替えられるようにしたものである。
Embodiment 4 FIG. 9 is an explanatory diagram showing the operation of the communication device according to the fourth embodiment of the present invention. In the fourth embodiment, in the configuration of the first to third embodiments, the monitoring device is replaced by the monitored device and the monitored device is replaced by the monitored device. The monitoring device can be dynamically switched to the monitoring device.

【0031】次に動作について説明する。図9(a)に
示すように、まず、監視装置1により被監視装置2a,
2bの障害を監視し、一定時間経過したら、図9(b)
に示すように、監視装置1を被監視装置とし、また、被
監視装置2aを監視装置にし、確認電文の送信を開始す
る。その後の障害検出の動作は実施の形態1と同様であ
る。
Next, the operation will be described. As shown in FIG. 9A, first, the monitored device 2a,
2b is monitored, and after a certain period of time, FIG.
As shown in (1), the monitoring device 1 is set as a monitored device, the monitored device 2a is set as a monitoring device, and transmission of a confirmation message is started. The subsequent failure detection operation is the same as in the first embodiment.

【0032】以上のように、この実施の形態4によれ
ば、監視装置を移動可能にしたので、監視装置1の障害
時やメンテナンス時などに監視処理が停止することなく
継続が可能となる効果がある。
As described above, according to the fourth embodiment, since the monitoring device can be moved, the monitoring process can be continued without stopping when the monitoring device 1 fails or when maintenance is performed. There is.

【0033】実施の形態5.図10はこの発明の実施の
形態5による通信装置の動作を示す説明図であり、この
実施の形態5は、予め監視装置の優先度を設定ファイル
(優先度設定テーブル)に設定し、被監視装置から監視
装置への動的な切り替えを、その設定ファイルに設定さ
れた優先度に応じて行うようにしたものである。
Embodiment 5 FIG. FIG. 10 is an explanatory diagram showing the operation of the communication device according to the fifth embodiment of the present invention. In the fifth embodiment, the priority of the monitoring device is set in a setting file (priority setting table) in advance, and the monitored device is monitored. The dynamic switching from the device to the monitoring device is performed according to the priority set in the setting file.

【0034】次に動作について説明する。まず、予め設
定ファイルに監視装置として動作する被監視装置の優先
度を設定しておき、図10に示すように、実施の形態1
に示した構成により、監視装置1に障害が発生した場合
に、その設定ファイルに基づいて優先度の最も高い被監
視装置を監視装置として動作させる。
Next, the operation will be described. First, the priority of a monitored device operating as a monitoring device is set in a setting file in advance, and as shown in FIG.
With the configuration shown in (1), when a failure occurs in the monitoring device 1, the monitored device having the highest priority is operated as the monitoring device based on the setting file.

【0035】以上のように、この実施の形態5によれ
ば、予め監視装置の優先度を設定ファイルに設定し、被
監視装置から監視装置への動的な切り替えを、その設定
ファイルに設定された優先度に応じて行うようにしたの
で、監視装置1の障害時やメンテナンス時などに監視処
理が停止することなく継続が可能となる効果がある。ま
た、監視処理の優先度を設定することにより特定の被監
視装置を優先的に監視装置として利用することが可能と
なる効果もある。
As described above, according to the fifth embodiment, the priority of the monitoring device is set in the setting file in advance, and the dynamic switching from the monitored device to the monitoring device is set in the setting file. Since the monitoring process is performed according to the priority, the monitoring process can be continued without stopping when the monitoring device 1 fails or when maintenance is performed. Also, by setting the priority of the monitoring process, there is an effect that a specific monitored device can be preferentially used as a monitoring device.

【0036】実施の形態6.図11はこの発明の実施の
形態6による通信装置の障害判定装置の動作を示すフロ
ーチャートであり、この実施の形態6は、実施の形態1
の構成において、監視装置1の障害を最初に判定した被
監視装置を、被監視装置から監視装置へ動的に切り替え
るようにしたものである。
Embodiment 6 FIG. FIG. 11 is a flowchart showing the operation of the failure determination device for a communication device according to the sixth embodiment of the present invention.
In the above configuration, the monitored device that first determines the failure of the monitoring device 1 is dynamically switched from the monitored device to the monitoring device.

【0037】次に動作について説明する。図11におい
て、各被監視装置2a〜2cにおける障害判定装置5a
〜5cでは、実施の形態1の構成において、全ての通信
経路6a,6bからの確認電文が途絶え、監視装置1の
ダウンを検出した場合、その時の時刻を取得し(ステッ
プST41)、確認電文テーブル10に登録し(ステッ
プST42)、その更新した確認電文テーブル10に基
づいた確認電文を他の被監視装置に送信する(ステップ
ST43)。もし、確認電文を送信した後で、他の被監
視装置からの確認電文を受信した場合は(ステップST
44)、その確認電文上の送信時間を調査し、自被監視
装置が送信した送信時間よりも早く送信されていた場合
は(ステップST45)、自被監視装置は被監視装置と
して動作し、確認電文の送信を止める(ステップST4
6)。自被監視装置が送信した送信時間よりも遅く送信
されていた場合は(ステップST45)、自被監視装置
を監視装置として動作し、確認電文の送信を継続する。
Next, the operation will be described. In FIG. 11, a failure determination device 5a in each of the monitored devices 2a to 2c
5C, when the confirmation message from all the communication paths 6a and 6b is interrupted and the monitoring device 1 is down in the configuration of the first embodiment, the time at that time is acquired (step ST41), and the confirmation message table is obtained. 10 (step ST42), and transmits a confirmation message based on the updated confirmation message table 10 to another monitored device (step ST43). If a confirmation message from another monitored device is received after transmitting the confirmation message (step ST
44) The transmission time in the confirmation message is checked, and if the transmission time is earlier than the transmission time transmitted by the self-monitoring device (step ST45), the self-monitoring device operates as the monitored device and confirms. Stop sending the message (step ST4)
6). If the transmission has been performed later than the transmission time transmitted by the self-monitoring device (step ST45), the self-monitoring device operates as the monitoring device and continues transmitting the confirmation message.

【0038】以上のように、この実施の形態6によれ
ば、監視装置1の障害を最初に判定した被監視装置を、
被監視装置から監視装置へ動的に切り替えるようにした
ので、監視装置1は移動可能となり、監視装置1の障害
時やメンテナンス時などに監視処理が停止することなく
継続が可能となる効果がある。また、ネットワーク上の
任意の被監視装置が監視装置となれる他、処理に余裕が
ある被監視装置が最初に確認電文を送信することで監視
装置になることができ、計算機資源の負荷分散の効果を
もたらす。
As described above, according to the sixth embodiment, the monitored device that first determines the failure of the monitoring device 1 is:
Since the monitored device is dynamically switched from the monitored device to the monitoring device, the monitoring device 1 can be moved, and the monitoring process can be continued without stopping when the monitoring device 1 fails or when maintenance is performed. . In addition, any monitored device on the network can be a monitoring device, and a monitored device that can afford processing can become a monitoring device by transmitting a confirmation message first, and the effect of load balancing of computer resources can be improved. Bring.

【0039】[0039]

【発明の効果】以上のように、請求項1記載の発明によ
れば、監視装置から2本の通信経路を介して複数の被監
視装置に確認電文を送信すると共に、それら複数の被監
視装置から2本の通信経路を介して返信された応答電文
に基づいて2本の通信経路および複数の被監視装置の障
害箇所を判定するように構成したので、障害箇所を特定
でき障害箇所の速やかな復旧対策が実現できる効果があ
る。
As described above, according to the first aspect of the present invention, a confirmation message is transmitted from a monitoring device to a plurality of monitored devices via two communication paths, and the plurality of monitored devices are transmitted. Is configured to determine the failure points of the two communication paths and the plurality of monitored devices based on the response messages returned from the communication paths via the two communication paths, so that the failure points can be specified and the failure points can be quickly identified. There is an effect that recovery measures can be realized.

【0040】請求項2記載の発明によれば、監視装置お
よび複数の被監視装置において電文送信装置,電文受信
装置および障害判定装置を備え、監視装置は、その監視
装置の電文送信装置から2本の通信経路を介して複数の
被監視装置の電文受信装置に確認電文を送信すると共
に、それら複数の被監視装置の電文送信装置から2本の
通信経路を介して監視装置の電文受信装置に返信された
応答電文に基づいて、監視装置の障害判定装置により2
本の通信経路および複数の被監視装置の障害箇所を判定
し、確認電文としてその障害箇所をそれら複数の被監視
装置に送信するように構成したので、障害箇所を特定で
き障害箇所の速やかな復旧対策が実現できる効果があ
る。また、全ての複数の被監視装置で障害箇所を認識す
ることができるので、各被監視装置において障害箇所の
速やかな復旧対策が実現できる効果がある。
According to the second aspect of the present invention, the monitoring device and the plurality of monitored devices include a telegram transmitting device, a telegram receiving device, and a fault determining device, and the monitoring device includes two monitoring devices from the telegram transmitting device of the monitoring device. A confirmation message is transmitted to the message receiving devices of the plurality of monitored devices via the communication paths of the plurality of monitored devices, and the message transmitting devices of the plurality of monitored devices are returned to the message receiving devices of the monitoring devices via the two communication paths. Based on the received response message, the fault determination device of the monitoring device
The communication path of this book and the fault location of a plurality of monitored devices are determined, and the fault location is transmitted to the plurality of monitored devices as a confirmation message, so that the fault location can be identified and the fault location can be quickly restored. There is an effect that measures can be realized. In addition, since the fault location can be recognized by all of the plurality of monitored devices, there is an effect that a quick recovery measure of the fault location can be realized in each monitored device.

【0041】請求項3記載の発明によれば、被監視装置
において2本の通信経路を介して被監視装置の電文受信
装置に全く確認電文が受信されなかった場合に、被監視
装置の電文送信装置から2本の通信経路を介して他の被
監視装置の電文受信装置に確認電文を送信すると共に、
他の被監視装置の電文受信装置の確認電文の受信に応じ
て他の被監視装置の電文送信装置から2本の通信経路を
介して被監視装置の電文受信装置に返信された応答電文
に基づいて、被監視装置の障害判定装置により監視装置
の障害または2本の通信経路障害を判定するように構成
したので、監視装置の障害または2本の通信経路障害を
判定することができ、障害箇所の速やかな復旧対策が実
現できる効果がある。
According to the third aspect of the present invention, when no confirmation message is received at the monitored device via the two communication paths by the monitored message receiving device, the monitored device transmits the message. A confirmation message is transmitted from the device to the message receiving device of another monitored device via two communication paths,
Based on a response message returned from the message transmission device of the other monitored device to the message reception device of the monitored device via the two communication paths in response to the reception of the confirmation message of the message reception device of the other monitored device. In this configuration, a failure of the monitoring device or two communication path failures is determined by the failure determination device of the monitored device, so that a failure of the monitoring device or two communication path failures can be determined. This has the effect that quick recovery measures can be realized.

【0042】請求項4記載の発明によれば、監視装置の
障害判定装置により通信経路に障害があると判定された
場合に、その通信不能となる経路テーブル中の通信先の
項目を不可にすると共に、通信中のデータを一旦保存し
てデータの送信を停止し、且つ経路テーブル中にその不
可にされた通信先の監視装置名または被監視装置名およ
び正常な通信経路の項目を可にすると共に、その一旦保
存されたデータをその新たに可にされた項目に該当する
正常な通信経路を介した通信先の監視装置または被監視
装置に送信する特定通信路切替装置を備えるように構成
したので、通信経路に障害が発生しても、監視装置およ
び被監視装置は通信動作を継続することができる効果が
ある。
According to the fourth aspect of the present invention, when the failure determination device of the monitoring device determines that there is a failure in the communication path, the communication destination item in the route table in which communication is disabled is disabled. At the same time, the data being communicated is temporarily saved to stop the data transmission, and the items of the disabled monitoring device name or monitored device name and the normal communication route in the route table are enabled. And a specific communication path switching device for transmitting the once stored data to a monitoring device or a monitored device of a communication destination via a normal communication path corresponding to the newly enabled item. Therefore, even if a failure occurs in the communication path, the monitoring device and the monitored device can continue the communication operation.

【0043】請求項5記載の発明によれば、経路テーブ
ルに通信先の監視装置名または被監視装置名および通信
経路の全ての項目を予め登録し、特定通信路切替装置に
よって可または不可に設定するように構成したので、通
信経路に異常が発生した場合に、速やかに別の通信経路
に切り替えられる効果がある。
According to the fifth aspect of the present invention, all the items of the monitoring device name or the monitored device name of the communication destination and all the items of the communication route are registered in the route table in advance, and set to be enabled or disabled by the specific communication channel switching device. Therefore, when an abnormality occurs in a communication path, the communication path can be quickly switched to another communication path.

【0044】請求項6記載の発明によれば、監視装置を
被監視装置に、および被監視装置を監視装置に動的に切
り替えられるように構成したので、監視装置の障害時や
メンテナンス時などに監視処理が停止することなく継続
が可能となる効果がある。
According to the present invention, the monitoring device can be dynamically switched to the monitored device and the monitored device can be dynamically switched to the monitoring device. There is an effect that the monitoring process can be continued without stopping.

【0045】請求項7記載の発明によれば、予め監視装
置の優先度が設定された優先度設定テーブルを設け、被
監視装置から監視装置への動的な切り替えは、その優先
度設定テーブルに設定された優先度に応じて行われるよ
うに構成したので、監視装置の障害時やメンテナンス時
などに監視処理が停止することなく継続が可能となる効
果がある。また、監視処理の優先度を設定することによ
り特定の被監視装置を優先的に監視装置として利用する
ことが可能となる効果がある。
According to the seventh aspect of the present invention, the priority setting table in which the priority of the monitoring device is set in advance is provided, and the dynamic switching from the monitored device to the monitoring device is performed in the priority setting table. Since the monitoring is performed according to the set priority, there is an effect that the monitoring process can be continued without being stopped at the time of failure or maintenance of the monitoring device. Further, by setting the priority of the monitoring process, there is an effect that a specific monitored device can be preferentially used as a monitoring device.

【0046】請求項8記載の発明によれば、監視装置の
障害を最初に判定した被監視装置を、被監視装置から監
視装置に動的に切り替えるように構成したので、監視装
置は、移動可能となり、監視装置の障害時やメンテナン
ス時などに監視処理が停止することなく継続が可能とな
る効果がある。また、ネットワーク上の任意の被監視装
置が監視装置となれる他、処理に余裕がある被監視装置
が最初に確認電文を送信することで監視装置になること
ができ、計算機資源の負荷分散をもたらす効果がある。
According to the eighth aspect of the present invention, the monitored device which first determines the failure of the monitoring device is dynamically switched from the monitored device to the monitoring device, so that the monitoring device can be moved. Thus, there is an effect that the monitoring process can be continued without stopping when a failure or maintenance of the monitoring device occurs. In addition, any monitored device on the network can be a monitoring device, and a monitored device that has a margin for processing can be a monitoring device by transmitting a confirmation message first, thereby causing load distribution of computer resources. effective.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 この発明の実施の形態1による通信装置を示
すブロック構成図である。
FIG. 1 is a block diagram showing a communication device according to a first embodiment of the present invention.

【図2】 確認電文テーブルを示す説明図である。FIG. 2 is an explanatory diagram showing a confirmation message table.

【図3】 監視装置の動作を示すフローチャートであ
る。
FIG. 3 is a flowchart illustrating an operation of the monitoring device.

【図4】 被監視装置の動作を示すフローチャートであ
る。
FIG. 4 is a flowchart showing the operation of the monitored device.

【図5】 この発明の実施の形態2による通信装置を示
すブロック構成図である。
FIG. 5 is a block diagram showing a communication device according to a second embodiment of the present invention.

【図6】 経路テーブルを示す説明図である。FIG. 6 is an explanatory diagram showing a route table.

【図7】 この発明の実施の形態2による通信装置の動
作を示す説明図である。
FIG. 7 is an explanatory diagram showing an operation of the communication device according to the second embodiment of the present invention.

【図8】 この発明の実施の形態3による通信装置の経
路テーブルを示す説明図である。
FIG. 8 is an explanatory diagram showing a route table of a communication device according to a third embodiment of the present invention.

【図9】 この発明の実施の形態4による通信装置の動
作を示す説明図である。
FIG. 9 is an explanatory diagram showing an operation of the communication device according to the fourth embodiment of the present invention.

【図10】 この発明の実施の形態5による通信装置の
動作を示す説明図である。
FIG. 10 is an explanatory diagram showing an operation of a communication device according to a fifth embodiment of the present invention.

【図11】 この発明の実施の形態6による通信装置の
障害判定装置の動作を示すフローチャートである。
FIG. 11 is a flowchart showing an operation of a failure determination device for a communication device according to a sixth embodiment of the present invention.

【図12】 従来の通信装置を示すブロック構成図であ
る。
FIG. 12 is a block diagram showing a conventional communication device.

【符号の説明】[Explanation of symbols]

1 監視装置、2a〜2c 被監視装置、3,3a〜3
c 電文送信装置、4,4a〜4c 電文受信装置、
5,5a〜5c 障害判定装置、6a,6b 通信経
路、15,15a,15b 特定通信路切替装置、20
経路テーブル。
1 monitoring device, 2a-2c monitored device, 3, 3a-3
c message transmission device, 4, 4a-4c message reception device,
5, 5a-5c failure determination device, 6a, 6b communication path, 15, 15a, 15b specific communication path switching device, 20
Route table.

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 2本の通信経路に接続された監視装置
と、それら2本の通信経路にそれぞれ接続された複数の
被監視装置とを備え、上記監視装置および上記複数の被
監視装置の相互間で情報の送受信を行う通信装置におい
て、上記監視装置は、上記2本の通信経路を介して上記
複数の被監視装置に確認電文をそれぞれ送信すると共
に、それら確認電文の受信に応じてそれら複数の被監視
装置からそれら2本の通信経路を介して返信された応答
電文に基づいてそれら2本の通信経路およびそれら複数
の被監視装置の障害箇所を判定することを特徴とする通
信装置。
1. A monitoring device connected to two communication paths, and a plurality of monitored devices connected to the two communication paths, respectively, wherein the monitoring device and the plurality of monitored devices are connected to each other. In the communication device for transmitting and receiving information between the plurality of monitored devices, the monitoring device transmits confirmation messages to the plurality of monitored devices via the two communication paths, and transmits the confirmation messages in response to reception of the confirmation messages. A communication device for determining a fault location of the two communication paths and the plurality of monitored apparatuses based on a response message returned from the monitored apparatus via the two communication paths.
【請求項2】 2本の通信経路に接続された監視装置
と、それら2本の通信経路にそれぞれ接続された複数の
被監視装置とを備え、上記監視装置および上記複数の被
監視装置の相互間で情報の送受信を行う通信装置におい
て、上記監視装置および上記複数の被監視装置は、電文
送信装置,電文受信装置および障害判定装置を備え、上
記監視装置は、その監視装置の電文送信装置から上記2
本の通信経路を介して上記複数の被監視装置の電文受信
装置に確認電文をそれぞれ送信すると共に、それら複数
の被監視装置の電文受信装置の確認電文の受信に応じて
それら複数の被監視装置の電文送信装置からそれら2本
の通信経路を介してその監視装置の電文受信装置に返信
された応答電文に基づいて、その監視装置の障害判定装
置によりそれら2本の通信経路およびそれら複数の被監
視装置の障害箇所を判定し、確認電文としてその障害箇
所をそれら複数の被監視装置に送信することを特徴とす
る通信装置。
2. A monitoring device connected to two communication paths, and a plurality of monitored devices respectively connected to the two communication paths, wherein the monitoring device and the plurality of monitored devices are connected to each other. In a communication device that transmits and receives information between the monitoring devices, the monitoring device and the plurality of monitored devices include a message transmission device, a message reception device, and a failure determination device, and the monitoring device is configured to transmit a message from the message transmission device of the monitoring device. 2 above
A confirmation message is transmitted to the message receiving device of the plurality of monitored devices via the communication path of the book, and the plurality of monitored devices are transmitted in response to the receipt of the confirmation message of the message receiving device of the plurality of monitored devices. Based on the response message returned from the message transmitting device of the monitoring device to the message receiving device of the monitoring device via the two communication paths, the fault determining device of the monitoring device determines the two communication routes and the plurality of received messages by the failure determination device of the monitoring device. A communication device characterized by determining a fault location of a monitoring device, and transmitting the fault location as a confirmation message to the plurality of monitored devices.
【請求項3】 被監視装置は、2本の通信経路を介して
その被監視装置の電文受信装置に全く確認電文が受信さ
れなかった場合に、その被監視装置の電文送信装置から
それら2本の通信経路を介して他の被監視装置の電文受
信装置に確認電文をそれぞれ送信すると共に、それら他
の被監視装置の電文受信装置の確認電文の受信に応じて
それら他の被監視装置の電文送信装置からそれら2本の
通信経路を介してその被監視装置の電文受信装置に返信
された応答電文に基づいて、その被監視装置の障害判定
装置により監視装置の障害またはそれら2本の通信経路
障害を判定することを特徴とする請求項2記載の通信装
置。
3. When a confirmation message is not received at all by a message receiving device of the monitored device via two communication paths, the monitored device transmits the two confirmation messages from the message transmitting device of the monitored device. A confirmation message is transmitted to the message receiving device of the other monitored device via the communication path of the other device, and the message of the other monitored device is received in response to the reception of the confirmation message of the message receiving device of the other monitored device. Based on a response message returned from the transmitting device to the message receiving device of the monitored device via the two communication paths, the failure determining device of the monitored device determines whether the monitoring device has failed or the two communication routes. The communication device according to claim 2, wherein a failure is determined.
【請求項4】 監視装置および被監視装置に設けられ、
通信先の監視装置名または被監視装置名および通信経路
が登録された経路テーブルと、上記監視装置および上記
被監視装置に設けられ、その監視装置の障害判定装置に
より現在通信中の通信経路に障害があると判定された場
合に、その障害があると判定された通信経路によって通
信不能となるその経路テーブル中の通信先の監視装置名
または被監視装置名および通信経路の項目を不可にする
と共に、通信中のデータを送信側の監視装置または被監
視装置に一旦保存して、その経路テーブル中のその不可
にされた項目に該当する通信経路を介した監視装置また
は被監視装置へのデータの送信を停止し、且つその経路
テーブル中にその不可にされた通信先の監視装置名また
は被監視装置名および正常な通信経路の項目を可にする
と共に、その送信側の監視装置または被監視装置に一旦
保存されたデータをその経路テーブル中のその新たに可
にされた項目に該当する正常な通信経路を介した通信先
の監視装置または被監視装置に送信する特定通信路切替
装置とを備えたことを特徴とする請求項1から請求項3
のうちのいずれか1項記載の通信装置。
4. It is provided in the monitoring device and the monitored device,
A path table in which the names of the monitoring apparatuses or monitored apparatuses at the communication destinations and the communication paths are registered, and a fault in the communication path currently provided in the monitoring apparatus and the monitored apparatus, which is being communicated by the fault determining apparatus of the monitoring apparatus. When it is determined that there is an error, the items of the monitoring device name or the monitored device name and the communication route of the communication destination in the route table, which cannot be communicated by the communication route determined to have the fault, are disabled, and The data being communicated is temporarily stored in the monitoring device or the monitored device on the transmitting side, and the data is transmitted to the monitoring device or the monitored device via the communication path corresponding to the disabled item in the routing table. The transmission is stopped, and the monitoring device name or the monitored device name of the disabled communication destination and the item of the normal communication path are enabled in the routing table, and the transmission is performed. To send data once stored in the monitoring device or monitored device to the monitoring device or monitored device of the communication destination via the normal communication path corresponding to the newly enabled item in the routing table 4. A communication path switching device, comprising:
The communication device according to claim 1.
【請求項5】 経路テーブルは、通信先の監視装置名ま
たは被監視装置名および通信経路の全ての項目が予め登
録され、特定通信路切替装置によって可または不可に設
定されることにより該当する項目が決定されることを特
徴とする請求項4記載の通信装置。
5. A route table in which all items of a communication destination monitoring device name or monitored device name and a communication route are registered in advance, and are set to be enabled or disabled by a specific communication path switching device. The communication device according to claim 4, wherein is determined.
【請求項6】 監視装置を被監視装置に、および被監視
装置を監視装置に動的に切り替えられることを特徴とす
る請求項1から請求項5のうちのいずれか1項記載の通
信装置。
6. The communication device according to claim 1, wherein a monitoring device can be dynamically switched to a monitored device, and a monitored device can be dynamically switched to a monitoring device.
【請求項7】 予め監視装置の優先度が設定された優先
度設定テーブルを設け、被監視装置から監視装置への動
的な切り替えは、その優先度設定テーブルに設定された
優先度に応じて行われることを特徴とする請求項6記載
の通信装置。
7. A priority setting table in which priorities of monitoring devices are set in advance, and dynamic switching from a monitored device to a monitoring device is performed according to the priority set in the priority setting table. 7. The communication device according to claim 6, wherein the communication is performed.
【請求項8】 監視装置の障害を最初に判定した被監視
装置を、被監視装置から監視装置へ動的に切り替えるこ
とを特徴とする請求項3記載の通信装置。
8. The communication device according to claim 3, wherein the monitored device that first determines the failure of the monitoring device is dynamically switched from the monitored device to the monitoring device.
JP8334073A 1996-12-13 1996-12-13 Communication device Pending JPH10173676A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8334073A JPH10173676A (en) 1996-12-13 1996-12-13 Communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8334073A JPH10173676A (en) 1996-12-13 1996-12-13 Communication device

Publications (1)

Publication Number Publication Date
JPH10173676A true JPH10173676A (en) 1998-06-26

Family

ID=18273218

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8334073A Pending JPH10173676A (en) 1996-12-13 1996-12-13 Communication device

Country Status (1)

Country Link
JP (1) JPH10173676A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003078492A (en) * 2001-08-31 2003-03-14 Maspro Denkoh Corp Gap filler device
JP2008228027A (en) * 2007-03-14 2008-09-25 Fujitsu Ltd Network system, relay processing device, and log information management method
JP2009246689A (en) * 2008-03-31 2009-10-22 Fujitsu Ltd Line accommodating device and control method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003078492A (en) * 2001-08-31 2003-03-14 Maspro Denkoh Corp Gap filler device
JP2008228027A (en) * 2007-03-14 2008-09-25 Fujitsu Ltd Network system, relay processing device, and log information management method
JP2009246689A (en) * 2008-03-31 2009-10-22 Fujitsu Ltd Line accommodating device and control method

Similar Documents

Publication Publication Date Title
US8051322B2 (en) Redundant failover system, redundancy managing apparatus and application processing apparatus
JP3850391B2 (en) Router interface backup execution method using VRRP (Virtual Router Redundancy Protocol)
JP4164704B2 (en) Network connection device switching method and network system using redundancy protocol and pseudo-redundant configuration means
US6906998B1 (en) Switching device interfaces
JP3224745B2 (en) High reliability network system and server switching method
CN100459601C (en) Implementation method of active and standby gateway devices in the network
JPH09321821A (en) Protocol conversion system and protocol conversion method
JP2002057682A (en) Network interface switching method and computer connectable to network
JP2009303090A (en) Load distribution server, network load distribution method and congestion avoidance method
US8060628B2 (en) Technique for realizing high reliability in inter-application communication
CN102308536A (en) Communication system, communication unit, control unit, and controlling method
JPH09259096A (en) Network high reliability method and system
US7738362B2 (en) System and method for address notification in a network
JP3692114B2 (en) Supervisory control network system
JP2001237889A (en) Detour path control method and apparatus in data communication network
JP2005244672A (en) Network failure monitoring process system and its method
JPH10173676A (en) Communication device
JPH07264233A (en) High-speed route switching method and router device
JP4967674B2 (en) Media service system, media service device, and LAN redundancy method used therefor
JP3914072B2 (en) Network failure monitoring method, communication system, and line switching apparatus
JPH09326810A (en) Connection changeover method on occurrence of fault
JP2012075009A (en) Redundancy device and redundancy program
JPH11296396A (en) High availability system with switching concealment function
JP2002271371A (en) Network server and its controlling method
JP4692419B2 (en) Network device, redundant switching method used therefor, and program thereof