JPH10164060A - Monitoring system in data communication equipment - Google Patents

Monitoring system in data communication equipment

Info

Publication number
JPH10164060A
JPH10164060A JP8317761A JP31776196A JPH10164060A JP H10164060 A JPH10164060 A JP H10164060A JP 8317761 A JP8317761 A JP 8317761A JP 31776196 A JP31776196 A JP 31776196A JP H10164060 A JPH10164060 A JP H10164060A
Authority
JP
Japan
Prior art keywords
module
monitored
health check
modules
transmission right
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.)
Withdrawn
Application number
JP8317761A
Other languages
Japanese (ja)
Inventor
Koichi Kato
浩一 加藤
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 JP8317761A priority Critical patent/JPH10164060A/en
Publication of JPH10164060A publication Critical patent/JPH10164060A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To continue communication between a monitoring device and a module to be monitored without interruption and to improve the reliability of a network without disabling monitoring and control from the monitoring device by automatically switching a master module to be monitored when a fault occurs in the master module to be monitored. SOLUTION: Respective modules A2-E6 can be set to the master modules to be monitored and slave modules to be monitored. When a module A2 is set to the master module to be monitored, the modules B3-E6 become the slave modules to be monitored. The module A2 sets a monitoring path 7 for the monitoring device 1 and transmits monitor information and receives control information. Transmission right for health-checking the module A2 is sequentially and endlessly succeeded among the modules B3-E6. Thus, the monitoring control of the module which does not become the fault can be continued until all the modules become the faults.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は複数のモジュールが
LAN,バス等で接続して構成されているデータ通信ネ
ットワークにおけるデータ通信装置の監視方式に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a monitoring system for a data communication device in a data communication network in which a plurality of modules are connected by a LAN, a bus or the like.

【0002】LAN,バス等で接続されている複数のモ
ジュールを監視制御する場合,監視装置が全てのモジュ
ールと論理パスを設定することが望ましいが,物理的制
約や制御データ量の増大等の理由により設定できない場
合がある。そのような場合,複数のモジュールの中の一
つのモジュールが代表して監視装置と論理パスを設定
し,そのモジュールが残りのモジュールとパスを設定し
て監視情報を間接的に送受信する形態をとることにな
る。しかし,監視装置と接続するモジュールが障害にな
ると監視情報の通信ができなくなるためその改善が望ま
れている。
When monitoring and controlling a plurality of modules connected by a LAN, a bus, or the like, it is desirable that the monitoring device sets all modules and logical paths. May not be able to be set. In such a case, one of the plurality of modules sets a monitoring device and a logical path on behalf of the module, and the module sets a path with the remaining modules to indirectly transmit and receive monitoring information. Will be. However, when a module connected to the monitoring device becomes a failure, communication of monitoring information cannot be performed.

【0003】[0003]

【従来の技術】図12は従来例の説明図である。図12
には従来のデータ通信ネットワークの構成例であり,図
中,90は複数のデータ通信装置A〜D,91はデータ
通信装置90と回線により接続されたパーソナルコンピ
ュータ等の端末,92は各データ装置と接続されたデー
タの処理や,データ送受信を行うホスト,93は各デー
タ通信装置を接続するLANまたはバス等の通信パス,
94は複数のデータ通信装置の状態を遠隔から監視する
監視装置,95はデータ通信装置90との間を接続する
通信路である。
2. Description of the Related Art FIG. 12 is an explanatory view of a conventional example. FIG.
Is a configuration example of a conventional data communication network. In the figure, 90 is a plurality of data communication devices A to D, 91 is a terminal such as a personal computer connected to the data communication device 90 by a line, and 92 is each data device. A host for data processing and data transmission / reception connected to the data communication device; a communication path such as a LAN or a bus connecting the data communication devices;
Reference numeral 94 denotes a monitoring device for remotely monitoring the states of a plurality of data communication devices, and reference numeral 95 denotes a communication path for connecting with the data communication device 90.

【0004】データ通信装置90はそれぞれ回線と接続
された各端末91に対し,同じデータ通信装置90内の
他の端末との間または通信パス93を介して他のデータ
通信装置の端末との間でデータ通信のサービスを提供す
ると共に,端末からホスト92と接続してデータ処理や
交換のサービスを提供する。
[0004] The data communication device 90 communicates with each terminal 91 connected to a line between another terminal in the same data communication device 90 or a terminal of another data communication device via a communication path 93. And provides a data communication service, and a terminal connects to the host 92 to provide data processing and exchange services.

【0005】監視装置94は各データ通信装置90(以
下,被監視モジュールという)A〜Dの状態を監視する
ためにモジュールA〜Dの設置位置に対し遠隔の場所に
設けられる。このような構成における従来の監視制御の
方式として次の,がある。
The monitoring device 94 is provided at a location remote from the installation position of the modules A to D in order to monitor the status of each of the data communication devices 90 (hereinafter, referred to as monitored modules) A to D. The following is a conventional monitoring control method in such a configuration.

【0006】被監視モジュールA〜Dの中の何れか一
つのモジュールを被監視親モジュール(例えば,モジュ
ールAとする)とし,他のモジュールを被監視子モジュ
ール(モジュールB〜Dとする)として構成し,被監視
親モジュールA内の被監視親制御機能により,他の被監
視子モジュールB〜D内の被監視制御機能との間で通信
パス93を介して監視情報を送受信し,監視情報を被監
視親モジュールAで集約し,その監視情報を遠隔の監視
装置94に通信路95を介して送信する。この場合,監
視装置94と被監視親モジュールAとの間に通信路95
が設けられている。
One of the monitored modules A to D is configured as a monitored parent module (for example, module A), and the other module is configured as a monitored child module (modules B to D). The monitored parent control function in the monitored parent module A transmits / receives monitoring information to / from the monitored monitoring functions in the other monitored child modules B to D via the communication path 93, and transmits the monitored information. The monitored module A aggregates the monitoring information and transmits the monitoring information to the remote monitoring device 94 via the communication path 95. In this case, a communication path 95 is provided between the monitoring device 94 and the monitored parent module A.
Is provided.

