JPH04291851A - Node state notice method in loop type lan - Google Patents

Node state notice method in loop type lan

Info

Publication number
JPH04291851A
JPH04291851A JP3056937A JP5693791A JPH04291851A JP H04291851 A JPH04291851 A JP H04291851A JP 3056937 A JP3056937 A JP 3056937A JP 5693791 A JP5693791 A JP 5693791A JP H04291851 A JPH04291851 A JP H04291851A
Authority
JP
Japan
Prior art keywords
node
transmission
busy
frame
address
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.)
Withdrawn
Application number
JP3056937A
Other languages
Japanese (ja)
Inventor
Katsumi Sugawa
勝己 須川
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 JP3056937A priority Critical patent/JPH04291851A/en
Publication of JPH04291851A publication Critical patent/JPH04291851A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To improve the traffic and the reliability by allowing a node whose reception buffer is busy to inform it to other node in the loop type LAN so as to stop the transmission addressed to itself. CONSTITUTION:When an overflow detection section 22 detects a busy state of a reception buffer 19 in a node 1, it is noticed to a transmission buffer read control section 23 and a special packet from a special packet generating section 22 is sent to a transmission line via a repeater 28 and selectors 25, 26. When the release of the busy state of the reception buffer 19 is detected by the overflow detection section 22, the special packet is sent to the transmission line. A busy node address management section 24 of the node 1 receiving the specific packet manages the busy node and stops the transmission to the busy node. Thus, the traffic is improved by the stopped transmission and the reliability in data communication is enhanced.

Description

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

【0001】0001

【産業上の利用分野】本発明は、ローカルエリアネット
ワーク(LAN) においてループ型の伝送路を形成し
、この伝送路上を周回する複数個の固定長のフレームに
よりノード間のデータの送受信を行うためのループ型L
ANにおけるノード状態通知方法に関する。
[Industrial Application Field] The present invention is for forming a loop-type transmission path in a local area network (LAN) and transmitting and receiving data between nodes using a plurality of fixed-length frames circulating on this transmission path. Loop type L
This invention relates to a node status notification method in an AN.

【0002】0002

【従来の技術】本発明が適用されるループ型LANは、
図1に示されるように、データの送受信を行う複数のノ
ードたとえば3つのノード1−1,1−2,1−3、及
びLANの監視を行う監視ノード2をループ型の伝送路
で接続している。図1のループ型LANにおいて、たと
えばノード1−1からノード1−2にフレームを送信す
るとき、ノード1−2の受信バッファがオーバーフロー
等で受信が不可能な状態(以下、ビジー状態)となった
場合、ノード1−1ではノード1−2のビジー状態を認
識できないので、ノード1−1はノード1−2宛にフレ
ームを送信することになる。この結果、ノード1−2に
て当該フレームを破棄したり、当該フレームに付加され
ている制御用ビットを使用することにより送信元ノード
1−1に対して再送要求を行っていた。
[Prior Art] A loop type LAN to which the present invention is applied is
As shown in FIG. 1, a plurality of nodes, for example, three nodes 1-1, 1-2, and 1-3, which transmit and receive data, and a monitoring node 2, which monitors a LAN, are connected by a loop-type transmission path. ing. In the loop type LAN of FIG. 1, for example, when transmitting a frame from node 1-1 to node 1-2, the reception buffer of node 1-2 may overflow or the like and reception becomes impossible (hereinafter referred to as busy state). In this case, since node 1-1 cannot recognize the busy state of node 1-2, node 1-1 will transmit a frame addressed to node 1-2. As a result, the node 1-2 discards the frame or requests retransmission to the source node 1-1 by using the control bit added to the frame.

【0003】0003

【発明が解決しようとする課題】しかしながら、ノード
1−1はノード1−2の受信バッファがビジー状態で受
信できない状態にもかからわず送信するために、伝送路
上に無駄なフレームが行き交うこととなり、伝送路上の
トラフィックの増大を招き、また、データ送信において
は宛先ノードの受信状態が分からないためにデータ送信
におけるフレーム破棄によりデータの信頼性が低下する
という課題がある。
[Problem to be Solved by the Invention] However, because node 1-1 transmits even though the reception buffer of node 1-2 is busy and cannot receive data, useless frames are sent back and forth on the transmission path. This results in an increase in traffic on the transmission path, and there is also a problem in that data reliability decreases due to frame discards during data transmission because the reception status of the destination node is not known during data transmission.

【0004】従って、本発明の目的は、伝送路上のトラ
フィックを低下させ、また、データの信頼性の低下を防
止したループ型LANにおけるノード状態通知方法を提
供することにある。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a node status notification method in a loop-type LAN that reduces traffic on a transmission path and prevents deterioration in data reliability.

【0005】[0005]

