JPH04321342A - Fault detection method by token access method - Google Patents

Fault detection method by token access method

Info

Publication number
JPH04321342A
JPH04321342A JP3088912A JP8891291A JPH04321342A JP H04321342 A JPH04321342 A JP H04321342A JP 3088912 A JP3088912 A JP 3088912A JP 8891291 A JP8891291 A JP 8891291A JP H04321342 A JPH04321342 A JP H04321342A
Authority
JP
Japan
Prior art keywords
token
counter
failure
count
fault
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3088912A
Other languages
Japanese (ja)
Inventor
Jiro Inagaki
稲垣 治郎
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 Communication Systems Ltd
Original Assignee
NEC Communication Systems 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 NEC Communication Systems Ltd filed Critical NEC Communication Systems Ltd
Priority to JP3088912A priority Critical patent/JPH04321342A/en
Publication of JPH04321342A publication Critical patent/JPH04321342A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Selective Calling Equipment (AREA)

Abstract

PURPOSE:To discriminate a fault in a short time for collection of count only without decreasing the scale of plural equipments and to simplify anti facilitate the discrimination method by discriminating it as a fault when a succeeding equipment has a count less by one based on the count of token counter of each equipment collected thereby. CONSTITUTION:Plural equipments 20.30 connecting to active and standby buses (transmission media) 11.12 have respectively token counters 21.31 to form a network and when a token frame is circulated through the active bus 11 by the token access method after the equipments are simultaneously initialized, each of the equipments 20.21 receives and sends a token and advances its own token counter 21 (31) sequentially for the count and when a fault takes place, the count of the token counters 21.31 for the busy active bus 11 is collected and a location having a count difference is discriminated to be a fault location.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、複数の装置を接続しト
ークンクレームを巡回させて伝送媒体への使用権を授受
してゆくトークンアクセス法(電子情報通信ハンドブッ
ク,電子情報通信学会編,オーム社,P2660)での
障害検出方法に関する。
[Industrial Application Field] The present invention relates to a token access method (Electronic Information and Communication Handbook, edited by the Institute of Electronics, Information and Communication Engineers, Ohm Inc., P2660).

【0002】0002

【従来の技術】従来、この種のトークンアクセス法での
障害検出方法は、伝送媒体を上り・下りの二重に接続し
、装置の一つ宛を順次取り除く接続処理をしつつ、動作
の正常性を調べて、異常から正常に変化したときの装置
を障害と判定していた。
[Prior Art] Conventionally, a fault detection method using this type of token access method connects the transmission medium doubly for uplink and downlink, and performs connection processing to sequentially remove devices addressed to one device, while maintaining normal operation. The device was determined to be faulty when it changed from abnormal to normal.

【0003】図4(A)はトークンリング形式の二重化
伝送媒体でループバック式の一例を示す接続図である。
FIG. 4A is a connection diagram showing an example of a loopback type duplex transmission medium in the token ring format.

【0004】図示するように、伝送媒体90は装置91
〜94を接続し、障害発生のため装置91・92間で、
現用・予備それぞれのリングを切断して装置91側で直
結するとき、装置92・93・94・91の経路に装置
91・94・93・92への経路が接続するループ状態
を形成する。
As shown, a transmission medium 90 is connected to a device 91.
~94 was connected, and due to a failure, between devices 91 and 92,
When the active and standby rings are cut and directly connected on the device 91 side, a loop state is formed in which the paths to the devices 91, 94, 93, and 92 are connected to the paths of the devices 92, 93, 94, and 91.

【0005】すなわち現用・予備それぞれのリングを切
断して直結する箇所を装置91から装置92、…と順次
変更して検査することにより障害箇所を特定できるルー
プバック法という検出方法である。
In other words, this is a detection method called the loopback method, in which the fault location can be identified by cutting off the active and standby rings and sequentially changing the directly connected locations from device 91 to device 92, etc., and inspecting them.

【0006】一方、図4(B)はバイパスにより障害検
出する一例を示す接続図である。
On the other hand, FIG. 4(B) is a connection diagram showing an example of failure detection using a bypass.

【0007】図示するように、二重化されたトークンリ
ングを形成する伝送媒体90は装置91〜94を串刺し
に接続する。装置91で、一方のトークンリングが装置
91の中に入らず、側道(バイパス)を形成して情報を
直接、後続の装置92へ接続する。
As shown, a transmission medium 90, forming a duplicated token ring, skew-connects devices 91-94. In device 91, one token ring does not go into device 91, forming a bypass to connect information directly to the following device 92.

