JP5636558B2 - Network device and communication method - Google Patents

Network device and communication method Download PDF

Info

Publication number
JP5636558B2
JP5636558B2 JP2011283977A JP2011283977A JP5636558B2 JP 5636558 B2 JP5636558 B2 JP 5636558B2 JP 2011283977 A JP2011283977 A JP 2011283977A JP 2011283977 A JP2011283977 A JP 2011283977A JP 5636558 B2 JP5636558 B2 JP 5636558B2
Authority
JP
Japan
Prior art keywords
transmission interval
time information
network device
time
main signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2011283977A
Other languages
Japanese (ja)
Other versions
JP2013135315A (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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2011283977A priority Critical patent/JP5636558B2/en
Publication of JP2013135315A publication Critical patent/JP2013135315A/en
Application granted granted Critical
Publication of JP5636558B2 publication Critical patent/JP5636558B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、ネットワーク装置に関し、特に、時刻同期を図るネットワーク装置に関する。   The present invention relates to a network device, and more particularly to a network device that achieves time synchronization.

高精度であることが要求される時刻同期方法には、例えば、携帯電話網における基地局間の時刻同期方法がある。各基地局は、他の基地局と、例えば、周波数を同期したり、又は、ハンドオーバー時に同期したりする必要がある。   As a time synchronization method required to be highly accurate, for example, there is a time synchronization method between base stations in a mobile phone network. Each base station needs to synchronize with other base stations, for example, in frequency or at the time of handover.

従来の基地局は、高精度な時刻同期を実現するため、GPS(Global Positioning System)受信アンテナを備える。そして、従来の基地局は、GPS受信アンテナによって人工衛星から送信される時刻情報を受信し、受信した時刻情報によって、自らが保持する時刻を補正する。   A conventional base station includes a GPS (Global Positioning System) receiving antenna in order to realize highly accurate time synchronization. Then, the conventional base station receives time information transmitted from the artificial satellite by the GPS receiving antenna, and corrects the time held by itself based on the received time information.

しかし、基地局の中にはGPS衛星からの電波を直接受信できない場所(例えば、地下など)に設置される基地局もあり、GPSによる時刻同期が現実的に困難なケースも存在する。   However, some base stations are installed in places (for example, underground) where radio waves from GPS satellites cannot be received directly, and there are cases where time synchronization by GPS is actually difficult.

このため、ある基地局(基地局A)においてGPS衛星からの電波を受信できない場合、基地局Aが、GPS衛星から時刻情報を受信できている基地局のうち、基地局Aの近傍の基地局(基地局B)から時刻情報を取得する技術がある。そして、基地局Aは、基地局Aと基地局Bとの時刻のズレを算出し、算出されたズレによって、基地局Aが保持する自らの時刻を補正する技術が提案されている(例えば、特許文献1参照)。   For this reason, when a certain base station (base station A) cannot receive a radio wave from a GPS satellite, a base station in the vicinity of the base station A among the base stations that can receive time information from the GPS satellite. There is a technique for acquiring time information from (base station B). Then, the base station A calculates a time difference between the base station A and the base station B, and a technique for correcting the own time held by the base station A based on the calculated time difference is proposed (for example, Patent Document 1).

しかし、特許文献1の技術を用いた場合も、相互に直接無線通信が可能な位置に、基地局Aと基地局Bとが配置されていなければならない。このため、基地局Aが基地局Bを含む他の基地局の電波を直接受信できない場所に配置されていた場合、基地局Aにおける時刻同期が現実的に困難である。   However, even when the technique of Patent Document 1 is used, the base station A and the base station B must be arranged at a position where direct wireless communication is possible. For this reason, when the base station A is arranged in a place where the radio waves of other base stations including the base station B cannot be directly received, time synchronization in the base station A is practically difficult.

一方で、基地局に収容される伝送網における信号のパケット化が、近年進展してきた。そこで、前述の時刻同期の問題をパケットの送受信を用いて対応するため、IEEE1588(例えば、非特許文献1参照)において、パケットを用いた時刻同期が検討されている。   On the other hand, packetization of signals in a transmission network accommodated in a base station has recently progressed. Therefore, in order to deal with the above-mentioned problem of time synchronization by using packet transmission / reception, time synchronization using a packet is being studied in IEEE 1588 (for example, see Non-Patent Document 1).

IEEE1588は、IEEE(The Institute of Electrical and Electronics Engineers)が提案する高精度な時刻同期方法の規格である。   IEEE 1588 is a standard for a highly accurate time synchronization method proposed by IEEE (The Institute of Electrical and Electronics Engineers).

IEEE1588のプロトコルは、各装置がPTP(Presition Time Protocol)メッセージを送受信することによって装置間の時刻同期を実現する。このため、高精度のクロック同期を必要とするネットワークにおける適用、例えば、テレコムネットワークなどにおける適用が検討され始めている。   The IEEE 1588 protocol realizes time synchronization between devices by transmitting and receiving a PTP (Presentation Time Protocol) message from each device. For this reason, applications in networks that require highly accurate clock synchronization, such as applications in telecom networks, are beginning to be considered.

また、非特許文献1に示されるように、PTPメッセージによって時刻を同期する間隔を短縮することによって、各装置における時刻の精度を高める方法も検討されている。   Further, as shown in Non-Patent Document 1, a method of improving the time accuracy in each device by shortening the time synchronization interval by the PTP message has been studied.

しかし、この時刻を同期する間隔を短縮する方法は、主信号を送受信するための帯域に対する、PTPメッセージを送受信するための帯域の比率を高め、ネットワーク負荷を増大させるという課題を生じる。   However, the method of shortening the time synchronization interval raises the problem of increasing the ratio of the band for transmitting / receiving the PTP message to the band for transmitting / receiving the main signal and increasing the network load.

なお、ここで主信号とは、各装置を用いるユーザが、各装置を介して装置又はシステムに要求した情報、及び、ユーザの要求を示す情報等を含む信号である。ネットワークシステムにおける主信号は、要求元の装置又は要求先の装置に確実に送受信される必要がある。   Here, the main signal is a signal including information requested by the user who uses each device to the device or system via each device, information indicating the user's request, and the like. The main signal in the network system needs to be reliably transmitted / received to / from the requesting device or the requesting device.

PTPメッセージの送信間隔を延長し、時刻を同期する間隔を長くする方法は、主信号を送受信するための帯域に対するPTPメッセージを送受信するための帯域の比率を低下させ、ネットワーク負荷を低減させる。しかし、時刻同期の精度を低下させ、各装置における時刻の誤差を拡大してしまうという課題を生じる。   The method of extending the PTP message transmission interval and increasing the time synchronization interval reduces the ratio of the band for transmitting and receiving the PTP message to the band for transmitting and receiving the main signal, and reduces the network load. However, there arises a problem that the accuracy of time synchronization is lowered and the time error in each device is enlarged.

特開2010−273148号公報JP 2010-273148 A

Silvana Rodrigues、Antti Pietilainen、"IEEE−1588TM Telecommunications Applications"、[online]、2011年7月20日、NIST、[平成23年12月6日検索]、インターネット、<URL:http://www.nist.gov/el/isd/ieee/upload/tutorial-telcom.pdf>Silvana Rodrigues, Anti-Pietilainen, "IEEE-1588TM Telecommunications Applications", [online], July 20, 2011, NIST, [December 6, 2011 search], Internet, <URL: http: //www.nist .gov / el / isd / ieee / upload / tutorial-telcom.pdf>

例えば、メディアコンバータなどの限りなく100%の主信号のスループットが求められる専用線装置が、PTPメッセージの送信間隔を短縮することによって高精度な時刻同期を実現する場合、主信号の帯域に占めるPTPメッセージの帯域の比率が高まる。この結果、主信号に用いられるトラフィックの帯域が制限され、主信号のスループットが劣化するという課題がある。   For example, when a dedicated line device such as a media converter that requires 100% main signal throughput realizes highly accurate time synchronization by shortening the transmission interval of PTP messages, PTP occupying the band of the main signal Increases the message bandwidth ratio. As a result, there is a problem that the bandwidth of traffic used for the main signal is limited and the throughput of the main signal deteriorates.

また、逆に、PTPメッセージ送信間隔を長くした場合、主信号を送受信するための帯域は確保されるが、時刻同期の精度が低下し、各装置における時刻の誤差が拡大するという課題がある。   Conversely, when the PTP message transmission interval is increased, a band for transmitting and receiving the main signal is secured, but there is a problem that the accuracy of time synchronization is lowered and the time error in each device is increased.

本発明は以上の点に鑑み、IEEE1588プロトコルを用いて時刻同期を行う装置を、冗長に構成することによって、各装置における時刻の誤差をあらかじめ指定された範囲内に収め、かつ、PTPメッセージが消費する帯域を最適化することを目的とする。   In view of the above, the present invention is configured by redundantly configuring devices that perform time synchronization using the IEEE 1588 protocol, so that the time error in each device falls within a predetermined range and the PTP message is consumed. The purpose is to optimize the bandwidth to be used.

本発明の代表的な一形態によると、上位ネットワーク装置から信号を送信され、下位ネットワーク装置に信号を送信するネットワーク装置であって、前記ネットワーク装置は、プロセッサ、メモリ、第1のネットワークインタフェース、及び、第2のネットワークインタフェースを備え、第1の送信間隔において前記上位ネットワーク装置から送信された時刻情報と主信号とを含む信号を、前記第1のネットワークインタフェースを介して受信し、前記第1のネットワークインタフェースを介して受信した時刻情報に基づいて補正された前記ネットワーク装置における時刻を、第1の時刻情報として前記メモリに保持し、前記第1のネットワークインタフェースを介して受信した主信号を、前記下位ネットワーク装置に送信し、前記第1の送信間隔より短い第2の送信間隔において前記上位ネットワーク装置から送信された時刻情報と主信号とを、前記第2のネットワークインタフェースを介して受信し、前記第2のネットワークインタフェースを介して受信した時刻情報に基づいて補正された、前記ネットワーク装置における時刻を、第2の時刻情報として前記メモリに保持し、前記第1の時刻情報と前記第2の時刻情報との差を算出し、前記算出された差が、所定の上限値を上回るか、又は、所定の下限値を下回る場合、前記第1の送信間隔の更新を、前記上位ネットワーク装置に指示する。   According to a representative aspect of the present invention, a network device that receives a signal from an upper network device and transmits a signal to the lower network device, the network device including a processor, a memory, a first network interface, and A second network interface, receiving a signal including time information and a main signal transmitted from the higher-level network device in a first transmission interval via the first network interface; The time in the network device corrected based on the time information received via the network interface is held in the memory as first time information, and the main signal received via the first network interface is To the lower-level network device and the first transmission Time information and main signal transmitted from the higher-level network device in a second transmission interval shorter than the interval are received via the second network interface, and time information received via the second network interface. The time corrected in accordance with the network device is stored in the memory as second time information, the difference between the first time information and the second time information is calculated, and the calculated If the difference exceeds a predetermined upper limit value or falls below a predetermined lower limit value, the upper network device is instructed to update the first transmission interval.

本発明によると、冗長構成をとるIEEE1588プロトコルを用いた時刻同期の構成において、PTPメッセージが消費する帯域を最適化できる。   According to the present invention, the bandwidth consumed by the PTP message can be optimized in the time synchronization configuration using the IEEE 1588 protocol having a redundant configuration.

本発明の実施形態の時刻同期システムを示すブロック図である。It is a block diagram which shows the time synchronization system of embodiment of this invention. 本発明の実施形態の時刻同期機能のOLTの物理的な構成を示すブロック図である。It is a block diagram which shows the physical structure of OLT of the time synchronization function of embodiment of this invention. 本発明の実施形態のIEEE1588プロトコルにおける時刻同期の処理を示すシーケンス図である。It is a sequence diagram which shows the process of the time synchronization in the IEEE1588 protocol of embodiment of this invention. 本発明の実施形態の上位NW装置と運用系OSUとの間のPTPメッセージ、及び、上位NW装置と待機系OSUとの間のPTPメッセージを示すシーケンス図である。It is a sequence diagram which shows the PTP message between the high-order NW apparatus and active OSU of embodiment of this invention, and the PTP message between a high-order NW apparatus and standby | waiting OSU. 本発明の実施形態の上位NW装置及びOLTの処理部を示すブロック図である。It is a block diagram which shows the high-order NW apparatus and processing part of OLT of embodiment of this invention. 本発明の実施形態のOLT及びONUの処理部を示すブロック図である。It is a block diagram which shows the processing part of OLT and ONU of embodiment of this invention. 本発明の実施形態の運用系OSUが保持するOLTにおける時刻の誤差が所定の範囲内である場合の時刻補正の処理を示すシーケンス図である。It is a sequence diagram which shows the process of time correction | amendment when the time difference | error in OLT which the operation type OSU of embodiment of this invention hold | maintains is in a predetermined range. 本発明の実施形態の運用系OSUが保持するOLTにおける時刻の誤差が所定の範囲外である場合の時刻補正の処理を示すシーケンス図である。It is a sequence diagram which shows the process of time correction | amendment when the time difference | error in OLT which the operation type OSU of embodiment of this invention hold | maintains is outside a predetermined range. 本発明の実施形態の上位NW装置とOLTとの間で送受信する送信間隔調整用メッセージのフォーマットを示す説明図である。It is explanatory drawing which shows the format of the message for transmission interval adjustment transmitted / received between the high-order NW apparatus and OLT of embodiment of this invention.

本実施形態の装置間で時刻同期を行う各装置は、時刻同期を行う装置を少なくとも二つ備える。これによって、時刻の誤差をあらかじめ指定された範囲内に収める。   Each device that performs time synchronization between the devices of this embodiment includes at least two devices that perform time synchronization. As a result, the time error falls within a range specified in advance.

図1は、本発明の実施形態の時刻同期を行う装置を示すブロック図である。   FIG. 1 is a block diagram showing an apparatus for performing time synchronization according to an embodiment of the present invention.

図1に示す各装置は、階層的に構成された時刻同期網に備わる装置である。本実施形態における時刻同期網は、上位NW(Net Work)装置1、複数のONU(Optical Network Unit)3、及び、複数のOLT(Optical Line Terminal)2を備える。図1に示す各装置は、時刻同期網において階層的に接続される。   Each device shown in FIG. 1 is a device provided in a time synchronization network configured hierarchically. The time synchronization network according to the present embodiment includes a host network (NW) device 1, a plurality of ONUs (Optical Network Units) 3, and a plurality of OLTs (Optical Line Terminal) 2. Each device shown in FIG. 1 is hierarchically connected in a time synchronization network.

上位NW装置1は、OLT2との時刻同期においてIEEE1588のMaster機能を持つ装置である。すなわち、上位NW装置1は、基準となる時刻を示す時刻情報をPTPメッセージによって、OLT2に送信する。OLT2は、上位NW装置1との時刻同期においてIEEE1588のSlave機能を持つ装置である。   The host NW device 1 is a device having an IEEE 1588 Master function in time synchronization with the OLT 2. That is, the upper NW device 1 transmits time information indicating a reference time to the OLT 2 by a PTP message. The OLT 2 is a device having an IEEE 1588 Slave function in time synchronization with the host NW device 1.

また、OLT2は、ONU3とOLT2との時刻同期における、IEEE1588のMaster機能を持つ装置である。OLT2は、上位NW装置1から送信された時刻情報に基づいて更新された時刻情報を、基準となる時刻を示す時刻情報として、PTPメッセージによってONU3に送信する。ONU3は、OLT2とONU3との時刻同期における、IEEE1588のSlave機能を持つ装置である。   The OLT 2 is a device having an IEEE 1588 Master function in time synchronization between the ONU 3 and the OLT 2. The OLT 2 transmits the time information updated based on the time information transmitted from the upper NW device 1 to the ONU 3 by a PTP message as time information indicating a reference time. The ONU 3 is a device having an IEEE 1588 Slave function in time synchronization between the OLT 2 and the ONU 3.

なお、以降において、Master機能を持つ装置をMaster装置と記載する。また、Slave機能を持つ装置をSlave装置と記載する。   Hereinafter, a device having a Master function is referred to as a Master device. An apparatus having a slave function is referred to as a slave apparatus.

上位NW装置1は、GPSアンテナ6を備える。そして、上位NW装置1は、GPSアンテナ6によって、GPS衛星4からGPS信号5を受信する。GPS信号5には、基準となる時刻が含まれる。上位NW装置1は、基準となる時刻を示す時刻情報を含むPTPメッセージを生成する。   The host NW device 1 includes a GPS antenna 6. The host NW device 1 receives the GPS signal 5 from the GPS satellite 4 by the GPS antenna 6. The GPS signal 5 includes a reference time. The host NW device 1 generates a PTP message including time information indicating a reference time.

また、上位NW装置1は、主信号NW網7と接続するためのインタフェースを備え、インタフェースを介して主信号NW網7から主信号を受信する。そして、上位NW装置1は、生成されたPTPメッセージと受信した主信号とを重畳データ10に含め、重畳データ10をOLT2に送信する。また、OLT2から送信される重畳データ10から、PTPメッセージと主信号とを分離する。   The host NW device 1 includes an interface for connecting to the main signal NW network 7 and receives the main signal from the main signal NW network 7 via the interface. Then, the upper NW device 1 includes the generated PTP message and the received main signal in the superimposed data 10 and transmits the superimposed data 10 to the OLT 2. Further, the PTP message and the main signal are separated from the superimposed data 10 transmitted from the OLT 2.

なお、本実施形態において、主信号とPTPメッセージとを含むデータを重畳データ10と記載する。   In the present embodiment, data including the main signal and the PTP message is referred to as superimposed data 10.

OLT2は、PTPメッセージを上位NW装置1から受信した場合、PTPメッセージに含まれる時刻情報に基づいて、OLT2における時刻を補正する。これによって、OLT2は、上位NW装置1の時刻に追従して動作することができる。   When the OLT 2 receives the PTP message from the upper NW device 1, the OLT 2 corrects the time in the OLT 2 based on the time information included in the PTP message. As a result, the OLT 2 can operate following the time of the host NW device 1.

OLT2は、時刻同期における上位NW装置1と同じく、基準となる時刻を示す時刻情報を含むPTPメッセージを生成する。そして、生成されたPTPメッセージと主信号とを含む重畳データ10を、各ONU3に送信する。   The OLT 2 generates a PTP message including time information indicating a reference time, similar to the upper NW device 1 in time synchronization. Then, the superimposed data 10 including the generated PTP message and the main signal is transmitted to each ONU 3.

そして、各ONU3は、PTPメッセージをOLT2から受信した場合、PTPメッセージに含まれる時刻情報に基づいて、ONU3における時刻を補正する。これによって、ONU3は、OLT2の時刻に追従して動作することができる。   When each ONU 3 receives a PTP message from the OLT 2, each ONU 3 corrects the time in the ONU 3 based on time information included in the PTP message. As a result, the ONU 3 can operate following the time of the OLT 2.

なお、以下に示す本実施形態の時刻同期網は、図1に示す上位NW装置1、OLT2、及びONU3を備えるネットワークである。しかし、本実施形態の時刻同期網は、いずれの装置を備えるネットワークであってもよく、例えば、ルータ等のネットワーク装置が階層的に接続されたネットワークでもよい。   The time synchronization network of the present embodiment shown below is a network including the upper NW device 1, the OLT 2, and the ONU 3 shown in FIG. However, the time synchronization network of the present embodiment may be a network including any device, for example, a network in which network devices such as routers are hierarchically connected.

図2は、本発明の実施形態の時刻同期機能のOLT2の物理的な構成を示すブロック図である。   FIG. 2 is a block diagram illustrating a physical configuration of the OLT 2 of the time synchronization function according to the embodiment of this invention.

図2に示すOLT2は、運用系OSU(Optical Subscriber Unit)20、待機系OSU21及びセレクタ部22を備え、重畳データ10を受信するための冗長構成を備える。OLT2は、少なくとも二つのネットワークインタフェースを備え、OLT2に備わる各ネットワークインタフェースは、運用系OSU20及び待機系OSU21に接続される。   The OLT 2 illustrated in FIG. 2 includes an operational OSU (Optical Subscriber Unit) 20, a standby OSU 21, and a selector unit 22, and has a redundant configuration for receiving the superimposed data 10. The OLT 2 includes at least two network interfaces, and each network interface included in the OLT 2 is connected to the active OSU 20 and the standby OSU 21.

また、上位NW装置1とOLT2とを接続する伝送路は、上位NW装置1と運用系OSU20とを接続するための伝送路と、上位NW装置1と待機系OSU21とを接続するための伝送路との二つである。各伝送路は、異なるネットワークインタフェースを経由する。   Further, the transmission path for connecting the upper NW device 1 and the OLT 2 is a transmission path for connecting the upper NW device 1 and the active OSU 20 and a transmission path for connecting the upper NW device 1 and the standby OSU 21. And two. Each transmission path goes through a different network interface.

図2に示すOLT2は、少なくとも一つの伝送路によってONU3と接続する。   The OLT 2 shown in FIG. 2 is connected to the ONU 3 through at least one transmission line.

運用系OSU20は、IEEE1588のSlave機能及びMaster機能を有する。運用系OSU20は、上位NW装置1から受信するPTPメッセージの受信と、上位NW装置1へ送信するPTPメッセージの生成とを行う。また、ONU3から受信するPTPメッセージの受信と、ONU3へ送信するPTPメッセージの生成とを行う。   The active OSU 20 has an IEEE 1588 Slave function and a Master function. The active OSU 20 receives a PTP message received from the upper NW device 1 and generates a PTP message to be transmitted to the upper NW device 1. Also, it receives a PTP message received from the ONU 3 and generates a PTP message to be sent to the ONU 3.

また、運用系OSU20は、上位NW装置1又はONU3から受信した重畳データ10を、PTPメッセージと主信号とに分離し、さらに、PTPメッセージと主信号とを含む重畳データ10をセレクタ部22又は上位NW装置1に送信する。   Further, the operational OSU 20 separates the superimposition data 10 received from the upper NW device 1 or the ONU 3 into a PTP message and a main signal, and further converts the superimposition data 10 including the PTP message and the main signal into the selector unit 22 or the upper signal. Transmit to the NW device 1.

待機系OSU21は、運用系OSU20と同じ装置である。   The standby OSU 21 is the same device as the active OSU 20.

セレクタ部22は、各ONU3へ重畳データ10を送信する。セレクタ部22は、運用系OSU20とセレクタ部22とを接続する伝送路、又は、待機系OSU21とセレクタ部22とを接続する伝送路を、主信号伝送路として選択する。   The selector unit 22 transmits the superimposed data 10 to each ONU 3. The selector unit 22 selects a transmission line connecting the active OSU 20 and the selector unit 22 or a transmission line connecting the standby OSU 21 and the selector unit 22 as a main signal transmission line.

そして、セレクタ部22は、主信号を含む重畳データ10を受信した場合、主信号伝送路から送信された重畳データ10であるか否かを判定する。そして、判定の結果に基づいて、主信号伝送路から送信された重畳データ10をONU3に送信する。また、判定の結果に基づいて、主信号伝送路から送信されていない重畳データ10を廃棄又は保持する。   And the selector part 22 determines whether it is the superimposition data 10 transmitted from the main signal transmission line, when the superimposition data 10 containing a main signal is received. Based on the determination result, the superimposed data 10 transmitted from the main signal transmission path is transmitted to the ONU 3. Further, based on the determination result, the superimposed data 10 that has not been transmitted from the main signal transmission path is discarded or held.

さらに、セレクタ部22は、各ONU3から重畳データ10を受信した場合、主信号伝送路によってセレクタ部22と接続されるOSUに、各ONU3から受信した重畳データ10を送信する。   Furthermore, when the superimposition data 10 is received from each ONU 3, the selector unit 22 transmits the superimposition data 10 received from each ONU 3 to the OSU connected to the selector unit 22 through the main signal transmission path.

ここで、本実施形態の冗長化構成における運用系及び待機系について説明する。本実施形態における冗長化構成とは、例えば、OLT2などの装置内の一部に障害が発生した場合にOLT2の機能を維持し続けるための構成であり、OLT2がバックアップ用のシステムを備えることである。   Here, the active system and the standby system in the redundant configuration of this embodiment will be described. The redundant configuration in the present embodiment is a configuration for maintaining the function of the OLT 2 when a failure occurs in a part of the device such as the OLT 2, and the OLT 2 includes a backup system. is there.

本実施形態における運用系OSU20は、運用系OSU20において障害が発生していない場合に、主信号をONU3へ転送する中継機である。セレクタ部22は、運用系OSU20において障害が発生していない場合、運用系OSU20からセレクタ部22への伝送路を主信号伝送路として選択する。これによって、運用系OSU20に障害が発生していない場合、運用系OSU20からセレクタ部22に送信された重畳データ10は、セレクタ部22によってONU3へ転送される。   The active OSU 20 in this embodiment is a relay device that transfers the main signal to the ONU 3 when no failure has occurred in the active OSU 20. The selector unit 22 selects a transmission path from the active OSU 20 to the selector unit 22 as a main signal transmission path when no failure has occurred in the active OSU 20. As a result, when there is no failure in the active OSU 20, the superimposed data 10 transmitted from the active OSU 20 to the selector unit 22 is transferred to the ONU 3 by the selector unit 22.

また、本実施形態における待機系OSU21は、運用系OSU20において障害が発生した場合、運用系OSU20に代わって動作する装置である。セレクタ部22は、運用系OSU20において障害が発生した場合、待機系OSU21からセレクタ部22への伝送路を主信号伝送路として選択する。これによって、運用系OSU20に障害が発生した場合、待機系OSU21からセレクタ部22に送信された重畳データ10は、セレクタ部22によってONU3へ転送される。   The standby OSU 21 in this embodiment is a device that operates in place of the active OSU 20 when a failure occurs in the active OSU 20. The selector unit 22 selects a transmission path from the standby OSU 21 to the selector unit 22 as a main signal transmission path when a failure occurs in the active OSU 20. As a result, when a failure occurs in the active OSU 20, the superimposed data 10 transmitted from the standby OSU 21 to the selector unit 22 is transferred to the ONU 3 by the selector unit 22.

すなわち、本実施形態において、運用系OSU20は、上位NW装置1及びONU3間でデータを送信するための中継機であり、待機系OSU21は、運用系OSU20に障害が発生した際に運用系OSU20のバックアップとして動作する中継機である。   That is, in the present embodiment, the active OSU 20 is a relay device for transmitting data between the upper NW device 1 and the ONU 3, and the standby OSU 21 is connected to the active OSU 20 when a failure occurs in the active OSU 20. It is a repeater that operates as a backup.

このため、運用系OSU20において障害が発生していない場合、待機系OSU21は、上位NW装置1又はONU3に主信号を送信する必要はない。このため、運用系OSU20において障害が発生していない場合において、待機系OSU21が上位NW装置1からPTPメッセージを受信することによる時刻同期を主に行っても、OLT2の主信号を中継する機能に影響はない。   For this reason, when no failure has occurred in the active OSU 20, the standby OSU 21 does not need to transmit a main signal to the host NW device 1 or the ONU 3. For this reason, when there is no failure in the active OSU 20, even if the standby OSU 21 mainly performs time synchronization by receiving the PTP message from the host NW device 1, the function of relaying the main signal of the OLT 2 is provided. There is no effect.

本実施形態のOLT2は、このような待機系OSU21によって精度の高い時刻同期を行う。   The OLT 2 of the present embodiment performs highly accurate time synchronization by using such a standby OSU 21.

図3は、本発明の実施形態のIEEE1588プロトコルにおける時刻同期の処理を示すシーケンス図である。   FIG. 3 is a sequence diagram showing a time synchronization process in the IEEE 1588 protocol according to the embodiment of this invention.

図3は、Master装置8とSlave装置9との間のIEEE1588プロトコルによる時刻同期処理、及び、Master機能を有する装置とSlave機能を有する装置との間のPTPメッセージ送信の時間間隔を示す。   FIG. 3 shows a time synchronization process between the master apparatus 8 and the slave apparatus 9 according to the IEEE 1588 protocol, and a time interval of PTP message transmission between the apparatus having the master function and the apparatus having the slave function.

伝送路によって接続されたMaster装置8とSlave装置9との間でデータを送受信する場合、一方の装置から送信されたデータは、Master装置8とSlave装置9との間の伝送距離に従って遅延して相手装置に到達する。ここで発生するデータの遅延時間を、伝送路遅延と記載する。   When data is transmitted / received between the master device 8 and the slave device 9 connected by the transmission path, the data transmitted from one device is delayed according to the transmission distance between the master device 8 and the slave device 9. Reach the other device. The data delay time generated here is referred to as a transmission line delay.

時刻情報を含むデータをMaster装置8が送信した場合、Slave装置9は、送信されたデータを処理するために伝送路遅延分の遅れを考慮する必要がある。IEEE1588は、Master装置8とSlave装置9との間の時刻のずれと伝送路遅延とを検出し、検出された時刻のずれと伝送路遅延とを用いて時刻を補正する方法を提案している。   When the master device 8 transmits data including time information, the slave device 9 needs to consider a delay corresponding to the transmission path delay in order to process the transmitted data. IEEE 1588 proposes a method for detecting a time lag and a transmission line delay between the master device 8 and the slave device 9 and correcting the time using the detected time lag and the transmission line delay. .

図3に示すMaster装置8は、IEEE1588プロトコルに従ってPTPメッセージ送信間隔14ごとにPTPメッセージを送信する。ここで、PTPメッセージ送信間隔14は、Master装置8があらかじめ保持する時間間隔である。   The Master apparatus 8 shown in FIG. 3 transmits a PTP message at every PTP message transmission interval 14 in accordance with the IEEE 1588 protocol. Here, the PTP message transmission interval 14 is a time interval that the Master device 8 holds in advance.

Master装置8は、PTPメッセージ送信間隔14の時間の長さを示す情報を含むPTPメッセージをSlave装置9に送信する。Slave装置9は、受信したPTPメッセージの内容と、受信したPTPメッセージに含まれるPTPメッセージ送信間隔14とに従って、PTPメッセージを生成する。そして、生成されたPTPメッセージをMaster装置8に送信する。   The master device 8 transmits a PTP message including information indicating the length of time of the PTP message transmission interval 14 to the slave device 9. The slave device 9 generates a PTP message according to the content of the received PTP message and the PTP message transmission interval 14 included in the received PTP message. Then, the generated PTP message is transmitted to the master device 8.

Master装置8は、IEEE1588プロトコルを起動するタイミングにおいて、IEEE1588プロトコルを起動する時刻を時刻情報t1として、Master装置8に備わるメモリに格納する。そして、Master装置8は、時刻情報t1を含むSyncメッセージ11を生成し、生成されたSyncメッセージ11をSlave装置9へ送信する。   The master device 8 stores the time at which the IEEE 1588 protocol is activated as time information t1 in the memory provided in the master device 8 at the timing at which the IEEE 1588 protocol is activated. Then, the Master device 8 generates a Sync message 11 including the time information t1, and transmits the generated Sync message 11 to the Slave device 9.

なお、Syncメッセージ11は、PTPメッセージである。   The Sync message 11 is a PTP message.

Slave装置9は、Syncメッセージ11を受信した場合、Syncメッセージ11を受信した時刻を時刻情報t2として、Slave装置9に備わるメモリに格納する。これによって、Slave装置9は、Syncメッセージ11から時刻情報t1を取得し、Syncメッセージ11を受信した時刻を示す時刻情報t2を取得する。   When the slave device 9 receives the sync message 11, the slave device 9 stores the time at which the sync message 11 is received as time information t <b> 2 in a memory provided in the slave device 9. As a result, the slave device 9 acquires time information t1 from the Sync message 11, and acquires time information t2 indicating the time when the Sync message 11 is received.

Slave装置9は、時刻情報t1と時刻情報t2との間の差を算出する。これによって、Master装置8における時刻とSlave装置9における時刻とのずれ、及び、伝送路遅延の和の時間を算出することができる。なお、ここで算出される時刻のずれと伝送路遅延との和は、Master装置8からSlave装置9への方向の伝送路遅延に対応する。   The slave device 9 calculates a difference between the time information t1 and the time information t2. As a result, it is possible to calculate the time difference between the time in the master device 8 and the time in the slave device 9 and the sum of the transmission path delays. Note that the sum of the time lag calculated here and the transmission line delay corresponds to the transmission line delay in the direction from the Master device 8 to the Slave device 9.

Syncメッセージ11を受信した後、Slave装置9は、Delay_Reqメッセージ12を生成し、生成されたDelay_Reqメッセージ12をMaster装置8へ送信する。Delay_Reqメッセージ12を送信する際、Slave装置9は、Delay_Reqメッセージ12を送信する時刻を時刻情報t3として、Slave装置9が備えるメモリに格納する。   After receiving the Sync message 11, the Slave device 9 generates a Delay_Req message 12 and transmits the generated Delay_Req message 12 to the Master device 8. When transmitting the Delay_Req message 12, the Slave device 9 stores the time at which the Delay_Req message 12 is transmitted as time information t3 in a memory included in the Slave device 9.

なお、Delay_Reqメッセージ12は、PTPメッセージである。   The Delay_Req message 12 is a PTP message.

Master装置8は、Delay_Reqメッセージ12を受信した場合、Delay_Reqメッセージ12を受信した時刻を時刻情報t4として含むDelay_Respメッセージ13を生成する。そして、生成されたDelay_Respメッセージ13をSlave装置9に送信する。   When receiving the Delay_Req message 12, the Master device 8 generates a Delay_Resp message 13 including the time when the Delay_Req message 12 is received as time information t4. Then, the generated Delay_Resp message 13 is transmitted to the slave device 9.

なお、Delay_Respメッセージ13は、PTPメッセージである。   The Delay_Resp message 13 is a PTP message.

Slave装置9は、Delay_Reqメッセージ12を送信した時刻を示す時刻情報t3を取得する。そして、Slave装置9は、Delay_Respメッセージ13を受信した場合、Master装置8がDelay_Reqメッセージ12を受信した時刻を示す時刻情報t4を取得する。   The slave device 9 acquires time information t3 indicating the time when the Delay_Req message 12 is transmitted. Then, when receiving the Delay_Resp message 13, the slave device 9 acquires time information t <b> 4 indicating the time when the Master device 8 receives the Delay_Req message 12.

Slave装置9は、時刻情報t3と時刻情報t4との間の差を算出することによって、Master装置8における時刻とSlave装置9における時刻とのずれ、及び、伝送路遅延の和の時間を算出することができる。なお、ここで算出される時刻のずれと伝送路遅延との和は、Slave装置9からMaster装置8への方向の伝送路遅延に対応する。   The slave device 9 calculates a difference between the time information t3 and the time information t4, thereby calculating a time difference between the time in the master device 8 and the time in the slave device 9 and the sum of the transmission line delays. be able to. The sum of the time lag and the transmission path delay calculated here corresponds to the transmission path delay in the direction from the slave device 9 to the master device 8.

また、時刻情報t3及び時刻情報t4の差と、時刻情報t1及び時刻情報t2の差との和は、伝送路遅延の二倍の時間に相当する。また、時刻情報t3及び時刻情報t4の差と、時刻情報t1及び時刻情報t2の差との差は、Master装置8における時刻とSlave装置9における時刻とのずれの二倍の時間に相当する。   The sum of the difference between the time information t3 and the time information t4 and the difference between the time information t1 and the time information t2 corresponds to a time twice as long as the transmission line delay. The difference between the time information t3 and the time information t4 and the difference between the time information t1 and the time information t2 correspond to twice the time between the time at the master device 8 and the time at the slave device 9.

IEEE1588プロトコルによる遅延算出方法は、Master装置8からSlave装置9への方向、及び、Slave装置9からMaster装置8への方向の両方向の伝送路遅延が同じであると仮定し、片方向の伝送路遅延を算出することによって時刻同期を実現する方法である。   The delay calculation method according to the IEEE 1588 protocol assumes that the transmission path delays in both directions in the direction from the Master apparatus 8 to the Slave apparatus 9 and in the direction from the Slave apparatus 9 to the Master apparatus 8 are the same. This is a method for realizing time synchronization by calculating a delay.

すなわち、Slave装置9は、伝送路遅延を式(1)によって、Master装置8とSlave装置9との間の時間差(時刻のずれ)を式(2)に求めることができる。   That is, the slave device 9 can obtain the time difference (time shift) between the master device 8 and the slave device 9 in equation (2) by equation (1) for the transmission path delay.

{(t2−t1)+(t4−t3)}/2=伝送路遅延 (1)
{(t2−t1)−(t4−t3)}/2=Master装置8とSlave装置9との間の時間差 (2)
Slave装置9は、式(1)及び式(2)によって求められる、Master装置8における時刻とSlave装置9における時刻との間の伝送路遅延と、Master装置8とSlave装置9との間の時間差とを用いて、Slave装置9における時刻をMaster装置8における時刻に従属して動作することができる。
{(T2-t1) + (t4-t3)} / 2 = transmission path delay (1)
{(T2−t1) − (t4−t3)} / 2 = time difference between the Master device 8 and the Slave device 9 (2)
The slave device 9 determines the transmission path delay between the time at the master device 8 and the time at the slave device 9, and the time difference between the master device 8 and the slave device 9, which is obtained by the equations (1) and (2). The time in the slave device 9 can be operated depending on the time in the master device 8.

図4は、本発明の実施形態の上位NW装置1と運用系OSU20との間のPTPメッセージ、及び、上位NW装置1と待機系OSU21との間のPTPメッセージを示すシーケンス図である。   FIG. 4 is a sequence diagram illustrating a PTP message between the upper NW device 1 and the active OSU 20 and a PTP message between the upper NW device 1 and the standby OSU 21 according to the embodiment of this invention.

図4に示す上位NW装置1及び運用系OSU20は、運用系PTPメッセージ送信間隔15によって、時刻同期を行う。具体的には、上位NW装置1及び運用系OSU20は、図3に示すSyncメッセージ11、Delay_Reqメッセージ12、及び、Delay_Respメッセージ13を、運用系PTPメッセージ送信間隔15において送受信する。   The host NW device 1 and the active OSU 20 shown in FIG. 4 perform time synchronization according to the active PTP message transmission interval 15. Specifically, the upper NW device 1 and the active OSU 20 transmit and receive the Sync message 11, Delay_Req message 12, and Delay_Resp message 13 shown in FIG. 3 at the active PTP message transmission interval 15.

さらに、図4に示す上位NW装置1及び待機系OSU21は、待機系PTPメッセージ送信間隔16によって、時刻同期を行う。具体的には、上位NW装置1及び待機系OSU21は、図3に示すSyncメッセージ11、Delay_Reqメッセージ12、及び、Delay_Respメッセージ13を、待機系PTPメッセージ送信間隔16によって送受信する。   Further, the upper NW device 1 and the standby OSU 21 shown in FIG. 4 perform time synchronization at the standby PTP message transmission interval 16. Specifically, the host NW device 1 and the standby OSU 21 transmit and receive the Sync message 11, the Delay_Req message 12, and the Delay_Resp message 13 shown in FIG. 3 at the standby PTP message transmission interval 16.

本実施形態における運用系PTPメッセージ送信間隔15は、待機系PTPメッセージ送信間隔16より長い時間間隔である。なお、図4に示す白丸は、PTPメッセージを生成した装置を示し、黒丸は、PTPメッセージを受信した装置を示す。   The active PTP message transmission interval 15 in this embodiment is a longer time interval than the standby PTP message transmission interval 16. Note that white circles shown in FIG. 4 indicate devices that have generated PTP messages, and black circles indicate devices that have received PTP messages.

図3において前述した通り、IEEE1588プロトコルによる時刻同期シーケンスは、PTPメッセージを送受信することによって時刻同期を実現しており、PTPメッセージは、Master装置8に保持されるPTPメッセージ送信間隔14において送受信される。また、上位NW装置1とONU3との間における主信号の転送は、運用系OSU20において障害が発生していない場合、運用系OSU20が実行する。   As described above with reference to FIG. 3, the time synchronization sequence according to the IEEE 1588 protocol realizes time synchronization by transmitting and receiving PTP messages, and the PTP messages are transmitted and received at the PTP message transmission interval 14 held in the Master device 8. . Further, the transfer of the main signal between the upper NW device 1 and the ONU 3 is executed by the active OSU 20 when no failure has occurred in the active OSU 20.

運用系OSU20が主信号の転送を行っている間、待機系OSU21は、主に、PTPメッセージによる時刻同期を行う。このため、待機系OSU21が送受信するPTPメッセージによってネットワーク帯域が逼迫した場合においても、運用系OSU20による上位NW装置1又はONU3への主信号の転送には、影響が無い。   While the active OSU 20 transfers the main signal, the standby OSU 21 mainly performs time synchronization by the PTP message. For this reason, even when the network bandwidth is tight due to the PTP message transmitted / received by the standby OSU 21, there is no effect on the transfer of the main signal to the upper NW device 1 or the ONU 3 by the active OSU 20.

運用系PTPメッセージ送信間隔15は、PTPメッセージを送受信するための帯域が主信号を送受信するための帯域に与える影響を少なくするため、より長い時間間隔、すなわち、低頻度になるようにMaster装置8にあらかじめ設定される。   In order to reduce the influence of the band for transmitting and receiving the PTP message on the band for transmitting and receiving the main signal, the active PTP message transmission interval 15 is set to a longer time interval, that is, the master device 8 so that the frequency is lower. Is preset.

また、待機系PTPメッセージ送信間隔16は、運用系PTPメッセージ送信間隔15よりも短い時間間隔、すなわち、高頻度となるようにMaster装置8に設定されている。このため、待機系OSU21による時刻同期は、運用系OSU20による時刻同期と比べて高精度である。   Further, the standby PTP message transmission interval 16 is set in the Master device 8 so as to be shorter than the active PTP message transmission interval 15, that is, at a high frequency. For this reason, the time synchronization by the standby OSU 21 is more accurate than the time synchronization by the active OSU 20.

図5Aは、本発明の実施形態の上位NW装置1及びOLT2の処理部を示すブロック図である。   FIG. 5A is a block diagram illustrating processing units of the upper NW device 1 and the OLT 2 according to the embodiment of this invention.

図5Aと、後述する図5Bは、図2に示す上位NW装置1、OLT2及びONU3に備わる各処理部を示す。図5Aに示すOLT2の処理部は、上位NW装置1と重畳データ10を送受信するためのOLT2の処理部である。また、図5Aに示すOLT2の処理部は、上位NW装置1と時刻同期をするための処理部である。   FIG. 5A and FIG. 5B described later show the processing units included in the upper NW device 1, the OLT 2, and the ONU 3 shown in FIG. The processing unit of the OLT 2 illustrated in FIG. 5A is a processing unit of the OLT 2 for transmitting and receiving the superimposition data 10 to and from the upper NW device 1. Further, the processing unit of the OLT 2 illustrated in FIG. 5A is a processing unit for performing time synchronization with the upper NW device 1.

上位NW装置1は、時刻同期において基準となる時刻の時刻情報を保持する。上位NW装置1は、運用系ポート17、及び、待機系ポート18を備える。運用系ポート17、及び、待機系ポート18は、各OLT2の運用系OSU20及び待機系OSU21と接続される。   The host NW device 1 holds time information of a reference time in time synchronization. The host NW device 1 includes an operation system port 17 and a standby system port 18. The operation system port 17 and the standby system port 18 are connected to the operation system OSU 20 and the standby system OSU 21 of each OLT 2.

運用系ポート17は、クロックMaster機能部101、主信号送受信部105、及び、データ重畳分離部106を含む。   The operational system port 17 includes a clock master function unit 101, a main signal transmission / reception unit 105, and a data superposition / separation unit 106.

クロックMaster機能部101は、PTPメッセージを生成する。また、生成されたPTPメッセージをデータ重畳分離部106に送信し、データ重畳分離部106からPTPメッセージを受信する処理部である。クロックMaster機能部101は、図3に示すMaster装置8の機能を実装するための処理部である。   The clock master function unit 101 generates a PTP message. Further, the processing unit transmits the generated PTP message to the data superposition / separation unit 106 and receives the PTP message from the data superposition / separation unit 106. The clock master function unit 101 is a processing unit for implementing the function of the master device 8 shown in FIG.

主信号送受信部105は、主信号NW網7から受信した主信号を、データ重畳分離部106を介してOLT2に送信する処理部である。そして、OLT2からデータ重畳分離部106を介して受信した主信号を、主信号NW網7に送信する処理部である。   The main signal transmission / reception unit 105 is a processing unit that transmits the main signal received from the main signal NW network 7 to the OLT 2 via the data superposition / separation unit 106. The main signal received from the OLT 2 via the data superposition / separation unit 106 is a processing unit that transmits the main signal to the main signal NW network 7.

データ重畳分離部106は、クロックMaster機能部101から受信したPTPメッセージと、主信号送受信部105から受信した主信号とを含む重畳データ10を生成する処理部である。そして、生成された重畳データ10を、OLT2の運用系OSU20に送信する処理部である。   The data superimposing / separating unit 106 is a processing unit that generates the superimposing data 10 including the PTP message received from the clock master function unit 101 and the main signal received from the main signal transmitting / receiving unit 105. And it is a process part which transmits the produced | generated superimposition data 10 to the active system OSU20 of OLT2.

また、データ重畳分離部106は、OLT2のデータ重畳分離部203から送信された重畳データ10を、PTPメッセージと主信号とに分離する処理部である。そして、分離された結果のPTPメッセージをPTP終端生成部102に入力し、分離された結果の主信号を主信号送受信部105に入力する処理部である。   The data superimposing / separating unit 106 is a processing unit that separates the superimposing data 10 transmitted from the data superimposing / separating unit 203 of the OLT 2 into a PTP message and a main signal. The separated PTP message is input to the PTP termination generation unit 102, and the separated main signal is input to the main signal transmitting / receiving unit 105.

クロックMaster機能部101は、PTP終端生成部102、時刻情報管理部103、及び、送信間隔管理部104を含む。   The clock master function unit 101 includes a PTP termination generation unit 102, a time information management unit 103, and a transmission interval management unit 104.

送信間隔管理部104は、PTPメッセージを送信するPTPメッセージ送信間隔(本実施形態における運用系PTPメッセージ送信間隔15)を保持する処理部である。   The transmission interval management unit 104 is a processing unit that holds a PTP message transmission interval for transmitting a PTP message (active PTP message transmission interval 15 in this embodiment).

時刻情報管理部103は、時刻同期において基準となる時刻の時刻情報、PTPメッセージを送信する時刻の時刻情報、及び、PTPメッセージを受信した時刻の時刻情報(例えば、図3に示す時刻情報t4)を保持する。   The time information management unit 103 is time information of a reference time in time synchronization, time information of time when a PTP message is transmitted, and time information of time when a PTP message is received (for example, time information t4 shown in FIG. 3). Hold.

PTP終端生成部102は、時刻情報管理部103が保持する時刻情報(時刻情報t1又は時刻情報t4)を取得し、取得された時刻情報を含むPTPメッセージを生成する。そして、生成されたPTPメッセージをデータ重畳分離部106に入力する。   The PTP termination generation unit 102 acquires time information (time information t1 or time information t4) held by the time information management unit 103, and generates a PTP message including the acquired time information. Then, the generated PTP message is input to the data superposition / separation unit 106.

PTP終端生成部102は、送信間隔管理部104が保持するPTPメッセージ送信間隔が示す周期において、IEEE1588プロトコルを起動し、Syncメッセージ11を生成する。PTP終端生成部102は、Syncメッセージ11に、時刻情報t1と、送信間隔管理部104に保持されたPTPメッセージ送信間隔と、を含める。そして、生成されたSyncメッセージ11をデータ重畳分離部106に入力する。   The PTP termination generation unit 102 activates the IEEE 1588 protocol and generates the Sync message 11 in the period indicated by the PTP message transmission interval held by the transmission interval management unit 104. The PTP termination generation unit 102 includes the time information t1 and the PTP message transmission interval held in the transmission interval management unit 104 in the Sync message 11. Then, the generated Sync message 11 is input to the data superposition / separation unit 106.

PTP終端生成部102は、Delay_Reqメッセージ12を受信した場合、Delay_Reqメッセージ12を受信した時刻を時刻情報t4として、時刻情報管理部103に格納する。そして、時刻情報t4を含むDelay_Respメッセージ13を生成する。   When receiving the Delay_Req message 12, the PTP termination generation unit 102 stores the time at which the Delay_Req message 12 is received as time information t4 in the time information management unit 103. Then, the Delay_Resp message 13 including the time information t4 is generated.

PTP終端生成部102は、Delay_Reqメッセージ12を受信した場合、最後にDelay_Respメッセージ13を生成してからPTPメッセージ送信間隔が経過した時刻に、新たなDelay_Respメッセージ13を生成する。PTP終端生成部102は、生成されたDelay_Respメッセージ13をデータ重畳分離部106に入力する。   When receiving the Delay_Req message 12, the PTP termination generation unit 102 generates a new Delay_Resp message 13 at the time when the PTP message transmission interval has elapsed since the last generation of the Delay_Resp message 13. The PTP termination generation unit 102 inputs the generated Delay_Resp message 13 to the data superposition separation unit 106.

待機系ポート18は、クロックMaster機能部111、主信号送受信部115、及び、データ重畳分離部116を含む。また、クロックMaster機能部111は、PTP終端生成部112、時刻情報管理部113、及び、送信間隔管理部114を含む。   The standby port 18 includes a clock master function unit 111, a main signal transmission / reception unit 115, and a data superimposing / separating unit 116. The clock master function unit 111 includes a PTP termination generation unit 112, a time information management unit 113, and a transmission interval management unit 114.

待機系ポート18は、運用系ポート17と同じ処理部を有する。すなわち、クロックMaster機能部101、主信号送受信部105、及び、データ重畳分離部106は、クロックMaster機能部111、主信号送受信部115、及び、データ重畳分離部116と同じである。また、PTP終端生成部102、及び、時刻情報管理部103は、PTP終端生成部112、及び、時刻情報管理部113と同じである。   The standby system port 18 has the same processing unit as the operational system port 17. That is, the clock master function unit 101, the main signal transmission / reception unit 105, and the data superposition / separation unit 106 are the same as the clock master function unit 111, the main signal transmission / reception unit 115, and the data superposition / separation unit 116. Further, the PTP termination generation unit 102 and the time information management unit 103 are the same as the PTP termination generation unit 112 and the time information management unit 113.

しかし、送信間隔管理部114は、PTPメッセージを送信するPTPメッセージ送信間隔として、待機系PTPメッセージ送信間隔16を保持する。そして、データ重畳分離部116は、生成された重畳データ10をOLT2の待機系OSU21に送信する。また、データ重畳分離部116は、待機系OSU21から受信した重畳データ10を、PTPメッセージ及び主信号に分離する。   However, the transmission interval management unit 114 holds the standby PTP message transmission interval 16 as the PTP message transmission interval for transmitting the PTP message. Then, the data superposition / separation unit 116 transmits the generated superposition data 10 to the standby OSU 21 of the OLT 2. Further, the data superimposing / separating unit 116 separates the superimposing data 10 received from the standby OSU 21 into a PTP message and a main signal.

OLT2は、図2に示すように、運用系OSU20及び待機系OSU21を備える。運用系OSU20は、上位NW装置1の運用系ポート17に接続され、待機系OSU21は、上位NW装置1の待機系ポート18に接続される。   As shown in FIG. 2, the OLT 2 includes an active OSU 20 and a standby OSU 21. The active OSU 20 is connected to the active port 17 of the upper NW device 1, and the standby OSU 21 is connected to the standby port 18 of the upper NW device 1.

運用系ポート17及び運用系OSU20を接続する伝送路と、待機系ポート18及び待機系OSU21を接続する伝送路とは、異なる伝送路であり、OLT2に備わる異なるネットワークインタフェースを経由する。   The transmission path that connects the active system port 17 and the active system OSU 20 and the transmission path that connects the standby system port 18 and the standby system OSU 21 are different transmission paths via different network interfaces provided in the OLT 2.

運用系OSU20は、クロックSlave機能部201、主信号送受信部202、及び、データ重畳分離部203を含む。   The active OSU 20 includes a clock slave function unit 201, a main signal transmission / reception unit 202, and a data superimposing / separating unit 203.

クロックSlave機能部201は、PTPメッセージを生成する処理部である。そして、生成されたPTPメッセージを、データ重畳分離部203を介して上位NW装置1に送信し、また、PTPメッセージをデータ重畳分離部203を介して上位NW装置1から受信する処理部である。クロックSlave機能部201は、図3に示すSlave装置9の機能を実装するための処理部である。   The clock slave function unit 201 is a processing unit that generates a PTP message. The generated PTP message is transmitted to the upper NW device 1 via the data superimposing / separating unit 203, and the PTP message is received from the upper NW device 1 via the data superimposing / separating unit 203. The clock slave function unit 201 is a processing unit for implementing the function of the slave device 9 shown in FIG.

主信号送受信部202は、データ重畳分離部203から受信した主信号を、後述するデータ重畳分離部205に送信し、後述するデータ重畳分離部205から受信した主信号をデータ重畳分離部203に送信する処理部である。   The main signal transmitting / receiving unit 202 transmits the main signal received from the data superimposing / separating unit 203 to the data superimposing / separating unit 205 described later, and transmits the main signal received from the data superimposing / separating unit 205 described later to the data superimposing / separating unit 203. Is a processing unit.

データ重畳分離部203は、クロックSlave機能部201から受信したPTPメッセージと、主信号送受信部202から受信した主信号とを含む重畳データ10を生成する処理部である。そして、生成された重畳データ10を、上位NW装置1の運用系ポート17へ送信する処理部である。   The data superimposing / separating unit 203 is a processing unit that generates the superimposing data 10 including the PTP message received from the clock slave function unit 201 and the main signal received from the main signal transmitting / receiving unit 202. The generated superimposition data 10 is a processing unit that transmits the superimposition data 10 to the operational port 17 of the higher-order NW device 1.

また、データ重畳分離部203は、上位NW装置1から送信された重畳データ10を、PTPメッセージと主信号とに分離する処理部である。そして、分離された結果のPTPメッセージをPTP終端生成部2011に入力し、分離された結果の主信号を主信号送受信部202に入力する処理部である。   The data superimposing / separating unit 203 is a processing unit that separates the superimposing data 10 transmitted from the host NW device 1 into a PTP message and a main signal. The separated PTP message is input to the PTP termination generation unit 2011, and the separated main signal is input to the main signal transmitting / receiving unit 202.

さらに、データ重畳分離部203は、上位NW装置1の運用系ポート17と、OLT2の運用系OSU20とを接続するためのネットワークインタフェースを備える処理部である。   Further, the data superimposing / separating unit 203 is a processing unit including a network interface for connecting the operation system port 17 of the host NW device 1 and the operation system OSU 20 of the OLT 2.

クロックSlave機能部201は、PTP終端生成部2011、時刻情報管理部2012、及び、送信間隔管理部2013を含む。   The clock slave function unit 201 includes a PTP termination generation unit 2011, a time information management unit 2012, and a transmission interval management unit 2013.

送信間隔管理部2013は、PTPメッセージを送信するPTPメッセージ送信間隔を保持する処理部である。   The transmission interval management unit 2013 is a processing unit that holds a PTP message transmission interval for transmitting a PTP message.

時刻情報管理部2012は、上位NW装置1から送信された時刻情報(例えば、時刻情報t1及び時刻情報t4など)、PTPメッセージを受信した時刻の時刻情報(例えば、時刻情報t2など)、及び、PTPメッセージを送信する時刻の時刻情報(例えば、時刻情報t3など)を保持する。   The time information management unit 2012 includes time information (for example, time information t1 and time information t4) transmitted from the upper NW device 1, time information (for example, time information t2) of the time when the PTP message is received, and Time information (for example, time information t3) of the time at which the PTP message is transmitted is held.

また、時刻情報管理部2012は、OLT2における時刻を示す時刻情報を保持する。時刻情報管理部2012は、自らが保持するメモリに、時刻情報を格納する。   The time information management unit 2012 holds time information indicating the time in the OLT 2. The time information management unit 2012 stores time information in a memory held by itself.

PTP終端生成部2011は、Syncメッセージ11を受信した場合、Syncメッセージ11を受信した時刻を時刻情報t2として、時刻情報管理部2012に格納する。また、Syncメッセージ11に含まれる時刻情報t1を、時刻情報管理部2012に格納し、Syncメッセージ11に含まれるPTPメッセージ送信間隔を、送信間隔管理部2013に格納する。   When receiving the Sync message 11, the PTP termination generation unit 2011 stores the time at which the Sync message 11 is received as time information t <b> 2 in the time information management unit 2012. Further, the time information t1 included in the Sync message 11 is stored in the time information management unit 2012, and the PTP message transmission interval included in the Sync message 11 is stored in the transmission interval management unit 2013.

また、PTP終端生成部2011は、上位NW装置1からSyncメッセージ11を受信した場合、Delay_Reqメッセージ12を生成する。そして、PTP終端生成部2011は、Delay_Reqメッセージ12が生成された時刻を、時刻情報t3として、時刻情報管理部2012に格納する。そして、生成されたDelay_Reqメッセージ12をデータ重畳分離部203に入力し、データ重畳分離部203にDelay_Reqメッセージ12を上位NW装置1へ送信させる。   Also, the PTP termination generation unit 2011 generates a Delay_Req message 12 when receiving the Sync message 11 from the upper NW device 1. Then, the PTP termination generation unit 2011 stores the time when the Delay_Req message 12 is generated in the time information management unit 2012 as time information t3. Then, the generated Delay_Req message 12 is input to the data superimposing / separating unit 203, and the data superimposing / separating unit 203 transmits the Delay_Req message 12 to the upper NW device 1.

PTP終端生成部2011は、送信間隔管理部2013が保持するPTPメッセージ送信間隔に従ってDelay_Reqメッセージ12が送信されるように、Delay_Reqメッセージ12を生成する。具体的には、PTP終端生成部2011は、Syncメッセージ11を受信した場合、最後にDelay_Reqメッセージ12を生成してからPTPメッセージ送信間隔が経過した時刻に、新たなDelay_Reqメッセージ12を生成する。   The PTP termination generation unit 2011 generates the Delay_Req message 12 so that the Delay_Req message 12 is transmitted according to the PTP message transmission interval held by the transmission interval management unit 2013. Specifically, when receiving the Sync message 11, the PTP termination generation unit 2011 generates a new Delay_Req message 12 at the time when the PTP message transmission interval has elapsed since the last generation of the Delay_Req message 12.

また、PTP終端生成部2011は、Delay_Respメッセージ13を受信した場合、Delay_Respメッセージ13に含まれる時刻情報t4を、時刻情報管理部2012に格納する。   Further, when receiving the Delay_Resp message 13, the PTP termination generation unit 2011 stores the time information t <b> 4 included in the Delay_Resp message 13 in the time information management unit 2012.

PTP終端生成部2011は、時刻情報管理部2012に保持された時刻情報t1、時刻情報t2、時刻情報t3、及び、時刻情報t4と、前述の式(1)及び式(2)とを用いて、上位NW装置1とOLT2との間の時刻のずれを算出する。そして、算出された時刻のずれに基づいて、時刻情報管理部2012が保持するOLT2における時刻を更新する。   The PTP termination generation unit 2011 uses the time information t1, the time information t2, the time information t3, and the time information t4 held in the time information management unit 2012, and the above-described equations (1) and (2). Then, the time lag between the upper NW device 1 and the OLT 2 is calculated. Then, based on the calculated time lag, the time in the OLT 2 held by the time information management unit 2012 is updated.

PTP終端生成部2011は、時刻情報管理部2012が保持するOLT2における時刻を更新した後、更新されたOLT2における時刻を、図5Bに示すクロックMaster機能部204に入力する。   The PTP termination generation unit 2011 updates the time in the OLT 2 held by the time information management unit 2012, and then inputs the updated time in the OLT 2 to the clock master function unit 204 illustrated in FIG. 5B.

待機系OSU21は、クロックSlave機能部211、主信号送受信部212、及び、データ重畳分離部213を含む。また、クロックSlave機能部211は、PTP終端生成部2111、時刻情報管理部2112、及び、送信間隔管理部2113を含む。   The standby OSU 21 includes a clock slave function unit 211, a main signal transmission / reception unit 212, and a data superimposing / separating unit 213. The clock slave function unit 211 includes a PTP termination generation unit 2111, a time information management unit 2112, and a transmission interval management unit 2113.

待機系OSU21は、運用系OSU20と同じ処理部を有する。すなわち、クロックSlave機能部201、主信号送受信部202、及び、データ重畳分離部203は、クロックSlave機能部211、主信号送受信部212、及び、データ重畳分離部213と同じである。また、PTP終端生成部2011、時刻情報管理部2012、及び、送信間隔管理部2013は、PTP終端生成部2111、時刻情報管理部2112、及び、送信間隔管理部2113と同じである。   The standby OSU 21 has the same processing unit as the active OSU 20. That is, the clock slave function unit 201, the main signal transmission / reception unit 202, and the data superposition / separation unit 203 are the same as the clock slave function unit 211, the main signal transmission / reception unit 212, and the data superposition / separation unit 213. Further, the PTP termination generation unit 2011, the time information management unit 2012, and the transmission interval management unit 2013 are the same as the PTP termination generation unit 2111, the time information management unit 2112, and the transmission interval management unit 2113.

図5Bは、本発明の実施形態のOLT2及びONU3の処理部を示すブロック図である。   FIG. 5B is a block diagram illustrating processing units of the OLT 2 and the ONU 3 according to the embodiment of this invention.

ONU3は、OLT2とPTPメッセージの送受信を行うことによって時刻を同期するクロックSlave機能部300を備える。クロックSlave機能部300は、図3に示すSlave装置9の機能を有する。   The ONU 3 includes a clock slave function unit 300 that synchronizes time by transmitting and receiving PLT messages with the OLT 2. The clock slave function unit 300 has the function of the slave device 9 shown in FIG.

図5Bに示すOLT2の処理部は、ONU3と重畳データ10を送受信する処理部を含む。また、図5Bに示すOLT2の処理部は、運用系OSU20に保持されるOLT2における時刻と、待機系OSU21に保持されるOLT2における時刻とを、比較する処理部を含む。   The processing unit of the OLT 2 illustrated in FIG. 5B includes a processing unit that transmits and receives the superimposed data 10 with the ONU 3. The processing unit of the OLT 2 illustrated in FIG. 5B includes a processing unit that compares the time in the OLT 2 held in the active OSU 20 with the time in the OLT 2 held in the standby OSU 21.

運用系OSU20は、図5Aに示すクロックSlave機能部201、主信号送受信部202、及び、データ重畳分離部203と、図5Bに示すクロックMaster機能部204、及び、データ重畳分離部205とを含む。   The active OSU 20 includes a clock slave function unit 201, a main signal transmission / reception unit 202, and a data superposition / separation unit 203 shown in FIG. 5A, a clock master function unit 204, and a data superposition / separation unit 205 shown in FIG. 5B. .

クロックMaster機能部204は、PTPメッセージを生成する処理部である。そして、生成されたPTPメッセージをONU3に送信し、また、ONU3からPTPメッセージを受信する処理部である。クロックMaster機能部204は、図3に示すMaster装置8の機能を実装するための処理部である。   The clock master function unit 204 is a processing unit that generates a PTP message. The processing unit transmits the generated PTP message to the ONU 3 and receives the PTP message from the ONU 3. The clock master function unit 204 is a processing unit for implementing the function of the master device 8 shown in FIG.

データ重畳分離部205は、クロックMaster機能部204から受信したPTPメッセージと、主信号送受信部202から受信した主信号とを含む重畳データ10を生成する処理部である。そして、生成された重畳データ10をONU3に送信する処理部である。   The data superimposing / separating unit 205 is a processing unit that generates the superimposed data 10 including the PTP message received from the clock master function unit 204 and the main signal received from the main signal transmitting / receiving unit 202. And it is a process part which transmits the produced | generated superimposition data 10 to ONU3.

また、データ重畳分離部205は、ONU3から送信された重畳データ10を、PTPメッセージと主信号とに分離する処理部である。そして、分離された結果のPTPメッセージをPTP終端生成部2041に入力し、分離された結果の主信号を主信号送受信部202に入力する処理部である。   The data superimposing / separating unit 205 is a processing unit that separates the superimposing data 10 transmitted from the ONU 3 into a PTP message and a main signal. The separated PTP message is input to the PTP termination generation unit 2041, and the separated main signal is input to the main signal transmitting / receiving unit 202.

クロックMaster機能部204は、PTP終端生成部2041、時刻情報管理部2042、時刻誤差比較部2043、及び、時刻誤差閾値管理部2044を含む。   The clock master function unit 204 includes a PTP termination generation unit 2041, a time information management unit 2042, a time error comparison unit 2043, and a time error threshold management unit 2044.

クロックMaster機能部204は、OLT2とONU3との時刻同期におけるMaster機能と、運用系OSU20が保持するOLT2における時刻と待機系OSU21が保持するOLT2における時刻とを比較する機能を有する。   The clock master function unit 204 has a master function in time synchronization between the OLT 2 and the ONU 3 and a function of comparing the time in the OLT 2 held by the active OSU 20 and the time in the OLT 2 held by the standby OSU 21.

このため、PTP終端生成部2041は、上位NW装置1のPTP終端生成部102と同じ機能を有し、時刻情報管理部2042は、上位NW装置1の時刻情報管理部103と同じ機能を有する。また、クロックMaster機能部204は、上位NW装置1の送信間隔管理部104と同じ機能を有する、送信間隔管理部(図示しない)を有する。   For this reason, the PTP termination generation unit 2041 has the same function as the PTP termination generation unit 102 of the upper NW device 1, and the time information management unit 2042 has the same function as the time information management unit 103 of the higher NW device 1. The clock master function unit 204 includes a transmission interval management unit (not shown) having the same function as the transmission interval management unit 104 of the higher-order NW device 1.

具体的には、時刻情報管理部2042は、OLT2における時刻を保持する処理部である。また、ONU3との時刻同期のための時刻情報t1及び時刻情報t4を保持する処理部である。   Specifically, the time information management unit 2042 is a processing unit that holds the time in the OLT 2. In addition, the processing unit holds time information t1 and time information t4 for time synchronization with the ONU 3.

また、時刻誤差比較部2043は、時刻情報管理部2042が保持するOLT2における時刻と、後述する待機系OSU21の時刻情報管理部2142が保持するOLT2における時刻とを比較する処理部である。   The time error comparison unit 2043 is a processing unit that compares the time in the OLT 2 held by the time information management unit 2042 with the time in the OLT 2 held by the time information management unit 2142 of the standby OSU 21 described later.

時刻誤差閾値管理部2044は、時刻情報管理部2042が保持するOLT2における時刻と、後述する時刻情報管理部2142が保持するOLT2における時刻との差の閾値を保持する処理部である。   The time error threshold value management unit 2044 is a processing unit that holds a threshold value of a difference between the time in the OLT 2 held by the time information management unit 2042 and the time in the OLT 2 held by the time information management unit 2142 described later.

PTP終端生成部2041は、PTPメッセージを生成する処理部である。PTP終端生成部2041は、OLT2とONU3とのIEEE1588による時刻同期を行うためのPTPメッセージを生成する。   The PTP termination generation unit 2041 is a processing unit that generates a PTP message. The PTP termination generation unit 2041 generates a PTP message for performing time synchronization according to IEEE 1588 between the OLT 2 and the ONU 3.

PTP終端生成部2041は、OLT2における時刻をPTP終端生成部2011から受信した場合、受信した時刻によって、時刻情報管理部2042が保持するOLT2における時刻を更新する。そして、PTP終端生成部2041は、時刻情報管理部2042が保持するOLT2における時刻を用いて、OLT2とONU3との時刻を同期する。   When the time in OLT 2 is received from PTP termination generation unit 2011, PTP termination generation unit 2041 updates the time in OLT 2 held by time information management unit 2042 with the received time. Then, the PTP termination generation unit 2041 uses the time in the OLT 2 held by the time information management unit 2042 to synchronize the time between the OLT 2 and the ONU 3.

図5Bに示す待機系OSU21は、図5Bに示す運用系OSU20と同じ処理部を有し、クロックMaster機能部214及びデータ重畳分離部215を備える。クロックMaster機能部214は、クロックMaster機能部204と同じであり、データ重畳分離部215は、データ重畳分離部205と同じである。   The standby OSU 21 illustrated in FIG. 5B includes the same processing unit as the active OSU 20 illustrated in FIG. 5B and includes a clock master function unit 214 and a data superimposing / separating unit 215. The clock master function unit 214 is the same as the clock master function unit 204, and the data superimposing / separating unit 215 is the same as the data superimposing / separating unit 205.

また、クロックMaster機能部214は、PTP終端生成部2141、時刻情報管理部2142、時刻誤差比較部2143、及び、時刻誤差閾値管理部2144を含む。PTP終端生成部2141は、PTP終端生成部2041と同じであり、時刻情報管理部2142は、時刻情報管理部2042と同じであり、時刻誤差比較部2143は、時刻誤差比較部2043と同じであり、時刻誤差閾値管理部2144は、時刻誤差閾値管理部2044と同じである。   The clock master function unit 214 includes a PTP termination generation unit 2141, a time information management unit 2142, a time error comparison unit 2143, and a time error threshold management unit 2144. The PTP termination generation unit 2141 is the same as the PTP termination generation unit 2041, the time information management unit 2142 is the same as the time information management unit 2042, and the time error comparison unit 2143 is the same as the time error comparison unit 2043. The time error threshold management unit 2144 is the same as the time error threshold management unit 2044.

図5A及び図5Bに示す上位NW装置1、OLT2及びONU3が備える処理部は、各々プロセッサ及びメモリを備える装置によって実装されてもよい。また、例えば、OLT2が備えるすべての処理部が、少なくとも一つのプロセッサ及び少なくとも一つのメモリを備える、少なくとも一つの装置によって実装されてもよい。また、各処理部において行われる複数の処理に従って、各処理部が分割されて実装されてもよい。   The processing units included in the upper NW device 1, the OLT 2, and the ONU 3 illustrated in FIGS. 5A and 5B may be implemented by devices each including a processor and a memory. Further, for example, all the processing units included in the OLT 2 may be implemented by at least one device including at least one processor and at least one memory. Further, each processing unit may be divided and mounted according to a plurality of processes performed in each processing unit.

また、上位NW装置1、OLT2及びONU3は、自らが備える各処理部に対応するプログラムを有し、上位NW装置1、OLT2及びONU3が備えるプロセッサ及びメモリによってプログラムを実行することによって、各処理部の機能を実装してもよい。   Further, the upper NW device 1, the OLT 2, and the ONU 3 have a program corresponding to each processing unit included in the host NW device 1, and each processing unit is executed by executing the program with the processor and the memory included in the upper NW device 1, OLT 2, and ONU 3. May be implemented.

本実施形態において、運用系ポート17及び運用系OSU20において用いられるPTPメッセージ送信間隔は、運用系PTPメッセージ送信間隔15であり、待機系ポート18及び待機系OSU21において用いられるPTPメッセージ送信間隔は、待機系PTPメッセージ送信間隔16である。運用系PTPメッセージ送信間隔15は、図4に示すとおり、待機系PTPメッセージ送信間隔16よりも長い。   In this embodiment, the PTP message transmission interval used in the active port 17 and the active OSU 20 is the active PTP message transmission interval 15, and the PTP message transmission interval used in the standby port 18 and the standby OSU 21 is standby. This is the system PTP message transmission interval 16. The active PTP message transmission interval 15 is longer than the standby PTP message transmission interval 16 as shown in FIG.

このため、運用系ポート17及び運用系OSU20による上位NW装置1及びOLT2間の時刻同期は、待機系ポート18及び待機系OSU21による上位NW装置1及びOLT2間の時刻同期より低頻度である。そして、この結果、待機系ポート18及び待機系OSU21による時刻同期は、運用系ポート17及び運用系OSU20による時刻同期より精度が高い。   For this reason, the time synchronization between the upper NW device 1 and the OLT 2 by the active port 17 and the active OSU 20 is less frequent than the time synchronization between the upper NW device 1 and the OLT 2 by the standby port 18 and the standby OSU 21. As a result, the time synchronization by the standby system port 18 and the standby system OSU 21 is more accurate than the time synchronization by the operation system port 17 and the operation system OSU 20.

このように、待機系ポート18及び待機系OSU21による時刻同期は、運用系ポート17及び運用系OSU20による時刻同期よりも高精度であるため、本実施形態において、待機系OSU21の時刻情報管理部2142が保持するOLT2における時刻を、OLT2の基準となる時刻と定義する。   As described above, since the time synchronization by the standby system port 18 and the standby system OSU 21 is more accurate than the time synchronization by the operation system port 17 and the operation system OSU 20, in this embodiment, the time information management unit 2142 of the standby system OSU 21 is used. Is defined as a reference time for the OLT 2.

以下において、待機系OSU21が保持するOLT2における時刻を基準に、運用系OSU20の時刻情報管理部2042が保持するOLT2における時刻を補正する処理を示す。   In the following, a process for correcting the time in OLT 2 held by the time information management unit 2042 of the active OSU 20 based on the time in OLT 2 held by the standby OSU 21 will be described.

図6Aは、本発明の実施形態の運用系OSU20が保持するOLT2における時刻の誤差が小さい場合の時刻補正の処理を示すシーケンス図である。   FIG. 6A is a sequence diagram illustrating time correction processing when the time error in the OLT 2 held by the active OSU 20 according to the embodiment of this invention is small.

上位NW装置1は、運用系PTPメッセージ送信間隔15において、Syncメッセージ11を運用系OSU20へ送信する(シーケンス40)。また、待機系PTPメッセージ送信間隔16において、Syncメッセージ11を待機系OSU21へ送信する(シーケンス50)。   The upper NW device 1 transmits the Sync message 11 to the active OSU 20 at the active PTP message transmission interval 15 (sequence 40). In addition, at the standby PTP message transmission interval 16, the Sync message 11 is transmitted to the standby OSU 21 (sequence 50).

ここで、シーケンス40におけるSyncメッセージ11に含まれる運用系PTPメッセージ送信間隔15は、待機系PTPメッセージ送信間隔16よりも長い。   Here, the active PTP message transmission interval 15 included in the Sync message 11 in the sequence 40 is longer than the standby PTP message transmission interval 16.

運用系OSU20のクロックSlave機能部201は、Syncメッセージ11を受信した場合、送信されたSyncメッセージ11に含まれる運用系PTPメッセージ送信間隔15に従ってDelay_Reqメッセージ12を送信するため、待機する。   When receiving the Sync message 11, the clock slave function unit 201 of the active OSU 20 waits to transmit the Delay_Req message 12 according to the active PTP message transmission interval 15 included in the transmitted Sync message 11.

待機系OSU21のクロックSlave機能部218は、Syncメッセージ11を受信した場合、送信されたSyncメッセージ11に含まれる待機系PTPメッセージ送信間隔16に従って、Delay_Reqメッセージ12を上位NW装置1へ送信する(シーケンス51)。   When receiving the Sync message 11, the clock slave function unit 218 of the standby OSU 21 transmits the Delay_Req message 12 to the upper NW device 1 according to the standby PTP message transmission interval 16 included in the transmitted Sync message 11 (sequence). 51).