【0007】上記の方式では,被監視親モジュール
Aに障害が発生すると,データ通信ネットワーク全体が
監視不能となるという問題があった。これを回避する手
段として,監視装置から被監視親モジュールを切り換え
る方式がある。
The above method has a problem that if a failure occurs in the monitored parent module A, the entire data communication network cannot be monitored. As a means for avoiding this, there is a method of switching the monitored parent module from the monitoring device.

【0008】上記のの方式のように監視装置が被監
視親モジュールの中から一つを指定できない場合(遠隔
の監視装置から切り替えを行うための機構が監視装置及
び被監視モジュールに備えられていない場合等)があ
る。その場合,被監視親モジュールを2つ設けて,主被
監視親モジュール(例えば,上記図12のモジュール
A)と副被監視親モジュール(図12のモジュールB)
に分け,副被監視親モジュールが主被監視親モジュール
を常時監視し,通常は主被監視親モジュールが他のモジ
ュールから監視情報を集約し,主被監視親モジュールが
障害となった場合は副被監視親モジュールが障害を検出
し,主被監視親モジュールに替わって被監視子モジュー
ルとの間で監視情報を送受信して集約した監視情報を監
視装置との間で送受信する方式がある。
In the case where the monitoring device cannot specify one of the monitored parent modules as in the above method (the monitoring device and the monitored module do not have a mechanism for switching from a remote monitoring device) Case). In this case, two monitored parent modules are provided, and a main monitored parent module (for example, module A in FIG. 12) and a sub-monitored parent module (module B in FIG. 12).
The sub-monitored parent module constantly monitors the main monitored parent module. Normally, the main monitored parent module collects monitoring information from other modules, and if the main monitored parent module fails, the sub-monitored parent module There is a method in which the monitored parent module detects a failure, transmits and receives monitoring information to and from the monitored child module in place of the main monitored parent module, and transmits and receives the aggregated monitoring information to and from the monitoring device.

【0009】[0009]

【発明が解決しようとする課題】上記したの場合,主
被監視親モジュールと副被監視親モジュールが共に障害
になった場合には,データ通信ネットワークの監視制御
が不能になるという問題があった。
In the above case, if both the main monitored parent module and the sub-monitored parent module fail, there is a problem that the monitoring control of the data communication network becomes impossible. .

【0010】本発明は上記の,のように監視装置か
ら被監視親モジュールの切替え制御ができない場合に,
1つまたは2つの被監視親モジュールが障害になって,
データ通信ネットワーク全体が監視制御不能となる問題
を解決するもので,データ通信ネットワークを構成する
全てのモジュールが障害となるまで,障害となっていな
いモジュールの監視制御を継続することができるデータ
通信ネットワークの監視方式を提供することを目的とす
る。
According to the present invention, when the switching control of the monitored parent module cannot be performed from the monitoring device as described above,
One or two monitored parent modules fail,
This solves the problem that the entire data communication network cannot be monitored and controlled. The data communication network can continue monitoring and controlling modules that are not in trouble until all the modules that make up the data communication network fail. The purpose of the present invention is to provide a monitoring method.

【0011】[0011]

【課題を解決するための手段】図1は本発明の原理構成
図,図2はテーブルの構成を示す図である。図1におい
て,1は遠隔の監視装置,2〜6はそれぞれ回線により
端末(図示省略)やホスト(図示省略)と接続されたデ
ータ通信ネットワークを構成するデータ通信装置(モジ
ュールA〜Eで表示),7は監視装置1と現在の被監視
親モジュールとの間で通信を行うための監視パス(監視
に用いる通信パス),8はモジュール間を接続するLA
Nまたはバスで構成する通信パスである。なお,監視装
置1と各モジュールA〜E間には常時点線で示すような
論理パス7’が設定されている。なお,論理パスは監視
装置とのパスがいつでもアクティブになれる状態のパス
である。
FIG. 1 is a diagram showing the principle of the present invention, and FIG. 2 is a diagram showing the structure of a table. In FIG. 1, 1 is a remote monitoring device, and 2 to 6 are data communication devices (denoted by modules A to E) which configure a data communication network connected to a terminal (not shown) or a host (not shown) by a line, respectively. , 7 are monitoring paths (communication paths used for monitoring) for communicating between the monitoring device 1 and the current monitored parent module, and 8 is an LA connecting the modules.
This is a communication path composed of N or a bus. Note that a logical path 7 'is always set between the monitoring device 1 and each of the modules A to E as indicated by a dotted line. The logical path is a path in a state where the path to the monitoring device can be activated at any time.

【0012】本発明では何れのモジュールも被監視親モ
ジュールになることができ,図1の例では最初にモジュ
ール2(モジュールA)を被監視親モジュールに設定す
ると,他のモジュール3〜6(モジュールB〜E)は被
監視子モジュールとなる。被監視親モジュールAは,パ
ス設定手段2cにより監視装置1に対し論理パス7を用
いて実線で示す監視パス7を設定し,監視装置1と通信
を行って監視情報の送信と制御情報の受信を行う。ま
た,被監視親モジュールAは,ヘルスチェック送信権を
持つ被監視子モジュールから送信されるヘルスチェック
(モジュールの装置及び回線状態の問い合わせ)を受信
して状態(正常か異常かの状態)を表す応答をヘルスチ
ェック受信監視手段2aにより送信すると共に,時間監
視を行って前回のヘルスチェック受信から一定時間内に
次のヘルスチェックを受け取らないとヘルスチェック送
信権を持つ被監視子モジュールが異常であるとしてヘル
スチェック送信権所有モジュール決定通知手段2bを起
動して,ヘルスチェック送信権所有モジュール決定通知
手段2bはヘルスチェック送信権所有モジュールを他の
被監視子モジュールに決定して通知を行う。
In the present invention, any module can be a monitored parent module. In the example of FIG. 1, when module 2 (module A) is first set as the monitored parent module, the other modules 3 to 6 (module B to E) are monitored child modules. The monitored parent module A sets a monitoring path 7 indicated by a solid line to the monitoring device 1 by the path setting means 2c using the logical path 7 and communicates with the monitoring device 1 to transmit monitoring information and receive control information. I do. Further, the monitored parent module A receives the health check (inquiry of the module device and line status) transmitted from the monitored child module having the health check transmission right, and indicates the status (normal or abnormal). The response is transmitted by the health check reception monitoring means 2a, and the monitored child module having the right to transmit the health check is abnormal if the time is monitored and the next health check is not received within a predetermined time from the reception of the previous health check. Then, the health check transmission right possession module determination notifying unit 2b is activated, and the health check transmission right possession module determination notification unit 2b determines the health check transmission right possession module as another monitored module and performs notification.

