JPH0376059B2 - - Google Patents

Info

Publication number
JPH0376059B2
JPH0376059B2 JP57148983A JP14898382A JPH0376059B2 JP H0376059 B2 JPH0376059 B2 JP H0376059B2 JP 57148983 A JP57148983 A JP 57148983A JP 14898382 A JP14898382 A JP 14898382A JP H0376059 B2 JPH0376059 B2 JP H0376059B2
Authority
JP
Japan
Prior art keywords
loop
signal
transmission line
line
data
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
Application number
JP57148983A
Other languages
Japanese (ja)
Other versions
JPS5939142A (en
Inventor
Kazuo Yasue
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 JP57148983A priority Critical patent/JPS5939142A/en
Priority to DE8383108346T priority patent/DE3382005D1/en
Priority to EP83108346A priority patent/EP0102059B1/en
Priority to US06/526,305 priority patent/US4594709A/en
Publication of JPS5939142A publication Critical patent/JPS5939142A/en
Publication of JPH0376059B2 publication Critical patent/JPH0376059B2/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/74Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission for increasing reliability, e.g. using redundant or spare channels or apparatus
    • H04B1/745Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission for increasing reliability, e.g. using redundant or spare channels or apparatus using by-passing or self-healing methods

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 The present invention relates to a data transmission device that performs loop switching in a loop data transmission system.

従来技術 ループ状データ伝送システムにおいては伝送路
の障害を考慮して、逆方向の信号が伝達される2
本の伝送路が配置されることがある。一般に一方
の伝送路のみが使用されており、使用中の伝送路
に障害があると、他方の伝送路が使用される。従
来、この種のループ切替えは「マスタ制御局」、
「センタステーシヨン」などと呼ばれ、クロツク
信号断を識別すると、特別なコマンドを待機系を
通じてマスタ局に送り、マスタ局が別に配線した
回線により、各局の切替え等の特別な制御装置の
制御の下に行われてきている。このような方式で
は、その特別な制御装置に障害が発生すると、致
命的な障害に発展する可能性があるとともに、特
別な回線が余分にいるという欠点がある。
Prior Art In a loop data transmission system, signals in the opposite direction are transmitted in consideration of failures in the transmission path2.
A book transmission path may be arranged. Generally, only one transmission line is used, and if there is a failure in the transmission line in use, the other transmission line is used. Conventionally, this type of loop switching was performed using a "master control station"
It is called a "center station," and when it identifies a clock signal disconnection, it sends a special command to the master station through the standby system, and the master station uses a separately wired line to switch between each station under the control of a special control device. It has been carried out. This type of system has the disadvantage that if a failure occurs in the special control device, it may develop into a fatal failure, and that an extra special line is required.

発明の目的 本発明の目的は、あるデータ伝送装置間で運用
系と待機系の伝送路に障害が発生したとき、特別
のデータ伝送装置を意識することなく、自動的に
障害が発生した区間を除いた状態で折返しのルー
プ(ループバツク)を構成するようにしたデータ
伝送装置を提供することにある。
Purpose of the Invention The purpose of the present invention is to automatically detect the section where the failure occurred when a failure occurs in the active and standby transmission paths between certain data transmission devices, without being aware of the particular data transmission device. It is an object of the present invention to provide a data transmission device which forms a return loop (loop back) in a state where the data transmission device is removed.

発明の構成 本発明の装置は、信号の流れる方向が相互に逆
方向である並行する2つのループ状伝送路と、こ
れらのループ状伝送路の両方に接続された複数の
データ伝送装置とを備えたデータ伝送システムに
おいて、前記複数のデータ伝送装置のそれぞれ
が、現時点で運用系として使用されている前記ル
ープ状伝送路の上流側からの信号が与えられ該信
号が障害状態を示す障害パターン信号であるか否
かを検出する検出手段と、前記検出手段が前記障
害パターン信号を検出したとき、該障害パターン
信号を前記現時点で運用系として使用されている
ループ状伝送路の下流に流すとともに障害状態を
示さない特定の信号を現時点で待機系として使用
されている前記ループ状伝送路の下流に流す信号
発生手段と、送信手段と、受信手段と、前記検出
手段が前記障害パターン信号を検出したあと予め
定めた時間以内に前記現時点で待機系として使用
されているループ状伝送路から前記特定の信号を
検出したときには、前記現時点で運用系として使
用されているループ状伝送路を待機系として使用
するとともに前記現時点で待機系として使用され
ているループ状伝送路を運用系として使用するた
めに前記現時点で待機系として使用されているル
ープ状伝送路に前記送信手段および前記受信手段
を接続する伝送接続切替手段と、前記検出手段が
前記障害パターン信号を検出したあと予め定めた
時間以内に前記現時点で待機系として使用されて
いるループ状伝送路から前記特定の信号を検出し
ないときには、前記現時点で待機系として使用さ
れているループ状伝送路に前記特定の信号を送出
するとともに前記送信手段を接続する第1の動作
と、前記現時点で運用系として使用されているル
ープ状伝送路に前記受信手段を接続する第2の動
作と、前記第1の動作で送出した特定の信号が予
め定めた時間以内に戻つてこない場合に前記障害
パターン信号を前記送信手段を介して送出する第
3の動作とを実行するループバツク接続手段とを
備える。
Configuration of the Invention The device of the present invention includes two parallel loop-shaped transmission paths in which signals flow in directions opposite to each other, and a plurality of data transmission devices connected to both of these loop-shaped transmission paths. In the data transmission system, each of the plurality of data transmission devices is provided with a signal from the upstream side of the loop-shaped transmission line currently being used as an active system, and the signal is a failure pattern signal indicating a failure state. a detecting means for detecting whether or not there is a fault pattern; and when the detecting means detects the fault pattern signal, the fault pattern signal is sent downstream of the loop-shaped transmission line currently being used as an active system, and a fault state is detected. a signal generating means for transmitting a specific signal that does not indicate a failure pattern downstream of the loop-shaped transmission line currently being used as a standby system; a transmitting means; a receiving means; and after the detecting means detects the failure pattern signal. When the specific signal is detected from the loop-shaped transmission line currently used as a standby system within a predetermined time, the loop-shaped transmission line currently used as an active system is used as a standby system. and a transmission connection for connecting the transmitting means and the receiving means to the loop-shaped transmission line currently used as a standby system in order to use the loop-shaped transmission line currently used as a standby system as an active system. When the switching means and the detecting means do not detect the specific signal from the loop-shaped transmission line currently being used as a standby system within a predetermined time after detecting the failure pattern signal, the switching means and the detecting means detect the failure pattern signal and, when the specific signal is not detected from the loop-shaped transmission line that is currently being used as a standby system, a first operation of transmitting the specific signal to the loop-shaped transmission line currently being used as a system and connecting the transmitting means; and a first operation of transmitting the specific signal to the loop-shaped transmission line currently being used as the operational system; a second operation of connecting, and a third operation of transmitting the failure pattern signal via the transmitting means when the specific signal sent in the first operation does not return within a predetermined time. and loopback connection means for performing the loopback connection.

発明の原理と作用 本発明によれば運用系で信号の断(特殊パター
ン)を識別し、運用系に信号断を与え待機系に断
にならない信号を流し、一定時間待機系に断にな
らない信号が流れていれば系の切替えを行い、一
方、流れていなければループバツク状態に切替え
る機能を各伝送装置に持たせることにより、ある
区間で運用系および待機系の両系とも断線した場
合には、この区画が信号の伝送に係わらないよう
ループバツク状態に切替えて、信号伝送を継続す
ることができる。
Principle and operation of the invention According to the present invention, a signal interruption (special pattern) is identified in the active system, a signal interruption is given to the active system, a signal that does not fail is sent to the standby system, and a signal that does not become interrupted is sent to the standby system for a certain period of time. By equipping each transmission device with a function that switches the system if it is flowing, and switches to a loopback state if it is not flowing, in the event that both the active and standby systems are disconnected in a certain section, It is possible to switch to a loopback state so that this section is not involved in signal transmission and continue signal transmission.

発明の実施例 次に図面を参照して本発明の一実施例を詳しく
説明する。第1図を参照すると本発明の通用され
るシステムは、伝送装置1〜4、第1のループ系
伝送路11〜14および第2のループ系伝送路2
1〜24から構成されている。通常システムとし
て運営している間はループ0系11〜14の伝送路を
使用し、ループ1系21〜24の伝送路をバイパス状
態(後述説明)にしている。第2図を参照すると
本発明の一実施例は、第1の光電気変換回路3
0、第2の光電気変換回路31、光電気変換後の
クロツク信号を伝送するクロツク線51および6
1、光電気変換後のデータを伝送するデータ線5
2および62、伝送路制御回路32、ループ系伝
送路11および21に送出するためのクロツク信
号を伝送するクロツク線54および64、前記ル
ープ系伝送路11および12に送出するためのデ
ータを伝送するデータ線55および56、第1お
よび第2の光電気変換回路30および31をそれ
ぞれ別個に制御するための制御信号を伝送する制
御信号線56および66、マイクロプログラム制
御を行うプロセツサ33、データバス81、割込
線82、伝送路制御回路32を制御するための制
御信号を伝送する信号線群83、ループ系伝送路
に送出するためのデータを伝送するデータ線8
4、ループ系伝送路22および14から受付けた
データをプロセツサ33に送出するデータ線群8
5、書込パルスを伝送する書込パルス線86、お
よびプロセツサ側33からのデータ線84を介し
て与えられるデータをループ系伝送路11および
21に送出したいときオンとなる送信要求信号を
伝送する要求信号線87から構成されている。第
3図を参照すると、第2図の伝送路制御回路32
はクロツク信号断検出回路91、ループ系伝送路
からまたは該伝送路へのデータの送受信を行う送
受信回路92、第1のループ系伝送路に対する送
信可能を示すフリツプフロツプ101、第2のル
ープ系伝送路に対する送信可能を示すフリツプフ
ロツプ201、第1のループ系伝送路からの受信
が可能であることを示すフリツプフロツプ10
2、第2のループ系伝送路からの受信が可能であ
ることを示すフリツプフロツプ202、第1のル
ープ系伝送路にバイパス指示を行うフリツプフロ
ツプ103、第2のループ系伝送路にバイパス指
示を行うフリツプフロツプ203、断にならない
信号の検出を示すクロツク検出信号を送出する信
号線301、フリツプフロツプ102の出力信号
を送出する出力信号線321、フリツプフロツプ
202の出力信号を送出する出力信号線322お
よびアンド回路401から構成されている。第4
図を参照すると、第3図のクロツク信号断検出回
路91は、ループ系伝送路が接続状態であること
を示すフリツプフロツプ110、接続状態から未
接続状態に移行するクロツク信号断を示すフリツ
プフロツプ114、ループ系伝送路の入力データ
に定数T0の値になるまで論理値「1」が続くか
否かを識別するためのカウンタ111、受信可能
フリツプフロツプ102または202のいずれか
がオン時にカウンタ111が定数T0の値を検出
しない限り定数T1の値になるまでカウントし続
けるカウンタ112、接続状態フリツプフロツプ
110がオン時にループ系伝送路の入力データの
論理値「0」を検出しない限り定数T2の値にな
るまでカウントし続けるカウンタ113、内部ク
ロツクを与えるクロツク信号線315、マスタリ
セツト信号を与えるリセツト信号線316、上位
装置からクロツク断フリツプフロツプ114をリ
セツトするためのリセツト信号を上位装置から伝
送する信号線317、ナンド回路402、オア回
路403、およびレシーバ411から構成されて
いる。
Embodiment of the Invention Next, an embodiment of the present invention will be described in detail with reference to the drawings. Referring to FIG. 1, the system to which the present invention is applied includes transmission devices 1 to 4, first loop transmission lines 11 to 14, and second loop transmission lines 2.
It consists of numbers 1 to 24. During normal system operation, the transmission lines of loop 0 systems 11 to 14 are used, and the transmission lines of loop 1 systems 21 to 24 are placed in a bypass state (described later). Referring to FIG. 2, one embodiment of the present invention includes a first photoelectric conversion circuit 3
0, second photoelectric conversion circuit 31, clock lines 51 and 6 for transmitting the clock signal after photoelectric conversion
1. Data line 5 that transmits data after photoelectric conversion
2 and 62, transmission line control circuit 32, clock lines 54 and 64 for transmitting clock signals to be sent to the loop system transmission lines 11 and 21, and clock lines 54 and 64 for transmitting data to be sent to the loop system transmission lines 11 and 12. Data lines 55 and 56, control signal lines 56 and 66 that transmit control signals for separately controlling the first and second photoelectric conversion circuits 30 and 31, a processor 33 that performs microprogram control, and a data bus 81. , an interrupt line 82, a signal line group 83 that transmits control signals for controlling the transmission line control circuit 32, and a data line 8 that transmits data to be sent to the loop system transmission line.
4. Data line group 8 that sends data received from the loop system transmission lines 22 and 14 to the processor 33
5. Transmits a transmission request signal that turns on when it is desired to send data given through the write pulse line 86 that transmits the write pulse and the data line 84 from the processor side 33 to the loop system transmission lines 11 and 21. It consists of a request signal line 87. Referring to FIG. 3, the transmission line control circuit 32 of FIG.
A clock signal disconnection detection circuit 91, a transmitting/receiving circuit 92 for transmitting and receiving data from or to the loop system transmission line, a flip-flop 101 indicating that transmission to the first loop system transmission line is possible, and a second loop system transmission line. Flip-flop 201 indicates that transmission is possible from the first loop transmission line, and flip-flop 10 indicates that reception from the first loop transmission path is possible.
2. Flip-flop 202 that indicates that reception from the second loop-based transmission line is possible; flip-flop 103 that issues a bypass instruction to the first loop-based transmission line; and flip-flop 103 that issues a bypass instruction to the second loop-based transmission line. 203, a signal line 301 that sends out a clock detection signal indicating the detection of an uninterrupted signal, an output signal line 321 that sends out the output signal of the flip-flop 102, an output signal line 322 that sends out the output signal of the flip-flop 202, and an AND circuit 401. It is configured. Fourth
Referring to the figure, the clock signal disconnection detection circuit 91 in FIG. A counter 111 is used to identify whether or not the logical value "1" continues until the input data of the system transmission line reaches the value of constant T0. The counter 112 continues counting until it reaches the value of constant T1 unless a value is detected, and the counter 112 continues counting until it reaches the value of constant T2 unless the logic value "0" of the input data of the loop system transmission line is detected when the connection state flip-flop 110 is on. A clock signal line 315 that provides an internal clock, a reset signal line 316 that provides a master reset signal, a signal line 317 that transmits a reset signal from the host device to reset the clock-off flip-flop 114, and a NAND circuit. 402, an OR circuit 403, and a receiver 411.

次に一実施例の動作を詳細に説明する。通常状
態では第1のループ系伝送路11〜14が使用さ
れる。いま、第1のループ系伝送路を使用してい
ると仮定する。データ伝送装置1においては、第
1のループ系伝送路に対する送信可能フリツプフ
ロツプ101、該第1のループ系伝送路に対する
受信可能フリツプフロツプ102、および第2の
ループ系伝送路に対するバイパスフリツプフロツ
プ203がオン状態になつており、クロツク信号
断検出回路91の出力信号301がオン状態にな
つている。また、第1図の他のデータ伝送装置2
〜4も該伝送装置1と同様の状態になつており、
それぞれ第1のループ系伝送路に接続されてい
る。第2図を参照すると、この状態で第1のルー
プ系伝送路14と第2のループ系伝送路21とが
同時に断線したとすると、データ伝送装置1にお
ける第1のループ系伝送路の第1の光電気変換回
路30がデータ線52をall1にする。このデータ
線52を介して与えられる信号に応答して、クロ
ツク信号断検出回路91から割込信号が信号線8
2に出力される。この信号線82を介して与えら
れる割込信号に応答して、プロセツサ33はデー
タ線81と書込パルス信号線86を介してデータ
および書込みパルスを送る。これらのデータおよ
び書込パルスに応答して、第1のループ系伝送路
に対する送信可能フリツプフロツプ101と受信
可能フリツプフロツプ102のそれぞれの状態を
オフにし、第1のループ系伝送路にはクロツクと
データを流さない(クロツク信号断の状態)よう
にする。このクロツク信号およびデータの両方が
流れていない状態が、クロツク断障害を示す障害
パターン信号の流れている状態である。これとと
もに第2のループ系伝送路に対する送信可能フリ
ツプフロツプ201をオン状態、バイパスフリツ
プフロツプ203をオフ状態にそれぞれする。こ
のとき、送信要求信号線87がオフ状態のため、
送受信回路92はクロツク信号断にならないパタ
ーンを連続してループ系伝送路に送ることができ
る。定められた時間の経過後に第2のループ系伝
送路に対する受信可能フリツプフロツプ202を
オン状態にし、クロツク信号断検出回路91の出
力であるクロツク検出信号線301の信号をプロ
セツサ33が検出しに行く。ところがループ系伝
送路11が断線と同じ状態になつているためにデ
ータ伝送装置2も上述のデータ伝送装置1と同じ
動作を行う。したがつて、データ伝送装置2は第
2のループ系伝送路22にクロツク信号断になら
ないパターンを連続して送出しているため伝送路
22はクロツク信号断の状態にはなつていない。
この結果、データ伝送装置1のプトセツサ33が
クロツク検出信号線301上の信号を検出しよう
としたときにはこの信号がオン状態になつている
ので、プロセツサ33が第1のループ系に対応す
るバイパスフリツプフロツプ103をオン状態に
することにより、第1のループ系から第2のルー
プ系に切替わる。このように順々にデータ伝送装
置4までクロツク信号断が伝播して第2のループ
系伝送路に切替る。データ伝送装置4の動作は伝
送路21が断線しているために、データ伝送装置
4のプロセツサ33がクロツク検出信号線301
の信号を検出するときにはオフになつている。し
たがつて、第2のループ系に対応する受信可能フ
リツプフロツプ202をオフ状態にし、第1のル
ープ系に対応する受信可能フリツプフロツプ10
2をオンにし、クロツク検出信号線301の信号
を検出しに行く。このとき、第1のループ系に対
応するデータ伝送装置1〜3がバイパス状態にな
つているために、クロツク信号断の状態になつて
いる。従つて、データ伝送装置4のクロツク検出
信号線301の信号がオフになつているというこ
とで、プロセツサ33は一定時間だけ送信可能フ
リツプフロツプ201をオフ状態にし、一定時間
後オン状態に戻す。すなわち、データ伝送装置4
は第1のループ系を受信側、第2のループ系を送
信側にしたループバツク状態になり伝送路24に
一定時間クロツク信号断を引き起す。すると、デ
ータ伝送装置3のプロセツサ33はクロツク信号
断の割込信号線82のオン状態を検出し、データ
線81のデータと書込パルス線86のパルスによ
り第2のループ系に対応した送信可能フリツプフ
ロツプ201と受信可能フリツプフロツプ202
をオフ状態にし、第2のループ系伝送路にはクロ
ツクとデータとを流さないようにする。次に第1
のループ系に対応する送信可能フリツプフロツプ
101をオン状態、バイパスフリツプフロツプ1
03をオフ状態にする。このとき、送信要求信号
線87がオフ状態のため、送受信回路92はクロ
ツク信号断にならないパターンを連続して第1の
ループ系伝送路に送るようになつている。定めら
れた時間経過後に、第1のループ系に対応する受
信可能フリツプフロツプの内容をオン状態にし、
クロツク信号断検出回路91の出力であるクロツ
ク検出信号線301の信号をプロセツサ33が検
出しに行く。ところがループ系伝送路23が断線
と同じ状態になつているためにデータ伝送装置2
も上述のデータ伝送装置3と同じ動作を行なう。
すなわち、クロツク信号断にならないパターンを
連続して第1のループ系伝送路に送る。したがつ
て、ループ系伝送路12はクロツク信号断になつ
ていない。従つて、データ伝送装置3のプロセツ
サ33がクロツク検出信号線301の信号を検出
しに行つたときはオン状態になつているので、第
2のループ系に対応するバイパスフリツプフロツ
プ203の内容をオン状態にし、第2のループ系
から第1のループ系に切替える。このように第2
のループ系側も順々にデータ伝送装置1までクロ
ツク信号断が伝播して第1のループ系伝送路に切
替る。データ伝送装置1の動作は、途中まで同じ
動作を行なうことになる。すなわち、送受信回路
92がクロツク断にならないパターンを連続して
第1のループ系伝送路に送り、更に定められた時
間経過後に第1のループ系に対応する受信可能フ
リツプフロツプの内容をオン状態にし、クロツク
検出信号線301の信号をプロセツサ33が監視
するところまで全く同じ動作である。しかし、そ
の後のデータ伝送装置1の動作は伝送路14が断
線しているために、データ伝送装置1のプロセツ
サ33がクロツク検出信号線301に信号を検出
しに行つたときにはオフ状態になつている。した
がつて、第1のループ系の受信可能フリツプフロ
ツプ102をオフ状態にし、第2のループ系に対
応する受信可能フリツプフロツプ202をオン状
態にし(このとき、送信可能フリツプフロツプ1
01がオン状態、バイパスフリツプフロツプ10
3がオフ状態のため、データ伝送装置はループバ
ツク状態になつている)、クロツク検出信号線3
01の信号を検出しに行く。このとき、データ伝
送装置2および3は第1のループ系が接続状態、
第2のループ系がバイパス状態に、データ伝送装
置4がループバツク状態になつているために、デ
ータ伝送装置1の第1のループ系側に出している
クロツク信号断にならないパターンが連続してデ
ータ伝送装置1→2→3→4→3→2→1の順序
で流れてくる。この結果、データ伝送装置1のク
ロツク検出信号線301の信号がオン状態になつ
ている。従つて、このままの状態で終了する。す
なわち、データ伝送装置1は第2のループ系を受
信側、第1のループ系を送信側にしたループバツ
ク状態になる。第5図はループ系伝送路14およ
び21が断線した場合の最終状態である。次に前
記クロツク信号断検出回路91の詳細な説明をす
る。今、受信可能フリツプフロツプ102がセツ
トされると、信号線321がオン状態となり、線
52,51、レシーバ411およびナンドゲート
402を介して第1の光電気変換回路30からの
入力データと入力クロツクが与えられカウンタ1
11が動作する。カウンタ111は光電気変換回
路30からの入力データの論理値「1」に応答し
てカウントし続け、論値値「0」に応答してリセ
ツトされ、カウンタの値「T0」に応答してパル
スを発生する。一方カウンタ112は信号線32
1がオン状態になつているためにカウントし始め
るが、カウンタ111の値がT0になるか、また
は接続状態フリツプフロツプ110がセツトされ
ると、カウンタ112はリセツトされる。カウン
タ112の値が「T1」になるとパルスを発生す
る。さらに、接続状態フリツプフロツプ110が
カウンタ112の値「T1」に応答してセツトさ
れる。従つてフリツプフロツプ110の出力であ
るクロツク検出信号線301がオンになることに
より、ループ系伝送路の接続状態をプロセツサ3
3に知らせる。接続状態フリツプフロツプ110
がセツトされ、かつ、内部クロツク315が与え
られたとき入力データが論理値「1」だとカウン
タ113がカウントする。カクンタ113は入力
データの論理値「0」に応答してリセツトされ
る。やがてカウンタ113の値「T2」に応答し
て、クロツク信号断フリツプフロツプ114がセ
ツトされる。従つてクロツク信号断フリツプフロ
ツプ114のセツトに応答して割込信号線82が
オン状態となる。したがつて、プロセツサ33に
クロツク信号断の発生を知らせる。次に、クロツ
ク信号断にならないパターンとして、連続して論
理値「1」の値がT0個未満でおさまるようなブ
ロツク図を第6図に示し、以下説明する。参照数
字511は送信用のクロツクを与えるクロツク信
号線、参照数字501はカウンタ、参照数字51
3はカウンタ値のうちの1ビツトを出力する線、
参照数字502はセレクタ、参照数字512はセ
レクタの出力でクロツク信号断にならないパター
ンを伝送する線をそれぞれ示す。今セレクタ50
2は線513の値「0」に応答して出力信号線5
12に‘0'を出力し、線513のカウント値
「1」に応答して出力信号線512に‘1'を出力
する。従つてカウンタ501にクロツク信号線5
11を介してクロツク信号が常時与えられていれ
ばくり返し連続したパターンが発生できる。この
場合カウンタ501は「111…1」の「1」の個
数が定数T0個未満になるような回路である。以
上の各データ伝送装置の動作は第7図のフローチ
ヤートに示す動作になる。但し、バイパスとは、
光電気変換回路30で考えた場合、バイパス信号
線56がオン時送信クロツク線54、送信データ
線55を無視し光電気変換回路30の入力信号が
そのまま出力信号として、ループ状に出て行くこ
という。なお、上述の例ではバイパス時も受信ク
ロツク線51と受信データ線52は有効である。
Next, the operation of one embodiment will be explained in detail. In the normal state, the first loop transmission lines 11 to 14 are used. Assume that the first loop transmission line is now used. The data transmission device 1 includes a transmittable flip-flop 101 for a first loop-based transmission line, a receive-capable flip-flop 102 for the first loop-based transmission line, and a bypass flip-flop 203 for the second loop-based transmission line. It is in the on state, and the output signal 301 of the clock signal disconnection detection circuit 91 is in the on state. In addition, other data transmission device 2 in FIG.
~4 is also in the same state as the transmission device 1,
Each of them is connected to a first loop system transmission line. Referring to FIG. 2, if the first loop transmission line 14 and the second loop transmission line 21 are simultaneously disconnected in this state, the first loop transmission line 21 of the first loop transmission line in the data transmission device 1 The photoelectric conversion circuit 30 sets the data line 52 to all1. In response to the signal applied via the data line 52, an interrupt signal is sent from the clock signal disconnection detection circuit 91 to the signal line 8.
2 is output. In response to the interrupt signal provided via signal line 82, processor 33 sends data and write pulses via data line 81 and write pulse signal line 86. In response to these data and write pulses, the respective states of the transmit enable flip-flop 101 and the receive enable flip-flop 102 for the first loop system transmission line are turned off, and the clock and data are transmitted to the first loop system transmission line. Make sure that the clock signal is not flowing (clock signal disconnected state). A state in which both the clock signal and data are not flowing is a state in which a failure pattern signal indicating a clock disconnection failure is flowing. At the same time, the transmittable flip-flop 201 for the second loop transmission line is turned on, and the bypass flip-flop 203 is turned off. At this time, since the transmission request signal line 87 is in the off state,
The transmitting/receiving circuit 92 can continuously send a pattern in which the clock signal is not interrupted to the loop transmission line. After a predetermined time has elapsed, the receivable flip-flop 202 for the second loop transmission line is turned on, and the processor 33 detects the signal on the clock detection signal line 301, which is the output of the clock signal disconnection detection circuit 91. However, since the loop transmission line 11 is in the same state as a disconnection, the data transmission device 2 also performs the same operation as the data transmission device 1 described above. Therefore, since the data transmission device 2 continuously sends out a pattern in which the clock signal is not cut off to the second loop transmission line 22, the transmission line 22 is not in a state where the clock signal is cut off.
As a result, when the processor 33 of the data transmission device 1 tries to detect the signal on the clock detection signal line 301, this signal is in the on state, so the processor 33 detects the signal on the clock detection signal line 301. By turning on the loop 103, the first loop system is switched to the second loop system. In this way, the clock signal disconnection is successively propagated to the data transmission device 4, and the transmission path is switched to the second loop system transmission line. The operation of the data transmission device 4 is such that the processor 33 of the data transmission device 4 detects the clock detection signal line 301 because the transmission line 21 is disconnected.
It is turned off when it detects a signal. Therefore, the receivable flip-flop 202 corresponding to the second loop system is turned off, and the receivable flip-flop 10 corresponding to the first loop system is turned off.
2 is turned on and the signal on the clock detection signal line 301 is detected. At this time, since the data transmission devices 1 to 3 corresponding to the first loop system are in a bypass state, the clock signal is cut off. Therefore, since the signal on the clock detection signal line 301 of the data transmission device 4 is off, the processor 33 turns off the transmittable flip-flop 201 for a certain period of time, and returns it to the on state after a certain period of time. That is, the data transmission device 4
becomes a loopback state in which the first loop system is on the receiving side and the second loop system is on the transmitting side, causing the clock signal to be interrupted on the transmission line 24 for a certain period of time. Then, the processor 33 of the data transmission device 3 detects the ON state of the interrupt signal line 82 when the clock signal is disconnected, and uses the data on the data line 81 and the pulse on the write pulse line 86 to enable transmission corresponding to the second loop system. Flip-flop 201 and receivable flip-flop 202
is turned off to prevent clocks and data from flowing through the second loop transmission line. Then the first
The transmittable flip-flop 101 corresponding to the loop system is turned on, and the bypass flip-flop 1 is turned on.
03 is turned off. At this time, since the transmission request signal line 87 is in the OFF state, the transmitting/receiving circuit 92 is configured to continuously send a pattern in which the clock signal is not interrupted to the first loop transmission line. After a predetermined period of time has elapsed, the contents of the receivable flip-flop corresponding to the first loop system are turned on;
The processor 33 goes to detect the signal on the clock detection signal line 301 which is the output of the clock signal disconnection detection circuit 91. However, since the loop system transmission line 23 is in the same state as a disconnection, the data transmission device 2
also performs the same operation as the data transmission device 3 described above.
That is, a pattern in which the clock signal is not interrupted is continuously sent to the first loop transmission line. Therefore, the loop transmission line 12 is not disconnected from the clock signal. Therefore, when the processor 33 of the data transmission device 3 goes to detect the signal on the clock detection signal line 301, it is in the on state, so the contents of the bypass flip-flop 203 corresponding to the second loop system are is turned on to switch from the second loop system to the first loop system. In this way the second
The clock signal disconnection is successively propagated to the data transmission device 1 on the loop system side of the first loop system, and the transmission line is switched to the first loop system transmission line. The data transmission device 1 performs the same operation up to the middle. That is, the transmitter/receiver circuit 92 continuously sends a pattern that does not result in clock interruption to the first loop system transmission line, and after a predetermined time has elapsed, turns on the contents of the receivable flip-flop corresponding to the first loop system. The operation is exactly the same up to the point where the processor 33 monitors the signal on the clock detection signal line 301. However, since the transmission line 14 is disconnected in the subsequent operation of the data transmission device 1, when the processor 33 of the data transmission device 1 goes to detect a signal on the clock detection signal line 301, it is in the off state. . Therefore, the receivable flip-flop 102 of the first loop system is turned off, and the receivable flip-flop 202 corresponding to the second loop system is turned on (at this time, the receivable flip-flop 102 of the first loop system is turned off).
01 is on, bypass flip-flop 10
3 is in the off state, the data transmission device is in a loopback state), the clock detection signal line 3
Go to detect the 01 signal. At this time, the first loop system of the data transmission devices 2 and 3 is in a connected state,
Since the second loop system is in the bypass state and the data transmission device 4 is in the loopback state, the pattern in which the clock signal sent to the first loop system side of the data transmission device 1 is not interrupted is continuous. The data flows in the order of transmission device 1 → 2 → 3 → 4 → 3 → 2 → 1. As a result, the signal on the clock detection signal line 301 of the data transmission device 1 is turned on. Therefore, the process ends in this state. That is, the data transmission device 1 enters a loopback state in which the second loop system is on the receiving side and the first loop system is on the transmitting side. FIG. 5 shows the final state when the loop transmission lines 14 and 21 are disconnected. Next, the clock signal disconnection detection circuit 91 will be explained in detail. Now, when the receivable flip-flop 102 is set, the signal line 321 is turned on, and the input data and input clock from the first opto-electric conversion circuit 30 are provided via the lines 52, 51, the receiver 411 and the NAND gate 402. Counter 1
11 works. The counter 111 continues counting in response to the logic value "1" of the input data from the opto-electrical conversion circuit 30, is reset in response to the logic value "0", and pulses in response to the counter value "T0". occurs. On the other hand, the counter 112
1 is on, but when the value of counter 111 becomes T0 or when connection state flip-flop 110 is set, counter 112 is reset. When the value of the counter 112 reaches "T1", a pulse is generated. Additionally, a connection state flip-flop 110 is set in response to the value "T1" of counter 112. Therefore, by turning on the clock detection signal line 301, which is the output of the flip-flop 110, the connection state of the loop system transmission line can be detected by the processor 3.
Let 3 know. Connection state flip-flop 110
is set and when the internal clock 315 is applied, the counter 113 counts if the input data is a logical value "1". The kakuunta 113 is reset in response to the logic value "0" of the input data. Eventually, in response to the value "T2" of the counter 113, the clock signal disconnection flip-flop 114 is set. Therefore, in response to the setting of the clock signal disconnection flip-flop 114, the interrupt signal line 82 is turned on. Therefore, the processor 33 is notified of the occurrence of the clock signal disconnection. Next, as a pattern in which the clock signal is not interrupted, a block diagram in which the number of consecutive logical values "1" is less than T0 is shown in FIG. 6, and will be described below. Reference numeral 511 is a clock signal line that provides a clock for transmission, reference numeral 501 is a counter, reference numeral 51
3 is a line that outputs 1 bit of the counter value,
Reference numeral 502 indicates a selector, and reference numeral 512 indicates a line that transmits a pattern in which the clock signal is not interrupted at the output of the selector. Now selector 50
2 is output signal line 5 in response to the value “0” on line 513.
12 and outputs '1' to the output signal line 512 in response to the count value '1' on the line 513. Therefore, the clock signal line 5 is connected to the counter 501.
If a clock signal is constantly applied through the clock signal 11, a continuous pattern can be generated repeatedly. In this case, the counter 501 is a circuit such that the number of "1"s in "111...1" is less than the constant T0. The operations of each data transmission device described above are shown in the flowchart of FIG. However, bypass is
Considering the photoelectric conversion circuit 30, when the bypass signal line 56 is on, the transmission clock line 54 and the transmission data line 55 are ignored, and the input signal of the photoelectric conversion circuit 30 goes out as an output signal in a loop. That's what it means. In the above example, the receive clock line 51 and the receive data line 52 are valid even during bypass.

