JPH08307437A - Faulty node elimination method and device for multi-branch bus type system - Google Patents

Faulty node elimination method and device for multi-branch bus type system

Info

Publication number
JPH08307437A
JPH08307437A JP7128969A JP12896995A JPH08307437A JP H08307437 A JPH08307437 A JP H08307437A JP 7128969 A JP7128969 A JP 7128969A JP 12896995 A JP12896995 A JP 12896995A JP H08307437 A JPH08307437 A JP H08307437A
Authority
JP
Japan
Prior art keywords
node
branch bus
slave
bus
slave nodes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP7128969A
Other languages
Japanese (ja)
Other versions
JP2746202B2 (en
Inventor
Toshihiko Kusano
俊彦 草野
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP7128969A priority Critical patent/JP2746202B2/en
Publication of JPH08307437A publication Critical patent/JPH08307437A/en
Application granted granted Critical
Publication of JP2746202B2 publication Critical patent/JP2746202B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PURPOSE: To provide a faulty node elimination method and device for a multi- branch bus type system which quickly specifies a faulty node and automatically restores a system. CONSTITUTION: When a fault occurs in a multi-branch bus type system, a fault decision processing part 10 of a master node 1 isolates the isolation control signal IS to collectively isolate all slave nodes N1 to Nn from a multi-branch bus 2. Then a self-return monitoring part 11 sends the return signal addressed to the part 11 itself to the bus 2 to confirm its own normalcy. When the normalcy of the node 1 is confirmed, the part 10 connects successively every slave node to the bus 2 by an individual isolation signal DISC to decide a fault. Finally, the isolation of the signal IS is canceled and all slave nodes are collectively connected to the bus 2 except for the faulty one. In such a procedure, a system can be quickly and automatically restored against its fault.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はマスタノードと複数のス
レーブノードからなるマルチブランチバス型システムに
係り、特に障害ノードを特定して除去する方法及び装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multi-branch bus type system composed of a master node and a plurality of slave nodes, and more particularly to a method and apparatus for identifying and removing a faulty node.

【0002】[0002]

【従来の技術】複数のノードがバスラインに接続された
バス型システムでは、ノード障害によって通信不能状態
に陥ることを防止するために、障害が発生したノードを
迅速に特定し、システムから切り離すことが必要であ
る。
2. Description of the Related Art In a bus type system in which a plurality of nodes are connected to a bus line, it is necessary to quickly identify a faulty node and disconnect it from the system in order to prevent a communication failure due to a node fault. is necessary.

【0003】従来、マスタノードと複数のスレーブノー
ドからなるマルチブランチバス型のシステムでは、何ら
かの原因によってマスタノードあるいはスレーブノード
が故障して通信不能状態になると、故障ノードを人手に
よりバスから切り離すことでシステムの復旧を行ってい
た。
Conventionally, in a multi-branch bus type system composed of a master node and a plurality of slave nodes, if the master node or the slave node fails due to some cause and communication becomes impossible, the failing node is manually disconnected from the bus. The system was being restored.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、故障ノ
ードを捜し出して人手によってバスから切り離す方法で
は、そのための保守要員を必要とするだけでなく、通信
が長時間途絶してしまい、システムの信頼性を著しく低
下させるという問題があった。
However, the method of searching for a faulty node and manually disconnecting it from the bus not only requires maintenance personnel for that purpose, but communication is interrupted for a long time, and system reliability is reduced. There was a problem of significantly lowering it.

【0005】本発明の目的は、故障ノードを迅速に特定
しシステムを自動的に復旧させるマルチブランチバス型
システムの障害ノード除去方法及び装置を提供すること
にある。
It is an object of the present invention to provide a method and apparatus for removing a faulty node in a multi-branch bus type system which quickly identifies a faulty node and automatically restores the system.

【0006】[0006]

【課題を解決するための手段】本発明による障害ノード
除去方法は、マルチブランチバス型システムの障害発生
が認識されると、複数のスレーブノードをマルチブラン
チバスから一括して切り離し、続いて複数のスレーブノ
ードを1つずつマルチブランチバスに順次接続し、マル
チブランチバスに接続された1つのスレーブノードの障
害判定を行い、障害が発生しているスレーブノードを除
いて複数のスレーブノードをマルチブランチバスに一括
して接続する、ことを特徴とする。
According to the method of removing a faulty node according to the present invention, when it is recognized that a fault has occurred in a multi-branch bus system, a plurality of slave nodes are collectively disconnected from the multi-branch bus, and subsequently a plurality of slave nodes are disconnected. Slave nodes are sequentially connected to the multi-branch bus one by one, and the failure judgment of one slave node connected to the multi-branch bus is performed. It is characterized in that they are collectively connected to.

【0007】更に、複数のスレーブノードをマルチブラ
ンチバスから一括して切り離した後、マスタノードは自
己宛の折返し信号をマルチブランチバスへ送出すること
で正常性を判定し、マスタノードが正常であると判定さ
れた場合にスレーブノードの障害判定を順次実行する。
Further, after the plurality of slave nodes are collectively disconnected from the multi-branch bus, the master node sends a return signal addressed to itself to the multi-branch bus to determine normality, and the master node is normal. If it is determined that the slave nodes are faulty, the failure determination is sequentially performed.

【0008】[0008]

【作用】システムの障害発生時に、マスタノードは全て
のスレーブノードをマルチブランチバスから一括して切
り離し、個々のスレーブノードを順次接続して障害判定
を行った後に、障害ノードを除くスレーブノードを一括
して接続する。この手順によって、障害発生時のマルチ
ブランチバス型システムを迅速に復旧させることができ
る。更に、マスタノードは、自己宛の折返しデータをマ
ルチブランチバスへ送出することで自己の通信機能が故
障しているか否かを判断し、正常である場合のみスレー
ブノードの障害判定を実行する。従って、マスタノード
を含めたマルチブランチバス型システム全体の障害を自
動的に判定し復旧させることができる。
[Function] When a system failure occurs, the master node collectively disconnects all the slave nodes from the multi-branch bus, connects the individual slave nodes in sequence, and performs failure determination. And connect. By this procedure, the multi-branch bus type system at the time of failure can be quickly restored. Further, the master node determines whether or not its communication function is broken by sending back the return data addressed to itself to the multi-branch bus, and only when it is normal, the failure judgment of the slave node is executed. Therefore, the failure of the entire multi-branch bus type system including the master node can be automatically determined and recovered.

【0009】[0009]

【実施例】以下、図面を参照しながら本発明の実施例を
詳細に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0010】図1は本発明による故障ノード除去システ
ムの一実施例を示すブロック図である。本実施例では、
1つのマスタノード1とn個のスレーブノードN1〜Nn
とがバス2によってマルチブランチ形式で接続されてい
る。マスタノード1には、図示されていない通信手段や
システム管理手段の他に、障害判定処理部10が設けら
れ、システムに障害が発生した場合の障害ノード特定及
びシステム復旧処理を行う。更に、マスタノード1に
は、自己の通信手段に障害が生じているか否かをチェッ
クするための自己折返し監視部11が設けられている。
FIG. 1 is a block diagram showing an embodiment of a fault node removal system according to the present invention. In this embodiment,
One master node 1 and n slave nodes N 1 to N n
And are connected by a bus 2 in a multi-branch form. The master node 1 is provided with a failure determination processing unit 10 in addition to communication means and system management means (not shown), and performs failure node identification and system restoration processing when a failure occurs in the system. Furthermore, the master node 1 is provided with a self-loopback monitoring unit 11 for checking whether or not a failure has occurred in its own communication means.

【0011】スレーブノードN1〜Nnには、それぞれ
同一のバス切離/接続機能が設けられている。代表とし
てスレーブノードN1を説明すると、リレー101はバ
ス2と送受信部102との間に介在し、バス切離制御部
103から出力される制御信号に従って、スレーブノー
ドN1をバス2から切り離したり、バス2と接続させた
りする切離/接続動作を行う。他のスレーブノードN2
〜Nnも同様の構成を有する。
The same bus disconnection / connection function is provided in each of the slave nodes N1 to Nn. Describing the slave node N1 as a representative, the relay 101 is interposed between the bus 2 and the transmission / reception unit 102, and according to a control signal output from the bus disconnection control unit 103, disconnects the slave node N1 from the bus 2 or Performs disconnection / connection operation such as connecting with 2. Other slave node N2
-Nn have the same structure.

【0012】スレーブノードN1〜Nnのバス切離制御
部には、マスタノード1の障害判定処理部10からアイ
ソレート制御信号ISが共通に入力し、且つそれぞれの
スレーブノードN1〜Nnには個別切離信号DISC1
〜DISCnがそれぞれ個別に入力する。アイソレート
制御信号IS及び個別切離信号DISC1〜DISCn
は、バス2とは別個のラインによって各スレーブノード
へ出力される。
The isolation control signal IS is commonly input from the failure determination processing unit 10 of the master node 1 to the bus disconnection control units of the slave nodes N1 to Nn, and individual disconnection control signals are supplied to the respective slave nodes N1 to Nn. Separation signal DISC1
~ DISCn are individually input. Isolate control signal IS and individual disconnection signals DISC1 to DISCn
Is output to each slave node by a line separate from the bus 2.

【0013】アイソレート制御信号ISは、全てのスレ
ーブノードN1〜Nnに対して一斉に切離設定あるいは
切離解除を行うための制御信号である。これに対して、
個別切離信号DISC1〜DISCnは、各スレーブノ
ードに対して個別に切離あるいは接続を行うための制御
信号である。なお、アイソレート制御信号IS及び各個
別切離信号DISCによって、各スレーブノードのバス
切離制御部がどのようにリレーを動作させるかは、図4
に示される。
The isolation control signal IS is a control signal for simultaneously performing disconnection setting or disconnection release for all slave nodes N1 to Nn. On the contrary,
The individual disconnection signals DISC1 to DISCn are control signals for individually disconnecting or connecting to each slave node. It should be noted that how the bus disconnection control unit of each slave node operates the relay depending on the isolation control signal IS and each individual disconnection signal DISC will be described with reference to FIG.
Shown in.

【0014】障害判定処理動作 図2は、本実施例におけるマスタノード1の障害判定処
理部10の動作を示すフローチャートである。マスタノ
ード1は、通常、スレーブノードへ制御信号を送信し
(S301)、それに対する応答をスレーブノードから
受信する(S302のYes)。このような応答信号が
バス2を通して全く受信されない場合、あるいは複数の
スレーブノードから応答信号が受信されない場合には、
マスタノード1の障害判定処理部10は、マルチブラン
チバス2を介したシステムに障害が発生してバス2が使
用不能になったものと認識する(S302のNo)。
Failure Judgment Processing Operation FIG. 2 is a flowchart showing the operation of the failure judgment processing unit 10 of the master node 1 in this embodiment. The master node 1 normally transmits a control signal to the slave node (S301) and receives a response thereto from the slave node (Yes in S302). If no such response signal is received over bus 2, or if no response signal is received from multiple slave nodes,
The failure determination processing unit 10 of the master node 1 recognizes that the bus 2 cannot be used due to a failure in the system via the multi-branch bus 2 (No in S302).

【0015】このような障害が発生した場合、障害判定
処理部10は全てのスレーブノードに対して「切離設
定」を指示するアイソレート制御信号ISを送信し(S
303)、更に、全ての個別切離信号DISC1〜DI
SCnを「切離」に設定する(S304)。これによっ
て全スレーブノードN1〜Nnは、後述するように、バ
ス2から切り離される。
When such a failure occurs, the failure determination processing section 10 sends an isolation control signal IS for instructing the "isolation setting" to all the slave nodes (S
303), and all individual disconnection signals DISC1 to DISC
SCn is set to "disconnect" (S304). As a result, all slave nodes N1 to Nn are disconnected from the bus 2 as described later.

【0016】全スレーブノードの切離が確認されると
(S305)、障害判定処理部10は、次に述べるよう
な手順で障害ノードの特定及び除去を行う(S306、
S307)。
When the disconnection of all slave nodes is confirmed (S305), the failure determination processing unit 10 identifies and removes the failed node in the following procedure (S306,
S307).

【0017】障害ノード判定除去 図3は、本実施例における障害ノード判定除去サブルー
チンを示すフローチャートである。
Faulty Node Judgment Removal FIG. 3 is a flowchart showing a faulty node judgment removal subroutine in this embodiment.

【0018】先ず、自己折返し監視部11は、自己宛
(マスタノード宛)のデータをバス2へ送出し(S40
1)、その自己宛データを正常に受信できることを確認
する(S402)。この時、所定の時間内に自己宛デー
タを受信できない場合は(S402のNo)、障害判定
処理部10はマスタノード1内の故障と判定し、障害ノ
ード判定処理ルーチンを終了する。
First, the self-loopback monitoring unit 11 sends out data addressed to itself (addressed to the master node) to the bus 2 (S40).
1) It is confirmed that the self-addressed data can be normally received (S402). At this time, if the self-addressed data cannot be received within the predetermined time (No in S402), the failure determination processing unit 10 determines that the master node 1 has a failure and ends the failed node determination processing routine.

