JP5465104B2 - Communication system and clock synchronization method - Google Patents

Communication system and clock synchronization method Download PDF

Info

Publication number
JP5465104B2
JP5465104B2 JP2010138890A JP2010138890A JP5465104B2 JP 5465104 B2 JP5465104 B2 JP 5465104B2 JP 2010138890 A JP2010138890 A JP 2010138890A JP 2010138890 A JP2010138890 A JP 2010138890A JP 5465104 B2 JP5465104 B2 JP 5465104B2
Authority
JP
Japan
Prior art keywords
clock
information
node
clock information
ring network
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 - Fee Related
Application number
JP2010138890A
Other languages
Japanese (ja)
Other versions
JP2012004925A (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.)
Fujitsu Telecom Networks Ltd
Original Assignee
Fujitsu Telecom Networks 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 Fujitsu Telecom Networks Ltd filed Critical Fujitsu Telecom Networks Ltd
Priority to JP2010138890A priority Critical patent/JP5465104B2/en
Publication of JP2012004925A publication Critical patent/JP2012004925A/en
Application granted granted Critical
Publication of JP5465104B2 publication Critical patent/JP5465104B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

この発明は、データ処理技術に関し、特に、リング網に設置された通信装置およびその通信装置により実行されるクロック同期方法に関する。   The present invention relates to a data processing technique, and more particularly to a communication device installed in a ring network and a clock synchronization method executed by the communication device.

通信網の高速化に伴い、通信網上に設置されたルータやスイッチ等、通信装置間における高品質のクロック同期が求められている。以下の特許文献1では、クロック供給装置からの中継数が小さくなるようにクロックソースを選択することで、クロックの供給経路に障害が発生しても、障害の影響を受ける通信装置の数を低減し、クロックソースの切替時間を短縮する技術を提案している。   As the communication network speeds up, high-quality clock synchronization is required between communication devices such as routers and switches installed on the communication network. In Patent Document 1 below, even if a failure occurs in the clock supply path, the number of communication devices affected by the failure is reduced by selecting a clock source so that the number of relays from the clock supply device is small. However, a technique for shortening the clock source switching time is proposed.

ITU−T G.8261/G.8262/G.8264は、従来のSONET/SDHにおけるクロック同期技術をイーサネット(登録商標)に適用し、イーサネット上でクロックパスを実現する方式を提案している。以下、このようなイーサネットを、Sync−E(Synchronous Ethernet、「Ethernet」は登録商標)とも呼ぶ。   ITU-T G. 8261 / G. 8262 / G. 8264 proposes a method for realizing a clock path on the Ethernet by applying the clock synchronization technology in the conventional SONET / SDH to the Ethernet (registered trademark). Hereinafter, such an Ethernet is also referred to as Sync-E (Synchronous Ethernet, “Ethernet” is a registered trademark).

Sync−Eには、クロック供給装置からマスタクロックを直接取得し、そのマスタクロックへ同期する(以下、「外部同期」とも呼ぶ。)通信装置が含まれる。また、その装置からのESMC(Ethernet Synchronization Messaging Channel)フレームにもとづく伝送路抽出によってマスタクロックへの同期(以下、「ライン同期」とも呼ぶ。)を行う通信装置が含まれる。そしてSync−E全体として、精度±4.6ppmの高品質のクロック同期が実現される。   Sync-E includes a communication device that directly acquires a master clock from a clock supply device and synchronizes with the master clock (hereinafter also referred to as “external synchronization”). Also included is a communication device that performs synchronization with a master clock (hereinafter also referred to as “line synchronization”) by extracting a transmission path based on an ESMC (Ethernet Synchronization Messaging Channel) frame from the device. As a whole, Sync-E achieves high-quality clock synchronization with an accuracy of ± 4.6 ppm.

特開2009−284405号公報JP 2009-284405 A

Sync−Eのリング網において、1つの供給経路から供給されるクロックに複数の通信装置が同期している場合にその供給経路に障害が発生すると、各通信装置は、他方の供給経路から供給されるクロックに同期するように、クロックソースの切替を順次行う必要がある。各通信装置は、クロックソースの切替を終了するまでは装置内部のクロックにより自走するため、その間のクロック品質が低下するという問題があった。   In the Sync-E ring network, when a plurality of communication devices are synchronized with a clock supplied from one supply route, when a failure occurs in the supply route, each communication device is supplied from the other supply route. It is necessary to sequentially switch the clock source so as to synchronize with the clock. Each communication device runs on its own clock until the switching of the clock source is completed, and there is a problem in that the clock quality during that time decreases.

本発明はこうした課題に鑑みてなされたものであり、その主たる目的は、リング網において障害発生時のクロックソースの切替に要する時間を短縮し、クロック品質の向上を実現する技術を提供することである。   The present invention has been made in view of these problems, and its main object is to provide a technique for reducing the time required for switching the clock source when a failure occurs in the ring network and improving the clock quality. is there.

上記課題を解決するために、本発明のある態様の通信装置は、リング網に設置された通信装置であって、マスタクロックの供給装置から供給された、リング網における第1方向の伝送路を介して伝送された第1クロック情報と、リング網における第2方向の伝送路を介して伝送された第2クロック情報とを受信するクロック受信部と、第1クロック情報と第2クロック情報の少なくとも一方を用いて、本装置の動作をマスタクロックに同期させる同期処理部と、リング網に設置された他の通信装置をマスタクロックに同期させるための情報を、第1方向の伝送路へ第1クロック情報として送出し、第2方向の伝送路へ第2クロック情報として送出するクロック送出部と、を備える。クロック送出部は、リング網における第1方向の伝送路で障害が検出された場合、第2クロック情報を用いてマスタクロックへの同期処理を実行させるための付加情報を第1クロック情報に対して設定するとともに、第2クロック情報に対しても設定する。   In order to solve the above-described problems, a communication device according to an aspect of the present invention is a communication device installed in a ring network, wherein a transmission path in a first direction in the ring network is supplied from a master clock supply device. A clock receiver for receiving the first clock information transmitted through the second network and the second clock information transmitted through the transmission path in the second direction in the ring network, and at least one of the first clock information and the second clock information. Using one of them, a synchronization processing unit for synchronizing the operation of the apparatus with the master clock, and information for synchronizing other communication apparatuses installed in the ring network with the master clock are transmitted to the transmission line in the first direction. A clock transmission unit that transmits the clock information as the second clock information to the transmission line in the second direction. When a failure is detected on the transmission line in the first direction in the ring network, the clock sending unit sends additional information for executing synchronization processing to the master clock to the first clock information using the second clock information. In addition to setting, the second clock information is also set.

本発明の別の態様もまた、通信装置である。この装置は、リング網に設置された通信装置であって、マスタクロックの供給装置から供給された、リング網における第1方向の伝送路を介して伝送された第1クロック情報と、リング網における第2方向の伝送路を介して伝送された第2クロック情報とを受信するクロック受信部と、第1クロック情報と第2クロック情報の少なくとも一方を用いて、本装置の動作をマスタクロックに同期させる同期処理部と、リング網に設置された他の通信装置をマスタクロックに同期させるための情報を、第1方向の伝送路へ第1クロック情報として送出し、第2方向の伝送路へ第2クロック情報として送出するクロック送出部と、を備える。第1クロック情報は、クロックの品質を示す情報を含むものであり、クロック送出部は、クロックの品質を示す情報に変化が生じた場合、第1クロック情報を、予め定められた送出間隔によらず、即時に送出する。   Another embodiment of the present invention is also a communication device. This device is a communication device installed in a ring network, which is supplied from a master clock supply device and transmitted through a first-direction transmission path in the ring network, and in the ring network The operation of this apparatus is synchronized with the master clock by using a clock receiving unit that receives the second clock information transmitted through the transmission path in the second direction, and at least one of the first clock information and the second clock information. Information to synchronize the master clock with the synchronization processing unit to be connected and the other communication device installed in the ring network is sent to the transmission line in the first direction as the first clock information, and is sent to the transmission line in the second direction. A clock transmission unit that transmits the information as two-clock information. The first clock information includes information indicating the quality of the clock, and the clock transmission unit changes the first clock information according to a predetermined transmission interval when there is a change in the information indicating the clock quality. Send immediately.

本発明のさらに別の態様は、クロック同期方法である。この方法は、リング網に設置された通信装置により実行される方法であって、マスタクロックの供給装置から供給された、リング網における第1方向の伝送路を介して伝送された第1クロック情報と、リング網における第2方向の伝送路を介して伝送された第2クロック情報とを受信するステップと、第1クロック情報と第2クロック情報の少なくとも一方を用いて、本装置の動作をマスタクロックに同期させるステップと、リング網に設置された他の通信装置をマスタクロックに同期させるための情報を、第1方向の伝送路へ第1クロック情報として送出し、第2方向の伝送路へ第2クロック情報として送出するステップと、を備える。送出するステップは、リング網における第1方向の伝送路で障害が検出された場合、第2クロック情報を用いてマスタクロックへの同期処理を実行させるための付加情報を第1クロック情報に対して設定するとともに、第2クロック情報に対しても設定する。   Yet another aspect of the present invention is a clock synchronization method. This method is a method executed by a communication device installed in the ring network, and the first clock information transmitted from the master clock supply device and transmitted through the transmission line in the first direction in the ring network. And the step of receiving the second clock information transmitted through the transmission path in the second direction in the ring network, and at least one of the first clock information and the second clock information. Synchronizing with the clock and sending information for synchronizing other communication devices installed in the ring network to the master clock as first clock information to the first direction transmission path and to the second direction transmission path And sending as second clock information. In the sending step, when a failure is detected in the transmission path in the first direction in the ring network, additional information for executing synchronization processing with the master clock using the second clock information is added to the first clock information. In addition to setting, the second clock information is also set.

なお、以上の構成要素の任意の組合せ、本発明の表現を装置、方法、システム、プログラム、プログラムを格納した記録媒体などの間で変換したものもまた、本発明の態様として有効である。   It should be noted that any combination of the above-described constituent elements and a representation of the present invention converted between an apparatus, a method, a system, a program, a recording medium storing the program, and the like are also effective as an aspect of the present invention.

本発明によれば、障害発生時のクロックソースの切替時間を短縮し、クロック品質の向上を実現できる。   According to the present invention, it is possible to shorten the clock source switching time when a failure occurs and to improve the clock quality.

実施の形態の通信システムの構成を示す図である。It is a figure which shows the structure of the communication system of embodiment. 外部同期ノードにおけるクロックソースの優先度設定を示す図である。It is a figure which shows the priority setting of the clock source in an external synchronization node. ライン同期ノードにおけるクロックソースの優先度設定を示す図である。It is a figure which shows the priority setting of the clock source in a line synchronous node. ESMCフレームのフレームフォーマットを示す図である。It is a figure which shows the frame format of an ESMC frame. SSMコードのデータフォーマットを示す図である。It is a figure which shows the data format of a SSM code. クロックソースを切り替える従来の仕組みを示す図である。It is a figure which shows the conventional mechanism which switches a clock source. クロックソースを切り替える従来の仕組みを示す図である。It is a figure which shows the conventional mechanism which switches a clock source. クロックパス付加情報の構成を示す図である。It is a figure which shows the structure of clock path additional information. 図1のノードの機能構成を示すブロック図である。It is a block diagram which shows the function structure of the node of FIG. 優先度情報の構成を示す図である。It is a figure which shows the structure of priority information. 第1クロック情報に設定されるクロックパス付加情報を示す図である。It is a figure which shows the clock path additional information set to 1st clock information. 第2クロック情報に設定されるクロックパス付加情報を示す図である。It is a figure which shows the clock path additional information set to 2nd clock information. 伝送路障害発生時のクロックパス付加情報を示す図である。It is a figure which shows the clock path additional information at the time of transmission line failure occurrence. 伝送路障害発生時のクロックパス付加情報を示す図である。It is a figure which shows the clock path additional information at the time of transmission line failure occurrence. 伝送路障害発生時のクロックパス付加情報を示す図である。It is a figure which shows the clock path additional information at the time of transmission line failure occurrence. 伝送路障害発生時のクロックパス付加情報を示す図である。It is a figure which shows the clock path additional information at the time of transmission line failure occurrence. 伝送路障害発生時のクロックパス付加情報を示す図である。It is a figure which shows the clock path additional information at the time of transmission line failure occurrence. 伝送路障害発生時のクロックパス付加情報を示す図である。It is a figure which shows the clock path additional information at the time of transmission line failure occurrence. 図1のノードの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the node of FIG. 図1のノードの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the node of FIG.