【0013】被監視親モジュールをヘルスチェックする
送信権は,特定の被監視子モジュールに固定されること
なく被監視子モジュールの間で順々にエンドレスに引き
継がれる。各モジュールA〜Eは,全てのモジュールを
登録した図2に示すテーブルを備え,そのテーブルによ
りデータ通信ネットワークのステイタスを把握する。
The transmission right to check the health of the monitored parent module is successively endlessly inherited between the monitored child modules without being fixed to a specific monitored child module. Each of the modules A to E has a table shown in FIG. 2 in which all modules are registered, and the status of the data communication network is grasped from the table.

【0014】図2のテーブルには,図1に示す各モジュ
ールA〜Eの中で現在の被監視親モジュール,障害
になっているモジュール,送信権を持つモジュールが
設定されている。
In the table of FIG. 2, among the modules A to E shown in FIG. 1, a current monitored parent module, a faulty module, and a module having a transmission right are set.

【0015】最初にモジュールBがヘルスチェック送信
権を持つ場合,ヘルスチェック送受信手段3aにより被
監視親モジュールAにヘルスチェックを送信し,正常応
答が返ってくると,ヘルスチェック送信権移動通知手段
3bによりテーブルに登録された次の被監視子モジュー
ルCにヘルスチェック送信権の移動を通知し,次の被監
視子モジュールCから送信権移動了解の応答が返ってく
ると送信権を持つモジュールを設定したテーブルを他の
モジュールに送信し,各モジュールはその内容により自
モジュールのテーブルを更新すると共にテーブルに示さ
れた状態に変化させてヘルスチェックの送信等の処理を
実行する。ヘルスチェックにより被監視親モジュールA
からの応答が非正常または応答が返ってこないと,被監
視親モジュールAが障害であるとして,被監視親モジュ
ール親決定通知手段3cが起動し,次のモジュールを被
監視親モジュールとして決定し,その内容が設定された
テーブルを他のモジュールに通知する。
First, when the module B has the right to transmit the health check, the health check transmission / reception means 3a transmits a health check to the monitored parent module A, and when a normal response is returned, the health check transmission right transfer notifying means 3b. Notifies the next monitored child module C registered in the table of the transfer of the health check transmission right, and sets a module having the transmission right when the response of the transmission right transfer acknowledgment is returned from the next monitored child module C. The module transmits the updated table to other modules, and each module updates its own table according to its contents and changes the state to the state shown in the table to execute processing such as transmission of a health check. Parent module A monitored by health check
If the response from the server is abnormal or no response is returned, the monitored parent module A is determined to be faulty, the monitored parent module parent determination notifying means 3c is activated, and the next module is determined as the monitored parent module. The table in which the contents are set is notified to another module.

【0016】被監視親モジュール2(変更先の被監視親
モジュールを含む)は監視パス7を介して監視装置1と
通信してデータ通信ネットワークを構成する各モジュー
ルのネットワーク管理情報を監視装置1に通信する。
The monitored parent module 2 (including the monitored parent module to be changed) communicates with the monitoring device 1 via the monitoring path 7 to send the network management information of each module constituting the data communication network to the monitoring device 1. connect.

【0017】上記したように,各モジュールA〜Eは互
いに被監視親モジュール及び被監視子モジュールの両方
に変化して動作するため,上記図1のモジュールAが備
える手段とモジュールBが備える手段の両方を備えてい
る。
As described above, since each of the modules A to E is operated as both the monitored parent module and the monitored child module, each of the modules A to E operates as a module provided in the module A and a module B provided in the module B in FIG. Has both.

【0018】[0018]

【発明の実施の形態】図3はデータ通信装置(モジュー
ル)の実施例の構成を示す。図3において,10はデー
タ通信装置(モジュール),11は複数の端末(及び遠
隔の監視装置)と接続する回線を収容する回線対応部,
12はデータ通信ネットワーク内の他のモジュールとイ
ーサネット(Ethernet) を介してテーブル,データ等の
フレームの送受信をTCP/IPにて行う送受信制御
部,13はテーブル(上記図2参照)及びソフトウェア
を格納するメモリ,14はテーブルの更新,フレームの
コマンド/レスポンスの生成,タイマの管理,ヘルスチ
ェックの送信権の移動の処理を行う中央処理装置,15
は監視装置との通信を制御し被監視親モジュールにおい
てだけ駆動される被監視機能制御部,16はイーサネッ
トのLANを表す。
FIG. 3 shows the configuration of an embodiment of a data communication device (module). In FIG. 3, 10 is a data communication device (module), 11 is a line corresponding unit that accommodates a line connected to a plurality of terminals (and a remote monitoring device),
Reference numeral 12 denotes a transmission / reception control unit for transmitting and receiving a table and frames of data and the like to other modules in the data communication network via Ethernet (TCP / IP), and 13 stores a table (see FIG. 2) and software. A central processing unit for updating a table, generating a command / response of a frame, managing a timer, and moving a transmission right of a health check;
Denotes a monitored function control unit which controls communication with the monitoring device and is driven only by the monitored parent module, and 16 denotes an Ethernet LAN.