【0019】所定の時間内に自己宛データを受信してマ
スタノード1が正常であると確認されると(S402の
Yes)、障害判定処理部10は変数Mを初期化して
(S403)、個別切離信号DISCによりスレーブノ
ードを順次バス2に「接続」させてスレーブノード毎に
障害判定を行う(S404〜S409)。より詳しく
は、M=1の場合、個別切離信号DISC1を「接続」
に設定し(S404)、スレーブノードN1のリレー1
01をONにして送受信部102をバス2に接続する。
When the master node 1 is confirmed to be normal by receiving the self-addressed data within a predetermined time (Yes in S402), the failure determination processing unit 10 initializes the variable M (S403), and individually. Slave nodes are sequentially "connected" to the bus 2 by the disconnection signal DISC, and failure determination is performed for each slave node (S404 to S409). More specifically, when M = 1, the individual disconnection signal DISC1 is “connected”.
To the relay node 1 of the slave node N1 (S404).
01 is turned on to connect the transmitting / receiving unit 102 to the bus 2.

【0020】続いて、障害判定処理部10は、スレーブ
ノードN1宛のデータをバス2へ送出し(S405)、
スレーブノードN1からの応答が所定時間内にあるか否
かをチェックする(S406)。この所定時間内にスレ
ーブノードN1から応答があれば(S406のYe
s)、スレーブノードN1は正常に動作していると判定
され、個別切離信号DISC1を再び「切離」に設定す
る(S407)。逆に、この所定時間内にスレーブノー
ドN1から応答がなければ(S406のNo)、個別切
離信号DISC1は「接続」に設定されたままとなる。
Subsequently, the failure determination processing unit 10 sends the data addressed to the slave node N1 to the bus 2 (S405),
It is checked whether the response from the slave node N1 is within a predetermined time (S406). If there is a response from the slave node N1 within this predetermined time (Yes in S406)
s), the slave node N1 is determined to be operating normally, and the individual disconnection signal DISC1 is set to "disconnect" again (S407). On the contrary, if there is no response from the slave node N1 within this predetermined time (No in S406), the individual disconnection signal DISC1 remains set to "connect".