図1は、実施の形態の通信システムの構成を示す。通信システム100は、ノード10で総称される複数の通信ノード(ノード12〜ノード30)を備える。ノード12〜ノード30のそれぞれは、イーサネットフレームを他のノードと送受する通信装置であり、例えばルータやスイッチ等の通信制御装置である。ノード12〜ノード30はリング状に接続されて、Sync−Eのリング網36が形成される。   FIG. 1 shows a configuration of a communication system according to an embodiment. The communication system 100 includes a plurality of communication nodes (nodes 12 to 30) collectively referred to as a node 10. Each of the nodes 12 to 30 is a communication device that transmits / receives an Ethernet frame to / from another node, and is a communication control device such as a router or a switch. The nodes 12 to 30 are connected in a ring shape to form a Sync-E ring network 36.

ノード12は、リング網36に設置された各ノードが同期すべきクロック(以下、「マスタクロック」とも呼ぶ。)を供給するクロック供給装置32およびクロック供給装置34に接続される。ノード12は、クロック供給装置32またはクロック供給装置34が提供するマスタクロックに外部同期する。以下では「外部同期ノード」とも呼ぶ。図2は、外部同期ノード(すなわちノード12)におけるクロックソースの優先度設定を示す。実施の形態のノード12は、クロック供給装置32を高優先度でクロックソースとし、クロック供給装置32に障害が発生した場合はクロックソースをクロック供給装置34へ切り替える。   The node 12 is connected to a clock supply device 32 and a clock supply device 34 that supply a clock (hereinafter also referred to as “master clock”) to be synchronized with each node installed in the ring network 36. The node 12 is externally synchronized with the master clock provided by the clock supply device 32 or the clock supply device 34. Hereinafter, it is also referred to as an “external synchronization node”. FIG. 2 shows the clock source priority setting at the external synchronization node (ie, node 12). The node 12 according to the embodiment uses the clock supply device 32 as a clock source with high priority, and switches the clock source to the clock supply device 34 when a failure occurs in the clock supply device 32.

図1に戻り、ノード12は、リング網36の時計回り(以下、「EAST方向」とも呼ぶ。)に伝送させるESMCフレーム(以下、「第1クロック情報」とも呼ぶ。)をノード14へ送出する。この第1クロック情報は、ノード14→ノード16→・・・→ノード30と順次伝送され、EAST方向のクロックパスを形成する。またノード12は、リング網36の反時計回り(以下、「WEST方向」とも呼ぶ。)に伝送させるESMCフレーム(以下、「第2クロック情報」とも呼ぶ。)をノード30へ送出する。この第2クロック情報は、ノード30→ノード28→・・・→ノード14と順次伝送され、WEST方向のクロックパスを形成する。以下、第1クロック情報と第2クロック情報とを総称する場合は単に「クロック情報」と呼ぶこととする。   Returning to FIG. 1, the node 12 sends an ESMC frame (hereinafter also referred to as “first clock information”) to be transmitted clockwise (hereinafter also referred to as “EAST direction”) of the ring network 36 to the node 14. . This first clock information is sequentially transmitted in the order of node 14 → node 16 →... → node 30, and forms a clock path in the EAST direction. The node 12 sends an ESMC frame (hereinafter also referred to as “second clock information”) to be transmitted counterclockwise (hereinafter also referred to as “WEST direction”) of the ring network 36 to the node 30. This second clock information is sequentially transmitted in the order of node 30 → node 28 →... → node 14 and forms a clock path in the west direction. Hereinafter, the first clock information and the second clock information are collectively referred to as “clock information”.

ノード14〜ノード30のそれぞれは、第1クロック情報と第2クロック情報のいずれか一方をクロックソースとして、クロックソースとするESMCフレームからマスタクロックを抽出し、自ノード内部のクロックをマスタクロックに同期させる。言い換えれば、EAST方向のクロックパスとWEST方向のクロックパスのいずれかをクロックソースとしてマスタクロックと同期する。以下では、ノード14〜ノード30を「ライン同期ノード」とも呼ぶ。   Each of the nodes 14 to 30 extracts either the first clock information or the second clock information as a clock source, extracts the master clock from the ESMC frame using the clock source, and synchronizes the clock in the own node with the master clock. Let In other words, either the clock path in the EAST direction or the clock path in the WEST direction is used as a clock source to synchronize with the master clock. Hereinafter, the nodes 14 to 30 are also referred to as “line synchronization nodes”.

ライン同期ノードは、より高いクロック品質を示すクロックパスをクロックソースとして選択する。クロック品質を示すSSM(Synchronous Status Message)コードについては後述する。また、EAST方向クロックパスとWEST方向クロックパスのクロック品質が同じである場合の選択優先度を保持する。図3は、ライン同期ノードにおけるクロックソースの優先度設定を示す。実施の形態のノード14〜ノード30は、EAST方向のクロックパスをWEST方向のクロックパスよりも高優先度でクロックソースとする。   The line synchronization node selects a clock path showing a higher clock quality as a clock source. An SSM (Synchronous Status Message) code indicating the clock quality will be described later. Further, the selection priority is maintained when the clock quality of the EAST direction clock path and the WEST direction clock path are the same. FIG. 3 shows the priority setting of the clock source in the line synchronization node. The nodes 14 to 30 in the embodiment use the clock path in the EAST direction as a clock source with higher priority than the clock path in the WEST direction.

図4は、ESMCフレームのフレームフォーマットを示す。同図は、ITU−T G.8264で規定されたESMCのPDU(Protocol Data Unit)フォーマットを示している。同図のイベントフラグには、通常時において「0」が設定され、SSMコードの値が変化した場合に「1」が設定される。SSMコードは、ESMCフレームのデータ・アンド・パディング領域に設定される。   FIG. 4 shows a frame format of the ESMC frame. The figure shows the ITU-T G. 8 shows an ESMC PDU (Protocol Data Unit) format defined by 8264. The event flag shown in FIG. 6 is set to “0” during normal times, and is set to “1” when the value of the SSM code changes. The SSM code is set in the data and padding area of the ESMC frame.

図5は、SSMコードのデータフォーマットを示す。同図は、ITU−T G.8264で規定されたQL(Quality Level) TLV(Type Length Value)フォーマットを示している。説明の簡明化のため、本実施の形態のSSMコードには、「PRC」・「SEC」・「DNU」のいずれかが設定されることとする。「PRC」は、自ノード内部のクロックが、クロック供給装置32もしくはクロック供給装置34から供給されるマスタクロックに同期している状態を示す。   FIG. 5 shows the data format of the SSM code. The figure shows the ITU-T G. 8 illustrates a QL (Quality Level) TLV (Type Length Value) format defined by 8264. For the sake of simplicity, it is assumed that any one of “PRC”, “SEC”, and “DNU” is set in the SSM code of the present embodiment. “PRC” indicates a state in which the clock in the own node is synchronized with the master clock supplied from the clock supply device 32 or the clock supply device 34.

「SEC」は、自ノードのクロックがマスタクロックに同期しておらず、自走クロックとなっている状態、または、他ノードの自走クロックに同期している状態(総称して、「自走状態」とも呼ぶ。)を示す。「DNU」は、自ノードのクロックの品質レベルに関わらず、自ノードのクロックを他の装置が選択しないように、自ノードのクロックが選択不可であることを示す。クロックの品質レベル、言い換えればクロックソースとしての選択優先度は、PRC>SEC>DNUとなる。   “SEC” is a state where the clock of the own node is not synchronized with the master clock and is a free-running clock, or is synchronized with the free-running clock of another node (collectively, “self-running” Also referred to as “state”.) “DNU” indicates that the clock of the own node cannot be selected so that other devices do not select the clock of the own node regardless of the quality level of the clock of the own node. The quality level of the clock, in other words, the selection priority as a clock source is PRC> SEC> DNU.

図1に戻り、通信システム100のノード間におけるSSMコードの送受内容を説明する。ノード12は、自ノードがマスタクロックに同期していることを示すSSMコード「PRC」を含む第1クロック情報をノード14へ送信する。ノード14は、第1クロック情報にもとづき自装置をマスタクロックに同期させる。そして、SSMコード「PRC」を含む第1クロック情報をノード16へ送信するとともに、クロックのループを防ぐためにSSMコード「DNU」を含む第2クロック情報をノード12へ送信する。以降ノード30まで同様に、リング網36のEAST方向(時計回り)にSSMコード「PRC」を含む第1クロック情報が伝送され、リング網36のWEST方向(反時計回り)にSSMコード「DNU」を含む第2クロック情報が伝送される。   Returning to FIG. 1, the contents of SSM code transmission / reception between nodes of the communication system 100 will be described. The node 12 transmits the first clock information including the SSM code “PRC” indicating that the node is synchronized with the master clock to the node 14. The node 14 synchronizes itself with the master clock based on the first clock information. Then, the first clock information including the SSM code “PRC” is transmitted to the node 16 and the second clock information including the SSM code “DNU” is transmitted to the node 12 in order to prevent a clock loop. Thereafter, similarly to the node 30, the first clock information including the SSM code “PRC” is transmitted in the EAST direction (clockwise) of the ring network 36, and the SSM code “DNU” is transmitted in the WEST direction (counterclockwise) of the ring network 36. The second clock information including is transmitted.

またノード12は、SSMコード「PRC」を含む第2クロック情報をノード30へ送信する。ノード30は、第2クロック情報への応答として、SSMコード「DNU」を含む第1クロック情報をノード12へ送信する。ノード30は、SSMコード「PRC」を含む第1クロック情報と第2クロック情報の両方を受け付けるが、図3で示す優先度設定にしたがって、第1クロック情報を用いてマスタクロックと同期する。以上により、リング網36全体に亘り、EAST方向のクロックパスにてマスタクロックへのクロック同期が実現される。   Further, the node 12 transmits the second clock information including the SSM code “PRC” to the node 30. The node 30 transmits the first clock information including the SSM code “DNU” to the node 12 as a response to the second clock information. The node 30 receives both the first clock information and the second clock information including the SSM code “PRC”, but synchronizes with the master clock using the first clock information according to the priority setting shown in FIG. As described above, the clock synchronization to the master clock is realized in the EAST direction clock path over the entire ring network 36.

図6および図7を用いて、リング網36に障害が発生した場合にクロックソースを切り替える従来の仕組みを説明する。ここでは、ノード14〜ノード16間の伝送路に障害が発生し、EAST方向クロックパスが異常な状態になったこととする。   A conventional mechanism for switching the clock source when a failure occurs in the ring network 36 will be described with reference to FIGS. 6 and 7. Here, it is assumed that a failure has occurred in the transmission path between the node 14 and the node 16, and the EAST direction clock path has become abnormal.

図6で示すように、ノード16は、EAST方向クロックパスの異常を検出するとノード内クロックによる自走状態(Holdover)となり、第1クロック情報のSSMコードを、「PRC」から、自走状態を示すSSMコード「SEC」へ変更する。ノード16が自走状態になることに伴い、他のライン同期ノードも自走状態(クロック品質がSEC)となるため、SSMコード「SEC」を含む第1クロック情報がノード30まで伝送される。ノード30は、SSMコード「PRC」を含む第2クロック情報をノード12から受け付けており、クロック品質はPRC>SECであるため、クロックソースをWEST側クロックパスへ切り替える。言い換えれば、第1クロック情報に代えて第2クロック情報を用いて、ノード内クロックをマスタクロックと同期させる。   As shown in FIG. 6, when the node 16 detects an abnormality in the EAST direction clock path, the node 16 is in a free-running state (Holdover) based on the clock in the node, and the SSM code of the first clock information is changed from “PRC” to the free-running state. The SSM code shown is changed to “SEC”. As the node 16 enters the free-running state, the other line synchronization nodes also enter the free-running state (clock quality is SEC), and thus the first clock information including the SSM code “SEC” is transmitted to the node 30. Since the node 30 receives the second clock information including the SSM code “PRC” from the node 12 and the clock quality is PRC> SEC, the node 30 switches the clock source to the west-side clock path. In other words, the in-node clock is synchronized with the master clock using the second clock information instead of the first clock information.