ここで、待機系OSU21がSyncメッセージ11を受信してからDelay_Reqメッセージ12を送信するまでの時間は、運用系OSU20がSyncメッセージ11を受信してからDelay_Reqメッセージ12を送信よるまでの時間よりも短い。   Here, the time from when the standby OSU 21 receives the Sync message 11 to when the Delay_Req message 12 is transmitted is shorter than the time from when the active OSU 20 receives the Sync message 11 to when the Delay_Req message 12 is transmitted. .

上位NW装置1の待機系ポート18は、待機系OSU21からDelay_Reqメッセージ12を受信した場合、待機系OSU21のクロックSlave機能部211へDelay_Respメッセージ13を送信する(シーケンス52)。   When the standby port 18 of the host NW device 1 receives the Delay_Req message 12 from the standby OSU 21, it transmits the Delay_Resp message 13 to the clock slave function unit 211 of the standby OSU 21 (sequence 52).

待機系OSU21のクロックSlave機能部211がDelay_Respメッセージ13を受信した場合、PTP終端生成部2111は、時刻情報管理部2112が保持する時刻情報に基づいて、時刻情報管理部2112が保持するOLT2における時刻を更新する(時刻補正53)。そして、更新されたOLT2における時刻をクロックMaster機能部214のPTP終端生成部2141に入力する(シーケンス54)。   When the clock slave function unit 211 of the standby OSU 21 receives the Delay_Resp message 13, the PTP termination generation unit 2111, based on the time information held by the time information management unit 2112, the time in the OLT 2 held by the time information management unit 2112 Is updated (time correction 53). Then, the updated time in the OLT 2 is input to the PTP termination generation unit 2141 of the clock master function unit 214 (sequence 54).