【0021】続いて、変数Mがスレーブノードの個数n
に到達したか否かがチェックされ(S408)、到達し
ていなければ、変数Mをインクリメントして(S40
9)、同様の処理S404〜S408を繰り返す。従っ
て、変数Mを順次インクリメントしながら、全てのスレ
ーブノードN1〜Nnについて上記判定除去処理を実行
し、正常なスレーブノードの個別切離信号DISCは再
び「切離」に設定され(S407)、障害ノードの個別
切離信号DISCは「接続」に設定されたままで障害ノ
ード判定除去サブルーチンを出る(S408のYe
s)。
Next, the variable M is the number n of slave nodes.
Is checked (S408), and if not reached, the variable M is incremented (S40).
9), the same processes S404 to S408 are repeated. Therefore, while sequentially incrementing the variable M, the determination removal processing is executed for all the slave nodes N1 to Nn, and the individual disconnection signal DISC of the normal slave node is set to "disconnect" again (S407), and the failure occurs. The individual disconnection signal DISC of the node is left set to "connect" and exits from the faulty node determination removal subroutine (Yes in S408).
s).

【0022】このように、それぞれの個別切離信号DI
SC1〜DISCnが正常ノードならば「切離」に、故
障ノードでは「接続」に設定された状態で、アイソレー
ト制御信号ISを「切離解除」に設定すると(図2のS
307)、正常ノードはバス2に再び接続され、故障ノ
ードはバス2から切り離されてマルチブランチバス型シ
ステムから除外される。こうして故障ノードが自動的に
排除され、マルチブランチバス型システムの復旧が行わ
れる。
In this way, each individual separation signal DI
If SC1 to DISCn are set to "disconnect" if the nodes are normal nodes, and "isolated" is set to "disconnect" in the state where the failed nodes are set to "connect" (S in FIG. 2).
307), the normal node is reconnected to bus 2 and the faulty node is disconnected from bus 2 and excluded from the multi-branch bus system. In this way, the failed node is automatically eliminated, and the multi-branch bus type system is restored.

