JP2655460B2 - Clock switching method - Google Patents

Clock switching method

Info

Publication number
JP2655460B2
JP2655460B2 JP3185275A JP18527591A JP2655460B2 JP 2655460 B2 JP2655460 B2 JP 2655460B2 JP 3185275 A JP3185275 A JP 3185275A JP 18527591 A JP18527591 A JP 18527591A JP 2655460 B2 JP2655460 B2 JP 2655460B2
Authority
JP
Japan
Prior art keywords
clock
signal
transmission
switching
value
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
JP3185275A
Other languages
Japanese (ja)
Other versions
JPH0514383A (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 JP3185275A priority Critical patent/JP2655460B2/en
Publication of JPH0514383A publication Critical patent/JPH0514383A/en
Application granted granted Critical
Publication of JP2655460B2 publication Critical patent/JP2655460B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

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 in a communication system. Particularly, in a ring network in which a plurality of nodes are connected by transmission lines in opposite directions, and in a ring synchronization network in which all nodes operate in synchronization with a master node clock, the distribution of the clock and the clock at the time of transmission line failure Switching method.

【0002】[0002]

【従来の技術】従来のリング構成システムでのクロック
は、マスタとなる装置より伝送されるある一定方向の伝
送路データよりクロックを抽出して、その装置のクロッ
クとし、次の装置へデータを伝送する。そのため、伝送
路障害時には伝送路のクロックを抽出することができな
くなり、障害を検出した装置内で発生させたクロックに
より伝送路のデータを伝送するため網同期がとれなくな
る。そこで従来は通常の伝送路と反対回りの伝送路障害
用の伝送路により抽出したクロックを用いるように手動
で切り替えていた。
2. Description of the Related Art In a conventional ring configuration system, a clock is extracted from transmission line data in a certain direction transmitted from a master device and used as a clock of the device, and data is transmitted to the next device. I do. Therefore, at the time of transmission line failure, it is not possible to extract the clock of the transmission line, and network synchronization cannot be obtained because the data of the transmission line is transmitted by the clock generated in the device that has detected the failure. Therefore, in the related art, it has been manually switched to use the clock extracted by the transmission path for the transmission path failure in the opposite direction to the normal transmission path.

【0003】[0003]

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

【0004】本発明は、上述の欠点を解決するもので、
自動的に同期クロックの復旧を可能にするクロック切り
替え方式を提供することを目的とする。
The present invention solves the above-mentioned drawbacks,
It is an object of the present invention to provide a clock switching method capable of automatically recovering a synchronous clock.

【0005】[0005]

【課題を解決するための手段】本発明は、一つのマスタ
装置と複数の伝送装置とが反対方向に伝送する二つの伝
送路で接続されたリング網を形成し、上記伝送装置は、
それぞれ上記マスタ装置から上記伝送路のうち一つの伝
送路で伝送される伝送データからクロックを抽出して同
期を行う手段を備えたリング同期網のクロック切り替え
方式において、上記伝送装置伝送路障害を検出した
ときは、自装置のクロック発振器のクロックに切り替え
るとともに、オーバヘッド信号でクロック状態信号を数
値として隣接する伝送装置に伝送する手段と、隣接する
伝送装置から上記オーバヘッド信 号の上記クロック状態
信号を受信したときは、そのクロック状態信号の数値を
順次加算して上記マスタ装置に上記オーバヘッド信号を
伝送する手段とを備え、上記マスタ装置は、反対方向の
伝送路により、上記オーバーヘッド信号のクロック状態
信号の数値と同じ数値を含み反対方向の伝送データから
抽出したクロックへの切り替えを要求するクロック切り
替え信号を伝送する手段を備え、上記伝送装置は、上記
マスタ装置から伝送された上記クロック切り替え信号
数値と上記オーバヘッド信号のクロック状態信号の数値
とが一致するとクロックを切り替えて上記クロック状態
信号の数値の加算を停止する手段を含むことを特徴とす
る。
SUMMARY OF THE INVENTION The present invention forms a ring network in which one master device and a plurality of transmission devices are connected by two transmission lines for transmitting signals in opposite directions .
Each transmission from the master device to one of the transmission paths
The clock is extracted from the transmission data transmitted on the
In the clock switching method of ring synchronous network having means for performing period, the transmission apparatus detects a transmission line fault
When switching to the clock of the own device's clock oscillator
And count the number of clock status signals with the overhead signal.
Means for transmitting a value to an adjacent transmission device;
The clock state of the overhead signal from the transmission device
When a signal is received, the value of the clock status signal is
Sequentially add the overhead signal to the master device.
And means for transmitting, the master device in the opposite direction
Depending on the transmission path, the clock status of the overhead signal
From the data transmitted in the opposite direction, including the same value as the signal
Means for transmitting a clock switching signal requesting switching to the extracted clock, wherein the transmission device transmits the clock switching signal transmitted from the master device .
Numerical value and numerical value of clock status signal of above overhead signal
When the value matches, the clock is switched and the clock status is changed.
It is characterized by including means for stopping the addition of the numerical value of the signal .

【0006】なお、上記伝送装置は、隣接する伝送装置
から受信したクロック状態信号に1を加算して次に隣接
する伝送装置に伝送する手段を備えることができる。
[0006] The transmission apparatus can include means for adding 1 to the clock state signal received from the adjacent transmission apparatus and transmitting the clock state signal to the next adjacent transmission apparatus.

【0007】[0007]

【作用】本発明のクロック切り替え方式では、伝送路障
害時のクロック切り替え情報として伝送路のオーバーヘ
ッド信号を用い、伝送路障害時には伝送装置内にあるク
ロック発振器に切り替え、障害元からオーバーヘッド信
号で“1”を送出する。次からの装置では、その数に+
1していく。障害を検出した伝送装置からN個の伝送装
置を経てマスタ装置へ“N”という数値が伝達される。
マスタ装置は、切り替え信号として送られてきた値
“N”を反対向きのデータで送出する。マスタ装置から
N番目の装置は“N”の値を受け取り、値が一致するた
め、反対側の伝送路より抽出したクロックに切り替え、
オーバーヘッド信号に+1することをやめる。つまり、
N番目の装置は、(N−1)番目の装置から送られてき
た“N−1”の値をマスタ装置に送り、マスタ装置も
“N−1”を切り替え信号として送出し、(N−1)番
目の装置に対しクロック切り替えを要求する。これを障
害を検出した装置まで繰り返し、最終的に障害を検出し
た装置からあと、すなわち下流の装置は“0”を送出
し、全ての装置が切り替わるとマスタ装置に到達するオ
ーバーヘッド信号は“0”になり、全ての切り替えが終
了したことがわかる。
According to the clock switching method of the present invention, an overhead signal of a transmission line is used as clock switching information at the time of a transmission line failure. Is sent. In the following equipment, the number will be +
One. A numerical value "N" is transmitted from the transmission device that has detected the failure to the master device via the N transmission devices.
The master device transmits the value “N” transmitted as the switching signal as data in the opposite direction. The Nth device receives the value of “N” from the master device, and switches to the clock extracted from the opposite transmission line because the values match,
Stop adding +1 to the overhead signal. That is,
The Nth device sends the value of "N-1" sent from the (N-1) th device to the master device, and the master device also sends "N-1" as a switching signal, and 1) Request clock switching for the device. This is repeated up to the device that has detected the failure, and after the device that finally detected the failure, that is, the downstream device sends “0”, and when all the devices are switched, the overhead signal reaching the master device is “0”. , Indicating that all switching has been completed.