【課題を解決するための手段】上述の課題を解決するた
めの第1の手段は、自ノードがビジー状態である場合に
は他ノードに自ノードのビジー状態を通知し、この通知
を受信した他ノードは自ノードへの送信を停止するもの
である。第2の手段によれば、第1の手段に加えて、自
ノードのビジー状態が正常状態に復旧した場合には他ノ
ードに自ノードの正常状態を通知し、この通知を受信し
た他ノードは自ノードへの送信停止を解除するものであ
る。
[Means for solving the problem] The first means for solving the above problem is to notify other nodes of the busy state of the own node when the own node is busy, and to receive this notification. Other nodes stop transmitting to their own node. According to the second means, in addition to the first means, when the busy state of the own node is restored to the normal state, the other node is notified of the normal state of the own node, and the other node receiving this notification This is to cancel the stoppage of transmission to the own node.

【0006】[0006]

【作用】上述の手段によれば、伝送路上に周回する未受
信フレームの増加はなく、伝送路のトラフィックの増大
が最小限となる。また、ビジー状態のノード宛のフレー
ムは一時的に送信元ノードで維持されることになり、デ
ータの信頼性は低下せず、その後、破棄されることにな
る。
According to the above means, there is no increase in the number of unreceived frames circulating on the transmission path, and the increase in traffic on the transmission path is minimized. Additionally, frames addressed to busy nodes will be temporarily maintained at the source node, and will be discarded thereafter without reducing the reliability of the data.

【0007】[0007]

【実施例】図2は本発明に係るループ型LANにおける
フレーム送受信方法に用いられるフレームのフォーマッ
トを示す図である。図2において、図2(A)に示すよ
うに、1フレームは8バイトのフレームヘッダと 12
0バイトのデータ領域の計 128バイトの固定長フレ
ームとなっている。フレームヘッダの1バイト目H1は
、図2(B)に示すように、フレームの送信元を示す送
信元アドレスSA、2バイト目H2は、図2(C)に示
すように、フレームの宛先を示す宛先アドレスDA、3
バイト目H3は、図2(D)に示すように、フレームの
制御を行うための制御用ビットである。さらに図2(D
)の制御用ビットは、使用状態ビットUSD、特殊ビッ
トSB、ビジービットBSYから構成されている。
Embodiment FIG. 2 is a diagram showing a frame format used in the frame transmission/reception method in a loop-type LAN according to the present invention. In Figure 2, as shown in Figure 2(A), one frame includes an 8-byte frame header and 12 bytes.
It is a fixed length frame with a total of 128 bytes including a data area of 0 bytes. The first byte H1 of the frame header indicates the source address SA of the frame, as shown in FIG. 2(B), and the second byte H2 indicates the destination of the frame, as shown in FIG. 2(C). Destination address DA, 3
Byte H3 is a control bit for controlling the frame, as shown in FIG. 2(D). Furthermore, Figure 2 (D
) control bits are comprised of a usage status bit USD, special bit SB, and busy bit BSY.

【0008】ここで使用状態ビットUSDは、フレーム
の有効、無効を示すビットであり、該当フレームが無効
状態の時は“0”であるが、有効状態の時(データ領域
に有効データが入っている時)は“1”となる。なお、
この使用状態ビットの操作は、送信元で行なう。特殊ビ
ットSBは、特殊フレーム識別ビットで、自ノードの受
信バッファの状態を他ノードに通知するときのみ“1”
となり、そのパケットが通常のパケットではなく、受信
バッファがビジー状態に遷移したこと、もしくはビジー
状態より受信可能状態に遷移したことを通知するための
特殊フレームであることを示し、通常フレーム時には“
0”である。また、特殊パケット送信時はブロードキャ
ストを用い、宛先アドレスDAには、オール1つまり“
1111111”を書き込む。
[0008] Here, the usage status bit USD is a bit indicating whether the frame is valid or invalid, and is "0" when the relevant frame is invalid, but when it is valid (valid data is contained in the data area). ) becomes “1”. In addition,
This usage status bit is manipulated by the sender. The special bit SB is a special frame identification bit, and is set to “1” only when notifying other nodes of the status of the receive buffer of its own node.
This indicates that the packet is not a normal packet, but a special frame to notify that the receive buffer has transitioned to a busy state, or that the busy state has transitioned to a receivable state.
0". Also, when sending a special packet, broadcast is used, and the destination address DA is set to all 1s, that is, "
1111111” is written.