図7で示すように、ノード30は、第2クロック情報のSSMコードを「DNU」から「PRC」へ変更する。他のライン同期ノードも、クロックソースをWEST側クロックパスに切り替え、第2クロック情報を用いてマスタクロックと同期するため、SSMコード「PRC」を含む第2クロック情報がWEST方向へ順次伝送される。最終的に、ノード16〜ノード30は、WEST方向のクロックパスにてマスタクロックと同期した状態になる。なお、第2クロック情報によりマスタクロックと同期したライン同期ノードは、第1クロック情報のSSMコードを「SEC」から「DNU」へ変更する。   As illustrated in FIG. 7, the node 30 changes the SSM code of the second clock information from “DNU” to “PRC”. Since the other line synchronization nodes also switch the clock source to the WEST side clock path and synchronize with the master clock using the second clock information, the second clock information including the SSM code “PRC” is sequentially transmitted in the WEST direction. . Eventually, the nodes 16 to 30 are in a state of being synchronized with the master clock in the clock path in the west direction. The line synchronization node synchronized with the master clock by the second clock information changes the SSM code of the first clock information from “SEC” to “DNU”.

このような方式でクロックソースを切り替える場合、ノード16が自走状態になった後、SSMコード「SEC」の第1クロック情報がノード30まで通知される。すなわち、障害の通知が、ノード16→ノード18→ノード20→ノード22→ノード24→ノード26→ノード28→ノード30と伝送される。そして、ノード30のクロックソースが切り替わった後、SSMコード「PRC」の第2クロック情報がノード16まで通知される。すなわち、クロックソースの切替が、ノード30→ノード28→ノード26→ノード24→ノード22→ノード20→ノード18→ノード16の順に行われる。   When the clock source is switched in such a manner, the first clock information of the SSM code “SEC” is notified to the node 30 after the node 16 enters the free-running state. That is, the failure notification is transmitted in the order of node 16 → node 18 → node 20 → node 22 → node 24 → node 26 → node 28 → node 30. Then, after the clock source of the node 30 is switched, the second clock information of the SSM code “PRC” is notified to the node 16. That is, the clock source is switched in the order of node 30 → node 28 → node 26 → node 24 → node 22 → node 20 → node 18 → node 16.

この一連のプロセスが完了するまでノード16の自走状態は継続するため、ノード16が自走状態になってから、クロック供給装置32のマスタクロックに同期した状態に復帰するまで長時間を要する。また、Sync−EにおけるESMCフレームの送信頻度は、標準的には毎秒1フレームであるため、SONET/SDHよりも一層時間を要しやすい。また、リング網36上に設置される通信ノードが増えるほど、リング網36全体での障害通知およびクロックソースの切替に一層の時間を要し、自走状態が長時間継続してしまう。この場合、通信システム100におけるクロック同期の品質が低下しやすくなり、ノード間の通信効率の低下を招きやすくなってしまう。   Since the self-running state of the node 16 continues until this series of processes is completed, it takes a long time for the node 16 to return to a state synchronized with the master clock of the clock supply device 32 after the self-running state of the node 16. Also, since the ESMC frame transmission frequency in Sync-E is typically one frame per second, it is likely to require more time than SONET / SDH. Further, as the number of communication nodes installed on the ring network 36 increases, more time is required for failure notification and clock source switching in the entire ring network 36, and the self-running state continues for a longer time. In this case, the quality of clock synchronization in the communication system 100 is likely to deteriorate, and communication efficiency between nodes is likely to decrease.

そこで本実施の形態では、伝送経路に障害が発生したクロックパスとは異なるクロックパスでもその障害の旨を通知するノード10を提案する。例えば、ノード14〜ノード16間の伝送路に障害が発生し、EAST方向クロックパスが異常な状態になった場合、ノード16は、第1クロック情報で障害を通知するとともに、ESMCフレームの未使用領域を使用して第2クロック情報でも障害を通知する。言い換えれば、他ノードにクロックソースを切り替えさせるための情報を第1クロック情報に付与するとともに、第2クロック情報にも付与する。これにより、障害の通知(クロックソース切替の契機となる情報)が、ノード16→ノード14→ノード12→ノード30の経路でも伝送されることになり、ノード30におけるクロックパスの切替が早期に実現される。その結果、ノード16におけるクロックパスの切替も早期に実現され、自走状態の継続期間が短縮される。   In view of this, the present embodiment proposes a node 10 that notifies the failure of a clock path different from the clock path in which a failure has occurred in the transmission path. For example, when a failure occurs in the transmission path between the node 14 and the node 16 and the EAST direction clock path is in an abnormal state, the node 16 notifies the failure with the first clock information and the ESMC frame is not used. The area is used to notify the failure even in the second clock information. In other words, information for causing the other node to switch the clock source is given to the first clock information and also given to the second clock information. As a result, failure notification (information that triggers clock source switching) is also transmitted through the route of node 16 → node 14 → node 12 → node 30, and switching of the clock path at node 30 is realized at an early stage. Is done. As a result, the switching of the clock path at the node 16 is realized at an early stage, and the duration of the free-running state is shortened.

まず、他ノードにクロックソースを切り替えさせるための情報を第2クロック情報にも付与するために、本実施の形態においてESMCフレームに対して付加的に設定される情報(以下、「クロックパス付加情報」とも呼ぶ。)を説明する。図8は、クロックパス付加情報の構成を示す。同図の「SSM」および「イベント」は、図4で示したようにESMCフレームが標準的に備える項目であり、ESMCフレームの標準的な位置に設定される。その他の項目(「ID1」〜「受信」)は、本実施の形態で特有の項目であり、ESMCフレームのリザーブ領域および/またはデータ・アンド・パディング領域の未使用領域(空き領域)に設定される。図4で示したように、ESMCフレームには比較的大きな未使用領域が存在するため、クロックパス付加情報は設計者により予め定められた空き領域に設定されてよい。なお、通信システム100では、リング網36に設置された各ノードを一意に特定するためのIDが予め定められている。   First, in order to give information for switching other clock sources to the second clock information, information additionally set for the ESMC frame in the present embodiment (hereinafter referred to as “clock path additional information”). Is also referred to.). FIG. 8 shows the configuration of the clock path additional information. “SSM” and “event” in the same figure are items that the ESMC frame has as standard as shown in FIG. 4, and are set at standard positions of the ESMC frame. The other items (“ID1” to “reception”) are items unique to this embodiment, and are set in the reserved area of the ESMC frame and / or the unused area (free area) of the data and padding area. The As shown in FIG. 4, since a relatively large unused area exists in the ESMC frame, the clock path additional information may be set in a free area predetermined by the designer. In the communication system 100, an ID for uniquely identifying each node installed in the ring network 36 is determined in advance.

図9は、図1のノード10の機能構成を示すブロック図である。ノード10は、設定保持部40と、ノード内クロック42と、外部クロック取得部44と、第1受信部46と、第2受信部52と、第1送出部58と、第2送出部62と、同期処理部66とを備える。   FIG. 9 is a block diagram showing a functional configuration of the node 10 of FIG. The node 10 includes a setting holding unit 40, an intra-node clock 42, an external clock acquisition unit 44, a first reception unit 46, a second reception unit 52, a first transmission unit 58, and a second transmission unit 62. The synchronization processing unit 66 is provided.

本明細書のブロック図において示される各ブロックは、ハードウェア的には、コンピュータのCPUやメモリ、HDDをはじめとする素子や電子回路、機械装置で実現でき、ソフトウェア的にはコンピュータプログラム等によって実現されるが、ブロック図においては、それらの連携によって実現される機能ブロックを描いている。したがって、これらの機能ブロックはハードウェア、ソフトウェアの組合せによっていろいろなかたちで実現できることは、当業者には理解されるところである。   Each block shown in the block diagram of this specification can be realized by hardware such as a computer CPU, memory, HDD, and other elements, electronic circuits, and mechanical devices, and can be realized by a computer program or the like in terms of software. However, in the block diagram, functional blocks realized by their cooperation are depicted. Therefore, those skilled in the art will understand that these functional blocks can be realized in various forms by a combination of hardware and software.

設定保持部40は、クロックソースを選択する際の優先度に関する情報(以下、「優先度情報」とも呼ぶ。)を保持する。図10は、設定保持部40に保持される優先度情報の構成を示す。同図の優先度情報は、ノード10がライン同期ノードである場合の優先度情報であり、ノード10が外部同期ノードである場合は図2と同様の優先度情報となる。   The setting holding unit 40 holds information related to priority when selecting a clock source (hereinafter also referred to as “priority information”). FIG. 10 shows the configuration of priority information held in the setting holding unit 40. The priority information in the figure is priority information when the node 10 is a line synchronization node, and is the same as that shown in FIG. 2 when the node 10 is an external synchronization node.

本実施の形態の優先度情報では、優先度とクロックソースと外部同期ノードIDとクロックパス方向とが対応づけて設定される。優先度およびクロックソースは、クロック品質が同じ場合にどのクロックパスをクロックソースとするかを示しており、図10ではEAST方向のクロックパス(すなわち第1クロック情報)を優先してクロックソースとすることが定められている。外部同期ノードIDは、クロックパスにおける外部同期ノードのIDを示す。クロックパス方向は、クロック情報の伝送方向(第1クロック情報であればEAST)が設定される。   In the priority information of the present embodiment, the priority, the clock source, the external synchronization node ID, and the clock path direction are set in association with each other. The priority and the clock source indicate which clock path is used as the clock source when the clock quality is the same. In FIG. 10, the clock path in the EAST direction (that is, the first clock information) is given priority as the clock source. It is stipulated. The external synchronization node ID indicates the ID of the external synchronization node in the clock path. As the clock path direction, the transmission direction of clock information (EAST if it is the first clock information) is set.

図9に戻り、ノード内クロック42は、ノード10の内部に設けられたクロック装置である。既述したように、ノード内クロック42は、クロック供給装置32もしくはクロック供給装置34から供給されたマスタクロックに外部同期もしくはライン同期する。マスタクロックに同期できない場合は自走状態となる。外部クロック取得部44は、クロック供給装置32およびクロック供給装置34から供給されたクロックを取得して同期処理部66へ送出する。外部クロック取得部44は、外部同期ノードで必要となるオプショナルな機能であり、ライン同期ノードには必須ではない。   Returning to FIG. 9, the intra-node clock 42 is a clock device provided inside the node 10. As described above, the intra-node clock 42 is externally synchronized or line synchronized with the master clock supplied from the clock supply device 32 or the clock supply device 34. If it cannot be synchronized with the master clock, it will be in a free-running state. The external clock acquisition unit 44 acquires the clocks supplied from the clock supply device 32 and the clock supply device 34 and sends them to the synchronization processing unit 66. The external clock acquisition unit 44 is an optional function required in the external synchronization node, and is not essential for the line synchronization node.

第1受信部46は、リング網36をEAST方向に伝送される通信フレームをWEST側ノードから受信する。WEST側ノードは、第1クロック情報の送出元であるとともに、第2クロック情報の送出先となるノードである。例えば、ノード18にとってはノード16であり、ノード16にとってはノード14である。受信信号が光信号である場合、第1受信部46は、その受信信号に対して適宜O/E変換を行ってもよい。第1受信部46は、第1クロック受信部48と第1障害検出部50とを含む。   The first receiving unit 46 receives a communication frame transmitted in the EAST direction through the ring network 36 from the WEST side node. The WEST side node is a node that is a transmission source of the first clock information and a transmission destination of the second clock information. For example, node 16 for node 18 and node 14 for node 16. When the received signal is an optical signal, the first receiving unit 46 may appropriately perform O / E conversion on the received signal. The first reception unit 46 includes a first clock reception unit 48 and a first failure detection unit 50.