【0008】逆に障害が復旧した場合、障害を検出した
装置で通常信号である値を受け取り、元の通常クロック
に切り戻し、次の装置へ通常信号を送り、これをN番目
の装置まで繰り返し、最終的に全ての装置のクロックが
通常状態に切り戻る。
Conversely, when the fault is recovered, the device which detected the fault receives the value which is a normal signal, switches back to the original normal clock, sends the normal signal to the next device, and repeats this until the Nth device. Finally, the clocks of all the devices return to the normal state.

【0009】[0009]

【実施例】以下図面を参照して本発明の実施例を説明す
る。
Embodiments of the present invention will be described below with reference to the drawings.

【0010】図1は本発明一実施例のリング同期網で伝
送路に障害が発生したときのクロック切り替え手順を示
すものである。
FIG. 1 shows a clock switching procedure when a failure occurs in a transmission line in a ring synchronous network according to an embodiment of the present invention.

【0011】まず、本実施例でのリング同期網の構成を
説明する。このリング同期網は、マスタ装置1と、スレ
ーブ伝送装置2〜6とがリング上に反対方向の二つの伝
送路によって接続された構成であり、マスタ装置1には
このリング同期網のマスタとなるクロック発振器7を備
えた構成である。
First, the configuration of the ring synchronous network in the present embodiment will be described. This ring synchronous network has a configuration in which a master device 1 and slave transmission devices 2 to 6 are connected on a ring by two transmission lines in opposite directions, and the master device 1 becomes a master of the ring synchronous network. The configuration includes a clock oscillator 7.

【0012】本実施例は、このようなリング同期網にお
いて、上記伝送装置2〜6のうち、伝送路障害を検出し
た装置3は、自装置の内部クロック発振器8にそのクロ
ックを切り替える手段と、オーバーヘッド信号にそのク
ロック状態信号を数値として次の伝送装置4に伝送する
手段とを備え、上記障害を検出した伝送装置の下流に属
する伝送装置4〜6は、上記クロック状態信号の数値
「1」に順次「1」を加算して上記マスタ装置1に上記
オーバーヘッド信号を伝送する手段を備え、上記マスタ
装置1は、上記オーバーヘッド信号のクロック状態信号
の数値に基づいて反対方向の伝送路により、反対方向の
伝送データから抽出したクロックへの切り替えを要求す
る切り替え信号を伝送する手段を備え、上記伝送装置3
〜6は、上記マスタ装置1から伝送された上記切り替え
信号により反対方向の伝送データから抽出したクロック
に切り替え、上記クロック状態信号の数値の加算を停止
する手段を含んでいる。
In the present embodiment, in such a ring synchronous network, among the transmission devices 2 to 6, the device 3 which has detected a transmission line failure switches its clock to its own internal clock oscillator 8, Means for transmitting the clock status signal as a numerical value to the overhead signal to the next transmission device 4, and the transmission devices 4 to 6 belonging to the downstream of the transmission device that has detected the failure detect the clock status signal with a numerical value “1”. Means for sequentially transmitting “1” to the master device 1 and transmitting the overhead signal to the master device 1. The master device 1 uses the transmission path in the opposite direction based on the numerical value of the clock signal of the overhead signal. Means for transmitting a switching signal requesting a switch to a clock extracted from transmission data in the direction,
6 includes means for switching to the clock extracted from the transmission data in the opposite direction by the switching signal transmitted from the master device 1 and stopping the addition of the numerical value of the clock state signal.

【0013】次に本実施例によるクロック切り替えの手
順を説明する。
Next, the procedure of clock switching according to this embodiment will be described.

【0014】図1(a)に示す状態は通常状態であり、
全ての装置は反時計回りの一つのマスタクロックに同期
して動作しており、クロック状態信号としてオーバーヘ
ッド信号にはFF(16進数)を送っている。図1
(b)のようにYの地点で伝送路障害が起こると、装置
3では、内部クロック発振器8に切り替え、クロックの
状態信号とし“01”を送出し、装置4〜6は、そのク
ロックの状態信号の値に1ずつ足していく。マスタ装置
1は、クロック状態信号として“04”を受け取り、
“04”を送出している装置、すなわち装置6に対して
クロック切り替え要求を行う(図1(b))。装置6で
はマスタ装置1からの切り替え要求を受信してクロック
をマスタ装置1からの時計回り方向の伝送路で伝送され
るマスタクロックに切り替えると同時に値に+1するこ
とをやめる。するとマスタ装置1はクロック状態信号と
して“03”を受信するので、クロック状態信号“0
3”を出している装置5に対してクロック切り替え要求
を行う(図1(c))。そして最終的に装置3〜6は、
クロック状態信号として“00”を送出するようにな
り、このリング同期網でマスタクロックに対して同期が
とれた状態となる(図1(f))。
The state shown in FIG. 1A is a normal state,
All devices operate in synchronization with one master clockwise counterclockwise, and send FF (hexadecimal) as an overhead signal as a clock status signal. FIG.
When a transmission path failure occurs at the point Y as shown in FIG. 3B, the device 3 switches to the internal clock oscillator 8 and sends out "01" as a clock status signal. Add one to the value of the signal. The master device 1 receives “04” as the clock state signal,
A clock switching request is made to the device sending “04”, that is, the device 6 (FIG. 1B). The device 6 receives the switching request from the master device 1 and switches the clock to the master clock transmitted from the master device 1 via the clockwise transmission path, and stops incrementing the value by one at the same time. Then, since master device 1 receives “03” as the clock status signal, master device 1 receives clock status signal “0”.
A clock switching request is issued to the device 5 issuing 3 "(FIG. 1 (c)). Finally, the devices 3 to 6
"00" is transmitted as a clock state signal, and the state is synchronized with the master clock in this ring synchronous network (FIG. 1 (f)).

【0015】次に障害が復旧した場合のクロックの切り
戻し手順を説明する。
Next, a description will be given of the procedure for switching back the clock when the fault is recovered.

【0016】図2は障害が復旧した場合のクロックの切
り戻し手順を示すものである。まず、図2(a)に示す
ように、障害が復旧した場合、装置3は装置2より通常
信号であるFFを受信し、クロックを切り戻すととも
に、次の装置に対してFFを送出し、次々と装置4、装
置5、装置6という順に切り戻していく。最終的には、
全ての装置がオーバーヘッド信号のクロック状態信号と
してFFを送出して通常状態に戻る(図2(d))。
FIG. 2 shows a procedure for switching back the clock when the fault is recovered. First, as shown in FIG. 2A, when the fault is recovered, the device 3 receives the FF, which is a normal signal, from the device 2, switches back the clock, and sends the FF to the next device. Switching back to the device 4, the device 5, and the device 6 one after another. Eventually,
All devices send FFs as the clock signal of the overhead signal and return to the normal state (FIG. 2 (d)).

【0017】[0017]

【発明の効果】以上説明したように、本発明は、リング
同期網において、伝送路障害時のクロック切り替えに人
手を必要とせずに、自動的に行うことが可能である。
As described above, the present invention can be automatically performed in a ring synchronous network without requiring any manual operation for clock switching at the time of transmission line failure.

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

【図1】(a)〜(f)は本発明一実施例のクロック切
り替え手順を説明する図。
FIGS. 1A to 1F are diagrams for explaining a clock switching procedure according to an embodiment of the present invention;

【図2】(a)〜(d)は障害が復旧したときのクロッ
クの切り戻し手順を説明する図。
FIGS. 2A to 2D are diagrams for explaining a clock switching procedure when a failure is recovered.

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

1 マスタ装置 2〜6 伝送装置 7 マスタとなるクロック発振器 8 伝送路障害発生時の内部クロック発振器 DESCRIPTION OF SYMBOLS 1 Master device 2-6 Transmission device 7 Clock oscillator used as master 8 Internal clock oscillator at the time of transmission line failure occurrence

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 一つのマスタ装置と複数の伝送装置とが
反対方向に伝送する二つの伝送路で接続されたリング網
を形成し、 上記伝送装置は、それぞれ上記マスタ装置から上記伝送
路のうち一つの伝送路で伝送される伝送データからクロ
ックを抽出して同期を行う手段を備えた リング同期網の
クロック切り替え方式において、 上記伝送装置伝送路障害を検出したときは、自装置
のクロック発振器のクロックに切り替えるとともに、オ
ーバヘッド信号でクロック状態信号を数値として隣接す
る伝送装置に伝送する手段と、隣接する伝送装置から上
記オーバヘッド信号の上記クロック状態信号を受信した
ときは、そのクロック状態信号の数値を順次加算して上
記マスタ装置に上記オーバヘッド信号を伝送する手段と
を備え、 上記マスタ装置は、反対方向の伝送路により、上記オー
バーヘッド信号のクロック状態信号の数値と同じ数値を
含み反対方向の伝送データから抽出したクロックへの切
り替えを要求するクロック切り替え信号を伝送する手段
を備え、 上記伝送装置は、上記マスタ装置から伝送された上記
ロック切り替え信号の数値と上記オーバヘッド信号のク
ロック状態信号の数値とが一致するとクロックを切り替
えて上記クロック状態信号の数値の加算を停止する手段
を含むことを特徴とするクロック切り替え方式。
A ring network in which one master device and a plurality of transmission devices are connected by two transmission lines for transmitting signals in opposite directions.
, And the transmission devices transmit the transmissions from the master device, respectively.
From transmission data transmitted on one of the
In the clock switching method of ring synchronous network having means for performing synchronization by extracting click, the transmission device, when detecting a transmission line failure, the self-device
Switch to the clock of the clock oscillator of
The clock status signal as a numerical value
Means for transmitting to a transmitting device, and
The above clock status signal of the overhead signal is received.
Time, add the value of the clock status signal
Means for transmitting the overhead signal to the master device, wherein the master device transmits the overhead signal through a transmission path in the opposite direction.
The same value as the clock status signal value of the bar head signal
Switching to clock extracted from transmitted data in the opposite direction
Means for transmitting a clock switching signal requesting switching, wherein the transmission device transmits the clock switching signal transmitted from the master device .
The lock switching signal value and the overhead signal
The clock is switched when the value of the lock status signal matches
Means to stop adding the value of the clock status signal
Clock switching method, which comprises a.
【請求項2】 上記伝送装置は、隣接する伝送装置から
受信したクロック状態信号に1を加算して次に隣接する
伝送装置に伝送する手段を備える請求項1記載のクロッ
ク切り替え方式。
2. The clock switching system according to claim 1, wherein said transmission device includes means for adding 1 to a clock status signal received from an adjacent transmission device and transmitting the signal to the next adjacent transmission device.
JP3185275A 1991-06-28 1991-06-28 Clock switching method Expired - Lifetime JP2655460B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3185275A JP2655460B2 (en) 1991-06-28 1991-06-28 Clock switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3185275A JP2655460B2 (en) 1991-06-28 1991-06-28 Clock switching method

Publications (2)

Publication Number Publication Date
JPH0514383A JPH0514383A (en) 1993-01-22
JP2655460B2 true JP2655460B2 (en) 1997-09-17

Family

ID=16167982

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3185275A Expired - Lifetime JP2655460B2 (en) 1991-06-28 1991-06-28 Clock switching method

Country Status (1)

Country Link
JP (1) JP2655460B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11234318A (en) * 1998-02-10 1999-08-27 Fujitsu Ltd Clock reproducing device
DE102004004843B4 (en) * 2004-01-30 2010-07-22 Siemens Ag Bus system for controlling a component of a printing press and corresponding method

Also Published As

Publication number Publication date
JPH0514383A (en) 1993-01-22

Similar Documents

Publication Publication Date Title
CN101164264B (en) Method and device for synchronising two bus systems, and arrangement consisting of two bus systems
JPH01154652A (en) Ring network connection management system
US5467351A (en) Extendible round robin local area hub network
JP2655460B2 (en) Clock switching method
JP5620876B2 (en) Network synchronizer shelf, network synchronizer
CA1270575A (en) I/o handler
JP2001358736A (en) Ring network system
JP2679506B2 (en) Clock switching method
JP3773959B2 (en) Frame synchronization
JP2918009B2 (en) Clock switching method
JPH01231450A (en) Synchronizing clock supply system for communication system
JPH08139713A (en) Data transmission and reception system
JP2583007B2 (en) Communication system and communication station of the system
US5003560A (en) Receiving counter phase synchronization circuit of the synchronous transmission system
JPH10322379A (en) Clock path changeover method
JP2967655B2 (en) Clock switching method
JPS5823790B2 (en) Synchronous cooperation method of duplex cyclic data transmission equipment
JP3199031B2 (en) Network synchronization device and network synchronization communication system
JP2715547B2 (en) Transmission equipment parent / child station replacement system
JPH0815275B2 (en) Data transmission system and data transmission method between a plurality of devices
JPS63290031A (en) Monitor system for light intermediate repeating device
JP3003430B2 (en) Clock Switching Method for Synchronous Network Ring Configuration Network System
JP3010804B2 (en) Dependent synchronization method
JPH05244143A (en) Clock switching system
JPH0548627A (en) Clock synchronization method for duplicate loop network