JPH03145239A - Monitor system for token ring - Google Patents

Monitor system for token ring

Info

Publication number
JPH03145239A
JPH03145239A JP1283786A JP28378689A JPH03145239A JP H03145239 A JPH03145239 A JP H03145239A JP 1283786 A JP1283786 A JP 1283786A JP 28378689 A JP28378689 A JP 28378689A JP H03145239 A JPH03145239 A JP H03145239A
Authority
JP
Japan
Prior art keywords
frame
token
node
counter
token frame
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
JP1283786A
Other languages
Japanese (ja)
Inventor
Koichi Shimomukai
下向 耕一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP1283786A priority Critical patent/JPH03145239A/en
Publication of JPH03145239A publication Critical patent/JPH03145239A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To detect occurrence of a fault of a token ring in each node by providing a counter part whose content is able to be incremented to a token frame circulating on a ring and incrementing '1' to the counter part by each node every time the token frame passes thereby. CONSTITUTION:After node 1 sets a content of a counter provided in the node to '0' the node 1 sets '1' to a counter part 15 in a token frame 13 to be sent and sends the token frame 13 with a token frame part 14 added thereto to a node 2 via a transmission line 7. The node 2 detects the token frame part 14 of the received frame to recognize it to be the token frame 13 and to keep the content of the counter part 15 in its own node, increments '1' to the content of the counter part 15 and sends the token frame 13 whose counter part is incremented '2' to a node 3 via a transmission line 8. Thus, a node having been unable to increment '1' is immediately discriminated by checking the content of the counter part 15 of the received token frame kept by the nodes 1-6.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はトークンリングの監視方式に関し、特にトーク
ンフレーム内に値を加算できるカウンタ部を備えたトー
クンリングの監視方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a token ring monitoring system, and more particularly to a token ring monitoring system that includes a counter unit that can add a value within a token frame.

〔従来の技術〕[Conventional technology]

従来のトークンリングの監視方式は、フレーム送信要求
のあるノードがトークン捕捉時間を一定時間計数後トー
クン紛失と判断するか、又はトークンの周回時間を計測
してトークン紛失と判断し以後トークンリングに障害が
発生したとして処置を行う方式であった。
In the conventional Token Ring monitoring method, the node that makes the frame transmission request determines that the token is lost after counting the token capture time for a certain period of time, or measures the token circulation time and determines that the token is lost, and then issues a token ring failure. The method was to treat the problem as if it had occurred.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のトークンリングの監視方式は、トークン
紛失を検出して初めてトークンリングに障害が発生した
と判断する方式であるので、トークンを通過させること
はできるが送受信機能に障害が発生したノードを検出す
ることはできず、又、トークン紛失が発生した場合は障
害が発生した二とは分かるがトークンの紛失個所を特定
できないという問題点がある9 本発明の目的は、リング上を周回するトークンフレーム
内に値を加算できるカウンタ部を備え、各ノードでトー
クンフレームの通過ごとに「1」を加算することにより
、各ノードでトークンリングに障害が発生したことを検
出すると共に送受信機能に障害が発生したノードを特定
できるトークンリングの監視方式を提供することにある
The conventional token ring monitoring method described above is a method that determines that a token ring failure has occurred only after detecting the loss of a token, so it is possible to pass tokens, but it is possible to detect a node that has a failure in the sending/receiving function. Furthermore, if a token is lost, it is obvious that a failure has occurred, but the location of the lost token cannot be identified9. Equipped with a counter section that can add a value in the frame, each node adds "1" each time a token frame passes, allowing each node to detect that a failure has occurred in the token ring and to detect a failure in the transmission/reception function. The purpose of this invention is to provide a token ring monitoring method that can identify the node where the problem occurred.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のトークンリングの監視方式は、複数のノードを
順次結びリングを構成したトークンリングの監視方式に
おいて、前記リング上を周回するトークンフレーム内に
値を加算できるカウンタ部を備え、前記各ノードは前位
の伝送路からフレームを受信する受信手段と、後位の伝
送路にフレームを送信する送信手段と、通過したトーク
ンフレーム内のカウンタ部の値を保持するカウンタ保持
手段と、受信フレームを処理する受信フレーム処理機能
と共に前記カウンタ保持手段の保持する前記トークンフ
レーム内のカウンタ部の値と新たに受信したトークンフ
レーム内のカウンタ部の値とを比較し前記各ノードの正
常性を監視する監視機能を有するフレーム処理手段とを
備える構成である。
The token ring monitoring method of the present invention is a token ring monitoring method in which a plurality of nodes are sequentially connected to form a ring, and each node includes a counter unit that can add a value in a token frame circulating on the ring. A receiving means for receiving a frame from a preceding transmission path, a transmitting means for transmitting a frame to a subsequent transmission path, a counter holding means for holding a value of a counter section in a passed token frame, and a processing means for processing a received frame. a received frame processing function to monitor the normality of each node by comparing the value of the counter part in the token frame held by the counter holding means with the value of the counter part in a newly received token frame; This configuration includes a frame processing means having a frame processing means.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例のネットワーク構成図である
FIG. 1 is a network configuration diagram of an embodiment of the present invention.