【0019】図4はモジュール間で通信されるフレーム
のフォーマットの構成である。このフレームフォーマッ
トはTCP/IPに対応するが,ユーザデータフィール
ド内にコマンド/レスポンス部を設けたものである。す
なわち,先頭にMAC(Medium Access Control)ヘッ
ダ,次はIP(Internet Protocol) ヘッダ, その後の
ユーザデータフィールドに本発明による「コマンド/レ
スポンス部」を設け,その後に「データ」,最後に誤り
チェック用のFCS(Frame Check Sequence) がある。
FIG. 4 shows the configuration of the format of a frame communicated between modules. This frame format corresponds to TCP / IP, but has a command / response portion provided in a user data field. That is, a MAC (Medium Access Control) header is placed at the top, an IP (Internet Protocol) header is placed next, and a "command / response section" according to the present invention is provided in the user data field thereafter, followed by "data" and finally an error check. FCS (Frame Check Sequence).

【0020】コマンド/レスポンス部は,2バイトのコ
ードで表し,図4に詳細に示すようにコマンドとして
「ヘルスチェック」(コード01),レスポンスとして
「正常応答」(コード02),「異常応答」(コード0
3),「応答受信完了」(コード04),コマンドとし
て「送信権移動要求」(コード05),レスポンスとし
て「送信権移動了解」(コード06)があり,その他に
「テーブル送信」(コード07)によりテーブルのデー
タを送信する。また異常応答の場合には,その原因と診
断コードがデータとして応答される。なお,ユーザデー
タはコード08により表す。フレームを受けたモジュー
ルは,コマンド/レスポンス部のコードを見て制御動作
の決定を行う。例えば,コマンド/レスポンス部が01
であるフレームを受けたモジュールは,ヘルスチェック
のアプリケーションを起動する。なお,ヘルスチェック
は現在のモジュールの装置状態/回線状態を問い合わせ
る。
The command / response portion is represented by a 2-byte code. As shown in detail in FIG. 4, the command is "health check" (code 01), the response is "normal response" (code 02), and the "abnormal response" (Code 0
3), "Response reception completed" (code 04), "Transmission right transfer request" (code 05) as command, "transmission right transfer acknowledged" (code 06) as response, and "table transmission" (code 07) ) To transmit the table data. In the case of an abnormal response, the cause and the diagnostic code are returned as data. The user data is represented by a code 08. The module receiving the frame determines the control operation by looking at the code of the command / response section. For example, if the command / response part is 01
The module that receives the frame activates a health check application. The health check inquires about the current device status / line status of the module.

【0021】図5はメモリ上のテーブルのマッピングの
構成であり,A〜Eの5つのモジュールが設けられた例
を示す。テーブルの先頭の4バイト(テーブルの上部の
0〜7で表す列)は各モジュールのIPアドレス,その
後の1ビット(テーブルの上部の8で表す列)は親モジ
ュール(被監視親モジュール)の表示用,次の1ビット
(テーブルの上部の9で表す列)は障害であるモジュー
ルを表すフラグ(“1”で障害を表し,“0”は正常を
表す),更に次の1ビット(テーブルの上部の10で表
す列)は送信権を備えるモジュールを表し(“1”で送
信権ありを表す),残りの3ビット(テーブルの上部の
11〜13で表す列)は他の用途に使用可能である。各
モジュールは図5に示すテーブルを備え,最新のテーブ
ルを他のモジュールが送信するとそれ以外の各モジュー
ルで受信され,それぞれのメモリ上のテーブルを書き換
える。また,障害を検知した場合は,テーブルを更新し
他のモジュールへ送信する。
FIG. 5 shows a configuration of mapping of a table on a memory, and shows an example in which five modules A to E are provided. The first four bytes of the table (columns represented by 0 to 7 at the top of the table) indicate the IP address of each module, and the subsequent one bit (column represented by 8 at the top of the table) indicates the parent module (monitored parent module) , The next one bit (the column indicated by 9 at the top of the table) is a flag indicating a module which is a fault ("1" indicates a fault and "0" indicates normal), and the next one bit (a table in the table). The upper 10 column indicates a module having a transmission right ("1" indicates transmission right), and the remaining 3 bits (the upper 11 to 13 columns in the table) can be used for other purposes. It is. Each module has the table shown in FIG. 5, and when another module transmits the latest table, it is received by each of the other modules and rewrites the table in each memory. When a failure is detected, the table is updated and transmitted to another module.

【0022】図6は本発明が適用されるデータ通信ネッ
トワークの構成例である。この構成では図3に示す構成
を備えたモジュールA〜Eがイーサネット16により相
互に接続されている。被監視親モジュール(モジュール
Aとする)は監視装置と通信し,データ通信ネットワー
クを構成する各モジュールのネットワーク管理情報を監
視装置へ送信する。監視装置と被監視親モジュール間は
常時監視パスを張っている。
FIG. 6 shows a configuration example of a data communication network to which the present invention is applied. In this configuration, modules A to E having the configuration shown in FIG. The monitored parent module (to be referred to as module A) communicates with the monitoring device and transmits network management information of each module constituting the data communication network to the monitoring device. A monitoring path is always established between the monitoring device and the monitored parent module.

【0023】図7に監視装置と被監視親モジュールとの
間の送受信の動作が示され,監視装置より周期的(周期
をXとする)に装置状態の問い合わせを被監視親モジ
ュールに対し監視パスを使用して行う。問い合わせを受
けた被監視親モジュールは,応答を監視パスを利用し
監視装置へ送信する。監視パスは論理パスを監視用に設
定して使用し,被監視親モジュールだけが使用する。ま
た,データ通信ネットワーク内にて障害や構成の変更
等,監視装置に通知する必要が発生した場合には,非同
期に監視装置に自律メッセージとして内容を送信す
る。他の被監視子モジュールは,監視装置との間に論理
的なパスを設定しておくが,被監視親モジュールとなる
まで監視パス(論理的なパスを使用した通信路)として
の設定は行わない。
FIG. 7 shows the transmission / reception operation between the monitoring device and the monitored parent module. The monitoring device periodically sends an inquiry about the device status (the period is X) to the monitored parent module. Done using The monitored parent module that has received the inquiry transmits a response to the monitoring device using the monitoring path. The monitoring path is used by setting a logical path for monitoring, and is used only by the monitored parent module. When it becomes necessary to notify the monitoring device of a failure or a change in configuration in the data communication network, the content is asynchronously transmitted to the monitoring device as an autonomous message. A logical path is set between the other monitored child module and the monitoring device, but setting as a monitoring path (a communication path using the logical path) is performed until the monitored module becomes a monitored parent module. Absent.