クロックMaster機能部214のPTP終端生成部2141は、入力されたOLT2における時刻を、時刻情報管理部2142に格納する。時刻情報管理部2142は、OLT2における時刻を自らが備えるメモリに保持する。   The PTP termination generation unit 2141 of the clock master function unit 214 stores the input time in the OLT 2 in the time information management unit 2142. The time information management unit 2142 holds the time in the OLT 2 in a memory included in the time information management unit 2142.

また、PTP終端生成部2141は、PTP終端生成部2111によって入力された時刻を、時刻誤差比較部2143に送信する。時刻誤差比較部2143は、送信された時刻を、運用系OSU20のクロックMaster機能部204の時刻誤差比較部2043に入力する(シーケンス55)。   In addition, the PTP termination generation unit 2141 transmits the time input by the PTP termination generation unit 2111 to the time error comparison unit 2143. The time error comparison unit 2143 inputs the transmitted time to the time error comparison unit 2043 of the clock master function unit 204 of the active OSU 20 (sequence 55).

シーケンス55の結果、運用系OSU20の時刻誤差比較部2043は、待機系PTPメッセージ送信間隔16毎に、待機系OSU21が保持するOLT2における時刻を取得する。そして、時刻誤差比較部2043は、取得された待機系OSU21が保持するOLT2における時刻と、時刻情報管理部2142が保持するOLT2における時刻との差(誤差)を算出する。   As a result of the sequence 55, the time error comparison unit 2043 of the active OSU 20 acquires the time in the OLT 2 held by the standby OSU 21 for each standby PTP message transmission interval 16. Then, the time error comparison unit 2043 calculates a difference (error) between the time at the OLT 2 held by the acquired standby OSU 21 and the time at the OLT 2 held by the time information management unit 2142.