【0009】ビジービットBSYは、各ノードの受信バ
ッファの状態を示すビットであり、受信可能状態には“
0”であるが、受信バッファにおいてオーバーフロー等
の障害が発生し受信できない状態のときは“1”となる
。次に、本発明に係る各ノードの詳細について図3、図
4を参照して説明する。図3において、10は中継器で
あって、伝送路が光ファイバであれば、光/電気変換器
を含んで構成される。11は中継器10で受信されたデ
ータを8ビットづつ記憶する8ビットシフトレジスタで
ある。12は受信フレームのプレアンブル部分からの信
号により同期検出し、各部へタイミング信号を発生する
ものである。13は送信元アドレス(SA)検出部であ
って、同期検出部12からのタイミングSATIMに従
って制御用ビット中のフレームの送信元を示す送信元ア
ドレスSAを識別して他ノードから送信されたフレーム
を検出するものである。14は宛先アドレス(DA)検
出部であって、同期検出部12からのタイミングDAT
IM に従って伝送路上のフレームの制御用ビット中の
フレームの宛先を示す宛先アドレスDAを識別して自ノ
ード宛のフレームを検出するものである。15は使用状
態ビット(USD) 検出部であって、同期検出部12
からのタイミングCNTTIMに従って制御ビット中の
使用状態ビットUSDを識別して有効フレームの検出を
行うものである。16は特殊ビット(SB)検出部であ
って、同期検出部12からのタイミングCNTTIMに
従って制御ビット中の特殊ビットSBを識別して特殊パ
ケット、通常パケットを検出するものである。17はビ
ジービット(BSY) 検出部であって、同期検出部1
2からのタイミングCNTTIMに従って制御ビジービ
ットBSYを識別して相手ノードの受信バッファの状態
を検出するものである。
[0009] The busy bit BSY is a bit that indicates the status of the reception buffer of each node.
0", but becomes "1" when a failure such as an overflow occurs in the reception buffer and reception is not possible.Next, details of each node according to the present invention will be explained with reference to FIGS. 3 and 4. In Fig. 3, 10 is a repeater, and if the transmission path is an optical fiber, it is configured to include an optical/electrical converter.11 stores the data received by the repeater 10 in 8 bits each. 12 is an 8-bit shift register that detects synchronization using a signal from the preamble part of the received frame and generates a timing signal to each part. 13 is a source address (SA) detector that detects synchronization. It detects a frame transmitted from another node by identifying the source address SA indicating the source of the frame in the control bits according to the timing SATIM from the section 12. 14 is a destination address (DA) detection section. Therefore, the timing DAT from the synchronization detection section 12
The frame addressed to the node itself is detected by identifying the destination address DA indicating the destination of the frame in the control bits of the frame on the transmission path according to the IM. 15 is a usage status bit (USD) detection unit, which is a synchronization detection unit 12
A valid frame is detected by identifying the usage status bit USD in the control bits according to the timing CNTTIM from CNTTIM. A special bit (SB) detection section 16 identifies the special bit SB in the control bits according to the timing CNTTIM from the synchronization detection section 12 and detects special packets and normal packets. 17 is a busy bit (BSY) detection unit, which is a synchronization detection unit 1.
The control busy bit BSY is identified in accordance with the timing CNTTIM from 2 to detect the state of the receiving buffer of the other node.

【0010】18はフレーム処理部であって、各検出部
13〜17の検出結果に応じてフレームの破棄、フレー
ムの受信、フレームのリピート、ビジー操作、フレーム
の送信停止、送信再開を行うものである。19は受信さ
れたフレームを蓄積する受信バッファ、20は送信すべ
きフレームを蓄積する送信バッファである。
Reference numeral 18 denotes a frame processing unit which performs frame discard, frame reception, frame repeat, busy operation, frame transmission stop, and frame transmission restart according to the detection results of each of the detection units 13 to 17. be. Reference numeral 19 represents a reception buffer for storing received frames, and 20 represents a transmission buffer for storing frames to be transmitted.

【0011】21は受信バッファライトコントロール部
であって、フレーム処理部18によるSA, DA, 
USD, SB, BSYの結果を解析して受信バッフ
ァへの書き込みタイミングを発生するものである。22
は受信バッファオーバーフロー監視部であって、受信バ
ッファ19のオーバーフローを監視し、その監視結果を
送信バッファリードコントロール部23に通知するもの
である。
Reference numeral 21 denotes a reception buffer write control section, which controls SA, DA, and
It analyzes the results of USD, SB, and BSY and generates the timing for writing to the reception buffer. 22
A reception buffer overflow monitoring section monitors overflow of the reception buffer 19 and notifies the transmission buffer read control section 23 of the monitoring result.

【0012】24はビジーノードアドレス管理部であっ
て、フレーム処理部18により検出されたSA, DA
, USD, SB, BSYを解析してビジーノード
のアドレスを管理し、送信バッファリードコントロール
部23にノードのアドレスを通知するものである。送信
バッファリードコントロール部23は、ビジーノードア
ドレス管理部24の解析結果より送信バッファ20のリ
ードタイミング生成セレクト部25の伝送路より取り込
んだデータ(以下リピートデータ)及び送信データのセ
レクト制御を行い、また、受信バッファオーバーフロー
監視部22による監視結果よりセレクト部26、セレク
ト部25のセレクト制御により特殊パケットの送信を制
御するものである。
[0012] Reference numeral 24 denotes a busy node address management unit which handles SA and DA detected by the frame processing unit 18.
, USD, SB, and BSY to manage the address of the busy node and notify the transmission buffer read control unit 23 of the node address. The transmission buffer read control unit 23 performs selection control of the data (hereinafter referred to as repeat data) and transmission data taken in from the transmission path of the read timing generation and selection unit 25 of the transmission buffer 20 based on the analysis result of the busy node address management unit 24. Based on the monitoring result by the reception buffer overflow monitoring section 22, the selection section 26 and the selection section 25 control the transmission of the special packet.