【0024】図8は本発明による動作シーケンスであ
り,上記図6に示す構成例におけるモジュール間の監視
動作の動作シーケンスの一部を示す。最初にモジュール
Aが被監視親モジュール,モジュールBをヘルスチェッ
ク送信権所有モジュールとする。以下に〜の順に説
明する。
FIG. 8 shows an operation sequence according to the present invention, and shows a part of an operation sequence of a monitoring operation between modules in the configuration example shown in FIG. First, the module A is the monitored parent module, and the module B is the health check transmission right possessing module. Description will be made below in the order of.

【0025】モジュールBよりモジュールAへヘルス
チェックを送信する。 モジュールAよりモジュールBへ応答を送信する。 モジュールBよりモジュールAへ応答の受信完了を通
知する。これによりヘルスチェックを終了し,以降ヘル
スチェック送信権の移動に移る。
A health check is transmitted from module B to module A. A response is transmitted from module A to module B. Module B notifies module A of the completion of the response. As a result, the health check is completed, and thereafter, the process moves to the transfer of the health check transmission right.

【0026】モジュールBよりモジュールCへヘルス
チェック送信権の移動要求を送信する。 モジュールCよりモジュールBへヘルスチェック送信
権の移動了解を送信する。
The request for transferring the health check transmission right is transmitted from the module B to the module C. The module C sends a health check transmission right transfer acknowledgement to the module B.

【0027】モジュールCよりモジュールAへヘルス
チェックを送信する。 モジュールAよりモジュールCへ応答を送信する。 モジュールCよりモジュールAへ応答の受信完了を通
知する。これによりヘルスチェックを終了し,以降ヘル
スチェック送信権の移動に移る。
A health check is transmitted from module C to module A. A response is transmitted from module A to module C. Module C notifies module A of the completion of the response reception. As a result, the health check is completed, and thereafter, the process moves to the transfer of the health check transmission right.

【0028】この後,図8には示されていないが,正常
な動作が行われると,送信権がモジュールDに移り上記
と同様なシーケンスを経て,次にモジュールEに送信権
が移り,モジュールEの次にモジュールBへ送信権が戻
る。
After that, although not shown in FIG. 8, when the normal operation is performed, the transmission right is transferred to the module D, and the transmission right is transferred to the module E through the same sequence as described above. After E, the transmission right returns to module B.

【0029】被監視親モジュールであるモジュールA
は,図8に示すように各モジュールからのヘルスチェッ
クを受け取ると(図8の,),タイマをスタートさ
せて,次のヘルスチェックがタイマに設定された時間内
に受信されるとリセットされ,再スタートするが,予め
設定された一定時間内にヘルスチェックが受信されない
とタイマがリセットされずタイムオーバ出力を発生し,
送信権を持つモジュール(送信権の移動元または移動先
の何れか)に障害が発生したことを検出して対応する処
理(後述する図10参照)。
Module A as a monitored parent module
As shown in FIG. 8, when a health check from each module is received (in FIG. 8), the timer is started, and when the next health check is received within the time set in the timer, the timer is reset, and Restarts, but if a health check is not received within a predetermined time, the timer is not reset and a time-over output is generated,
Processing for detecting that a failure has occurred in a module having a transmission right (either the source or destination of the transmission right) and corresponding processing (see FIG. 10 described later).

【0030】図9は被監視子モジュールによる障害検出
の動作を示し,図9のA.は上記図8の動作シーケンス
において,によりモジュールBがモジュールA(被監
視親モジュール)に対しヘルスチェックを送信した時
に,モジュールAから予め設定された時間内に応答が
返ってこない場合であり,この場合モジュールAが異常
ステイタス(障害状態)として,上記図5に示すテーブ
ルにモジュールAが障害であることを設定し,そのテー
ブルは他のモジュールに送信されて,他のモジュールに
おいて認識される。この場合,被監視親モジュールが後
述する被監視子モジュールの処理(後述する図11参
照)により移動する。
FIG. 9 shows the operation of the failure detection by the monitored child module. In the operation sequence of FIG. 8, when the module B transmits a health check to the module A (monitored parent module), no response is returned from the module A within a preset time. In this case, module A is set as an abnormal status (failure state) in the table shown in FIG. 5 to indicate that module A has a failure, and the table is transmitted to another module and recognized by the other module. In this case, the monitored parent module moves by processing of the monitored child module described later (see FIG. 11 described later).

【0031】図9のB.は送信権移動要求を送信した時
に,相手モジュールから設定され時間内に送信権移動了
解の応答が返ってこない場合である。図の例では送信権
移動先のモジュールCから応答が返ってこないため,モ
ジュールBはモジュールCに障害が発生したことを検出
してテーブルへの設定等の処理(後述する図11参
照)。
FIG. Is a case where the transmission right transfer request is transmitted, and the response of the transmission right transfer acknowledgment is not returned within the time set by the partner module. In the example shown in the figure, since no response is returned from the module C to which the transmission right has been transferred, the module B detects that a failure has occurred in the module C and performs processing such as setting in a table (see FIG. 11 described later).

【0032】図10は被監視親モジュールの処理フロー
であり,各モジュールはこの処理機能を備え,自モジュ
ールが被監視親モジュールになったことをテーブルによ
り判別するとこの処理を実行する。
FIG. 10 shows the processing flow of the monitored parent module. Each module has this processing function and executes this processing when it is determined from the table that the module itself has become the monitored parent module.