【0008】従って、装置91に障害があるときこのバ
イパスによりトークンリングの機能は正常に働くが、他
装置に障害があるときには、障害状態が継続する。この
バイパスで、各装置は順次試験される。
Therefore, when there is a failure in the device 91, the token ring function operates normally due to this bypass, but when there is a failure in another device, the failure state continues. In this bypass, each device is tested in turn.

【0009】何れの方法も、各装置を順次ループバック
またはバイパス処理して、例えばトークンフレームの伝
送処理動作を調べることにより、障害の被疑範囲を縮小
してゆく方法である。
[0009] In either method, each device is sequentially looped back or bypassed and, for example, the token frame transmission processing operation is investigated, thereby reducing the range of suspected failures.

【0010】0010

【発明が解決しようとする課題】上述した従来のトーク
ンアクセス法での障害検出方法は、正常な範囲の確認を
各装置ごとに順次に行い、障害の被疑範囲を縮小しなが
ら障害箇所の検出を行う構成となっているので、伝送媒
体に接続される装置数の増加に伴い検出までの時間が増
大する。
[Problems to be Solved by the Invention] The fault detection method using the conventional token access method described above sequentially checks the normal range for each device, and detects the fault location while reducing the range of suspected faults. Therefore, as the number of devices connected to the transmission medium increases, the time until detection increases.

【0011】また障害が発生した後に検出処理を行うよ
うになっているので、間歇的な障害であった場合には検
出までに要する時間がさらに増大し、障害箇所の検出が
極めて困難になるという問題点があった。
[0011] Furthermore, since detection processing is performed after a fault has occurred, if the fault is an intermittent fault, the time required to detect it will further increase, making it extremely difficult to detect the location of the fault. There was a problem.

【0012】本発明の目的は、各装置にトークンカウン
タを備えてトークンの巡回数を計え、障害のためのトー
クンの巡回が続かなった箇所をトークンカウンタの数値
から判定することにより、上記問題点を解決するトーク
ンアクセス法での障害検出方法を提供することにある。
An object of the present invention is to solve the above problem by equipping each device with a token counter to count the number of cycles of tokens, and determining from the value of the token counter where the tokens do not continue to cycle due to a failure. The purpose of this invention is to provide a fault detection method using the token access method that solves the above problems.

【0013】[0013]

【課題を解決するための手段】本発明によるトークンア
クセス法での障害検出方法の基本構成は、複数の装置を
接続し、トークンフレームを巡回させて伝送媒体への使
用権を授受してゆくトークンアクセス法での障害検出方
法において、前記各装置にトークンの通過回数を計測す
るトークンカウンタを備え、正常動作を開始するとき前
記トークンカウンタを初期設定し、障害の発生を知った
ときこのトークンカウンタを駆動回路から切り離すとと
もに各装置からこのトークンカウンタの計数値を収集し
、この計数値から障害箇所を判定する。
[Means for Solving the Problems] The basic structure of the failure detection method using the token access method according to the present invention is to connect a plurality of devices, circulate token frames, and exchange tokens for giving and receiving the right to use a transmission medium. In the fault detection method according to the access method, each device is equipped with a token counter that measures the number of times a token passes, the token counter is initialized when starting normal operation, and when the occurrence of a fault is known, the token counter is set. While disconnecting from the drive circuit, the count value of this token counter is collected from each device, and the fault location is determined from this count value.

【0014】また、上記基本構成に記載の各装置の一つ
がマスター装置となり、伝送媒体で接続する各装置のト
ークンカウンタを初期設定してトークンを発信したのち
、障害発生を知ったとき、使用中の使用媒体およびトー
クンカウンタを予備に切り替えて切り離すと共に、切り
離したトークンカウンタの計数値を収集して障害箇所を
判定する構成でもよい。
[0014] Also, one of the devices described in the above basic configuration becomes the master device, and after initializing the token counters of each device connected via the transmission medium and issuing tokens, when it learns that a failure has occurred, it The configuration may be such that the media used and the token counter are switched to spares and disconnected, and the count values of the disconnected token counters are collected to determine the location of the failure.

【0015】[0015]

【実施例】次に、本発明について図面を参照して説明す
る。図1は本発明のトークンアクセス法の一実施例を示
すネットワーク図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained with reference to the drawings. FIG. 1 is a network diagram showing an embodiment of the token access method of the present invention.