【0013】27は送信バッファライトコントロール部
であって、送信先アドレスDAを検出、識別して各送信
先アドレスに対応する送信バッファのアドレスに、書き
込みタイミングを生成して書き込みを行うものである。 セレクト部25は、送信バッファリードコントロール部
23によるセレクトタイミング信号により送信データと
リピートデータとの選択を行うものであり、セレクト部
26は、自ノード受信バッファオーバーフロー時の特殊
パケットと送信データとのセレクトを送信バッファリー
ドコントロール部23によるセレクトタイミングにてセ
レクトを行うものである。
Reference numeral 27 denotes a transmission buffer write control unit which detects and identifies the transmission destination address DA, generates a write timing, and performs writing to the address of the transmission buffer corresponding to each transmission destination address. The select unit 25 selects between transmit data and repeat data based on the select timing signal from the transmit buffer read control unit 23, and the select unit 26 selects between special packets and transmit data when the own node's receive buffer overflows. The selection is performed at the selection timing by the transmission buffer read control unit 23.

【0014】28は中継器であって、伝送路が光ファイ
バであれば、電気/光変換器を含んで構成される。次に
、図3の回路動作を説明する。 受信動作 図4を参照して説明する。検出部13〜17によりDA
, SA, USD, BSY, SBが検出されると
、フレーム処理部18は、ステップ401 にて、送信
元(SA)が自ノードか否かを判別し、ステップ402
 にて送信先DAが自ノードか他ノードかを判別し、ス
テップ403 にて有効フレーム(USD=“1”)か
無効フレーム(USD=“0”)かを判別し、ステップ
404 にて、特殊フレーム (SB=“1”)か通常
フレーム (SB=“0”)かを判別し、ステップ40
5 にてビジー状態(BSY=“1”)か否かを判別す
る。
Reference numeral 28 denotes a repeater, which includes an electrical/optical converter if the transmission line is an optical fiber. Next, the operation of the circuit shown in FIG. 3 will be explained. The reception operation will be explained with reference to FIG. DA by the detection units 13 to 17
, SA, USD, BSY, and SB are detected, the frame processing unit 18 determines in step 401 whether or not the transmission source (SA) is the own node, and in step 402
In step 403, it is determined whether the destination DA is the own node or in another node. In step 403, it is determined whether it is a valid frame (USD="1") or an invalid frame (USD="0").In step 404, a special Determine whether the frame is a frame (SB="1") or a normal frame (SB="0"), and step 40
5, it is determined whether the CPU is in a busy state (BSY="1").

【0015】送信元が自ノードであれば、ステップ40
1 でのフローがステップ406 に進み、フレームの
破棄を行う。具体的には、送信バッファリードコントロ
ール部23を介してセレクタ25, 26を動作せしめ
、送信バッファ20からデータの送信を行う。送信元S
Aが他ノードであり、宛先DAが自ノードであり、有効
フレームであり(USD=“1”)、かつ通常フレーム
 (SB=“0”)であれば、フローはステップ401
〜404 を介してステップ407 に進み、受信フレ
ームを受信バッファ19に書込む。具体的には、受信バ
ッファライトコントロール部21を動作せしめてデータ
の書込みを行う。
If the source is the own node, step 40
1 proceeds to step 406, where the frame is discarded. Specifically, the selectors 25 and 26 are operated via the transmission buffer read control section 23 to transmit data from the transmission buffer 20. Sender S
If A is another node, the destination DA is the own node, it is a valid frame (USD="1"), and it is a normal frame (SB="0"), the flow proceeds to step 401.
The process proceeds to step 407 via steps 404 to 404, and the received frame is written into the reception buffer 19. Specifically, the reception buffer write control section 21 is operated to write data.

【0016】送信元SAが他ノードであり、宛先DAが
他ノードである場合、フローはステップ401, 40
2を介してリピート処理がされる。また、送信元SAが
他ノードであり、宛先DAが自ノードであり、かつ無効
フレーム(USD=“0”)である場合も、リピート処
理がされる。具体的には、送信バッファリード制御部2
3を介してセレクタ25を動作せしめる。
[0016] If the source SA is another node and the destination DA is another node, the flow proceeds to steps 401 and 40.
Repeat processing is performed via 2. Furthermore, if the source SA is another node, the destination DA is the own node, and the frame is invalid (USD="0"), repeat processing is also performed. Specifically, the transmission buffer read control section 2
3, the selector 25 is activated.

【0017】また、送信元SAが他ノードであり、宛先
DAが自ノードであり、有効フレームであり(USD=
“1”)、特殊フレーム (SB=“1”)であり、か
つビジー状態である(BSY=“1”)場合には、フロ
ーはステップ401, 402, 403, 404,
 405を介してステップ409 に進み、当該送信元