【0023】スレーブノードのバス切離制御 各スレーブノードのバス切離制御部では、アイソレート
制御信号ISと個別切離信号DISCとの設定状態に従
って、リレーのON/OFF制御を実行している。
Bus disconnection control of slave node In the bus disconnection control section of each slave node, ON / OFF control of the relay is executed according to the setting states of the isolation control signal IS and the individual disconnection signal DISC.

【0024】図4は、本実施例におけるスレーブノード
のバス切離制御を示すフローチャートである。先ず、ス
レーブノードのバス切離制御部103は、マスタノード
1の障害判定処理部10から受信したアイソレート制御
信号ISの設定状態をチェックし(S501)、それが
切離設定である場合には、個別切離信号DISCの設定
状態をチェックする(S502)。個別切離信号DIS
Cも「切離」であれば、リレーをOFFにして、当該ス
レーブノードをバス2から切り離す(S503)。この
切離動作は、障害判定処理部10の処理ステップS30
3及びS304(図2参照)による全スレーブノード切
離指令によって実行される。
FIG. 4 is a flow chart showing the bus disconnection control of the slave node in this embodiment. First, the bus disconnection control unit 103 of the slave node checks the setting state of the isolation control signal IS received from the failure determination processing unit 10 of the master node 1 (S501), and if it is the disconnection setting, The setting state of the individual disconnection signal DISC is checked (S502). Individual disconnection signal DIS
If C is also "disconnected", the relay is turned off to disconnect the slave node from the bus 2 (S503). This disconnection operation is performed in the processing step S30 of the failure determination processing unit 10.
3 and S304 (see FIG. 2) execute the all slave node disconnection command.