【0033】被監視親モジュールは,ヘルスチェックを
他の被監視子モジュールから受信すると(図10のS
1),自モジュールの装置状態及び回線状態を応答とし
て送信する(同S2)。これと同時にタイマをスタート
させ(同S3),次のヘルスチェックの受信を定期的に
判別し(同S4),受信した場合はステップS2により
応答送信を行い,受信しない場合はタイムアウトか判別
し(同S5),タイムアウトになっていないとステップ
S4に戻り更にヘルスチェック受信を待つ。タイムアウ
トした場合は,送信権を持つ被監視子モジュールが異常
であることを認識し,テーブル(図5参照)上の障害モ
ジュールにマークし,ヘルスチェック送信権所有モジュ
ールをその次のモジュールへ設定したテーブルを全ての
モジュールへ転送して障害の通知を行う。なお,図10
には図示省略されているが,ヘルスチェックの応答を送
信した後,そのモジュールより応答の受信完了を受信す
ることによりヘルスチェックが完了する。また,監視装
置に対しては上記図7に示すシーケンス動作の処理を実
行する。
When the monitored parent module receives a health check from another monitored child module (S 10 in FIG. 10).
1) The device status and line status of the own module are transmitted as a response (S2). At the same time, the timer is started (S3), the reception of the next health check is periodically determined (S4), and if it is received, a response is transmitted in step S2. If the time has not expired, the process returns to step S4 to further wait for a health check. If a timeout occurs, the module to be monitored that has the transmission right is recognized as abnormal, the failed module in the table (see FIG. 5) is marked, and the module that has the health check transmission right is set to the next module. The table is transferred to all modules, and a failure is notified. Note that FIG.
Although not shown in the figure, after transmitting the response of the health check, the completion of the health check is received by receiving the reception completion of the response from the module. Further, the sequencer processing shown in FIG. 7 is executed for the monitoring device.

【0034】図11はヘルスチェック送信権所有の被監
視子モジュールの処理フローである。各モジュールはこ
の処理機能を備え,テーブルにより自モジュールがヘル
スチェック送信権所有の被監視子モジュールになるとこ
の処理を実行する。
FIG. 11 is a processing flow of the monitored child module having the health check transmission right. Each module has this processing function, and executes this processing when the module itself becomes the monitored module having the health check transmission right according to the table.

【0035】前のモジュールからヘルスチェック送信権
の移動要求を受けて,移動了解を送信した被監視子モジ
ュールは,ヘルスチェックを被監視親モジュールへ送信
する(図11のS1)。これに対し被監視親モジュール
から正常な応答を受け取れたか判別し(同S2),正常
な応答の場合は応答完了を被監視親モジュールに送信す
る(同S3)。正常な応答を受け取れない場合(一定時
間応答無しまたは異常状態を表す応答)は,テーブル上
で被監視親モジュールを障害としてマークし(同S
4),被監視親モジュールの変更をテーブルにマークす
ることにより行い(現在の被監視親モジュールに隣接す
る被監視子モジュールを被監視親モジュールにする),
他のモジュールへテーブルを送信する(同S5)。
In response to the request to move the health check transmission right from the previous module, the monitored child module that has transmitted the move acknowledgement transmits a health check to the monitored parent module (S1 in FIG. 11). On the other hand, it is determined whether a normal response has been received from the monitored parent module (S2), and if the response is normal, a response completion is transmitted to the monitored parent module (S3). If a normal response cannot be received (no response for a fixed time or a response indicating an abnormal state), the monitored parent module is marked as a failure on the table (see FIG.
4), the change of the monitored parent module is performed by marking the table (the monitored child module adjacent to the current monitored parent module is set as the monitored parent module);
The table is transmitted to another module (S5).

【0036】上記,ステップS3またはS5に続いて,
次のモジュールへヘルスチェックの送信権移動要求を送
信する(図11のS6)。この移動要求に対する了解が
一定時間内に受け取れたか判別し(同S7),受け取れ
ない場合は,隣接モジュールに異常が発生したとしてテ
ーブル上のそのモジュールに障害のマークをつけて全モ
ジュールにテーブルを転送して障害を通知する(同S
8)。その後,ステップS6に戻り,そのモジュールの
次に登録されているモジュールへヘルスチェック送信権
の移動要求を送信する。また,移動了解を受け取った場
合は,次のモジュールをヘルスチェック送信権所有モジ
ュールとしてテーブルを全モジュールへ送信する(図1
1のS9)。
Following the above step S3 or S5,
The transmission right transfer request of the health check is transmitted to the next module (S6 in FIG. 11). It is determined whether an acknowledgment for this transfer request has been received within a predetermined time (S7). If not, it is determined that an error has occurred in an adjacent module, the module is marked as faulty on the table, and the table is transferred to all modules. To notify the failure (S
8). Thereafter, the process returns to step S6, and transmits a request to move the health check transmission right to the module registered next to the module. In addition, when the transfer approval is received, the table is transmitted to all the modules as the next module having the right to transmit the health check (FIG. 1).
1 S9).

【0037】なお,複数のモジュールに障害が発生した
場合は,ヘルスチェックの送信権の移動が正常なモジュ
ールを発見するまで続けられるが,被監視親モジュール
とヘルスチェック送信権所有モジュールが同時に障害に
なった場合にのみ,モジュールの切替えは不可能となる
が,多数のモジュールで構成されるデータ通信ネットワ
ークの場合にはこのようなことが発生する確率は極めて
低い。
When a failure occurs in a plurality of modules, the transfer of the health check transmission right is continued until a normal module is found, but the monitored parent module and the health check transmission right possession module simultaneously fail. Only when this happens, switching of the modules becomes impossible, but in the case of a data communication network composed of a large number of modules, the probability of such occurrences is extremely low.

【0038】[0038]