DA宛への送信を停止する。具体的には、ビジーノード
アドレス管理部24に通知し、送信バッファリードコン
トロール部23を介して当該送信元DA宛への送信動作
を停止する。なお、この場合、ビジーノードアドレス管
理部24は当該ノードアドレスDAを記憶する。
[0017] Furthermore, the source SA is another node, the destination DA is the own node, and the frame is valid (USD=
If it is a special frame (SB="1") and is in a busy state (BSY="1"), the flow goes to steps 401, 402, 403, 404,
The process advances to step 409 via step 405, and transmission to the source DA is stopped. Specifically, the busy node address management section 24 is notified, and the transmission operation to the transmission source DA is stopped via the transmission buffer read control section 23. In this case, the busy node address management unit 24 stores the node address DA.

【0018】また、送信元SAが他ノードであり、宛先
DAが自ノードであり、有効フレームであり(USD=
“1”)、特殊フレーム (SB=“1”)であり、か
つビジー状態でない(BSY=“0”)場合には、フロ
ーはステップ401, 402, 403, 404,
 405を介してステップ410 に進み、当該送信元
DA宛への送信を再開する。具体的には、ビジーノード
アドレス管理部24に通知し、送信バッファリードコン
トロール部23を介して当該送信元DA宛への送信動作
を再開する。なお、この場合、ビジーノードアドレス管
理部24は当該ノードアドレスDAを消去する。
[0018] Furthermore, the source SA is another node, the destination DA is the own node, and the frame is valid (USD=
If the frame is a special frame (SB="1") and is not busy (BSY="0"), the flow goes to steps 401, 402, 403, 404,
The process advances to step 410 via step 405, and transmission to the source DA is resumed. Specifically, the busy node address management unit 24 is notified and the transmission operation to the source DA is restarted via the transmission buffer read control unit 23. In this case, the busy node address management unit 24 deletes the node address DA.

【0019】ビジー状態の送信動作 ノード1−iにおいて、受信バッファ19のビジー状態
(オーバーフロー状態)がオーバーフロー検出部22に
よって検出されると、その旨が送信バッファリードコン
トロール部23に通知され、この結果、セレクタ25,
 26により特殊パケット生成部22から特殊パケット
 (フレーム) が中継器28を介して伝送路上に送出
される。この場合、特殊ビットSBは“1”である。
When the busy state (overflow state) of the reception buffer 19 is detected by the overflow detection section 22 in the transmission operation node 1-i in the busy state, the transmission buffer read control section 23 is notified of this fact, and the result is , selector 25,
26, a special packet (frame) is sent out from the special packet generation unit 22 onto the transmission path via the repeater 28. In this case, the special bit SB is "1".

【0020】ビジー状態の解消後の送信動作ノード1−
iにおいて、受信バッファ19のビジー状態(オーバー
フロー状態)の解消がオーバーフロー検出部22によっ
て検出されると、その旨が送信バッファリードコントロ
ール部23に通知され、この結果、やはり、セレクタ2
5, 26により特殊パケット生成部22から特殊パケ
ット (フレーム) が中継器28を介して伝送路上に
送出される。この場合、特殊ビットSBは“0”である
[0020] Sending operation node 1- after clearing the busy state
At i, when the overflow detection section 22 detects that the busy state (overflow state) of the reception buffer 19 has been resolved, the transmission buffer read control section 23 is notified of this, and as a result, the selector 2
5 and 26, a special packet (frame) is sent from the special packet generation unit 22 onto the transmission path via the repeater 28. In this case, the special bit SB is "0".

【0021】なお、特殊パケットヘッダ生成部22は、
ブロードキャスト通信により他ノードに自ノードの受信
バッファ19の状態を通知するビジービットを操作し、
ビジー特殊パケット、復旧特殊パケットを生成している
。図5は図3の各検出部13〜17、フレーム処理部1
8の詳細な論理回路図である。つまり、図5では、フレ
ーム処理部18は図4のフローチャート(ソフトウェア
)の代りにハードウェアで構成したものである。図5に
おいて、各検出部13〜17は、そのビット数に応じた
数のDフリップフロップによって構成され、各Dフリッ
プフロップのデータ入力にはシフトレジスタ11のデー
タが供給され、各Dフリップフロップのクロック入力に
は同期検出部12からのタイミング信号が供給される。 つまり、シフトレジスタ11の各データRDAT0〜7
は同期検出部12のタイミング信号SATIM, DA
TIM, CMTTIMにより各対応のDフリップフロ
ップにラッチされることになる。
[0021] The special packet header generation unit 22
Manipulates a busy bit that notifies other nodes of the status of its own node's receive buffer 19 through broadcast communication,
Generating busy special packets and recovery special packets. FIG. 5 shows each detection section 13 to 17 and frame processing section 1 in FIG. 3.
8 is a detailed logic circuit diagram of FIG. That is, in FIG. 5, the frame processing unit 18 is configured with hardware instead of the flowchart (software) in FIG. In FIG. 5, each of the detection units 13 to 17 is constituted by a number of D flip-flops corresponding to the number of bits, and the data of the shift register 11 is supplied to the data input of each D flip-flop. A timing signal from the synchronization detection section 12 is supplied to the clock input. In other words, each data RDAT0 to 7 of the shift register 11
are the timing signals SATIM and DA of the synchronization detection section 12
It is latched into each corresponding D flip-flop by TIM and CMTTIM.

【0022】フレーム処理部18は、SA検出部13に
ラッチされた送信元アドレスSAと自ノードのアドレス
とを比較する比較器181 、DA検出部14にラッチ
された宛先アドレスDAと自ノードアドレスとを比較す
る比較器182 、及びアンド回路 183〜185 
、ナンド回路186 、及びゲート機能(EN)を有す
るバッファ 187よりなる。アンド回路183 の存
在のために、フレーム破棄は次の条件のすべてが満足さ
れた場合のみ行われる。
The frame processing section 18 includes a comparator 181 that compares the source address SA latched by the SA detection section 13 with the address of its own node, and a comparator 181 that compares the source address SA latched by the SA detection section 13 with the address of its own node, and a comparator 181 that compares the destination address DA latched by the DA detection section 14 with its own node address. Comparator 182 for comparing, and AND circuits 183 to 185
, a NAND circuit 186, and a buffer 187 having a gate function (EN). Due to the presence of the AND circuit 183, frame discard will only occur if all of the following conditions are satisfied:

【0023】1)受信された送信元アドレスSAが自ノ
ードのアドレスと一致であること、 2)受信された使用状態ビットUSDが“1”(有効)
であること。アンド回路184 の存在のために、フレ
ーム受信は次の条件がすべて満たされる場合のみ行われ
る。 1)受信した送信元アドレスSAが自ノードのアドレス
と不一致であること、 2)受信された宛先アドレスDAが自ノードアドレスと
一致していること、 3)受信した有効状態ビットUSDが“1”(有効)で
あること、 4)特殊ビットSBが“0”(通常)であること、5)
自ノードの受信バッファがビジーでないこと(*RBU
F=“0”)。
1) The received source address SA matches the address of the own node, 2) The received usage status bit USD is “1” (valid)
To be. Due to the presence of AND circuit 184, frame reception occurs only if all of the following conditions are met: 1) The received source address SA does not match the own node address. 2) The received destination address DA matches the own node address. 3) The received valid state bit USD is “1”. (valid), 4) Special bit SB is “0” (normal), 5)
The receive buffer of the own node is not busy (*RBU
F=“0”).

【0024】アンド回路185 の存在のために、フレ
ームリピート、すなわち、受信フレームをそのまま送信
フレームとするのは、次の条件のすべてが満足された場
合に行われる。 1)受信された送信元アドレスSAが自ノードのアドレ
スと不一致であること、 2)受信された使用状態ビットUSDが“1”(使用状
態)であること。
Due to the existence of the AND circuit 185, frame repeat, that is, a received frame is used as a transmitted frame as is, is performed when all of the following conditions are satisfied. 1) The received source address SA does not match the address of the own node. 2) The received usage state bit USD is "1" (usage state).

【0025】ナンド186 及びアンド回路187 の
存在のために、送信停止は次の条件のすべてが満たされ
た場合に行われる。 1)受信された送信元アドレスSAが自ノードのアドレ
スと不一致であること 、2)受信された宛先アドレスDAが自ノードのアドレ
スと一致していること、 3)受信され使用状態ビットUSDが“1”(使用状態
)であること、 4)受信された特殊ビットSBが“1”(特殊フレーム
)であること、 5)受信されたビジービットBSYが“1”(ビジー状
態)であること。
Due to the presence of NAND 186 and AND circuit 187, transmission is stopped when all of the following conditions are met. 1) The received source address SA does not match the address of the own node, 2) The received destination address DA matches the address of the own node, 3) The received usage status bit USD is “ 4) The received special bit SB is "1" (special frame); 5) The received busy bit BSY is "1" (busy state).

【0026】また、ナンド186 及びアンド回路18
7 の存在のために、送信停止解除は次の条件のすべて
が満たされた場合に行われる。 1)受信された送信元アドレスSAが自ノードのアドレ
スと不一致であること、 2)受信された宛先アドレスDAが自ノードのアドレス
と一致していること、 3)受信され使用状態ビットUSDが“1”(使用状態
)であること、 4)受信された特殊ビットSBが“1”(特殊フレーム
)であること、 5)受信されたビジービットBSYが“0”(非ビジー
状態)であること。
[0026] Also, a NAND 186 and an AND circuit 18
Due to the existence of 7, transmission suspension will be released if all of the following conditions are met: 1) The received source address SA does not match the address of the own node, 2) The received destination address DA matches the address of the own node, 3) The received usage status bit USD is “ 4) The received special bit SB is "1" (special frame); 5) The received busy bit BSY is "0" (non-busy state). .

【0027】以上の各ビットのラッチ結果より、パケッ
ト破棄、パケット受信、パケットリピート、ビジーノー
ド宛の送信停止・送信再開の処理を行なう。なお、ビジ
ービットBSYの認識は特殊パケット受信時のみ行い、
送信停止、送信再開処理は受信特殊パケットより送信元
アドレスSAとビジービットBSYとを検出管理し、そ
の結果より各ノード宛の送信バッファ内のデータの読み
出し、読み出し停止の処理を行なう。
Based on the above latched results of each bit, processes such as packet discard, packet reception, packet repeat, and transmission stop/restart to the busy node are performed. Note that busy bit BSY is recognized only when special packets are received.
In the transmission stop and transmission restart processing, the source address SA and busy bit BSY are detected and managed from the received special packet, and based on the results, the data in the transmission buffer addressed to each node is read and the reading is stopped.

【0028】次に、本発明に係る図3、図4(または図
5)に示すノードを図1のリングLANに用いた場合の
動作例を図6を参照して説明する。図6(A)に示すよ
うに、ノード1−1からノード1−2へフレームを送信
する場合、宛先アドレスDAにはノード1−2のノード
アドレスたとえば“2”を、送信元アドレスSAにはノ
ード1−1のノードアドレスたとえば“1”を、使用状
態ビットUSDにはフレームの使用中を示す“1”を、
ビジービットBSYには“0”を、特殊ビットSBにも
“0”をそれぞれ書き込む。
Next, an example of the operation when the nodes shown in FIGS. 3 and 4 (or FIG. 5) according to the present invention are used in the ring LAN of FIG. 1 will be described with reference to FIG. As shown in FIG. 6A, when transmitting a frame from node 1-1 to node 1-2, the destination address DA is the node address of node 1-2, for example "2", and the source address SA is For example, the node address of node 1-1 is "1", and the usage status bit USD is "1" indicating that the frame is in use.
"0" is written into the busy bit BSY and "0" is written into the special bit SB.

【0029】正常時の動作では、ノード1−2において
フレームは受信され、受信されたフレームはそのままリ
ピートされてノード1−1に戻り、送信元のノード1−
1において使用状態ビットUSDが“0”とされて再び
伝送路に送出されて下流の送信フレームを有するノード
が使用する。次にノード1−2において受信バッファが
ビジー状態になった場合は、そのフレームヘッダ検出部
15において無効フレームを検出し、図6(B)に示す
ように、無効フレームに特殊パケットヘッダ生成部22
において生成されたパケット (SB=“1”, BS
Y=“1”,  SA=自ノードアドレス、DA=11
111111) を書込み各ノードに送信する。その特
殊パケットを受信した各ノードはノード1−2への送信
を停止する。
[0029] In normal operation, a frame is received at node 1-2, the received frame is repeated as is, returns to node 1-1, and is sent to node 1-1, which is the source of the transmission.
1, the usage status bit USD is set to "0", and the frame is sent out again to the transmission path, and is used by the downstream node that has the transmission frame. Next, when the reception buffer becomes busy in the node 1-2, the frame header detection unit 15 detects an invalid frame, and as shown in FIG. 6(B), the special packet header generation unit 22
Packet generated in (SB="1", BS
Y=“1”, SA=own node address, DA=11
111111) is written and sent to each node. Each node that receives the special packet stops transmitting to node 1-2.

【0030】ノード1−2がビジー状態より復旧した時
も同様に、特殊パケットヘッダ生成部22において生成
されたパケット (SB=“1”, BSY=“0”,
  SA=自ノードアドレス、DA=11111111
) を書き込み各ノードに送信する。復旧通知を受信し
た各ノードはノード1−2宛の送信を再開することにな
る。
Similarly, when the node 1-2 recovers from the busy state, the packet generated by the special packet header generator 22 (SB="1", BSY="0",
SA = own node address, DA = 11111111
) and send it to each node. Each node that receives the recovery notification resumes transmission to node 1-2.

【0031】[0031]

【発明の効果】以上説明したように本発明によれば、受
信バッファがビジー状態であるノードが他ノードへビジ
ー状態通知を行うことにより、他ノードより自ノード宛
への送信が停止されるためトラフィックを向上でき、ま
た、受信バッファの容量分だけビジーノード宛のデータ
をストックしているため、データ通信における信頼度も
向上する。
[Effects of the Invention] As explained above, according to the present invention, a node whose reception buffer is in a busy state notifies other nodes of the busy state, thereby stopping transmission from other nodes to the own node. Traffic can be improved, and since data destined for busy nodes is stocked to the capacity of the receive buffer, reliability in data communication is also improved.

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

【図1】本発明が適用されるループ型LANを示す図で
ある。
FIG. 1 is a diagram showing a loop-type LAN to which the present invention is applied.