【0025】ステップS502において、個別切離信号
DISCが「接続」に設定されている場合には、バス切
離制御部103はリレーをONにして当該スレーブノー
ドをバス2に接続する。この接続動作は、障害判定処理
部10の処理ステップS404(図3参照)によって実
行される。
When the individual disconnection signal DISC is set to "connect" in step S502, the bus disconnection control unit 103 turns on the relay to connect the slave node to the bus 2. This connection operation is executed by the processing step S404 (see FIG. 3) of the failure determination processing unit 10.

【0026】ステップS501において、アイソレート
制御信号ISが「切離解除」に設定されている場合に
は、個別切離信号DISCが「接続」であればリレーを
OFFにして当該スレーブノードをバス2から切離す
(S503)。この切離動作は、当該スレーブノードが
故障であると判定された場合に実行される(S30
7)。他方、個別切離信号DISCが「切離」であれば
リレーをONにしてバス2に接続する(S504)。こ
の接続動作は、当該スレーブノードが正常であると判定
された場合に実行される(S407、S307)。
In step S501, when the isolation control signal IS is set to "disconnection release", if the individual disconnection signal DISC is "connection", the relay is turned off to set the slave node to the bus 2 Is separated from (S503). This disconnection operation is executed when it is determined that the slave node has a failure (S30).
7). On the other hand, if the individual disconnection signal DISC is "disconnect", the relay is turned on and connected to the bus 2 (S504). This connection operation is executed when it is determined that the slave node is normal (S407, S307).

【0027】図5は、本実施例の具体的動作例を示すタ
イムチャートである。ただし、ここでは説明を簡単にす
るために、1個のマスタノードと2個のスレーブノード
N1及びN2がバス2に接続され、更にスレーブノード
N1が正常で、スレーブノードN2が故障であると仮定
する。
FIG. 5 is a time chart showing a specific operation example of this embodiment. However, for simplicity of explanation, it is assumed that one master node and two slave nodes N1 and N2 are connected to the bus 2, and the slave node N1 is normal and the slave node N2 is faulty. To do.

【0028】マスタノード1の障害判定処理部10がバ
ス2の使用不能を検出すると(S302のNo)、アイ
ソレート制御信号ISを「切離設定」に、全ての個別切
離信号DISC1及びDISC2を「切離」にそれぞれ
設定する(S303、S304)。続いて、マスタノー
ド1の自己折返し監視部11が自己折返しデータによっ
て正常を確認すると(S402)、個別切離信号DIS
C1を「接続」に設定してスレーブノードN1だけをバ
ス2に接続し、データの送受信を行う(S405、S4
06)。所定時間内にスレーブノードN1から応答があ
れば、スレーブノーDN1を正常と判定し、個別切離信
号DISC1を再び「切離」に設定する(S407)。
When the failure judgment processing unit 10 of the master node 1 detects that the bus 2 cannot be used (No in S302), the isolation control signal IS is set to "isolation setting" and all the individual isolation signals DISC1 and DISC2 are set. Each is set to "separation" (S303, S304). Subsequently, when the self-loopback monitoring unit 11 of the master node 1 confirms normality by the self-loopback data (S402), the individual disconnection signal DIS
C1 is set to “connect” and only the slave node N1 is connected to the bus 2 to transmit / receive data (S405, S4).
06). If there is a response from the slave node N1 within the predetermined time, the slave node DN1 is determined to be normal, and the individual disconnection signal DISC1 is set to "disconnect" again (S407).

【0029】続いて、同様に個別切離信号DISC2を
「接続」に設定してスレーブノードN2だけをバス2に
接続し、データの送受信を行う。しかしながら、スレー
ブノードN2に故障が発生していると、マスタノード1
の障害判定処理部10は、所定時間内にスレーブノード
N2から応答を受け取ることができない(S406のN
o)。このために、スレーブノードN2への個別切離信
号DISC2は「接続」に設定されたままで、障害ノー
ド判定除去サブルーチンを終了する。
Subsequently, similarly, the individual disconnection signal DISC2 is set to "connection", only the slave node N2 is connected to the bus 2, and data is transmitted / received. However, if a failure occurs in the slave node N2, the master node 1
The failure determination processing unit 10 of cannot receive a response from the slave node N2 within a predetermined time (N of S406).
o). Therefore, the individual disconnection signal DISC2 to the slave node N2 remains set to "connect", and the faulty node determination removal subroutine is ended.

