JPH03268537A - Ring type local aera network system - Google Patents

Ring type local aera network system

Info

Publication number
JPH03268537A
JPH03268537A JP2066688A JP6668890A JPH03268537A JP H03268537 A JPH03268537 A JP H03268537A JP 2066688 A JP2066688 A JP 2066688A JP 6668890 A JP6668890 A JP 6668890A JP H03268537 A JPH03268537 A JP H03268537A
Authority
JP
Japan
Prior art keywords
station
idle pattern
token
ring
pattern output
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
JP2066688A
Other languages
Japanese (ja)
Inventor
Ikuko Takada
高田 郁子
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2066688A priority Critical patent/JPH03268537A/en
Publication of JPH03268537A publication Critical patent/JPH03268537A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To surely recover the abnormality in token issuing by sending an idle pattern in which only one station among plural ones connected to a transmission line becomes an idle pattern output station at the time of detecting the abnormality in token issuing, then clearing the transmission line. CONSTITUTION:In a token erasing state, whether a token is issued from a taken issuing station within a prescribed monitoring time or not is decided and when the decided result is NO, only one station among plural stations which are not the token issuing station is regarded as the station detecting the abnormality in the token issuing, outputs an idle pattern and starts a processing for clearing a ring (ring type transmission line 11). Even when an irregular data pattern is generated due to the noise of the ring type transmission line during the period of token issuing and the abnormality in token issuing is generated, the idle pattern is sent to the transmission line only by one station among plural ones connected to the transmission line, so that the transmission line can surely be cleared and the abnormal state in the token issuing can easily be recovered.

Description

【発明の詳細な説明】 し発明の目的] (産業上の利用分野) この発明は、トークンパッシング方式を適用するリング
型LAN (ローカルエリアネットワーク)システムに
係り、特にトークン発行異常時の異常回復処理方式に関
する。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) This invention relates to a ring-type LAN (Local Area Network) system that applies a token passing method, and in particular to an abnormality recovery process when a token issuance abnormality occurs. Regarding the method.

(従来の技術) 複数の局(ステーション)がリング状の伝送路(リング
型伝送路)により接続されたリング型LANシステムで
は、一般にトークンと称される特殊フレーム(トークン
フレーム)をリング(リング型伝送路)上で周回させて
おき、トークンを確保した局か送信権を獲得して他局へ
の送信を行い、送信か終了するとトークンを再びリング
に戻すことによりトークンを解放する、いわゆるトーク
ンパッシング方式による通信制御が適用される。
(Prior Art) In a ring-type LAN system in which multiple stations are connected by a ring-shaped transmission path (ring-type transmission path), a special frame (token frame) generally called a token is The station that secured the token acquires the transmission right and transmits it to another station, and when the transmission is finished, the token is released by returning it to the ring, so-called token passing. Communication control based on the method is applied.

このようなトークンパッシング方式のリング型LANシ
ステムでは、リングからトークンか消失した場合には送
信が行えなくなる。この場合、従来はリング上の局のう
ち最大のアドレス(局アドレス)を持つ局(最大アドレ
ス局)を検出し、その最大アドレス局かトークン発行装
置によりトークンを発行するようになっていた。しかし
、この最大アドレス局かトークン発行に失敗した場合に
は、やはり送信か行えなくなる。
In such a ring-type LAN system using a token passing method, if a token disappears from the ring, transmission cannot be performed. In this case, conventionally, the station with the largest address (station address) among the stations on the ring (maximum address station) is detected, and a token is issued by the station with the largest address or the token issuing device. However, if this maximum address station fails to issue a token, it will no longer be possible to transmit.

さて、トークン発行の失敗は、■伝送路ノイズ等により
システム規定範囲外のデータパターンが伝送路上に発生
した場合、あるいは■トークン発行装置が故障した場合
に生じる。上記■の要因によりトークン発行失敗が発生
した場合には、装置の初期化、もしくは装置をリングか
ら離脱させる(切離す)ことで解決可能である。これに
対して上記■の場合には、障害回復は困難である。また
、■の要因に対して障害回復を試みても、各局は自局か
最大アドレス局か、そうでないかしか知ることかできな
いため、全局がリング上にアイドルパターン(フレーム
間であること、即ちフレームでないことを示す特定パタ
ーン)を出力することになる。これては、各局における
トークン発行異常検出のタイミングのずれにより、断続
的にアイドルパターンがリングに出力され続ける虞があ
り、異常回復(分散型異常回復)の試行状態から抜けら
れない。
Now, token issuance failure occurs when (1) a data pattern outside the system specified range occurs on the transmission line due to transmission line noise, or (2) when the token issuing device breaks down. If a token issuance failure occurs due to the factor (2) above, it can be resolved by initializing the device or separating (separating) the device from the ring. On the other hand, in case (2) above, failure recovery is difficult. In addition, even if you attempt to recover from the failure due to the factor (■), each station can only know whether it is its own station, the station with the highest address, or not. A specific pattern indicating that the frame is not a frame will be output. There is a risk that the idle pattern will continue to be outputted to the ring intermittently due to the timing difference in token issuance abnormality detection at each station, and the system will not be able to escape from the abnormality recovery (distributed abnormality recovery) trial state.