【図2】本発明に係るフレームファートを示す図である
FIG. 2 is a diagram showing a frame fart according to the present invention.

【図3】本発明に係るノードを示すブロック回路図であ
る。
FIG. 3 is a block circuit diagram showing a node according to the present invention.

【図4】図3の回路動作を説明するフローチャートであ
る。
FIG. 4 is a flowchart illustrating the operation of the circuit shown in FIG. 3;

【図5】図3の部分詳細図である。FIG. 5 is a detailed view of a portion of FIG. 3;

【図6】本発明に係るループLANの動作の一例を示す
図である。
FIG. 6 is a diagram showing an example of the operation of the loop LAN according to the present invention.

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

1−1,1−2,1−3…ノード 2…監視ノード 13…送信元アドレス検出部 14…宛先アドレス検出部 15…使用状態ビット検出部 16…特殊ビット検出部 17…ビジービット検出部 18…フレーム処理部 25, 26…セレクタ 19…受信バッファ 20…送信バッファ 1-1, 1-2, 1-3...node 2...Monitoring node 13... Source address detection unit 14...Destination address detection unit 15...Usage status bit detection unit 16...Special bit detection section 17...Busy bit detection section 18...Frame processing section 25, 26...Selector 19...Reception buffer 20...Transmission buffer

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  複数のノード(1−1〜1−3)をル
ープ型伝送路により接続したループ型LANにおいて、
自ノードがビジー状態である場合には他ノードに前記自
ノードのビジー状態を通知し、該通知を受信した前記他
ノードは前記自ノードへの送信を停止することを特徴と
するループ型LANにおけるノード状態通知方法。
[Claim 1] In a loop type LAN in which a plurality of nodes (1-1 to 1-3) are connected by a loop type transmission line,
In a loop type LAN characterized in that when the own node is in a busy state, the other node is notified of the busy state of the own node, and the other node that receives the notification stops transmission to the own node. Node status notification method.
【請求項2】  前記自ノードのビジー状態が正常状態
に復旧した場合には前記他ノードに前記自ノードの正常
状態を通知し、該通知を受信した前記他ノードは前記自
ノードへの送信停止を解除する請求項1に記載のループ
型LANにおけるノード状態通知方法。
2. When the busy state of the own node is restored to a normal state, the other node is notified of the normal state of the own node, and the other node that receives the notification stops transmission to the own node. 2. The node status notification method in a loop type LAN according to claim 1, wherein the node status notification method in a loop type LAN is canceled.
JP3056937A 1991-03-20 1991-03-20 Node state notice method in loop type lan Withdrawn JPH04291851A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3056937A JPH04291851A (en) 1991-03-20 1991-03-20 Node state notice method in loop type lan

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3056937A JPH04291851A (en) 1991-03-20 1991-03-20 Node state notice method in loop type lan

Publications (1)

Publication Number Publication Date
JPH04291851A true JPH04291851A (en) 1992-10-15

Family

ID=13041442

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3056937A Withdrawn JPH04291851A (en) 1991-03-20 1991-03-20 Node state notice method in loop type lan

Country Status (1)

Country Link
JP (1) JPH04291851A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5539747A (en) * 1993-08-24 1996-07-23 Matsushita Electric Industrial Co., Ltd. Flow control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5539747A (en) * 1993-08-24 1996-07-23 Matsushita Electric Industrial Co., Ltd. Flow control method

Similar Documents

Publication Publication Date Title
US7394758B2 (en) Method for supporting SDH/SONET APS on Ethernet
JP4564665B2 (en) Method and apparatus for extending the range of general serial bus protocols
JP4074304B2 (en) Packet transfer method and packet transfer apparatus
US20050097196A1 (en) Network status messaging
US7782892B2 (en) Method and an apparatus for consistency verification of traffic engineering link timeslot status
JP2001127782A (en) System for finding out and supervising active topology and its method
JPH0750679A (en) Method of bandwidth allocation in communication network
JP2005260927A (en) Ethernet automatic protection switching
KR20080089285A (en) Method for protection switching in ethernet ring network
JPS60148249A (en) Message removing method
EP0469812A1 (en) Detection of duplicate alias addresses
US5528594A (en) Method and system for implementing sub-tokens on a token ring network
JP2007209040A (en) Packet transmission method and packet transmission device
US6741566B1 (en) Remote management ethernet network and device
US7079491B2 (en) Method and node apparatus for filtering ICMP data frame
CN100466583C (en) Fast ring network method against attack based on RRPP, apparatus and system
GB2406486A (en) Configuring a spanning tree
JPH11252080A (en) Transmission line interface device
US6028837A (en) Ether ring architecture for local area networks
JPH1155314A (en) Method for controlling data transfer
JPH04291851A (en) Node state notice method in loop type lan
JP4585560B2 (en) Network failure detection method, data communication network system, and node device
AU655879B2 (en) Accelerated token ring network
JP2004120636A (en) Packet sorting apparatus
JPH06252895A (en) Data transmission system

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980514