そして、時刻誤差比較部2043は、算出された誤差が、時刻誤差閾値管理部2044に保持される所定の範囲内にあるか否かを判定する(時刻誤差比較56)。具体的には、算出された誤差が、所定の上限値以下であり、かつ、所定の下限値以上であるか否かを判定する。   Then, the time error comparison unit 2043 determines whether or not the calculated error is within a predetermined range held in the time error threshold management unit 2044 (time error comparison 56). Specifically, it is determined whether or not the calculated error is not more than a predetermined upper limit value and not less than a predetermined lower limit value.

時刻誤差比較56の結果、算出された誤差が所定の範囲内にある場合、時刻誤差比較部2043は、運用系OSU20が保持するOLT2における時刻の誤差は、許容範囲内であると判定し、運用系OSU20が保持するOLT2における時刻を補正しない。   When the calculated error is within a predetermined range as a result of the time error comparison 56, the time error comparison unit 2043 determines that the time error in the OLT 2 held by the operational OSU 20 is within the allowable range, The time in the OLT 2 held by the system OSU 20 is not corrected.

その後、待機系OSU21は、待機系PTPメッセージ送信間隔16において、上位NW装置1からSyncメッセージ11を受信し、Delay_Reqメッセージ12を送信する。これによって、時刻同期を継続する。   Thereafter, the standby OSU 21 receives the Sync message 11 from the higher-order NW device 1 and transmits the Delay_Req message 12 at the standby PTP message transmission interval 16. Thereby, time synchronization is continued.