(発明か解決しようとする課題) 上記したように従来は、伝送路ノイズなとによりシステ
ム規定外のデータパターンか発生した場合には、トーク
ン発行異常か回復されず、また分散型異常回復を行って
も各局のトークン発行異常検出のタイミングのずれによ
り、異常回復の試行状態から抜けられないという問題か
あった。
(Problem to be solved by the invention) As mentioned above, conventionally, when a data pattern outside the system specifications occurs due to transmission line noise, token issuance errors are not recovered, and distributed error recovery is not performed. However, due to the timing difference in the detection of abnormality in token issuance at each station, there was a problem in that it was not possible to exit the abnormality recovery trial state.

この発明は上記事情に鑑みてなされたものでその目的は
、トークン発行中なとに規定外データパターンが発生し
ても、リング(伝送路)を正しくクリアしてトークン発
行異常を確実に回復できるリング型LANシステムを提
供することにある。
This invention was made in view of the above circumstances, and its purpose is to correctly clear the ring (transmission path) even if an unspecified data pattern occurs during token issuance, and to reliably recover from the token issuance abnormality. Our objective is to provide a ring-type LAN system.

し発明の構成] (課題を解決するための手段) この発明は、トークンパッシングを適用するリング型L
ANシステムにおいて、伝送路(リング型伝送路)に接
続されている複数の局の中からアイドルパターン出力局
を決定するアイドルパターン出力局決定手段と、トーク
ン発行層を決定するトークン発行層決定手段と、トーク
ン発行層からのトークン発行の異常を検出するトークン
発行異常検出手段と、このトークン発行異常検出手段に
よってトークン発行異常か検出された場合に、アイドル
パターン出力局により伝送路にアイドルパターンを送出
してこの伝送路(リング)をクリアするリングクリア手
段とを設け、伝送路に接続されている(リングに参加し
ている)複数の局のうちの1局たけかアイドルパターン
出力局となってアイドルパターンを送出して伝送路をク
リアするようにしたことを特徴とするものである。また
、この発明では、アイドルパターン出力局決定手段によ
り、マスタとスレーブの2つのアイドルパターン出力局
が決定され、基本的にはマスタ側アイドルパターン出力
局によってアイドルパターン送出が行われ、このマスタ
側アイドルパターン出力局が異常の場合に限りスレーブ
側アイドルパターン出力局によってアイドルパターン送
出が行われるようにしている。
[Structure of the invention] (Means for solving the problem) This invention provides a ring type L that applies token passing.
In the AN system, idle pattern output station determining means determines an idle pattern output station from among a plurality of stations connected to a transmission path (ring type transmission path), and token issuing layer determining means determines a token issuing layer. , a token issuance abnormality detection means for detecting an abnormality in token issuance from the token issuance layer, and when a token issuance abnormality is detected by the token issuance abnormality detection means, an idle pattern is sent to the transmission path by an idle pattern output station. A ring clearing means for clearing the transmission line (ring) as a lever is provided, and one of the multiple stations connected to the transmission line (participating in the ring) becomes an idle pattern output station and is idle. The feature is that the transmission path is cleared by sending out a pattern. Further, in the present invention, two idle pattern output stations, a master and a slave, are determined by the idle pattern output station determining means, and basically the idle pattern output station on the master side performs idle pattern transmission, and the idle pattern output station on the master side The idle pattern is sent out by the idle pattern output station on the slave side only when the pattern output station is abnormal.

(作用) 上記の構成によれば、トークン発行中にリング型伝送路
ノイズなどにより規定外データパターンが発生し、トー
クン発行異常となった場合には、伝送路に接続されてい
る複数の局のうちのアイドルパターン出力局決定手段に
よって決定された1つの局によって伝送路に例えばリン
グ1周分のアイドルパターンが送出されるので、伝送路
か確実にクリアされ、トークン発行異常状態が簡単に回
復する。またアイドルパターン出力局を、マスタとスレ
ーブの2局とすることにより、たとえマスタが異常のた
めにアイドルパターンか送出できなくても、スレーブが
代わりにアイドルパターンを送出できるので、トークン
発行異常状態の確実な回復が可能となる。
(Function) According to the above configuration, if a non-standard data pattern occurs due to ring-type transmission line noise or the like during token issuance, and a token issuance error occurs, multiple stations connected to the transmission line Since one station determined by our idle pattern output station determining means sends out an idle pattern for one round of the ring to the transmission path, the transmission path is reliably cleared and the token issuing abnormality can be easily recovered. . In addition, by having two idle pattern output stations, a master and a slave, even if the master is unable to send out an idle pattern due to an error, the slave can send out an idle pattern instead. A reliable recovery is possible.