【0030】このような個別切離信号の設定状態でアイ
ソレート制御信号ISが「切離解除」に設定されると
(S307)、正常なスレーブノードN1は個別切離信
号DISC1が「切離」状態であるからバス2に接続さ
れ(S504)、故障スレーブノードN2は個別切離信
号DISC2が「接続」状態であるからバス2から切り
離されたままとなる(S503)。こうして故障スレー
ブノードだけが自動的に除去され、正常なシステムとし
て運転が再開される。
When the isolation control signal IS is set to "disconnect" in the state of setting the individual disconnection signal (S307), the normal slave node N1 receives the individual disconnection signal DISC1 as "disconnect". Since it is in the state, it is connected to the bus 2 (S504), and since the individual disconnection signal DISC2 is in the "connection" state, the failed slave node N2 remains disconnected from the bus 2 (S503). In this way, only the failed slave node is automatically removed, and operation is resumed as a normal system.

【0031】なお、本実施例ではスレーブノードN1か
ら障害判定処理を実行しているが、勿論、マスタノード
1から最も離れたスレーブノードNnから開始しても良
い。
In the present embodiment, the failure determination processing is executed from the slave node N1, but it goes without saying that the failure determination processing may be started from the slave node Nn farthest from the master node 1.

【0032】[0032]

【発明の効果】以上説明したように、本発明による障害
ノード除去方法及び装置では、システムの障害発生時
に、マスタノードが全てのスレーブノードをマルチブラ
ンチバスから切り離し、個々のスレーブノードを順次接
続して障害判定を行った後に、障害ノードを除くスレー
ブノードを一括して接続する。この手順によって、障害
発生時のマルチブランチバス型システムを迅速に且つ自
動的に復旧させることができる。
As described above, in the fault node removing method and apparatus according to the present invention, when a fault occurs in the system, the master node disconnects all slave nodes from the multi-branch bus and sequentially connects the individual slave nodes. After making a failure determination by connecting the slave nodes together, the slave nodes are collectively connected. By this procedure, the multi-branch bus system at the time of failure can be quickly and automatically restored.

【0033】更に、マスタノードは、自己宛の折返しデ
ータをマルチブランチバスへ送出することで自己の通信
機能が故障しているか否かを判断し、正常である場合の
みスレーブノードの障害判定を実行する。従って、マス
タノードを含めたマルチブランチバス型システム全体の
障害を自動的に判定し復旧させることができる。
Further, the master node determines whether or not its communication function has failed by sending back the return data addressed to itself to the multi-branch bus, and executes the failure determination of the slave node only when it is normal. To do. Therefore, the failure of the entire multi-branch bus type system including the master node can be automatically determined and recovered.

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

【図1】本発明による故障ノード判定除去システムの一
実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a faulty node determination removal system according to the present invention.

【図2】本実施例における障害判定処理部10の概略的
動作を示すフローチャートである。
FIG. 2 is a flowchart showing a schematic operation of a failure determination processing unit 10 in this embodiment.

【図3】本実施例における障害判定処理部10の障害ノ
ード判定除去動作を示すフローチャートである。
FIG. 3 is a flowchart showing a fault node determination removal operation of a fault determination processing unit 10 in this embodiment.

【図4】本実施例におけるスレーブノードのバス切離制
御を示すフローチャートである。
FIG. 4 is a flowchart showing bus disconnection control of a slave node in this embodiment.

【図5】本実施例の具体的動作例を示すタイムチャート
である。
FIG. 5 is a time chart showing a specific operation example of the present embodiment.

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