図6Bは、本発明の実施形態の運用系OSU20が保持するOLT2における時刻の誤差が大きい場合の時刻補正の処理を示すシーケンス図である。   FIG. 6B is a sequence diagram illustrating time correction processing when the time error in the OLT 2 held by the active OSU 20 according to the embodiment of this invention is large.

待機系OSU21は、Delay_Respメッセージ13を受信した場合、図6Aと同じく、時刻補正53、シーケンス54、及び、シーケンス55を行う。そして、シーケンス55の結果、クロックMaster機能部214によってOLT2における時刻がクロックMaster機能部204に入力された場合、クロックMaster機能部204は、時刻誤差比較56を行う。   When receiving the Delay_Resp message 13, the standby OSU 21 performs time correction 53, sequence 54, and sequence 55 as in FIG. 6A. As a result of the sequence 55, when the clock master function unit 214 inputs the time in the OLT 2 to the clock master function unit 204, the clock master function unit 204 performs a time error comparison 56.

時刻誤差比較56の結果、算出された誤差が所定の範囲外、すなわち、算出された差が所定の上限値を上回るか又は所定の下限値を下回る場合、時刻誤差比較部2043は、運用系OSU20における時刻同期の間隔を変更すべきであると判定する。このため、クロックSlave機能部201のPTP終端生成部2011に閾値範囲外通知を送信する(シーケンス57)。   As a result of the time error comparison 56, when the calculated error is out of the predetermined range, that is, when the calculated difference exceeds the predetermined upper limit value or falls below the predetermined lower limit value, the time error comparison unit 2043 displays the operational OSU20. It is determined that the time synchronization interval should be changed. For this reason, an out-of-threshold-range notification is transmitted to the PTP termination generation unit 2011 of the clock slave function unit 201 (sequence 57).

クロックSlave機能部201のPTP終端生成部2011は、閾値範囲外通知を受信した場合、送信間隔調整用メッセージを上位NW装置1へ送信する(シーケンス58)。上位NW装置1のPTP終端生成部102は、受信した送信間隔調整用メッセージに含まれる送信間隔情報を上位NW装置1内の送信間隔管理部104に格納する。   When the PTP termination generation unit 2011 of the clock slave function unit 201 receives the notification outside the threshold range, it transmits a transmission interval adjustment message to the higher-order NW device 1 (sequence 58). The PTP termination generation unit 102 of the upper NW device 1 stores the transmission interval information included in the received transmission interval adjustment message in the transmission interval management unit 104 in the upper NW device 1.

送信間隔管理部104は、格納された送信間隔情報に従って運用系PTPメッセージ送信間隔15を更新する(送信間隔調整59)。送信間隔調整59によって、上位NW装置1のPTP終端生成部102は、Syncメッセージ11を次に送信する際に、更新された運用系PTPメッセージ送信間隔15をOLT2へ送信できる。   The transmission interval management unit 104 updates the active PTP message transmission interval 15 according to the stored transmission interval information (transmission interval adjustment 59). By the transmission interval adjustment 59, the PTP termination generation unit 102 of the upper NW device 1 can transmit the updated operational PTP message transmission interval 15 to the OLT 2 when the Sync message 11 is transmitted next.

例えば、運用系OSU20の時刻誤差比較部2043による時刻誤差比較56の結果、算出された誤差が所定の閾値が示す上限値を超える場合、PTP終端生成部2011は、送信間隔管理部2013が保持する運用系PTPメッセージ送信間隔15よりも短い時間間隔を含む送信間隔調整用メッセージを生成する。そして、生成された送信間隔調整用メッセージを上位NW装置1へ送信する。   For example, when the calculated error exceeds the upper limit indicated by the predetermined threshold as a result of the time error comparison unit 204 by the time error comparison unit 2043 of the active OSU 20, the PTP termination generation unit 2011 is held by the transmission interval management unit 2013. A transmission interval adjustment message including a time interval shorter than the active PTP message transmission interval 15 is generated. Then, the generated transmission interval adjustment message is transmitted to the upper NW device 1.

これによって、運用系PTPメッセージ送信間隔15が短い時間となり、運用系OSU20による時刻同期の頻度が高まる。そして、運用系OSU20が保持するOLT2における時刻の誤差が減少する。   As a result, the active PTP message transmission interval 15 becomes a short time, and the frequency of time synchronization by the active OSU 20 increases. Then, the time error in the OLT 2 held by the active OSU 20 is reduced.

また、運用系OSU20の時刻誤差比較部2043による時刻誤差比較56の結果、算出された差が所定の閾値が示す下限値を下回る場合、PTP終端生成部2011は、送信間隔管理部2013が保持する運用系PTPメッセージ送信間隔15よりも長い時間間隔を含む送信間隔調整用メッセージを生成する。そして、生成された送信間隔調整用メッセージを上位NW装置1へ送信する。   When the calculated difference is less than the lower limit indicated by the predetermined threshold as a result of the time error comparison 56 by the time error comparison unit 2043 of the active OSU 20, the PTP termination generation unit 2011 is held by the transmission interval management unit 2013. A transmission interval adjustment message including a time interval longer than the active PTP message transmission interval 15 is generated. Then, the generated transmission interval adjustment message is transmitted to the upper NW device 1.

これによって、運用系PTPメッセージ送信間隔15が長い時間となり、運用系OSU20による時刻同期の頻度が下がる。そして、運用系OSU20と運用系ポート17との間の時刻同期の頻度を下げることによって、運用系OSU20は、主信号の帯域を十分に確保することができる。   As a result, the active PTP message transmission interval 15 becomes a long time, and the frequency of time synchronization by the active OSU 20 decreases. Then, by reducing the frequency of time synchronization between the active OSU 20 and the active port 17, the active OSU 20 can sufficiently secure the band of the main signal.

図6A及び図6Bに示す処理によって、上位NW装置1と運用系OSU20間の送信間隔を可変に調整し、運用系OSU20から送信されるPTPメッセージが消費する帯域を過剰に増やすことなく、また、過剰に減らすことなく、時刻同期のためのPTPメッセージが消費する帯域を最適化できる。   The processing shown in FIGS. 6A and 6B variably adjusts the transmission interval between the upper NW device 1 and the active OSU 20, without excessively increasing the bandwidth consumed by the PTP message transmitted from the active OSU 20, and The bandwidth consumed by the PTP message for time synchronization can be optimized without excessive reduction.

なお、運用系OSU20の時刻誤差比較部2043は、過去に行われた時刻誤差比較56の結果を保持し、運用系OSU20が保持するOLT2における時刻の誤差の、各待機系PTPメッセージ送信間隔16における変化量を算出してもよい。そして、算出された変化量に基づいて、運用系OSU20が保持するOLT2における時刻の誤差が所定の範囲外になる時刻を算出し、所定の範囲外になる時刻に基づいて、送信間隔調整用メッセージを上位NW装置1に送信してもよい。   Note that the time error comparison unit 2043 of the active OSU 20 holds the result of the time error comparison 56 performed in the past, and the time error in the OLT 2 held by the active OSU 20 at each standby PTP message transmission interval 16. The amount of change may be calculated. Then, based on the calculated change amount, a time at which the time error in the OLT 2 held by the active OSU 20 falls outside the predetermined range is calculated, and a transmission interval adjustment message is calculated based on the time outside the predetermined range. May be transmitted to the host NW device 1.

また、上位NW装置1の送信間隔管理部104は、OLT2毎の運用系PTPメッセージ送信間隔15を保持してもよく、上位NW装置1の送信間隔管理部114は、OLT2毎の待機系PTPメッセージ送信間隔16を保持してもよい。これによって、OLT2毎に時刻同期のタイミングを変えることができる。   Further, the transmission interval management unit 104 of the upper NW device 1 may hold the active PTP message transmission interval 15 for each OLT 2, and the transmission interval management unit 114 of the upper NW device 1 may hold the standby PTP message for each OLT 2. The transmission interval 16 may be held. Thereby, the timing of time synchronization can be changed for each OLT 2.

また、前述の例において上位NW装置1は、OLT2から送信された送信間隔調整用メッセージに含まれる時間間隔によってPTPメッセージ送信間隔を更新した。しかし、OLT2は、送信間隔調整用メッセージに送信間隔を短くする指示、又は、長くする指示のみを含め、上位NW装置1は、送信間隔調整用メッセージに含まれる指示に従って、あらかじめ段階的に定められた送信間隔から、PTPメッセージ送信間隔を決定してもよい。これによって、OLT2における処理が軽減される。   In the above-described example, the upper NW device 1 updates the PTP message transmission interval with the time interval included in the transmission interval adjustment message transmitted from the OLT 2. However, the OLT 2 includes only an instruction to shorten or increase the transmission interval in the transmission interval adjustment message, and the upper NW device 1 is determined in advance in accordance with the instruction included in the transmission interval adjustment message. The PTP message transmission interval may be determined from the transmission interval. As a result, processing in the OLT 2 is reduced.

運用系OSU20、又は、運用系OSU20とセレクタ部22との間の伝送路において、障害が発生した場合の運用系OSU20及び待機系OSU21の処理を、以下に示す。   The processing of the active OSU 20 and the standby OSU 21 when a failure occurs in the transmission line between the active OSU 20 or the active OSU 20 and the selector unit 22 is shown below.

例えば、OLT2の運用系OSU20において障害が発生した場合、ユーザ、又は、あらかじめOLT2が備える障害判定部(図示しない)が、待機系OSU21からセレクタ部22への伝送路を主信号伝送路とする障害時の切替処理を行う。   For example, when a failure occurs in the operating system OSU 20 of the OLT 2, a user or a failure determination unit (not shown) included in the OLT 2 in advance uses the transmission path from the standby system OSU 21 to the selector unit 22 as a main signal transmission path. Performs time switching processing.

障害時の切替処理は、具体的には、待機系OSU21からセレクタ部22への伝送路を主信号伝送路として、セレクタ部22に選択させる設定処理を含む。   Specifically, the switching process at the time of failure includes a setting process for causing the selector unit 22 to select the transmission path from the standby OSU 21 to the selector unit 22 as the main signal transmission path.

また、ユーザ、又は、OLT2に備わる障害判定部は、障害時の切替処理において、運用系OSU20のPTP終端生成部2011に、待機系PTPメッセージ送信間隔16と同じ時間間隔、又は、運用系PTPメッセージ送信間隔15よりも長い時間間隔によってPTPメッセージ送信間隔を更新するよう、送信間隔調整用メッセージを生成させてもよい。そして、シーケンス57のように、生成された送信間隔調整用メッセージを上位NW装置1の運用系ポート17に送らせてもよい。   Also, the failure determination unit provided in the user or the OLT 2 sends the same time interval as the standby PTP message transmission interval 16 or the active PTP message to the PTP termination generation unit 2011 of the active OSU 20 in the switching process at the time of failure. The transmission interval adjustment message may be generated so that the PTP message transmission interval is updated at a time interval longer than the transmission interval 15. Then, as in sequence 57, the generated transmission interval adjustment message may be sent to the operational port 17 of the upper NW device 1.

