JPS61118044A - System for detecting and controlling fault of repeat function - Google Patents

System for detecting and controlling fault of repeat function

Info

Publication number
JPS61118044A
JPS61118044A JP59240154A JP24015484A JPS61118044A JP S61118044 A JPS61118044 A JP S61118044A JP 59240154 A JP59240154 A JP 59240154A JP 24015484 A JP24015484 A JP 24015484A JP S61118044 A JPS61118044 A JP S61118044A
Authority
JP
Japan
Prior art keywords
state
node
token
free token
repeat
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
JP59240154A
Other languages
Japanese (ja)
Other versions
JPH0254987B2 (en
Inventor
Tomoo Kawabuchi
川淵 朋夫
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 JP59240154A priority Critical patent/JPS61118044A/en
Publication of JPS61118044A publication Critical patent/JPS61118044A/en
Publication of JPH0254987B2 publication Critical patent/JPH0254987B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To detect a fault of a repeat function caused in a node by providing a recovery number count means of a free token in each node. CONSTITUTION:When a node N0 is in the active monitor state having a free token recovery function, a TPC5 supervises a reception interval of the free token, and when the next free token is not received for a prescribed time, an interruption is given to a microprocessor 8 to start a free token recovery control section 9. The free token recovery control section 9 executes a free token recovery sequence to cause the TPC5 to transmit a new free token and increments a number of time counter 10 by 1. A limit detection section 11 compares the count of the counter 10 with a predetermined limit value and when the count exceeds a limit value, it is informed to a status transition section 12, from which the monitor is transited from the active monitor state to an active monitor give-up state.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、LAN等のリング状ネットワークにおける通
信制御方式に関するものであり、特にその中でもノード
に生じたリピート機能の障害を検出し、フリート−クン
の送出ノードを自動的に交替させる障害検出制御方式に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a communication control system in a ring network such as a LAN, and in particular, detects a repeat function failure occurring in a node and This invention relates to a failure detection control method for automatically replacing the sending node of a computer.

〔従来の技術〕[Conventional technology]

第2図は9本発明が対象とする′従来のリング状ネット
ワークの1例のシステム構成を示したものである。図に
おいて、  LNo 、  Ll’L+ 、・・・、 
LN7は自動構成制御装置、No 、N+ 、・・・、
N7はノードを表している。各ノードは上位の自動構成
制御装置によりリングへの挿入とリングからの除去すな
わちネットワーク構成を制御される。
FIG. 2 shows the system configuration of an example of a conventional ring network to which the present invention is directed. In the figure, LNo, Ll'L+,...
LN7 is an automatic configuration control device, No, N+,...
N7 represents a node. Insertion into and removal from the ring, that is, network configuration, of each node is controlled by a higher-level automatic configuration control device.

第2図の例では、ノードNo 、  N+ 、  NZ
 、  N3は自動構成制御装置LN、により構成を制
御され、たとえ゛ば第3図に示すようにノードN、、N
、、N、はネットワーク中に挿入されているが。
In the example of Fig. 2, nodes No., N+, NZ
, N3 have their configurations controlled by an automatic configuration controller LN, and for example, as shown in FIG.
,,N, are inserted into the network.

ノードN、はバイパスされ、ネットワークから除去され
ている。
Node N, has been bypassed and removed from the network.

リング状ネットワークでは、同時に2つ以上のノードか
りのデータ送信を禁止する必要があり。
In a ring network, it is necessary to prohibit data transmission from two or more nodes at the same time.

そのための1方式として、リング中にフリート−クンを
巡回させ、送信要求をもつノードのうち最初にフリート
−クンを捕捉したノードに送信権を与えるようにしたト
ークンパッシング方式がある。
One method for this purpose is a token passing method in which free tokens are circulated around the ring and the transmission right is given to the node that first captures the free token among nodes that have a transmission request.

第4図は、トークンパッシング方式のリング状ネットワ
ーク要素のノードに用いられる通信制御アダプタの構成
図である。図において、41は通信制御アダプタ、42
はトークンパッシングコントローラTPC(以後、TP
Oと略称)、43は送信/受信バッファ、44はマイク
ロプロセサ(μmP)、45はROM、46はRAM、
47はBUSである。以下、基本的な動作機能について
述べる。
FIG. 4 is a configuration diagram of a communication control adapter used in a node of a ring-shaped network element using a token passing method. In the figure, 41 is a communication control adapter, 42
is the token passing controller TPC (hereinafter TP
43 is a transmitting/receiving buffer, 44 is a microprocessor (μmP), 45 is a ROM, 46 is a RAM,
47 is BUS. The basic operating functions will be described below.

TPC42は、リング側から受信データを取り込み、送
信/受信バッファ43を介して上位装置。
The TPC 42 takes in received data from the ring side and sends it to the host device via the transmission/reception buffer 43.

すなわちCPUへ送出し、それが他ノードへ転送するデ
ータであればリピート機能を用いてそのままリング側へ
送信データとして出力し、また、受信モードのときに自
ノードへ宛てられたデータがあればCPUで取り込む。
In other words, it is sent to the CPU, and if it is data to be transferred to another node, it is output as transmission data to the ring side using the repeat function, and if there is data addressed to the own node when in reception mode, it is sent to the CPU. Import it with.

他方、上位装置のCPUからデータの送信依願があるど
きフリート−クンを捕捉すれば、!81ノードが送信権
を獲得して。
On the other hand, if the Fleet-Kun is captured when there is a data transmission request from the CPU of the host device, ! 81 nodes acquired the transmission right.

送(K/受信バッファ43中のデータについてフレーム
を組み立て、リング側へ送信データとして出力する。こ
れらの制御はマイクロプロセサμ−244が行う。
A frame is assembled from the data in the transmission (K/reception buffer 43) and outputted to the ring side as transmission data. These controls are performed by the microprocessor μ-244.

第5図は、第4図中のTPC42の内部構成を示したも
のである。図において、51は自ノードで受信しないデ
ータを第4図中の下位ノードへ転送するためのリピート
回路、52は受信回路、53は送信回路、54はTPO
全体を制御し、マイクロプロセサμ−P44(第4図)
とのインタフェースともなる制御回路である。
FIG. 5 shows the internal configuration of the TPC 42 in FIG. 4. In the figure, 51 is a repeat circuit for transferring data not received by the own node to the lower node in FIG. 4, 52 is a receiving circuit, 53 is a transmitting circuit, and 54 is a TPO.
The whole is controlled by a microprocessor μ-P44 (Figure 4).
This is a control circuit that also serves as an interface with the

第6図は、さらに第5図中のリピート回路51の内部構
成を示したものである0図において、61は受信シフト
レジスタR3R,62はバッファBFA、63はバッフ
ァBFE、64はバッファBF0,65は送信シフトレ
ジスタTSRである。
FIG. 6 further shows the internal configuration of the repeat circuit 51 in FIG. 5. In FIG. is the transmission shift register TSR.

リング上を伝送されるデータはビット直列形式をとって
いるため、受信データは、受信シフトレジスタR3R6
1でフレーム検出ごとに9ビツトずつ並列データに変換
され、バッファBFA62に格納される。
Since the data transmitted on the ring is in a bit serial format, the received data is transferred to the receive shift register R3R6.
1, 9 bits are converted into parallel data for each frame detected and stored in the buffer BFA62.

バッファBFA62のデータは、第5図の受信回路52
を経て、CPUへ送出されるが、同時にバッファBFE
63とバッファBFO64のいずれか一方に書き込まれ
る。バッファBFE63とバッファBFO64は2それ
ぞれ書き込みと読み出し動作を同時並行的に交互に行う
ことが可能にされている。リピート動作時においては、
これらのバッファBFE63およびBFO64に交互に
書き込まれたデータは1反対側から交互に読み出すこと
により、連続的にリピート転送される。
The data in the buffer BFA62 is sent to the receiving circuit 52 in FIG.
is sent to the CPU, but at the same time the buffer BFE
63 or buffer BFO64. The buffer BFE 63 and the buffer BFO 64 are capable of performing write and read operations simultaneously and alternately. During repeat operation,
The data alternately written in these buffers BFE63 and BFO64 are continuously and repeatedly transferred by alternately reading them from the opposite side.

送信シフトレジスタTSR65は、9ビツトの並列デー
タをビット直列データに変換するために使用され、自ノ
ードからのデータ送信時に第5図の送信回路53から出
力されたデータ、あるいはリピート動作時にバッファB
FE63あるいはBF064から読み出された並列デー
タをビット直列データに変換してリング側に送出する。
The transmission shift register TSR 65 is used to convert 9-bit parallel data into bit serial data, and is used to convert data output from the transmission circuit 53 in FIG. 5 when transmitting data from its own node, or from buffer B during repeat operation.
Parallel data read from FE63 or BF064 is converted into bit serial data and sent to the ring side.

以上述べたように、トークンパッシング方式のリング状
ネットワークでは、リング上を巡回しているフリート−
クンを捕捉することにより送信権の獲得が行われるが、
常に1つのノードにフリート−クンの再生機能が与えら
れており、そのノードは、一定時間フリート−クンを受
信できなかった場合に新たなフリート−クンを再生し、
リング上に巡回させるようになっている。
As mentioned above, in a ring-shaped network using the token passing method, fleets circulating on the ring are
The right to transmit is acquired by capturing Kun, but
One node is always given the function of reproducing Fleet Tokens, and if that node cannot receive Fleet Tokens for a certain period of time, it reproduces new Fleet Tokens,
It is designed to circulate around the ring.

このようなフリート−クン再生機能をもつノードの状態
をアクティブモニタ状態といい、その他のノードの状態
をパッシブモニタ状態という。
The state of a node having such a free token regeneration function is called an active monitor state, and the state of other nodes is called a passive monitor state.

アクティブモニタ状態にあるノードに障害が起こった場
合には、一時的にアクティブモニタ放棄状態に移り、そ
の間に残りのパッシブモニタ状態のノードの中から1の
ノードを自動的に選出し。
If a failure occurs in a node in the active monitor state, it temporarily shifts to the active monitor abandonment state, and during that time one node is automatically selected from the remaining nodes in the passive monitor state.

アクティブモニタ状態に移す(すなわちリカバリする)
。そしてその除光にアクティブモニタ放棄状態にしてお
いたノードをパッシブモニタ状態に移すようにしている
。これは、障害を起こしたノ−ドが再びアクティブモニ
タ状態ノードに選出されないようにするためである。ま
た選出されなかったノードはそのままパンシブモニタ状
態に留まる。第7図はその状態遷移図である。
Move to active monitor state (i.e. recover)
. In order to remove the light, nodes that have been placed in an active monitor abandonment state are moved to a passive monitor state. This is to prevent the failed node from being elected as the active monitor state node again. In addition, nodes that are not selected remain in the passive monitor state. FIG. 7 is a state transition diagram.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

ところで、リング内のあるノードにリピート機能の障害
が発生した場合には、フリート−クンの正常なリピート
転送が中断されることになる。従来はパンシブモニタ状
態のノードにリピート機能害が発注した場合には、その
検出とリングからのノードの切り離しが可能であった。
By the way, if a repeat function failure occurs in a certain node within the ring, normal repeat transfer of fleet tokens will be interrupted. Previously, if a repeat function failure occurred in a node in a passive monitor state, it was possible to detect it and disconnect the node from the ring.

しかしフリート−クン再生機能をもつノードにリピート
障害が発生すると、そのノードは、一定時間ごとにフリ
ート−クンの再生を繰り返し、ノードにリピート機能の
障害が発生していることにいつまでも気付かないという
問題があった。
However, if a repeat failure occurs in a node that has a Free Token regeneration function, that node will continue to regenerate Fleet Tokens at regular intervals, and the problem is that the node will never notice that the repeat function has failed. was there.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、上記した問題点を解決するため、各ノードに
フリート−クンの再生回数カウント手段を設けておき、
フリート−クン再生機能をもつノードは、このカウント
手段を用いてフリート−クンの再生回数を監視し、リピ
ート障害検出を可能にしたもので、その構成は、少な(
とも一つ以上のノードと該ノードをバイパスする機能を
有する少なくとも一つの自動構成制御装置と該ノードと
該自動構成制御装置とを結ぶ支線とによって構成される
トークンパッシング方式を用いたリング通信機構におい
て、フリート−クンを再生する機能を持つノードが、フ
リート−クンの再生回数をカウントアツプし、これがあ
る一定の値に達した時に、該ノードのフリート−クン再
生機能を一時的に止め、フリート−クンを再生するノー
ドを交代させることを特徴としている。
In order to solve the above-mentioned problems, the present invention provides each node with means for counting the number of playbacks of free tokens.
A node with a free token playback function uses this counting means to monitor the number of times a free token has been played, making it possible to detect repeat failures.
In a ring communication mechanism using a token passing method, the ring communication mechanism is composed of one or more nodes, at least one automatic configuration control device having a function of bypassing the nodes, and a branch line connecting the nodes and the automatic configuration control device. , a node with the function of reproducing Fleet Tokens counts up the number of times the Fleet Tokens have been played, and when this reaches a certain value, it temporarily stops the Fleet Token regeneration function of the node and The feature is that the nodes that play Kun are alternated.

〔実施例〕〔Example〕

以下に1本発明の詳細を実施例にしたがって説明する。 The details of the present invention will be explained below based on examples.

第1図は本発明の1実施例の概要図であり、特に通信制
御アダプタの要部構成を示したものである。図において
、1は自動構成制御装置LNo。
FIG. 1 is a schematic diagram of one embodiment of the present invention, and particularly shows the main part configuration of a communication control adapter. In the figure, 1 is the automatic configuration control device LNo.

2はノードN0,3は上位装置のCPU、4は通信制御
アダプタ、5はTPC()−クンパッシングコントロー
ラ)、6はステータス制御部、7は送信/受信バッファ
、8はマイクロプロセサμ−P、9はフリート−クン再
生制御部、10は回数カウンタ、11はリミット検出部
、12はステータス遷移制御部、13はROM、14は
RAM。
2 is a node N0, 3 is a CPU of a host device, 4 is a communication control adapter, 5 is a TPC ()-Kun passing controller), 6 is a status control unit, 7 is a transmission/reception buffer, 8 is a microprocessor μ-P, 9 is a free token reproduction control section, 10 is a number counter, 11 is a limit detection section, 12 is a status transition control section, 13 is a ROM, and 14 is a RAM.

15はBUSを表す。15 represents BUS.

lの自動構成制御装置1.N、と2のノードN0は、第
2図および第3図に示されているリング状ネットワーク
内のLN、とNoにそれぞれ対応している。ここではノ
ードN。の通信制御アダプタ4の構成のみが示されてい
るが、他の全てのノードの通信制御アダプタにおいても
同様な構成がとられている。
l automatic configuration control device 1. Nodes N0 and 2 correspond to LN and No in the ring network shown in FIGS. 2 and 3, respectively. Here node N. Although only the configuration of the communication control adapter 4 is shown, the communication control adapters of all other nodes have similar configurations.

通信制御アダプタ4の基本的な機能は第4図ないし第7
図で説明した従来のものとほぼ同じであるが、特に本発
明に基づくリピート障害の検出制御を行う機能をそなえ
ている。8のマイクロプロセサμ−P内に示されている
回数カウンタ10およびリミット検出部11がそのため
の主要な手段として使用される。
The basic functions of the communication control adapter 4 are shown in Figures 4 to 7.
Although it is almost the same as the conventional one explained in the figure, it especially has a function of detecting and controlling repeat failure based on the present invention. A number counter 10 and a limit detector 11 shown in the microprocessor μ-P of 8 are used as the main means for this purpose.

TPC5のステータス制御部6は、ノードの制御状態す
なわちステータスを制御する。詳細は後述されるが、ア
クティブモニタ状態、アクティブモニタ放棄状態、パン
シブモニタ状態の3つの大きな状態と、これらの各状態
の中にさらに細かな状態、すなわちリピート状態、トー
クン保持状態。
The status control unit 6 of the TPC 5 controls the control state, that is, the status of the node. The details will be described later, but there are three major states: active monitor state, active monitor abandonment state, and passive monitor state, and within each of these states, there are further detailed states, namely, repeat state and token holding state.

トークン送出状態、トークン再生状態、モニタリカバリ
状態、ビーコン送出状態などがある。
There are a token sending state, a token reproducing state, a monitor recovery state, a beacon sending state, etc.

マイクロプロセサμ−P8において、フリート−クン再
生制御部9はノードがアクティブモニタ状態のときにだ
け機能化され、フリート−クンの再生送出動作を制御す
る。回数カウンタ10はフリート−クンの再生回数をカ
ウントする。リミット検出部11は回数カウンタlOの
カウント値を監視して、リミット値を超えるとリピート
障害発生と判定する。このリミット値は、たとえば1〜
2秒間に相当する回数に設定する。ステータス遷移制御
部12は、TPC5のステータス制御部6の状態切り替
えを制御する。特にリミット検出炉11がリピート障害
発生を判定したとき、ステータス制御部6に対して自ノ
ーどのアクティブモニタ状態をアクティブモニタ放棄状
態に遷移させ。
In the microprocessor μ-P8, the fleet token reproduction control section 9 is functionalized only when the node is in the active monitor state, and controls the reproduction and transmission operation of the fleet token. A number counter 10 counts the number of times a free token is played. The limit detection unit 11 monitors the count value of the number counter IO, and determines that a repeat failure has occurred when the limit value is exceeded. This limit value is, for example, 1 to
Set the number of times equivalent to 2 seconds. The status transition control unit 12 controls state switching of the status control unit 6 of the TPC 5. In particular, when the limit detection reactor 11 determines that a repeat failure has occurred, it causes the status control unit 6 to transition the active monitor state of the own node to the active monitor abandonment state.

他のノードの1つがアクティブモニタ状態を確立したと
きさらにパンシブモニタ状態に遷移させる。
When one of the other nodes establishes the active monitor state, it also transitions to the passive monitor state.

次に具体的な動作について述べる。Next, we will discuss specific operations.

まず現在、ノードN0がフリート−クン再生機能をもつ
アクティブモニタ状態にあり2回数カウンタ10はクリ
アされているものとする。この状態では、TPC5はフ
リート−クンの受信間隔を監視しており1次のフリート
−クンを所定の時間(T1とする)受信できなかった場
合には、マイクロプロセサ(μmP)8に割り込みをか
け、フリート−クン再生制御部9を起動する。
First, it is assumed that the node N0 is currently in an active monitor state with a free token regeneration function and the 2-times counter 10 has been cleared. In this state, the TPC 5 monitors the reception interval of fleet tokens, and if it cannot receive the first fleet token for a predetermined time (T1), it issues an interrupt to the microprocessor (μmP) 8. , activates the free token reproduction control section 9.

フリート−クン再生制御部9は、フリート−クン再生シ
ーケンスを実行し、TPC5から新たなフリート−クン
を送出させる。またこのとき同時に1回数カウンタ10
を1だけカウントアンプさせる。
The free token playback control section 9 executes a free token playback sequence and causes the TPC 5 to send out new free tokens. At the same time, the counter 10
Amplify the count by 1.

このようにして5 フリート−クンの再生が行われるた
びに、回数カウンタ10のカウント値は1ずつ大きくな
る。リミット検出部11は、この回数カウンタ10のカ
ウント値を、予め定められたリミット値と比較し、カウ
ント値がリミット値を超えたとき、ステータス遷移制御
部12に通知し。
In this way, each time 5 free tokens are reproduced, the count value of the number counter 10 increases by one. The limit detection section 11 compares the count value of the number counter 10 with a predetermined limit value, and notifies the status transition control section 12 when the count value exceeds the limit value.

アクティブモニタ状態からアクティブモニタ放棄状態へ
の遷移を行わせる。
Causes a transition from the active monitor state to the active monitor abandonment state.

次に1本実施例における状態遷移について説明する。第
8図は状態遷移図であり、第9図はその各状態を制御す
るステータス制御部6内に設けられている各ステータス
FFの状態とその制御事象との対応関係を示したもので
ある。
Next, state transition in this embodiment will be explained. FIG. 8 is a state transition diagram, and FIG. 9 shows the correspondence between the states of each status FF provided in the status control unit 6 that controls each state and its control events.

第8図において、状態遷移は大きく次の3つのモニタ状
態に分けられている。
In FIG. 8, state transitions are roughly divided into the following three monitor states.

アクティブモニタ状態(1) アクティブモニタ放棄状態(n) パフシブモニタ状態(III) 上記各モニタ状態は、さらに正常状態と異常状態とに分
かれている。
Active monitor state (1) Active monitor abandonment state (n) Puffy monitor state (III) Each of the above monitor states is further divided into a normal state and an abnormal state.

まず正常状態においては、  N)、  (n)、  
(■)のいずれのモニタ状態にあるノードも、リピート
状態■−トークン保持状態■−トークン送出状態■−リ
ピート状態■の遷移を行う。以下正常状態の動作を説明
する。
First, under normal conditions, N), (n),
A node in any of the monitor states (■) undergoes a transition from repeat state (■) to token holding state (■) to token sending state (■) to repeat state (■). The operation in the normal state will be explained below.

A、正常状態 リピート状態■では、受信したフリート−クンをそのま
ま送信する。しかし自ノードに送信要求が生じた場合に
は、フリニド−クンを受信するとこれを捕捉し、トーク
ン保持状態■に移る。
A. In normal state repeat state (2), the received fleet token is transmitted as is. However, when a transmission request is made to the own node, upon receiving the Flinidokun, the node captures it and moves to the token holding state (2).

トークン保持状態■では、ノードが送信権を獲得しフレ
ーム送出動作を行う。フレームを送出するとトークン送
出状態■に移る。
In the token holding state ■, the node acquires the transmission right and performs a frame sending operation. After sending the frame, the state moves to the token sending state ■.

トークン送出状態■では、フリート−クンの送出動作を
行い、フリート−クンを送出するとリピート状態■に戻
る。
In the token sending state (2), a free token sending operation is performed, and when the free token is sent out, the state returns to the repeat state (2).

次に、各モニタ状態(1)、  (II)、  (II
[)のノードにおける異常状態の動作を説明する。
Next, each monitor state (1), (II), (II
The operation in an abnormal state at the node [) will be explained.

B、異常状態 ヱ?−Pエフ’%三叉吠憇」エム アクティブモニタ状G (1)のノードのリピート状態
■において、フリート−クンあるいはビジートークンの
いずれも一定時間T、の間受信できなかった場合には、
T+ タイムアウトによりマイクロプロセサ8に割り込
みをかけ、■のトークン再生状態に移る。
B. Abnormal condition? In the repeat state of the node in (1), if neither the fleet token nor the busy token can be received for a certain period of time T,
T+ Timeout causes an interrupt to the microprocessor 8, and the state shifts to the token regeneration state (2).

トークン再生状態■では、フリート−クン再生動作を行
い、まずリング内をクリアするリングバージフレームR
PFを送出し、トークン送出状態■に移る。このとき回
数カウンタ10を1だけカウントアツプする。トークン
送出状態■でフリート−クンを送出するとリピート状態
■に戻る。ここで再びT2の問いずれのトークンも受信
できないとトークン再生状態■に移り、上記した動作の
繰り返しが行われる。トークン再生状態■において1回
数カウンタ10のカウント値すミ、ト値を超えると、こ
のノードはアクティブモニタ放棄状u (n)のリピー
ト状態■に移る。
In the token regeneration state■, the ring barge frame R performs the free token regeneration operation and first clears the inside of the ring.
Sends PF and moves to token sending state ■. At this time, the number counter 10 is incremented by one. If a free token is sent in the token sending state ■, the state returns to the repeat state ■. If no token is received again at time T2, the state shifts to the token regeneration state (2), and the above-described operations are repeated. When the count value of the counter 10 exceeds the sum and g values once in the token regeneration state (2), this node moves to the repeat state (2) of the active monitor abandonment letter u (n).

アクティブモニタ放棄状G (II) このリピート状態■においてT、よりも大きい時間T2
の時間監視を行い、T2の間トークンを受信できないと
き、T2タイムアウトとなり、マイクロプロセサ8に割
り込みがかかって■のビーコン送出状態に移る。
Active monitor abandonment letter G (II) In this repeat state ■, the time T2 is greater than T.
When a token cannot be received during T2, T2 times out, an interrupt is applied to the microprocessor 8, and the state shifts to the beacon sending state (2).

ビーコン送出状態■では、ビーコンフレームBCFを送
出し、その結果BCFを受信できればリピート状態■に
戻る。なお自動構成制御装置LN。は、ビーコンフレー
ムBCFを監視シ、B CF送出ノードを切り離し1回
復しない場合にはその1つ前のノードを異常ノードとし
て切り離すようにして障害回復処理を行う。
In the beacon sending state (2), a beacon frame BCF is sent out, and if the BCF can be received as a result, the state returns to the repeat state (2). Note that automatic configuration control device LN. The failure recovery process is performed by monitoring the beacon frame BCF, disconnecting the BCF sending node, and if it does not recover, disconnecting the previous node as an abnormal node.

上記した場合のようにアクティブモニタ放棄状Nu(I
I)のノードに異常がなければ、そのリピート状態■に
おいて、他ノードが送出した(SA≠MA)リングパー
ジフレームRPFを受信すると。
As in the above case, active monitor abandonment letter Nu(I
If there is no abnormality in the node I), it receives a ring purge frame RPF sent by another node (SA≠MA) in its repeat state ■.

フリート−クン再生機能をもつアクティブモニタ状態ノ
ードの交代が完了したものとして、パフシブモニタ状g
 (i )のリピート状態■に移る。
Assuming that the replacement of the active monitor state node with the free token regeneration function has been completed, the puffive monitor state g
Move to repeat state (i) (■).

バヱ21〕三七口(i工l) パンシブモニタ状態にある各ノードは1時間T2による
フレーム受信監視を行い、T2タイムアウトとなったと
き■のモニタリカバリ状態に移る。
B21] Sanshichiguchi (I Engineering) Each node in the passive monitor state monitors frame reception at T2 for one hour, and when T2 times out, shifts to the monitor recovery state (2).

このモニタリカバリ状態■では新アクティブモニタ状態
ノードを選出するための動作が行われる。
In this monitor recovery state ■, an operation is performed to select a new active monitor state node.

各パフシブモニタ状態のノードは、T2タイムアウトに
なって1順番にモニタリカバリフレームMRFを送出す
る。このときMRF中に自ノードのアドレスMAをソー
スアドレスSAとして書き込んでおく。なおSAの大き
いノードはど上位であるとする。
Each node in the puffive monitor state sends out a monitor recovery frame MRF in one order after the T2 timeout occurs. At this time, the address MA of the own node is written into the MRF as the source address SA. It is assumed that the node with the larger SA is at the higher level.

次に各ノードは1巡回してきたMRFを受信し。Next, each node receives the MRF that has made one round.

そのソースアドレスSAと自ノードアドレスMAとを照
合し、SA=MAであればMRF送出をリトライし、S
 A >MAであれば他にアクティブモニタ状態ノード
となるべき上位のノードが存在しているものと判定して
、リピート状態■に戻る。
The source address SA is compared with the own node address MA, and if SA=MA, the MRF transmission is retried, and the S
If A > MA, it is determined that there is another higher-order node that should become an active monitor state node, and the process returns to repeat state (2).

またSA<MAであればMRFを次のノードに転送する
。このようにして下位のノードは順次淘汰され、最後に
最上位のノードが残る。このノードハS A = M 
Aとなり、この条件でアクティブモニタ状態(I)のリ
ピート状態■に移る。すなわち新アクティブモニタ状態
ノードの選出が完了する。
If SA<MA, the MRF is transferred to the next node. In this way, the lower nodes are weeded out one after another, and the highest node remains at the end. This node is S A = M
A, and under this condition, the active monitor state (I) moves to the repeat state (■). In other words, the selection of a new active monitor state node is completed.

なお、モニタリカバリ状態■においてMRFを選出した
ノードは、 自己のMRFが一周して戻る時間を監視し
ており、MRFが一定時間以上戻らず、MRF送出のり
トライができない場合にはMRFリトライアウトとして
ビーコン送出状態■に移り、ビーコンフレームBCFを
送出して、自動構成制御装置による異常4−ド切り離し
の障害回復処理を行わせ、自ノードが異常なく BCF
を受信すればリピート状態に戻る。
Note that the node that selected the MRF in monitor recovery state ■ monitors the time it takes for its own MRF to complete one cycle and return, and if the MRF does not return for a certain period of time or more and the MRF cannot be retried, the node will issue an MRF retryout. Moves to beacon sending state ■, sends a beacon frame BCF, causes the automatic configuration control device to perform fault recovery processing for disconnecting the abnormal 4-board, and confirms that there is no abnormality in the own node BCF
If received, it returns to the repeat state.

以上のようにして、アクティブモニタ状態ノードのフリ
ート−クン受信に異常が生じると自動的にアクティブモ
ニタ状態ノードの交代が行われ5リピ一ト機能に障害が
あるノードの切り離しが可能となる。
As described above, when an abnormality occurs in the reception of fleet tokens by a node in the active monitor state, the active monitor state node is automatically replaced, and it becomes possible to disconnect the node having a failure in the 5-repeat function.

次に第9図に示すステート制御部内の各ステートFFに
ついて説明する。図において、91ないし99で示され
る9個のステータスFFは、それぞれ第8図に示されて
いる遷移状態(1)、  (II)、(III)、■、
■、■、■、■、■に対応して。
Next, each state FF in the state control section shown in FIG. 9 will be explained. In the figure, nine status FFs indicated by 91 to 99 are in the transition states (1), (II), (III), ■, shown in FIG. 8, respectively.
In response to ■,■,■,■,■.

現在の状態を表示するために使用される。Used to display current status.

ステータスFF9 Lは、アクティブモニタ状態(口を
表示する。この状態は、SA=MAのMRFを受信した
ときにセントされ、カウンタ値−リミット値が検出され
たときにリセットされる。
Status FF9L indicates the active monitor state (mouth). This state is sent when an MRF with SA=MA is received, and is reset when the counter value minus the limit value is detected.

ステータスFF92は、アクティブモニタ放棄状v (
II)を表示する。この状態は、カウンタ値=リミット
値の検出によりセットされ、SAeMAのRPMを受信
したときりセントされる。
Status FF92 is active monitor abandonment letter v (
II). This state is set by the detection of the counter value=limit value and is sent when the SAeMA RPM is received.

ステータスFF93は、パンシブモニタ状G(■)を表
示する。この状態は、SA≠MAのRPFを受信したと
きにセントされ、SA=MAのMRFを受信したときに
リセットされる。
The status FF 93 displays a passive monitor type G (■). This state is sent when an RPF with SA≠MA is received and reset when an MRF with SA=MA is received.

ステータスFF94は、リピート状態■を表示する。こ
の状態は、初期設定時あるいはトークン送出によりセン
トされ、トークン捕捉T1タイムアウト Tzタイムア
ウトのそれぞれによりリセットされる。
The status FF 94 displays a repeat status ■. This state is entered at initialization or by token sending, and is reset by each token capture T1 timeout Tz timeout.

ステータスFF95は、トークン保持状態■を表示する
。この状態は、トークン捕捉によりセソトされ、フレー
ム送出によりリセットされる。
The status FF95 displays the token holding state ■. This state is cleared by token capture and reset by frame sending.

ステータスFF96は、トークン送出状態■を表示する
。この状態は、トークン送出あるいはRPF送出により
セントされ、トークン送出によりリセットされる。
The status FF 96 displays the token sending status ■. This state is sent by sending a token or sending an RPF, and is reset by sending a token.

ステータスFF97は、トークン再生状態■を表示する
。この状態は、T1タイムアウトによりセントされ、R
PF送出によりリセットされる。
The status FF97 displays the token playback status ■. This condition is sent by T1 timeout and R
Reset by sending PF.

ステータスFF98は、ビーコン送出状態であり、MR
F送信リトライアウトあるいはここでは説明を省略した
断線検出時にセントされ、BCF受信によりリセットさ
れる。
Status FF98 is in beacon sending state, and MR
It is sent at the time of F transmission retryout or when a disconnection is detected, the explanation of which is omitted here, and is reset by BCF reception.

ステータスFF99は、モニタリカバリ状態を表示する
。この状態は、T2タイムアウトによりセットされ、S
A>MAのMRF受信、SA=MAのMRF受信、MR
F送信リトライアウトのそれぞれによりリセットされる
Status FF99 displays the monitor recovery state. This condition is set by T2 timeout and S
A>MA's MRF reception, SA=MA's MRF reception, MR
Reset by each F transmission retryout.

〔発明の効果〕〔Effect of the invention〕

以上のように1本発明によれば、リピート機能に障害を
もつノードは、フリート−クンの再生を繰り返し、ある
一定の回数で再生が停止され、フリート−クン再生機能
をもつノートを他のノードに交代されるため、長時間リ
ピート機能の障害に気付かず、フリート−クンの再生が
繰り返される状態が続くのを防くことができる。
As described above, according to the present invention, a node with a failure in the repeat function repeatedly plays back Fleet-Kun, and the playback is stopped after a certain number of times, and the node having the Fleet-Kun playback function is transferred to another node. Therefore, it is possible to prevent a state in which free tokens are repeatedly played back without noticing the failure of the repeat function for a long time.

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

第1図は9本発明の1実施例の概要構成図、第2図はリ
ング状ネットワークの構成図、第3図は自動構成制御装
置とノードの接続説明図、第4図は通信制御アダプタの
構成図、第5図はトークンパッシングコントローラ(T
PO)の構成図、第6図はリピート回路の構成図、第7
図は状態遷移図、第8図は本発明実施例における詳細な
状態遷移図、第9図は本発明実施例におけるステータス
制御部のステータスFFの説明図である。 図中、1は自動構成側?B装置り、No、2はノードN
0,3は上位装置のCPU、4は通信制御アダプタ、5
はトークンパッシングコントローラ(TPC)、6はス
テータス制御部、7は送信/受信バッファ、8はマイク
ロプロセサ(μ−P)。 9はフリート−クン再生制御部、10は回数カウンタ、
11はリミット検出部、12はステータス遷移制御部、
13はROM、14はRAM、15はBusを表す。
FIG. 1 is a schematic configuration diagram of one embodiment of the present invention, FIG. 2 is a configuration diagram of a ring network, FIG. 3 is an explanatory diagram of connections between an automatic configuration control device and nodes, and FIG. 4 is a diagram of a communication control adapter. The configuration diagram, Figure 5, shows the token passing controller (T
Figure 6 is the configuration diagram of the repeat circuit, and Figure 7 is the configuration diagram of the repeat circuit.
8 is a detailed state transition diagram in the embodiment of the present invention, and FIG. 9 is an explanatory diagram of the status FF of the status control unit in the embodiment of the present invention. In the diagram, is 1 on the automatic configuration side? B device No. 2 is node N
0 and 3 are CPUs of host devices, 4 is communication control adapter, 5
is a token passing controller (TPC), 6 is a status control unit, 7 is a transmitting/receiving buffer, and 8 is a microprocessor (μ-P). 9 is a free token playback control unit; 10 is a number counter;
11 is a limit detection section, 12 is a status transition control section,
13 represents ROM, 14 represents RAM, and 15 represents Bus.

Claims (1)

【特許請求の範囲】[Claims] 少なくとも一つ以上のノードと該ノードをバイパスする
機能を有する少なくとも一つの自動構成制御装置と該ノ
ードと該自動構成制御装置とを結ぶ支線とによって構成
されるトークンパッシング方式を用いたリング通信機構
において、フリートークンを再生する機能を持つノード
が、フリートークンの再生回数をカウントアップし、こ
れがある一定の値に達した時に、該ノードのフリートー
クン再生機能を一時的に止め、フリートークンを再生す
るノードを交代させることを特徴とするリピート機能障
害検出制御方式。
In a ring communication mechanism using a token passing method, which is constituted by at least one or more nodes, at least one automatic configuration control device having a function of bypassing the node, and a branch line connecting the node and the automatic configuration control device. , a node with the function of reproducing free tokens counts up the number of times the free token has been regenerated, and when this reaches a certain value, the node's free token regeneration function is temporarily stopped and the free token is regenerated. A repeat function failure detection control method characterized by replacing nodes.
JP59240154A 1984-11-14 1984-11-14 System for detecting and controlling fault of repeat function Granted JPS61118044A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59240154A JPS61118044A (en) 1984-11-14 1984-11-14 System for detecting and controlling fault of repeat function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59240154A JPS61118044A (en) 1984-11-14 1984-11-14 System for detecting and controlling fault of repeat function

Publications (2)

Publication Number Publication Date
JPS61118044A true JPS61118044A (en) 1986-06-05
JPH0254987B2 JPH0254987B2 (en) 1990-11-26

Family

ID=17055296

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59240154A Granted JPS61118044A (en) 1984-11-14 1984-11-14 System for detecting and controlling fault of repeat function

Country Status (1)

Country Link
JP (1) JPS61118044A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6633577B1 (en) 1997-03-26 2003-10-14 Nec Corporation Handshaking circuit for resolving contention on a transmission medium regardless of its length
KR100400343B1 (en) * 1997-03-26 2003-12-24 닛뽕덴끼 가부시끼가이샤 Method for solving contention on transmission medium, regardless of length, handshaking circuit and communication system having same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6633577B1 (en) 1997-03-26 2003-10-14 Nec Corporation Handshaking circuit for resolving contention on a transmission medium regardless of its length
KR100400343B1 (en) * 1997-03-26 2003-12-24 닛뽕덴끼 가부시끼가이샤 Method for solving contention on transmission medium, regardless of length, handshaking circuit and communication system having same

Also Published As

Publication number Publication date
JPH0254987B2 (en) 1990-11-26

Similar Documents

Publication Publication Date Title
JP3047275B2 (en) Backup switching control method
US7518989B2 (en) Method and apparatus for recovery from faults in a loop network
US4860284A (en) Method and apparatus for identifying location of a lost token signal in a data communication network
JP2006072717A (en) Disk subsystem
JPS61118044A (en) System for detecting and controlling fault of repeat function
JP4774400B2 (en) Monitoring system
JP2001306262A (en) Method for controlling information processing system and information processing system
JP2007274153A (en) Disconnection method of faulty apparatus in fiber channel switch
JP2014532236A (en) Connection method
JPS58170247A (en) Automatic loop back controlling system
JP2000242520A (en) Multi-node computer system and method for specifying fault occurrence cause place
JP2826774B2 (en) Data transfer device
JPH08329023A (en) Parallel electronic computer system
JP3226867B2 (en) Received message recovery method in hot standby system, received message recovery method in hot standby system, and recording medium storing received message processing program
JPS62175044A (en) Duplexing loop-shaped transmission line
JP2785754B2 (en) Data processing system
JPH0414934A (en) Communication line fault detecting method in distributed processing system
JPH04319831A (en) Network monitoring system
JPH07200326A (en) System operating information management device restoring system operating information
JPH1188387A (en) Loop type transmission device
JPH04141869A (en) Method for detecting abnormality of optical disk medium and implementing device thereof
JPH0795747B2 (en) Data transmission equipment
JPH01230111A (en) Power source control system
JPH02224545A (en) Local area network
JP2000295239A (en) Transfer control system and method for detecting faulty node at file transfer