JPH0683238B2 - Transmission control method in loop network - Google Patents

Transmission control method in loop network

Info

Publication number
JPH0683238B2
JPH0683238B2 JP5093785A JP5093785A JPH0683238B2 JP H0683238 B2 JPH0683238 B2 JP H0683238B2 JP 5093785 A JP5093785 A JP 5093785A JP 5093785 A JP5093785 A JP 5093785A JP H0683238 B2 JPH0683238 B2 JP H0683238B2
Authority
JP
Japan
Prior art keywords
transmission
station
output
signal
transmission line
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.)
Expired - Lifetime
Application number
JP5093785A
Other languages
Japanese (ja)
Other versions
JPS61210744A (en
Inventor
正一郎 中井
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
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP5093785A priority Critical patent/JPH0683238B2/en
Publication of JPS61210744A publication Critical patent/JPS61210744A/en
Publication of JPH0683238B2 publication Critical patent/JPH0683238B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、ループネットワークに接続されたトリガース
テーションおよびノードステーションの送信制御方式に
関する。
The present invention relates to a transmission control system for a trigger station and a node station connected to a loop network.

(従来技術とその問題点) 音声通信・データ通信の統合に加え、動画通信・高精細
イメージ等の高帯域サービスの統合を実現するための通
信方式として、例えば、昭和58年度電子通信学会交換研
究会資料SE83-107記載の「高速同期式パケットループの
一検討」で述べられているループネットワークがある。
(Prior art and its problems) In addition to the integration of voice communication and data communication, as a communication method for realizing the integration of high-bandwidth services such as video communication and high-definition images, for example, the 1983 IEICE exchange research There is a loop network described in "Examination of high-speed synchronous packet loops" described in the meeting document SE83-107.

このループネットワークは、第6図に示すようなネット
ワークを構成する。同図において、トリガーステーショ
ンTS20はポーリング信号を伝送路24上に送信して、ノー
ドステーションNS21,NS22,NS23に対してポーリング制御
を行う。また、ノードステーションNS21,NS22,NS23は、
前記ポーリング制御に従い、伝送路24を介してパケット
の送受信を行う。これら各ステーションは伝送路24によ
り、図のようにループ状に接続されている。(なお、本
明細書においては前記トリガーステーションをTS、また
前記ノードステーションをNSと略し、TSおよびNSを総称
してステーションと呼ぶ。) このループネットワークにおいては、第7図に示すよう
に、TS20がポーリング信号(p1もしくはp2)を送信し、
各NSは伝送路24上を通過するポーリング信号を監視する
とともに、パケットの送信を準備し送信権を獲得した後
にパケットの送信を行う。例えば第7図の例において
は、NS21は、TS20が送信したポーリング信号p1を受信
し、同信号の通過後に送信権を獲得しパケットa1の送信
を行う。NS22はポーリング信号p1を受信後、パケットa1
の通過後に送信権を獲得しパケットb1の送信を行う。同
様にして、NS23もパケットc1を送信する。
This loop network constitutes a network as shown in FIG. In the figure, the trigger station TS20 sends a polling signal onto the transmission line 24 to perform polling control on the node stations NS21, NS22, NS23. Also, the node stations NS21, NS22, NS23 are
Packets are transmitted and received via the transmission line 24 in accordance with the polling control. These stations are connected by a transmission line 24 in a loop as shown in the figure. (In this specification, the trigger station is abbreviated as TS, and the node station is abbreviated as NS, and TS and NS are collectively referred to as stations.) In this loop network, as shown in FIG. Sends a polling signal (p1 or p2),
Each NS monitors the polling signal passing through the transmission path 24, prepares for packet transmission, and transmits the packet after acquiring the transmission right. For example, in the example of FIG. 7, the NS21 receives the polling signal p1 transmitted by the TS20, acquires the transmission right after passing the signal, and transmits the packet a1. NS22 receives packet a1 after receiving polling signal p1.
After that, the transmission right is acquired and the packet b1 is transmitted. Similarly, NS23 also transmits packet c1.

TS20は、自己の送信したポーリング信号p1が伝送路24を
一巡して戻ってくると、このポーリング信号p1を伝送路
24から除去し(図において各ステーションにおいて除去
される信号を*印で示す。)、さらにNS21およびNS22お
よびNS23が送信したパケットa1,b1,c1を通過させた後、
送信権を獲得し、次のポーリング信号p2を送信し、NS21
にパケットa2の送信を起動する。また、各NSも自己の送
信したパケットが伝送路24を一巡して戻ってくると、伝
送路24から除去する。このように、送信された信号は伝
送路24を一巡した後に送信元のステーションにおいて除
去される。
When the polling signal p1 transmitted by the TS20 makes one round in the transmission line 24 and returns, the TS20 transmits the polling signal p1 to the transmission line 24.
After removing from 24 (the signal removed at each station in the figure is indicated by *) and passing packets a1, b1, c1 transmitted by NS21, NS22 and NS23,
Acquires the right to send, sends the next polling signal p2, NS21
To start sending packet a2. Also, each NS also removes from the transmission line 24 when the packet transmitted by itself returns around the transmission line 24. In this way, the transmitted signal is removed at the transmission source station after passing through the transmission path 24 once.

前記ループネットワークにおいて各ステーションは、信
号の送信開始の際に伝送路24を一旦切断し、自己のステ
ーション内の信号を送信し、この信号が伝送路24を一巡
するのを待ち、同信号を伝送路24から除去した後に再び
伝送路24を接続する。このように、各ステーションは送
信時に伝送路24の開閉制御を行う。従って、伝送路24上
での符号誤りなどによりあるステーションが誤って伝送
路24の開閉を行った場合には、送信されたパケットが着
信ステーションに到達する以前にあるステーションにお
いて除去されてしまったり、あるいはパケットが伝送路
24を一巡したのにもかかわらず送信元のステーションに
おいて除去されない等の障害が発生し、各ステーション
のアクセス方式に異常をきたす。例えば、第8図の例に
おいてNS21が送信したパケットa1の途中に、黒印で示す
ように符号誤りによりパケットの終端を示す終了デリミ
タが現れた場合には、パケットa1を送信したNS21は同パ
ケットが伝送路24を一巡して戻ってきたときに、前記符
号誤りによって発生した終了デリミタを検出した時点で
パケットa1の除去を終了してしまう。従って第8図に斜
線で示すように、パケットa1の後半の一部が除去されず
に残される。
In the loop network, each station temporarily disconnects the transmission line 24 at the start of signal transmission, transmits the signal in its own station, waits for this signal to go around the transmission line 24, and transmits the same signal. The transmission line 24 is connected again after being removed from the line 24. In this way, each station controls the opening / closing of the transmission path 24 during transmission. Therefore, when a certain station erroneously opens and closes the transmission line 24 due to a code error on the transmission line 24, the transmitted packet is removed at a station before reaching the destination station, Or packet is the transmission line
Despite going through 24 cycles, a failure occurs such as not being removed at the transmission source station, causing an abnormality in the access method of each station. For example, in the example shown in FIG. 8, when the end delimiter indicating the end of the packet appears due to a code error in the middle of the packet a1 transmitted by the NS21, the NS21 that transmitted the packet a1 sends the same packet to the NS21. When the packet has returned through the transmission path 24 and returned, the removal of the packet a1 ends when the end delimiter caused by the code error is detected. Therefore, as indicated by the diagonal lines in FIG. 8, a part of the latter half of the packet a1 is not removed and remains.

一方NS22はこの残された信号を自己の送信したパケット
b1と識別し、斜線で示す信号の終了デリミタを検出する
まで伝送路24を切断し除去し、終了デリミタの検出とと
もに伝送路24を通過状態に戻す。従って、NS22が送信し
たパケットb1は伝送路24を一巡して送信元のステーショ
ンであるNS22に戻っても、同ステーションにおいて除去
されずに残り、NS23において除去される。同様にしてNS
23が送信したパケットc1はTS20において除去され、TS20
が送信したポーリング信号p2はNS21において除去される
というように、以後各送信元のステーションが自己の送
信したパケットとは異なる信号を除去してしまうような
異常状態が続くことになる。
On the other hand, NS22 sends the remaining signal to the packet
The transmission line 24 is cut and removed until it is identified as b1 and the end delimiter of the signal indicated by the diagonal lines is detected, and the transmission line 24 is returned to the passing state when the end delimiter is detected. Therefore, even if the packet b1 transmitted by the NS22 goes around the transmission path 24 and returns to the transmission source station NS22, it remains without being removed at the same station and is removed at NS23. Similarly NS
Packet c1 sent by 23 is dropped at TS20 and TS20
Then, the polling signal p2 transmitted by is removed in NS21, and thereafter, an abnormal state in which each source station removes a signal different from the packet transmitted by itself will continue.

(本発明の目的) 本発明の目的は、伝送路上での符号誤りが原因となり、
伝送路を一巡しても除去されない信号が生じて、前記各
ステーションの送受信制御に異常が生じた場合にも、す
みやかに正常な送受信制御が行える送信制御方式を与え
ることにある。
(Object of the present invention) The object of the present invention is caused by a code error on a transmission line,
Another object of the present invention is to provide a transmission control method capable of promptly performing normal transmission / reception control even when the transmission / reception control of each station becomes abnormal due to a signal that is not removed even after one round of the transmission path.

(発明の構成) 本発明によれば、1つのトリガステーションおよび複数
のノードステーションからなり、これら各ステーション
が伝送路によりループ状に接続され、前記トリガステー
ションがポーリング信号を前記伝送路に送信し、前記ノ
ードステーションに対して送信制御を行うループ状ネッ
トワークの送信制御方式であって、 前記トリガステーションは、前記伝送路に直列に設けら
れる前記伝送路の開閉を行うスイッチと、前記伝送路の
一巡伝搬時間に基づき決定される一定時間の経過を通知
するタイマとを具備し、 前記トリガステーションおよびノードステーションは、
前記伝送路を通過する信号ブロックの開始を検出する第
1の検出部と、前記信号ブロックの終了を検出する第2
の検出部と、前記第1の検出部の検出出力によりセット
され、前記第2の検出部の検出出力によりリセットされ
るフリップフロップを具備し、 前記トリガステーションおよびノードステーションにお
いては、前記フリップフロップの正論理出力が活性状態
のときに前記第1の検出部の検出出力が活性状態になる
場合、もしくは前記フリップフロップの負論理出力が活
性状態のときに前記第2の検出部の検出出力が活性状態
になる場合には送信権を獲得できず、 さらに前記トリガステーションは、送信権を獲得できな
かった場合には、前記伝送路を通過する信号の通過後、
前記タイマを起動するとともに、前記一定時間の経過を
認識するまで前記スイッチにより前記伝送路を切断状態
に保ち、前記タイマが前記一定時間の経過を通知した後
ポーリング信号を送信することを特徴とするループネッ
トワークにおける送信制御方式が得られる。
(Structure of the Invention) According to the present invention, it is composed of one trigger station and a plurality of node stations, these stations are connected in a loop by a transmission line, and the trigger station transmits a polling signal to the transmission line, A transmission control method of a loop network for controlling transmission to the node station, wherein the trigger station comprises a switch provided in series with the transmission line for opening and closing the transmission line, and a round trip propagation of the transmission line. A timer for notifying the elapse of a fixed time determined based on time, the trigger station and the node station,
A first detector for detecting the start of a signal block passing through the transmission path and a second detector for detecting the end of the signal block
And a flip-flop set by the detection output of the first detection unit and reset by the detection output of the second detection unit. In the trigger station and the node station, the flip-flop of When the detection output of the first detection section becomes active when the positive logic output is active, or when the negative logic output of the flip-flop is active, the detection output of the second detection section becomes active. If the trigger station cannot acquire the transmission right, after the signal passing through the transmission path passes,
While the timer is started, the transmission path is kept in a disconnected state by the switch until the lapse of the fixed time is recognized, and the polling signal is transmitted after the timer notifies the lapse of the fixed time. A transmission control method in a loop network is obtained.

(構成の詳細な説明) 本発明によるループネットワークの送信制御方式につい
て図面を参照して詳細に説明する。
(Detailed Description of Configuration) The transmission control method of the loop network according to the present invention will be described in detail with reference to the drawings.

第1図は本発明による前記トリガーステーションTS20の
構成を示す図である。同図において、伝送路24上の信号
は、TS20の非送信時においてはスイッチ1を介して隣接
するNS21にバイパスされると共に、パケットの開始デリ
ミタ(SD)を検出するSD検出部3、パケットの終了デリ
ミタ(ED)を検出するED検出部4、および伝送路24上の
状態を監視し、ED通過直後の伝送路24のアイドル状態を
検出するアイドル状態検出部2に入力される。アイドル
状態検出部2はED通過直後の伝送路24のアイドル状態を
検出すると同部の出力2-1を活性状態にする。デリミタ
異常検出部5はSD検出部3およびED検出部4からの各デ
リミタ検出出力を監視し、伝送路24上での符号誤りによ
るデリミタの発生もしくは消滅を検出した場合に同部の
出力5-1を活性状態にする。デリミタ異常検出部5の出
力5-1はインバータ11により反転されANDゲート9に入力
される。すなわち、ANDゲート9は、デリミタの検出に
異常がなく伝送路24がアイドル状態となったときに同部
の出力が活性状態になる。アクセス制御部6はあらかじ
め送信レジスタ8にポーリング信号を設定しておき、AN
Dゲート9の出力が活性状態になったときにスイッチ1
を送信レジスタ8側に接続しポーリング信号の送信を行
う。またタイマ7は伝送路24の一巡遅延時間に基づき決
定される一定時間を通知するためのタイマであり、この
タイマの制御については後述する。
FIG. 1 is a diagram showing the configuration of the trigger station TS20 according to the present invention. In the figure, the signal on the transmission path 24 is bypassed to the adjacent NS21 via the switch 1 when the TS20 is not transmitting, and the SD detection unit 3 that detects the start delimiter (SD) of the packet and the packet It is input to the ED detection unit 4 that detects the end delimiter (ED) and the idle state detection unit 2 that monitors the state on the transmission line 24 and detects the idle state of the transmission line 24 immediately after passing the ED. When the idle state detector 2 detects the idle state of the transmission line 24 immediately after passing through the ED, the output 2-1 of the same is activated. The delimiter abnormality detection unit 5 monitors each delimiter detection output from the SD detection unit 3 and the ED detection unit 4, and when the occurrence or disappearance of the delimiter due to a code error on the transmission line 24 is detected, the output of the same unit 5- Activate 1 The output 5-1 of the delimiter abnormality detection unit 5 is inverted by the inverter 11 and input to the AND gate 9. That is, the AND gate 9 activates the output of the same section when the transmission line 24 enters the idle state without any abnormality in the detection of the delimiter. The access control unit 6 sets a polling signal in the transmission register 8 in advance, and
Switch 1 when the output of D-gate 9 becomes active
Is connected to the transmission register 8 side to transmit a polling signal. The timer 7 is a timer for notifying a fixed time determined based on the one-cycle delay time of the transmission path 24, and the control of this timer will be described later.

さらに第2図には第1図に示すトリガーステーションTS
20内のデリミタ異常検出部5の構成を示す。図における
フリップフロップ50はSD検出部3からのSD検出出力3-1
によりセットされ、ED検出部4からのED検出出力4-1に
よりリセットされ、さらにタイマ7からの出力7-1によ
り初期値がプリセットされる。なおこのときの初期値は
Q=0,=1である。従ってフリップフロップ50が一旦
プリセットされると、ANDゲート51はSD検出部3からのS
D検出出力を受信しフリップフロップ50がセットされた
後に続けてSD検出出力を受信すると活性状態になる。同
様にしてANDゲート52はED検出部4からのED検出出力を
受信しフリップフロップ50がリセットされた後に続けて
ED検出出力を受信すると活性状態になる。このように各
ANDゲートの出力は同一のデリミタが連続して伝送路24
を通過する場合に活性状態になりデリミタ検出の異常を
検出する。フリップフロップ54はANDゲート51、52の論
理和をとるORゲート53の出力によりセットされデリミタ
検出の異常状態を通知する。なおこの出力5-1はタイマ
7の出力7-1によりリセットされる。
Further, FIG. 2 shows the trigger station TS shown in FIG.
The configuration of the delimiter abnormality detection unit 5 in 20 is shown. The flip-flop 50 in the figure is the SD detection output 3-1 from the SD detection unit 3.
Is set by the ED detection section 4 and reset by the ED detection output 4-1 from the ED detection section 4, and the initial value is preset by the output 7-1 from the timer 7. The initial values at this time are Q = 0 and = 1. Therefore, once the flip-flop 50 is preset, the AND gate 51 operates as the S signal from the SD detector 3.
When the SD detection output is received and the SD detection output is subsequently received after the flip-flop 50 is set, it becomes active. Similarly, the AND gate 52 receives the ED detection output from the ED detection unit 4 and continues after the flip-flop 50 is reset.
When ED detection output is received, it becomes active. Each like this
The output of the AND gate has the same delimiter consecutive
When passing through, it becomes active and detects an error in delimiter detection. The flip-flop 54 is set by the output of the OR gate 53 which takes the logical sum of the AND gates 51 and 52, and notifies the abnormal state of delimiter detection. The output 5-1 is reset by the output 7-1 of the timer 7.

第3図には本発明によるノードステーションNS21、22、
23内の構成を示す。同図において、伝送路24上の信号
は、NSの非送信時においてはスイッチ1を介して隣接す
るNSもしくはTS20にバイパスされると共に、パケットの
開始デリミタ(SD)を検出するSD検出部3、パケットの
終了デリミタ(ED)を検出するED検出部4および伝送路
24上の状態を監視しED通過直後の伝送路24のアイドル状
態を検出するアイドル状態検出部2、さらにTS20から送
信されたポーリング信号を検出するポーリング信号検出
部12に入力される。デリミタ異常検出部5′はSD検出部
3およびED検出部4からの各デリミタ検出出力を監視
し、符号誤りによるデリミタの発生もしくは消滅を検出
した場合に同部の出力5′‐1を活性状態にする。デリ
ミタ異常検出部5′の出力5′‐1はインバータ11によ
り反転されANDゲート9に入力される。すなわち、ANDゲ
ート9はデリミタの検出に異常がなく伝送路24がアイド
ル状態となったときに同部の出力が活性状態になる。ア
クセス制御部6′は送信すべき信号パケットを送信レジ
スタ8に設定しておき、ポーリング信号を受信した後に
ANDゲート9が活性状態になったときにスイッチ1を送
信レジスタ8側に接続しパケットの送信を行う。またタ
イマ7′は伝送路24の一巡遅延時間に基づき特定される
一定時間を通知するためのタイマであり、このタイマの
制御については後述する。
FIG. 3 shows a node station NS21, 22, according to the present invention.
The structure inside 23 is shown. In the figure, the signal on the transmission line 24 is bypassed to the adjacent NS or TS20 via the switch 1 when the NS is not transmitting, and the SD detection unit 3, which detects the start delimiter (SD) of the packet, ED detector 4 for detecting the end delimiter (ED) of the packet and the transmission path
It is input to the idle state detection unit 2 that monitors the state on 24 and detects the idle state of the transmission path 24 immediately after passing through the ED, and the polling signal detection unit 12 that detects the polling signal transmitted from the TS 20. The delimiter abnormality detection unit 5'monitors each delimiter detection output from the SD detection unit 3 and the ED detection unit 4, and when the occurrence or disappearance of the delimiter due to a code error is detected, the output 5'-1 of the unit is activated. To The output 5'-1 of the delimiter abnormality detection unit 5'is inverted by the inverter 11 and input to the AND gate 9. That is, the AND gate 9 activates the output of the same section when the transmission line 24 is in the idle state without any abnormality in the detection of the delimiter. The access control unit 6'sets the signal packet to be transmitted in the transmission register 8 and, after receiving the polling signal,
When the AND gate 9 is activated, the switch 1 is connected to the transmission register 8 side to transmit a packet. The timer 7'is a timer for notifying a fixed time specified based on the round trip delay time of the transmission line 24, and the control of this timer will be described later.

デリミタ異常検出部5′の内部の構成は第2図に示した
TS20内のデリミタ異常検出部5と同一であるが、前記の
例の場合には内部のフリップフロップ50、54のプリセッ
トおよびリセットをTS20内のタイマ7の出力7-1により
行っていたのに対して、各NSのデリミタ異常検出部5′
においてはポーリング信号検出部12からの出力12-1によ
りデリミタ異常検出部5′内部のフリップフロップ50、
54のプリセットおよびリセットを行う。
The internal structure of the delimiter abnormality detecting section 5'is shown in FIG.
Although it is the same as the delimiter abnormality detection unit 5 in the TS20, in the case of the above example, the presets and resets of the internal flip-flops 50 and 54 were performed by the output 7-1 of the timer 7 in the TS20. The delimiter abnormality detection unit 5'of each NS
, The output 12-1 from the polling signal detector 12 causes the flip-flop 50 in the delimiter abnormality detector 5 ',
Preset and reset 54.

(実施例) 以上説明したトリガーステーションTS20およびノードス
テーションNS21,22,23の構成をもとに本発明の実施例に
ついて述べる。
(Embodiment) An embodiment of the present invention will be described based on the configurations of the trigger station TS20 and the node stations NS21, 22, 23 described above.

第4図は前記TS20が送信するポーリング信号および前記
各NSが送信するパケットのフレーム構成を示す。これら
の信号は、信号の発信元ステーションのアドレス・着信
ステーションのアドレスやフレームの制御情報、さらに
各NSに対するポーリング情報を含むヘッダ部(HDR)と
通信内容を伝送するメッセージ部(INFO)からなり、こ
の前後に信号の開始と終了を示す開始デリミタ(SD)お
よび終了デリミタ(ED)が付加され、パケット化されて
伝送24上に送信される。ヘッダ部には、TS20が送信した
ポーリング信号であることを示すPLビットがある。すな
わちPL=1はTS20が送信したポーリング信号を示す、PL
=0は各NSが送信したパケットを示す。
FIG. 4 shows a frame structure of a polling signal transmitted by the TS20 and a packet transmitted by each NS. These signals consist of the address of the source station of the signal, the address of the receiving station and the control information of the frame, a header part (HDR) that contains polling information for each NS, and a message part (INFO) that transmits the communication content. Before and after this, a start delimiter (SD) and an end delimiter (ED) indicating the start and end of the signal are added, packetized and transmitted on the transmission 24. The header part has a PL bit indicating that it is a polling signal transmitted by the TS20. That is, PL = 1 indicates the polling signal transmitted by TS20, PL
= 0 indicates a packet transmitted by each NS.

第4図に示すようにTS20および各NSのいずれかのステー
ションが送信するパケットの終端には終了デリミタ(E
D)が付加されており、いずれのステーションもEDを送
出してその送信を終了する。また各ステーションが送信
を終了した後に伝送路24の上流側より最初に受信される
信号は、正常時においては常に伝送路24を一巡した後の
自己の送信した信号であり、第7図においては、TS20に
は送信終了後に最初に自己の送信したポーリング信号p1
が受信され、NS21,NS22,NS23には各々、送信終了後に最
初に自己の送信したパケットa1,b1,c1が受信される。従
って、各ステーションは送信終了後に伝送路24を監視し
最初に検出される終了デリミタ(ED)が自己の送信した
パケットの終了を示す信号であると認識でき、自己の送
信したパケットの除去は、送信終了後最初に終了デリミ
タ(ED)が検出されるまでに行われる。
As shown in Fig. 4, the end delimiter (E
D) is added, and all stations send ED and end the transmission. Also, the signal received first from the upstream side of the transmission line 24 after each station finishes transmission is the signal transmitted by itself after the circuit has made one round in the transmission line 24 under normal conditions, and in FIG. , TS20 first sends polling signal p1 that it has sent after the end of transmission.
And NS21, NS22, and NS23 respectively receive the packets a1, b1, and c1 first transmitted by themselves after the end of transmission. Therefore, each station can recognize that the end delimiter (ED) detected first by monitoring the transmission line 24 after the end of transmission is the signal indicating the end of the packet transmitted by itself, and the removal of the packet transmitted by itself is It is performed until the end delimiter (ED) is detected after the end of transmission.

第5図は、第8図において説明したような異常状態、す
なわちNS21の送信したパケットa1の途中に黒印で示すよ
うに伝送路24での符号誤りにより終了デリミタ(ED)が
発生した場合に本発明による送信制御を実施した時の伝
送路24上の信号の流れを示す。以後第5図に基づき実施
例を説明する。
FIG. 5 shows an abnormal state as described with reference to FIG. 8, that is, when an end delimiter (ED) occurs due to a code error in the transmission line 24 as indicated by a black mark in the middle of the packet a1 transmitted by NS21. 7 shows a signal flow on the transmission line 24 when the transmission control according to the present invention is performed. An embodiment will be described below with reference to FIG.

TS20内のアクセス制御部6は、ポーリング制御の開始に
あたり送信レジスタ8にポーリング信号p1を格納し、出
力6-1を活性状態にしスイッチ1を送信レジスタ8の出
力端子に接続しポーリング信号p1の送信を開始する。な
お、以上のようにTS20がポーリング制御を開始した後
は、正常時においてはアクセス制御部6はアイドル状態
検出部2がED通過直後の伝送路24のアイドル状態を検出
し、かつまたデリミタ異常検出部5の出力5-1が不活性
状態である場合には、ポーリング信号の送信を繰り返し
行う。
At the start of polling control, the access control unit 6 in the TS20 stores the polling signal p1 in the transmission register 8, activates the output 6-1 and connects the switch 1 to the output terminal of the transmission register 8 to transmit the polling signal p1. To start. After the TS20 starts the polling control as described above, the access control unit 6 detects the idle state of the transmission path 24 immediately after passing the ED and the delimiter abnormality detection in the normal state when the access control unit 6 normally operates. If the output 5-1 of the unit 5 is inactive, the polling signal is repeatedly transmitted.

第5図の例においてはTS20はポーリング信号p1の送信
後、同信号が伝送路24を一巡して自局に戻ってくると同
信号を除去する。(なお、各ステーションにおいて除去
される信号を*印で示す。)そしてポーリング信号p1の
EDを検出した後に出力6-1を不活性状態にしてスイッチ
1を伝送路24側に接続し伝送路24を接続状態に戻し、パ
ケットa1,b1,c1を通過させる。このときTS20はパケット
a1の途中に黒印で示した符号誤りにより発生した終了デ
リミタ(ED)と本来パケットa1に付加された終了デリミ
タ(ED)を連続して検出するためにTS20内のデリミタ異
常検出部5がデリミタの異常を検出する。
In the example of FIG. 5, the TS20 removes the polling signal p1 after transmitting the polling signal p1 when the signal goes around the transmission line 24 and returns to the own station. (Note that the signals removed at each station are indicated by *.) Then, the polling signal p1
After detecting the ED, the output 6-1 is made inactive, the switch 1 is connected to the transmission line 24 side, the transmission line 24 is returned to the connected state, and the packets a1, b1, c1 are passed. At this time TS20 is a packet
In order to continuously detect the end delimiter (ED) caused by a code error shown by a black mark in the middle of a1 and the end delimiter (ED) originally added to the packet a1, the delimiter abnormality detection unit 5 in the TS20 detects the delimiter. To detect abnormalities.

TS20はデリミタの検出が生じてデリミタ異常検出部5の
出力5-1が活性状態になるとアイドル状態検出部2によ
りアイドル状態を検出したときでもANDゲート9の出力
は活性状態にならずに送信権を獲得できない。すなわ
ち、TS20はパケットc1が通過した後伝送路24がアイドル
状態になっても次のポーリング信号を送信しない。一
方、デリミタ異常検出部5の出力5-1が活性状態であ
り、アイドル状態検出部2がパケットc1の通過直後に伝
送路24のアイドル状態を検出した場合にはANDゲート10
の出力が活性状態になる。このときアクセス制御部6は
ANDゲート10の出力が活性状態になったことを検出する
とスイッチ1を用いて伝送路24を切断状態に保持する。
これは符号誤りにより終了デリミタ(ED)が発生した場
合に、第8図の例により説明したように伝送路24を一巡
しても除去されずに残る信号をTS20内において除去する
ためである。
When TS20 detects a delimiter and the output 5-1 of the delimiter abnormality detection unit 5 becomes active, the output of the AND gate 9 does not become active and the transmission right even when the idle state detection unit 2 detects the idle state. Cannot be obtained. That is, the TS 20 does not transmit the next polling signal even if the transmission line 24 becomes idle after the packet c1 passes. On the other hand, when the output 5-1 of the delimiter abnormality detection unit 5 is in the active state and the idle state detection unit 2 detects the idle state of the transmission line 24 immediately after the packet c1 passes, the AND gate 10
Output becomes active. At this time, the access control unit 6
When it is detected that the output of the AND gate 10 has become active, the switch 1 is used to hold the transmission line 24 in the disconnected state.
This is because when the end delimiter (ED) occurs due to a code error, the signal that is not removed even if the transmission path 24 makes one round as described in the example of FIG. 8 is removed in the TS20.

またタイマ7はTS20が伝送路24の切断状態を保持する時
間を測定するためのタイマであり、ANDゲート10の出力
が活性状態になると同時に起動され、伝送路24の一巡伝
搬時間を基に決定される一定時間t1の経過を測定する。
タイマ7は一定時間t1の経過後にその出力7-1を活性状
態にする。このt1の値は、伝送路24の一巡伝搬時間と等
しいか、もしくはそれよりわずかに大きな値をとるもの
とし、この時間t1内に伝送路24上に残された信号はすべ
て除去されるようにする。
Further, the timer 7 is a timer for measuring the time during which the TS 20 holds the disconnection state of the transmission line 24, and is started at the same time when the output of the AND gate 10 becomes active, and is determined based on the round-trip propagation time of the transmission line 24. The elapse of a certain time t1 is measured.
The timer 7 activates its output 7-1 after the elapse of a fixed time t1. The value of this t1 shall be equal to or slightly larger than the round-trip propagation time of the transmission line 24, so that all the signals left on the transmission line 24 within this time t1 are removed. To do.

一方各NSはTS20が送信したポーリング信号を受信した後
に送信を行う。第3図に示すNS内のアクセス制御部6′
は自己のNSに送信要求がある場合に送信すべきパケット
を送信レジスタ8に設定し、ANDゲート9の出力が活性
状態になったとき、すなわちデリミタ異常検出部5′の
出力5′‐1は不活性状態でありアイドル状態検出部2
が伝送路24のアイドル状態を検出した場合には送信権を
獲得し、出力6′‐1を活性状態にしスイッチ1を送信
レジスタ8側に接続しパケットの送信を行う。アクセス
制御部6′はパケットの送信を終了した後、最初に伝送
路を通過する終了デリミタ(ED)の通過を待ち、このED
の通過直後に出力6′‐1を不活性状態にしスイッチ1
を伝送路24側に接続し通過状態に戻す。さらに、EDの符
号誤りによりEDが検出されなかった場合に備え、アクセ
ス制御部6′は自局のパケットの送信終了後に一定時間
経過した場合にはEDが検出されなくともスイッチ1を通
過状態に戻す。このためアクセス制御部6′はパケット
の送信終了とともに出力6′‐2を活性状態にし伝送路
24の一巡遅延時間に基づき特定される一定時間t1の経過
を知らせるタイマ7′を起動する。なお、このタイマ
7′の設定値t1は先のTS20内のタイマ7の設定値と同一
である。アクセス制御部6′は送信終了後タイマ7′を
起動し、タイマ7′の出力7′‐1が活性状態になり一
定時間t1の経過を知ると無条件にスイッチ1を通過状態
に戻す。
On the other hand, each NS transmits after receiving the polling signal transmitted by TS20. Access control unit 6'in NS shown in FIG.
Sets a packet to be transmitted to its own NS in the transmission register 8 when there is a transmission request, and when the output of the AND gate 9 becomes active, that is, the output 5'-1 of the delimiter abnormality detection unit 5'is Inactive state and idle state detection unit 2
When the idle state of the transmission line 24 is detected, the transmission right is acquired, the output 6'-1 is activated, the switch 1 is connected to the transmission register 8 side, and the packet is transmitted. The access control unit 6 ′ waits for the passage of the end delimiter (ED) that first passes through the transmission path after finishing the transmission of the packet, and then this ED
Immediately after passing through the switch, the output 6'-1 is deactivated and the switch 1
Is connected to the transmission line 24 side and returned to the passing state. Further, in case the ED is not detected due to a code error in the ED, the access control unit 6 ′ puts the switch 1 into the passing state even if the ED is not detected when a certain time has passed after the end of the packet transmission of the own station. return. Therefore, the access control unit 6'activates the output 6'-2 at the end of packet transmission and sets the transmission line 6'-2.
A timer 7'for notifying the elapse of the fixed time t1 specified based on the 24 round-trip delay time is started. The set value t1 of the timer 7'is the same as the set value of the timer 7 in the TS20. After the transmission is completed, the access control unit 6'starts the timer 7 ', and when the output 7'-1 of the timer 7'becomes active and the elapse of a certain time t1 is known, the switch 1 is unconditionally returned to the passing state.

第5図において、NS21はポーリング信号p1を受信すると
ボーリング信号検出部12がこれを検出しデリミタ異常検
出部5′が初期化され、ポーリング信号p1の通過直後に
送信権を獲得しパケットa1を送信する。この後伝送路24
を一巡して同パケットが戻ってきた場合に第8図におい
て説明したようにパケットの途中に発生したEDを検出し
て除去を終了するためにパケットa1の斜視部が伝送路24
に残る。またこのときNS21はTS20と同様に2つのEDを連
続して受信するために自局内のデリミタ異常検出部5′
がデリミタの異常を検出する。
In FIG. 5, when the NS21 receives the polling signal p1, the boring signal detection unit 12 detects it and the delimiter abnormality detection unit 5'is initialized, and immediately after the polling signal p1 has passed, the transmission right is acquired and the packet a1 is transmitted. To do. After this, transmission line 24
When the same packet returns after one round, the perspective part of the packet a1 is set to the transmission line 24 in order to detect the ED generated in the middle of the packet and complete the removal as described in FIG.
Remain in. At this time, the NS21 continuously receives two EDs as well as the TS20, so that the delimiter abnormality detection unit 5'in its own station
Detects an error in the delimiter.

NS21内のアクセス制御部6′はデリミタ異常検出部5′
の出力5′‐1が活性状態である場合には送信権を獲得
することができない。従ってパケットb1,c1を通過させ
た後にNS21がパケットを送信することはない。同様にし
てNS22もデリミタの異常を検出するのでパケットの送信
を行わず、さらにNS23はTS20が新たにポーリング信号を
伝送路24に送信していないので送信を行うことができな
い。
The access control unit 6'in the NS21 is the delimiter abnormality detection unit 5 '
When the output 5'-1 of 1 is active, the transmission right cannot be acquired. Therefore, NS21 does not transmit a packet after passing packets b1 and c1. Similarly, NS22 also detects an anomaly in the delimiter, so it does not transmit a packet, and NS23 cannot transmit it because TS20 has not newly transmitted a polling signal to transmission line 24.

TS20は先に説明したようにパケットc1の通過後、新たに
ポーリング信号を送信することはなく時間t1の間伝送路
24を切断状態に保つ、この間にNS23において除去されず
に残ったパケットc1がTS20を通過しこのときに伝送路24
から除去される。そして時間t1の後にTS20は新たにポー
リング制御を開始するためにポーリング信号p2を送信す
る。各NSはこのポーリング信号p2を検出すると同時に自
局内のデリミタ異常検出部5′を初期化し正常な送信制
御を再開し、パケットa2,b2の送信を行う。なお、以上
の実施例に用いたt1の値は、例えば特許出願番号昭58-0
55438号明細書「ループネットワークにおける通信制御
方式」に記載されている方法に従い測定することができ
る。
As described above, the TS20 does not send a polling signal after passing the packet c1 and does not send a polling signal for a time t1.
Keeping 24 disconnected, during this time the packet c1 left unremoved in NS23 passes TS20 and at this time the transmission line 24
Removed from. Then, after the time t1, the TS20 transmits a polling signal p2 to newly start polling control. Each NS detects the polling signal p2 and at the same time initializes the delimiter abnormality detection unit 5'in its own station to resume normal transmission control and transmit packets a2 and b2. The value of t1 used in the above examples is, for example, Patent Application No. Sho 58-0.
It can be measured according to the method described in the specification of 55438 "Communication control method in loop network".

(発明の効果) 以上説明してきたように、伝送路24上での符号誤りが原
因となり、パケットの途中に終了デリミタ(ED)が発生
し、以後の送受信制御に異常を来たし伝送路24を一巡し
ても除去されない信号が生じるような場合、各NSはEDの
検出に異常があることを検出し以後はパケットの送信を
行わずに、一方TS20はEDの検出に異常が発生したことを
検出し、伝送路24上のすべの信号が通過した後に伝送路
24を一定時間t1が経過するまで切断状態に保持し、一定
時間t1が経過する以前に通過する信号、すなわち、NSで
除去されずに残った信号をすべて除去し、一定時間t1の
経過後に新たにポーリング信号を送信してポーリング制
御を開始するので即座に正常な送信制御に復帰すること
が可能である。
(Effects of the Invention) As described above, a code error on the transmission line 24 causes an end delimiter (ED) in the middle of a packet, which causes an abnormality in the subsequent transmission / reception control and makes a round trip on the transmission line 24. If a signal that cannot be removed is generated even after that, each NS detects that there is an abnormality in ED detection and does not transmit any packets thereafter, while TS20 detects that there is an abnormality in ED detection. Then, after all the signals on the transmission line 24 have passed, the transmission line
24 is kept in a disconnected state until a certain time t1 elapses, signals passing before the certain time t1 elapses, that is, all signals that have not been removed by NS are removed, and a new signal is obtained after a certain time t1 elapses. Since the polling control is started by transmitting the polling signal to the device, it is possible to immediately return to the normal transmission control.

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

第1図はループネットワークを構成するトリガーステー
ションTS20内の構成を示す図、第2図はループネットワ
ークを構成するノードステーションNS21,22,23内の構成
を示す図、第3図は各ステーション内のデリミタ異常検
出部内の構成を示す図、第4図は各ステーションが送信
する信号のフレーム構成を示す図、第5図、および第7
図、第8図は、信号の流れを示す、第6図はループネッ
トワークの構成を示す図である。 図において、1はスイッチ、2はアイドル状態検出部、
3はSD検出部、4はED検出部、5および5′はデリミタ
異常検出部5、6および6′はアクセス制御部、7およ
び7′はタイマ、8は送信レジスタ、9,10はANDゲー
ト、11はインバータ、24は伝送路、20はトリガーステー
ション(TS)、21,22および23はノードステーション(N
S)を示す。
FIG. 1 is a diagram showing a configuration inside a trigger station TS20 which constitutes a loop network, FIG. 2 is a diagram showing a configuration inside a node station NS21, 22, 23 which constitutes a loop network, and FIG. 3 is a diagram showing inside each station. FIG. 4 is a diagram showing a configuration inside the delimiter abnormality detection unit, FIG. 4 is a diagram showing a frame configuration of a signal transmitted by each station, FIG. 5, and FIG.
FIG. 8 and FIG. 8 show signal flows, and FIG. 6 is a diagram showing a configuration of a loop network. In the figure, 1 is a switch, 2 is an idle state detection unit,
3 is an SD detection unit, 4 is an ED detection unit, 5 and 5'is a delimiter abnormality detection unit 5, 6 and 6'is an access control unit, 7 and 7'is a timer, 8 is a transmission register, 9 and 10 are AND gates. , 11 is an inverter, 24 is a transmission line, 20 is a trigger station (TS), 21, 22 and 23 are node stations (N
S) is shown.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】1つのトリガステーションおよび複数のノ
ードステーションからなり、これら各ステーションが伝
送路によりループ状に接続され、前記トリガステーショ
ンがポーリング信号を前記伝送路に送信し、前記ノード
ステーションに対して送信制御を行うループ状ネットワ
ークの送信制御方式であって、 前記トリガステーションは、前記伝送路に直列に設けら
れる前記伝送路の開閉を行うスイッチと、前記伝送路の
一巡伝搬時間に基づき決定される一定時間の経過を通知
するタイマとを具備し、 前記トリガステーションおよびノードステーションは、
前記伝送路を通過する信号ブロックの開始を検出する第
1の検出部と、前記信号ブロックの終了を検出する第2
の検出部と、前記第1の検出部の検出出力によりセット
され、前記第2の検出部の検出出力によりリセットされ
るフリップフロップを具備し、 前記トリガステーションおよびノードステーションにお
いては、前記フリップフロップの正論理出力が活性状態
のときに前記第1の検出部の検出出力が活性状態になる
場合、もしくは前記フリップフロップの負論理出力が活
性状態のときに前記第2の検出部の検出出力が活性状態
になる場合には送信権を獲得できず、 さらに前記トリガステーションは、送信権を獲得できな
かった場合には、前記伝送路を通過する信号の通過後、
前記タイマを起動するとともに、前記一定時間の経過を
認識するまで前記スイッチにより前記伝送路を切断状態
に保ち、前記タイマが前記一定時間の経過を通知した後
ポーリング信号を送信することを特徴とするループネッ
トワークにおける送信制御方式。
1. A trigger station and a plurality of node stations, each station being connected in a loop by a transmission line, said trigger station transmitting a polling signal to said transmission line, to said node station. A transmission control method of a loop network for performing transmission control, wherein the trigger station is determined based on a switch provided in series with the transmission path for opening and closing the transmission path, and a round trip time of the transmission path. And a timer for notifying the passage of a fixed time, the trigger station and the node station,
A first detector for detecting the start of a signal block passing through the transmission path and a second detector for detecting the end of the signal block
And a flip-flop set by the detection output of the first detection unit and reset by the detection output of the second detection unit. In the trigger station and the node station, the flip-flop of When the detection output of the first detection section becomes active when the positive logic output is active, or when the negative logic output of the flip-flop is active, the detection output of the second detection section becomes active. If the trigger station cannot acquire the transmission right, after the signal passing through the transmission path passes,
While the timer is started, the transmission path is kept in a disconnected state by the switch until the lapse of the fixed time is recognized, and the polling signal is transmitted after the timer notifies the lapse of the fixed time. Transmission control method in loop network.
JP5093785A 1985-03-14 1985-03-14 Transmission control method in loop network Expired - Lifetime JPH0683238B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5093785A JPH0683238B2 (en) 1985-03-14 1985-03-14 Transmission control method in loop network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5093785A JPH0683238B2 (en) 1985-03-14 1985-03-14 Transmission control method in loop network