【発明の効果】本発明によればLAN,バス等で複数の
モジュールを接続したデータ通信ネットワークにおい
て,被監視親モジュールに障害が発生した場合に自動的
に被監視親モジュールを切替えることにより,監視装置
と被監視モジュールとの通信を途切れることなく継続さ
せることができ,監視装置からの監視,制御が不能にな
ることがなく,障害時の状況把握や,他の正常なモジュ
ールの継続監視によりネットワークの信頼性を向上する
ことができる。
According to the present invention, in a data communication network in which a plurality of modules are connected by a LAN, a bus or the like, monitoring is performed by automatically switching the monitored parent module when a failure occurs in the monitored parent module. Communication between the device and the module to be monitored can be continued without interruption, monitoring and control from the monitoring device will not be disabled, and the network will be monitored by grasping the situation at the time of failure and continuing monitoring of other normal modules. Reliability can be improved.

【0039】また,一つのモジュールが障害になる確率
をαとすると,従来の被監視モジュールにより監視する
方式では監視不能になる確率はα2 となるが,本発明に
よればモジュールの数をNとしてデータ通信ネットワー
ク全体が障害になる確率=(α2 )/(N−1)であ
る。従って,本発明のデータ通信ネットワークの障害発
生確率はモジュールの数が増えるほど小さくなり,信頼
性が向上する。
If the probability of one module becoming a fault is α, the probability of being unmonitored by the conventional method of monitoring by a monitored module is α 2 , but according to the present invention, the number of modules is N The probability that the entire data communication network becomes an obstacle = (α 2 ) / (N−1). Therefore, the failure occurrence probability of the data communication network of the present invention decreases as the number of modules increases, and the reliability improves.

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

【図1】本発明の原理構成図である。FIG. 1 is a principle configuration diagram of the present invention.

【図2】テーブルの構成を示す図である。FIG. 2 is a diagram showing a configuration of a table.

【図3】データ通信装置(モジュール)の実施例の構成
を示す図である。
FIG. 3 is a diagram illustrating a configuration of an embodiment of a data communication device (module).

【図4】モジュール間で通信されるフレームのフォーマ
ットの構成を示す図である。
FIG. 4 is a diagram showing a configuration of a format of a frame communicated between modules.

【図5】メモリ上のテーブルのマッピングの構成を示す
図である。
FIG. 5 is a diagram showing a configuration of mapping of a table on a memory.

【図6】本発明が適用されるデータ通信ネットワークの
構成例を示す図である。
FIG. 6 is a diagram showing a configuration example of a data communication network to which the present invention is applied.

【図7】監視装置と被監視親モジュールとの間の送受信
の動作を示す図である。
FIG. 7 is a diagram illustrating an operation of transmission and reception between a monitoring device and a monitored parent module.

【図8】本発明による動作シーケンスを示す図である。FIG. 8 is a diagram showing an operation sequence according to the present invention.

【図9】被監視子モジュールによる障害検出の動作を示
す図である。
FIG. 9 is a diagram showing an operation of failure detection by a monitored child module.

【図10】被監視親モジュールの処理フローを示す図で
ある。
FIG. 10 is a diagram showing a processing flow of a monitored parent module.

【図11】ヘルスチェック送信権所有の被監視子モジュ
ールの処理フローを示す図である。
FIG. 11 is a diagram showing a processing flow of a monitored child module having a health check transmission right.

【図12】従来例の説明図である。FIG. 12 is an explanatory diagram of a conventional example.

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