(実施例) 第1図はトークンパッシング方式を適用するリング型L
ANの一実施例を示すシステム構成図である。同図にお
いて、11はリング型伝送路、12−1〜12−5はリ
ング型伝送路11に接続され、同伝送路11を介してデ
ータ通信を行うための局(ステーション、通信装置)で
ある。この局12−1〜12−5には、リング型伝送路
11を利用して相互に通信を行う端末等(図示せず)が
接続される。本実施例において、局12−1〜12−5
のアドレス(局アドレス)は次の通りであるものとする
(Example) Figure 1 shows a ring type L that applies the token passing method.
FIG. 2 is a system configuration diagram showing an example of an AN. In the figure, 11 is a ring type transmission line, and 12-1 to 12-5 are stations (stations, communication devices) that are connected to the ring type transmission line 11 and perform data communication via the ring type transmission line 11. . The stations 12-1 to 12-5 are connected to terminals (not shown) that communicate with each other using the ring-type transmission line 11. In this embodiment, stations 12-1 to 12-5
The address (station address) shall be as follows.

局12−1・・・00FOh 局12−2・・・0002h 局12−3・・・0F12h 局12−4・・・00 F 1. h 局12−5・・・0710h なお、末尾のhは16進表現であることを示す。Station 12-1...00FOh Station 12-2...0002h Station 12-3...0F12h Station 12-4...00 F 1. h Station 12-5...0710h Note that the suffix h indicates hexadecimal representation.

さて、第1図のシステムでは、トークンはリング(リン
グ型LANの伝送路+1)に対して単一である。但し、
システム運用開始時等においては、リング上にトークン
は存在しない。この状態をトークン消失状態と呼ぶ。こ
のトークン消失状態に入ると、局12−i (i −1
〜5)はトークンを発行する局(トークン発行層)を決
定するためのトークン発行層決定処理を行い、トークン
発行層に決定された局がトークン発行処理を行う。この
動作について、第2図のフローチャートを参照して説明
する。まず局12−iは、トークン消失状態に入ってか
ら所定時間内にトークンが発行されるか否かを調べるた
めに、時間監視を開始する(ステップSl)。次に局1
2−iは図示せぬ最大アドレス局検出機構を用いて、リ
ングに参加している(リング型伝送路11に接続されて
いる)局の中から最大の局アドレスを持つ局(最大アド
レス局)を検出する(ステップS2)。これは、各局1
2−1か自局のアドレスを付加した特定のフレーム(ク
レームフレームと呼ぶ)をリング型伝送路ll上に送出
する一方、上流から伝送されたクレームフレーム中の局
アドレスと自局アドレスとを比較し、クレームフレーム
中の局アドレスの方か大きい場合たけ、上流からのクレ
ームアドレスを下流に流す。したがって最終的には、最
大アドレス局からのクレームフレームだけかリング型伝
送路11を一周して、その発行元(最大アドレス局)に
戻るため、最大アドレス局が検出てきる。
Now, in the system shown in FIG. 1, there is only one token for the ring (transmission path +1 of the ring type LAN). however,
When the system starts operating, there are no tokens on the ring. This state is called a token loss state. Upon entering this token loss state, station 12-i (i −1
~5) performs a token issuing layer determination process to determine the station that issues the token (token issuing layer), and the station determined as the token issuing layer performs the token issuing process. This operation will be explained with reference to the flowchart in FIG. First, the station 12-i starts time monitoring to check whether a token is issued within a predetermined time after entering the token loss state (step Sl). Next station 1
2-i uses a maximum address station detection mechanism (not shown) to detect the station with the maximum address (maximum address station) from among the stations participating in the ring (connected to the ring type transmission line 11). is detected (step S2). This is for each station 1
2-1: While transmitting a specific frame (called a claim frame) with the address of the local station added onto the ring transmission line II, compare the station address in the claim frame transmitted from upstream with the local station address. However, if the station address in the claim frame is larger, the claim address from upstream is passed downstream. Therefore, in the end, only the claim frame from the highest address station goes around the ring transmission path 11 and returns to its issuer (the highest address station), so that the highest address station detects the claim frame.