1 マスタノード 2 バス 10 障害判定処理部 11 自己折返し監視部 101、201 リレー 102、202 送受信部 103、203 バス切り離し制御部 DISC1〜DISCn 個別切離信号 IS アイソレート制御信号 N1〜Nn スレーブノード 1 master node 2 bus 10 failure determination processing unit 11 self-loopback monitoring unit 101, 201 relay 102, 202 transmission / reception unit 103, 203 bus disconnection control unit DISC1 to DISCn individual disconnection signal IS isolated control signal N1 to Nn slave node

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 マスタノードと複数のスレーブノードと
がマルチブランチバスによって接続されたシステムにお
ける障害ノード除去方法において、 前記システムの障害発生が認識されると、前記複数のス
レーブノードを前記マルチブランチバスから一括して切
り離し、 前記複数のスレーブノードを1つずつ前記マルチブラン
チバスに順次接続し、 前記マルチブランチバスに接続された1つのスレーブノ
ードの障害判定を行い、 障害が発生しているスレーブノードを除いて、前記複数
のスレーブノードを前記マルチブランチバスに一括して
接続する、 ことを特徴とする障害ノード除去方法。
1. A method of removing a fault node in a system in which a master node and a plurality of slave nodes are connected by a multi-branch bus, wherein when a fault in the system is recognized, the plurality of slave nodes are connected to the multi-branch bus. , The slave nodes are sequentially connected to the multi-branch bus one by one, the failure determination is performed for one slave node connected to the multi-branch bus, and the slave node in which the failure occurs A method for removing a faulty node is characterized in that the plurality of slave nodes are collectively connected to the multi-branch bus except the above.
【請求項2】 前記マスタノードは、前記マルチブラン
チバスを通して前記複数のスレーブノードへ所定の制御
信号を送信し、その制御信号に対する応答信号を予め定
められた時間内に受信するか否かによって前記システム
の障害発生を認識することを特徴とする請求項1記載の
障害ノード除去方法。
2. The master node transmits a predetermined control signal to the plurality of slave nodes through the multi-branch bus and receives the response signal to the control signal within a predetermined time, depending on whether the master node receives the response signal or not. 2. The method for removing a faulty node according to claim 1, wherein the occurrence of a fault in the system is recognized.
【請求項3】 マスタノードと複数のスレーブノードと
がマルチブランチバスによって接続されたシステムにお
ける障害ノード除去方法において、 前記システムの障害発生が認識されると、前記複数のス
レーブノードを前記マルチブランチバスから一括して切
り離し、 前記マスタノードが正常であるか否かの判定を行い、 前記マスタノードが正常である場合に、前記複数のスレ
ーブノードを1つずつ前記マルチブランチバスに順次接
続し、 前記マルチブランチバスに接続された1つのスレーブノ
ードの障害判定を行い、 障害が発生しているスレーブノードを除いて、前記複数
のスレーブノードを前記マルチブランチバスに一括して
接続する、 ことを特徴とする障害ノード除去方法。
3. A fault node removal method in a system in which a master node and a plurality of slave nodes are connected by a multi-branch bus, wherein when a fault occurrence in the system is recognized, the slave nodes are set to the multi-branch bus. From the device, and determines whether the master node is normal. When the master node is normal, the slave nodes are sequentially connected to the multi-branch bus one by one, A failure determination is performed for one slave node connected to the multi-branch bus, and the plurality of slave nodes are collectively connected to the multi-branch bus except for the slave node in which the failure has occurred. How to remove failed node.
【請求項4】 前記マスタノードは、前記マルチブラン
チバスを通して前記複数のスレーブノードへ所定の制御
信号を送信し、その制御信号に対する応答信号を予め定
められた時間内に受信するか否かによって前記システム
の障害発生を認識することを特徴とする請求項3記載の
障害ノード除去方法。
4. The master node transmits a predetermined control signal to the plurality of slave nodes through the multi-branch bus, and determines whether the master node receives a response signal to the control signal within a predetermined time. 4. The method for removing a faulty node according to claim 3, wherein the occurrence of a fault in the system is recognized.
【請求項5】 前記マスタノードは、前記マスタノード
が自己宛の信号を前記マルチブランチバスへ送出し、予
め定められた時間内に前記自己宛信号を受信するか否か
によって正常であるか否かを判定することを特徴とする
請求項3または請求項4に記載の障害ノード除去方法。
5. The master node is normal according to whether the master node sends a signal addressed to itself to the multi-branch bus and receives the signal addressed to itself within a predetermined time. The method of removing a faulty node according to claim 3 or 4, characterized in that it is determined whether or not
【請求項6】 マスタノードと複数のスレーブノードと
がマルチブランチバスによって接続されたシステムにお
ける障害ノード除去装置において、 前記マルチブランチバスとは別個に、前記マスタノード
と前記複数のスレーブノードとを接続する制御信号ライ
ンを設け、 前記複数のスレーブノードの各々は、 当該スレーブノードと前記マルチブランチバスとの間の
接続及び切離を行うスイッチ手段と、 前記制御信号ラインを通して前記マスタノードから受信
した制御信号に従って、前記スイッチ手段の接続及び切
離動作を制御する切離制御手段と、 からなり、 前記システムの障害発生が認識されると前記複数のスレ
ーブノードを一括して切り離し、切り離された前記複数
のスレーブノードを1つずつ前記マルチブランチバスに
順次接続する制御信号を前記制御信号ラインを通して前
記切離制御手段へ送出し、前記マルチブランチバスに接
続されたそれぞれのスレーブノードについて障害判定を
行い、障害が発生しているスレーブノードを除いて前記
複数のスレーブノードを前記マルチブランチバスに一括
して接続する制御信号を前記制御信号ラインを通して前
記切離制御手段へ送出する障害判定処理手段からなる、 ことを特徴とする障害ノード除去装置。
6. A failure node removing device in a system in which a master node and a plurality of slave nodes are connected by a multi-branch bus, wherein the master node and the plurality of slave nodes are connected separately from the multi-branch bus. A control signal line is provided, each of the plurality of slave nodes has a switch means for connecting and disconnecting the slave node and the multi-branch bus, and a control signal received from the master node through the control signal line. Disconnection control means for controlling connection and disconnection operations of the switch means according to a signal, and disconnecting the plurality of slave nodes collectively when the occurrence of a failure in the system is recognized, and disconnecting the plurality of slave nodes. Connect each slave node to the multi-branch bus one by one A control signal is sent to the disconnection control means through the control signal line, a failure determination is performed for each slave node connected to the multi-branch bus, and the plurality of slaves are excluded except for the slave node in which the failure has occurred. A fault node removal device comprising: fault determination processing means for transmitting a control signal for collectively connecting nodes to the multi-branch bus to the disconnection control means through the control signal line.
JP7128969A 1995-04-28 1995-04-28 Method and apparatus for removing a failed node in a multi-branch bus system Expired - Lifetime JP2746202B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7128969A JP2746202B2 (en) 1995-04-28 1995-04-28 Method and apparatus for removing a failed node in a multi-branch bus system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7128969A JP2746202B2 (en) 1995-04-28 1995-04-28 Method and apparatus for removing a failed node in a multi-branch bus system