Publications (2)

Publication Number Publication Date
JPS61210744A JPS61210744A (en) 1986-09-18
JPH0683238B2 true JPH0683238B2 (en) 1994-10-19

Family

ID=12872733

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5093785A Expired - Lifetime JPH0683238B2 (en) 1985-03-14 1985-03-14 Transmission control method in loop network

Country Status (1)

Country Link
JP (1) JPH0683238B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2566110B1 (en) * 2011-08-30 2014-10-01 Siemens Aktiengesellschaft Method for transmitting telegrams in an automation system

Also Published As

Publication number Publication date
JPS61210744A (en) 1986-09-18

Similar Documents

Publication Publication Date Title
EP0140712B1 (en) Data transmission system and method
CA2034660C (en) Station-to-station full duplex communication in a token ring local area network
US4494233A (en) Method and apparatus for the detection and regeneration of a lost token in a token based data communications network
US5182747A (en) Method for controlling the insertion of stations into fddi network
US20030058106A1 (en) Network termination device, alarm transfer system and alarm transferring method
EP2207307B1 (en) Method for processing the failure of the slave port of the master node in an ethernet ring network system
EP0339839B1 (en) Network having an apparatus for identifying a location of a lost token signal in the network, and method for so doing
US5522047A (en) Graceful insertion of a tree into a ring network
JP2852116B2 (en) Frame erase method
US6175553B1 (en) Method and apparatus for locating and isolating a fault within a token ring network
US6219335B1 (en) Method and apparatus for locating and isolating a fault within a token ring network
JPH0683238B2 (en) Transmission control method in loop network
US5600657A (en) Transmission path fault detecting method and system
EP0597030B1 (en) Automatically deactivated no-owner frame removal mechanism for token ring networks
JPH0683236B2 (en) Transmission line control method for loop network
JP2739532B2 (en) Reconfiguration control method for token ring LAN system
JPS5981943A (en) Automatic recovery system for loop system fault
JPS61228750A (en) Management system of loop network
JP3015441B2 (en) Private communication system
JPS6171742A (en) Transmission line control system in loop network
JPH0756986B2 (en) Loop network bypass method
JPH08181717A (en) Data repeater
JP2822995B2 (en) Alarm cell generation system
JPH0683237B2 (en) Termination delimiter control method in loop network
JPS60219845A (en) System for controlling inhibition of transmission in loop network