第1クロック受信部48は、第1クロック情報をWEST側ノードから受け付けて同期処理部66へ送出する。第1障害検出部50は、自ノードとWEST側ノード間の伝送路の障害を検出し、言い換えれば、EAST方向クロックパスが異常になったことを検出する。第1障害検出部50は、クロック品質が許容範囲を越えて劣化すると想定される予め定められた障害(異常状態)を検出する。例えば、第1クロック受信部48において第1クロック情報が所定期間以上受け付けられないことをもって障害が発生したと判定してもよい。また、受け付けられた第1クロック情報がESMCフレームフォーマットと不一致であることをもって障害が発生したと判定してもよい。   The first clock receiving unit 48 receives the first clock information from the west side node and sends it to the synchronization processing unit 66. The first failure detection unit 50 detects a failure in the transmission path between the own node and the WEST side node, in other words, detects that the EAST direction clock path has become abnormal. The first failure detection unit 50 detects a predetermined failure (abnormal state) in which the clock quality is assumed to deteriorate beyond an allowable range. For example, the first clock receiving unit 48 may determine that a failure has occurred when the first clock information is not received for a predetermined period or longer. Alternatively, it may be determined that a failure has occurred when the received first clock information does not match the ESMC frame format.

第2受信部52は、リング網36をWEST方向に伝送される通信フレームをEAST側ノードから受信する。EAST側ノードは、第2クロック情報の送出元であるとともに、第1クロック情報の送出先となるノードである。例えば、ノード14にとってはノード16であり、ノード16にとってはノード18である。受信信号が光信号である場合、第2受信部52は、その受信信号に対して適宜O/E変換を行ってもよい。第2受信部52は、第2クロック受信部54と第2障害検出部56とを含む。   The second receiving unit 52 receives a communication frame transmitted through the ring network 36 in the WEST direction from the EAST side node. The EAST side node is a node that is a transmission source of the second clock information and a transmission destination of the first clock information. For example, node 16 is for node 14 and node 18 is for node 16. When the received signal is an optical signal, the second receiving unit 52 may appropriately perform O / E conversion on the received signal. The second reception unit 52 includes a second clock reception unit 54 and a second failure detection unit 56.

第2クロック受信部54は、第2クロック情報をEAST側ノードから受け付けて同期処理部66へ送出する。第2障害検出部56は、自ノードとEAST側ノード間の伝送路の障害を検出し、言い換えれば、WEST方向クロックパスが異常になったことを検出する。第2障害検出部56は、クロック品質が許容範囲を越えて劣化すると想定される予め定められた障害(異常状態)を検出する。例えば、第2クロック受信部54において第2クロック情報が所定期間以上受け付けられないことをもって障害が発生したと判定してもよい。また、受け付けられた第2クロック情報がESMCフレームフォーマットと不一致であることをもって障害が発生したと判定してもよい。   The second clock receiver 54 receives the second clock information from the EAST side node and sends it to the synchronization processor 66. The second failure detection unit 56 detects a failure in the transmission path between the own node and the EAST side node, in other words, detects that the WEST direction clock path has become abnormal. The second failure detection unit 56 detects a predetermined failure (abnormal state) in which the clock quality is assumed to deteriorate beyond an allowable range. For example, the second clock receiving unit 54 may determine that a failure has occurred when the second clock information is not received for a predetermined period or longer. Alternatively, it may be determined that a failure has occurred when the received second clock information does not match the ESMC frame format.

第1送出部58は、リング網36をEAST方向に伝送される通信フレームをEAST側ノードへ送信する。光信号を送出すべき場合、第1送出部58は、送出信号に対して適宜E/O変換を行ってもよい。第1送出部58は、第1クロック送出部60を含む。   The first sending unit 58 sends a communication frame transmitted in the EAST direction through the ring network 36 to the EAST side node. When an optical signal is to be transmitted, the first transmission unit 58 may appropriately perform E / O conversion on the transmission signal. The first sending unit 58 includes a first clock sending unit 60.

第1クロック送出部60は、後述する同期処理部66により設定された第1クロック情報をリング網36のEAST方向へ送出する。具体的には、第1クロック情報のデータ信号に、ノード内クロック42から供給されたタイミング情報を重畳させた信号を送出する。また第1クロック送出部60は、通常時は毎秒1回の頻度で、障害発生時には即時に、第1クロック情報を送出する。本実施の形態では、イベントフラグに「1」が設定された第1クロック情報を即時送信の対象とし、所定期間内に送信先装置から受信通知を受け付けない場合は、その第1クロック情報を再送する。なお、イベントフラグが「1」となるのは、典型的には、ノード内クロック42の品質(マスタクロックとの同期品質)に変化が生じた場合であり、言い換えれば、SSMコードがそれまでの値から変化した場合である。また動作の例でも後述するが、本実施の形態では、クロックパス付加情報の「状態」や「切替」に「1」が設定された場合も即時送出の対象とする。後述する第2クロック送出部64においても同様である。   The first clock sending unit 60 sends the first clock information set by a synchronization processing unit 66 described later in the EAST direction of the ring network 36. Specifically, a signal in which the timing information supplied from the in-node clock 42 is superimposed on the data signal of the first clock information is sent out. The first clock sending unit 60 sends the first clock information at a frequency of once per second during normal times and immediately when a failure occurs. In the present embodiment, the first clock information in which “1” is set in the event flag is the target of immediate transmission, and when the reception notification is not received from the transmission destination device within a predetermined period, the first clock information is retransmitted. To do. Note that the event flag is “1” typically when a change occurs in the quality of the in-node clock 42 (synchronization quality with the master clock). In other words, the SSM code is the same as before. This is the case when the value changes. As will be described later in the operation example, in the present embodiment, even when “1” is set in “state” or “switch” of the clock path additional information, it is also set as a target of immediate transmission. The same applies to the second clock transmission unit 64 described later.

本実施の形態において「即時に送出する」とは、可及的短時間のうちに遅滞なく送出することを意味し、少なくとも所定の定期送出間隔(1秒)未満の時間内に送出することを意味する。例えば、障害の発生が検出された場合、その障害を通知するための第1クロック情報が設定された直後に、その第1クロック情報を送出処理の待ち行列に入れることなく、また所定のバッファで待機させることなく、送出を開始してもよい。   In this embodiment, “sending immediately” means sending without delay in the shortest possible time, and sending within at least a predetermined periodical sending interval (1 second). means. For example, when the occurrence of a failure is detected, immediately after the first clock information for notifying the failure is set, the first clock information is not put in a queue for transmission processing, and a predetermined buffer is used. Sending may be started without waiting.

第2送出部62は、リング網36をWEST方向に伝送される通信フレームをWEST側ノードへ送信する。光信号を送出すべき場合、第2送出部62は、送出信号に対して適宜E/O変換を行ってもよい。第2送出部62は、第2クロック送出部64を含む。   The second sending unit 62 sends a communication frame transmitted in the WEST direction through the ring network 36 to the WEST side node. When an optical signal is to be transmitted, the second transmission unit 62 may appropriately perform E / O conversion on the transmission signal. The second sending unit 62 includes a second clock sending unit 64.

第2クロック送出部64は、後述する同期処理部66により設定された第2クロック情報をリング網36のWEST方向へ送出する。具体的には、第2クロック情報のデータ信号に、ノード内クロック42から供給されたタイミング情報を重畳させた信号を送出する。また第2クロック送出部64は、通常時は毎秒1回の頻度で、障害発生時には即時に、第2クロック情報を送出する。本実施の形態では、イベントフラグに「1」が設定された第2クロック情報を即時送信の対象とし、所定期間内に送信先装置から受信通知を受け付けない場合は、その第2クロック情報を再送する。   The second clock sending unit 64 sends the second clock information set by the synchronization processing unit 66 described later in the WEST direction of the ring network 36. Specifically, a signal in which the timing information supplied from the intra-node clock 42 is superimposed on the data signal of the second clock information is transmitted. The second clock sending unit 64 sends the second clock information at a frequency of once per second in normal times and immediately when a failure occurs. In the present embodiment, the second clock information whose event flag is set to “1” is subject to immediate transmission, and when the reception notification is not received from the transmission destination device within a predetermined period, the second clock information is retransmitted. To do.

同期処理部66は、自ノードおよび他ノードをマスタクロックと同期させるための各種データ処理を実行する。同期処理部66は、クロック抽出部68と第1クロック情報設定部70と第2クロック情報設定部72とクロックソース選択部74とを含む。   The synchronization processing unit 66 executes various data processing for synchronizing the own node and other nodes with the master clock. The synchronization processing unit 66 includes a clock extraction unit 68, a first clock information setting unit 70, a second clock information setting unit 72, and a clock source selection unit 74.

クロックソース選択部74は、自ノードが外部同期ノード(ノード12)である場合、優先度情報を参照して、選択優先度がより高いクロック供給装置から供給されたクロックをクロックソースとして選択する。ここで選択されたクロックがリング網36におけるマスタクロックとなる。   When the node is an external synchronization node (node 12), the clock source selection unit 74 refers to priority information and selects a clock supplied from a clock supply device with a higher selection priority as a clock source. The clock selected here becomes the master clock in the ring network 36.

クロックソース選択部74は、自ノードがライン抽出ノード(ノード14〜ノード30)である場合、第1クロック情報のSSMコードと第2クロック情報のSSMコードとを比較して、より高品質なクロック情報をクロックソースとして選択する。両者の品質が同等である場合、クロック抽出部68は、優先度情報を参照して、選択優先度がより高いクロックパスで受け付けられたクロック情報をクロックソースとして選択する。一旦クロックソースを選択した後、第1クロック情報もしくは第2クロック情報のイベントフラグが「1」に設定されるまでは、SSMコードの比較処理を省略して、前回までのクロックソースの選択結果を維持してもよい。   When the node is a line extraction node (node 14 to node 30), the clock source selection unit 74 compares the SSM code of the first clock information with the SSM code of the second clock information, thereby obtaining a higher quality clock. Select information as the clock source. When the quality is the same, the clock extraction unit 68 refers to the priority information and selects the clock information received through the clock path having a higher selection priority as the clock source. Once the clock source is selected, the SSM code comparison process is omitted until the event flag of the first clock information or the second clock information is set to “1”, and the previous clock source selection result is displayed. May be maintained.

クロックソース選択部74は、クロック情報のイベントフラグに「1」が設定されている場合、クロックパス付加情報の他の項目を確認する。第1クロック情報の状態・切替・通過が「1」であり、ID1・方向が優先度情報に設定された現在のクロックソース(WEST方向クロックパス)と一致する場合、第2クロック情報の受信を待つことなく、クロックソースをEAST方向クロックパス(第1クロック情報)へ即時に変更する。このクロックパス付加情報は、WEST方向クロックパスにおける障害の発生を示しているからである。なお、第2クロック情報の受信を待つことなくクロックパスを変更するとは、第2クロック情報が未受信であり、第1クロック情報のSSMコードと第2クロック情報のSSMコードとの比較を未実施であってもクロックパスを変更するとも言える。   When “1” is set in the event flag of the clock information, the clock source selection unit 74 checks other items of the clock path additional information. When the state / switch / pass of the first clock information is “1” and the ID1 / direction matches the current clock source (WEST direction clock path) set in the priority information, the second clock information is received. Without waiting, the clock source is immediately changed to the EAST direction clock path (first clock information). This is because this clock path additional information indicates the occurrence of a failure in the west direction clock path. Note that changing the clock path without waiting for the reception of the second clock information means that the second clock information has not been received and the SSM code of the first clock information is not compared with the SSM code of the second clock information. However, it can be said that the clock path is changed.

同様に、クロックソース選択部74は、第2クロック情報の状態・切替・通過が「1」であり、ID1・方向が優先度情報に設定された現在のクロックソース(EAST方向クロックパス)と一致する場合、第2クロック情報の受信を待つことなく、クロックソースをWEST方向クロックパス(第2クロック情報)へ即時に変更する。このクロックパス付加情報は、EAST方向クロックパスにおける障害の発生を示しているからである。   Similarly, the clock source selector 74 matches the current clock source (EAST direction clock path) in which the state / switch / pass of the second clock information is “1” and the ID1 / direction is set in the priority information. In this case, the clock source is immediately changed to the west direction clock path (second clock information) without waiting for the reception of the second clock information. This is because the clock path additional information indicates the occurrence of a failure in the EAST direction clock path.

クロック抽出部68は、自ノードが外部同期ノード(ノード12)である場合、クロックソースとして選択されたクロック供給装置からのクロック(マスタクロック)にノード内クロック42を同期させる。自ノードがライン抽出ノード(ノード14〜ノード30)である場合、クロックソースとして選択されたクロック情報をCDR(Clock Data Recovery)回路へ入力する等の手段により、第1クロック情報または第2クロック情報からマスタクロックを抽出する。そして、そのマスタクロックにノード内クロック42を同期させる。   When the node is an external synchronization node (node 12), the clock extraction unit 68 synchronizes the intra-node clock 42 with the clock (master clock) from the clock supply device selected as the clock source. When the own node is a line extraction node (node 14 to node 30), the first clock information or the second clock information is obtained by means such as inputting clock information selected as a clock source to a CDR (Clock Data Recovery) circuit. Extract the master clock from Then, the in-node clock 42 is synchronized with the master clock.

第1クロック情報設定部70は第1クロック情報を設定し、第2クロック情報設定部72は第2クロック情報を設定する。第1障害検出部50においてEAST方向クロックパスの障害が検出された場合、第1クロック情報設定部70は、他ノード(特にノード30)においてクロックソースをWEST方向クロックパスへ切り替えさせるための情報をクロックパス付加情報に設定する。そして、そのクロックパス付加情報を含む第1クロック情報を、第1クロック送出部60を介して、EAST側ノードへ即時に通知する。このとき、第2クロック情報設定部72は、他ノード(特にノード30)においてクロックソースをWEST方向クロックパスへ切り替えさせるための情報をクロックパス付加情報に設定する。そして、そのクロックパス付加情報を含む第2クロック情報を、第2クロック送出部64を介して、WEST側ノードへ即時に通知する。   The first clock information setting unit 70 sets first clock information, and the second clock information setting unit 72 sets second clock information. When a failure in the EAST direction clock path is detected in the first failure detection unit 50, the first clock information setting unit 70 uses the information for switching the clock source to the WEST direction clock path in the other node (particularly the node 30). Set in the clock path additional information. Then, the first clock information including the clock path additional information is immediately notified to the EAST side node via the first clock transmission unit 60. At this time, the second clock information setting unit 72 sets information for switching the clock source to the west direction clock path in the other nodes (particularly the node 30) in the clock path additional information. Then, the second clock information including the clock path additional information is immediately notified to the west side node via the second clock transmission unit 64.

同様に、第2障害検出部56においてWEST方向クロックパスの障害が検出された場合、第2クロック情報設定部72は、他ノード(特にノード30)においてクロックソースをEAST方向クロックパスへ切り替えさせるための情報をクロックパス付加情報に設定する。そして、そのクロックパス付加情報を含む第2クロック情報を、第2クロック送出部64を介して、WEST側ノードへ即時に通知する。このとき、第1クロック情報設定部70は、他ノード(特にノード30)においてクロックソースをEAST方向クロックパスへ切り替えさせるための情報をクロックパス付加情報に設定する。そして、そのクロックパス付加情報を含む第1クロック情報を、第1クロック送出部60を介して、EAST側ノードへ即時に通知する。クロックパス付加情報の内容については後述する。   Similarly, when a failure in the WEST direction clock path is detected in the second failure detection unit 56, the second clock information setting unit 72 switches the clock source to the EAST direction clock path in another node (particularly the node 30). Is set as clock path additional information. Then, the second clock information including the clock path additional information is immediately notified to the west side node via the second clock transmission unit 64. At this time, the first clock information setting unit 70 sets information for switching the clock source to the EAST direction clock path in the other nodes (particularly the node 30) in the clock path additional information. Then, the first clock information including the clock path additional information is immediately notified to the EAST side node via the first clock transmission unit 60. The contents of the clock path additional information will be described later.

なお、同期処理部66は、受信した第1クロック情報のイベントフラグに「1」が設定されていた場合、受信フラグに「1」を設定した第2クロック情報を受信通知として、第2クロック送出部64を介して、WEST側装置に即時に送信させる。また、受信した第1クロック情報の受信フラグに「1」が設定されていた場合、イベントフラグを設定した第2クロック情報に対する受信通知であるため、受信通知を受領した旨を第2クロック送出部64に通知して、第2クロック情報の定期送信状態に復帰させる。   If “1” is set in the event flag of the received first clock information, the synchronization processing unit 66 sends the second clock using the second clock information in which the reception flag is set to “1” as a reception notification. Via the unit 64, it is immediately transmitted to the west side apparatus. In addition, when “1” is set in the reception flag of the received first clock information, since it is a reception notification for the second clock information in which the event flag is set, the second clock sending unit indicates that the reception notification has been received. 64 to return to the periodical transmission state of the second clock information.

同様に、同期処理部66は、受信した第2クロック情報のイベントフラグに「1」が設定されていた場合、受信フラグに「1」を設定した第1クロック情報を受信通知として、第1クロック送出部60を介して、EAST側装置に即時に送信させる。また、受信した第2クロック情報の受信フラグに「1」が設定されていた場合、イベントフラグを設定した第1クロック情報に対する受信通知であるため、受信通知を受領した旨を第1クロック送出部60に通知して、第1クロック情報の定期送信状態に復帰させる。   Similarly, when “1” is set in the event flag of the received second clock information, the synchronization processing unit 66 uses the first clock information in which the reception flag is set to “1” as a reception notification, and receives the first clock. The EAST side apparatus is immediately transmitted via the sending unit 60. Further, when “1” is set in the reception flag of the received second clock information, it is a reception notification for the first clock information in which the event flag is set, so that the first clock sending unit indicates that the reception notification has been received. 60 to return to the periodical transmission state of the first clock information.

以上の構成による動作を以下説明する。
図11は、第1クロック情報に設定されるクロックパス付加情報を示す。同図は、図1で示した通常時(伝送路障害の未発生時)の状態を示している。ノード12は、クロックパス付加情報のSSMに「PRC」、ID1に「ノード12」、方向に「WEST」を設定し、他の項目を未設定とした第1クロック情報をEAST方向へ送出する。本実施の形態では、EAST(WEST)方向クロックパスの障害を、逆方向のWEST(EAST)クロックパスでも通知するため、EAST(WEST)方向クロックパスの方向フィールドには、送出方向とは逆の「WEST(EAST)」が設定される。以降のライン同期ノードは、SSMコードのみ適宜調整し、その他のクロックパス付加情報を変更せず、そのまま伝送する。
The operation of the above configuration will be described below.
FIG. 11 shows clock path additional information set in the first clock information. This figure shows the normal state (when no transmission line failure occurs) shown in FIG. The node 12 sets “PRC” in the SSM of the clock path additional information, “Node 12” in the ID1, “WEST” in the direction, and sends the first clock information in which the other items are not set in the EAST direction. In the present embodiment, since the failure of the EAST (WEST) direction clock path is also notified by the reverse WEST (EAST) clock path, the direction field of the EAST (WEST) direction clock path is opposite to the transmission direction. “WEST (EAST)” is set. The subsequent line synchronization nodes adjust only the SSM code as appropriate, and transmit other data without changing other clock path additional information.

図12は、第2クロック情報に設定されるクロックパス付加情報を示す。同図は、通常時(伝送路障害の未発生時)の状態を示している。ノード12は、クロックパス付加情報のSSM「PRC」、ID1「ノード12」、方向「EAST」を設定し、他の項目を未設定とした第1クロック情報をWEST方向へ送出する。以降のライン同期ノードは、SSMコードのみ適宜調整し、その他のクロックパス付加情報を変更せず、そのまま伝送する。   FIG. 12 shows the clock path additional information set in the second clock information. The figure shows a state at the normal time (when a transmission line failure has not occurred). The node 12 sets the clock path additional information SSM “PRC”, ID1 “node 12”, and direction “EAST”, and sends the first clock information in which the other items are not set in the west direction. The subsequent line synchronization nodes adjust only the SSM code as appropriate, and transmit other data without changing other clock path additional information.

ここで、図6および図7で例示したように、ノード14〜ノード16間の伝送路に障害が発生し、EAST方向クロックパスが異常状態となったこととする。図13(a)〜図13(f)は、伝送路障害発生時のクロックパス付加情報を示している。   Here, as illustrated in FIGS. 6 and 7, it is assumed that a failure has occurred in the transmission path between the node 14 and the node 16, and the EAST direction clock path is in an abnormal state. FIGS. 13A to 13F show additional clock path information when a transmission path failure occurs.

図13(a)で示すように、ノード16は、クロックパスの障害を検出すると、SSMコードを「SEC」に変更し、イベントフラグを「1」に変更した第1クロック情報を、前回の送出時点から1秒の経過を待つことなく即時にノード18へ送出する。ノード16は、ノード18から受信通知を受け付けるか、もしくは送出回数が5回に達するまで、定期的にこの第1クロック情報を送出する。他のノード10も同様に、イベントフラグに「1」を設定した第1クロック情報を送出すべき場合、定期送信間隔に関わらず即時送出する。こうして、SSMコードが「SEC」の第1クロック情報は、図6で示したようにノード30まで順次伝送される。   As shown in FIG. 13A, when the node 16 detects a failure in the clock path, the node 16 changes the SSM code to “SEC” and the first clock information in which the event flag is changed to “1” in the previous transmission. The data is immediately sent to the node 18 without waiting for one second from the time. The node 16 periodically transmits this first clock information until receiving a reception notification from the node 18 or until the number of transmissions reaches five. Similarly, when the other node 10 should transmit the first clock information in which the event flag is set to “1”, it transmits immediately regardless of the regular transmission interval. Thus, the first clock information whose SSM code is “SEC” is sequentially transmitted to the node 30 as shown in FIG.

図13(b)で示すように、ノード18は、イベントフラグに「1」が設定された図13(a)の第1クロック情報を受け付けると、受信フラグに「1」を設定した第2クロック情報を、受信通知として、前回の送出時点から1秒の経過を待つことなく即時にノード16へ返信する。他のノード10も同様に、イベントフラグに「1」が設定された第1クロック情報を受け付けた場合、受信フラグを「1」にした第2クロック情報をその送信元のノードへ即時送信する。変形例として、前回の送出時点から1秒の経過をトリガとして、受信フラグを設定した第2クロック情報を送出してもよい。   As illustrated in FIG. 13B, when the node 18 receives the first clock information in FIG. 13A in which “1” is set in the event flag, the second clock in which “1” is set in the reception flag. Information is immediately returned to the node 16 as a reception notification without waiting for the passage of 1 second from the previous transmission time. Similarly, when the other node 10 receives the first clock information in which the event flag is set to “1”, the second clock information in which the reception flag is set to “1” is immediately transmitted to the transmission source node. As a modified example, the second clock information in which the reception flag is set may be transmitted with the passage of 1 second from the previous transmission time as a trigger.

図13(c)で示すように、ノード16は、クロックパスの障害を検出すると、SSMコードを「SEC」、イベントフラグを「1」、状態を「1」、切替を「1」、ID2を「ノード16」に変更した第2クロック情報を即時にノード14へ送出する。   As shown in FIG. 13C, when the node 16 detects a failure in the clock path, the SSM code is “SEC”, the event flag is “1”, the state is “1”, the switching is “1”, and the ID2 is set. The second clock information changed to “node 16” is immediately sent to the node 14.

図13(d)で示すように、ノード14は、イベントフラグに「1」が設定された図13(c)の第2クロック情報を受け付けると、受信フラグに「1」を設定した第1クロック情報を、受信通知として、即時にノード16へ返信する。他のノード10も同様に、イベントフラグに「1」が設定された第2クロック情報を受け付けた場合、受信フラグを「1」にした第1クロック情報をその送信元のノードへ即時送信する。変形例として、前回の送出時点から1秒の経過をトリガとして、受信フラグを設定した第1クロック情報を送出してもよい。   As shown in FIG. 13D, when the node 14 receives the second clock information in FIG. 13C in which “1” is set in the event flag, the first clock in which “1” is set in the reception flag. Information is immediately returned to the node 16 as a reception notification. Similarly, when the other node 10 receives the second clock information with the event flag set to “1”, the other node 10 immediately transmits the first clock information with the reception flag set to “1” to the transmission source node. As a modified example, the first clock information in which the reception flag is set may be transmitted with the passage of 1 second from the previous transmission time as a trigger.

図13(e)で示すように、ノード14は、図13(c)の第2クロック情報を受け付けると、そのSSMコードを「DNU」に変更した第2クロック情報をノード12へ即時に送出する。この第2クロック情報では、状態・切替に「1」が設定されているものの、通過フラグが「0」であるため、ノード14はクロックソースを変更しない。   As shown in FIG. 13E, when the node 14 receives the second clock information of FIG. 13C, the node 14 immediately sends the second clock information whose SSM code is changed to “DNU” to the node 12. . In this second clock information, although “1” is set in the state / switching, since the passage flag is “0”, the node 14 does not change the clock source.

図13(f)で示すように、外部同期ノードであるノード12は、図13(e)の第2クロック情報を受け付けると、そのSSMコードを「PRC」に変更し、通過フラグを「1」に変更した第2クロック情報をノード30へ即時に送信する。ノード12は、外部同期ノードであるため、伝送路の障害をトリガとしてはクロックソースを変更しない。   As shown in FIG. 13 (f), when receiving the second clock information in FIG. 13 (e), the node 12, which is the external synchronization node, changes its SSM code to “PRC” and sets the passage flag to “1”. The second clock information changed to is immediately transmitted to the node 30. Since the node 12 is an external synchronization node, the clock source is not changed with a transmission path failure as a trigger.

図13(f)の第2クロック情報を受け付けたノード30は、クロックソースの即時切替処理を実行する。具体的には、クロックパス付加情報における状態・切替・通過のいずれにも「1」が設定され、ID1(外部同期ノード)と方向(クロックパスの方向)が現在のクロックパスと一致する場合、優先度情報にしたがって次に優先度の高いクロックパスをクロックソースとして選択する。図9の優先度情報の場合、クロックソースを、EAST方向クロックパスから、WEST方向クロックパスへ切り替える。   The node 30 that has received the second clock information in FIG. 13F executes an immediate clock source switching process. Specifically, when “1” is set for any of the state / switching / passing in the clock path additional information, and ID1 (external synchronization node) and the direction (clock path direction) match the current clock path, The clock path with the next highest priority is selected as the clock source according to the priority information. In the case of the priority information shown in FIG. 9, the clock source is switched from the EAST direction clock path to the WEST direction clock path.

以下、図13(f)の第2クロック情報がWEST方向へ伝送されていき、ノード30→ノード28→・・・→ノード16の順にクロックソースの切替が実行される。ノード16は、第2クロック情報のID2が自ノードのIDと一致する場合、それは第2クロック情報がリング網36を1周したことを意味するため、クロックパス付加情報の状態・切替・ID2を初期値「0」に戻す。ノード14が受け付けた第2クロック情報では通過が「1」であるものの、状態および切替が「0」であるため、ノード14はクロックソースを変更しない。ノード12は、通過が「1」の第2クロック情報を受け付けた場合、それは第2クロック情報がリング網36を1周したことを意味するため、通過を「0」に戻す。   Thereafter, the second clock information shown in FIG. 13 (f) is transmitted in the west direction, and the clock source is switched in the order of node 30 → node 28 →. When the ID2 of the second clock information matches the ID of its own node, the node 16 means that the second clock information has made one round of the ring network 36, so the state / switching / ID2 of the clock path additional information is set. Return to the initial value “0”. In the second clock information received by the node 14, the passage is “1”, but the state and switching are “0”, so the node 14 does not change the clock source. When the node 12 receives the second clock information whose passage is “1”, it means that the second clock information has made one round of the ring network 36, and therefore returns the passage to “0”.

なお、通信システム100には、図13(a)の第1クロック情報の受信後に図13(f)の第2クロック情報を受信するノード(例えばノード18やノード20等)が存在する。また、図13(f)の第2クロック情報の受信後に図13(a)の第1クロック情報を受信するノード(例えばノード30やノード28等)が存在する。しかし、いずれのノードにおいても、図13(f)の第2クロック情報を受信した時点でクロックパスがWEST方向クロックパスに切り替わるため不整合等の問題は発生しない。   In the communication system 100, there are nodes (for example, the node 18 and the node 20) that receive the second clock information in FIG. 13F after receiving the first clock information in FIG. Further, there are nodes (for example, the node 30 and the node 28) that receive the first clock information of FIG. 13A after the reception of the second clock information of FIG. 13F. However, in any node, since the clock path is switched to the west direction clock path when the second clock information of FIG. 13 (f) is received, a problem such as inconsistency does not occur.

図14は、図1のノード10の動作を示すフローチャートである。ここでは、ライン同期ノードの動作を示している。第1障害検出部50がEAST方向クロックパスの障害を検出すると(S10のY)、第1クロック情報設定部70は図13(a)で示すクロックパス付加情報を含む第1クロック情報を設定する(S12)。第1クロック送出部60は、その第1クロック情報をEAST方向へ即時に送出する(S14)。所定の送出回数に未到達であり(S16のN)、EAST側ノードからの受信通知を所定期間に未受信であれば(S18のN)、S14に戻る。所定の送出回数に到達し(S16のY)、もしくは、EAST側ノードからの受信通知を受け付けると(S18のY)、毎秒1回の頻度で第1クロック情報を送出する状態に戻る(S20)。   FIG. 14 is a flowchart showing the operation of the node 10 of FIG. Here, the operation of the line synchronization node is shown. When the first failure detection unit 50 detects a failure in the EAST direction clock path (Y in S10), the first clock information setting unit 70 sets the first clock information including the clock path additional information shown in FIG. (S12). The first clock transmission unit 60 immediately transmits the first clock information in the EAST direction (S14). If the predetermined number of transmissions has not been reached (N in S16) and the reception notification from the EAST side node has not been received within a predetermined period (N in S18), the process returns to S14. When the predetermined number of times of transmission is reached (Y in S16) or when a reception notification from the EAST side node is accepted (Y in S18), the state returns to the state in which the first clock information is transmitted once per second (S20). .

第2クロック情報設定部72は図13(c)で示すクロックパス付加情報を含む第2クロック情報を設定する(S22)。第2クロック送出部64は、その第2クロック情報をWEST方向へ即時に送出する(S24)。所定の送出回数に未到達であり(S26のN)、WEST側ノードからの受信通知を所定期間に未受信であれば(S28のN)、S24に戻る。所定の送出回数に到達し(S26のY)、もしくは、EAST側ノードからの受信通知を受け付けると(S28のY)、毎秒1回の頻度で第2クロック情報を送出する状態に戻る(S30)。上記のS12〜S20と、S22〜S30とは並行して実行される。第1障害検出部50がEAST方向クロックパスの障害を未検出であれば(S10のN)、S12〜S30はスキップされる。なお、第2クロック受信部54がWEST方向クロックパスの障害を検出した場合にも上記に対応した同様の動作を行う。   The second clock information setting unit 72 sets the second clock information including the clock path additional information shown in FIG. 13C (S22). The second clock transmission unit 64 immediately transmits the second clock information in the WEST direction (S24). If the predetermined number of transmissions has not been reached (N in S26) and the reception notification from the west side node has not been received within a predetermined period (N in S28), the process returns to S24. When the predetermined number of times of transmission is reached (Y in S26) or when a reception notification from the EAST side node is accepted (Y in S28), the state returns to the state in which the second clock information is transmitted at a frequency of once per second (S30). . Said S12-S20 and S22-S30 are performed in parallel. If the first failure detection unit 50 has not detected a failure in the EAST direction clock path (N in S10), S12 to S30 are skipped. Note that the same operation corresponding to the above is performed when the second clock receiving unit 54 detects a failure in the west direction clock path.

前回の第1クロック情報の送出から所定の送出間隔(例えば1秒)が経過すると(S32のY)、第1クロック送出部60は、第1クロック情報をEAST方向へ送出する(S34)。同様に、前回の第2クロック情報の送出から所定の送出間隔(1秒)が経過すると(S32のY)、第2クロック送出部64は、第2クロック情報をWEST方向へ送出する(S34)。第1クロック情報と第2クロック情報のいずれについても、前回の送出から所定の送出間隔が未経過であれば(S32のN)、S34はスキップされる。   When a predetermined transmission interval (for example, 1 second) elapses from the previous transmission of the first clock information (Y in S32), the first clock transmission unit 60 transmits the first clock information in the EAST direction (S34). Similarly, when a predetermined transmission interval (1 second) has elapsed since the previous transmission of the second clock information (Y in S32), the second clock transmission unit 64 transmits the second clock information in the WEST direction (S34). . If the predetermined transmission interval has not elapsed since the previous transmission for both the first clock information and the second clock information (N in S32), S34 is skipped.

図15も、図1のノード10の動作を示すフローチャートである。同図は、図14の続きを示している。ここでは、第1クロック情報を受信した場合の動作を説明するが、第2クロック情報を受信した場合にも対応した同様の動作を行う。   FIG. 15 is also a flowchart showing the operation of the node 10 of FIG. This figure shows a continuation of FIG. Although the operation when the first clock information is received will be described here, the same operation corresponding to the case where the second clock information is received is performed.

第1クロック受信部48が第1クロック情報を受信すると(S40のY)、クロックソース選択部74は、第1クロック情報のイベントフラグが「1」か否かを判定する。イベントフラグが「0」(未設定)であり(S42のN)、第1クロック情報がクロックソースである場合(S44のY)、クロック抽出部68は第1クロック情報からマスタクロックを抽出してノード内クロック42をそのマスタクロックに同期させる(S46)。第1クロック情報がクロックソースに指定されていなければ(S44のN)、S46はスキップされて本図のフローを終了する。   When the first clock receiver 48 receives the first clock information (Y in S40), the clock source selector 74 determines whether or not the event flag of the first clock information is “1”. When the event flag is “0” (not set) (N in S42) and the first clock information is the clock source (Y in S44), the clock extraction unit 68 extracts the master clock from the first clock information. The intra-node clock 42 is synchronized with the master clock (S46). If the first clock information is not designated as the clock source (N in S44), S46 is skipped and the flow of FIG.

第1クロック情報のイベントフラグが「1」である場合(S42のY)、第2クロック情報設定部72は第2クロック情報の受信フラグに「1」を設定し、第2クロック送出部64はその第2クロック情報を即時に送出する(S48)。第1クロック情報のクロック品質(SSMコード)と第2クロック情報のクロック品質との上下関係が逆転した場合(S50のY)、クロックソース選択部74はクロックソースを切り替える(S52)。例えば、第1クロック情報をクロックソースとする場合に第2クロック情報の方がより高いクロック品質を示す場合、クロックソースを第2クロック情報へ切り替える。クロック品質の上下関係が逆転しなければ(S50のN)、S52はスキップされる。   When the event flag of the first clock information is “1” (Y in S42), the second clock information setting unit 72 sets “1” to the reception flag of the second clock information, and the second clock sending unit 64 The second clock information is sent immediately (S48). When the vertical relationship between the clock quality (SSM code) of the first clock information and the clock quality of the second clock information is reversed (Y in S50), the clock source selection unit 74 switches the clock source (S52). For example, when the first clock information is used as a clock source and the second clock information shows a higher clock quality, the clock source is switched to the second clock information. If the vertical relationship of the clock quality is not reversed (N in S50), S52 is skipped.

クロックソース選択部74は、第1クロック情報のクロックパス付加情報がクロックソースの切替条件を充足するか否かを判定する。具体的には、クロックパス付加情報の状態・切替・通過が「1」であり、かつ、ID1・方向が現在のクロックパスと合致する場合に切替条件が充足したと判定する。第1クロック情報のクロックパス付加情報がクロックソースの切替条件を充足する場合(S54のY)、クロックソース選択部74は、クロックソースを第1クロック情報へ切り替える(S56)。クロック抽出部68は、第1クロック情報からマスタクロックを抽出してノード内クロック42をそのマスタクロックに同期させる(S58)。   The clock source selection unit 74 determines whether or not the clock path additional information of the first clock information satisfies the clock source switching condition. Specifically, it is determined that the switching condition is satisfied when the state / switching / passing of the clock path additional information is “1” and the ID1 / direction matches the current clock path. When the clock path additional information of the first clock information satisfies the clock source switching condition (Y in S54), the clock source selection unit 74 switches the clock source to the first clock information (S56). The clock extraction unit 68 extracts the master clock from the first clock information and synchronizes the intra-node clock 42 with the master clock (S58).

クロックパス付加情報のID2に自ノードのIDが設定されてなければ(S60のN)、第1クロック送出部60は、第1クロック情報をEAST方向へ即時に送出する(S62)。所定の送出回数に未到達であり(S64のN)、EAST側ノードからの受信通知を所定期間に未受信であれば(S66のN)、S62に戻る。所定の送出回数に到達し(S64のY)、もしくは、EAST側ノードからの受信通知を受け付けると(S66のY)、第1クロック情報を定期的に送出する状態に戻る(S68)。クロックパス付加情報のID2に自ノードのIDが設定されている場合は(S60のY)、第1クロック情報に付加した状態・切替・ID2を初期状態(未設定の状態)に戻して本図のフローを終了する(S70)。第1クロック情報のクロックパス付加情報がクロックソースの切替条件を充足しない場合(S54のN)、S56〜S70をスキップする。第1クロック情報が未受信であれば(S40のN)、以降の処理はスキップされて本図のフローを終了する。   If the ID of the own node is not set in the clock path additional information ID2 (N in S60), the first clock transmission unit 60 immediately transmits the first clock information in the EAST direction (S62). If the predetermined number of transmissions has not been reached (N in S64) and the reception notification from the EAST side node has not been received within a predetermined period (N in S66), the process returns to S62. When the predetermined number of transmissions has been reached (Y in S64) or a reception notification from the EAST side node is accepted (Y in S66), the state returns to the state in which the first clock information is periodically transmitted (S68). If the ID of the own node is set in ID2 of the clock path additional information (Y in S60), the state / switching / ID2 added to the first clock information is returned to the initial state (unset state). This flow is finished (S70). When the clock path additional information of the first clock information does not satisfy the clock source switching condition (N in S54), S56 to S70 are skipped. If the first clock information has not been received (N in S40), the subsequent processing is skipped and the flow of this figure ends.

なお、外部同期ノードの動作としては、(1)クロック供給装置32またはクロック供給装置34からマスタクロックを取得してノード内クロック42を同期させる。(2)マスタクロックを第1クロック情報および第2クロック情報として定期的にリング網36へ送出する。(3)状態・切替フィールドに「1」が設定された第1クロック情報(第2クロック情報)を受け付けた際に、通過フィールドに「1」を設定した第1クロック情報(第2クロック情報)送出する。以上の(1)〜(3)が少なくとも実行されればよい。   The operation of the external synchronization node is as follows: (1) The master clock is acquired from the clock supply device 32 or the clock supply device 34 and the intra-node clock 42 is synchronized. (2) The master clock is periodically sent to the ring network 36 as first clock information and second clock information. (3) When the first clock information (second clock information) in which “1” is set in the state / switching field is received, the first clock information (second clock information) in which “1” is set in the passing field Send it out. The above (1) to (3) may be executed at least.

本実施の形態の通信システム100によれば、リング構成のSync−Eにおいて、障害発生時のクロックソースの切替時間を短縮し、これにより各ノードの自走時間を短縮してクロック品質の向上を実現できる。具体的には、あるクロックパス方向で伝送路障害が発生した場合に、逆方向のクロックパスでもその障害を通知するため、クロックソース切替の起点となるノードへの障害通知に要する時間を短縮できる。また、クロックの品質が変化するような事態が生じた場合、例えば障害が発生した際には、定期送出間隔に関わらずクロック情報を即時送出するため、障害通知およびクロックソース切替のノード間での伝播に要する時間を短縮できる。さらにまた、クロック情報の受信通知と再送の仕組みにより、クロックソース切替の確実性を向上させることができる。   According to the communication system 100 of the present embodiment, in the Sync-E in the ring configuration, the clock source switching time when a failure occurs is shortened, thereby shortening the self-running time of each node and improving the clock quality. realizable. Specifically, when a transmission path failure occurs in a certain clock path direction, the failure is also notified in the reverse clock path, so the time required for failure notification to the node that is the starting point of clock source switching can be reduced. . In addition, when a situation where the quality of the clock changes occurs, for example, when a failure occurs, the clock information is immediately transmitted regardless of the regular transmission interval. The time required for propagation can be shortened. Furthermore, the reliability of clock source switching can be improved by a mechanism for receiving and retransmitting clock information.

以上、本発明を実施の形態をもとに説明した。この実施の形態は例示であり、それらの各構成要素や各処理プロセスの組合せにいろいろな変形例が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。   The present invention has been described based on the embodiments. This embodiment is an exemplification, and it will be understood by those skilled in the art that various modifications can be made to combinations of the respective constituent elements and processing processes, and such modifications are also within the scope of the present invention. is there.

上記実施の形態では、SSMコード値として「PRC」、「SEC」、「DNU」の3種を示したが、このうちの一部が用いられてもよく、また、これらに加えて他のSSMコード値が用いられてもよいことはもちろんである。   In the above embodiment, three types of SPR code values “PRC”, “SEC”, and “DNU” have been shown, but some of them may be used, and in addition to these, other SSM codes may be used. Of course, code values may be used.

上記実施の形態では特に言及していないが、通信システム100は複数の外部同期ノードを含んでよく、それぞれの外部同期ノードがクロック情報をリング網36へ送出してもよい。上記の通り、クロックパス付加情報には外部同期ノードのIDが含まれ、そのIDが現在のクロックソースにおける外部同期ノードのIDと一致することをクロックソースの切替条件とする。したがって、リング網36に複数の外部同期ノードが存在する場合も、実施の形態の構成により、クロックソースの切替に要する時間の短縮が実現される。   Although not particularly mentioned in the above embodiment, the communication system 100 may include a plurality of external synchronization nodes, and each external synchronization node may transmit clock information to the ring network 36. As described above, the clock path additional information includes the ID of the external synchronization node, and it is assumed that the ID matches the ID of the external synchronization node in the current clock source. Therefore, even when there are a plurality of external synchronization nodes in the ring network 36, the time required for switching the clock source can be reduced by the configuration of the embodiment.

請求項に記載の各構成要件が果たすべき機能は、実施の形態および変形例において示された各構成要素の単体もしくはそれらの連携によって実現されることも当業者には理解されるところである。例えば、請求項に記載のクロック送出部は、第1クロック情報設定部70と第1クロック送出部60の組み合わせにより実現されてもよく、第2クロック情報設定部72と第2クロック送出部64との組み合わせにより実現されてもよい。また、第1クロック情報に設定される付加情報はイベントフラグやSSMコードを意味してもよく、第2クロック情報に設定される付加情報はクロックパス付加情報の「状態」、「通過」等の項目であってもよい。   It should also be understood by those skilled in the art that the functions to be fulfilled by the constituent elements described in the claims are realized by the individual constituent elements shown in the embodiments and the modification examples or by their cooperation. For example, the clock sending unit described in the claims may be realized by a combination of the first clock information setting unit 70 and the first clock sending unit 60, and the second clock information setting unit 72, the second clock sending unit 64, and the like. It may be realized by a combination of Further, the additional information set in the first clock information may mean an event flag or an SSM code, and the additional information set in the second clock information may be “state”, “pass”, etc. of the clock path additional information. It may be an item.

10 ノード、 36 リング網、 48 第1クロック受信部、 50 第1障害検出部、 54 第2クロック受信部、 56 第2障害検出部、 60 第1クロック送出部、 64 第2クロック送出部、 66 同期処理部、 68 クロック抽出部、 70 第1クロック情報設定部、 72 第2クロック情報設定部、 74 クロックソース選択部、 100 通信システム。   10 nodes, 36 ring network, 48 first clock receiver, 50 first fault detector, 54 second clock receiver, 56 second fault detector, 60 first clock transmitter, 64 second clock transmitter, 66 A synchronization processing unit, 68 clock extraction unit, 70 first clock information setting unit, 72 second clock information setting unit, 74 clock source selection unit, 100 communication system.

Claims (7)

リング網に設置された通信装置であ、マスタクロックの供給装置と接続され、前記マスタクロックに外部同期する外部同期ノードと、
前記リング網に設置された通信装置である第1のライン同期ノードと第2のライン同期ノードと、を備え、
前記外部同期ノードは、前記第1および第2のライン同期ノードを前記マスタクロックに同期させるための情報を、前記リング網における第1方向の伝送路へ第1クロック情報として送出し、前記リング網における第2方向の伝送路へ第2クロック情報として送出するクロック送出部を含み、
前記第1および第2のライン同期ノードは、
前記外部同期ノードから供給された前記第1クロック情報と前記第2クロック情報とを受信するクロック受信部と、
前記第1クロック情報と前記第2クロック情報の少なくとも一方を用いて、自ノードの動作を前記マスタクロックに同期させる同期処理部と、
記第1クロック情報を前記リング網の第1方向へ送出し、前記第2クロック情報を前記リング網の第2方向へ送出するクロック送出部と、を含み、
前記第1のライン同期ノードの同期処理部が第1クロック情報をクロックソースとし、前記第1方向の伝送路で障害が検出された場合に、前記第1のライン同期ノードのクロック送出部は、第2クロック情報を用いて前記マスタクロックへの同期処理を実行させるための付加情報を前記第1クロック情報に対して設定するとともに、前記第2クロック情報に対しても設定し、
前記外部同期ノードのクロック送出部は、前記付加情報が設定された第2クロック情報が受信された場合に、前記付加情報が設定され、さらに外部同期ノードを通過した旨を示す通過情報が設定された第2クロック情報を前記リング網の第2方向へ送出し、
前記第2のライン同期ノードの同期処理部が第1クロック情報をクロックソースとし、前記付加情報が設定された第2クロック情報が受信された場合に、当該同期処理部は、第2クロック情報に前記通過情報が未設定であればクロックソースの切替を抑制する一方、第2クロック情報に前記通過情報が設定されていれば、第1クロック情報の受信を待つことなく、第2クロック情報をクロックソースとするよう切り替えることを特徴とする通信システム
Ri communication apparatus der installed in the ring network, is connected to the supply device of the master clock, and the external synchronizing nodes external synchronization to the master clock,
A first line synchronization node and a second line synchronization node, which are communication devices installed in the ring network,
The external synchronization node sends information for synchronizing the first and second line synchronization nodes to the master clock as first clock information to a transmission line in a first direction in the ring network, and the ring network Including a clock sending unit for sending the second clock information to the transmission line in the second direction at
The first and second line synchronization nodes are:
A clock receiver for receiving the first clock information and the second clock information supplied from the external synchronization node ;
Using at least one of the first clock information and the second clock information, a synchronization processing unit for synchronizing the operation of the own node with the master clock;
Sends a pre Symbol first clock information to the first direction of the ring network includes a clock generating portion for sending said second clock information to the second direction of the ring network,
The synchronization processing unit of the first line synchronizing node to the first clock information and the clock source, if a failure in the transmission path of the first direction is detected, the clock transmission section of the first line synchronizing node, The additional information for executing the synchronization processing to the master clock using the second clock information is set for the first clock information, and is also set for the second clock information ,
The clock transmission unit of the external synchronization node sets the additional information when the second clock information in which the additional information is set is received, and further sets passing information indicating that the external synchronization node has passed. Sending the second clock information in the second direction of the ring network,
When the synchronization processing unit of the second line synchronization node receives the first clock information as a clock source and receives the second clock information in which the additional information is set, the synchronization processing unit converts the second clock information into the second clock information. If the passing information is not set, the switching of the clock source is suppressed, while if the passing information is set in the second clock information, the second clock information is clocked without waiting for the reception of the first clock information. communication system, wherein to switch between to the source.
前記リング網はイーサネット(登録商標)のリング網であり、前記第1クロック情報および前記第2クロック情報はESMC(Ethernet Synchronization Messaging Channel、「Ethernet」は登録商標)メッセージであり、
前記第1のライン同期ノードのクロック送出部は、前記ESMCメッセージのリザーブ(Reserved)領域とデータ・アンド・パディング(Data and Padding)領域の少なくとも一方へ前記付加情報を設定することを特徴とする請求項1に記載の通信システム
The ring network is an Ethernet (registered trademark) ring network, and the first clock information and the second clock information are ESMC (Ethernet Synchronization Messaging Channel, “Ethernet” is a registered trademark) message,
The clock transmission unit of the first line synchronization node sets the additional information in at least one of a reserved area and a data and padding area of the ESMC message. Item 12. The communication system according to Item 1 .
前記第1のライン同期ノードのクロック送出部は、前記付加情報を設定した第1クロック情報および第2クロック情報を、予め定められた送出間隔によらず、即時に送出することを特徴とする請求項1または2に記載の通信システム The clock transmission unit of the first line synchronization node immediately transmits the first clock information and the second clock information set with the additional information regardless of a predetermined transmission interval. Item 3. The communication system according to Item 1 or 2 . 前記リング網に設置された通信装置は、前記付加情報が設定された第1クロック情報または第2クロック情報が他の通信装置から受信されたとき、その受信の旨を当該他の通信装置へ通知することを特徴とする請求項1からのいずれかに記載の通信システム When the first clock information or the second clock information in which the additional information is set is received from another communication device , the communication device installed in the ring network notifies the other communication device of the reception. The communication system according to any one of claims 1 to 3 , wherein: 前記第1のライン同期ノードのクロック送出部は、前記付加情報を設定した第2クロック情報を送出後、その受信の旨の通知を未受領である場合、当該第2クロック情報を再度送出することを特徴とする請求項に記載の通信システム The clock transmission unit of the first line synchronization node transmits the second clock information again when the second clock information in which the additional information is set is transmitted and the reception notification is not received. The communication system according to claim 4 . リング網に設置された通信装置であ、マスタクロックの供給装置と接続され、前記マスタクロックに外部同期する外部同期ノードと、
前記リング網に設置された通信装置である第1のライン同期ノードと第2のライン同期ノードと、を備え、
前記外部同期ノードは、前記第1および第2のライン同期ノードを前記マスタクロックに同期させるための情報を、前記リング網における第1方向の伝送路へ第1クロック情報として送出し、前記リング網における第2方向の伝送路へ第2クロック情報として送出するクロック送出部を含み、
前記第1および第2のライン同期ノードは、
前記外部同期ノードから供給された前記第1クロック情報と前記第2クロック情報とを受信するクロック受信部と、
前記第1クロック情報と前記第2クロック情報の少なくとも一方を用いて、自ノードの動作を前記マスタクロックに同期させる同期処理部と、
記第1クロック情報を前記リング網の第1方向へ送出し、前記第2クロック情報を前記リング網の第2方向へ送出するクロック送出部と、を含み、
前記第1のライン同期ノードの同期処理部が第1クロック情報をクロックソースとし、自装置のクロック品質の変化が検出された場合に、前記第1のライン同期ノードのクロック送出部は、第2クロック情報を用いて前記マスタクロックへの同期処理を実行させるための付加情報を前記第1クロック情報に対して設定するとともに、前記第2クロック情報に対しても設定し、前記第1クロック情報および前記第2クロック情報を、予め定められた送出間隔によらず、即時に送出し、
前記外部同期ノードのクロック送出部は、前記付加情報が設定された第2クロック情報が受信された場合に、前記付加情報が設定され、さらに外部同期ノードを通過した旨を示す通過情報が設定された第2クロック情報を前記リング網の第2方向へ送出し、
前記第2のライン同期ノードの同期処理部が第1クロック情報をクロックソースとし、前記付加情報が設定された第2クロック情報が受信された場合に、当該同期処理部は、第2クロック情報に前記通過情報が未設定であればクロックソースの切替を抑制する一方、第2クロック情報に前記通過情報が設定されていれば、第1クロック情報の受信を待つことなく、第2クロック情報をクロックソースとするよう切り替えることを特徴とする通信システム
Ri communication apparatus der installed in the ring network, is connected to the supply device of the master clock, and the external synchronizing nodes external synchronization to the master clock,
A first line synchronization node and a second line synchronization node, which are communication devices installed in the ring network,
The external synchronization node sends information for synchronizing the first and second line synchronization nodes to the master clock as first clock information to a transmission line in a first direction in the ring network, and the ring network Including a clock sending unit for sending the second clock information to the transmission line in the second direction at
The first and second line synchronization nodes are:
A clock receiver for receiving the first clock information and the second clock information supplied from the external synchronization node ;
Using at least one of the first clock information and the second clock information, a synchronization processing unit for synchronizing the operation of the own node with the master clock;
Sends a pre Symbol first clock information to the first direction of the ring network includes a clock generating portion for sending said second clock information to the second direction of the ring network,
The synchronization processing unit of the first line synchronizing node a first clock information as a clock source, if the change in the clock quality of the own apparatus is detected, the clock transmission section of the first line synchronizing node, a second The additional information for executing the synchronization processing to the master clock using the clock information is set for the first clock information and also set for the second clock information, and the first clock information and The second clock information is sent immediately regardless of a predetermined sending interval ,
The clock transmission unit of the external synchronization node sets the additional information when the second clock information in which the additional information is set is received, and further sets passing information indicating that the external synchronization node has passed. Sending the second clock information in the second direction of the ring network,
When the synchronization processing unit of the second line synchronization node receives the first clock information as a clock source and receives the second clock information in which the additional information is set, the synchronization processing unit converts the second clock information into the second clock information. If the passing information is not set, the switching of the clock source is suppressed, while if the passing information is set in the second clock information, the second clock information is clocked without waiting for the reception of the first clock information. communication system, wherein to switch between to the source.
リング網に設置された通信装置であり、マスタクロックの供給装置と接続され、前記マスタクロックに外部同期する外部同期ノードと、前記リング網に設置された通信装置である第1のライン同期ノードと第2のライン同期ノードと、が実行する方法であって、
前記外部同期ノードが、前記第1および第2のライン同期ノードを前記マスタクロックに同期させるための情報を、前記リング網における第1方向の伝送路へ第1クロック情報として送出し、前記リング網における第2方向の伝送路へ第2クロック情報として送出し、
前記第1および第2のライン同期ノードが、前記外部同期ノードから供給された前記第1クロック情報と前記第2クロック情報とを受信、前記第1クロック情報と前記第2クロック情報の少なくとも一方を用いて、自ノードの動作を前記マスタクロックに同期さ、前記第1クロック情報を前記リング網の第1方向へ送出し、前記第2クロック情報を前記リング網の第2方向へ送出
前記第1のライン同期ノードが第1クロック情報をクロックソースとし、前記第1方向の伝送路障害検出た場合に、前記第1のライン同期ノードが、第2クロック情報を用いて前記マスタクロックへの同期処理を実行させるための付加情報を前記第1クロック情報に対して設定するとともに、前記第2クロック情報に対しても設定し、
前記外部同期ノードが、前記付加情報が設定された第2クロック情報を受信した場合に、前記付加情報が設定され、さらに外部同期ノードを通過した旨を示す通過情報が設定された第2クロック情報を前記リング網の第2方向へ送出し、
前記第2のライン同期ノードが第1クロック情報をクロックソースとし、前記付加情報が設定された第2クロック情報を受信した場合に、前記第2のライン同期ノードが、第2クロック情報に前記通過情報が未設定であればクロックソースの切替を抑制する一方、第2クロック情報に前記通過情報が設定されていれば、第1クロック情報の受信を待つことなく、第2クロック情報をクロックソースとするよう切り替えることを特徴とするクロック同期方法。
A communication device installed in a ring network, connected to a master clock supply device and externally synchronized with the master clock; and a first line synchronization node as a communication device installed in the ring network; a second line synchronizing nodes, is a to that method execution,
The external synchronization node sends information for synchronizing the first and second line synchronization nodes to the master clock as first clock information to a transmission line in a first direction in the ring network, and the ring network Is sent as second clock information to the transmission line in the second direction at
Said first and second line synchronizing node, at least one of said external synchronization node said first clock information supplied from the receiving and the second clock information, the second clock information and the first clock information with, the operation of the own node is synchronized to the master clock, the pre-Symbol first clock information sent to the first direction of the ring network, the second clock information to the second direction of the ring network Send out ,
The first line synchronizing node a first clock information as a clock source, when detecting a failure in the transmission path of the first direction, the first line synchronizing node, using said second clock information The additional information for executing the synchronization processing to the master clock is set for the first clock information, and is also set for the second clock information ,
When the external synchronization node receives the second clock information in which the additional information is set, the second clock information in which the additional information is set and passing information indicating that the external synchronization node has passed is set In the second direction of the ring network,
When the second line synchronization node receives first clock information as a clock source and receives the second clock information in which the additional information is set, the second line synchronization node passes the second clock information in the second clock information. If the information is not set, the switching of the clock source is suppressed, while if the passing information is set in the second clock information, the second clock information is set as the clock source without waiting for the reception of the first clock information. clock synchronization method, wherein to switch between to.
JP2010138890A 2010-06-18 2010-06-18 Communication system and clock synchronization method Expired - Fee Related JP5465104B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010138890A JP5465104B2 (en) 2010-06-18 2010-06-18 Communication system and clock synchronization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010138890A JP5465104B2 (en) 2010-06-18 2010-06-18 Communication system and clock synchronization method

Publications (2)

Publication Number Publication Date
JP2012004925A JP2012004925A (en) 2012-01-05
JP5465104B2 true JP5465104B2 (en) 2014-04-09

Family

ID=45536382

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010138890A Expired - Fee Related JP5465104B2 (en) 2010-06-18 2010-06-18 Communication system and clock synchronization method

Country Status (1)

Country Link
JP (1) JP5465104B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104737490B (en) * 2012-11-28 2017-09-22 三菱电机株式会社 Communicator, communication system and method for synchronizing time
JP5928398B2 (en) * 2013-04-04 2016-06-01 富士通株式会社 Communication device
JP2016165034A (en) * 2015-03-06 2016-09-08 Necエンジニアリング株式会社 Synchronous network, communication device, synchronization method, and synchronization program
KR20210067743A (en) * 2019-11-29 2021-06-08 주식회사 쏠리드 Network management system and method for synchronization of communication network
CN112445658B (en) * 2020-10-30 2023-03-03 深圳云天励飞技术股份有限公司 Information synchronization method and related equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2918009B2 (en) * 1991-06-24 1999-07-12 日本電気株式会社 Clock switching method
JP3120910B2 (en) * 1992-10-12 2000-12-25 松下電器産業株式会社 Network synchronization setting method in loop type LAN
JP3104490B2 (en) * 1993-10-07 2000-10-30 松下電器産業株式会社 Dependent synchronization control method for dual loop LAN
JP2609834B2 (en) * 1995-04-11 1997-05-14 宮城日本電気株式会社 Clock switching method in ring network
JP4837439B2 (en) * 2006-05-16 2011-12-14 三菱電機株式会社 Node device, ring network system, and communication control method

Also Published As

Publication number Publication date
JP2012004925A (en) 2012-01-05

Similar Documents

Publication Publication Date Title
JP5495323B2 (en) Time synchronization device via network
JP5465104B2 (en) Communication system and clock synchronization method
JP5370870B2 (en) Method for synchronizing to a local clock in a distributed computer network
US8689035B2 (en) Communication system, communication interface, and synchronization method
CN109155788B (en) Method for fast reconfiguration of GM clocks in a TSN network by means of explicit tear-down messages
US9054823B2 (en) Synchronous network device
JP2011139198A (en) Node device
US9215092B2 (en) Clock selection for synchronous Ethernet
US6185247B1 (en) Method of reducing synchronization rearrangements in synchronous transmission systems
WO2015165192A1 (en) Time synchronization method and device
JP5266705B2 (en) Communications system
US8126102B2 (en) Communication apparatus and control method
CN113346974B (en) Method, apparatus, communication system and storage medium for clock synchronization
JP6274918B2 (en) Communications system
JP2023554065A (en) Method and apparatus for selecting a clock source
KR101973264B1 (en) Clocks timing fault recovery method and apparatus in precision time protocol system
JP2010219850A (en) Method for switching synchronization timing source of transmission communication device
WO2013097365A1 (en) Method and network device for converging master clock sources
JP3592261B2 (en) Clock path switching method
WO2021139692A1 (en) Clock port attribute recovery method, device, and system
KR100322273B1 (en) Network synchronous apparatus between master and slave nodes of switch network and method therefor
JP5806244B2 (en) Uninterrupted transmission system
FI91690C (en) Hierarchical synchronization procedure and a data traffic system that uses message-based synchronization
JP5928398B2 (en) Communication device
JP4187480B2 (en) Clock synchronous switching device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120926

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131028

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131105

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131218

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140114

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140121

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees