JPH037173B2 - - Google Patents

Info

Publication number
JPH037173B2
JPH037173B2 JP57190302A JP19030282A JPH037173B2 JP H037173 B2 JPH037173 B2 JP H037173B2 JP 57190302 A JP57190302 A JP 57190302A JP 19030282 A JP19030282 A JP 19030282A JP H037173 B2 JPH037173 B2 JP H037173B2
Authority
JP
Japan
Prior art keywords
transmission
transmission device
line
data
token
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
JP57190302A
Other languages
Japanese (ja)
Other versions
JPS5980043A (en
Inventor
Hajime Kurii
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Tokyo Shibaura 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 Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
Priority to JP57190302A priority Critical patent/JPS5980043A/en
Publication of JPS5980043A publication Critical patent/JPS5980043A/en
Publication of JPH037173B2 publication Critical patent/JPH037173B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、ループ状に伝送路を構成しこの伝送
路を介して送受信するデータを制御する伝送装置
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a transmission device that has a loop-shaped transmission path and controls data transmitted and received via the transmission path.

〔発明の技術的背景〕[Technical background of the invention]

ループ状に伝送路を構成し、これに複数の伝送
装置を接続したシステムでは、各伝送装置が随意
に伝送路へデータを送信したのでは、伝送路上で
これらのデータが混信してしまうから、何らかの
手段により送信権を制御してやらなければならな
い。
In a system where a transmission path is configured in a loop and multiple transmission devices are connected to it, if each transmission device sends data to the transmission path at will, this data will cause interference on the transmission path. The transmission right must be controlled by some means.

これにはいくつかの方法があるが、本発明によ
る伝送装置は従来から知られているトークン受渡
し(token passing)方式を採用している。この
方式はシステム中にトークンと呼ぶ送信権がただ
1つあり、これを保持している伝送装置のみが送
信できるものである。トークンを保持しない伝送
装置は、トークンをもつ伝送装置からの送信デー
タを受取ることしか許されない。
Although there are several methods for this, the transmission device according to the present invention employs a conventionally known token passing method. In this system, there is only one transmission right called a token in the system, and only the transmission device that holds this can transmit. A transmission device that does not hold a token is only allowed to receive transmitted data from a transmission device that does have a token.

ところがトークンそのものをどのようにしてシ
ステム中にただ1つだけ生成し、これをどのよう
にして伝送装置間で受渡すかについては一般的に
確立していない。
However, it has not been generally established how to generate only one token in a system and how to transfer this token between transmission devices.

従来装置としては伝送路中に監視制御用の特別
の伝送装置を設け、この装置がトークンを生成
し、これを各伝送装置へ授受する制御を行なう。
In the conventional device, a special transmission device for monitoring and control is provided in the transmission path, and this device generates tokens and controls sending and receiving the tokens to and from each transmission device.

〔背景技術の問題点〕[Problems with background technology]

ところがこの装置あるいはこれにつながる伝送
路に異常があつたとき、システムが停止してしま
うためバツクアツプ用装置が不可欠であり、これ
ら2つの装置間の制御が複雑となる。
However, if an abnormality occurs in this device or the transmission line connected to it, the system will stop, so a backup device is essential, and control between these two devices becomes complicated.

また、伝送装置の故障などにより、これを切離
したり、故障回復後これを伝送システムに組込む
制御も監視用装置が行なうが、故障装置と監視用
装置は距離が隔たつているため運用上不便となる
ことが多い。
In addition, the monitoring device also performs control such as disconnecting the transmission device due to a failure or incorporating it into the transmission system after the failure has been recovered, but this can be inconvenient for operation because the distance between the failed device and the monitoring device is far apart. It often happens.

このように、伝送装置を一個所で行なう伝送シ
ステムでは、システムの信頼度と、運用上の操作
性に問題があつた。
As described above, a transmission system in which the transmission device is located at one location has problems in system reliability and operational operability.

〔発明の目的〕[Purpose of the invention]

ここにおいて本発明は、従来装置の難点を克服
したループ伝送装置を提供することをその目的と
する。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a loop transmission device that overcomes the drawbacks of conventional devices.

〔発明の概要〕[Summary of the invention]

本発明は、複数の伝送装置を2重のループ状伝
送路で接続し送信権の制御をシステム中に1つあ
るトークンを保持している伝送装置のみが送信で
きるトークン受渡し方式による伝送装置におい
て、 伝送装置または伝送路の一部を切離して前記2
重のループ状伝送路を介してループバツク伝送を
行なつている場合に、 切離された部分に隣接し正常な動作をしている
伝送装置はトークンを受取つてオンラインマスタ
状になつたときに隣接する切離し部分の状態を調
査し、 伝送可能となつたならトークンを受取つたとき
切離されていた前記伝送装置および伝送路が正常
に伝送できるという情報を、 ループバツク伝送に関与している伝送装置と、
それまで切離されていた伝送装置に、1つまたは
2重のループ状伝送路を経て、 同一のデータを伝送できる全ての伝送装置へ伝
送する同報伝送で通知し、 この通知が他の伝送装置を経由した後、 その伝送装置の受信バツフアに受け、 予め送信バツフアに記憶していたデータと比較
して一致していれば、 回線再構成のデータ伝送が正しく送られたとし
て回線の再構成を図るループ伝送装置である。
The present invention provides a transmission device using a token passing method in which a plurality of transmission devices are connected through a double loop transmission path, and only the transmission device holding one token in the system can transmit transmission rights. The transmission device or a part of the transmission line is separated and
When loopback transmission is performed via a heavy loop transmission path, a normally operating transmission device adjacent to the disconnected part receives a token and becomes an online master. The state of the disconnected part is investigated, and if it becomes possible to transmit, the transmission device and the transmission line involved in the loopback transmission are sent information that the transmission device and the transmission path that were disconnected when the token was received can transmit normally. ,
A notification is sent to the previously disconnected transmission equipment via one or two looped transmission lines to all transmission equipment capable of transmitting the same data, and this notification is used for other transmissions. After passing through the device, the data is received by the receiving buffer of the transmission device, and if it matches the data previously stored in the sending buffer, the line reconfiguration data is considered to have been sent correctly and the line is reconfigured. This is a loop transmission device that aims to achieve

〔発明の実施例〕[Embodiments of the invention]

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

第1図はこの実施例におけるループ伝送装置を
用いたシステム構成図である。伝送装置10はデ
ータ伝送方向が互いに逆のR回線11、L回線1
2と呼ぶ伝送路によつて結ばれ、2重ループ構造
を持つている。常時はR回線11によつて伝送を
行ない、R回線11あるいは伝送装置10に異常
が発生したとき、L回線12を使つてループバツ
ク伝送を行なうと共に、異常発生部分14の切離
しを行なう。
FIG. 1 is a system configuration diagram using a loop transmission device in this embodiment. The transmission device 10 has an R line 11 and an L line 1 whose data transmission directions are opposite to each other.
They are connected by a transmission path called 2 and have a double loop structure. Transmission is normally performed through the R line 11, and when an abnormality occurs in the R line 11 or the transmission device 10, loopback transmission is performed using the L line 12, and the abnormality section 14 is disconnected.

本発明による伝送装置は、それぞれが全く同等
の機能を備えている。送信機はシステム中に1つ
だけ存在するトークンを受取ることにより確立す
るトークン受渡し方式である。トークンを保持す
る伝送装置10は、他の伝送装置10へ通知すべ
きデータの伝送が完了したなら、R回線11を介
して次の伝送装置10へトークンを渡す。
The transmission devices according to the present invention each have completely equivalent functions. The transmitter establishes a token delivery system by receiving a token, which exists only once in the system. The transmission device 10 holding the token passes the token to the next transmission device 10 via the R line 11 when the transmission of data to be notified to another transmission device 10 is completed.

ここでは前者の装置を上流局、後者の装置を下
流局と呼ぶことにする。
Here, the former device will be referred to as an upstream station, and the latter device will be referred to as a downstream station.

また、トークンを保持する伝送装置をマスタ、
これ以外の装置をスレーブと呼ぶ。
Also, the transmission device that holds the token is the master,
Devices other than this are called slaves.

従つて、伝送制御をする上で特別に設けられた
装置は存在しない。トークンを受取つた伝送装置
10は、送信すべきデータがないときトークンを
直ちに下流局へ渡す。全ての伝送装置が送信すべ
きデータを持たないときは、トークンのみが伝送
路を循環していることになる。
Therefore, there is no device specially provided for controlling transmission. When the transmission device 10 that receives the token has no data to transmit, it immediately passes the token to the downstream station. When all transmission devices do not have data to transmit, only tokens are circulating on the transmission path.

伝送形態は特定の伝送装置間でデータ伝送を行
なうn:n伝送と、マスタ伝送装置から送信した
データを全てのスレーブ伝送装置が受取るブロー
ドキヤスト伝送つまり同報伝送のいずれも可能で
ある。これらの識別は後述する伝送フレーム13
の第3部分SAにて行なう。
The transmission format can be n:n transmission in which data is transmitted between specific transmission devices, or broadcast transmission in which all slave transmission devices receive data transmitted from a master transmission device. These identifications are made in transmission frame 13, which will be described later.
This will be done in the third part of SA.

n:n伝送では、スレーブ伝送装置10が正し
くデータを受信したことの確認応答をとる。一
方、ブロードキヤスト伝送では、それぞれのスレ
ーブ装置からの確認応答はとらない。マスタ装置
は送信したデータが全てのスレーブ装置を経由し
て戻つて来たとき、この受信データと送信したデ
ータを比較して、一致していることをもつて正し
く伝送されたとみなす。
In n:n transmission, the slave transmission device 10 takes an acknowledgment that it has correctly received the data. On the other hand, in broadcast transmission, no acknowledgment is received from each slave device. When the transmitted data is returned via all the slave devices, the master device compares the received data with the transmitted data, and if they match, it is considered to have been transmitted correctly.

第1図bは伝送路が故障したときの伝送形態を
示している。
FIG. 1b shows the transmission form when the transmission path fails.

伝送路は2重ループ構成となつているから、故
障発生点14の両端の伝送装置10(STNiおよ
びSTNi+1)は、R回線11、L回線12で受信
したデータを反対側の回線へ送信している例を示
している。
Since the transmission line has a double loop configuration, the transmission devices 10 (STN i and STN i+1 ) at both ends of the failure point 14 transfer the data received on the R line 11 and L line 12 to the line on the opposite side. An example of sending to is shown.

第2図は伝送路を流れるデータの形式を示す図
で、これを参照して伝送装置10間で受渡される
データの形式について説明する。
FIG. 2 is a diagram showing the format of data flowing through the transmission path, and the format of data passed between the transmission devices 10 will be explained with reference to this diagram.

伝送フレーム13は6つの部分(フイールドと
云う)から成立つている。
The transmission frame 13 consists of six parts (referred to as fields).

第1の部分はコマンドCMDである。これは伝
送フレーム13の内容を識別するためのもので、
テスト(TEST)、回線構成(CNF)、テキスト
(TEXTO)、再生テキスト(TEXT1)、トーク
ン(TOKEN)、確認応答(ACK)、否定応答
(NAC)のいずれかが入る。
The first part is the command CMD. This is to identify the contents of the transmission frame 13.
Contains either test (TEST), line configuration (CNF), text (TEXTO), playback text (TEXT1), token (TOKEN), acknowledgment (ACK), or negative acknowledgment (NAC).

第2の部分SAは伝送フレームを受取るべき伝
送装置を指定するためのもので、この値が“0”
のときのみすべての伝送装置が受取る伝送フレー
ムすなわちブロードキヤスト伝送であることを示
す。
The second part SA is for specifying the transmission device that should receive the transmission frame, and this value is “0”.
This indicates a transmission frame that all transmission devices receive only when , that is, broadcast transmission.

第3の部分PAは伝送フレームを送信するマス
タの伝送装置のアドレスを表わす。
The third part PA represents the address of the master transmission device sending the transmission frame.

第4の部分Nはこれに続くテキスト部TEXT
のデータ長を指定するところである。
The fourth part N is the text part TEXT that follows this.
This is where you specify the data length.

第5の部分のテキスト部TEXTはマスタより
スレープに伝送したい情報が入るところである。
The fifth part, the text part TEXT, is where information to be transmitted from the master to the slave is entered.

最後のチエツク部BCCは伝送フレームのビツ
ト誤りを検出するためにある。
The final check section BCC is provided to detect bit errors in the transmitted frame.

第3図は本発明による伝送装置の内部構造を示
す図である。
FIG. 3 is a diagram showing the internal structure of the transmission device according to the present invention.

1つの伝送装置10内部での伝送データの流れ
を第3図を参照して説明する。
The flow of transmission data within one transmission device 10 will be explained with reference to FIG. 3.

まず、スレーブ状態にあり、伝送フレーム13
の第2の部分CMDの内容がTEXT0、TEXT1の
ときの動作を説明する。
First, in the slave state, transmission frame 13
The operation when the contents of the second part CMD of is TEXT0 and TEXT1 will be explained.

スレーブ状態の伝送装置10は、R回線11を
介してデータが送られてくるから、受信制御回路
103の働きにより受信バツフア101へこれを
書き込む。伝送フレーム13の第2の部分SAが
“0”でブロードキヤスト伝送、あるいは自分の
伝送装置のアドレスと異なるときは、直ちに受信
したデータをそのまま送信制御回路104を通し
てR回線11へ送出する。自分のアドレスであつ
たときは、受信バツフア101へ書込まれたデー
タの誤りがないかを、伝送フレーム13の第6の
部分BCCを使つて調べる。正しく受信した場合
は送信制御回路104を通して伝送フレーム13
の第1の部分CMDをACK、第2の部分SAをマ
スタのアドレス、すなわち受信した伝送フレーム
13の第3の部分PAの値、第3の部分PAを自分
のアドレスとして送出する。
Since the transmission device 10 in the slave state receives data via the R line 11, the reception control circuit 103 writes the data into the reception buffer 101. When the second part SA of the transmission frame 13 is "0" and broadcast transmission is being performed, or when the address is different from the address of its own transmission device, the received data is immediately sent to the R line 11 through the transmission control circuit 104. If it is the own address, the sixth part BCC of the transmission frame 13 is used to check whether there is an error in the data written to the reception buffer 101. If received correctly, the transmission frame 13 is transmitted through the transmission control circuit 104.
It sends out the first part CMD as ACK, the second part SA as the master's address, that is, the value of the third part PA of the received transmission frame 13, and the third part PA as its own address.

ブロードキヤスト伝送あるいは自分宛に送られ
てきたデータは受信バツフア101の中にある。
このデータは伝送装置10に接続されている機器
へ送信制御回路108を通して渡す。
Broadcast transmission or data sent to oneself is in the reception buffer 101.
This data is passed to the equipment connected to the transmission device 10 through the transmission control circuit 108.

第1図bのようにループバツク伝送をしている
ときはL回線12にもデータが流れる。このとき
受信制御回路106から受信したデータはそのま
ま送信制御回路105を通して次の伝送装置10
へ送出する。
During loopback transmission as shown in FIG. 1b, data also flows through the L line 12. At this time, the data received from the reception control circuit 106 is passed through the transmission control circuit 105 as it is to the next transmission device 10.
Send to.

次にマスタ状態にある伝送装置10がデータを
送信するときの動作を同一図面を参照して説明す
る。
Next, the operation when the transmission device 10 in the master state transmits data will be explained with reference to the same drawing.

送信すべきデータは伝送装置10に接続されて
いる機器から受信制御回路107を介して送信バ
ツフア102へ書込まれているものとする。送信
バツフア102への書込みは伝送装置10がマス
タ、スレープいずれの状態でも可能である。
It is assumed that data to be transmitted has been written from a device connected to the transmission device 10 to the transmission buffer 102 via the reception control circuit 107. Writing to the transmission buffer 102 is possible whether the transmission device 10 is in the master or slave state.

送信すべきデータは伝送フレーム13の第5の
部分TEXTに入り、その他の部分は伝送装置1
0が生成する。もしこのデータを特定の伝送装置
に送りたいときは、伝送フレーム13の第2の部
分SAをそのアドレスに設定する。全てのスレー
ブへ送りたいときは、この値を“0”にしてブロ
ードキヤスト伝送とする。このようにして伝送フ
レーム13を組立てると、切替スイツチ109、
送信制御回路104を介してR回路11へ送信す
る。
The data to be transmitted goes into the fifth part TEXT of the transmission frame 13, and the other parts go to the transmission device 1.
0 is generated. If this data is to be sent to a specific transmission device, the second part SA of the transmission frame 13 is set to that address. If you want to send it to all slaves, set this value to "0" and use broadcast transmission. When the transmission frame 13 is assembled in this way, the changeover switch 109,
It is transmitted to the R circuit 11 via the transmission control circuit 104.

送信したデータが正しく受取られたかの確認法
は、ブロードキヤスト伝送と、n:n伝送では異
なる。ブロードキヤスト伝送では、全てのスレー
プ伝送装置を経由して戻つて来たとき、このデー
タを受信制御回路103を介して受信バツフア1
01へ書込む。この内容と送信バツフア102の
内容が一致していれば、正しく伝送されたものと
みなす。n:n伝送では受信したスレーブ伝送装
置から送られてくる確認応答ACKがついた伝送
フレーム13を、受信制御回路103から受けた
とき正しく伝送されたとする。
The method of confirming whether transmitted data has been correctly received differs between broadcast transmission and n:n transmission. In broadcast transmission, when the data is returned via all the slave transmission devices, this data is sent to the reception buffer 1 via the reception control circuit 103.
Write to 01. If this content matches the content of the transmission buffer 102, it is assumed that the data was transmitted correctly. In n:n transmission, it is assumed that the transmission frame 13 with the acknowledgment ACK sent from the received slave transmission device is correctly transmitted when it is received from the reception control circuit 103.

送信権を持つのはトークンを保持するマスタの
伝送装置である。マスタ伝送装置は送信が完了す
ると伝送フレーム13の第1の部分CMDをトー
クンTOKENとして送信制御回路104を介して
R回線11へ送出する。トークンを受信した伝送
装置10は、自分の装置の送信バツフア102に
送信データがあるときは、前述のマスタ処理を実
施する。送信データがないときは、受信したトー
クンを直ちに送信制御回路104を介してR回線
11へ送出する。
The master transmission device that holds the token has the right to transmit. When the transmission is completed, the master transmission device sends the first portion CMD of the transmission frame 13 as a token TOKEN to the R line 11 via the transmission control circuit 104. The transmission device 10 that has received the token performs the above-described master processing if there is transmission data in the transmission buffer 102 of its own device. When there is no transmission data, the received token is immediately sent to the R line 11 via the transmission control circuit 104.

ところで1つの伝送装置10の動作を厳密かつ
解り易く表現するために、これの動作の状態を複
数に分割し、それぞれの状態での詳細な動作と状
態の遷移として述べるのが適している。本発明に
よる伝送装置10においてもこれに従い、第4図
に示す状態遷移図を参照して説明する。
By the way, in order to express the operation of one transmission device 10 in a precise and easy-to-understand manner, it is appropriate to divide the operation state into a plurality of states and describe the detailed operation and state transition in each state. The transmission device 10 according to the present invention also follows this and will be explained with reference to the state transition diagram shown in FIG.

全ての伝送装置10は下記のいずれか1つの状
態をとることができる。状態間の遷移は第4図の
径路Pijで示す。
All transmission devices 10 can take any one of the following states. Transitions between states are shown by paths P ij in FIG.

0:オフ……電源断状態 1:ウエイト……初期化処理完了し、自己診断
結果が正常であつたとき。
0: Off...Power off state 1: Wait...When initialization processing is completed and the self-diagnosis result is normal.

2:マスタチエツク……テストフレームを送信
し、稼動可能な回路を調べ、このデータを
稼動可能な伝送装置10へ送信する。
2: Master check: transmits a test frame, checks operable circuits, and transmits this data to the operable transmission device 10.

3:スレーブチエツク……テストフレームの受
信処理。
3: Slave check...test frame reception processing.

4:オンラインマスタ……トークンを保持する
伝送装置。自分の伝送装置内に送信すべき
データがあるときは伝送フレーム13に組
立てて送信する。
4: Online master...transmission device that holds tokens. When there is data to be transmitted within its own transmission device, it is assembled into a transmission frame 13 and transmitted.

5:オンラインスレーブ……オンラインマスタ
4から送られてくる伝送フレーム13を受
信する。
5: Online slave...Receives the transmission frame 13 sent from the online master 4.

6:ダウン……回線異常となつた状態。 6: Down...The line has become abnormal.

すでに述べた伝送装置10の動作は、伝送が正
常に行なわれているときの定常状態における動作
である。
The operation of the transmission device 10 described above is the operation in a steady state when transmission is normally performed.

第4図は第3図の伝送装置の動作を状態遷移図
で示した図である。
FIG. 4 is a diagram showing the operation of the transmission device of FIG. 3 in a state transition diagram.

この第4図の状態遷移図では、マスタと呼ぶ送
信権を持つ伝送装置10はオンラインマスタ4の
状態にあり、スレーブと呼ぶデータを受信する伝
送装置10はオンラインスレーブ5の状態にあ
る。マスタがトークンを下流のスレーブである伝
送装置10へ渡したときの経路はP45、これをス
レーブが受けたときの確認手段の経路はP54であ
る。
In the state transition diagram of FIG. 4, the transmission device 10 that has the right to transmit, called a master, is in the online master 4 state, and the transmission device 10 that receives data, called the slave, is in the online slave 5 state. When the master passes the token to the transmission device 10, which is the downstream slave, the route is P 45 , and when the slave receives it, the route of the confirmation means is P 54 .

次にループバツク伝送を行なつている状態か
ら、切離された部分を編入してR回線11のみを
使つた正常な伝送状態に戻る動作について述べ
る。
Next, we will describe the operation of returning from a loopback transmission state to a normal transmission state using only the R line 11 by incorporating the disconnected portion.

ループバツク伝送している状態の例を第5図
a,bに示す。
Examples of loopback transmission are shown in FIGS. 5a and 5b.

第5図aはR回線11、またはL回線12に異
常があり、伝送装置STNi,STNi+1がループバツ
ク伝送している例である。
FIG. 5a shows an example in which there is an abnormality in the R line 11 or the L line 12, and the transmission devices STN i and STN i+1 are performing loopback transmission.

第5図bは伝送装置STNjが故障などにより切
離され、伝送装置STNj-1,STNj+1がそれぞれ逆
方向のループバツク伝送をしている例である。
FIG. 5b shows an example in which transmission device STN j is disconnected due to a failure or the like, and transmission devices STN j-1 and STN j+1 are respectively performing loopback transmission in the opposite direction.

第6図a,bは回線テスト時に伝送路を流れる
データのタイミングチヤートである。
FIGS. 6a and 6b are timing charts of data flowing through the transmission line during a line test.

では、第5図aの場合について再編入の動作を
第6図a,bを参照して述べる。
Now, the re-incorporation operation in the case of FIG. 5a will be described with reference to FIGS. 6a and 6b.

伝送装置STNiはトークンを受取つてオンライ
ンマスタ状態4になつたなら、切離されている回
線11,12のチエツクをする。
When the transmission device STN i receives the token and enters the online master state 4, it checks the disconnected lines 11 and 12.

まず、伝送装置STNiはラストフレームF1をR
回線11を介してオンラインスレーブ状態5の伝
送装置STNi+1に送る。もし回線に異常がなけれ
ば、伝送フレーム13の第1の部分OMDを確認
応答(ACK)F2にして、L回線12を介して送
り返す。R回線11またはL回線12に異常があ
ると、伝送装置STNiは上記フレームF2を受信で
きない。このときは回線の状態に変化がないもの
とみなし、ループバツク伝送を継続すると共に、
送信データがあればこれを送信し、トークンを放
棄してオンラインスレーブ状態5へ遷移する。も
し第6図bのように、確認応答(ACK)のフレ
ームF4が返つて来たなら、伝送装置STNi
STNi+1間の回線は正常状態で復帰したものとみ
なす。このときは伝送フレーム13の第1の部分
を回線構成(CNF)、第2の部分SAをブロード
キヤスト伝送の“0”、第3の部分PAを伝送装置
STNiのアドレス、第5の部分TEXTを正常に伝
送できる回線状態を表わす回線構成データとして
R回線11を介して送信する。このデータは他の
伝送装置を経由した後、第3図で示した受信制御
回路103を介して受信バツフア101に入つて
来るから、送信したデータと比較して一致してい
れば、回線再構成のデータが正しく送られたもの
とみなす。このようにしてループバツク伝送装置
から第1図aで示した正常の伝送状態に変化す
る。
First, the transmission device STN i sends the last frame F1 to R
It is sent via line 11 to transmission device STN i+1 in online slave state 5. If there is no abnormality in the line, the first part OMD of the transmission frame 13 is made into an acknowledgment (ACK) F2 and sent back via the L line 12. If there is an abnormality in the R line 11 or the L line 12, the transmission device STN i cannot receive the frame F2 . At this time, it is assumed that there is no change in the line status, and loopback transmission continues.
If there is transmission data, it is transmitted, the token is abandoned, and the state transitions to online slave state 5. If an acknowledgment (ACK) frame F4 is returned as shown in FIG. 6b, the transmission device STN i ,
The line between STN i+1 is assumed to have returned to normal status. At this time, the first part of the transmission frame 13 is the line configuration (CNF), the second part SA is "0" for broadcast transmission, and the third part PA is the transmission equipment.
The address of STN i and the fifth portion TEXT are transmitted via the R line 11 as line configuration data representing a line state that allows normal transmission. This data passes through another transmission device and then enters the reception buffer 101 via the reception control circuit 103 shown in FIG. It is assumed that the data has been sent correctly. In this way, the loopback transmission device changes to the normal transmission state shown in FIG. 1a.

次に第5図bの場合について述べる。伝送装置
STNj-1は伝送装置STNjに対して、テストフレ
ームF1またはF3の送信と確認応答フレームF2
たはF4の受信をする。第6図aのときはループ
バツク伝送を継続する。第6図bのときは伝送装
置STNjと伝送装置STNj-1,STNj間の回線が正
常状態に復帰したものとみなす。このときは先に
述べたと同様に伝送フレーム13の第1の部分
CMDを回線構成(CNF)、第5の部分TEXTを
伝送装置STNj-1,STNj間が正常に伝送できる
回線構成データとしてR回線11、L回線12を
介して送信する。これにより回線状態は第5図a
と同一になる。
Next, the case shown in FIG. 5b will be described. transmission device
STN j-1 transmits a test frame F 1 or F 3 and receives an acknowledgment frame F 2 or F 4 to transmission device STN j . In the case of FIG. 6a, loopback transmission is continued. In the case shown in FIG. 6b, it is assumed that the line between the transmission device STN j and the transmission devices STN j-1 and STN j has returned to a normal state. In this case, as described above, the first part of the transmission frame 13
The CMD is transmitted as a line configuration (CNF), and the fifth portion TEXT is transmitted as line configuration data that can be transmitted normally between the transmission devices STN j-1 and STN j via the R line 11 and the L line 12. As a result, the line status is as shown in Figure 5a.
becomes the same as

続いて伝送装置STNj-1は送信データがあれば
これを送信しトークンを下流局の伝送装置STNj
へ送り、オンラインスレーブ状態5へ遷移する。
伝送装置STNjはトークンを受取ると、第5図a
の場合で示したように、伝送装置STNj+1とこの
間の回線のチエツクをする。回線が正常なら第6
図bで示したフレームの伝送を行なつた後に、第
1図aで示した回線状態へ復帰する。
Next, the transmission device STN j-1 transmits the transmission data, if any, and sends the token to the transmission device STN j of the downstream station.
and transitions to online slave state 5.
When the transmission device STN j receives the token,
As shown in the case above, the line between the transmission device STN j+1 and this is checked. If the line is normal, the 6th
After transmitting the frame shown in FIG. 1B, the line returns to the state shown in FIG. 1A.

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

かくして本発明によれば、回線に監視制御用の
伝送装置を特別に設けなくとも、回線の再構成が
円滑にかつ速やかに行なうことができる。
Thus, according to the present invention, the line can be reconfigured smoothly and quickly without the need to specially provide a transmission device for supervisory control on the line.

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

第1図は本発明による伝送装置を接続したとき
の全体のブロツク図、第2図は伝送路を流れるデ
ータの形式を示す図、第3図は本発明による伝送
装置の内部構成図、第4図は状態遷移図、第5図
a,bはループバツク伝送をしているときの本発
明の一実施例のブロツク図、第6図a,bは回線
テスト時に伝送路を流れるデータのタイミングチ
ヤートである。 10……伝送装置、11……R回線、12……
L回線、13……伝送フレーム、14……故障発
生部分、101……受信バツフア、102……送
信バツフア、103,106,107……受信制
御回路、104,105,108……送信制御回
路、109……切替えスイツチ。
FIG. 1 is an overall block diagram when the transmission device according to the present invention is connected, FIG. 2 is a diagram showing the format of data flowing through the transmission path, FIG. 3 is an internal configuration diagram of the transmission device according to the present invention, and FIG. The figure is a state transition diagram, Figures 5a and b are block diagrams of an embodiment of the present invention during loopback transmission, and Figures 6a and b are timing charts of data flowing through the transmission line during line testing. be. 10...Transmission device, 11...R line, 12...
L line, 13...transmission frame, 14...failure occurrence part, 101...reception buffer, 102...transmission buffer, 103, 106, 107...reception control circuit, 104, 105, 108...transmission control circuit, 109...Switch switch.

Claims (1)

【特許請求の範囲】 1 複数の伝送装置を2重のループ状伝送路で接
続し送信権の制御をシステム中に1つあるトーク
ンを保持している伝送装置のみが送信できるトー
クン受渡し方式による伝送装置において、 伝送装置または伝送路の一部を切離して前記2
重のループ状伝送路を介してループバツク伝送を
行なつている場合に、 切離された部分に隣接し正常な動作をしている
伝送装置はトークンを受取つてオンラインマスタ
状になつたときに隣接する切離し部分の状態を調
査し、 伝送可能となつたならトークンを受取つたとき
切離されていた前記伝送装置および伝送路が正常
に伝送できるという情報を、 ループバツク伝送に関与している伝送装置と、
それまで切離されていた伝送装置に、1つまたは
2重のループ状伝送路を経て、 同一のデータを伝送できる全ての伝送装置へ伝
送する同報伝送で通知し、 この通知が他の伝送装置を経由した後、 その伝送装置の受信バツフアに受け、 予め送信バツフアに記憶していたデータと比較
して一致していれば、 回線再構成のデータ伝送が正しく送られたとし
て回線の再構成を図る ことを特徴とするループ伝送装置。
[Scope of Claims] 1. Transmission using a token passing method in which a plurality of transmission devices are connected through a double loop-shaped transmission path, and transmission rights can be controlled by only the transmission device that holds one token in the system. In the equipment, a part of the transmission equipment or the transmission line is separated and the
When loopback transmission is performed via a heavy loop transmission path, a normally operating transmission device adjacent to the disconnected part receives a token and becomes an online master. The state of the disconnected part is investigated, and if it becomes possible to transmit, the transmission device and the transmission line involved in the loopback transmission are sent information that the transmission device and the transmission path that were disconnected when the token was received can transmit normally. ,
A notification is sent to the previously disconnected transmission equipment via one or two looped transmission lines to all transmission equipment capable of transmitting the same data, and this notification is used for other transmissions. After passing through the device, the data is received by the receiving buffer of the transmission device, and if it matches the data previously stored in the sending buffer, the line reconfiguration data is considered to have been sent correctly and the line is reconfigured. A loop transmission device characterized by:
JP57190302A 1982-10-29 1982-10-29 Loop transmitter Granted JPS5980043A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57190302A JPS5980043A (en) 1982-10-29 1982-10-29 Loop transmitter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57190302A JPS5980043A (en) 1982-10-29 1982-10-29 Loop transmitter

Publications (2)

Publication Number Publication Date
JPS5980043A JPS5980043A (en) 1984-05-09
JPH037173B2 true JPH037173B2 (en) 1991-01-31

Family

ID=16255892

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57190302A Granted JPS5980043A (en) 1982-10-29 1982-10-29 Loop transmitter

Country Status (1)

Country Link
JP (1) JPS5980043A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9027556B2 (en) 2008-03-04 2015-05-12 Resmed Limited Mask system

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6119254A (en) * 1984-07-06 1986-01-28 Hitachi Ltd Restoration detecting system of transmission fault in duplicated ring network
JPS6234440A (en) * 1985-08-06 1987-02-14 Nec Corp Reassembling system for looped transmission line
JPS6412637A (en) * 1987-07-06 1989-01-17 Yamatake Honeywell Co Ltd Automatic restoration system of loopback type

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5432002A (en) * 1977-08-15 1979-03-09 Nec Corp Loop-type dape transmission system
JPS54110702A (en) * 1978-02-20 1979-08-30 Toshiba Corp Data highway monitor system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5432002A (en) * 1977-08-15 1979-03-09 Nec Corp Loop-type dape transmission system
JPS54110702A (en) * 1978-02-20 1979-08-30 Toshiba Corp Data highway monitor system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9027556B2 (en) 2008-03-04 2015-05-12 Resmed Limited Mask system
US9119931B2 (en) 2008-03-04 2015-09-01 Resmed Limited Mask system

Also Published As

Publication number Publication date
JPS5980043A (en) 1984-05-09

Similar Documents

Publication Publication Date Title
JPH0157860B2 (en)
JPS63206045A (en) Method for detecting faulty location in ring network
JPH037173B2 (en)
JPH0572143B2 (en)
JPS6133295B2 (en)
JPS59231944A (en) Loop transmitter
JPH0572142B2 (en)
JPS6398242A (en) Series data exchanger
JPH058616B2 (en)
JPS6160042A (en) Identification system of arrangement order of node
JP3127939B2 (en) Event information transmission device
JPH0426917Y2 (en)
JPH0865329A (en) Transmission control system
JPS584855B2 (en) data transmission equipment
JPH01221954A (en) System for looping back of loop network
JPS6294036A (en) Automatic network reconstitution control equipment
JP3115530B2 (en) Information transmission equipment
JPS60217445A (en) Communication controller switching system
JPS6257337A (en) Data transmission equipment
JPS59158649A (en) Loop transmitter
JPS59190755A (en) Channel duplexing system
JPS6261446A (en) Token duplex loop access system
JPH0563711A (en) Data collection system
JPS5819057A (en) Constitution controller for loop data transmission system
JPS605099B2 (en) Local station destination address control method