また、ユーザ、又は、OLT2に備わる障害判定部は、障害時の切替処理において、待機系OSU21のPTP終端生成部2111に、運用系PTPメッセージ送信間隔15と同じ時間間隔、又は、待機系PTPメッセージ送信間隔16よりも短い時間間隔によって、PTPメッセージ送信間隔を更新するよう送信間隔調整用メッセージを生成させてもよい。そして、シーケンス57のように、生成された送信間隔調整用メッセージを上位NW装置1の待機系ポート18に送らせてもよい。   Also, the failure determination unit provided in the user or the OLT 2 sends the same time interval as the active PTP message transmission interval 15 or the standby PTP message to the PTP termination generation unit 2111 of the standby OSU 21 in the switching process at the time of failure. A transmission interval adjustment message may be generated so as to update the PTP message transmission interval at a time interval shorter than the transmission interval 16. Then, as in sequence 57, the generated transmission interval adjustment message may be sent to the standby port 18 of the upper NW device 1.

前述の障害時の切替処理によって、待機系ポート18と待機系OSU21との間の時刻同期の頻度が低くなり、運用系ポート17と運用系OSU20との間の時刻同期の精度が高くなる。   By the switching process at the time of failure described above, the frequency of time synchronization between the standby system port 18 and the standby system OSU 21 is lowered, and the accuracy of time synchronization between the operational system port 17 and the operational system OSU 20 is increased.

なお、送信間隔管理部2013は、障害時の切替処理が行われた場合の待機系PTPメッセージ送信間隔16をあらかじめ保持してもよい。また、送信間隔管理部2113も、障害時の切替処理が行われた場合の運用系PTPメッセージ送信間隔15をあらかじめ保持してもよい。   Note that the transmission interval management unit 2013 may hold in advance the standby PTP message transmission interval 16 when the switching process at the time of failure is performed. Also, the transmission interval management unit 2113 may hold in advance the active PTP message transmission interval 15 when the switching process at the time of failure is performed.

また、ユーザ、又は、OLT2に備わる障害判定部は、障害時の切替処理において、待機系OSU21の時刻誤差比較部2143が時刻誤差比較56を行うように設定してもよい。すなわち、図6A及び図6Bに示すクロックSlave機能部201における処理を、クロックSlave機能部211が行い、図6A及び図6Bに示すクロックMaster機能部204における処理を、クロックMaster機能部214が行うように設定してもよい。   Further, the failure determination unit provided in the user or the OLT 2 may be set so that the time error comparison unit 2143 of the standby OSU 21 performs the time error comparison 56 in the switching process at the time of failure. That is, the clock slave function unit 211 performs processing in the clock slave function unit 201 illustrated in FIGS. 6A and 6B, and the clock master function unit 214 performs processing in the clock master function unit 204 illustrated in FIGS. 6A and 6B. May be set.

また、運用系OSU20において障害が発生した場合、図6A及び図6Bに示すクロックSlave機能部211における処理を、クロックSlave機能部201が行い、図6A及び図6Bに示すクロックMaster機能部214における処理を、クロックMaster機能部204が行わせてもよい。   When a failure occurs in the active OSU 20, the clock slave function unit 211 performs the processing in the clock slave function unit 211 shown in FIGS. 6A and 6B, and the processing in the clock master function unit 214 shown in FIGS. 6A and 6B. May be performed by the clock master function unit 204.

これによって、運用系OSU20における障害時にも、運用系OSU20が保持するOLT2における時刻によって、待機系ポート18と待機系OSU21との間のPTPメッセージ送信間隔を調整することができる。また、運用系OSU20において障害が発生した場合の本実施形態における冗長化構成が実現される。   Thus, even when a failure occurs in the active OSU 20, the PTP message transmission interval between the standby port 18 and the standby OSU 21 can be adjusted according to the time in the OLT 2 held by the active OSU 20. Further, the redundant configuration in the present embodiment when a failure occurs in the active OSU 20 is realized.

図7は、本発明の実施形態の上位NW装置1とOLT2との間で送受信する送信間隔調整用メッセージのフォーマット60を示す説明図である。   FIG. 7 is an explanatory diagram illustrating a format 60 of a transmission interval adjustment message transmitted / received between the upper NW device 1 and the OLT 2 according to the embodiment of this invention.

本実施形態のOLT2は、上位NW装置1に送信間隔を調整させる場合、図7に示すフォーマット60によって送信間隔調整用メッセージを生成する。OLT2のPTP終端生成部2011は、IEEE1588によって規定されたTLV Entity specificationsのOrganization specific TLV fieldsに、送信間隔に関する情報を格納することによって、送信間隔調整用メッセージを生成する。   The OLT 2 of the present embodiment generates a transmission interval adjustment message using the format 60 shown in FIG. 7 when the higher NW device 1 adjusts the transmission interval. The PTP termination generation unit 2011 of the OLT 2 generates a transmission interval adjustment message by storing information on the transmission interval in the Organization specific TLV fields of the TLV entity specifications defined by IEEE 1588.

なお、Organization specific TLV fields(TLV領域)とは、各ベンダが独自に使用することのできるTLVである。   Note that Organization specific TLV fields (TLV area) are TLVs that can be used independently by each vendor.

送信間隔調整用メッセージのフォーマット60について説明する。フォーマット60は、PTPメッセージを送信するためのフレームに含まれる各領域に、どのような情報が格納されるかを示す。フォーマット60は、tlvType領域、Length Field、organizationID領域、organization Subtype領域、及び、logMessageIntervalAdj領域を含む。   The format 60 of the transmission interval adjustment message will be described. The format 60 indicates what information is stored in each area included in the frame for transmitting the PTP message. The format 60 includes a tlvType area, a Length Field, an organizationID area, an organization Subtype area, and a logMessageIntervalAdj area.

tlvType領域は、IEEE1588によって規定されるORGANIZATION_EXTENSIONを含み、tlvType領域の値はHex0003である。   The tlvType area includes ORGANIZEN_EXTENSION defined by IEEE 1588, and the value of the tlvType area is Hex0003.

Length Fieldの値は、本実施形態においてHex0007である。 organizationID領域は、IEEEによってベンダに割り振られたOUI(Organizationally Unique Identifier)の値を含む。   The value of Length Field is Hex0007 in this embodiment. The organizationID area includes a value of OUI (Organizationally Unique Identifier) allocated to the vendor by IEEE.

organization Subtype領域は、organizationID領域のOUIによって特定されたベンダによって任意に割り当てられた領域である。   The organization Subtype area is an area arbitrarily assigned by the vendor specified by the OUI of the organizationID area.

本実施形態において、logMessageIntervalAdjは、ベンダによって任意に定義された領域であり、送信間隔調整用メッセージに割り当てる。   In this embodiment, logMessageIntervalAdj is an area arbitrarily defined by the vendor, and is assigned to a transmission interval adjustment message.

logMessageIntervalAdj領域の値は、2オクテットによって示される。logMessageIntervalAdj領域には、2を底とした対数によって示されたPTPメッセージ送信間隔が格納される。例えば、PTPメッセージの送信間隔が2秒である場合、logMessageIntervalAdj領域の値はHex0001である。   The value of the logMessageIntervalAdj field is indicated by 2 octets. In the logMessageIntervalAdj area, a PTP message transmission interval indicated by a logarithm with a base of 2 is stored. For example, when the transmission interval of the PTP message is 2 seconds, the value of the logMessageIntervalAdj area is Hex0001.

時刻誤差比較56の結果の誤差が閾値の範囲外となった場合に、OLT2は、Organization specific TLV fieldsを用いて、上位NW装置1にPTPメッセージ送信間隔の調整を行うことによって、時刻同期誤差を要求精度内に収め、かつ、PTPメッセージが消費する帯域の最適化を実現する。   When the error of the result of the time error comparison 56 falls outside the threshold range, the OLT 2 adjusts the PTP message transmission interval to the upper NW device 1 by using the Organization specific TLV fields to reduce the time synchronization error. The bandwidth that is within the required accuracy and consumed by the PTP message is optimized.

本実施形態によれば、運用系OSU20及び待機系OSU21によって異なる時間間隔に時刻同期が行われ、運用系OSU20が保持するOLT2における時刻と待機系OSU21が保持するOLT2における時刻との誤差が、所定の範囲内になるようにPTPメッセージ送信間隔が調整される。このため、OLT2は、主信号の帯域を確保しつつ、要求された精度の時刻同期が可能である。   According to the present embodiment, time synchronization is performed at different time intervals by the active OSU 20 and the standby OSU 21, and an error between the time at the OLT 2 held by the active OSU 20 and the time at the OLT 2 held by the standby OSU 21 is predetermined. The PTP message transmission interval is adjusted so as to fall within the range. For this reason, the OLT 2 can perform time synchronization with the required accuracy while ensuring the band of the main signal.

また、OLT2は、PTPメッセージの送信間隔の更新を上位NW装置1に指示するため、PTPメッセージの送信間隔を最適化し、PTPメッセージが消費する帯域を最適化できる。   Further, since the OLT 2 instructs the upper NW device 1 to update the transmission interval of the PTP message, it is possible to optimize the transmission interval of the PTP message and optimize the bandwidth consumed by the PTP message.

1 上位NW装置
2 OLT
3 ONU
4 GPS衛星
5 GPS信号
6 GPSアンテナ
7 主信号NW網
8 Master装置
9 Slave装置
10 重畳データ
11 Syncメッセージ
12 Delay_Reqメッセージ
13 Delay_Respメッセージ
14 PTPメッセージ送信間隔
15 運用系PTPメッセージ送信間隔
16 待機系PTPメッセージ送信間隔
17 運用系ポート
18 待機系ポート
20 運用系OSU
21 待機系OSU
22 セレクタ部
1 Upper NW device 2 OLT
3 ONU
4 GPS satellite 5 GPS signal 6 GPS antenna 7 Main signal NW network 8 Master device 9 Slave device 10 Superimposed data 11 Sync message 12 Delay_Req message 13 Delay_Resp message 14 PTP message transmission interval 15 Active PTP message transmission interval 16 Standby PTP message transmission Interval 17 Active system port 18 Standby system port 20 Active system OSU
21 Standby OSU
22 Selector section

Claims (8)

