JP2918009B2 - Clock switching method - Google Patents

Clock switching method

Info

Publication number
JP2918009B2
JP2918009B2 JP4166271A JP16627192A JP2918009B2 JP 2918009 B2 JP2918009 B2 JP 2918009B2 JP 4166271 A JP4166271 A JP 4166271A JP 16627192 A JP16627192 A JP 16627192A JP 2918009 B2 JP2918009 B2 JP 2918009B2
Authority
JP
Japan
Prior art keywords
clock
transmission device
master
transmission
slave
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
JP4166271A
Other languages
Japanese (ja)
Other versions
JPH05199250A (en
Inventor
かおり 貴志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP4166271A priority Critical patent/JP2918009B2/en
Publication of JPH05199250A publication Critical patent/JPH05199250A/en
Application granted granted Critical
Publication of JP2918009B2 publication Critical patent/JP2918009B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、クロックの切替方式に
関し、特に、複数の伝送装置をリング状に接続して構成
され、且つ、これらの伝送装置の全てを一つのクロック
で同期させて動作させる同期リング構成のシステムにお
いて、伝送路障害時、クロックの切替を行うクロック切
替方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a clock switching system, and more particularly to a clock switching system in which a plurality of transmission devices are connected in a ring, and all of these transmission devices operate in synchronization with one clock. The present invention relates to a clock switching method for switching a clock when a transmission line fails in a system having a synchronous ring configuration to be performed.

【0002】[0002]

【従来の技術】従来、この種の同期リング構成システム
では、マスタとなる装置(以下、マスタ伝送装置と呼
ぶ。)と、マスタ伝送装置からのクロックにしたがって
動作を行う伝送装置(以下、スレーブ伝送装置と呼
ぶ。)とを備え、このクロックにしたがって、各伝送装
置は双方向にデータを伝送することができる。具体的に
言えば、スレーブ伝送装置では、マスタ伝送装置から一
方向に伝送されるクロックを抽出して、そのスレーブ伝
送装置のクロックとして使用すると共に、次の伝送装置
へ一方向にクロックを伝送していた。以下、同様な動作
により、クロックは、順次、一方向に伝送され、最終的
には、マスタ伝送装置に戻されている。
2. Description of the Related Art Conventionally, in this type of synchronous ring configuration system, a master device (hereinafter referred to as a master transmission device) and a transmission device (hereinafter referred to as a slave transmission device) which operates in accordance with a clock from the master transmission device. Each transmission device can transmit data in both directions according to the clock. Specifically, the slave transmission device extracts a clock transmitted in one direction from the master transmission device, uses it as the clock of the slave transmission device, and transmits the clock in one direction to the next transmission device. I was Hereinafter, by the same operation, the clock is sequentially transmitted in one direction and finally returned to the master transmission device.

【0003】この構成において、クロックを伝送する伝
送路に障害が発生し、クロックの受信ができなくなる
と、障害発生位置より下流に位置する伝送装置では、伝
送路のクロックを抽出することができなくなる。
In this configuration, if a failure occurs in the transmission line for transmitting the clock and the clock cannot be received, the transmission device located downstream from the failure occurrence position cannot extract the clock of the transmission line. .

【0004】この場合、障害発生位置の直後に位置する
スレーブ伝送装置において、障害を検出し、このスレー
ブ伝送装置内で発生させたクロックをマスタ伝送装置か
らのクロックの代わりに、伝送路に伝送している。この
ように、マスタ伝送装置のクロックの代わりに、スレー
ブ伝送装置のクロックを伝送するシステムでは、網同期
がとれなくなっていた。
In this case, a failure is detected in a slave transmission device located immediately after the failure occurrence position, and a clock generated in the slave transmission device is transmitted to a transmission line instead of a clock from the master transmission device. ing. As described above, in a system that transmits the clock of the slave transmission device instead of the clock of the master transmission device, network synchronization cannot be achieved.

【0005】一方、障害発生時、いままでの伝送路と反
対方向の伝送路に、マスタ伝送装置から送出されている
クロックを各スレーブ伝送装置で抽出するように、スレ
ーブ伝送装置を順次切り替えることも行われている。こ
の場合、各スレーブ伝送装置では、クロックを抽出する
伝送路を切り替える必要がある。各伝送装置における伝
送路の切替、即ち、クロックの切替は、通常、マスタ側
から伝送路障害を検出している伝送装置まで、順次、手
動により行われていた。また、伝送路の障害が復旧した
時にも、各伝送装置において、手動によって伝送路、即
ち、クロックの切り戻しが行われていた。
[0005] On the other hand, when a failure occurs, the slave transmission devices may be sequentially switched so that each slave transmission device extracts a clock transmitted from the master transmission device on a transmission line in a direction opposite to the conventional transmission line. Is being done. In this case, each slave transmission device needs to switch the transmission path from which the clock is extracted. The switching of the transmission line in each transmission device, that is, the switching of the clock, is usually performed manually sequentially from the master side to the transmission device detecting the transmission line failure. Further, even when the failure of the transmission line is recovered, the transmission line, that is, the clock is switched back manually in each transmission device.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、このよ
うな従来のクロック切替方式では、伝送路障害時に、ク
ロックの切替を手動で制御しなければならない。そのた
め、切替に人手を必要とし、切り替えが終了するまでの
間、システムがマスタ伝送装置のクロックと同期した同
期網として機能しないという問題点があった。
However, in such a conventional clock switching system, clock switching must be manually controlled when a transmission line fails. For this reason, there is a problem that the switching requires manual labor and the system does not function as a synchronous network synchronized with the clock of the master transmission device until the switching is completed.

【0007】そこで、本発明の技術的課題は、上記欠点
に鑑み、リング構成された同期網のシステムにおいて、
伝送路障害発生時にクロックの抽出方向を切り替える場
合、自動的にクロック信号を切り替える方式を提供する
ことである。
[0007] In view of the above drawbacks, the technical problem of the present invention is to provide a synchronous network system having a ring configuration.
An object of the present invention is to provide a method of automatically switching a clock signal when switching a clock extraction direction when a transmission line failure occurs.

【0008】[0008]

【課題を解決するための手段】本発明によれば、マスタ
伝送装置と複数のスレーブ伝送装置とをリング状に接続
して構成され、複数のスレーブ伝送装置をマスタ伝送装
置からのクロックに同期させて、時計方向及び反時計方
向の双方向に伝送可能なリング状同期ネットワークに使
用されるクロック切替方式において、前記スレーブ伝送
装置の一つにおいて、マスタ伝送装置から所定方向に送
られてくるクロックの停止が検出されると、当該一つの
スレーブ伝送装置からマスタ伝送装置に対して、前記所
定方向に、前記クロックの停止について伝達する一方、
前記マスタ伝送装置では、伝送方向を所定方向とは逆方
向に切り替えることを指示する切替要求信号を逆方向
に、クロックの停止を検出したスレーブ伝送装置まで伝
送することを特徴とするクロック切替方式が得られる。
According to the present invention, a master transmission device and a plurality of slave transmission devices are connected in a ring, and the plurality of slave transmission devices are synchronized with a clock from the master transmission device. In a clock switching method used for a ring-shaped synchronous network capable of transmitting clockwise and counterclockwise directions, one of the slave transmission devices transmits a clock transmitted from a master transmission device in a predetermined direction. When the stop is detected, the one slave transmission device transmits the stop of the clock to the master transmission device in the predetermined direction,
In the master transmission device, a clock switching method is characterized in that a switching request signal instructing to switch a transmission direction in a direction opposite to a predetermined direction is transmitted in a reverse direction to a slave transmission device that has detected a clock stop. can get.

【0009】[0009]

【実施例】次に、本発明の実施例を図面を参照して説明
する。
Next, an embodiment of the present invention will be described with reference to the drawings.

【0010】図1(A)、(B)、(C)、(D)、
(E)、及び(F)を参照して、本発明の一実施例に係
るクロック切替方式が、マスタ伝送装置10及び第1乃
至第5のスレーブ伝送装置11、12、13、14、及
び15を外回りの伝送路16と内回りの伝送路17によ
りリング状に接続した同期ネットワークに適用された場
合について説明する。ここで、外回りの伝送路16に
は、反時計方向にデータが伝送され、他方、内回りの伝
送路17には、時計方向にデータが伝送されるものとす
る。
FIG. 1A, FIG. 1B, FIG. 1C, FIG.
Referring to (E) and (F), the clock switching method according to the embodiment of the present invention is based on the master transmission device 10 and the first to fifth slave transmission devices 11, 12, 13, 14, and 15. Is applied to a synchronous network connected in a ring by an outer transmission line 16 and an inner transmission line 17. Here, it is assumed that data is transmitted in the counterclockwise direction on the outer transmission line 16, while data is transmitted in the clockwise direction on the inner transmission line 17.

【0011】また、マスタ伝送装置10には、マスタク
ロックを発生するマスタクロック発生器20が設けられ
ており、このマスタクロックはマスタ伝送装置10から
外回り及び内回りの伝送路16及び17上に送出されて
いる。各スレーブ伝送装置11乃至15では、通常状態
において、外回りの伝送路16からマスタクロックを抽
出して、内部クロックパルスを発生しているものとす
る。このように、通常状態において、各スレーブ伝送装
置11乃至15はマスタクロックに同期した内部クロッ
クパルスにしたがって動作しており、データを内回り或
いは外回りの伝送路16、17を介して、時計方向或い
は反時計方向に、マスタクロックにしたがって伝送され
ているものとする。したがって、通常状態では、図
(A)に示すように、全ての伝送装置10乃至15は反
時計回りの1つのマスタクロックに同期して動作してい
る。また、図1(A)には、図示されていないが、各ス
レーブ伝送装置11乃至15は、内部クロックを発生す
る内部クロック発生器を備えている。
The master transmission device 10 is provided with a master clock generator 20 for generating a master clock, and the master clock is transmitted from the master transmission device 10 to transmission lines 16 and 17 which are inward and outward. ing. In each of the slave transmission devices 11 to 15, in the normal state, it is assumed that the master clock is extracted from the outer transmission line 16 and an internal clock pulse is generated. As described above, in the normal state, each of the slave transmission devices 11 to 15 operates in accordance with the internal clock pulse synchronized with the master clock, and transmits data clockwise or counterclockwise through the inward or outward transmission lines 16 and 17. It is assumed that data is transmitted clockwise according to the master clock. Therefore, in the normal state, all the transmission devices 10 to 15 operate in synchronization with one counterclockwise master clock as shown in FIG. Although not shown in FIG. 1A, each of the slave transmission devices 11 to 15 includes an internal clock generator that generates an internal clock.

【0012】ここで、図1(B)に示すように、第5の
スレーブ伝送装置15と第4のスレーブ伝送装置14と
の間のXの地点で、伝送路障害が起こったものとする。
この場合、第4のスレーブ伝送装置14では、マスタク
ロックの抽出ができなくなり、このマスタクロックの中
断を監視することによって伝送路障害の発生を検出す
る。ここで、第4のスレーブ伝送装置14は障害検出元
装置と呼ぶ。
Here, as shown in FIG. 1B, it is assumed that a transmission path failure has occurred at the point X between the fifth slave transmission device 15 and the fourth slave transmission device 14.
In this case, the fourth slave transmission device 14 cannot extract the master clock, and detects the occurrence of the transmission line failure by monitoring the interruption of the master clock. Here, the fourth slave transmission device 14 is referred to as a failure detection source device.

【0013】障害の発生を検出すると、第4のスレーブ
伝送装置14は内部クロック発生器に切り替え、この内
部クロックによりデータ信号を送出する。データ信号に
は、オーバーヘッドが含まれており、第4のスレーブ伝
送装置14はこのオーバーヘッドに伝送路障害の発生を
あらわす障害発生信号FDを外回りの伝送路16を介し
て、反時計方向に第3のスレーブ伝送装置13に送出す
る。第3乃至第1のスレーブ伝送装置13乃至11で
は、次々に障害発生信号FDを伝達していき、障害発生
信号FDは最終的にマスタ伝送装置10に与えられる。
When the occurrence of a failure is detected, the fourth slave transmission device 14 switches to an internal clock generator and sends out a data signal using this internal clock. The data signal includes an overhead, and the fourth slave transmission device 14 transmits a failure occurrence signal FD indicating the occurrence of a transmission line failure to the overhead via the outer transmission line 16 in the third direction in the counterclockwise direction. To the slave transmission device 13. The third to first slave transmission devices 13 to 11 sequentially transmit the fault occurrence signal FD, and the fault occurrence signal FD is finally given to the master transmission device 10.

【0014】マスタ伝送装置10は、図1(C)に示す
ように、伝送路障害の発生をあらわす障害発生信号FD
を受け取ると、時計回りの方向にクロックの切替要求信
号SWをオーバーヘッドを使用して、第1のスレーブ伝
送装置11に送信する。第1のスレーブ伝送装置11で
は切替要求信号SWを受信して、クロック抽出元を切り
替える。この結果、第1のスレーブ伝送装置11は内回
りの伝送路17からクロックを抽出することになる。
As shown in FIG. 1C, the master transmission device 10 generates a failure occurrence signal FD indicating the occurrence of a transmission line failure.
Is received, the clock switching request signal SW is transmitted to the first slave transmission device 11 in the clockwise direction using the overhead. The first slave transmission device 11 receives the switching request signal SW and switches the clock extraction source. As a result, the first slave transmission device 11 extracts the clock from the inner transmission line 17.

【0015】クロック抽出元の切り替えを行った第1の
スレーブ伝送装置11では、図1(D)に示すように、
第2のスレーブ伝送装置12に向かって切替要求信号S
Wをオーバーヘッドを使用して転送し、装置12では、
切替要求信号SWを受信して、クロック抽出元を切り替
え、切替要求信号SWを第3のスレーブ伝送装置13に
送出する。結果として、第2のスレーブ伝送装置12
は、内回りの伝送路からクロックを抽出するように切り
替えられる。
In the first slave transmission device 11 that has switched the clock extraction source, as shown in FIG.
Switching request signal S toward second slave transmission device 12
W is transferred using overhead, and device 12
The switching request signal SW is received, the clock extraction source is switched, and the switching request signal SW is transmitted to the third slave transmission device 13. As a result, the second slave transmission device 12
Is switched so as to extract the clock from the inner transmission line.

【0016】第3のスレーブ伝送装置13でも、図1
(E)に示すように、切り替え要求信号SWを受信した
後、クロック抽出元を切り替え、第4のスレーブ伝送装
置14、即ち、障害検出元装置に対して、切り替え要求
信号SWを送出する。
In the third slave transmission device 13, FIG.
As shown in (E), after receiving the switching request signal SW, the clock extraction source is switched, and the switching request signal SW is transmitted to the fourth slave transmission device 14, that is, the failure detection source device.

【0017】図1(F)に示すように、障害検出元装置
14が切り替え要求を受信すると、クロックを内部クロ
ックから時計回りの伝送路データからの抽出したクロッ
クに切り替え、切り替え完了を示す切替完了信号SCを
オーバーヘッドを使用して、第3乃至第1のスレーブ伝
送装置13乃至11を介して、マスタ伝送装置10に向
かって反時計方向に送出する。
As shown in FIG. 1F, when the failure detection source device 14 receives the switching request, the clock is switched from the internal clock to the clock extracted from the clockwise transmission line data, and the switching completion indicating the completion of the switching is performed. The signal SC is transmitted counterclockwise to the master transmission device 10 via the third to first slave transmission devices 13 to 11 using the overhead.

【0018】図2(A)、(B)、(C)、及び(D)
を参照して、Xの地点での障害が復旧した場合のクロッ
クの切り戻しの手順を説明する。障害が復旧した場合、
図2(A)に示すように、第4のスレーブ伝送装置14
はクロック抽出元を反時計回りの伝送路データに切り戻
すとともに、第3のスレーブ伝送装置13に対し切り戻
し要求信号RRをオーバーヘッドを使用して送出する。
FIGS. 2A, 2B, 2C and 2D
The procedure for switching back the clock when the failure at the point X is recovered will be described with reference to FIG. If the failure recovers,
As shown in FIG. 2A, the fourth slave transmission device 14
Returns the clock extraction source to the counterclockwise transmission line data, and sends a return request signal RR to the third slave transmission device 13 using overhead.

【0019】次に、図2(B)に示すように、第3のス
レーブ伝送装置13でも切り戻し要求を受信した後、ク
ロック抽出方向を内回りの伝送路17から外回りの伝送
路16に切り替え、第2のスレーブ伝送装置12に対し
て切り戻し要求信号RRを送出する。以下、同様にし
て、第2及び第1のスレーブ伝送装置12及び11はク
ロックの抽出方向を外回りの伝送路16に順次切り戻し
てゆく(図2(C)及び(D))。
Next, as shown in FIG. 2B, after the third slave transmission device 13 also receives the switchback request, the clock extraction direction is switched from the inner transmission line 17 to the outer transmission line 16, A switchback request signal RR is sent to the second slave transmission device 12. Hereinafter, similarly, the second and first slave transmission devices 12 and 11 sequentially switch the clock extraction direction back to the outer transmission line 16 (FIGS. 2C and 2D).

【0020】マスタ伝送装置10まで切り戻し要求RR
が伝達された段階で、リング構成された同期網全体が障
害が起こる前の状態で網同期がとられるようになる。
Request RR to switch back to master transmission device 10
Is transmitted, network synchronization is established in a state before the failure occurs in the entire ring-structured synchronous network.

【0021】図3を参照して、上記した動作を行うスレ
ーブ伝送装置の構成を説明する。第1乃至第4のスレー
ブ伝送装置11乃至14は同様な構成を有しているか
ら、図3では、スレーブ伝送装置を1nで示している。
図示されたスレーブ伝送装置1n(nは正整数)は外回
り及び内回りの伝送路16及び17に接続され、これら
伝送路16及び17を介して、反時計方向及び時計方向
に、それぞれデータ信号を送出することができる。
Referring to FIG. 3, the configuration of the slave transmission device performing the above operation will be described. Since the first to fourth slave transmission devices 11 to 14 have the same configuration, in FIG. 3, the slave transmission device is indicated by 1n.
The illustrated slave transmission device 1n (n is a positive integer) is connected to outer and inner transmission lines 16 and 17, and sends data signals in the counterclockwise and clockwise directions via these transmission lines 16 and 17, respectively. can do.

【0022】図示されたスレーブ伝送装置1nは、第1
の入力断検出回路31、第1のオーバーヘッド終端部3
2、及び第1のオーバーヘッド挿入部33を備え、これ
らはいずれも、外回り伝送路16に接続されている。第
1の入力断検出回路31は上流の伝送装置から送られて
くるクロックの中断を検出し、中断検出を示す中断検出
信号を生成する。一方、第1のオーバーヘッド終端部3
2は外回り伝送路16からオーバーヘッドを抽出し、オ
ーバーヘッド信号を生成する。また、第1のオーバーヘ
ッド挿入部33は外回り伝送路16のデータ信号に対し
て、オーバーヘッドを挿入し、下流の伝送装置に反時計
回りに送出する。
The illustrated slave transmission device 1n has a first
Input disconnection detection circuit 31, first overhead termination section 3
2 and a first overhead insertion unit 33, all of which are connected to the external transmission line 16. The first input disconnection detection circuit 31 detects the interruption of the clock transmitted from the upstream transmission device, and generates an interruption detection signal indicating the interruption detection. On the other hand, the first overhead termination unit 3
2 extracts overhead from the external transmission path 16 and generates an overhead signal. The first overhead insertion unit 33 inserts an overhead into the data signal on the external transmission line 16 and sends the data signal to a downstream transmission device in a counterclockwise direction.

【0023】更に、スレーブ伝送装置1nは、内回り伝
送路17に接続された第2の入力断検出回路36、第2
のオーバーヘッド終端部37、第2のオーバーヘッド挿
入部38とを備え、これらはそれぞれ第1の入力断検出
回路31、第1のオーバーヘッド終端部32、及び第1
のオーバーヘッド挿入部33と同様な動作を行う。
Further, the slave transmission device 1n includes a second input disconnection detection circuit 36 connected to the
, An overhead termination unit 37, a second overhead insertion unit 38, which are respectively a first input disconnection detection circuit 31, a first overhead termination unit 32, and a first overhead termination unit 32.
The same operation as the overhead insertion unit 33 is performed.

【0024】中断検出信号及びオーバーヘッド信号は第
1及び第2の入力断検出回路31、36、第1及び第2
のオーバーヘッド終端部32、37からオーバーヘッド
解析制御部40に送出される。オーバーヘッド解析制御
部40は中断検出信号及びオーバーヘッド信号を解析
し、破線で示すように、制御信号を生成する。
The interruption detection signal and the overhead signal are supplied to the first and second input disconnection detection circuits 31, 36, the first and second input disconnection detection circuits.
Are sent to the overhead analysis control unit 40 from the overhead termination units 32 and 37. The overhead analysis control unit 40 analyzes the interruption detection signal and the overhead signal, and generates a control signal as indicated by a broken line.

【0025】図3において、スレーブ伝送装置1nは、
内部クロック発生器41、クロック抽出回路42、内部
クロック発生器41及びクロック抽出回路42の双方に
接続された第1のセレクタ46、外回り及び内回り伝送
路16、17に接続された第2のセレクタ47とを有し
ている。このうち、第1及び第2のセレクタ46及び4
7は第1及び第2のオーバーヘッド挿入部33及び38
と共に、オーバーヘッド解析制御部40によって制御さ
れる。
In FIG. 3, the slave transmission device 1n includes:
An internal clock generator 41, a clock extraction circuit 42, a first selector 46 connected to both the internal clock generator 41 and the clock extraction circuit 42, and a second selector 47 connected to the outer and inner transmission lines 16, 17. And Of these, the first and second selectors 46 and 4
7 is the first and second overhead insertion units 33 and 38
At the same time, it is controlled by the overhead analysis control unit 40.

【0026】図4を参照すると、マスタ伝送装置10は
外回り伝送路16及び内回り伝送路17からのデータ信
号を受け、且つ、内回り伝送路17及び外回り伝送路1
6にデータ信号を送出するように、構成されている。図
示されたマスタ伝送装置10は外回り伝送路16に接続
された第1のマスタオーバーヘッド終端部51、内回り
伝送路17に接続された第1のマスタオーバーヘッド挿
入部52、内回り伝送路17に接続された第2のマスタ
オーバーヘッド終端部53、外回り伝送路16に接続さ
れた第2のマスタオーバーヘッド挿入部54とを備えて
いる。マスタオーバーヘッド解析制御部55は第1及び
第2のマスタオーバーヘッド終端部51及び52によっ
て検出されたオーバーヘッド信号を解析し、その結果に
したがって、第1及び第2のマスタオーバーヘッド挿入
部52及び54にマスタ制御信号を送出する。
Referring to FIG. 4, master transmission device 10 receives data signals from outer transmission line 16 and inner transmission line 17 and receives data signals from inner transmission line 17 and outer transmission line 1.
6 to send a data signal. The illustrated master transmission device 10 is connected to a first master overhead terminator 51 connected to the outer transmission line 16, a first master overhead insertion unit 52 connected to the inner transmission line 17, and connected to the inner transmission line 17. A second master overhead terminating unit 53 and a second master overhead inserting unit 54 connected to the external transmission line 16 are provided. The master overhead analysis control unit 55 analyzes the overhead signals detected by the first and second master overhead terminating units 51 and 52, and transmits the master signals to the first and second master overhead inserting units 52 and 54 according to the analysis result. Send a control signal.

【0027】また、マスタクロック発生器28からの原
クロックCLはマスタ入力断検出回路57に供給される
と共に、クロック受信部58に与えられる。マスタ入力
断検出回路57は原クロックを監視し、原クロックの断
が検出されると、入力断検出信号を発生する。他方、ク
ロック受信部58は原クロックCLから中間クロックC
Lmを生成する。クロック受信部58からの中間クロッ
クCLmはマスタクロック発生回路61からの内部クロ
ックCLiと共に、セレクタ62に与えられている。セ
レクタ62は選択されたクロックをマスタクロックとし
て外回り伝送路16及び内回り伝送路17に送出する一
方、装置内クロックとして、マスタ伝送装置10内部に
送出する。
The original clock CL from the master clock generator 28 is supplied to a master input disconnection detecting circuit 57 and also to a clock receiving unit 58. The master input disconnection detection circuit 57 monitors the original clock, and generates an input disconnection detection signal when the disconnection of the original clock is detected. On the other hand, the clock receiving unit 58 converts the original clock CL into the intermediate clock C
Generate Lm. The intermediate clock CLm from the clock receiving unit 58 is provided to the selector 62 together with the internal clock CLi from the master clock generating circuit 61. The selector 62 sends the selected clock as a master clock to the outer transmission line 16 and the inner transmission line 17, and sends the selected clock to the inside of the master transmission device 10 as an internal clock.

【0028】この構成では、通常の状態では、クロック
受信部58からの中間クロックCLmがセレクタ62に
よって選択され、マスタクロックとして外回り及び内回
り伝送路16、17に送出される一方、原クロックCL
の断が検出されると、内部クロックCLiがセレクタ6
2で選択されて、マスタクロックとして出力される。図
示されたマスタオーバーヘッド解析制御部55は第1の
マスタオーバーヘッド挿入部51を制御し、切替要求信
号SWをオーバーヘッドに挿入して、当該切替要求信号
SWを内回り伝送路17に送出する機能を有している。
In this configuration, in a normal state, the intermediate clock CLm from the clock receiving unit 58 is selected by the selector 62 and sent to the outer and inner transmission lines 16 and 17 as a master clock, while the original clock CLm is output.
Is detected, the internal clock CLi is switched to the selector 6
2 and output as a master clock. The illustrated master overhead analysis control unit 55 has a function of controlling the first master overhead insertion unit 51, inserting the switching request signal SW into the overhead, and transmitting the switching request signal SW to the inward transmission path 17. ing.

【0029】図5(A)、(B)を図3及び図4と共に
参照して、スレーブ及びマスタ伝送装置1n及び10の
動作を説明する。図3に示されたスレーブ伝送装置1n
は、障害検出元装置として動作を行う場合と、障害検出
信号FD等を転送するための中間伝送装置として動作す
る場合とがあり、この関係で、図5(A)及び(B)で
は、障害検出元装置、中間伝送装置、及びマスタ伝送装
置の動作について説明する。
The operation of the slave and master transmission devices 1n and 10 will be described with reference to FIGS. Slave transmission device 1n shown in FIG.
5A and 5B operate as an intermediate transmission device for transferring the failure detection signal FD and the like. In this relation, in FIG. 5A and FIG. The operations of the detection source device, the intermediate transmission device, and the master transmission device will be described.

【0030】通常の動作状態において、障害検出元装置
は外回り伝送路16上のマスタクロックを第1の入力断
検出回路31により監視している。この状態では、第2
のセレクタ47は外回り伝送路16上のデータ信号Oを
選択し、且つ、第1のセレクタ46はクロック抽出回路
42の出力Nを選択している。結果として、障害検出元
装置は外回り伝送路16上のマスタクロックを抽出して
動作を行っている。障害検出元装置において、外回り伝
送路16上のマスタクロックの断が検出されると、オー
バーヘッド解析制御部40は第1のセレクタ46に制御
信号を送出し、内部クロック発生回路41の出力Eを選
択するように、第1のセレクタ46を切り替える。この
ため、外回り伝送路16の下流側には、内部クロック発
生回路41の出力Eがクロックとして伝送されることに
なる。この時、オーバーヘッド解析制御部40は第1の
オーバーヘッド挿入部33に制御信号を送り、オーバー
ヘッドに障害検出信号FDを挿入する。
In a normal operation state, the failure detection source device monitors the master clock on the external transmission line 16 by the first input disconnection detection circuit 31. In this state, the second
Selector 47 selects the data signal O on the external transmission path 16, and the first selector 46 selects the output N of the clock extraction circuit 42. As a result, the failure detection source device operates by extracting the master clock on the external transmission line 16. When the failure detection source device detects the disconnection of the master clock on the external transmission line 16, the overhead analysis control unit 40 sends a control signal to the first selector 46 and selects the output E of the internal clock generation circuit 41. The first selector 46 is switched so as to perform the operation. For this reason, the output E of the internal clock generation circuit 41 is transmitted as a clock to the downstream side of the external transmission line 16. At this time, the overhead analysis control unit 40 sends a control signal to the first overhead insertion unit 33, and inserts the fault detection signal FD into the overhead.

【0031】この障害検出信号FDは外回り伝送路16
を介して中間伝送装置に送られ、中間伝送装置は障害検
出信号FDをマスタ伝送装置10に転送する。
The failure detection signal FD is transmitted to the external transmission path 16
To the intermediate transmission device, and the intermediate transmission device transfers the failure detection signal FD to the master transmission device 10.

【0032】マスタ伝送装置10では、第1のマスタオ
ーバーヘッド終端部51及びマスタオーバーヘッド解析
制御部55により、外回り伝送路16を介して送られて
くる障害検出信号FDを受信、検出すると、第1のマス
タオーバーヘッド挿入部52を制御して、切替要求信号
SWをオーバーヘッドに挿入する。この切替要求信号S
Wは内回り伝送路17を介して中間伝送装置へ送出され
る。
In the master transmission device 10, when the first master overhead termination unit 51 and the master overhead analysis control unit 55 receive and detect the failure detection signal FD sent via the external transmission line 16, the first By controlling the master overhead insertion unit 52, the switching request signal SW is inserted into the overhead. This switching request signal S
W is transmitted to the intermediate transmission device via the inward transmission line 17.

【0033】中間伝送装置は、切替要求信号SWを第2
のオーバーヘッド終端部27及びオーバーヘッド解析制
御部40(図3)により検出すると、第2のセレクタ4
7を内回り伝送路17側に切り替え、内回り伝送路17
からの信号Iを選択する状態になる。その結果として、
クロック抽出回路42は内回り伝送路17からクロック
を抽出し、抽出されたクロックを第1のセレクタ46を
介して装置内クロックとして内部に送出されると共に、
内回り伝送路17上にも送出する。このとき、第2のオ
ーバーヘッド挿入部38はオーバーヘッド解析制御部4
0の制御のもとに、切替要求信号SWをオーバヘッドに
挿入して、障害検出元装置に転送する。
The intermediate transmission device transmits the switching request signal SW to the second
Of the second selector 4 when it is detected by the overhead termination unit 27 and the overhead analysis control unit 40 (FIG. 3).
7 is switched to the inward transmission line 17 side.
To select the signal I. As a result,
The clock extraction circuit 42 extracts a clock from the inward transmission line 17 and sends the extracted clock to the inside as a device clock via the first selector 46.
It is also sent out on the inward transmission path 17. At this time, the second overhead insertion unit 38 controls the overhead analysis control unit 4
Under the control of 0, the switching request signal SW is inserted into the overhead and transferred to the failure detection source device.

【0034】障害検出元装置において、第2のオーバー
ヘッド終端部37及びオーバーヘッド解析制御部40に
より、内回り伝送路17からの切替要求信号SWが検出
されると、第2のセレクタ47を内回り伝送路17から
の信号I側に切り替えると共に、第1のセレクタ46を
クロック抽出回路42の出力N側に切り替える。続い
て、第1のオーバーヘッド挿入部31がオーバーヘッド
解析制御部40の制御のもとに、切替完了信号SCを外
回り伝送路16上に伝送する。切替完了信号SCは外回
り伝送路16を介して中間伝送装置に送られ、この中間
伝送装置からマスタ伝送装置に転送される。
In the failure detection source device, when the second overhead terminating unit 37 and the overhead analysis control unit 40 detect a switching request signal SW from the inward transmission line 17, the second selector 47 is switched to the inward transmission line 17. , And the first selector 46 is switched to the output N side of the clock extraction circuit 42. Subsequently, the first overhead insertion unit 31 transmits the switching completion signal SC to the external transmission line 16 under the control of the overhead analysis control unit 40. The switching completion signal SC is sent to the intermediate transmission device via the external transmission line 16, and is transferred from the intermediate transmission device to the master transmission device.

【0035】図5(B)を参照すると、障害検出元装置
では、第1の入力断検出回路31及びオーバーヘッド解
析制御部40により、マスタ伝送装置からのマスタクロ
ックの受信を検出することによって、障害の復旧が検出
される。障害復旧の検出により、第2のセレクタ47は
外回り伝送路16側の信号Oを選択するように切り替え
られる。次に、第1のオーバーヘッド挿入部33から、
外回り伝送路16上に切り戻し要求信号RRが送出さ
れ、中間伝送装置に送られる。
Referring to FIG. 5B, in the failure detection source device, the first input disconnection detection circuit 31 and the overhead analysis control unit 40 detect the reception of the master clock from the master transmission device, thereby detecting the failure. Recovery is detected. Upon detection of the failure recovery, the second selector 47 is switched so as to select the signal O on the external transmission line 16 side. Next, from the first overhead insertion unit 33,
The return request signal RR is sent out on the external transmission line 16 and sent to the intermediate transmission device.

【0036】中間伝送装置では、切り戻し要求信号RR
を受信すると、第2のセレクタ47が外回り伝送路16
側の信号Oを選択するように、切り替えられた後、切り
戻し要求信号RRをマスタ伝送装置10に転送する。
In the intermediate transmission device, the return request signal RR
Is received, the second selector 47 switches the external transmission line 16
After switching to select the signal O on the side, the switchback request signal RR is transferred to the master transmission device 10.

【0037】上記した障害検出元装置及び中間伝送装置
の動作は、図6に示されたフローチャートであらわすこ
とができ、他方、マスタ伝送装置の動作は、図7に示さ
れたフローチャートであらわすことができる。フローチ
ャートに示された動作は上述した動作と同様であるか
ら、ここでは、説明を省略する。
The operations of the above-mentioned fault detecting device and the intermediate transmission device can be represented by the flowchart shown in FIG. 6, while the operations of the master transmission device can be represented by the flowchart shown in FIG. it can. The operation shown in the flowchart is the same as the above-described operation, and the description is omitted here.

【0038】[0038]

【発明の効果】本発明による切り替え方式により、伝送
路障害時のクロックの切り替えは人手を必要とせず、自
動的にかつ高速で同期クロックの復旧が可能となり、障
害復旧時にも自動的にクロックを切り戻すことが可能と
なるという効果がある。
According to the switching method of the present invention, the switching of the clock in the event of a transmission line failure requires no manual operation, and the synchronization clock can be recovered automatically and at a high speed. There is an effect that it is possible to switch back.

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

【図1】本発明が提案するクロックの切り替え制御の手
順を説明するための図である。
FIG. 1 is a diagram for explaining a procedure of clock switching control proposed by the present invention.

【図2】本発明において、障害が復旧したときの切り戻
しの手順を説明するための図である。
FIG. 2 is a diagram for explaining a procedure of switching back when a failure is recovered in the present invention.

【図3】本発明の切替方式に使用されるスレーブ伝送装
置を説明するためのブロック図である。
FIG. 3 is a block diagram for explaining a slave transmission device used in the switching system of the present invention.

【図4】本発明の切替方式に使用されるマスタ伝送装置
を説明するためのブロック図である。
FIG. 4 is a block diagram for explaining a master transmission device used in the switching system of the present invention.

【図5】図3及び図4の伝送装置における動作を説明す
るためのタイムチャートである。
FIG. 5 is a time chart for explaining an operation in the transmission device of FIGS. 3 and 4;

【図6】図3のスレーブ伝送装置の動作手順を説明する
ためのフローチャートである。
FIG. 6 is a flowchart illustrating an operation procedure of the slave transmission device in FIG. 3;

【図7】図4のマスタ伝送装置の動作手順を説明するた
めのフローチャートである。
FIG. 7 is a flowchart illustrating an operation procedure of the master transmission device in FIG. 4;

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

10 マスタ伝送装置, 11、12、13、14、15 スレーブ伝送装置 16 外回り伝送路 17 内回り伝送路 20 マスタクロック発生器 21 伝送路障害時の内部クロック発振器 DESCRIPTION OF SYMBOLS 10 Master transmission apparatus, 11, 12, 13, 14, 15 Slave transmission apparatus 16 Outer transmission path 17 Inner transmission path 20 Master clock generator 21 Internal clock oscillator at the time of transmission path failure

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平5−252180(JP,A) 特開 平5−235974(JP,A) 特開 平5−63721(JP,A) 特開 平5−14383(JP,A) 特開 平4−292033(JP,A) 特開 平3−117245(JP,A) 特開 昭61−26346(JP,A) 特開 昭58−68335(JP,A) (58)調査した分野(Int.Cl.6,DB名) H04L 12/437 H04L 7/00 JICSTファイル(JOIS)────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-5-252180 (JP, A) JP-A-5-235974 (JP, A) JP-A-5-63721 (JP, A) 14383 (JP, A) JP-A-4-292203 (JP, A) JP-A-3-117245 (JP, A) JP-A-61-26346 (JP, A) JP-A-58-68335 (JP, A) (58) Fields surveyed (Int.Cl. 6 , DB name) H04L 12/437 H04L 7/00 JICST file (JOIS)

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 マスター伝送装置と複数のスレーブ伝送
装置とを2つの伝送路によりリング状に接続して構成さ
れ、複数のスレーブ伝送装置をマスター伝送装置からの
クロックに同期させて、時計方向及び反時計方向の双方
向に伝送可能なリング状同期ネットワークに使用される
クロック切替方式において、前記スレーブ伝送装置の一
つにおいて、マスター伝送装置から所定方向に送られて
くるクロックの停止が検出されると、当該一つのスレー
ブ伝送装置は、内部クロックに切替え、前記マスター伝
送装置に対して、前記所定方向に、前記内部クロックに
より、前記クロックの停止をあらわすデータ信号を伝達
する一方、前記マスター伝送装置では、伝送方向を所定
方向とは逆方向に切り替えることを指示する切替要求信
号を逆方向に、前記クロックの停止を検出した前記一つ
スレーブ伝送装置まで伝送し、これによって、前記マ
スター伝送装置側から前記一つのスレーブ伝送装置ま
で、順次、前記伝送路が切替えられて行くことを特徴と
するクロック切替方式。
A master transmission device and a plurality of slave transmission devices are connected in a ring shape by two transmission paths , and the plurality of slave transmission devices are synchronized with a clock from the master transmission device so as to be clockwise and In a clock switching method used in a ring-shaped synchronous network capable of transmitting data in a counterclockwise direction, in one of the slave transmission devices, a stop of a clock transmitted from a master transmission device in a predetermined direction is detected. When, the one slave transmission device switches the internal clock to the master transmission device, in the predetermined direction, said internal clock
Thus, while transmitting the data signal indicating the stop of the clock, the master transmission device detects the stop of the clock in the reverse direction with a switching request signal instructing to switch the transmission direction to the predetermined direction. Said one
And transmitted to the slave transmission apparatus, whereby said Ma
From the star transmission device side to the one slave transmission device
Wherein the transmission path is sequentially switched .
【請求項2】 請求項2記載のクロック切替方式におい
て、前記クロックの停止を検出した前記一つの伝送装置
は、前記切替要求信号を受信すると、前記内部クロック
を伝送路データからの抽出したクロックに切り替え、切
り替え完了を示す切替完了信号をマスター伝送装置に送
出することを特徴とするクロック切替方式。
2. The clock switching method according to claim 2, wherein the one transmission device that has detected the stop of the clock receives the switching request signal and converts the internal clock to a clock extracted from transmission line data. A clock switching method, wherein a switching completion signal indicating switching and switching completion is transmitted to a master transmission device.
【請求項3】 請求項1記載のクロック切替方式におい
て、前記クロックの停止が復旧すると、前記クロックの
停止したスレーブ伝送装置から前記マスタ伝送装置ま
で、順次、伝送路の切り戻しが行われることを特徴とす
るクロック切替方式。
3. The clock switching method according to claim 1, wherein when the stop of the clock is restored, the switching back of the transmission path is sequentially performed from the slave transmission device whose clock is stopped to the master transmission device. Characteristic clock switching method.
JP4166271A 1991-06-24 1992-06-24 Clock switching method Expired - Lifetime JP2918009B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4166271A JP2918009B2 (en) 1991-06-24 1992-06-24 Clock switching method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP3-151866 1991-06-24
JP15186691 1991-06-24
JP4166271A JP2918009B2 (en) 1991-06-24 1992-06-24 Clock switching method

Publications (2)

Publication Number Publication Date
JPH05199250A JPH05199250A (en) 1993-08-06
JP2918009B2 true JP2918009B2 (en) 1999-07-12

Family

ID=26480973

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4166271A Expired - Lifetime JP2918009B2 (en) 1991-06-24 1992-06-24 Clock switching method

Country Status (1)

Country Link
JP (1) JP2918009B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0726664A3 (en) * 1995-02-09 1999-07-28 WANDEL & GOLTERMANN TECHNOLOGIES INC. Multiport analyzing time stamp synchronizing and parallel communicating
JP2011238982A (en) * 2010-04-30 2011-11-24 Panasonic Corp Communication device, ring-shaped transmission path system, and transmission direction switching method
JP5465104B2 (en) * 2010-06-18 2014-04-09 富士通テレコムネットワークス株式会社 Communication system and clock synchronization method

Also Published As

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

Similar Documents

Publication Publication Date Title
JP2918009B2 (en) Clock switching method
JP2679506B2 (en) Clock switching method
JP2827735B2 (en) Clock switching method
JP3039069B2 (en) Ring synchronous network system
JP2655460B2 (en) Clock switching method
JP2906846B2 (en) Ring data communication system
US6516419B1 (en) Network synchronization method and non-break clock switching method in extended bus connection system
JPH10322379A (en) Clock path changeover method
JP2867865B2 (en) Protection line switching control method
JP3003430B2 (en) Clock Switching Method for Synchronous Network Ring Configuration Network System
JP2776302B2 (en) Auxiliary signal transmission system with redundant configuration
JP2864703B2 (en) Redundant optical transmission path
JP3013007B2 (en) Line switching method
JP3199031B2 (en) Network synchronization device and network synchronization communication system
JP3010804B2 (en) Dependent synchronization method
JPH058891B2 (en)
JP2871925B2 (en) Loop test transmission circuit
JP2967655B2 (en) Clock switching method
JPS6029082A (en) Digital loop transmission system
JPH04282931A (en) Clock selection distribution section
JPH0661989A (en) Synchronizing signal switching system
JPH03110941A (en) Digital radio transmission system
JP2003069520A (en) Sdh optical transmission system
JPH0440022A (en) Duplexing/synchronizing method for extraction/insertion part for auxiliary signal of intermediate repeater station
JPH05292106A (en) Clock changeover system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990324