ノード1,2,3,4,5.6は、伝送路7゜8.9,
10,11.12で接続され、矢印の方向にデータ伝送
を行うリング形ネットワークを構成している。
Nodes 1, 2, 3, 4, 5.6 have transmission paths 7°8.9,
10, 11, and 12, forming a ring network in which data is transmitted in the direction of the arrow.

第2図は本発明の一実施例のトークンフレームのフレー
ム形式図である。
FIG. 2 is a frame format diagram of a token frame according to an embodiment of the present invention.

トークンフレーム13は、フレーム種別を区分しトーク
ンフレームであることを表示するトークンフレーム部1
4と、通過するごとに各ノードが「1」を加算するカウ
ンタ部15とから構成される。
The token frame 13 is a token frame section 1 that classifies the frame type and indicates that it is a token frame.
4, and a counter section 15 in which each node adds "1" each time it passes.

次に、動作について説明する。Next, the operation will be explained.

トークンリング内の特定のノード、例えばノードlがト
ークンを送出し、リング形ネットワークの保守監視を行
うとする。ノード1は、ノード内に保持しているカウン
タの値を「O」に設定した後、送出するトークンフレー
ム13内のカウンタ部15に「1」を゛設定し、トーク
ンフレーム部1゜4を付加したトークンフレーム13を
、伝送路7を介してノード2に送出する。ノード2は、
受信したフレームのトークンフレーム部44を検出しト
ークンフレーム13であることを知り、カウンタ部15
の値をノード内に保持すると共に、カウンタ部15の値
に「1」を加算して「2」としたトークンフレーム13
を、伝送路8を介してノード3に送出する。以下、各ノ
ードが順次同様の動作を繰返す、再度、トークンフレ−
ム13を受信した各ノードは、自己の保持している、先
に受信したトークンフレーム13のカウンタ部15の値
と、新たに受信したトークンフレーム13のカウンタ部
15の値との差を取り、この差の値がトークンリング内
の全ノード数と同一であれば、このリング形ネットワー
クは正常であると判断する。もしこの差の値がトークン
リング内の全ノード数より少なければ、いずれかのノー
ドで送受信機能に障害が発生したことが分かり、各ノー
ドの保持している受信したトークンフレーム13のカウ
ンタ部15の値を調べていけば、「1」を加算できなか
ったノード:が即座に判明する。又、トークンフレーム
13の紛失が発生した場合・にも、発生の検出は従来の
技術で行われるが、障害を発生したノー・ドは、本発明
による各メートの保持している受信したトークンフレー
ム13のカウンタ部15の値の隣接ノードとの差を調べ
ていけば、この差の値が「1」以外の個所でトークンフ
レーム13の紛失が発生したことを特定できる。
Suppose that a particular node in the token ring, for example node l, sends out tokens and performs maintenance and monitoring of the ring network. After setting the value of the counter held within the node to "O", node 1 sets "1" to the counter section 15 in the token frame 13 to be sent, and adds the token frame section 1.4. The generated token frame 13 is sent to the node 2 via the transmission path 7. Node 2 is
Detecting the token frame section 44 of the received frame and knowing that it is the token frame 13, the counter section 15
The token frame 13 holds the value of in the node and adds "1" to the value of the counter section 15 to make it "2".
is sent to the node 3 via the transmission line 8. After that, each node repeats the same operation in sequence, and the token frame is returned again.
Each node that receives the token frame 13 calculates the difference between the value of the counter section 15 of the previously received token frame 13 held by itself and the value of the counter section 15 of the newly received token frame 13, and If the value of this difference is the same as the total number of nodes in the token ring, it is determined that this ring network is normal. If the value of this difference is less than the total number of nodes in the token ring, it is known that a failure has occurred in the transmission/reception function of one of the nodes, and the counter section 15 of the received token frame 13 held by each node is By examining the values, you can immediately find out which nodes were not able to add "1". In addition, even if the token frame 13 is lost, detection of the occurrence is performed using conventional techniques, but the failed node can detect the received token frame held by each mate according to the present invention. By checking the difference between the value of the counter unit 15 of the token frame 13 and the adjacent node, it can be determined that the token frame 13 has been lost at a location where the value of the difference is other than "1".

第3図は本発明のノードの一実施例のブロック図である
。ノード1を例にとって説明する。
FIG. 3 is a block diagram of one embodiment of the node of the present invention. This will be explained using node 1 as an example.

ノードlは、伝送路12から受信するフレームを組立て
るフレーム受信部(以下FRVと記す)2■と、FRV
21の組立てたフレームを受信しフレーム種別を判断し
フレームごとの処理を行う受信フレーム処理部(以下F
RPと記す)22と、FRP22の制御の下に受信した
トークンフレーム13のカウンタ部15の値を保持する
カウンタ保持レジスタ〈以下CRGと記す〉23と、F
RP22の処理した転送フレームと自ノードの発信フレ
ームとを受信し送信フレームとして処理する送信フレー
ム処理部(以下FSPと記す〉24と、FSP24の処
理した送信フレームを伝送路7に合せて分解し出力する
フレーム送信部(以下FSDと記す〉25とを備える。
The node l includes a frame receiving unit (hereinafter referred to as FRV) 2■ that assembles frames received from the transmission path 12, and an FRV.
21 assembled frames, determines the frame type, and processes each frame.
RP) 22, a counter holding register (hereinafter referred to as CRG) 23 that holds the value of the counter section 15 of the token frame 13 received under the control of the FRP 22,
A transmission frame processing unit (hereinafter referred to as FSP) 24 receives the transfer frame processed by the RP 22 and the transmission frame of its own node and processes it as a transmission frame, and the transmission frame processed by the FSP 24 is decomposed and output according to the transmission path 7. The frame transmitting unit (hereinafter referred to as FSD) 25 is provided.

次にトークンフレーム13を処理するFRP22とCR
G23との動作について詳細に説明する。
Next, the FRP 22 and CR that process the token frame 13
The operation with G23 will be explained in detail.

第4図はトークンフレームの処理の流れ図である。FIG. 4 is a flow chart of token frame processing.

このトークンリングの初期設定時、トークンリング内の
特定の7−ド、例えばノード1がトークンを送出する場
合には、スタートしてFRP22はまずステップ(以下
Sと記す〉31で初期設定か否かを判断し、初期設定で
あればS32でCRG23をr□、に設定し、333で
新たに設定するトークンフレーム13のカウンタ部15
の値を「1」に設定し、S34でFSP24にトークン
フレーム13を送出する。又、S31で初期設定でなけ
れば、次に335で受信したフレームがトークンフレー
ム13であるか否かをトークンフレーム部14を検出す
ることで判断し、トークンフレーム13でなければ通常
のフレーム処理を行いFSP24にトークンフレーム1
3を送出する9受信したフレームがトークンフレーム1
3であれば、S36でトークンフレーム13のカウンタ
部15の値を読み、値「A」として記憶し、次に337
でCRG23の値を読み、値rB」として記憶し、33
8で値「A」と値rB、との差を取り、この差の値がト
ークンリング内の全ノード数と同一であれば、このリン
グ形ネットワークは正常であると判断し、S39で「A
」の値をCRG23に書込み、次に340でトークンフ
レーム13のカウンタ部15の値を「A」がらrl、を
加算しrA+llとし、S41でFSP24にトークン
フレーム13を送出する。又、S38でこの差の値がト
ークンリング内の全ノード数より少なければ異常である
と判断し、S42で異常検出処理を行う。異常検出処理
については、既に説明済みであるので、ここでは省略す
る。
During the initial setting of the token ring, if a specific node in the token ring, for example node 1, sends a token, the FRP 22 starts and first determines whether the initial setting is to be performed in step 31 (hereinafter referred to as S). If it is the initial setting, the CRG 23 is set to r□ in S32, and the counter section 15 of the token frame 13 is newly set in S333.
is set to "1", and the token frame 13 is sent to the FSP 24 in S34. If it is not the initial setting in S31, then in S335 it is determined whether or not the received frame is the token frame 13 by detecting the token frame part 14, and if it is not the token frame 13, normal frame processing is performed. Token frame 1 to FSP24
3 is sent 9 The received frame is token frame 1
3, the value of the counter section 15 of the token frame 13 is read in S36, stored as the value "A", and then 337
Read the value of CRG23 with
8, the difference between the value "A" and the value rB is calculated, and if the value of this difference is the same as the total number of nodes in the token ring, it is determined that this ring network is normal, and "A" is determined in S39.
'' is written to the CRG 23, and then in step 340, the value of the counter section 15 of the token frame 13 is added by ``A'' to rl to make it rA+ll, and in step S41, the token frame 13 is sent to the FSP 24. Further, if the value of this difference is less than the total number of nodes in the token ring in S38, it is determined that there is an abnormality, and an abnormality detection process is performed in S42. Since the abnormality detection process has already been explained, it will be omitted here.

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

以上説明したように、本発明は、リング上を周回するト
ークンフレーム内に値を加算できるカウンタ部を備え、
各ノードでトークンフレームの通過ごとに「1」を加算
することにより、各ノードでトークンリングに障害が発
生したことを検出すると共に送受信機能に障害が発生し
たノードを特定できる効果が有る。
As explained above, the present invention includes a counter unit that can add a value in a token frame circulating on a ring,
By adding "1" each time a token frame passes through each node, it is possible to detect that a failure has occurred in the token ring at each node and to identify a node in which a failure has occurred in the transmitting/receiving function.

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

第1図は本発明の一実施例のネットワーク構成図、第2
図は本発明の一実施例のトークンフレームのフレーム形
式図、第3図は本発明のノードの一実施例のブロック図
、第4図はトークンフレームの処理の流れ図である。 1.2,3,4,5.6・・・・・・ノード、7,8゜
9.10,11.12・・・・・・伝送路、13・・・
・・・トークンフレーム、14・・・・・・トークンフ
レーム部、15・・・・・・カウンタ部、21・・団・
フレーム受信、1(FRV)  22・・・・・・受信
フレーム処理部(FRP)、23・・・・・・カウンタ
保持レジスタ(CRG) 、24・・・・・・送信フレ
ーム処理部(FSP)、25−・−7レ一ム送信部(F
SD)。
Figure 1 is a network configuration diagram of an embodiment of the present invention, Figure 2 is a network configuration diagram of an embodiment of the present invention.
FIG. 3 is a frame format diagram of a token frame according to an embodiment of the present invention, FIG. 3 is a block diagram of an embodiment of a node according to the present invention, and FIG. 4 is a flow chart of token frame processing. 1.2, 3, 4, 5.6... Node, 7, 8°9.10, 11.12... Transmission line, 13...
...token frame, 14...token frame section, 15...counter section, 21...group...
Frame reception, 1 (FRV) 22... Reception frame processing unit (FRP), 23... Counter holding register (CRG), 24... Transmission frame processing unit (FSP) , 25-...-7 frame transmitter (F
SD).

Claims (1)

【特許請求の範囲】[Claims] 複数のノードを順次結びリングを構成したトークンリン
グの監視方式において、前記リング上を周回するトーク
ンフレーム内に値を加算できるカウンタ部を備え、前記
各ノードは前位の伝送路からフレームを受信する受信手
段と、後位の伝送路にフレームを送信する送信手段と、
通過したトークンフレーム内のカウンタ部の値を保持す
るカウンタ保持手段と、受信フレームを処理する受信フ
レーム処理機能と共に前記カウンタ保持手段の保持する
前記トークンフレーム内のカウンタ部の値と新たに受信
したトークンフレーム内のカウンタ部の値とを比較し前
記各ノードの正常性を監視する監視機能を有するフレー
ム処理手段とを備えることを特徴とするトークンリング
の監視方式。
In a token ring monitoring system in which a plurality of nodes are sequentially connected to form a ring, each node is provided with a counter unit that can add a value to a token frame circulating on the ring, and each node receives a frame from a previous transmission path. a receiving means, a transmitting means for transmitting the frame to a subsequent transmission path,
A counter holding means that holds the value of the counter part in the token frame that has passed, a received frame processing function that processes the received frame, and the value of the counter part in the token frame held by the counter holding means and a newly received token. 1. A token ring monitoring system comprising: frame processing means having a monitoring function of monitoring the normality of each node by comparing the value of a counter section within the frame.
JP1283786A 1989-10-30 1989-10-30 Monitor system for token ring Pending JPH03145239A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1283786A JPH03145239A (en) 1989-10-30 1989-10-30 Monitor system for token ring

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1283786A JPH03145239A (en) 1989-10-30 1989-10-30 Monitor system for token ring

Publications (1)

Publication Number Publication Date
JPH03145239A true JPH03145239A (en) 1991-06-20

Family

ID=17670117

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1283786A Pending JPH03145239A (en) 1989-10-30 1989-10-30 Monitor system for token ring

Country Status (1)

Country Link
JP (1) JPH03145239A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6414941B1 (en) 1998-04-27 2002-07-02 Yazaki Corporation Ring network supervisory system
JP2011176718A (en) * 2010-02-25 2011-09-08 Hitachi Industrial Equipment Systems Co Ltd Information processing apparatus and control network system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6414941B1 (en) 1998-04-27 2002-07-02 Yazaki Corporation Ring network supervisory system
JP2011176718A (en) * 2010-02-25 2011-09-08 Hitachi Industrial Equipment Systems Co Ltd Information processing apparatus and control network system
US9148297B2 (en) 2010-02-25 2015-09-29 Hitachi, Ltd. Information processor and control network system

Similar Documents

Publication Publication Date Title
US5383178A (en) Network commentator
US5363493A (en) Token ring network test device using finite state machine
JPS6177447A (en) Transmission line fault information system
JP3461520B2 (en) Multiprocessor system
WO2024082471A1 (en) Inter-node link status monitoring method and apparatus
JPH03145239A (en) Monitor system for token ring
JPH11313094A (en) Supervisory system of ring type network
JP2616484B2 (en) Token ring transmission system
JPH03201636A (en) Data input controller for serial controller
JPS6136663B2 (en)
JP2786101B2 (en) Bus failure detection method
JPH06152624A (en) Token passing type data transmission method
JPH0260338A (en) Bus type lan
JP3111543B2 (en) MAC bridge buffer release method
JPS6314542B2 (en)
JP3112778B2 (en) Token re-generation method
JP2000031988A (en) Node state management system
JPH01171343A (en) Connection order check system in loop type network system
JPS63212238A (en) Transmission error detecting system
JPS60218941A (en) Data transmission equipment
JP3355952B2 (en) Network monitoring system
JPH01194631A (en) Transmission system abnormality detecting system
JPH06326716A (en) Communication bus supervisory equipment
JPH08331162A (en) Token passing ring fault detection system
JPH0836416A (en) Diagnosis method for distributed controller