Publications (2)

Publication Number Publication Date
JPH08307437A true JPH08307437A (en) 1996-11-22
JP2746202B2 JP2746202B2 (en) 1998-05-06

Family

ID=14997893

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7128969A Expired - Lifetime JP2746202B2 (en) 1995-04-28 1995-04-28 Method and apparatus for removing a failed node in a multi-branch bus system

Country Status (1)

Country Link
JP (1) JP2746202B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57111621A (en) * 1980-12-27 1982-07-12 Fujitsu Ltd Bus monitoring system
JPS5912655A (en) * 1982-07-13 1984-01-23 Nec Corp Data communication controller
JPS61228742A (en) * 1985-04-03 1986-10-11 Hitachi Ltd Remote supervisory and controlling equipment
JPS63227234A (en) * 1987-03-17 1988-09-21 Fujitsu Ltd Bus fault detecting and diagnosing circuit
JPH0654034A (en) * 1992-08-03 1994-02-25 Hitachi Cable Ltd Fault location system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57111621A (en) * 1980-12-27 1982-07-12 Fujitsu Ltd Bus monitoring system
JPS5912655A (en) * 1982-07-13 1984-01-23 Nec Corp Data communication controller
JPS61228742A (en) * 1985-04-03 1986-10-11 Hitachi Ltd Remote supervisory and controlling equipment
JPS63227234A (en) * 1987-03-17 1988-09-21 Fujitsu Ltd Bus fault detecting and diagnosing circuit
JPH0654034A (en) * 1992-08-03 1994-02-25 Hitachi Cable Ltd Fault location system

Also Published As

Publication number Publication date
JP2746202B2 (en) 1998-05-06

Similar Documents

Publication Publication Date Title
EP0528442B1 (en) Network configuration control method
US5732206A (en) Method, apparatus and program product for disruptive recovery in a data processing system
US5345447A (en) Switching hub which implements a virtual bus for interconnecting stations on a CSMA network
US5896370A (en) Signal protection and monitoring system
US5379278A (en) Method of automatic communications recovery
US4777330A (en) Network system diagnosis system
US5297134A (en) Loop mode transmission system with bus mode backup
JP3452117B2 (en) I / O device control method
JP2746202B2 (en) Method and apparatus for removing a failed node in a multi-branch bus system
US7418203B2 (en) Diagnosis method for standby system of optical ring network
CN112698991B (en) Dual-computer hot standby system and method based on 1 to 1 heartbeat
WO2005026904A2 (en) Programmable delay, transparent switching multi-port interface line card
JPH0887458A (en) Data transmission equipment for process control and removing method for i/o bus transmission fault
JP3149047B2 (en) Redundant data processor
JP2002353907A (en) Method for detecting fault occurrence spot in optical communication network and optical communication system
JP7415662B2 (en) Voice exchange control device and voice exchange system
JPH1188391A (en) Network management system
JPH0720128B2 (en) Optical communication system failure detection / removal method
JP3169861B2 (en) System switching control method
JPS5915587B2 (en) data transmission system
JP2757757B2 (en) Control method for multiple devices connected to a bus communication line
JPH0720127B2 (en) Concentrator obstacle branch line search method
JPH08116333A (en) Lan system
JPS63316956A (en) Distributed fault recovery controller for ring network communication equipment
JP2000032134A (en) Switch device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980113