【0016】図示するように、現用バス11および予備
バス12は二つのリングを形成し、それぞれ一つのマス
ター装置20および複数の一般装置30を接続する。
As shown, the working bus 11 and the spare bus 12 form two rings, each connecting one master device 20 and a plurality of general devices 30.

【0017】リング状の現用バス11には各装置20・
30を所定の順序で巡回するトークン13がある。トー
クンは自装置に対して先行装置および後続装置の各アド
レスをもつ。
Each device 20 is connected to the ring-shaped active bus 11.
There is a token 13 that cycles through 30 in a predetermined order. The token has the addresses of the preceding and succeeding devices for its own device.

【0018】各装置20・30はそれぞれトークンカウ
ンタ21・31を有し、巡回するトークンにより現用バ
ス11の使用権を得たとき、トークンカウンタ21・3
1の計数値を一歩進させる。
Each device 20, 30 has a token counter 21, 31, respectively, and when it obtains the right to use the working bus 11 by means of a circulating token, the token counter 21, 3
Advance the count value of 1 by one step.

【0019】現用バス11が障害でトークンが流れない
とき、現用バス11およびトークンカウンタ21・31
の現用分を切り離し、予備バス12および予備用カウン
タが各装置20・30で接続される。
When the current bus 11 is in trouble and tokens do not flow, the current bus 11 and token counters 21 and 31
A spare bus 12 and a spare counter are connected to each device 20 and 30.

【0020】図2は図1のマスター装置20の動作手順
の一例を示すフローチャートである。
FIG. 2 is a flowchart showing an example of the operating procedure of the master device 20 of FIG.

【0021】まず、システムの動作を開始するとき、マ
スター装置20は、使用する一方のリングを現用バス1
1として、走るトークンフレームがあれば、これを消去
(101)する。次いで、一般装置30のすべてにトー
クンカウンタ31の初期設定を指示(102)すると共
に、マスター装置20は自トークンカウンタ21の計数
値を零設定(103)して、トークンフレームを後続の
一般装置30へ送信(104)する。
First, when starting the operation of the system, the master device 20 connects one ring to be used to the working bus 1.
1, if there is a running token frame, it is erased (101). Next, the master device 20 instructs all the general devices 30 to initialize the token counters 31 (102), and the master device 20 sets the count value of its own token counter 21 to zero (103), and transfers the token frame to the subsequent general devices 30. (104).

【0022】このトークンフレームは一巡して戻ってく
るので、マスター装置20は、トークンフレームの受信
により、発信データを現用バス11へ送信し、送信の終
了によりトークンフレームを後続の一般装置30へ再送
信(105)すると共に、自装置20のトークンカウン
タ21を一歩進(106)させる。
[0022] This token frame returns in one cycle, so upon receiving the token frame, the master device 20 transmits the outgoing data to the working bus 11, and upon completion of the transmission, re-transmits the token frame to the subsequent general device 30. At the same time as the transmission (105), the token counter 21 of the own device 20 is incremented by one step (106).

【0023】ここで障害発生(107)を知ったとき、
マスター装置20は、現用バス11および現用のトーク
ンカウンタ21を動作からの切り離し、予備バス12を
稼働すると共に予備となっていたトークンカウンタ31
を切り替え(108)て初期設定の手順101へ続く。
[0023] When I learned of the occurrence of a failure (107),
The master device 20 disconnects the working bus 11 and the working token counter 21 from operation, operates the spare bus 12, and operates the spare token counter 31.
(108), and the process continues to initial setting step 101.

【0024】手順108に続き、マスター装置20は各
装置30へ切離されたトークンカウンタ31の情報送信
を要求して情報を収集(109)し、障害箇所を判定(
110)する。
Following step 108, the master device 20 requests each device 30 to transmit information on the separated token counter 31, collects the information (109), and determines the location of the failure (
110) Do.

【0025】例えば、マスター装置20と後続の一般装
置30との間および後続の一般装置30の何れか一方が
障害のとき、トークンカウンタ21が数値Nを計数して
いれば、後続の一般装置30のトークンカウンタ31は
数値(N−1)をもつ。
For example, when there is a failure between the master device 20 and the subsequent general device 30 or in one of the subsequent general devices 30, if the token counter 21 is counting the number N, then the subsequent general device 30 The token counter 31 of has a numerical value (N-1).

【0026】このように、マスター装置は各トークンカ
ウンタの数値から、数値の変化点により障害を発見する
ことができる。
In this manner, the master device can detect a failure based on the point of change in the value of each token counter.

【0027】図3は図1の一般装置30の動作手順の一
例を示すフローチャートである。
FIG. 3 is a flowchart showing an example of the operation procedure of the general device 30 of FIG.