1 監視装置 2〜6 データ通信装置(モジュールA〜E) 2a ヘルスチェック受信監視手段 2b ヘルスチェック送信権所有モジュール決定通知
手段 3a ヘルスチェック送受信手段 3b ヘルスチェック送信権移動通知手段 3c 被監視親モジュール決定通知手段 7 監視パス 7’ 論理パス 8 通信パス
DESCRIPTION OF SYMBOLS 1 Monitoring device 2-6 Data communication device (module AE) 2a Health check reception monitoring means 2b Health check transmission right possession module determination notification means 3a Health check transmission / reception means 3b Health check transmission right transfer notification means 3c Monitoring parent module determination Notification means 7 Monitoring path 7 'Logical path 8 Communication path

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 データ通信ネットワークを構成する複数
の被監視モジュールを遠隔地に設けられた監視装置によ
り監視するための監視方式において,前記監視装置と複
数の被監視モジュール間に通信手段を備えると共に前記
複数の被監視モジュールは相互に通信パスにより通信す
る手段を備え,前記被監視モジュールの一つを被監視親
モジュール,他の被監視モジュールを被監視子モジュー
ルとすると共に被監視子モジュールの一つをヘルスチェ
ック送信権所有モジュールとして設定し,前記ヘルスチ
ェック送信権所有モジュールは,前記被監視親モジュー
ルにヘルスチェックを送信して応答をチェックする手段
と,正常または異常の応答により他の被監視子モジュー
ルの一つにヘルスチェック送信権移動の通知を行う手段
と,前記ヘルスチェックに対する応答により異常を検出
すると次の被監視親モジュールを決定して他の全てのモ
ジュールに通知する手段とを備え,前記被監視親モジュ
ールはヘルスチェックを受信すると状態を表す応答を行
うと共にヘルスチェックが前回のヘルスチェック受信か
ら設定時間内に受信されることを監視する手段と,前記
設定時間内に受信されないとヘルスチェック送信権所有
モジュールを決定して他のモジュールに通知する手段と
を備えることを特徴とするデータ通信装置における監視
方式。
1. A monitoring method for monitoring a plurality of monitored modules constituting a data communication network by a monitoring device provided at a remote place, comprising a communication means between the monitoring device and the plurality of monitored modules. The plurality of monitored modules include means for communicating with each other via a communication path, wherein one of the monitored modules is a monitored parent module, another monitored module is a monitored module, and one of the monitored modules is a monitored module. One module is set as a health check transmission right possessing module, and the health check transmission right possessing module transmits a health check to the monitored parent module and checks a response, and another monitored module receives a normal or abnormal response. Means for informing one of the child modules of the transfer of the health check transmission right; Means for determining the next monitored parent module when an abnormality is detected in response to the lock and notifying all other modules, and the monitored parent module performs a response indicating a state upon receiving a health check, and Means for monitoring that a health check is received within a set time since the last health check reception, and means for determining a health check transmission right possession module and notifying another module if the health check is not received within the set time. A monitoring method in a data communication device, comprising:
【請求項2】 請求項1において,前記被監視モジュー
ルは,被監視親モジュールになると前記監視装置に対し
て論理パスを設定する手段を備えることを特徴とするデ
ータ通信装置における監視方式。
2. The monitoring method according to claim 1, wherein said monitored module comprises means for setting a logical path to said monitoring device when the monitored module becomes a monitored parent module.
【請求項3】 請求項1または2において,前記被監視
親モジュール及び前記被監視子モジュールは,それぞれ
全モジュールについて,現在の親モジュール,現在の送
信権所有モジュールを表すテーブルを備え,前記被監視
親モジュールからのヘルスチェック送信権所有決定の通
知前記被監視子モジュールからのヘルスチェック送信権
移動の通知及び被監視親モジュール決定の通知は,前記
テーブルに変更した内容を設定して,他の全モジュール
に送信することにより行うことを特徴とするデータ通信
装置における監視方式。
3. The monitored parent module and the monitored child module according to claim 1, wherein the monitored parent module and the monitored child module each include a table indicating a current parent module and a current transmission right possessing module for all the modules. The notification of the ownership determination of the health check transmission right from the parent module The notification of the transfer of the health check transmission right from the monitored child module and the notification of the determination of the monitored parent module are set in the table with the changed contents, A monitoring method in a data communication device, wherein the monitoring method is performed by transmitting to a module.
【請求項4】 請求項1乃至3の何れかにおいて,前記
ヘルスチェック送信権所有モジュールは,前記被監視親
モジュールに対しヘルスチェックを送信して応答を受信
後に次の順番の被監視子モジュールに対しヘルスチェッ
ク送信権移動要求を送信し,前記次の順番の被監視子モ
ジュールからヘルスチェック送信権の移動了解の応答を
受け取ることにより送信権の移動を完了することを特徴
とするデータ通信装置における監視方式。
4. The module according to claim 1, wherein the health check transmission right possessing module transmits a health check to the monitored parent module and, after receiving a response, transmits the health check to the monitored child module in the next order. Transmitting a health check transmission right transfer request and receiving a response from the next monitored module that acknowledges the transfer of the health check transmission right to complete the transfer of the transmission right. Monitoring method.
JP8317761A 1996-11-28 1996-11-28 Monitoring system in data communication equipment Withdrawn JPH10164060A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8317761A JPH10164060A (en) 1996-11-28 1996-11-28 Monitoring system in data communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8317761A JPH10164060A (en) 1996-11-28 1996-11-28 Monitoring system in data communication equipment

Publications (1)

Publication Number Publication Date
JPH10164060A true JPH10164060A (en) 1998-06-19

Family

ID=18091754

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8317761A Withdrawn JPH10164060A (en) 1996-11-28 1996-11-28 Monitoring system in data communication equipment

Country Status (1)

Country Link
JP (1) JPH10164060A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002152109A (en) * 2000-11-09 2002-05-24 Nippon Telegr & Teleph Corp <Ntt> Radio communication system
JP2006186633A (en) * 2004-12-27 2006-07-13 Hitachi Ltd System, method, and program for fault path diagnosis
JP2008544583A (en) * 2005-02-09 2008-12-04 エニュア ネットワークス リミテッド Apparatus, method and system for module level network monitoring
CN105530056A (en) * 2014-09-28 2016-04-27 全智科技股份有限公司 Harmonic power loss testing device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002152109A (en) * 2000-11-09 2002-05-24 Nippon Telegr & Teleph Corp <Ntt> Radio communication system
JP2006186633A (en) * 2004-12-27 2006-07-13 Hitachi Ltd System, method, and program for fault path diagnosis
JP4485344B2 (en) * 2004-12-27 2010-06-23 株式会社日立製作所 Server apparatus, failure path diagnosis method, and failure path diagnosis program
JP2008544583A (en) * 2005-02-09 2008-12-04 エニュア ネットワークス リミテッド Apparatus, method and system for module level network monitoring
CN105530056A (en) * 2014-09-28 2016-04-27 全智科技股份有限公司 Harmonic power loss testing device

Similar Documents

Publication Publication Date Title
JP3464907B2 (en) Protocol conversion system
EP0379829B1 (en) Method of providing non-disruptive recovery in a communication system
CA2733788C (en) Method and systems for redundant server automatic failover
US5983360A (en) Information processing system with communication system and hot stand-by change-over function therefor
US6216051B1 (en) Manufacturing backup system
JPH10200552A (en) Redundant method using ethernet communication
US7257123B2 (en) Gateway having bypassing apparatus
JPH03106144A (en) Mutual connection of network modules
US7325060B2 (en) Management system for hardware network devices
JP2679674B2 (en) Semiconductor production line controller
JP2004280717A (en) Remote control monitoring system and information communicating method used therefor
JP4158585B2 (en) Survival confirmation method of remote device monitoring control system and remote device monitoring control system
JPH10164060A (en) Monitoring system in data communication equipment
JP4858523B2 (en) Remote control monitoring system and information communication method used therefor
JP4858524B2 (en) Remote control monitoring system
JP3419979B2 (en) Device state management method and data communication system
Rabbie Distributed processing using local operating networks
JPH05304528A (en) Multiplex communication node
JP3294256B2 (en) Data communication method and device
JP2937871B2 (en) Polling monitoring method
JPH1117713A (en) Multicast communication processing system
JP2004173149A (en) Communication system and communication line switching device
JP2001060959A (en) High reliability system
JPH0553957A (en) Lan controller
KR20030057588A (en) Apparatus and method for controlling dualized main function unit in a communication system

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20040203