Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0744557B2 - Loop fault handling method - Google Patents
[go: Go Back, main page]

JPH0744557B2 - Loop fault handling method - Google Patents

Loop fault handling method

Info

Publication number
JPH0744557B2
JPH0744557B2 JP63001274A JP127488A JPH0744557B2 JP H0744557 B2 JPH0744557 B2 JP H0744557B2 JP 63001274 A JP63001274 A JP 63001274A JP 127488 A JP127488 A JP 127488A JP H0744557 B2 JPH0744557 B2 JP H0744557B2
Authority
JP
Japan
Prior art keywords
loop
master node
node
slave
failure
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.)
Expired - Lifetime
Application number
JP63001274A
Other languages
Japanese (ja)
Other versions
JPH01177738A (en
Inventor
冬樹 藤川
洋 井上
俊雄 杉浦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP63001274A priority Critical patent/JPH0744557B2/en
Publication of JPH01177738A publication Critical patent/JPH01177738A/en
Publication of JPH0744557B2 publication Critical patent/JPH0744557B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はループ障害処理方式、とくにデータ通信方式の
ループ型通信システムにおけるループ障害処理方式に関
する。
Description: TECHNICAL FIELD The present invention relates to a loop fault handling system, and more particularly to a loop fault handling system in a loop communication system of a data communication system.

(従来の技術) 1つのマスタノードと複数のスレーブノードとにより構
成されるループ型データ通信システムは、マスタノード
から出力される同期信号に同期してデータ伝送を行なっ
ている。このため、マスタノードが障害により動作不能
となるとこの通信システム全体がダウンする。このよう
な障害を復旧させるため従来は、スレーブノードの中か
ら1つを選択し、これを手動により代替マスタノード
(バックアップマスタノード)として立ち上げるか、ま
たは複雑なアルゴリズムの論理に基づいて複数のスレー
ブノードが競合し、その中の1つが自動的に代替マスタ
ノードとなることによってループ復旧させていた。
(Prior Art) A loop data communication system including one master node and a plurality of slave nodes transmits data in synchronization with a synchronization signal output from the master node. Therefore, if the master node becomes inoperable due to a failure, the entire communication system goes down. Conventionally, in order to recover from such a failure, one of the slave nodes is selected and manually started as an alternative master node (backup master node), or a plurality of slave nodes are selected based on a complicated algorithm logic. The slave nodes competed, and one of them automatically became the alternate master node to recover the loop.

(発明が解決しようとする問題点) しかしながらスレーブノードの中から1つを選択し、こ
れを手動によりマスタノードとして立ち上げる方式で
は、復旧に時間がかかるという欠点がある。また、複数
のスレーブノードが競合してマスタノードを決定する方
式は、マスタノードを決定するアルゴリズムの論理が複
雑となるため、ループが復旧するまでの復旧時間が長く
なる。さらにスレーブノードは、マスタノードの障害と
ループ伝送障害とを容易に区別できないという欠点があ
る。
(Problems to be Solved by the Invention) However, the method of selecting one from slave nodes and manually starting it as a master node has a drawback that it takes time to restore. Further, in a method in which a plurality of slave nodes compete to determine the master node, the recovery time until the loop is restored becomes long because the logic of the algorithm for determining the master node is complicated. Further, the slave node has a drawback that it cannot easily distinguish between the failure of the master node and the failure of the loop transmission.

本発明はこのような従来技術の欠点を解消し、マスタノ
ード障害時のループ復旧時間の短縮化、マスタノードを
決定するアルゴリズムの論理の簡単化、およびマスタノ
ード障害の検出の迅速化が可能なループ障害処理方式を
提供することを目的とする。
The present invention solves the above-mentioned drawbacks of the conventional technology, shortens the loop recovery time when a master node fails, simplifies the logic of the algorithm for determining the master node, and speeds up the detection of the master node failure. The object is to provide a loop fault handling method.

(問題点を解決するための手段) 本発明は上述の問題点を解決するために、第1のマスタ
ノードと複数のスレーブノードによりループ伝送路が形
成され、第1のマスタノードより出力される同期信号に
同期してループ伝送路によりデータ通信が行なわれるル
ープ型データ通信システムのループ障害処理方式は、第
1のマスタノードより同期信号を直接受信できる第1の
マスタノードと隣り合うスレーブノードのいずれかをあ
らかじめ第2のマスタノードとして設定し、第1のマス
タノードが障害により同期信号を出力できないときは、
第1のマスタノードに代わって第2のマスタノードが前
記同期信号を出力することにより前記データ通信システ
ムのループを復旧させる。
(Means for Solving Problems) In order to solve the above problems, the present invention forms a loop transmission line by a first master node and a plurality of slave nodes, and outputs the loop transmission line from the first master node. A loop failure processing method of a loop type data communication system in which data communication is performed by a loop transmission line in synchronization with a synchronization signal is performed by a slave node adjacent to a first master node that can directly receive the synchronization signal from a first master node. If either one is set as the second master node in advance and the first master node cannot output the synchronization signal due to a failure,
The second master node, instead of the first master node, outputs the synchronization signal to restore the loop of the data communication system.

(作用) 本発明によれば、第1のマスタノードが障害により同期
信号を出力できなくなると、第2のマスタノードの監視
手段により同期信号が第1のマスタノードより送られて
こないことを検出し、同期信号断の時間を計数する。計
数した時間が障害検出時間に達すると、監視手段はルー
プ障害出力を処理手段に出力する。第2のマスタノード
の処理手段は、ループ障害出力によって第1のマスタノ
ード障害と判断し、同期信号を出力してデータ通信シス
テムのループを復旧させる。
(Operation) According to the present invention, when the first master node cannot output the synchronization signal due to a failure, the monitoring means of the second master node detects that the synchronization signal is not sent from the first master node. Then, the time of the sync signal interruption is counted. When the counted time reaches the failure detection time, the monitoring means outputs a loop failure output to the processing means. The processing means of the second master node determines that the first master node has a failure based on the loop failure output and outputs a synchronization signal to restore the loop of the data communication system.

(実施例) 次に添付図面を参照して本発明によるループ障害処理方
式の実施例を詳細に説明する。
(Embodiment) Next, an embodiment of the loop fault processing method according to the present invention will be described in detail with reference to the accompanying drawings.

第1図には、本発明によるループ障害処理方式を適用し
たループ型データ通信システムのネットワークの実施例
が示されている。同図に示すように、本実施例ではネッ
トワークの制御を行なうマスタノード10と、このノード
10より出力される後述するマスタクロックに同期してデ
ータ伝送を行なうスレーブノード20〜23とにより構成さ
れている。本実施例によるデータ通信システムは、互い
に逆方向にループを形成することが可能な2重化ループ
型データ通信システムであり、通信は通常、2重化ルー
プのうちどちらか一方で行なわれている。
FIG. 1 shows an embodiment of a network of a loop type data communication system to which the loop fault processing method according to the present invention is applied. As shown in the figure, in this embodiment, the master node 10 for controlling the network and this node
It is composed of slave nodes 20 to 23 which perform data transmission in synchronization with a master clock output from 10 described later. The data communication system according to the present embodiment is a duplex loop type data communication system capable of forming loops in opposite directions, and communication is normally performed in either one of the duplex loops. .

マスタノード10は、ループ#1の信号線202およびルー
プ#2の信号線100を介しスレーブノード(#0)20
に、またループ#1の信号線102およびループ#2の信
号線220を介しスレーブノード(#2)22に接続されて
いる。マスタノード10は、システム全体の通信制御を行
なうノードである。マスタノード10は、クロック発振器
600で生成されるシステム全体の同期をとる同期信号で
あるマスタクロックを、出力100によりループ#1に、
また出力102によりループ#2のそれぞれに出力する。
The master node 10 is connected to the slave node (# 0) 20 via the signal line 202 of loop # 1 and the signal line 100 of loop # 2.
And to the slave node (# 2) 22 via the signal line 102 of loop # 1 and the signal line 220 of loop # 2. The master node 10 is a node that controls communication of the entire system. Master node 10 is a clock oscillator
The master clock, which is a synchronization signal that synchronizes the entire system generated by 600, is output to loop # 1 via output 100.
Further, the output 102 outputs it to each of the loops # 2.

スレーブノード20は、マスタノード10の左隣りに配設さ
れ、信号線212および200を介しスレーブノード21(#
1)に接続されている。スレーブノード22は、信号線22
2および230を介してスレーブノード23(#3)に接続さ
れている。スレーブノード21とスレーブノード23は信号
線232および210により接続されている。このようにして
本実施例のループ型通信システムが構成されており、ス
レーブノード20〜23は、前述のマスタクロックに同期し
てデータ通信を行なう。
The slave node 20 is arranged to the left of the master node 10 and is connected to the slave node 21 (#
Connected to 1). The slave node 22 is connected to the signal line 22.
It is connected to the slave node 23 (# 3) via 2 and 230. Slave node 21 and slave node 23 are connected by signal lines 232 and 210. In this way, the loop type communication system of the present embodiment is configured, and the slave nodes 20 to 23 perform data communication in synchronization with the above master clock.

マスタノード10の左隣りに配設されたスレーブノード20
およびマスタノード10の右隣りに配設されたスレーブノ
ード22は、いずれか一方がマスタノード10の障害時にこ
れに代わってシステム全体にマスタクロックを供給する
代替マスタノードとしてあらかじめ設定することができ
る。たとえば、スレーブノード20を代替マスタノードと
して設定すると、マスタノード10の出力100を直接受信
することができるようにループ#2によりデータ伝送が
行なわれ、またスレーブノード22を代替マスタノードと
して設定すると、マスタノード10の出力102を直接入力
することができるようにデータ伝送はループ#1で行な
われる。
Slave node 20 arranged to the left of master node 10
Also, one of the slave nodes 22 arranged on the right side of the master node 10 can be set in advance as an alternative master node that supplies a master clock to the entire system instead of the slave node 22 when the master node 10 fails. For example, if slave node 20 is set as an alternative master node, data transmission is performed by loop # 2 so that output 100 of master node 10 can be directly received, and if slave node 22 is set as an alternative master node, Data transmission is performed in loop # 1 so that the output 102 of the master node 10 can be directly input.

第2図はマスタノード10およびスレーブノード20〜23の
それぞれの機能ブロック図であるノード装置5が示され
ている。図示に示すように本実施例におけるノード装置
5は、処理装置500、監視回路502、計数器504およびセ
レクタ(SEL)508がループ#1およびループ#2にそれ
ぞれ設けられ、また各処理装置500にクロックを供給す
るクロック発振器600を有する。
FIG. 2 shows a node device 5 which is a functional block diagram of each of the master node 10 and the slave nodes 20 to 23. As shown in the figure, in the node device 5 according to the present embodiment, a processing device 500, a monitoring circuit 502, a counter 504, and a selector (SEL) 508 are provided in loop # 1 and loop # 2, respectively. It has a clock oscillator 600 that supplies a clock.

ループ#1の入力側には信号線552を介し監視回路502が
接続されている。監視回路502はマスタノード10の動作
確認およびループ伝送路障害を検出する回路である。す
なわち監視回路502は、マスタノード10のマスタクロッ
クがループ#1で伝送されているかどうかを監視する。
通常、監視回路502の出力はオフであり、ループ#1で
マスタクロックを検出できなくなると出力554をオフか
らオンにし、計数器504にマスタクロックが検出できな
いことを知らせる。また、ループ#1で再びマスタクロ
ックを検出すると出力554をオンからオフにする。
The monitoring circuit 502 is connected to the input side of the loop # 1 via a signal line 552. The monitoring circuit 502 is a circuit that confirms the operation of the master node 10 and detects a loop transmission line failure. That is, the monitoring circuit 502 monitors whether or not the master clock of the master node 10 is transmitted in loop # 1.
Normally, the output of the monitoring circuit 502 is off, and when the master clock cannot be detected in loop # 1, the output 554 is turned on from on to inform the counter 504 that the master clock cannot be detected. When the master clock is detected again in loop # 1, the output 554 is turned from on to off.

計数器504は、出力554のオンの時間を計数し、あらかじ
め半固定的に設定されている障害検出時間に計数した時
間が達すると、ループ障害出力556を処理装置500に出力
する。なお、障害検出時間に達する前に出力554がオフ
になると今まで計数した計数時間をクリアし、再び出力
554がオンになると初めから計数を行なう。
The counter 504 counts the turn-on time of the output 554, and outputs a loop fault output 556 to the processing device 500 when the counted time reaches the fault detection time set semi-fixed in advance. If the output 554 turns off before the failure detection time is reached, the counting time counted up to now is cleared and output again.
When 554 is turned on, counting is performed from the beginning.

ノード装置5が代替マスタノード以外の場合には、処理
装置500はマスタノード10がダウンするとそれぞれのノ
ード装置5の処理装置500であらかじめ決められた障害
処理プログラムに従い動作する。このため、代替マスタ
ノードは、マスタノード10および他のスレーブノードよ
りも障害検出時間を十分大きな値に設定する。これは、
代替マスタノードがマスタノード10のダウンによりルー
プ復旧処理を行なうマスタクロックをループに出力する
ため、マスタノード10のダウン以外の原因で代替マスタ
ノードとなることを防ぎ、他のスレーブノードが代替マ
スタノードから出力されたマスタクロックをマスタノー
ド10のマスタクロックと誤認することを防ぐためであ
る。なお、本実施例におけるマスタノード10のダウンと
は、マスタノード10がマスタクロックをループ#1およ
びループ#2の両方に出力できない状態をいう。
When the node device 5 is other than the alternative master node, the processing device 500 operates according to a predetermined failure processing program in the processing device 500 of each node device 5 when the master node 10 goes down. Therefore, the alternative master node sets the failure detection time to a sufficiently large value as compared with the master node 10 and other slave nodes. this is,
The alternate master node outputs the master clock that performs loop recovery processing to the loop when the master node 10 goes down, preventing it from becoming the alternate master node due to a cause other than the down of the master node 10, and other slave nodes are the alternate master nodes. This is to prevent the master clock output from the master node from being mistaken for the master clock of the master node 10. The down of the master node 10 in the present embodiment means a state in which the master node 10 cannot output the master clock to both loop # 1 and loop # 2.

ループ#1の出力側には信号線550を介し処理装置500が
接続されている。処理装置500は、ループ#1で伝送さ
れてきた信号を処理する処理装置であり、交換機、ボタ
ン電話装置もしくは伝送装置などの通信機器またはコン
ピュータもしくはワードプロセッサなどの情報機器のい
ずれであってもよい。処理装置500で処理された信号は
出力560を介しセレクタ508に、ループバック出力562を
介しループ#2側のセレクタ508のそれぞれに送られ
る。また処理装置500は、信号線590を介し通信システム
ネットワーの同期信号であるマスタクロックの信号源で
あるクロック発振器600に接続されている。さらに、ル
ープ#1側の処理装置500は信号線800を介しループ#2
側の処理装置500に接続されている。
The processor 500 is connected to the output side of the loop # 1 via a signal line 550. The processing device 500 is a processing device that processes the signal transmitted in the loop # 1, and may be either a communication device such as an exchange, a key telephone device or a transmission device, or an information device such as a computer or a word processor. The signal processed by the processing device 500 is sent to the selector 508 via the output 560 and to the selector 508 on the loop # 2 side via the loopback output 562. Further, the processing device 500 is connected via a signal line 590 to a clock oscillator 600 which is a signal source of a master clock which is a synchronization signal of the communication system network. Further, the processor 500 on the loop # 1 side receives the loop # 2 via the signal line 800.
It is connected to the processing device 500 on the side.

ループ#1側の処理装置500は計数器504よりループ障害
出力556を入力すると、信号線800を介しループ#2側の
処理装置500も同様にループ障害出力576を受信したかど
うかを確認する。ループ#2側の処理装置500がループ
障害出力576を受信している場合には、各処理装置500は
マスタノード10がダウンしたと判断し、あらかじめ組み
込まれているマスタノード10ダウン時の障害処理プログ
ラムにより復旧処理を行なう。たとえば、代替マスタノ
ードがマスタノードになるとその処理装置500はクロッ
ク発振器600より入力したクロックをマスタクロックと
して出力する。また、ループ#2側の処理装置500がル
ープ障害出力576を受けていない場合、各処理装置500は
ループ#1の伝送路障害と判断し、データ伝送を行なう
ループをループ#1からループ#2に切換える。各処理
装置500は信号線800を介し互いに障害情報を交換する。
When the processing device 500 on the loop # 1 side inputs the loop fault output 556 from the counter 504, the processing device 500 on the loop # 2 side similarly checks whether the loop fault output 576 is received via the signal line 800. When the processing device 500 on the loop # 2 side receives the loop failure output 576, each processing device 500 determines that the master node 10 has gone down, and the built-in failure processing when the master node 10 goes down is performed. Recovery processing is performed by the program. For example, when the alternate master node becomes the master node, the processor 500 outputs the clock input from the clock oscillator 600 as the master clock. Further, when the processing device 500 on the loop # 2 side does not receive the loop failure output 576, each processing device 500 determines that there is a transmission path failure in loop # 1 and determines the loop for data transmission from loop # 1 to loop # 2. Switch to. Each processing device 500 exchanges fault information with each other via a signal line 800.

ループ#1側のセレクタ508は、ループ#1側の処理装
置500の出力560およびループ#2側の処理装置500のル
ープバック出力582を入力し、いずれか一方の出力をル
ープ#1に出力する出力切換器である。ループ#1側の
セレクタ508の出力切換はループ#1側の処理装置500の
制御出力558により行なわれる。通常、ループ#1側の
セレクタ508は、ループ#1側の処理装置500の出力560
をループ#1に出力し、障害が発生するとスレーブノー
ドによってはループ#2側の処理装置500のループバッ
ク出力582をループ#1に出力するよう制御される。
The selector 508 on the loop # 1 side inputs the output 560 of the processing device 500 on the loop # 1 side and the loopback output 582 of the processing device 500 on the loop # 2 side, and outputs one of the outputs to the loop # 1. It is an output switch. The output switching of the selector 508 on the loop # 1 side is performed by the control output 558 of the processing device 500 on the loop # 1 side. Normally, the selector 508 on the loop # 1 side outputs the output 560 of the processing device 500 on the loop # 1 side.
Is output to the loop # 1, and when a failure occurs, the slave node is controlled to output the loopback output 582 of the processing device 500 on the loop # 2 side to the loop # 1.

ループ#2の入力側は出力570を介し処理装置500に接続
され、処理装置500は出力580を介してセレクタ508に接
続されている。処理装置500はまた制御出力578を介して
セレクタ508に接続されている。セレクタ508はループ#
1側の処理装置500のループバック出力562に接続されて
いる。ループ#2の入力側はまた出力572を介し監視回
路502が接続され、監視回路502の出力574は計数器504に
接続されている。計数器504は出力576を介し処理装置50
0に接続されている。クロック発振器506は、出力592を
介してループ#2側の処理装置500に接続され、出力590
と同じクロックをこの処理装置500に供給する。
The input side of loop # 2 is connected to the processor 500 via the output 570, and the processor 500 is connected to the selector 508 via the output 580. The processor 500 is also connected to the selector 508 via the control output 578. Selector 508 loops #
It is connected to the loopback output 562 of the processing device 500 on the one side. The monitoring circuit 502 is also connected to the input side of loop # 2 via the output 572, and the output 574 of the monitoring circuit 502 is connected to the counter 504. The counter 504 is connected to the processor 50 via the output 576.
Connected to 0. The clock oscillator 506 is connected to the processor 500 on the loop # 2 side via the output 592, and the output 590
The same clock as is supplied to this processing device 500.

第1図および第2図を用いてスレーブノード20を代替ノ
ードとしたときの本実施例によるデータ通信システムの
動作を説明する。前述のようにスレーブノード20を代替
ノードとするループ#2が使用され、マスタノード10−
スレーブノード20−スレーブノード21−スレーブノード
23−スレーブノード22のルートでループが形成され、デ
ータ伝送が行なわれる。
The operation of the data communication system according to this embodiment when the slave node 20 is used as an alternative node will be described with reference to FIGS. 1 and 2. As described above, the loop # 2 using the slave node 20 as an alternative node is used, and the master node 10-
Slave node 20-Slave node 21-Slave node
23-A loop is formed in the route of the slave node 22 and data transmission is performed.

通常、マスタノード10−のそれぞれの処理装置500は、
クロック発振器600より受信したクロックをマスタクロ
ックとしてループ#1およびループ#2に出力する。こ
れにより、たとえばループ#2に伝送路障害が発生して
も、それぞれのスレーブノードはループ#1により、マ
スタクロックを受信できるため、各スレーブノードは伝
送路障害であると判断することができる。
Normally, each processing device 500 of the master node 10-
The clock received from the clock oscillator 600 is output to loop # 1 and loop # 2 as a master clock. As a result, even if a transmission line failure occurs in loop # 2, for example, each slave node can receive the master clock by loop # 1, and therefore each slave node can determine that there is a transmission line failure.

第3図には、マスタノード10がダウンしたときのシステ
ム図が示されており、また第4図にはマスタノード10が
ダウン後にデータ通信システムのループが復旧した時の
システム図が示されている。マスタノード10がダウンす
るとループ#1およびループ#2にマスタクロックが出
力されなくなる。このためスレーブノード20〜23の各監
視回路502は、ループ#1およびループ#2にマスタク
ロックが伝送されていないことを検出し、それぞれルー
プ障害出力554および574をオンにする。
FIG. 3 shows a system diagram when the master node 10 goes down, and FIG. 4 shows a system diagram when the loop of the data communication system is restored after the master node 10 goes down. There is. When the master node 10 goes down, the master clock is not output to loop # 1 and loop # 2. Therefore, the monitoring circuits 502 of the slave nodes 20 to 23 detect that the master clock is not transmitted to the loop # 1 and the loop # 2 and turn on the loop fault outputs 554 and 574, respectively.

ループ#1側の計数器504は出力554がオンになると計数
を開始し、計数値が障害検出時間に達するとループ招待
出力556を処理装置500に出力する。同様にループ#2側
の計数器504もループ障害出力576を処理装置500に送
る。各処理装置500は、ループ障害出力を受信すると信
号線800を介し互いにループ障害出力を受信したことを
知らせ、マスタノード10がダウンしたことを判断する。
なお通信システムが大規模になるに従って各処理装置50
0でループ障害出力を受信する時間に誤差を生じるが、
処理装置500はこの誤差を考慮してマスタノード10のダ
ウンを判断する。
The counter 504 on the loop # 1 side starts counting when the output 554 is turned on, and outputs the loop invitation output 556 to the processing device 500 when the count value reaches the failure detection time. Similarly, the counter 504 on the loop # 2 side also sends a loop fault output 576 to the processor 500. Upon receiving the loop fault output, each processing device 500 informs each other via the signal line 800 that they have received the loop fault output, and determines that the master node 10 is down.
It should be noted that as the communication system becomes larger, each processing unit 50
At 0 there is an error in the time to receive the loop fault output,
The processing device 500 determines whether the master node 10 is down in consideration of this error.

代替マスタノードであるスレーブノード20は、マスタノ
ード10のダウンを確認すると、ループ#2側の処理装置
500の制御出力578によりループ#1側のセレクタ508の
出力をループ#1側の処理装置500の出力580からループ
#2側の処理装置500のループバック出力562に切換え
る。そしてループ#1側の処理装置500は、クロック発
振器600より入力したクロック590を出力するとマスタク
ロックとしてループ#2に出力することによりマスタノ
ードとなる。マスタノード10に接続されているループ#
2側の処理装置500は、ループ#1および2に信号出力
を行なわないためマスタノード10よりノイズを入力して
もシステム全体に悪影響を与えることはない。
When the slave node 20, which is the alternative master node, confirms that the master node 10 is down, the processing device on the loop # 2 side
The control output 578 of 500 switches the output of the selector 508 on the loop # 1 side from the output 580 of the processing device 500 on the loop # 1 side to the loopback output 562 of the processing device 500 on the loop # 2 side. Then, the processing device 500 on the loop # 1 side becomes the master node by outputting the clock 590 input from the clock oscillator 600 to the loop # 2 as the master clock. Loop connected to master node #
The processing device 500 on the second side does not output a signal to the loops # 1 and # 2, so even if noise is input from the master node 10, it does not adversely affect the entire system.

スレーブノード20以外のスレーブノード21〜23は、計数
器504の障害検出時間がスレーブノード20に比べ短い。
このため、ノード20より早くマスタノード10がダウンし
たことを判断し、障害処理を行なった後代替マスタノー
ドよりマスタクロックが送られてくるのを待つ。そし
て、代替マスタノードよりマスタクロックが送られてく
ると第4図に示すようにループが復旧する。
In the slave nodes 21 to 23 other than the slave node 20, the failure detection time of the counter 504 is shorter than that of the slave node 20.
For this reason, it is determined that the master node 10 has gone down earlier than the node 20, and after failure processing is performed, waits for the master clock to be sent from the alternate master node. Then, when the master clock is sent from the alternative master node, the loop is restored as shown in FIG.

スレーブノード22はマスタノード10のダウンを判断する
と、ループ#1側のセレクタ508の出力をループ#1側
の処理装置500の出力560からループ#2側の処理装置50
0のループバック出力582に切替える。スレーブノード21
および23は、マスタノード10がダウンすると過渡状態と
して入力障害を検出するが、代替マスタノードよりマス
タクロックを入力するとループ#1およびループ#2を
使用してデータ通信状態に戻る。すなわち、マスタノー
ド10のダウン後は、第4図に示すように代替マスタノー
ド20−信号線200−スレーブノード21−信号線210−スレ
ーブノード23−信号線230−スレーブノード22−信号線2
22−スレーブノード23−信号線232−スレーブノード21
−信号線212−代替マスタノード20のルートでループが
形成されデータ通信が行われる。
When the slave node 22 determines that the master node 10 is down, the output of the selector 508 on the loop # 1 side is changed from the output 560 of the processor 500 on the loop # 1 side to the processor 50 on the loop # 2 side.
Switch to 0 loopback output 582. Slave node 21
And 23 detect an input failure as a transient state when the master node 10 goes down, but when a master clock is input from the alternate master node, loop # 1 and loop # 2 are used to return to the data communication state. That is, after the master node 10 goes down, as shown in FIG. 4, the alternative master node 20-signal line 200-slave node 21-signal line 210-slave node 23-signal line 230-slave node 22-signal line 2
22-Slave node 23-Signal line 232-Slave node 21
-Signal line 212-A loop is formed by the route of the alternative master node 20 and data communication is performed.

このように、本実施例によればマスタノード10に隣接す
る左右いずれかのスレーブノードをあらかじめ代替マス
タノードとして設定することによりマスタノード10がダ
ウンしたときの代替マスタノードを決定するアルゴリズ
ムが単純になり、ループ復旧時間を短縮することが可能
となる。また各スレーブノードは代替マスタノードを決
定するアルゴリズムが単純なためマスタノード10のダウ
ンかループ伝送路障害かを簡単に区別することができ
る。
As described above, according to the present embodiment, the algorithm for determining the alternative master node when the master node 10 is down is set simply by setting one of the left and right slave nodes adjacent to the master node 10 as the alternative master node in advance. Therefore, the loop recovery time can be shortened. Further, since each slave node has a simple algorithm for determining an alternative master node, it is possible to easily distinguish whether the master node 10 is down or a loop transmission line failure.

なお、スレーブノード21および23も代替マスタノードと
なることは可能である。しかし、代替マスタノードとマ
スタノード10との間に他のスレーブノードがあると、ル
ープ障害検出時にマスタノードのダウンか、線路障害な
のか、マスタノードとの間にあるスレーブノードの障害
かを判断しなければならないためアルゴリズムが複雑に
なる。また、スレーブノードの数は本実施例に示したよ
うに4つに限定されるものではなく、本実施例よりも大
規模なデータ通信システムにも本発明は有利に適用可能
である。さらに本実施例では、ノード装置5に2つの処
理装置500が配設されているが、本発明はこれに限定さ
れるものではない。すなわち処理装置500を1つにし、
ループ#1およびループ#2のそれぞれに監視回路502
およびこの回路502に接続される計数器504を設け、これ
ら計数器504のループ障害出力を1つの処理装置500に出
力するとしてもよい。
Note that the slave nodes 21 and 23 can also be alternative master nodes. However, if there is another slave node between the alternate master node and master node 10, it will determine whether the master node is down, the line is faulty, or the slave node between it and the master node is faulty when a loop fault is detected. The algorithm becomes complicated because it must be done. Further, the number of slave nodes is not limited to four as shown in this embodiment, and the present invention can be advantageously applied to a data communication system having a larger scale than that of this embodiment. Furthermore, in the present embodiment, two processing devices 500 are provided in the node device 5, but the present invention is not limited to this. That is, one processing device 500 is provided,
Monitoring circuit 502 for each of loop # 1 and loop # 2
It is also possible to provide counters 504 connected to the circuit 502 and output loop fault outputs of the counters 504 to one processing device 500.

(発明の効果) このように本発明によれば、第1のマスタノードに隣接
するいずれかのスレーブノードをあらかじめ第2のマス
タノード、すなわち代替マスタノードとして設定する。
これにより第1のマスタノードがダウンしたときに同期
信号を出力する代替マスタノードを決定するアルゴリズ
ムが単純になり、ループ復旧時間を短縮することが可能
となる。また各スレーブノードは、代替マスタノードを
決定するアルゴリズムが単純なため第1のマスタノード
の障害がループ伝送路障害かを簡単に区別することがで
きる。
As described above, according to the present invention, any slave node adjacent to the first master node is set in advance as the second master node, that is, the alternative master node.
This simplifies the algorithm for determining the alternative master node that outputs the synchronization signal when the first master node goes down, and shortens the loop recovery time. Further, since each slave node has a simple algorithm for determining the alternative master node, it is possible to easily distinguish whether the failure of the first master node is a loop transmission path failure.

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

第1図は本発明によるループ障害処理方式の実施例を適
用したデータ通信システムのシステム構成図、 第2図は、第1図の通信システムにおけるノード装置の
実施例を示した機能ブロック図、 第3図は、第1図のデータ通信システムにおいてマスタ
ノードがダウンしたことを示すシステム構成図、 第4図は、第1図のデータ通信システムにおいてマスタ
ノードダウン後にループが復旧したときの信号の流れを
示すシステム構成図である。 主要部分の符号の説明 10……マスタノード 20〜23……スレーブノード 500……処理装置 502……監視回路 504……計数器 508……セレクタ 600……クロック発振器 #1、#2……ループ
FIG. 1 is a system configuration diagram of a data communication system to which an embodiment of a loop fault processing method according to the present invention is applied, and FIG. 2 is a functional block diagram showing an embodiment of a node device in the communication system of FIG. FIG. 3 is a system configuration diagram showing that the master node is down in the data communication system of FIG. 1, and FIG. 4 is a signal flow when the loop is restored after the master node is down in the data communication system of FIG. It is a system configuration diagram showing. Explanation of main part code 10 …… Master node 20-23 …… Slave node 500 …… Processor 502 …… Monitoring circuit 504 …… Counter 508 …… Selector 600 …… Clock oscillator # 1, # 2 …… Loop

フロントページの続き (56)参考文献 特開 昭62−53335(JP,A) 特開 昭59−81943(JP,A)Continuation of front page (56) References JP 62-53335 (JP, A) JP 59-81943 (JP, A)

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】同期信号を送出する第1のマスターノード
と、同期信号に同期して通信を行なう複数のスレーブノ
ードとを2系統のループ伝送路に接続し、これら2系統
のループ伝送路のうちいずれか一方にてノード間のデー
タ通信を行なうループ型データ通信システムのループ障
害処理方式において、 該障害処理方式は、あらかじめ前記複数のスレーブノー
ドのうち前記第1のマスタノードに隣合い該第1のマス
タノードから直接同期信号を受けるいずれか一方のスレ
ーブノードを、第1のマスタノードに障害が生じた際に
該第1のマスタノードに代わり同期信号を送出する第2
のマスタノードに設定しておき、 前記第1のマスタノードは、それぞれのノードの通信の
際に2系統のループ伝送路の両方に同期信号をそれぞれ
送出し、 前記第2のマスタノードを含む複数のスレーブノード
は、2系統のループ伝送路のそれぞれから供給される同
期信号を監視して、いずれか一方のループ伝送路からの
同期信号が所定の時間以上検出されない場合に、そのル
ープ伝送路に障害が生じたと判断して他方のループ伝送
路に切り替えてループを復旧し、 前記第2のマスタノードは、2系統のループ伝送路の両
方からの同期信号がいずれも所定の時間以上検出できな
い場合に、第1のマスターノードに障害が生じたと判断
して、該第1のマスタノードに代わり同期信号を送出し
てデータ通信システムのループを復旧させることを特徴
とするループ障害処理方式。
1. A first master node that sends a synchronization signal and a plurality of slave nodes that communicate in synchronization with the synchronization signal are connected to two loop transmission lines, and the two loop transmission lines are connected. In a loop fault handling method of a loop type data communication system in which data communication between nodes is performed by one of the slave nodes, the fault handling method is such that the first master node of the plurality of slave nodes is adjacent to the first master node in advance. A second master node which directly sends a synchronization signal to one of the slave nodes instead of the first master node when a failure occurs in the first master node;
The master node of the second master node, and the first master node sends synchronization signals to both of two loop transmission lines when communicating with each other. Slave node monitors the synchronization signal supplied from each of the two loop transmission lines, and if the synchronization signal from one of the loop transmission lines is not detected for a predetermined time or longer, the slave transmission line When it is determined that a failure has occurred, the loop is restored by switching to the other loop transmission line, and the second master node cannot detect any synchronization signal from both loop transmission lines of two systems for a predetermined time or longer. In addition, it is determined that a failure has occurred in the first master node, and a synchronization signal is sent instead of the first master node to restore the loop of the data communication system. Loop failure processing method to be.
【請求項2】特許請求の範囲第1項記載のループ障害処
理方式において、前記第1のマスタノードにて障害が生
じて前記第2のマスタノードにて同期信号を送出する場
合に、第1のマスタノードの他方側に隣合うスレーブノ
ードは、第2のマスタノードから一方のループ伝送路を
介して受けた同期信号を他方のループ伝送路に折り返し
て、第1のマスタノードを除く複数のスレーブノード間
にてループを形成することを特徴とするループ障害処理
方式。
2. The loop fault processing method according to claim 1, wherein when a fault occurs in the first master node and a synchronization signal is transmitted in the second master node, the first fault occurs. The slave node adjacent to the other side of the master node returns the synchronization signal received from the second master node via one loop transmission line to the other loop transmission line, and returns to the plurality of loop nodes other than the first master node. A loop fault handling method characterized by forming a loop between slave nodes.
【請求項3】特許請求の範囲第1項記載の障害処理方式
において、第2のマスタノードの障害検出時間は、第2
のマスタノードを除く前記複数のスレーブノードの障害
検出時間より長いことを特徴とするループ障害処理方
式。
3. The fault processing method according to claim 1, wherein the fault detection time of the second master node is the second
Loop failure processing method, wherein the failure detection time is longer than the failure detection time of the plurality of slave nodes excluding the master node.
JP63001274A 1988-01-08 1988-01-08 Loop fault handling method Expired - Lifetime JPH0744557B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63001274A JPH0744557B2 (en) 1988-01-08 1988-01-08 Loop fault handling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63001274A JPH0744557B2 (en) 1988-01-08 1988-01-08 Loop fault handling method

Publications (2)

Publication Number Publication Date
JPH01177738A JPH01177738A (en) 1989-07-14
JPH0744557B2 true JPH0744557B2 (en) 1995-05-15

Family

ID=11496882

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63001274A Expired - Lifetime JPH0744557B2 (en) 1988-01-08 1988-01-08 Loop fault handling method

Country Status (1)

Country Link
JP (1) JPH0744557B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016163308A (en) * 2015-03-05 2016-09-05 株式会社デンソー Slave for communication

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5981943A (en) * 1982-11-01 1984-05-11 Nippon Telegr & Teleph Corp <Ntt> Automatic recovery system for loop system fault
DE3530819A1 (en) * 1985-08-29 1987-03-12 Bayer Ag METHOD FOR PRODUCING ELECTRICALLY CONDUCTIVE POLYMERS

Also Published As

Publication number Publication date
JPH01177738A (en) 1989-07-14

Similar Documents

Publication Publication Date Title
EP0102059B1 (en) Data transmission device for loop transmission system
WO1989011187A1 (en) Reconfigurable local area network
JPH0744557B2 (en) Loop fault handling method
JPH041543B2 (en)
JPH0621955A (en) Clock supply switching system
KR0152229B1 (en) Low cost redundancy node for system redundancy
JP2692338B2 (en) Communication device failure detection device
JP3035949B2 (en) Switching control method of master device
JP3396946B2 (en) Switching device in duplex system
JP2818002B2 (en) Channel switch control method
JPH0430218B2 (en)
JP2624210B2 (en) In-device monitoring circuit
KR100825458B1 (en) Redundancy board device for base station controller
JP3637510B2 (en) Fault monitoring method and circuit
JP3042197B2 (en) Clock loss detection circuit
EP0219549B1 (en) Loop transmission system with frame synchronization control
JP2538682B2 (en) Reference clock source automatic switching method
JP2655738B2 (en) Switching system between redundant system and single system
JP3050008B2 (en) Switch control method
JP3229993B2 (en) Frame pulse switching circuit
JPH043636A (en) Loopback method
JP3286926B2 (en) Clock switching method in ring system
JPS5897764A (en) Controlling system for multiplexed arithmetic processing system
JPH05327743A (en) Transmission line control method for data communication system
JPH08265422A (en) Method for switching line