【0028】一般装置30は、マスター装置20から初
期設定の指示を受けたとき、トークンカウンタ31を零
設定(201)する。次いで一般装置30は現用バス1
1を介して先行装置からトークンフレームを受信するの
で、発信データを送信したのちトークンフレームを後続
の装置へ送信(202)すると共に、自トークンカウン
タ31の数値を一歩進(203)させる。
When the general device 30 receives an initial setting instruction from the master device 20, it sets the token counter 31 to zero (201). Next, the general device 30 is connected to the working bus 1.
Since the token frame is received from the preceding device via 1, after transmitting the outgoing data, the token frame is transmitted to the succeeding device (202), and the value of the own token counter 31 is incremented by one step (203).

【0029】ここで障害発生が通知(204)されたと
き、一般装置30は、現用バス11および現用のトーク
ンカウンタ31を動作から切り離し、予備バス12およ
び予備のトークンカウンタ31を切替え(205)て接
続・駆動する。
When the occurrence of a failure is notified (204), the general device 30 disconnects the working bus 11 and the working token counter 31 from operation, and switches the spare bus 12 and the spare token counter 31 (205). Connect and drive.

【0030】次いで、一般装置30はマスター装置20
からトークンカウンタ21の情報要求を受けるので、数
値情報を返送(206)して手順を終了する。
Next, the general device 30 becomes the master device 20
Since a request for information on the token counter 21 is received from , numerical information is returned (206) and the procedure ends.

【0031】本実施例ではマスター装置が初期設定を指
示し、かつトークンカウンタの計数値を収集して障害箇
所を判定しているが、このマスター装置は複数の一般装
置のうちから一つを取り出して動作させても、別の制御
装置,調整装置,監視装置,管理装置などがバスに接続
して稼働してもよい。
In this embodiment, the master device instructs the initial settings and collects the count value of the token counter to determine the location of the failure. Alternatively, other control devices, adjustment devices, monitoring devices, management devices, etc. may be connected to the bus and operated.

【0032】本実施例では伝送媒体をリング状で図示し
たが、バス形ネットワークで論理リングを組むこともで
きるので、上記図面および説明が本発明を限定するもの
ではない。
In this embodiment, the transmission medium is shown in the form of a ring, but the above drawings and explanations are not intended to limit the present invention, since a logical ring can also be formed in a bus-type network.

【0033】[0033]

【発明の効果】以上説明したように、本発明は、複数の
装置が一つの伝送媒体に接続するネットワークの初期設
定の時点で各装置が有するトークン通過の回数であるト
ークン・カウンタの数値を更新して零設定し、障害が発
生した時点でのトークン・カウンタの数値から障害箇所
の判定を行うことにより、障害が発生したネットワーク
に対し障害箇所検出のためのループ設定や、バイパス設
定を各装置順次実行して試験する動作および手順の必要
がなく、障害発生から障害箇所検出までの所要時間が従
来に比べ飛躍的に短縮できる効果がある。
[Effects of the Invention] As explained above, the present invention updates the value of the token counter that each device has, which is the number of times the token has passed, at the time of initial setting of a network in which a plurality of devices connect to one transmission medium. By setting it to zero and determining the location of the fault based on the value of the token counter at the time the fault occurred, loop settings and bypass settings for detecting the fault location can be set for each device on the faulty network. There is no need for operations and procedures to be sequentially executed and tested, and the time required from the occurrence of a fault to the detection of a fault location can be dramatically shortened compared to the conventional method.

【0034】また間歇的な障害においても上述したよう
に、障害が発生した時点の情報をもとに障害箇所の判定
を行うため、障害箇所の検出が容易に行える効果がある
Furthermore, even in the case of intermittent failures, as described above, the failure location is determined based on the information at the time the failure occurred, so there is an effect that the failure location can be easily detected.

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

【図1】本発明のトークンアクセス法での障害検出方法
の一実施例を示すネットワーク図である。
FIG. 1 is a network diagram showing an embodiment of a fault detection method using a token access method according to the present invention.

【図2】図1のマスター装置の主要動作手順の一例を示
すフローチャートである。
FIG. 2 is a flowchart showing an example of the main operation procedure of the master device in FIG. 1;

【図3】図1の一般装置の主要動作手順の一例を示すフ
ローチャートである。
FIG. 3 is a flowchart showing an example of the main operation procedure of the general device in FIG. 1;