上位ネットワーク装置から信号を送信され、下位ネットワーク装置に信号を送信するネットワーク装置であって、
前記ネットワーク装置は、
プロセッサ、メモリ、第1のネットワークインタフェース、及び、第2のネットワークインタフェースを備え、
第1の送信間隔において前記上位ネットワーク装置から送信された時刻情報と主信号とを含む信号を、前記第1のネットワークインタフェースを介して受信し、
前記第1のネットワークインタフェースを介して受信した時刻情報に基づいて補正された前記ネットワーク装置における時刻を、第1の時刻情報として前記メモリに格納し、
前記第1のネットワークインタフェースを介して受信した主信号を、前記下位ネットワーク装置に送信し、
前記第1の送信間隔より短い第2の送信間隔において前記上位ネットワーク装置から送信された時刻情報と主信号とを含む信号を、前記第2のネットワークインタフェースを介して受信し、
前記第2のネットワークインタフェースを介して受信した時刻情報に基づいて補正された、前記ネットワーク装置における時刻を、第2の時刻情報として前記メモリに格納し、
前記第1の時刻情報と前記第2の時刻情報との差を算出し、
前記算出された差が、所定の上限値を上回るか、又は、所定の下限値を下回る場合、前記第1の送信間隔の更新を、前記上位ネットワーク装置に指示することを特徴とするネットワーク装置。
A network device that receives a signal from an upper network device and transmits a signal to a lower network device,
The network device is:
A processor, a memory, a first network interface, and a second network interface;
Receiving a signal including time information and a main signal transmitted from the higher-level network device in a first transmission interval via the first network interface;
Storing the time in the network device corrected based on the time information received via the first network interface in the memory as first time information;
Transmitting the main signal received via the first network interface to the lower network device;
Receiving a signal including time information and a main signal transmitted from the higher-level network device in a second transmission interval shorter than the first transmission interval via the second network interface;
Storing the time in the network device, corrected based on the time information received via the second network interface, in the memory as second time information;
Calculating a difference between the first time information and the second time information;
The network device, wherein when the calculated difference exceeds a predetermined upper limit value or falls below a predetermined lower limit value, the upper network device is instructed to update the first transmission interval.
前記第1の送信間隔において前記上位ネットワーク装置から送信される信号は、前記第1の送信間隔を示す情報を含み、
前記ネットワーク装置は、
前記第1の送信間隔を示す情報を、前記メモリに格納し、
前記算出された差が所定の上限値を上回る場合、前記第1の送信間隔を示す情報に基づいて、前記第1の送信間隔を短くするように前記上位ネットワーク装置に指示し、
前記算出された差が所定の下限値を下回る場合、前記第1の送信間隔を示す情報に基づいて、前記第1の送信間隔を長くするように前記上位ネットワーク装置に指示することを特徴とする請求項1に記載のネットワーク装置。
The signal transmitted from the higher-level network device in the first transmission interval includes information indicating the first transmission interval,
The network device is:
Storing information indicating the first transmission interval in the memory;
If the calculated difference exceeds a predetermined upper limit, based on the information indicating the first transmission interval, instruct the host network device to shorten the first transmission interval,
When the calculated difference is less than a predetermined lower limit value, the higher-level network device is instructed to increase the first transmission interval based on information indicating the first transmission interval. The network device according to claim 1.
前記ネットワーク装置は、
前記第1のネットワークインタフェースを介して受信した主信号を前記下位ネットワーク装置に送信するための第1の伝送路に、障害が発生した場合、
前記第1の送信間隔において前記時刻情報と主信号とを前記第2のネットワークインタフェースに送信し、かつ、前記第2の送信間隔において前記時刻情報と主信号とを前記第1のネットワークインタフェースに送信するよう、前記上位ネットワーク装置に指示し、
前記第2のネットワークインタフェースを介して受信した主信号を、前記下位ネットワーク装置に送信することを特徴とする請求項2に記載のネットワーク装置。
The network device is:
When a failure occurs in the first transmission path for transmitting the main signal received via the first network interface to the lower network device,
The time information and main signal are transmitted to the second network interface at the first transmission interval, and the time information and main signal are transmitted to the first network interface at the second transmission interval. To instruct the higher-level network device to
The network apparatus according to claim 2, wherein a main signal received via the second network interface is transmitted to the lower network apparatus.
前記ネットワーク装置は、
前記第1のネットワークインタフェースを介して受信した主信号を、受信する信号から選択し、前記選択された主信号を前記下位ネットワーク装置に送信するセレクタ部と、
前記第1のネットワークインタフェースを介して受信した時刻情報と主信号と第1の送信間隔を示す情報とを含む信号を、前記時刻情報と前記主信号と前記第1の送信間隔を示す情報とに分離する第1の分離部と、
前記第1の分離部によって分離された主信号を、前記セレクタ部に送信する第1の主信号送受信部と、
前記第1の分離部によって分離された時刻情報に基づいて、前記ネットワーク装置における時刻を補正する第1の終端部と、
前記第1の終端部によって補正された前記ネットワーク装置における時刻を、前記第1の時刻情報として前記メモリに格納する第1の時刻情報管理部と、
前記第1の分離部によって分離された前記第1の送信間隔を示す情報を格納する第1の送信間隔管理部と、
前記第2のネットワークインタフェースを介して受信した時刻情報と主信号と第2の送信間隔を示す情報とを含む信号を、前記時刻情報と前記主信号と前記第2の送信間隔を示す情報とに分離する第2の分離部と、
前記第2の分離部によって分離された主信号を、前記セレクタ部に送信する第2の主信号送受信部と、
前記第2の分離部によって分離された時刻情報に基づいて、前記ネットワーク装置における時刻を補正する第2の終端部と、
前記第2の終端部によって補正された前記ネットワーク装置における時刻を、前記第2の時刻情報として前記メモリに格納する第2の時刻情報管理部と、
前記第2の分離部によって分離された前記第2の送信間隔を示す情報を格納する第2の送信間隔管理部と、
前記第1の時刻情報と前記第2の時刻情報との差を算出し、前記算出された差が所定の上限値を上回るか、又は、所定の下限値を下回るか否かを判定する比較部と、を備え、
前記第1の終端部は、
前記比較部による判定の結果、前記算出された差が、所定の上限値を上回るか、又は、所定の下限値を下回る場合、前記第1の送信間隔管理部に格納された前記第1の送信間隔を示す情報に基づいて、前記更新後の前記第1の送信間隔を決定し、
前記決定された前記更新後の第1の送信間隔による前記第1の送信間隔の更新を、前記上位ネットワーク装置に指示することを特徴とする請求項2に記載のネットワーク装置。
The network device is:
A selector unit that selects a main signal received via the first network interface from signals to be received, and transmits the selected main signal to the lower-level network device;
A signal including the time information, the main signal, and the information indicating the first transmission interval received via the first network interface is converted into the time information, the main signal, and the information indicating the first transmission interval. A first separation part to be separated;
A first main signal transmission / reception unit that transmits the main signal separated by the first separation unit to the selector unit;
A first termination unit that corrects the time in the network device based on the time information separated by the first separation unit;
A first time information management unit that stores the time in the network device corrected by the first terminal unit in the memory as the first time information;
A first transmission interval management unit for storing information indicating the first transmission interval separated by the first separation unit;
The signal including the time information received via the second network interface, the main signal, and the information indicating the second transmission interval is converted into the time information, the main signal, and the information indicating the second transmission interval. A second separation part to be separated;
A second main signal transmission / reception unit for transmitting the main signal separated by the second separation unit to the selector unit;
A second termination unit that corrects the time in the network device based on the time information separated by the second separation unit;
A second time information management unit for storing the time in the network device corrected by the second terminal unit in the memory as the second time information;
A second transmission interval management unit that stores information indicating the second transmission interval separated by the second separation unit;
A comparison unit that calculates a difference between the first time information and the second time information, and determines whether the calculated difference exceeds a predetermined upper limit value or a predetermined lower limit value. And comprising
The first termination is
As a result of determination by the comparison unit, if the calculated difference exceeds a predetermined upper limit value or falls below a predetermined lower limit value, the first transmission stored in the first transmission interval management unit Based on the information indicating the interval, determine the first transmission interval after the update,
The network device according to claim 2, wherein the higher-order network device is instructed to update the first transmission interval according to the determined first transmission interval after the update.
上位ネットワーク装置から信号を送信され、下位ネットワーク装置に信号を送信するネットワーク装置による通信方法であって、
前記ネットワーク装置は、プロセッサ、メモリ、第1のネットワークインタフェース、及び、第2のネットワークインタフェースを備え、
前記方法は、
前記プロセッサが、第1の送信間隔において前記上位ネットワーク装置から送信された時刻情報と主信号とを含む信号を、前記第1のネットワークインタフェースを介して受信する手順と、
前記プロセッサが、前記第1のネットワークインタフェースを介して受信した時刻情報に基づいて補正された前記ネットワーク装置における時刻を、第1の時刻情報として前記メモリに格納する手順と、
前記プロセッサが、前記第1のネットワークインタフェースを介して受信した主信号を、前記下位ネットワーク装置に送信する手順と、
前記プロセッサが、前記第1の送信間隔より短い第2の送信間隔において前記上位ネットワーク装置から送信された時刻情報と主信号とを含む信号を、前記第2のネットワークインタフェースを介して受信する手順と、
前記プロセッサが、前記第2のネットワークインタフェースを介して受信した時刻情報に基づいて補正された、前記ネットワーク装置における時刻を、第2の時刻情報として前記メモリに格納する手順と、
前記プロセッサが、前記第1の時刻情報と前記第2の時刻情報との差を算出する手順と、
前記プロセッサが、前記算出された差が、所定の上限値を上回るか、又は、所定の下限値を下回る場合、前記第1の送信間隔の更新を前記上位ネットワーク装置に指示する手順と、を含むことを特徴とする通信方法。
A communication method by a network device that receives a signal from an upper network device and transmits a signal to the lower network device,
The network device includes a processor, a memory, a first network interface, and a second network interface,
The method
A procedure for the processor to receive, via the first network interface, a signal including time information and a main signal transmitted from the higher-level network device in a first transmission interval;
A procedure in which the processor stores the time in the network device corrected based on the time information received via the first network interface as the first time information in the memory;
A procedure in which the processor transmits a main signal received via the first network interface to the lower-level network device;
A procedure for the processor to receive, via the second network interface, a signal including time information and a main signal transmitted from the higher-level network device in a second transmission interval shorter than the first transmission interval; ,
A procedure in which the processor stores the time in the network device, corrected based on the time information received via the second network interface, in the memory as second time information;
The processor calculating a difference between the first time information and the second time information;
A step of instructing the host network device to update the first transmission interval when the calculated difference exceeds a predetermined upper limit value or falls below a predetermined lower limit value. A communication method characterized by the above.
前記第1の送信間隔において前記上位ネットワーク装置から送信される信号は、前記第1の送信間隔を示す情報を含み、
前記方法は、前記プロセッサが、前記第1の送信間隔を示す情報を前記メモリに格納する手順を含み、
前記第1の送信間隔の更新を上位ネットワーク装置に指示する手順は、
前記プロセッサが、前記算出された差が所定の上限値を上回る場合、前記第1の送信間隔を示す情報に基づいて、前記第1の送信間隔を短くするように前記上位ネットワーク装置に指示する手順と、
前記プロセッサが、前記算出された差が所定の下限値を下回る場合、前記第1の送信間隔を示す情報に基づいて、前記第1の送信間隔を長くするように前記上位ネットワーク装置に指示する手順とを含むことを特徴とする請求項5に記載の通信方法。
The signal transmitted from the higher-level network device in the first transmission interval includes information indicating the first transmission interval,
The method includes a procedure in which the processor stores information indicating the first transmission interval in the memory;
The procedure for instructing the upper network device to update the first transmission interval is as follows:
A step in which the processor instructs the higher-level network device to shorten the first transmission interval based on information indicating the first transmission interval when the calculated difference exceeds a predetermined upper limit value; When,
A step for instructing the higher-level network device to increase the first transmission interval based on the information indicating the first transmission interval when the calculated difference is less than a predetermined lower limit; The communication method according to claim 5, further comprising:
前記方法は、
前記プロセッサが、前記第1のネットワークインタフェースを介して受信した主信号を前記下位ネットワーク装置に送信するための第1の伝送路に、障害が発生した場合、
前記プロセッサが、前記第1の送信間隔において前記時刻情報と主信号とを前記第2のネットワークインタフェースに送信し、かつ、前記第2の送信間隔において前記時刻情報と主信号とを前記第1のネットワークインタフェースに送信するよう、前記上位ネットワーク装置に指示する手順と、
前記プロセッサが、前記第2のネットワークインタフェースを介して受信した主信号を、前記下位ネットワーク装置に送信する手順とを含むことを特徴とする請求項6に記載の通信方法。
The method
When a failure occurs in the first transmission path for the processor to transmit the main signal received via the first network interface to the lower-level network device,
The processor transmits the time information and main signal to the second network interface in the first transmission interval, and the time information and main signal in the second transmission interval. A procedure for instructing the host network device to transmit to a network interface;
The communication method according to claim 6, further comprising: a procedure in which the processor transmits a main signal received via the second network interface to the lower-level network device.
前記方法は、
前記プロセッサが、前記第1のネットワークインタフェースを介して受信した主信号を、受信する信号から選択し、前記選択された主信号を前記下位ネットワーク装置に送信するセレクタ手順と、
前記プロセッサが、前記第1のネットワークインタフェースを介して受信した時刻情報と主信号と第1の送信間隔を示す情報とを含む信号を、前記時刻情報と前記主信号と前記第1の送信間隔を示す情報とに分離する第1の分離手順と、
前記プロセッサが、前記第1の分離部によって分離された主信号を、前記セレクタ手順によって処理させる第1の主信号送受信手順と、
前記プロセッサが、前記第1の分離手順によって分離された時刻情報に基づいて、前記ネットワーク装置における時刻を補正する第1の終端手順と、
前記プロセッサが、前記第1の終端手順によって補正された前記ネットワーク装置における時刻を、前記第1の時刻情報として前記メモリに格納する第1の時刻情報管理手順と、
前記プロセッサが、前記第1の分離手順によって分離された前記第1の送信間隔を示す情報を、前記メモリに格納する第1の送信間隔管理手順と、
前記プロセッサが、前記第2のネットワークインタフェースを介して受信した時刻情報と主信号と第2の送信間隔を示す情報とを含む信号を、前記時刻情報と前記主信号と前記第2の送信間隔を示す情報とに分離する第2の分離手順と、
前記プロセッサが、前記第2の分離手順によって分離された主信号を、前記セレクタ手順によって処理させる第2の主信号送受信手順と、
前記プロセッサが、前記第2の分離手順によって分離された時刻情報に基づいて、前記ネットワーク装置における時刻を補正する第2の終端手順と、
前記プロセッサが、前記第2の終端手順によって補正された前記ネットワーク装置における時刻を、前記第2の時刻情報として前記メモリに格納する第2の時刻情報管理手順と、
前記プロセッサが、前記第2の分離手順によって分離された前記第2の送信間隔を示す情報を格納する第2の送信間隔管理手順と、
前記プロセッサが、前記第1の時刻情報と前記第2の時刻情報との差を算出し、前記算出された差が所定の上限値を上回るか、又は、所定の下限値を下回るか否かを判定する比較手順と、を備え、
前記第1の終端手順は、
前記プロセッサが、前記比較手順による判定の結果、前記算出された差が、所定の上限値を上回るか、又は、所定の下限値を下回る場合、前記第1の送信間隔管理部に格納された前記第1の送信間隔を示す情報に基づいて、前記更新後の前記第1の送信間隔を決定する手順と、
前記プロセッサが、前記決定された前記更新後の第1の送信間隔による前記第1の送信間隔の更新を、前記上位ネットワーク装置に指示する手順と、を含むことを特徴とする請求項6に記載の通信方法。
The method
A selector procedure in which the processor selects a main signal received via the first network interface from signals to be received, and transmits the selected main signal to the lower-level network device;
A signal including time information, a main signal, and information indicating a first transmission interval received by the processor via the first network interface, and a signal including the time information, the main signal, and the first transmission interval. A first separation procedure that separates into the information shown;
A first main signal transmission / reception procedure in which the processor processes the main signal separated by the first separation unit by the selector procedure;
A first termination procedure in which the processor corrects the time in the network device based on the time information separated by the first separation procedure;
A first time information management procedure in which the processor stores the time in the network device corrected by the first termination procedure in the memory as the first time information;
A first transmission interval management procedure in which the processor stores information indicating the first transmission interval separated by the first separation procedure in the memory;
A signal including time information, a main signal, and information indicating a second transmission interval received by the processor via the second network interface, and a signal including the time information, the main signal, and the second transmission interval. A second separation procedure that separates into the information shown;
A second main signal transmission / reception procedure for causing the processor to process the main signal separated by the second separation procedure by the selector procedure;
A second termination procedure in which the processor corrects the time in the network device based on the time information separated by the second separation procedure;
A second time information management procedure in which the processor stores the time in the network device corrected by the second termination procedure in the memory as the second time information;
A second transmission interval management procedure in which the processor stores information indicating the second transmission interval separated by the second separation procedure;
The processor calculates a difference between the first time information and the second time information, and whether the calculated difference exceeds a predetermined upper limit value or falls below a predetermined lower limit value. A comparison procedure for judging,
The first termination procedure is:
As a result of determination by the comparison procedure, when the calculated difference exceeds a predetermined upper limit value or falls below a predetermined lower limit value, the processor stores the first transmission interval management unit. A procedure for determining the updated first transmission interval based on information indicating the first transmission interval;
The said processor includes the procedure which instruct | indicates the update of the said 1st transmission interval by the determined 1st transmission interval after the said update to the said high-order network apparatus. Communication method.
JP2011283977A 2011-12-26 2011-12-26 Network device and communication method Expired - Fee Related JP5636558B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011283977A JP5636558B2 (en) 2011-12-26 2011-12-26 Network device and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011283977A JP5636558B2 (en) 2011-12-26 2011-12-26 Network device and communication method

Publications (2)

Publication Number Publication Date
JP2013135315A JP2013135315A (en) 2013-07-08
JP5636558B2 true JP5636558B2 (en) 2014-12-10

Family

ID=48911742

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011283977A Expired - Fee Related JP5636558B2 (en) 2011-12-26 2011-12-26 Network device and communication method

Country Status (1)

Country Link
JP (1) JP5636558B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6132734B2 (en) * 2013-10-01 2017-05-24 株式会社日立製作所 Time synchronization system and apparatus

Also Published As

Publication number Publication date
JP2013135315A (en) 2013-07-08

Similar Documents

Publication Publication Date Title
JP5358813B2 (en) Network node, time synchronization method, and network system
JP2017050730A (en) Wireless device and base station system
EP3180876B1 (en) Method and apparatus for synchronising a plurality of distributed devices with a network
JP2003298630A (en) Time synchronization method
KR20090045320A (en) A method and an apparatus for synchronization among the neighboring base stations in the wireless communication system
US10178636B2 (en) Clock synchronization method and device and communications system
US10834768B2 (en) Wireless apparats and wireless apparatus processing method to enhance time synchronization accuracy between a plurality of wireless apparatuses in a wireless network
JP2011049770A (en) Radio communication system, radio base station and control method
CN101741853A (en) Method for synchronizing clock time, line card veneer and network equipment
US8472370B2 (en) Apparatus and method for timing synchronization in a communication system
JP2009049591A (en) Mobile communication system
CN116636308A (en) IAB timing variation MAC CE enhancement for case #6 timing support
US11690031B2 (en) Methods and apparatus for distributing time, frequency, and/or phase information
JP2018093362A (en) Communication control device, radio communication device, and delay adjustment method
JP6381392B2 (en) PON system, OLT, ONU, and transmission method
JP2003087175A (en) Radio station communication mesh system
JP5636558B2 (en) Network device and communication method
JP5302051B2 (en) Radio base station, radio control apparatus, and radio apparatus
US20220159599A1 (en) Sidelink Synchronization Update
JP2016213556A (en) Wireless communication method and wireless communication system
JP2015186207A (en) Communication system, synchronizer and synchronization program
KR20220130670A (en) Systems and Methods for Large Phase Correction in R-PHY Network Architectures
JP2008160618A (en) Radio communication system, radio terminal, base station and radio communication method
JP2003324412A (en) Radio access system, and radio equipment
WO2018012480A1 (en) Management device, communication system, and method therefor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140206

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140919

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: 20140924

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140926

R150 Certificate of patent or registration of utility model

Ref document number: 5636558

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees