JP2679506B2 - Clock switching method - Google Patents

Clock switching method

Info

Publication number
JP2679506B2
JP2679506B2 JP4009424A JP942492A JP2679506B2 JP 2679506 B2 JP2679506 B2 JP 2679506B2 JP 4009424 A JP4009424 A JP 4009424A JP 942492 A JP942492 A JP 942492A JP 2679506 B2 JP2679506 B2 JP 2679506B2
Authority
JP
Japan
Prior art keywords
identifier
data
transmission device
predetermined direction
clock signal
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
JP4009424A
Other languages
Japanese (ja)
Other versions
JPH05199212A (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
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP4009424A priority Critical patent/JP2679506B2/en
Publication of JPH05199212A publication Critical patent/JPH05199212A/en
Application granted granted Critical
Publication of JP2679506B2 publication Critical patent/JP2679506B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)
  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、同期網リング構成の伝
送装置のクロック切替方式に利用する。特に、すべての
伝送装置を一つのクロック信号で同期させて動作させる
同期網リング構成の伝送装置のクロック切替方式に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is used in a clock switching system of a transmission device having a synchronous network ring structure. In particular, the present invention relates to a clock switching system for a transmission device having a synchronous network ring configuration in which all transmission devices are operated in synchronization with one clock signal.

【0002】[0002]

【従来の技術】従来、クロック切替方式は、マスタとな
る装置より伝送される伝送路のデータより、そのスレー
ブとなる装置がクロック信号を抽出してその装置のクロ
ック信号とし、次の装置へデータを伝送していた。
2. Description of the Related Art Conventionally, in a clock switching system, a slave device extracts a clock signal from data on a transmission line transmitted from a master device and uses it as a clock signal for the device, and then transmits the data to the next device. Was being transmitted.

【0003】このため伝送路障害時には、伝送路のクロ
ック信号を抽出することができなくなり、障害が検出さ
れた装置以降の装置のクロック信号にマスタとなる装置
のクロック信号を供給するために、障害が検出された装
置以降の装置のクロック信号を反対回りのデータより抽
出するように手動で切替えていた。
Therefore, in the event of a transmission line failure, the clock signal on the transmission line cannot be extracted, and the clock signal of the master device is supplied to the clock signal of the device subsequent to the device in which the failure is detected. The clock signal of the device subsequent to the device in which was detected was manually switched so as to be extracted from the data in the opposite direction.

【0004】[0004]

【発明が解決しようとする課題】しかし、このような従
来のクロック切替方式では、伝送路障害時にはクロック
信号の切替えを手動で制御しなければならないために、
切替えに人手を必要とし、切替えが終了するまでの間は
マスタのクロック信号と同期したクロック信号が得られ
ない問題点があった。
However, in such a conventional clock switching system, since the switching of the clock signal must be manually controlled when the transmission line fails,
There is a problem that a manual operation is required for the switching and a clock signal synchronized with the master clock signal cannot be obtained until the switching is completed.

【0005】本発明は上記の問題点を解決するもので、
伝送路障害時にクロック信号の切替えに人手を必要とせ
ず、自動的にかつ高速に同期クロック信号の復旧ができ
るクロック切替方式を提供することを目的とする。
The present invention solves the above problems,
An object of the present invention is to provide a clock switching system which can automatically and rapidly recover a synchronous clock signal without requiring humans to switch the clock signal in the case of a transmission path failure.

【0006】[0006]

【課題を解決するための手段】本発明は、マスタのクロ
ック信号に同期してデータを送信するマスタの伝送装置
と、このマスタの伝送装置に互いに反対方向にデータを
伝送する二つの伝送路を介して接続され所定方向の受信
データから抽出されたクロック信号に同期してデータを
上記二つの伝送路に送信する複数のスレーブの伝送装置
とを備えたクロック切替方式において、上記マスタの伝
送装置は、この伝送装置の識別子をデータに付加して送
信する手段および上記所定方向からの受信データにこの
伝送装置以外の識別子を検出したときには上記所定方向
と反対の方向に対しては規定の識別子をデータに付加し
て送信する付加手段を備え、上記複数のスレーブの伝送
装置はそれぞれ、上記所定方向の伝送路の障害を検出し
たときには自装置の内部クロック信号に切替え自装置の
識別子をデータに付加して送信する手段および上記所定
方向と反対の方向からの受信データから上記規定の識別
子を検出したときにはこの所定方向と反対の方向からの
受信データから抽出したクロック信号に切替える手段を
含む切替手段を備えたことを特徴とする。
According to the present invention, there are provided a master transmission device for transmitting data in synchronization with a master clock signal and two transmission lines for transmitting data to the master transmission device in opposite directions. In the clock switching system, which is connected via a plurality of slave transmission devices that transmit data to the two transmission lines in synchronization with a clock signal extracted from received data in a predetermined direction, the master transmission device is , A means for adding the identifier of the transmission device to data and transmitting the data, and when an identifier other than the transmission device is detected in the received data from the predetermined direction, the specified identifier is data for the direction opposite to the predetermined direction. The slave transmission device includes a plurality of slave transmission devices, each of which transmits itself to the slave device when a failure in the transmission path in the predetermined direction is detected. Means for switching the internal clock signal to add the identifier of its own device to the data and transmitting the data, and when the specified identifier is detected from the received data from the direction opposite to the predetermined direction, the received data from the direction opposite to the predetermined direction And a switching means including means for switching to the clock signal extracted from.

【0007】また、本発明は、上記付加手段は、上記所
定方向からの受信データに付加された識別子を検出しこ
の検出された識別子が上記マスタの伝送装置以外の識別
子のときには第一の制御信号を出力する第一の識別子検
出手段と、上記マスタの伝送装置の識別子をデータに付
加して送信し、この第一の制御信号に基づき上記所定方
向と反対の方向に対しては上記マスタの伝送装置の識別
子の代わりに上記規定の識別子をデータに付加して送信
する識別子付加手段とを含むことができる。
According to the present invention, the adding means detects an identifier added to the received data from the predetermined direction, and when the detected identifier is an identifier other than the master transmission device, the first control signal. A first identifier detecting means for outputting and transmitting the identifier of the master transmission device by adding it to the data, and transmitting the master signal in a direction opposite to the predetermined direction based on the first control signal. It is possible to include an identifier adding means for adding the above-mentioned specified identifier to the data instead of the device identifier and transmitting the data.

【0008】さらに、本発明は、上記切替手段は、上記
伝送路の障害を検出し第二の制御信号を出力する障害検
出手段と、上記所定方向と反対の方向からの受信データ
から上記規定の識別子を検出したときに第三の制御信号
を出力する識別子検出手段と、上記第二の制御信号に基
づき上記所定方向からの受信データに付加された上記マ
スタの伝送装置の識別子の代わりに自装置の識別子をデ
ータに付加して送信する第二の識別子挿入手段と、上記
第二の制御信号に基づき上記所定方向からの受信データ
から抽出したクロック信号を自装置の内部クロック信号
に切替え、上記第三の制御信号に基づき上記所定方向か
らの受信データから抽出したクロック信号をこの所定方
向と反対の方向からの受信データから抽出したクロック
信号に切替えるクロック切替手段とを含むことができ
る。
Further, according to the present invention, the switching means detects the failure of the transmission line and outputs a second control signal, and the above-mentioned stipulation is based on received data from a direction opposite to the predetermined direction. Identifier detecting means for outputting a third control signal when the identifier is detected, and its own device instead of the identifier of the master transmission device added to the received data from the predetermined direction based on the second control signal Second identifier inserting means for adding the identifier to the data and transmitting the data, and switching the clock signal extracted from the received data from the predetermined direction based on the second control signal to the internal clock signal of the own device, The clock signal extracted from the received data from the predetermined direction is switched to the clock signal extracted from the received data from the direction opposite to the predetermined direction based on the third control signal. Tsu may include a click switching means.

【0009】[0009]