局12−1は、ステップS2の最大アドレス局の検出に
より、自局が最大アドレス局であるか否かの判定を行い
(ステップS3)、最大アドレス局であれば自局をトー
クン発行層に決定する(ステップS4)。この場合、局
12−1は直ちにトークン発行処理に進んでリング型伝
送路11上にトークンを発行する(ステップS5)。そ
してトークン発行層12−jは、トークン発行層となっ
たことを示すステータス(トークン発行層ステータス)
を自局内に格納しくステップS6)  その後、アイド
ルパターンを出力する局を2局(マスタ側アイドルパタ
ーン出力局とスレーブ側アイドルパターン出力局)抽出
するための後述するアイドルパターン出力局決定処理に
入る。第1図のシステムでは、局12−1〜12−5の
うち、局12−3のアドレス“0F12h”か最大であ
ることから、局12−3がトークン発行層となる。
Based on the detection of the maximum address station in step S2, the station 12-1 determines whether or not its own station is the maximum address station (step S3), and if it is the maximum address station, determines its own station as the token issuing layer. (Step S4). In this case, the station 12-1 immediately proceeds to token issuing processing and issues a token on the ring type transmission line 11 (step S5). The token issuing layer 12-j then has a status indicating that it has become a token issuing layer (token issuing layer status).
(Step S6) Thereafter, an idle pattern output station determination process is started to extract two stations (a master side idle pattern output station and a slave side idle pattern output station) that output idle patterns (step S6). In the system shown in FIG. 1, among the stations 12-1 to 12-5, the address "0F12h" of the station 12-3 is the largest, so the station 12-3 becomes the token issuing layer.

これに対して、局12−1か最大アドレス局でない場合
(自局からのクレームフレームか戻らなかった局の場合
)、シたがってトークン発行層になれない場合には、そ
の局12−j (ここでは局12−1゜12−2.12
−4.12−5)は所定の監視時間内にトークン発行局
からトークンか発行されたか否かの判定を行い(ステッ
プS7) 、YESであれば通常モード(通常状態)に
入る。一方、ステップS7の判定がNoであれば、その
局12−i、即ちトークン発行局でない局は、トークン
発行異常を検出したものとして、そのうちの1局だけが
アイドルパターンを出力してリング(リング型伝送路1
1)をクリアするだめの処理(リングクリア処理)に入
る。
On the other hand, if the station 12-1 is not the highest address station (if the complaint frame from the own station was not returned), and therefore cannot become the token issuing layer, then the station 12-j ( Here, station 12-1゜12-2.12
-4.12-5) determines whether a token has been issued by the token issuing authority within a predetermined monitoring time (step S7), and if YES, enters normal mode (normal state). On the other hand, if the determination in step S7 is No, the station 12-i, that is, the station that is not the token issuing station, assumes that a token issuing abnormality has been detected, and only one of them outputs an idle pattern and rings. Type transmission line 1
1) Enters the process to clear (ring clear process).

このリングクリア処理について、第3図のフローチャー
トを参照して以下に説明する。
This ring clearing process will be explained below with reference to the flowchart of FIG.

ます局12−i (トークン発行局以外の局)は、自局
かマスタ側アイドルパターン出力局であるか否かの判定
を自局内のステータスにより行い(ステップ5ll)、
YESであれば、リング(リング型伝送路11)をクリ
アするためにリング上にリング1周分だけアイドルパタ
ーンを送出する(ステップS2)。一方、ステップS1
の判定がNOであれば、その局12−L即ちマスタ側ア
イドルパターン出力局でない局は、自局かスレーブ側ア
イドルパターン出力局であるか否かの判定を自局内のス
テータスにより行う(ステップ513)。もしステップ
31Bの判定がYESであれば、即ち自局がスレーブ側
アイドルパターン出力局であれば、その局はマスタ側ア
イドルパターン出力局からのアイドルパターン出力を確
認するのに必要な時間、例えばアイドルパターンをリン
グ4周分出力するのに必要な時間分たけリングを監視す
る(ステップ514)。そして、何らかの要因(伝送路
ノイズなど)により監視時間内にアイドルパターン出力
か確認されなかった場合には(ステップ515)、スレ
ーブ側アイドルパターン出力局はマスタ側アイドルパタ
ーン出力局に代わってリング上にリング1周分だけアイ
ドルパターンを送出スる(ステップ516)。スレーブ
側アイドルパターン出力局は、アイドルパターン出力を
実行した場合には、その旨を示すステータス(アイドル
パターン出力ステータス)を自局内に格納しくステップ
517)、以下に述べるアイドルパターン出力局決定処
理に入る。
The main station 12-i (station other than the token issuing station) determines whether it is the own station or the master side idle pattern output station based on the status within the own station (step 5ll).
If YES, in order to clear the ring (ring type transmission line 11), an idle pattern is sent out on the ring for one round of the ring (step S2). On the other hand, step S1
If the determination is NO, the station 12-L, that is, the station that is not the master-side idle pattern output station, determines whether it is the own station or the slave-side idle pattern output station based on the status within the own station (step 513 ). If the determination in step 31B is YES, that is, if the own station is the slave side idle pattern output station, the station will take the time necessary to confirm the idle pattern output from the master side idle pattern output station, for example, the idle pattern output station. The ring is monitored for the time required to output the pattern for four rotations of the ring (step 514). If idle pattern output is not confirmed within the monitoring time due to some factor (transmission line noise, etc.) (step 515), the slave side idle pattern output station replaces the master side idle pattern output station on the ring. An idle pattern is sent out for one rotation of the ring (step 516). When the slave side idle pattern output station executes the idle pattern output, it stores a status indicating that (idle pattern output status) in its own station (step 517), and enters the idle pattern output station determination process described below. .