発明の効果 本発明には運用系を信号断、待機系を断になら
ない信号を送出した一定時間後、待機系に信号が
有効的なものでなければループバツク状態になる
ように構成することにより、自動的にシセテム全
体を再ループ構成できるという効果がある。
Effects of the Invention The present invention is configured so that after a certain period of time after the active system is disconnected and the standby system is sent an unavoidable signal, the standby system enters a loopback state unless the signal is valid. This has the effect of automatically re-configuring the entire system.

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

第1図は本発明の適用されるループ状伝送シス
テムを示す図、第2図は本発明の一実施例を示す
図、第3図は第2図の伝送路制御回路の一例を示
す図、第4図は第3図のクロツク信号断検出回路
の一例を示す図、第5図は本発明を実施した後の
ループ状伝送システムを示す図、第6図は第3図
の送受信回路の部分的に示す図、および第7図は
本発明の一実施例の動作を示した図である。 第1図から第7図において、1〜4……データ
伝送装置、11〜14,21〜24……伝送路、
30,31……光電気変換回路、51,52,5
4〜56,61,62,64〜66,81〜8
7,301,311,312,315〜317,
321,322,511〜513……信号線、3
2……伝送路制御回路、33……プロセツサ、9
1……クロツク断検出回路、92……送受信回
路、101〜103,201〜203,110,
114……フリツプフロツプ、111〜113,
501……カウンタ、401〜403……ゲー
ト、411……レシーバ、502……セレクタ。
FIG. 1 is a diagram showing a loop transmission system to which the present invention is applied, FIG. 2 is a diagram showing an embodiment of the present invention, and FIG. 3 is a diagram showing an example of the transmission line control circuit of FIG. 2. 4 is a diagram showing an example of the clock signal disconnection detection circuit shown in FIG. 3, FIG. 5 is a diagram showing a loop transmission system after implementing the present invention, and FIG. 6 is a portion of the transmitting/receiving circuit shown in FIG. 3. FIG. 7 and FIG. 7 are diagrams showing the operation of an embodiment of the present invention. 1 to 7, 1 to 4... data transmission device, 11 to 14, 21 to 24... transmission line,
30, 31...Photoelectric conversion circuit, 51, 52, 5
4-56, 61, 62, 64-66, 81-8
7,301,311,312,315-317,
321, 322, 511-513...Signal line, 3
2...Transmission path control circuit, 33...Processor, 9
1...Clock disconnection detection circuit, 92...Transmission/reception circuit, 101-103, 201-203, 110,
114...Flip-flop, 111-113,
501...Counter, 401-403...Gate, 411...Receiver, 502...Selector.