【作用】マスタの伝送装置は、付加手段でマスタの伝送
装置の識別子をデータに付加して送信し、所定方向から
の受信データにマスタの伝送装置以外の識別子を検出し
たときには所定方向と反対の方向に対しては規定の識別
子をデータに付加して送信する。複数のスレーブの伝送
装置はそれぞれ、切替手段で所定方向の伝送路の障害を
検出したときには自装置の内部クロック信号に切替え自
装置の識別子をデータに付加して送信し、所定方向と反
対の方向からの受信データから規定の識別子を検出した
ときには所定方向と反対の方向からの受信データから抽
出したクロック信号に切替える。
The master transmission device adds the identifier of the master transmission device to the data by the adding means and transmits the data. When the identifier other than the master transmission device is detected in the received data from the predetermined direction, the master transmission device is in the opposite direction to the predetermined direction. For the direction, a specified identifier is added to the data and transmitted. When the switching means detects a failure of the transmission path in the predetermined direction, each of the plurality of slave transmission devices switches the internal clock signal of the own device, adds the identifier of the own device to the data, and transmits the data. When a prescribed identifier is detected from the received data from the device, the clock signal is switched to the clock signal extracted from the received data from the direction opposite to the predetermined direction.

【0010】以上により伝送路障害時にクロック信号の
切替えに人手を必要とせず、自動的にかつ高速に同期ク
ロック信号の復旧ができる。
As described above, it is possible to automatically and rapidly restore the synchronous clock signal without requiring manpower for switching the clock signal when the transmission line fails.

【0011】[0011]

【実施例】本発明の実施例について図面を参照して説明
する。図1は本発明一実施例クロック切替方式のブロッ
ク構成図である。図2はクロック切替方式のマスタの伝
送装置のブロック構成図である。図3はクロック切替方
式のスレーブの伝送装置のブロック構成図である。
Embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of a clock switching system according to an embodiment of the present invention. FIG. 2 is a block diagram of a master transmission device of a clock switching system. FIG. 3 is a block diagram of a clock transmission type slave transmission device.

【0012】図1〜図3において、クロック切替方式
は、マスタのクロック信号に同期してデータを送信する
マスタの伝送装置と、マスタの伝送装置に互いに反
対方向にデータを伝送する二つの伝送路を介して接続さ
れ所定方向の受信データから抽出されたクロック信号に
同期してデータを二つの伝送路に送信する複数のスレー
ブの伝送装置〜5とを備える。
1 to 3, in the clock switching method, a master transmission device 0 that transmits data in synchronization with a master clock signal and two data transmissions to the master transmission device 0 in opposite directions. A plurality of slave transmission devices 1 to 5 which are connected via transmission lines and which transmit data to the two transmission lines in synchronization with a clock signal extracted from received data in a predetermined direction.

【0013】ここで本発明の特徴とするところは、マス
タの伝送装置は、マスタの伝送装置の識別子をデー
タに付加して送信する手段および所定方向からの受信デ
ータにマスタの伝送装置以外の識別子を検出したとき
には所定方向と反対の方向に対しては規定の識別子をデ
ータに付加して送信する付加手段を備え、スレーブの伝
送装置〜5はそれぞれ、所定方向の伝送路の障害を検
出したときには自装置の内部クロック信号に切替え自装
置の識別子をデータに付加して送信する手段および所定
方向と反対の方向からの受信データから規定の識別子を
検出したときには所定方向と反対の方向からの受信デー
タから抽出したクロック信号に切替える手段を含む切替
手段を備えたことにある。
A feature of the present invention is that the master transmission device 0 adds means for transmitting the identifier of the master transmission device 0 to the data and transmits the received data from a predetermined direction to the master transmission device 0. When an identifier other than the above is detected, the slave transmission devices 1 to 5 are each provided with an addition means for adding a prescribed identifier to the data in a direction opposite to the predetermined direction and transmitting the data. When an internal clock signal of the own device is detected, a means for adding the identifier of the own device to the data and transmitting it, and when a specified identifier is detected from the received data from the direction opposite to the predetermined direction, the direction opposite to the predetermined direction There is provided switching means including means for switching to the clock signal extracted from the received data from.

【0014】また、マスタの伝送装置の付加手段は、所
定方向からの受信データに付加された識別子を検出しこ
の検出された識別子がマスタの伝送装置以外の識別子
のときには第一の制御信号を出力する第一の識別子検出
手段として識別子検出手段11と、マスタの伝送装置
の識別子をデータに付加して送信し、この第一の制御信
号に基づき所定方向と反対の方向に対してはマスタの伝
送装置の識別子の代わりに規定の識別子をデータに付
加して送信する識別子付加手段12とを含む。
Further, the adding means of the master transmission device detects the identifier added to the received data from the predetermined direction, and when the detected identifier is an identifier other than the master transmission device 0 , the first control signal is sent. The identifier detecting means 11 as the first identifier detecting means to output, and the master transmission device 0
Is added to the data and transmitted, and in the direction opposite to the predetermined direction based on the first control signal, a prescribed identifier is added to the data instead of the identifier of the master transmission device 0 and transmitted. The identifier adding means 12 is included.

【0015】さらに、スレーブの伝送装置1〜5の切替
手段は、伝送路の障害を検出し第二の制御信号を出力す
る障害検出手段21と、所定方向と反対の方向からの受
信データから規定の識別子を検出したときに第三の制御
信号を出力する第二の識別子検出手段として識別子検出
手段22と、上記第二の制御信号に基づき所定方向から
の受信データに付加されたマスタの伝送装置の識別子
の代わりに自装置の識別子をデータに付加して送信する
識別子挿入手段24と、上記第二の制御信号に基づき所
定方向からの受信データから抽出したクロック信号を自
装置の内部クロック信号に切替え、上記第三の制御信号
に基づき所定方向からの受信データから抽出したクロッ
ク信号を所定方向と反対の方向からの受信データから抽
出したクロック信号に切替えるクロック切替手段23と
を含む。
Further, the switching means of the slave transmission devices 1 to 5 defines the failure detection means 21 for detecting a failure of the transmission path and outputting the second control signal, and the received data from the direction opposite to the predetermined direction. Identifier detecting means 22 as a second identifier detecting means for outputting a third control signal when the identifier of the above is detected, and a master transmission device added to received data from a predetermined direction based on the second control signal. An identifier inserting means 24 for adding the identifier of the own device to the data and transmitting the data instead of the identifier of 0 , and the internal clock signal of the own device for the clock signal extracted from the received data from the predetermined direction based on the second control signal. The clock signal extracted from the received data from the direction opposite to the predetermined direction based on the third control signal. And a clock switching means 23 to switch to.

【0016】このような構成のクロック切替装置の動作
について説明する。図4は本発明のクロック切替方式の
マスタの伝送装置の識別子検出手段の動作を示すフロー
チャートである。図5は本発明のクロック切替方式のス
レーブの伝送装置の障害検出手段の動作を示すフローチ
ャートである。図6は本発明のクロック切替方式のスレ
ーブの伝送装置の識別子検出手段の動作を示すフローチ
ャートである。図7は本発明のクロック切替方式の伝送
路障害を検出したスレーブの伝送装置およびそれに隣接
するスレーブの伝送装置の動作を示す図である。図7に
おいて、図7(a)は伝送路障害発生時の状態をを示
し、図7(b)は伝送路障害を検出したスレーブの伝送
装置2およびそれに隣接するスレーブの伝送装置3の動
作を示す。図8は本発明のクロック切替方式のクロック
切替時のマスタの伝送装置およびスレーブの伝送装置の
動作を示す図である。図8において、図8(a)はスレ
ーブの伝送装置2の識別子0をマスタの伝送装置0に
送信するスレーブの転送装置4、5の動作を示し、図8
(b)はマスタの伝送装置0が規定の識別子FFを送信
し続いてスレーブの伝送装置5が識別子FFを送信する
動作を示す。図9は本発明のクロック切替方式のクロッ
ク信号切替終了時の状態を示す図である。
The operation of the clock switching device having such a configuration will be described. FIG. 4 is a flow chart showing the operation of the identifier detection means of the clock switching master transmission device of the present invention. FIG. 5 is a flow chart showing the operation of the failure detection means of the clock transmission type slave transmission device of the present invention. FIG. 6 is a flowchart showing the operation of the identifier detecting means of the clock switching type slave transmission device of the present invention. FIG. 7 is a diagram showing the operation of the slave transmission device that has detected a transmission path fault of the clock switching system of the present invention and the slave transmission device adjacent thereto. In FIG. 7, FIG. 7A shows a state when a transmission line failure occurs, and FIG. 7B shows the operation of the slave transmission device 2 that has detected the transmission line failure and the slave transmission device 3 adjacent to it. Show. FIG. 8 is a diagram showing operations of the master transmission device and the slave transmission device at the time of clock switching of the clock switching system of the present invention. 8A shows the operation of the slave transfer devices 4 and 5 which transmits the identifier 02 of the slave transmission device 2 to the master transmission device 0, and FIG.
(B) shows an operation in which the master transmission device 0 transmits the specified identifier FF and then the slave transmission device 5 transmits the identifier FF. FIG. 9 is a diagram showing a state at the end of the clock signal switching of the clock switching system of the present invention.

【0017】図2および図3において、マスタの伝送装
では、識別子付加手段12はデータに自装置の識別
子00を付加して送信する。識別子検出手段11は受信
データに自装置以外の識別子を検出したときに識別子付
加手段12を制御して規定の識別子FFをこの受信デー
タの方向の送信データに付加して送信させる。
2 and 3, in the master transmission device 0 , the identifier adding means 12 adds the own device identifier 00 to the data and transmits the data. When the identifier detecting means 11 detects an identifier other than the own device in the received data, the identifier detecting means 11 controls the identifier adding means 12 to add the prescribed identifier FF to the transmitted data in the direction of the received data and to transmit it.

【0018】図3、図5および図6において、スレーブ
の伝送装置1〜5では、主信号の障害を検出する障害検
出手段21は、障害を検出したときにクロック切替手段
23に対して、自局の内部クロックを用いて時計廻りお
よび反時計廻りにデータの送信を行うように指令を出
す。また、同時に識別子挿入手段24に対して、自局識
別子を付加してデータを送信するように指令を出す。
In FIGS. 3, 5 and 6, in the slave transmission devices 1 to 5, the fault detecting means 21 for detecting a fault in the main signal is instructed to the clock switching means 23 when the fault is detected. It issues a command to transmit data clockwise and counterclockwise using the station's internal clock. At the same time, it issues a command to the identifier inserting means 24 to add the own station identifier and transmit the data.

【0019】マスタのクロック信号を送信する伝送装置
0以外の識別子検出手段22は、上流局が挿入した識別
子を検出し、この識別子がFF以外のときには、時計廻
りの受信データのクロック信号を時計廻りおよび反時計
廻りのデータ送信に用いるようにクロック切替手段23
に指令を出す。識別子がFFのときには、反時計廻りの
受信データのクロック信号を時計廻りおよび反時計廻り
のデータ送信に用いるようにクロック切替手段23に指
令を出す。マスタのクロックを送信する伝送装置の識別
子検出手段22は、00以外の識別子を検出した場合に
は、00以外の識別子を検出した方向に対して、FFの
識別子を挿入してデータを伝送するように、識別子挿入
手段24に対して指令を出す。
The identifier detecting means 22 other than the transmission device 0 for transmitting the master clock signal detects the identifier inserted by the upstream station, and when this identifier is other than FF, the clock signal of the clockwise received data is turned clockwise. And clock switching means 23 for use in counterclockwise data transmission.
Command. When the identifier is FF, the clock switching means 23 is instructed to use the clock signal of the counterclockwise received data for clockwise and counterclockwise data transmission. When detecting an identifier other than 00, the identifier detecting means 22 of the transmission device that transmits the master clock inserts the FF identifier in the direction in which the identifier other than 00 is detected and transmits the data. Then, a command is issued to the identifier inserting means 24.

【0020】図1および図4〜図8を用いて本発明の切
替手順を示す。
The switching procedure of the present invention will be described with reference to FIGS. 1 and 4 to 8.

【0021】図1は、通常状態で全ての伝送装置はマス
タの伝送装置0のクロック信号に同期して動作してお
り、マスタの伝送装置0は、その識別子である00(1
6進数)を伝送路のデータとして送信する。この状態で
は、他の伝送装置1〜5も、受信した識別子00(16
進数)を伝送路のデータとして送信する。
In FIG. 1, all transmission devices operate in synchronization with the clock signal of the master transmission device 0 in the normal state, and the master transmission device 0 has its identifier 00 (1).
Hexadecimal number) is transmitted as data on the transmission path. In this state, the other transmission devices 1 to 5 also receive the received identifier 00 (16
The base number) is transmitted as data on the transmission path.

【0022】図7(a)は、伝送装置1と伝送装置2の
間での伝送路障害の発生を表している。
FIG. 7A shows the occurrence of a transmission line failure between the transmission device 1 and the transmission device 2.

【0023】図7(b)は、この伝送路の障害を検出し
た伝送装置2は、内部クロック信号に切替え、伝送装置
2の識別子である02(16進数)を伝送路のデータと
して送信する。伝送装置3は、伝送装置2が送信した伝
送装置の識別子02(16進数)を受信し、さらに識別
子02を時計廻りおよび反時計廻りに送信しているとこ
ろを表している。
In FIG. 7B, the transmission device 2 which has detected the failure of the transmission line switches to the internal clock signal and transmits the identifier 02 (hexadecimal number) of the transmission device 2 as the data of the transmission line. The transmission device 3 receives the identifier 02 (hexadecimal number) of the transmission device transmitted by the transmission device 2 and further transmits the identifier 02 clockwise and counterclockwise.

【0024】以下同様に、図8は、伝送装置4、5が、
識別子02(16進数)を時計廻りおよび反時計廻りに
送信しているところを表している。
Similarly, in FIG. 8, the transmission devices 4 and 5 are
This shows that the identifier 02 (hexadecimal number) is transmitted clockwise and counterclockwise.

【0025】図8(b)は、マスタの伝送装置0が、自
伝送装置が送信した識別子00(16進数)以外の識別
子02(16進数)を受信したので、識別子FF(16
進数)を反時計廻りに送信し、これを受信した伝送装置
5が反時計廻りからの受信クロック信号を、時計廻りお
よび反時計廻りの送信クロック信号に切替えている。
In FIG. 8B, since the master transmission device 0 receives the identifier 02 (hexadecimal number) other than the identifier 00 (hexadecimal number) transmitted by the self transmission device, the identifier FF (16
The transmission device 5 transmits the (adic number) in the counterclockwise direction, and the transmission device 5 receiving this transmits the reception clock signal from the counterclockwise direction to the clockwise and counterclockwise transmission clock signals.

【0026】以下同様に、図9は、伝送装置4、3の送
信クロック信号が順次切替えられていき、最後に伝送装
置2の送信クロックが、自伝送装置のクロック信号から
反時計廻りの受信クロック信号に切替えられ、クロック
信号の切替えが終了する。
Similarly, in FIG. 9, the transmission clock signals of the transmission devices 4 and 3 are sequentially switched, and finally the transmission clock of the transmission device 2 is a counterclockwise reception clock from the clock signal of the own transmission device. The signal is switched, and the switching of the clock signal is completed.

【0027】[0027]

【発明の効果】以上説明したように、本発明は、伝送路
障害時にクロック信号の切替えに人手を必要とせず、自
動的にかつ高速に同期クロック信号の復旧ができる優れ
た効果がある。
As described above, the present invention has an excellent effect that the synchronous clock signal can be restored automatically and at high speed without requiring humans for switching the clock signal in the case of a transmission line failure.

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

【図1】本発明一実施例クロック切替方式のブロック構
成図。
FIG. 1 is a block configuration diagram of a clock switching system according to an embodiment of the present invention.

【図2】本発明のクロック切替方式のマスタの伝送装置
のブロック構成図。
FIG. 2 is a block configuration diagram of a clock switching master transmission device of the present invention.

【図3】本発明のクロック切替方式のスレーブの伝送装
置のブロック構成図。フローチャート。
FIG. 3 is a block configuration diagram of a clock switching type slave transmission device of the present invention. flowchart.

【図4】本発明のクロック切替方式のマスタの伝送装置
の識別子検出手段の動作を示すフローチャート。
FIG. 4 is a flowchart showing the operation of the identifier detection means of the clock transmission master transmission device of the present invention.

【図5】本発明のクロック切替方式のスレーブの伝送装
置の障害検出手段の動作を示すフローチャート。
FIG. 5 is a flowchart showing the operation of the failure detection means of the clock transmission type slave transmission device of the present invention.

【図6】本発明のクロック切替方式のスレーブの伝送装
置の識別子検出手段の動作を示すフローチャート。
FIG. 6 is a flowchart showing the operation of the identifier detection means of the clock transmission type slave transmission device of the present invention.

【図7】本発明のクロック切替方式の伝送路障害を検出
したスレーブの伝送装置およびそれに隣接するスレーブ
の伝送装置の動作を示す図。
FIG. 7 is a diagram showing the operation of a slave transmission device that has detected a transmission path fault of the clock switching system of the present invention and a slave transmission device adjacent thereto.

【図8】本発明のクロック切替方式のクロック切替時の
マスタの伝送装置およびスレーブの伝送装置の動作を示
す図。
FIG. 8 is a diagram showing an operation of the master transmission device and the slave transmission device at the time of clock switching of the clock switching system of the present invention.

【図9】本発明のクロック切替方式のクロック切替終了
時の状態を示す図。
FIG. 9 is a diagram showing a state at the end of clock switching in the clock switching system of the present invention.

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

0 マスタの伝送装置 1〜5 スレーブの伝送装置 11、22 識別子検出手段 12 識別子付加手段 21 障害検出手段 23 クロック切替手段 24 識別子挿入手段 00 マスタの伝送装置の識別子(16進数) 02 スレーブの伝送装置(2)の識別子(16進数) FF 規定の識別子(16進数) 0 master transmission device 1-5 slave transmission device 11, 22 identifier detection means 12 identifier addition means 21 failure detection means 23 clock switching means 24 identifier insertion means 00 master transmission device identifier (hexadecimal number) 02 slave transmission device (2) Identifier (hexadecimal number) FF Specified identifier (hexadecimal number)

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 マスタのクロック信号に同期してデータ
を送信するマスタの伝送装置と、このマスタの伝送装置
に互いに反対方向にデータを伝送する二つの伝送路を介
して接続され所定方向の受信データから抽出されたクロ
ック信号に同期してデータを上記二つの伝送路に送信す
る複数のスレーブの伝送装置とを備えたクロック切替方
式において、 上記マスタの伝送装置は、この伝送装置の識別子をデー
タに付加して送信する手段および上記所定方向からの受
信データにこの伝送装置以外の識別子を検出したときに
は上記所定方向と反対の方向に対しては規定の識別子を
データに付加して送信する付加手段を備え、 上記複数のスレーブの伝送装置はそれぞれ、上記所定方
向の伝送路の障害を検出したときには自装置の内部クロ
ック信号に切替え自装置の識別子をデータに付加して送
信する手段および上記所定方向と反対の方向からの受信
データから上記規定の識別子を検出したときにはこの所
定方向と反対の方向からの受信データから抽出したクロ
ック信号に切替える手段を含む切替手段を備えたことを
特徴とするクロック切替方式。
1. A master transmission device that transmits data in synchronization with a master clock signal, and a reception device in a predetermined direction that is connected to the master transmission device via two transmission lines that transmit data in opposite directions. In a clock switching system including a plurality of slave transmission devices that transmit data to the two transmission lines in synchronization with a clock signal extracted from the data, the master transmission device uses the identifier of the transmission device as a data And a means for transmitting the received data from the predetermined direction, and an additional means for adding a prescribed identifier to the data and transmitting the data in the direction opposite to the predetermined direction when the identifier other than the transmission device is detected. Each of the plurality of slave transmission devices is switched to its own internal clock signal when a failure in the transmission path in the predetermined direction is detected. A means for adding the identifier of its own device to the data and transmitting it, and a clock signal extracted from the received data from the direction opposite to the predetermined direction when the specified identifier is detected from the received data from the direction opposite to the predetermined direction. A clock switching system characterized by comprising switching means including means for switching to.
【請求項2】 上記付加手段は、上記所定方向からの受
信データに付加された識別子を検出しこの検出された識
別子が上記マスタの伝送装置以外の識別子のときには第
一の制御信号を出力する第一の識別子検出手段と、上記
マスタの伝送装置の識別子をデータに付加して送信し、
この第一の制御信号に基づき上記所定方向と反対の方向
に対しては上記マスタの伝送装置の識別子の代わりに上
記規定の識別子をデータに付加して送信する識別子付加
手段とを含む請求項1記載のクロック切替方式。
2. The adding means detects an identifier added to the received data from the predetermined direction, and outputs a first control signal when the detected identifier is an identifier other than the master transmission device. One identifier detection means and the master transmission device identifier is added to the data and transmitted,
An identifier adding means for adding the specified identifier to the data instead of the identifier of the master transmission device and transmitting the data in a direction opposite to the predetermined direction based on the first control signal. Clock switching method described.
【請求項3】 上記切替手段は、上記伝送路の障害を検
出し第二の制御信号を出力する障害検出手段と、上記所
定方向と反対の方向からの受信データから上記規定の識
別子を検出したときに第三の制御信号を出力する第二の
識別子検出手段と、上記第二の制御信号に基づき上記所
定方向からの受信データに付加された上記マスタの伝送
装置の識別子の代わりに自装置の識別子をデータに付加
して送信する識別子挿入手段と、上記第二の制御信号に
基づき上記所定方向からの受信データから抽出したクロ
ック信号を自装置の内部クロック信号に切替え、上記第
三の制御信号に基づき上記所定方向からの受信データか
ら抽出したクロック信号をこの所定方向と反対の方向か
らの受信データから抽出したクロック信号に切替えるク
ロック切替手段とを含む請求項1記載のクロック切替方
式。
3. The switching means detects a failure in the transmission path and outputs a second control signal, and detects the specified identifier from received data from a direction opposite to the predetermined direction. When a second identifier detecting means for outputting a third control signal at the time, and instead of the identifier of the master transmission device added to the received data from the predetermined direction based on the second control signal of its own device An identifier inserting means for adding an identifier to the data and transmitting it, and a clock signal extracted from the received data from the predetermined direction based on the second control signal is switched to the internal clock signal of the own device, and the third control signal And a clock switching means for switching the clock signal extracted from the received data from the predetermined direction to the clock signal extracted from the received data from the direction opposite to the predetermined direction. The clock switching system according to claim 1, further comprising:
JP4009424A 1992-01-22 1992-01-22 Clock switching method Expired - Lifetime JP2679506B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4009424A JP2679506B2 (en) 1992-01-22 1992-01-22 Clock switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4009424A JP2679506B2 (en) 1992-01-22 1992-01-22 Clock switching method

Publications (2)

Publication Number Publication Date
JPH05199212A JPH05199212A (en) 1993-08-06
JP2679506B2 true JP2679506B2 (en) 1997-11-19

Family

ID=11719972

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4009424A Expired - Lifetime JP2679506B2 (en) 1992-01-22 1992-01-22 Clock switching method

Country Status (1)

Country Link
JP (1) JP2679506B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4724171B2 (en) * 2007-11-30 2011-07-13 株式会社東芝 Node device and clock switching method
WO2012114517A1 (en) 2011-02-25 2012-08-30 三菱電機株式会社 Master device and slave device and time synchronization method

Also Published As

Publication number Publication date
JPH05199212A (en) 1993-08-06

Similar Documents

Publication Publication Date Title
JP2679506B2 (en) Clock switching method
JP2918009B2 (en) Clock switching method
US6516419B1 (en) Network synchronization method and non-break clock switching method in extended bus connection system
JP2655460B2 (en) Clock switching method
JP2906846B2 (en) Ring data communication system
JPH10322379A (en) Clock path changeover method
JP2827735B2 (en) Clock switching method
JP3003430B2 (en) Clock Switching Method for Synchronous Network Ring Configuration Network System
JP3039069B2 (en) Ring synchronous network system
JP2967655B2 (en) Clock switching method
JPH0720121B2 (en) How to detect a fault in a ring network
JP3010804B2 (en) Dependent synchronization method
JPH0398320A (en) Switching control system for active/standby package constituting redundant system
JPS5823790B2 (en) Synchronous cooperation method of duplex cyclic data transmission equipment
JP2748840B2 (en) Instantaneous interruption switching method and apparatus
JPH05244143A (en) Clock switching system
JPS61236240A (en) Clock selection system for decentralized type processing unit
JPH02161849A (en) Data transmission system
JPS61251244A (en) Circuit for transmitting auxiliary signal
JPS6276839A (en) Data transfer control system
JPH0661989A (en) Synchronizing signal switching system
JPS5930392A (en) Remote supervisory and controlling equipment
JPS60117837A (en) Alarm signal transfer system
JPH058891B2 (en)
JPH05292106A (en) Clock changeover system