さて、上記したトークン発行異常時のリングクリア処理
を実現するには、リングに接続されている全ての局+2
−iの中から2局をアイドルパターン出力局として抽出
しておく必要かある。このアイドルパターン出力局を抽
出するためのアイドルパターン出力局決定処理について
、第4図のフローチャートを参照して説明する。まず局
12−1は、自局内に、■自局かトークン発行局として
トークンを発行したことを示すトークン発行局ステータ
ス、■自局以外のマスタ側またはスレーブ側アイドルパ
ターン出力局がリングから離脱した(切離された)旨の
通知を受信したことを示すステータス(アイドルパター
ン出力局離脱受信ステータス)、■自局がスレーブ側ア
イドルパターン出力局としてアイドルパターン出力を実
行したことを示すアイドルパターン出力ステータスのい
ずれかのステータスか格納されているか否かをチエツク
する(ステップ521)。もし、上記■または■のステ
ータスが格納されている場合(ステップ522)、局1
2−iは自局ステータスをマスタ側アイドルパターン出
力局に変更して(ステップ823)、通常モードに入る
。次に、上記■のステータスが格納されている場合、ま
たはマスタ側アイドルパターン出力局へのステータス変
更済みであれば(ステップ524)、局12−1は他局
に対して自局かマスタ側アイドルパターン出力局となっ
たことを示すマスタ側アイドルパターン出力局決定通知
をリング型伝送路11を介して送信する(ステップ52
5)。この決定通知には、自局アドレス中の“0”以外
の最上位桁数値か付加される。したかって、この決定通
知を送信した局12−4か、例えばトークン発行局とな
ってトークンを発行した局12−3であるものとすると
、局12−3のアドレスは“0F12h“であることか
ら、上記決定通知には“Fh″が付加される。
Now, in order to realize the ring clearing process in the event of a token issuance error as described above, all stations connected to the ring +2
Is it necessary to extract two stations from -i as idle pattern output stations? The idle pattern output station determination process for extracting this idle pattern output station will be explained with reference to the flowchart of FIG. 4. First, station 12-1 has two messages in its own station: ■ Token issuing station status indicating that the token was issued by the local station or as the token issuing station; ■ A master side or slave side idle pattern output station other than the own station has left the ring. (Idle pattern output station detachment reception status), ■Idle pattern output status indicating that the local station has executed idle pattern output as a slave side idle pattern output station. It is checked whether any status is stored (step 521). If the status of ■ or ■ above is stored (step 522), station 1
2-i changes its own station status to the master side idle pattern output station (step 823) and enters the normal mode. Next, if the status of the above ■ is stored, or if the status has been changed to the master side idle pattern output station (step 524), station 12-1 will change the status of the master side idle pattern output station to other stations. A master-side idle pattern output station determination notification indicating that the station has become a pattern output station is transmitted via the ring transmission path 11 (step 52
5). The most significant digit value other than "0" in the address of the local station is added to this decision notification. Therefore, if it is the station 12-4 that sent this decision notification, or for example the station 12-3 that became the token issuing authority and issued the token, then the address of the station 12-3 is "0F12h". , "Fh" is added to the decision notification.