【図4】従来のループバック法(A)およびバイパス法
(B)の各一例を示す接続図である。
FIG. 4 is a connection diagram showing an example of a conventional loopback method (A) and a conventional bypass method (B).

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

11,12    バス 20    マスター装置 21,31    トークンカウンタ 30    一般装置 11, 12 bus 20 Master device 21, 31 Token counter 30 General equipment

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  複数の装置を接続しトークンフレーム
を巡回させて伝送媒体への使用権を授受してゆくトーク
ンアクセス法での障害検出方法において、前記各装置に
トークンの通過回数を計測するトークンカウンタを備え
、正常動作を開始するとき前記トークンカウンタを初期
設定し、障害の発生を知ったときこのトークンカウンタ
を駆動回路から切り離すとともに各装置からこのトーク
ンカウンタの計数値を収集し、この計数値から障害箇所
を判定することを特徴とするトークンアクセス法での障
害検出方法。
Claim 1: In a failure detection method using a token access method, in which a plurality of devices are connected and a token frame is circulated to give and receive the right to use a transmission medium, a token is provided to each device to measure the number of times the token passes. The token counter is equipped with a counter, and when starting normal operation, the token counter is initialized, and when the occurrence of a failure is known, this token counter is disconnected from the drive circuit, and the counted value of this token counter is collected from each device, and the counted value is A failure detection method using a token access method characterized by determining a failure location from.
【請求項2】  前記各装置の一つがマスター装置とな
り、伝送媒体で接続する各装置のトークンカウンタを初
期設定してトークンを発信したのち、障害発生を知った
とき、使用中の使用媒体およびトークンカウンタを予備
に切り替えて切り離すと共に、切り離したトークンカウ
ンタの計数値を収集して障害箇所を判定することを特徴
とする請求項1記載のトークンアクセス法での障害検出
方法。
[Claim 2] One of the devices becomes a master device, initializes the token counter of each device connected via a transmission medium and issues a token, and then, when it becomes aware of the occurrence of a failure, the device in use and the token 2. The method for detecting failure in a token access method according to claim 1, further comprising switching the counter to a standby and disconnecting it, and collecting counts of the disconnected token counter to determine the location of the failure.
JP3088912A 1991-04-20 1991-04-20 Fault detection method by token access method Pending JPH04321342A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3088912A JPH04321342A (en) 1991-04-20 1991-04-20 Fault detection method by token access method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3088912A JPH04321342A (en) 1991-04-20 1991-04-20 Fault detection method by token access method

Publications (1)

Publication Number Publication Date
JPH04321342A true JPH04321342A (en) 1992-11-11

Family

ID=13956155

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3088912A Pending JPH04321342A (en) 1991-04-20 1991-04-20 Fault detection method by token access method

Country Status (1)

Country Link
JP (1) JPH04321342A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2376612A (en) * 2001-06-15 2002-12-18 Ibm Fault location in a loop network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2376612A (en) * 2001-06-15 2002-12-18 Ibm Fault location in a loop network
GB2376612B (en) * 2001-06-15 2004-06-09 Ibm Method and apparatus for fault location in a loop network

Similar Documents

Publication Publication Date Title
US5710777A (en) Communication system
US5383178A (en) Network commentator
US5363493A (en) Token ring network test device using finite state machine
US5706422A (en) Method of locating fault of communication system
US6219335B1 (en) Method and apparatus for locating and isolating a fault within a token ring network
JP2010245589A (en) Communication system, communication device, method for specifying suspect portion, and program
JPH04321342A (en) Fault detection method by token access method
JPH08307438A (en) Token ring type transmission system
JP3295872B2 (en) Polling monitoring method
JPS62175044A (en) Duplexing loop-shaped transmission line
JPH0435251A (en) Fault monitor system for ring network
JP2581419B2 (en) Transmission device and protection method using transmission device
JP2822942B2 (en) Token failure detection method
JPS6313542A (en) Diagnosing system for terminal equipment
JPH0595363A (en) Duplexed ring bus fault detecting device
JPS6120448A (en) Testing method of data transmitting device
JPH08331162A (en) Token passing ring fault detection system
JPS63304744A (en) Fault diagnostic system
JPH0414934A (en) Communication line fault detecting method in distributed processing system
JPH11355334A (en) Loop abnormal state detection processing system, its detection processing method and recording medium recorded with its control program
JPH04150120A (en) Station diagnostic system
JPH03272236A (en) Local area network system
JPH03265247A (en) Fault detection system
JPS5923651A (en) Trouble detection system
JPH0247947A (en) Common bus fault processor detection system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20000307