Claims (1)

【特許請求の範囲】 1 信号の流れる方向が相互に逆方向である並行
する2つのループ状伝送路と、これらのループ状
伝送路の両方に接続された複数のデータ伝送装置
とを備えたデータ伝送システムにおいて、 前記複数のデータ伝送装置のそれぞれが、 現時点で運用系として使用されている前記ルー
プ状伝送路の上流側からの信号が与えられ該信号
が障害状態を示す障害パターン信号であるか否か
を検出する検出手段と、 前記検出手段が前記障害パターン信号を検出し
たとき、該障害パターン信号を前記現時点で運用
系として使用されているループ状伝送路の下流に
流すとともに障害状態を示さない特定の信号を現
時点で待機系として使用されている前記ループ状
伝送路の下流に流す信号発生手段と、 送信手段と、 受信手段と、 前記検出手段が前記障害パターン信号を検出し
たあと予め定めた時間以内に前記現時点で待機系
として使用されているループ状伝送路から前記特
定の信号を検出したときには、前記現時点で運用
系として使用されているループ状伝送路を待機系
として使用するとともに前記現時点で待機系とし
て使用されているループ状伝送路を運用系として
使用するために前記現時点で待機系として使用さ
れているループ状伝送路に前記送信手段および前
記受信手段を接続する伝送路接続切替手段と、 前記検出手段が前記障害パターン信号を検出し
たあと予め定めた時間以内に前記現時点で待機系
として使用されているループ状伝送路から前記特
定の信号を検出しないときには、前記現時点で待
機系として使用されているループ状伝送路に前記
特定の信号を送出するとともに前記送信手段を接
続する第1の動作と、前記現時点で運用系として
使用されているループ状伝送路に前記受信手段を
接続する第2の動作と、前記第1の動作で送出し
た特定の信号が予め定めた時間以内に戻つてこな
い場合に前記障害パターン信号を前記送信手段を
介して送出する第3の動作とを実行するループバ
ツク接続手段とを備えたことを特徴とするデータ
伝送装置。
[Claims] 1. A data system comprising two parallel loop-shaped transmission paths in which signals flow in directions opposite to each other, and a plurality of data transmission devices connected to both of these loop-shaped transmission paths. In the transmission system, each of the plurality of data transmission devices receives a signal from the upstream side of the loop-shaped transmission line currently being used as an active system, and determines whether the signal is a failure pattern signal indicating a failure state. detecting means for detecting whether or not the fault pattern signal is detected; a signal generating means for transmitting a specific signal to the downstream of the loop-shaped transmission line currently being used as a standby system; a transmitting means; a receiving means; If the specific signal is detected from the loop-shaped transmission line currently being used as a standby system within a time period, the loop-shaped transmission line currently being used as an active system is used as a standby system, and the transmission line connection switching for connecting the transmitting means and the receiving means to the loop-shaped transmission line currently being used as a standby system in order to use the loop-shaped transmission line currently being used as a standby system as an active system; means; when the detection means does not detect the specific signal from the loop-shaped transmission path currently being used as a standby system within a predetermined time after detecting the failure pattern signal, the detection means detects the failure pattern signal; a first operation of transmitting the specific signal and connecting the transmitting means to the loop-shaped transmission line currently being used as an active system; and connecting the receiving means to the loop-shaped transmission line currently being used as the active system. and a third operation of transmitting the failure pattern signal via the transmitting means if the specific signal transmitted in the first operation does not return within a predetermined time. What is claimed is: 1. A data transmission device comprising: loopback connection means for connecting
JP57148983A 1982-08-25 1982-08-27 Data transmitter Granted JPS5939142A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP57148983A JPS5939142A (en) 1982-08-27 1982-08-27 Data transmitter
DE8383108346T DE3382005D1 (en) 1982-08-25 1983-08-24 DATA TRANSFER DEVICE FOR RINGE TRANSMISSION SYSTEM.
EP83108346A EP0102059B1 (en) 1982-08-25 1983-08-24 Data transmission device for loop transmission system
US06/526,305 US4594709A (en) 1982-08-25 1983-08-25 Data transmission device for loop transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57148983A JPS5939142A (en) 1982-08-27 1982-08-27 Data transmitter

Publications (2)

Publication Number Publication Date
JPS5939142A JPS5939142A (en) 1984-03-03
JPH0376059B2 true JPH0376059B2 (en) 1991-12-04

Family

ID=15465065

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57148983A Granted JPS5939142A (en) 1982-08-25 1982-08-27 Data transmitter

Country Status (1)

Country Link
JP (1) JPS5939142A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01136444A (en) * 1987-11-24 1989-05-29 Yamatake Honeywell Co Ltd Loopback system for duplexed system

Also Published As

Publication number Publication date
JPS5939142A (en) 1984-03-03

Similar Documents

Publication Publication Date Title
US4745597A (en) Reconfigurable local area network
JPH04261246A (en) Transmission system and transmission method
KR0134082B1 (en) Protection switching unit and hardware protection switching method for use with hardware protective switching devices
JPH0376059B2 (en)
JPS5937753A (en) Data transmitter
JP2692338B2 (en) Communication device failure detection device
JP3082425B2 (en) Transmission line control method for data communication system
JP2946731B2 (en) Redundant selection switch
JPS61154332A (en) Data transmitter
JPH022258A (en) Signal line duplicated loopback system
JP3049955B2 (en) Switching control method
JPS62175044A (en) Duplexing loop-shaped transmission line
JPH0795747B2 (en) Data transmission equipment
JPS598451A (en) transmission control device
JPH02223248A (en) Data bus terminal equipment of command response system
KR0161163B1 (en) Global bus redundancy structure for redundant gateway nodes in electronic switchboards
JPS5923651A (en) Trouble detection system
JPH0451104B2 (en)
JPS62247649A (en) Duplex communication equipment
JPS636187B2 (en)
JPH0548022B2 (en)
JPH04311125A (en) Transmission line failure detecting circuit
JPS59221051A (en) Data transmission equipment
JPS58105649A (en) Data trnsmitting method for double loop-like trasnmission system
JPS5850372B2 (en) Data collection and distribution processing system