上記した局12−i (局12−3)からのマスタ側ア
イドルパターン出力局決定通知は、リングに参加してい
る他の各局に送信される。各局(ここでは局12〜1.
12−2.12−4.12−5)は、上記の決定通知を
受信すると、スレーブ側アイドルパターン出力局検索状
態に入る。この状態では、まず上記決定通知に付されて
いる数値が自局アドレスのどの桁に存在するか検索し、
もし同一数値かあれば、マスタ側アイドルパターン出力
局(12−3)に対して自局アドレスを通知する。各局
(マスタ側アイドルパターン出力局決定通知の受信局、
ここでは局12−1.12−2.12−4.12−5)
は上記の検索終了後、一定時間マスタ側アイドルパター
ン出力局からの後述するスレーブ側アイドルパターン出
力局決定通知を待つ。もし時間内に、スレーブ側アイド
ルパターン出力局決定通知を受信しなかった場合には、
上記各局は前回検索した数値の次の数値(例えば、Fh
であればEh、lhであればFh)を算出する。そして
上記各局は、算出した数値が自局アドレス中に存在する
か検索し、存在すれば、マスタ側アイドルパターン出力
局(+2−3)に対して自局アドレスを通知する。この
動作(アドレス検索動作)は、スレーブ側アイドルパタ
ーン出力局決定通知を受信するか、この動作の繰り返し
回数が所定回数、例えば15回となった場合に終了とな
り、通常モードに入る。
The master side idle pattern output station determination notification from the station 12-i (station 12-3) described above is transmitted to each of the other stations participating in the ring. Each station (here, stations 12 to 1.
12-2.12-4.12-5) enters the slave side idle pattern output station search state upon receiving the above decision notification. In this state, first search in which digit of your own address the numerical value attached to the above decision notification exists,
If the numbers are the same, the master side idle pattern output station (12-3) is notified of its own station address. Each station (receiving station of master side idle pattern output station determination notification,
Here station 12-1.12-2.12-4.12-5)
After the above search is completed, waits for a certain period of time for a slave idle pattern output station determination notification from the master idle pattern output station, which will be described later. If the slave side idle pattern output station determination notification is not received within the time,
Each station above is the next value after the previous search value (for example, Fh
If so, Eh is calculated, and if lh, Fh) is calculated. Then, each station searches whether the calculated numerical value exists in its own station address, and if it exists, it notifies the master side idle pattern output station (+2-3) of its own station address. This operation (address search operation) ends when a slave-side idle pattern output station determination notification is received or when this operation is repeated a predetermined number of times, for example, 15 times, and the normal mode is entered.

一方、上記したマスタ側アイドルパターン出力局の決定
通知を行ったマスタ側アイドルパターン出力局(12−
3)は、この決定通知時より一定時間、他局からのアド
レス通知を監視する。この監視時間は、他局のアドレス
検索の最大繰返し回数(15回)分より大きい必要があ
る。もし、この監視時間内に他局からのアドレス通知か
ない場合には、マスタ側アイドルパターン出力局(12
−3)は通常モードに入る。一方、マスタ側アイドルパ
ターン出力局の決定通知の後、最初のアドレス通知を受
取った場合には、マスタ側アイドルパターン出力局(1
2−3)はアドレス検索動作1回分の時間だけ待ち、他
のアドレス通知かないかを確認する。そしてマスタ側ア
イドルパターン出力局(12−3)は、この間に受信し
たアドレス通知の情報から、最大アドレス局を判断し、
その局をスレーブ側アイドルパターン出力局として決定
して全局に(局12−1.12−2.12−4.12−
5)に通知し、通常モードに入る(ステップ526)。
On the other hand, the master side idle pattern output station (12-
3) monitors address notifications from other stations for a certain period of time from the time of notification of this decision. This monitoring time needs to be longer than the maximum number of times (15 times) for address searches of other stations. If there is no address notification from another station within this monitoring time, the idle pattern output station on the master side (12
-3) enters normal mode. On the other hand, if the first address notification is received after the master side idle pattern output station decision notification, the master side idle pattern output station (1
2-3) waits for the time required for one address search operation and checks whether there is any other address notification. Then, the master side idle pattern output station (12-3) determines the maximum address station from the address notification information received during this period,
That station is determined as the slave side idle pattern output station, and all stations (station 12-1.12-2.12-4.12-
5) and enters normal mode (step 526).

このステップS26のスレーブ側アイドルバター出力局
決定通知により、自局がスレーブ側アイドルパターン出
力局となったことを検出した局は、その旨のステータス
を自局内に格納する。第1図のリング型LANシステム
では、マスタ側アイドルパターン出力局12−3以外で
“Fh”を持つ局は局12−■と局12−4の2局であ
る。この局+2−1.12−4の中では、局12−4の
アドレスの方が大きく、したがって第1図のシステムで
は局12−4がスレーブ側アイドルパターン出力局とし
て決定される。この局12−4は、マスタ側アイドルパ
ターン出力局12−3が異常となった場合には、同局1
2−3に代わってマスタとなる。
Based on the slave side idle butter output station determination notification in step S26, the station that detects that its own station has become the slave side idle pattern output station stores a status to that effect within its own station. In the ring type LAN system of FIG. 1, there are two stations other than the master side idle pattern output station 12-3 that have "Fh": station 12-■ and station 12-4. Among these stations +2-1, 12-4, the address of station 12-4 is larger, so in the system of FIG. 1, station 12-4 is determined as the slave-side idle pattern output station. When the master side idle pattern output station 12-3 becomes abnormal, this station 12-4
It becomes the master instead of 2-3.

次に、アイドルパターン出力局のリングからの離脱に伴
う動作を説明する。まずマスタ側またはスレーブ側のア
イドルパターン出力局は、故障等の要因でリングから離
脱した場合には、もう−方のアイドルパターン出力局(
スレーブ側またはマスタ側)に対し、リング型伝送路1
1を介してその旨を示す通知(アイドルパターン出力局
リング離脱通知)を行う。この通知を受信した上記もう
一方のアイドルパターン出力局は、自局内にアイドルパ
ターン出力局離脱受信ステータスを格納する。
Next, an explanation will be given of the operation associated with the departure of the idle pattern output station from the ring. First, if the idle pattern output station on the master or slave side leaves the ring due to a failure or other reason, the idle pattern output station on the other side (
(slave side or master side), ring type transmission line 1
A notification to that effect (idle pattern output station ring withdrawal notification) is sent via 1. The other idle pattern output station that has received this notification stores the idle pattern output station withdrawal reception status within itself.

上記した第1図のシステムの各局の動作を、第5図の状
態遷移図に整理して示す。なお、第5図において符号A
−Fは遷移条件を示し、その具体的内容は次の通りであ
る。
The operation of each station in the system shown in FIG. 1 is summarized and shown in the state transition diagram shown in FIG. In addition, in Fig. 5, the symbol A
-F indicates a transition condition, and its specific contents are as follows.

■遷移条件A トークン発行、目、つマスタ側アイドルパターン出力局
によるアイドルパターン出力あり。
■Transition condition A: Token issued, idle pattern output by master side idle pattern output station.

■遷移条件B トークン発行異常検出。■Transition condition B Token issue error detection.

■遷移条件C アイドルパターン出力局(マスタ側またはスレーブ側)
によるリング1周分のアイドルパターン出力完了。
■Transition condition C Idle pattern output station (master side or slave side)
Completed output of idle pattern for one rotation of the ring.

■遷移条件D トークン発行、且つアイドルパターン出力局(マスタ側
またはスレーブ側)によるアイドルパターン出力なし。
■Transition condition D A token is issued, and the idle pattern output station (master side or slave side) does not output an idle pattern.

あるいは、トークン発行、且つスレーブ側アイドルパタ
ーン出力局にょるアイドルパターン出力あり。
Alternatively, a token is issued and an idle pattern is output from the idle pattern output station on the slave side.

■遷移条件E アイドルパターン出力局(マスタ側またはスレーブ側)
決定。
■Transition condition E Idle pattern output station (master side or slave side)
Decided.

■遷移条件F アイドルパターン出力局(マスタ側またはスレーブ側)
のリングからの離脱発生。
■Transition condition F Idle pattern output station (master side or slave side)
Separation from the ring occurred.

なお、前記実施例では、トークン発行層およびスレーブ
側アイドルパターン出力局を決定するのに、最大アドレ
ス局を検出する場合について説明したが、最小アドレス
局を検出するようにしても、あるいは他の決定アルゴリ
ズムを用いても構わない。
In the above embodiment, the case where the maximum address station is detected is explained to determine the token issuing layer and the slave side idle pattern output station, but it is also possible to detect the minimum address station or use other determination methods. An algorithm may be used.

[発明の効果] 以上詳述したようにこの発明によれば、トークン発行中
などにリング型伝送路ノイズにより規定外データパター
ンが発生し、トークン発行異常となったとしても、伝送
路に接続されている複数の局のうちの1つの局だけによ
って伝送路にアイドルパターンが送出されるので、伝送
路が確実にクリアされ、トークン発行異常状態か簡単に
回復できる。
[Effects of the Invention] As described in detail above, according to the present invention, even if a non-standard data pattern occurs due to ring-type transmission line noise during token issuance, etc., and a token issuance error occurs, the connection to the transmission line will not be interrupted. Since the idle pattern is sent to the transmission path by only one station among the plurality of stations in the system, the transmission path is reliably cleared and recovery from a token issue abnormality can be easily achieved.

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

第1図はこの発明の一実施例に係るトークンパッシング
方式のリング型LANシステムのシステム構成図、第2
図は同実施例におけるトークン発行層決定処理およびト
ークン発行処理を説明するためのフローチャート、第3
図は同実施例におけるリングクリア処理を説明するため
のフローチャート、第4図は同実施例におけるアイドル
パターン出力局決定処理を説明するためのフローチャー
ト、第5図は第1図のシステムの各局の動作の状態遷移
を示す図である。 11・・・伝送路、12−1〜12−5・・・局。
FIG. 1 is a system configuration diagram of a ring-type LAN system using a token passing method according to an embodiment of the present invention, and FIG.
The figure is a flowchart for explaining the token issuing layer determination process and the token issuing process in the same embodiment.
The figure is a flowchart for explaining ring clear processing in the same embodiment, FIG. 4 is a flowchart for explaining idle pattern output station determination processing in the same embodiment, and FIG. 5 is the operation of each station in the system of FIG. 1. It is a diagram showing the state transition of. 11... Transmission line, 12-1 to 12-5... Station.

Claims (2)

【特許請求の範囲】[Claims] (1)複数の局がリング型伝送路により接続され、トー
クンパッシング方式を適用するリング型ローカルエリア
ネットワークシステムにおいて、上記伝送路に接続され
ている複数の局の中から、上記伝送路にアイドルパター
ンを送出するためのアイドルパターン出力局を決定する
アイドルパターン出力局決定手段と、 トークン消失時に、トークン発行を行うためのトークン
発行局を決定するトークン発行局決定手段と、 上記トークン発行局からのトークン発行の異常を検出す
るトークン発行異常検出手段と、このトークン発行異常
検出手段によってトークン発行異常が検出された場合に
、上記アイドルパターン出力局により上記伝送路にアイ
ドルパターンを送出して上記伝送路をクリアするリング
クリア手段と、 を設け、上記伝送路に接続されている複数の局のうちの
1局だけか上記アイドルパターンを送出して上記伝送路
をクリアするようにしたことを特徴とするリング型ロー
カルエリアネットワークシステム。
(1) In a ring-type local area network system in which multiple stations are connected by a ring-type transmission path and a token passing method is applied, an idle pattern is selected from among the multiple stations connected to the transmission path. an idle pattern output station determining means for determining an idle pattern output station for sending out a token; a token issuing station determining means for determining a token issuing station for issuing a token when a token is lost; a token issuance abnormality detection means for detecting an abnormality in issuance; and when the token issuance abnormality detection means detects a token issuance abnormality, the idle pattern output station sends an idle pattern to the transmission path to connect the transmission path. A ring clearing means for clearing the transmission line; and the ring is configured to clear the transmission line by transmitting the idle pattern from only one station among a plurality of stations connected to the transmission line. type local area network system.
(2)上記アイドルパターン出力局決定手段によって決
定される上記アイドルパターン出力局はマスタとスレー
ブの2局であり、マスタ側の上記アイドルパターン出力
局によってアイドルパターン送出が行われ、このマスタ
側アイドルパターン出力局が異常の場合にスレーブ側の
上記アイドルパターン出力局によってアイドルパターン
送出が行われることを特徴とする第1請求項記載のリン
グ型ローカルエリアネットワークシステム。
(2) The idle pattern output stations determined by the idle pattern output station determining means are two stations, a master and a slave, and the idle pattern output station on the master side sends out an idle pattern, and the idle pattern on the master side 2. The ring type local area network system according to claim 1, wherein the idle pattern output station on the slave side sends out an idle pattern when the output station is abnormal.
JP2066688A 1990-03-16 1990-03-16 Ring type local aera network system Pending JPH03268537A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2066688A JPH03268537A (en) 1990-03-16 1990-03-16 Ring type local aera network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2066688A JPH03268537A (en) 1990-03-16 1990-03-16 Ring type local aera network system

Publications (1)

Publication Number Publication Date
JPH03268537A true JPH03268537A (en) 1991-11-29

Family

ID=13323124

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2066688A Pending JPH03268537A (en) 1990-03-16 1990-03-16 Ring type local aera network system

Country Status (1)

Country Link
JP (1) JPH03268537A (en)

Similar Documents

Publication Publication Date Title
JP3897046B2 (en) Information processing apparatus and information processing method
US7979587B1 (en) Apparatus and method for automatic speed downshift for a two pair cable
JPH03268537A (en) Ring type local aera network system
JPS62175045A (en) Alarm informing system
JPH08331162A (en) Token passing ring fault detection system
JPH07334433A (en) Bus controller
JP3952157B2 (en) Bandwidth automatic setting system and automatic setting method in Ethernet converter
JP2616390B2 (en) Electronic device monitoring method
JP2541111B2 (en) Relay device alarm transfer method
JPH0817399B2 (en) Series controller
JP2003152692A (en) Data processor
JPS5945304B2 (en) Line failure detection method in two-wire communication equipment
JP2510288B2 (en) Communication equipment test processing method
JPH04253441A (en) Improved frame removing mechanism of token-ring network
KR100352848B1 (en) Apparatus for error checking of multiframe indicator byte in communication system
JPH0420543B2 (en)
JPS61109336A (en) Private multiplex transmitter
JPH09284304A (en) Device for detecting cell collision
JPH08223253A (en) Fault monitor/detector system
JPS63167537A (en) Signal multiplex transmission system
JPH01276844A (en) Method for confirming multiple address communication response
JPH01173942A (en) System for detecting plural tokens in token ring type local area network
JPS63212238A (en) Transmission error detecting system
JPH088930A (en) Transmission line monitor system
JPS63296422A (en) Detecting system for abnormal transmission state