JP6025700B2 - Time synchronization system, slave device, and time synchronization method - Google Patents

Time synchronization system, slave device, and time synchronization method Download PDF

Info

Publication number
JP6025700B2
JP6025700B2 JP2013260161A JP2013260161A JP6025700B2 JP 6025700 B2 JP6025700 B2 JP 6025700B2 JP 2013260161 A JP2013260161 A JP 2013260161A JP 2013260161 A JP2013260161 A JP 2013260161A JP 6025700 B2 JP6025700 B2 JP 6025700B2
Authority
JP
Japan
Prior art keywords
time
time synchronization
master device
packet
synchronization packet
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
JP2013260161A
Other languages
Japanese (ja)
Other versions
JP2015119257A (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 JP2013260161A priority Critical patent/JP6025700B2/en
Publication of JP2015119257A publication Critical patent/JP2015119257A/en
Application granted granted Critical
Publication of JP6025700B2 publication Critical patent/JP6025700B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Description

本発明は、時刻同期システム、スレーブ装置、及び時刻同期方法に関する。   The present invention relates to a time synchronization system, a slave device, and a time synchronization method.

ネットワークにおける時刻同期の代表的な適用例として、携帯電話網の基地局装置間の時刻同期が挙げられる。端末がエリア間を移動する時のハンドオーバーの際に、シームレスな通信を可能とするためには、基地局装置間において周波数同期、時刻同期を保つことが必要となる。基地局装置は、同期のための基準時刻として、GPS(Global Positioning System)衛星から受信するGPS時刻を用いるのが一般的である。基地局装置の設置場所によっては、基地局装置がGPS衛星からの電波が受信できない場合もあるが、このような場合でも同様に時刻同期が必要となる。   A typical application example of time synchronization in a network is time synchronization between base station apparatuses of a mobile phone network. In order to enable seamless communication during handover when a terminal moves between areas, it is necessary to maintain frequency synchronization and time synchronization between base station apparatuses. The base station apparatus generally uses a GPS time received from a GPS (Global Positioning System) satellite as a reference time for synchronization. Depending on the installation location of the base station device, the base station device may not be able to receive radio waves from GPS satellites. Even in such a case, time synchronization is required.

ネットワーク経由で行う時刻同期の代表的な手段として、NTP(Network Time Protocol)とNTPサーバを利用した方法が挙げられる。NTPでは、GPS衛星や原子時計を最上位の時刻源とし、階層構造状に接続されたサーバが、伝送路遅延の補正を相互に行いつつ、ミリ秒単位での時刻同期を可能としている。しかしNTPによる時刻同期では、同期精度がNTPサーバまでのネットワークの物理的な距離や、ネットワークの遅延に左右されるという問題がある。また、携帯電話網の基地局装置間での時刻同期においては、マイクロ秒単位での時刻同期精度を必要とするため、NTPによる時刻同期では性能が不足する。   As a typical means of time synchronization performed via a network, there is a method using an NTP (Network Time Protocol) and an NTP server. In NTP, GPS satellites and atomic clocks are the highest time sources, and servers connected in a hierarchical structure enable time synchronization in milliseconds while mutually correcting transmission path delays. However, time synchronization by NTP has a problem that the synchronization accuracy depends on the physical distance of the network to the NTP server and the network delay. In addition, in time synchronization between base station apparatuses of a cellular phone network, time synchronization accuracy in units of microseconds is required, so that time synchronization by NTP lacks performance.

IEEE(The Institute of Electrical and Electronics Engineers)は、パケットネットワークにおいて時刻同期を行う標準化技術としてIEEE1588を定めている。IEEE1588では、時刻の送信源となるMASTER装置と、MASTER装置からパケットとして受信した時刻情報に同期するSLAVE装置との間におけるプロトコルを規定している。   IEEE (The Institute of Electrical and Electronics Engineers) defines IEEE 1588 as a standardization technique for performing time synchronization in a packet network. IEEE 1588 defines a protocol between a MASTER device serving as a time transmission source and a SLAVE device synchronized with time information received as a packet from the MASTER device.

また、IEEE1588では、PTP(Precision Time Protocol)パケットと呼ばれる時刻情報を送受信するためのパケットの交換手順やそのフォーマット、MASTER装置とSLAVE装置の間の伝送路遅延による時刻誤差の補正方法などを規定することで、サブマイクロ秒オーダーの精度で装置間の時刻同期を可能としている。さらに、MASTER装置から時刻を取得した後のSLAVE装置における処理として、取得時刻の変動を平均化する統計処理を行い、同期時刻の安定度を向上させている。   IEEE 1588 defines a packet exchange procedure for transmitting and receiving time information called a PTP (Precision Time Protocol) packet, its format, a method for correcting a time error due to a transmission line delay between the MASTER device and the SLAVE device, and the like. This enables time synchronization between devices with sub-microsecond order accuracy. Further, as a process in the SLAVE apparatus after acquiring the time from the MASTER apparatus, a statistical process that averages fluctuations in the acquisition time is performed to improve the stability of the synchronization time.

また、IEEE1588では、MASTER装置とSLAVE装置の間の伝送路で発生する遅延量を補正値として算出するシーケンスが規定されている。また、PTPパケットが、MASTER装置とSLAVE装置との間に存在する中継装置を経由することにより、伝送路遅延にゆらぎが発生する場合に、PTPパケットの装置内滞留時間を補正するTC(トランスペアレントクロック)機能が規定されている。仮に、MASTER装置とSLAVE装置の間に接続されている全ての中継装置がTC機能を実装していれば、伝送路遅延のゆらぎのうち、中継装置を経由することで発生する装置内滞留時間を要因とするものについては、補正することができる。   IEEE 1588 defines a sequence for calculating, as a correction value, a delay amount generated on a transmission path between a MASTER device and a SLAVE device. In addition, when the PTP packet passes through a relay device that exists between the MASTER device and the SLAVE device, fluctuations in the transmission path delay occur, a TC (transparent clock that corrects the residence time of the PTP packet in the device) ) Function is defined. If all the relay devices connected between the MASTER device and the SLAVE device are equipped with the TC function, the in-device dwell time generated by passing through the relay device among the fluctuations in the transmission line delay is calculated. The factor can be corrected.

また、本技術分野の背景技術として、特開2009−77207号公報(特許文献1)がある。この公報には、「RTTに対するフィルタリングを行い、遅延時間の平均値から大きく外れるパケットを除去し、遅延時間の平均値の近傍のデータだけを用いてクライアント時刻の制御を行う。あるいは、RTTに対するフィルタリングを行い、前回のRTTから推定される誤差範囲に収まるデータだけを用いてクライアント時刻の制御を行う。あるいは、RTTまたは片側遅延時間が急激に変化した場合は経路切替が発生したとみなして、ホールドオーバ動作に遷移する。また、そのときの変化分をキャンセルするようにオフセット値を与える。」と記載されている(要約参照)。   Moreover, there exists Unexamined-Japanese-Patent No. 2009-77207 (patent document 1) as background art of this technical field. In this publication, “filtering for RTT is performed to remove packets that are greatly deviated from the average value of delay time, and client time is controlled using only data in the vicinity of the average value of delay time. Alternatively, filtering for RTT is performed. The client time is controlled using only data that falls within the error range estimated from the previous RTT, or if the RTT or one-side delay time changes suddenly, it is considered that the path switching has occurred and the hold is performed. “Transition to over operation, and an offset value is given so as to cancel the change at that time” (see summary).

特開2009−77207JP 2009-77207 A

もし、MASTER装置とSLAVE装置の間に、TC機能が実装されていない中継装置が存在すれば、MASTER装置とSLAVE装置の間の伝送路遅延にゆらぎが発生し、ゆらぎは当該中継装置において補正されない。従って、SLAVE装置が時刻同期を行う際に、そのゆらぎが誤差となり、時刻同期精度が悪化してしまう。このような場合に、SLAVE装置は、ゆらぎを吸収するために、パケットから取得した時刻を積算し誤差を平均化するという処理を行う。そのため、SLAVE装置がMASTER装置に時刻同期するまでに時間がかかるという問題がある。   If there is a relay device that does not have the TC function installed between the MASTER device and the SLAVE device, fluctuation occurs in the transmission path delay between the MASTER device and the SLAVE device, and the fluctuation is not corrected in the relay device. . Therefore, when the SLAVE device performs time synchronization, the fluctuation becomes an error, and the time synchronization accuracy deteriorates. In such a case, the SLAVE device performs a process of integrating the times acquired from the packets and averaging the errors in order to absorb fluctuations. Therefore, there is a problem that it takes time for the SLAVE device to synchronize with the MASTER device.

しかし、全ての中継装置にTC機能が実装されている、又はトラフィックの変動が少ない伝送路においては、伝送路遅延のゆらぎは発生しない、又は無視できるほどに小さい。従って、このような場合にSLAVE装置は、上述の平均化処理を必ずしも行う必要はなく、上述の平均化処理を行うことによって時刻同期するまでに時間がかかるというデメリットのみが発生する。   However, in a transmission line in which the TC function is implemented in all the relay apparatuses or the traffic fluctuation is small, fluctuations in the transmission line delay do not occur or are negligibly small. Therefore, in such a case, the SLAVE device does not necessarily perform the above-described averaging process, and only the demerit that it takes time until time synchronization is performed by performing the above-described averaging process.

また、特許文献1に記載の技術において、SLAVE装置は、遅延時間の平均値から大きく外れるパケット(つまり、伝送路遅延のゆらぎが大きいパケット)を除去している。従って、SLAVE装置が、平均値を算出する処理を行うことにより、時刻同期をするまでに時間がかかる。また、SLAVE装置は、伝送路遅延のゆらぎが小さいパケットを受信するまで、時刻同期をすることができない。   In the technique described in Patent Document 1, the SLAVE device removes packets that deviate significantly from the average delay time (that is, packets with large fluctuations in transmission line delay). Therefore, it takes time for the SLAVE device to perform time synchronization by performing the process of calculating the average value. In addition, the SLAVE device cannot perform time synchronization until it receives a packet with a small fluctuation in transmission line delay.

本発明の一態様は、時刻同期パケットを送信するマスタ装置と、ネットワークを介して前記マスタ装置から前記時刻同期パケットを受信し、前記受信した時刻同期パケットによって、前記マスタ装置と時刻同期を行うスレーブ装置と、を含み、前記スレーブ装置は、前記マスタ装置からの時刻同期パケットによる時刻同期において使用された伝送路遅延時間の履歴を示す履歴情報を保持し、前記マスタ装置から受信した第1時刻同期パケットから、前記第1時刻同期パケット送信時における前記マスタ装置の第1計測時刻情報を抽出し、前記マスタ装置に対して、第2時刻同期パケットを送信し、前記マスタ装置から受信した第3時刻同期パケットから、前記第2時刻同期パケット受信時における前記マスタ装置の第2計測時刻情報を抽出し、前記第1時刻同期パケット受信時における前記スレーブ装置の計測時刻と、前記第2時刻同期パケット送信時における前記スレーブ装置の計測時刻と、前記第1計測時刻情報と、前記第2計測時刻情報と、に基づいて、第1伝送路遅延時間を算出し、前記第1時刻同期パケット及び前記第3時刻同期パケットの後に受信した、第4時刻同期パケットによる時刻同期を行い、前記第4時刻同期パケットによる時刻同期において、第1時刻同期処理を維持する場合、前記第4時刻同期パケットから抽出したマスタ装置の計測時刻情報と前記第1伝送路遅延時間とに基づいて、時刻同期を行い、前記第4時刻同期パケットによる時刻同期において、前記第1時刻同期処理から第2時刻同期処理への切り替えを行う場合、前記履歴情報を参照して、伝送路遅延時間の第1統計値を算出し、前記第4時刻同期パケットから抽出したマスタ装置の計測時刻情報と前記第1統計値とに基づいて時刻同期を行う、時刻同期システムである。   One aspect of the present invention is a master device that transmits a time synchronization packet, and a slave that receives the time synchronization packet from the master device via a network and performs time synchronization with the master device using the received time synchronization packet. A first time synchronization received from the master device, the slave device holding history information indicating a history of transmission line delay times used in time synchronization by a time synchronization packet from the master device. First time information of the master device at the time of transmission of the first time synchronization packet is extracted from the packet, the second time synchronization packet is transmitted to the master device, and the third time is received from the master device. Extracting second measurement time information of the master device at the time of receiving the second time synchronization packet from the synchronization packet The measurement time of the slave device when the first time synchronization packet is received, the measurement time of the slave device when the second time synchronization packet is transmitted, the first measurement time information, and the second measurement time information, Based on the first time, the first transmission line delay time is calculated, time synchronization is performed using the fourth time synchronization packet received after the first time synchronization packet and the third time synchronization packet, and the fourth time synchronization packet is used. When maintaining the first time synchronization process in the time synchronization, the time synchronization is performed based on the measurement time information of the master device extracted from the fourth time synchronization packet and the first transmission line delay time, and the fourth When switching from the first time synchronization process to the second time synchronization process in the time synchronization by the time synchronization packet, refer to the history information, Calculating a first statistical value of sending passage delay time, it performs time synchronization based on the first statistics and the measurement time information of the extracted master device from said fourth time synchronization packet, a time synchronization system.

本発明の一態様によれば、ネットワークの環境に応じて、時刻同期にかかる時間を短縮し、かつ高精度な時刻同期状態へ遷移することができる。   According to one embodiment of the present invention, the time required for time synchronization can be shortened and transition to a highly accurate time synchronization state can be made according to the network environment.

時刻同期システムのシステム概要例を示す説明図である。It is explanatory drawing which shows the system outline example of a time synchronous system. SLAVE装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of a SLAVE apparatus. MASTER装置と、SLAVE装置との間における時刻遅延補正の一例を示すシーケンス図である。It is a sequence diagram which shows an example of the time delay correction | amendment between a MASTER apparatus and a SLAVE apparatus. 伝送路遅延時間が一定である(伝送路遅延にゆらぎがない)場合の時刻同期処理の一例を示すシーケンス図である。FIG. 11 is a sequence diagram showing an example of time synchronization processing when the transmission line delay time is constant (the transmission line delay is not fluctuated). 伝送路遅延時間が変動している(伝送路遅延にゆらぎがある)場合の時刻同期処理の一例を示すシーケンス図である。FIG. 11 is a sequence diagram showing an example of time synchronization processing when the transmission line delay time fluctuates (the transmission line delay fluctuates). 伝送路遅延にゆらぎない場合の時刻同期方法の一例を示すシーケンス図である。It is a sequence diagram which shows an example of the time synchronization method in case it does not fluctuate in a transmission line delay. 伝送路遅延にゆらぎがある場合の時刻同期方法の一例を示すシーケンス図である。It is a sequence diagram which shows an example of the time synchronization method in case there is fluctuation in a transmission line delay. 伝送路遅延にゆらぎがある場合に、SLAVE装置の時刻同期時の内部処理の一例を示す説明図である。It is explanatory drawing which shows an example of the internal process at the time synchronization of a SLAVE apparatus when there exists fluctuation in a transmission line delay. SLAVE装置による時刻配信までの動作例を示すフローチャートである。It is a flowchart which shows the operation example until time delivery by a SLAVE apparatus.

以下、本発明の実施例を、図面を参照して説明する。本実施形態は本発明を実現するための一例に過ぎず、本発明の技術的範囲を限定するものではないことに注意すべきである。各図において共通の構成については同一の参照符号が付されている。   Embodiments of the present invention will be described below with reference to the drawings. It should be noted that this embodiment is merely an example for realizing the present invention, and does not limit the technical scope of the present invention. In each figure, the same reference numerals are given to common configurations.

図1は、時刻同期システムの概要例を示す。時刻同期システムは、MASTER装置1−1と、中継装置1−10と、SLAVE装置1−2と、基地局装置1−3と、GPSアンテナ1−8と、を含む。時刻同期システムは、主信号NW網1−7に接続され、また時刻同期システムの最上位装置であるMASTER装置1−1と、MASTER装置1−1の時刻に同期して動作するSLAVE装置1−2を、中継装置1−10を介して接続して階層的に構成する。本例では、時刻同期システムの末端装置として動作する基地局装置1−3を接続している。   FIG. 1 shows an outline example of a time synchronization system. The time synchronization system includes a MASTER device 1-1, a relay device 1-10, a SLAVE device 1-2, a base station device 1-3, and a GPS antenna 1-8. The time synchronization system is connected to the main signal NW network 1-7, and is a master device 1-1 that is the highest-order device of the time synchronization system, and a slave device 1 that operates in synchronization with the time of the master device 1-1. Are connected in a hierarchical manner via the relay device 1-10. In this example, a base station device 1-3 that operates as a terminal device of the time synchronization system is connected.

なお、MASTER装置1−1と中継装置1−10、及び中継装置1−10とSLAVE装置1−2は、双方向通信が可能な通信回線によって接続されている。SLAVE装置1−2は、基地局装置1−3に時刻を配信する。MASTER装置1−1は、GPSアンテナ1−8に接続され、GPS衛星1−4から受信したGPS信号1−9から時刻情報を抽出し、抽出した時刻情報に自身の内部時計を同期させる。   The MASTER device 1-1 and the relay device 1-10, and the relay device 1-10 and the SLAVE device 1-2 are connected by a communication line capable of bidirectional communication. The SLAVE device 1-2 distributes the time to the base station device 1-3. The MASTER device 1-1 is connected to the GPS antenna 1-8, extracts time information from the GPS signal 1-9 received from the GPS satellite 1-4, and synchronizes its internal clock with the extracted time information.

また、MASTER装置1−1は、抽出した時刻情報から、例えば、時刻同期パケットの一例でありIEEE1588に準拠したPTPパケット1−5を生成する。MASTER装置1−1は、PTPパケット1−5や、主信号パケット1−6等を、中継装置1−10を介して下位装置であるSLAVE装置1−2に送信する。   Further, the MASTER device 1-1 generates, from the extracted time information, for example, a PTP packet 1-5 that is an example of a time synchronization packet and conforms to IEEE 1588. The MASTER device 1-1 transmits the PTP packet 1-5, the main signal packet 1-6, and the like to the SLAVE device 1-2, which is a subordinate device, via the relay device 1-10.

なお、本実施例の時刻同期システムは中継装置1−10を含まない構成でもよい。この場合、MASTER装置1−1は、生成したPTPパケット1−5、及び主信号パケット1−6等を、SLAVE装置1−2へ直接送信する。   In addition, the structure which does not include the relay apparatus 1-10 may be sufficient as the time synchronization system of a present Example. In this case, the MASTER device 1-1 directly transmits the generated PTP packet 1-5, the main signal packet 1-6, and the like to the SLAVE device 1-2.

SLAVE装置1−2は、MASTER装置1−1より受信したPTPパケット1−5からMASTER装置1−1の時刻情報を抽出し、抽出した時刻情報に内部時計を同期させる。また、SLAVE装置1−2は、時刻情報及び主信号パケットを基地局装置1−3へ送信する。基地局装置1−3は、受信した時刻情報から時刻を抽出する。このようにして、本実施例の時刻同期システムは、GPSアンテナを持たない末端装置にも時刻を配信することが可能となる。   The SLAVE device 1-2 extracts the time information of the MASTER device 1-1 from the PTP packet 1-5 received from the MASTER device 1-1, and synchronizes the internal clock with the extracted time information. Further, the SLAVE device 1-2 transmits time information and a main signal packet to the base station device 1-3. The base station apparatus 1-3 extracts the time from the received time information. In this way, the time synchronization system of this embodiment can distribute the time to a terminal device that does not have a GPS antenna.

なお、SLAVE装置1−2と、基地局装置1−3は同じ筐体としてもよい。また、時刻同期とは、SLAVE装置1−2が、後述する内部時計8−8の時刻を、MASTER装置1−1の時計が保持する時刻に同期させることを指す。   The SLAVE device 1-2 and the base station device 1-3 may be the same casing. The time synchronization means that the SLAVE device 1-2 synchronizes the time of an internal clock 8-8 described later with the time held by the clock of the MASTER device 1-1.

ここで、以降の説明の簡単化の為、時刻と時間の違いについて説明する。時刻は、12時00分00秒などのように、ある唯一の時点を示す識別情報である。さらに、複数の時刻間において順序性と差分が定義することができ、かつ2つの時刻における差分が等しければ2つの時刻における間隔が等しいものとする。即ち、時刻は間隔尺度である。これに対して時間は、時の幅を示す量である。即ち、時間はある2つの時刻の差分として定義され、単位時間の累積として表される。例えば、時刻12時00分00秒と時刻13時00分00秒の差分として表される時間は1時間00分00秒である。   Here, for simplification of the following description, the difference between time and time will be described. The time is identification information indicating a certain point in time, such as 12:00:00. Furthermore, if the order and the difference can be defined between a plurality of times, and if the differences at the two times are equal, the intervals at the two times are assumed to be equal. That is, time is an interval measure. On the other hand, time is an amount indicating the width of time. That is, time is defined as the difference between two time points, and is expressed as the accumulation of unit time. For example, the time represented as the difference between the time 12:00:00 and the time 13:00:00 is 1 hour 00 minutes 00 seconds.

図2は、SLAVE装置1−2の構成例を示すブロック図である。SLAVE装置1−2は、プロセッサであるCPU8−12と、メモリ8−13と、二次記憶装置8−14と、入出力インタフェースであるパケット送受信部A8−1及びパケット送受信部B8−10と、を含む。メモリ8−13は、パケット識別部8−2と時刻情報抽出部8−3と、時刻情報比較部8−4と、計算部8−5と、制御部8−6と内部時計補正部8−7と、内部時計8−8と、内部時計情報抽出部8−9と、を格納する。   FIG. 2 is a block diagram illustrating a configuration example of the SLAVE device 1-2. The SLAVE device 1-2 includes a CPU 8-12 as a processor, a memory 8-13, a secondary storage device 8-14, a packet transmission / reception unit A8-1 and a packet transmission / reception unit B8-10 as input / output interfaces, including. The memory 8-13 includes a packet identification unit 8-2, a time information extraction unit 8-3, a time information comparison unit 8-4, a calculation unit 8-5, a control unit 8-6, and an internal clock correction unit 8-. 7, an internal clock 8-8, and an internal clock information extraction unit 8-9 are stored.

メモリ8−13に格納された各部はいずれもプログラムである。各プログラムはCPU8−12によって実行されることで、定められた処理を記憶装置及び通信ポート(通信デバイス)を用いながら行う。従って、本実施例及び他の実施例において各部を主語とする説明は、CPU8−12を主語とした説明でもよい。若しくは、各部が実行する処理は、そのプログラムが動作する計算機及び計算機システムが行う処理である。CPU8−12は、プログラムに従って動作することによって、所定の機能を実現する機能部(手段)として動作する。   Each unit stored in the memory 8-13 is a program. Each program is executed by the CPU 8-12 to perform a predetermined process using a storage device and a communication port (communication device). Therefore, in the present embodiment and other embodiments, the description with each part as the subject may be the description with the CPU 8-12 as the subject. Alternatively, the processing executed by each unit is processing performed by a computer and a computer system on which the program operates. The CPU 8-12 operates as a functional unit (means) that realizes a predetermined function by operating according to a program.

パケット送受信部A8−1は、MASTER装置1−1とPTPパケットの送受信を行うとともに、受信したPTPパケットをパケット識別部8−2へ送信する。パケット識別部8−2は、パケット送受信部A8−1から受信したPTPパケットの種別を識別し、当該PTPパケットが後述するSync Messageであった場合は、さらにCF(Correction Field)領域に値が格納されているか否かを判定する。   The packet transmission / reception unit A8-1 transmits / receives the PTP packet to / from the MASTER device 1-1 and transmits the received PTP packet to the packet identification unit 8-2. The packet identifying unit 8-2 identifies the type of the PTP packet received from the packet transmitting / receiving unit A8-1. If the PTP packet is a sync message described later, a value is further stored in a CF (correction field) area. It is determined whether or not it has been done.

パケット識別部8−2は、識別したパケットの種別と識別結果とを制御部8−6へ送信する。またパケット識別部8−2は、受信したPTPパケットを時刻情報抽出部8−3へ送信する。時刻情報抽出部8−3は、受信したPTPパケットから時刻情報とCF領域に格納されている値とを抽出する。時刻情報抽出部8−3は、時刻情報を時刻情報比較部8−4と計算部8−5と内部時計補正部8−7に送信し、CF領域に格納されている値を計算部8−5に送信する。   The packet identification unit 8-2 transmits the identified packet type and identification result to the control unit 8-6. The packet identification unit 8-2 transmits the received PTP packet to the time information extraction unit 8-3. The time information extraction unit 8-3 extracts time information and a value stored in the CF area from the received PTP packet. The time information extraction unit 8-3 transmits the time information to the time information comparison unit 8-4, the calculation unit 8-5, and the internal clock correction unit 8-7, and the value stored in the CF area is calculated by the calculation unit 8- Send to 5.

計算部8−5は、受信した時刻情報に基づいてMASTER装置1−1とSLAVE装置1−2との間における伝送路遅延時間を算出する。伝送路遅延時間とは、MASTER装置1−1がPTPパケットを送信してから、SLAVE装置1−2が当該PTPパケットを受信するまでに要する時間である。   The calculation unit 8-5 calculates a transmission path delay time between the MASTER device 1-1 and the SLAVE device 1-2 based on the received time information. The transmission path delay time is the time required from when the MASTER device 1-1 transmits a PTP packet until the SLAVE device 1-2 receives the PTP packet.

また、計算部8−5は、後述する平均モードにおいては、例えば、伝送路遅延時間の値を積算して伝送路遅延時間の統計値を算出し、算出した統計値を、時刻情報比較部8−4と内部時計補正部8−7に送信する。また、計算部8−5は、当該伝送路遅延のゆらぎの変動を示す値を算出し、算出した値を時刻情報比較部8−4へ送信する。   Further, in the average mode to be described later, for example, the calculating unit 8-5 calculates the statistical value of the transmission line delay time by integrating the values of the transmission line delay time, and uses the calculated statistical value as the time information comparison unit 8. -4 and the internal clock correction unit 8-7. In addition, the calculation unit 8-5 calculates a value indicating fluctuation of the transmission path delay fluctuation, and transmits the calculated value to the time information comparison unit 8-4.

なお、以下では特に断らない限り、伝送路遅延とは、MASTER装置1−1とSLAVE装置1−2との間における伝送路遅延を表すものとする。なお、伝送路遅延のゆらぎとは、パケットの送信側でのパケットの送信間隔時間と、パケット着信側でのパケットの着信間隔時間とのずれを指す。伝送路遅延のゆらぎは、例えば、PTPパケットが中継装置1−10を経由することによってパケットが装置内に滞留することにより、若しくは伝送路のトラフィックの影響等により発生する。以下、伝送路遅延のゆらぎを、単にゆらぎと表記することもある。   In the following description, unless otherwise specified, the transmission line delay represents a transmission line delay between the MASTER device 1-1 and the SLAVE device 1-2. Note that the fluctuation in the transmission path delay refers to a difference between the packet transmission interval time on the packet transmission side and the packet arrival interval time on the packet reception side. The fluctuation of the transmission path delay occurs, for example, when the PTP packet passes through the relay apparatus 1-10 and the packet stays in the apparatus or due to the influence of the traffic on the transmission path. Hereinafter, the fluctuation of the transmission line delay may be simply referred to as fluctuation.

時刻情報比較部8−4は、内部時計補正部8−7が新たに決定した時刻と、内部時計8−8から受信した時刻と、を比較して差を算出する。時刻情報比較部8−4は、算出した差が設定された閾値以下であれば時刻同期が完了したと判定し、判定結果を制御部8−6へ送信する。また、時刻情報比較部8−4は、計算部8−5から受信した伝送路遅延のゆらぎの変動が設定された閾値以下であるかを判定し、判定結果を制御部8−6へ送信する。   The time information comparison unit 8-4 compares the time newly determined by the internal clock correction unit 8-7 with the time received from the internal clock 8-8 and calculates a difference. The time information comparison unit 8-4 determines that the time synchronization is completed if the calculated difference is equal to or less than the set threshold value, and transmits the determination result to the control unit 8-6. Further, the time information comparison unit 8-4 determines whether or not the fluctuation of the transmission path delay received from the calculation unit 8-5 is equal to or less than the set threshold value, and transmits the determination result to the control unit 8-6. .

制御部8−6は、パケット識別部8−2から受信した判定結果、時刻情報比較部8−4から受信した判定結果等に基づき時刻同期方法を選択し、内部時計補正部8−7に対して選択した時刻同期方法を利用した時刻同期を指示する。また、制御部8−6は、時刻情報比較部8−4から受信した判定結果が時刻同期完了であれば、内部時計情報抽出部8−9へ時刻同期完了を通知する。   The control unit 8-6 selects a time synchronization method based on the determination result received from the packet identification unit 8-2, the determination result received from the time information comparison unit 8-4, and the like, and the internal clock correction unit 8-7 Instructs time synchronization using the time synchronization method selected in the above. If the determination result received from the time information comparison unit 8-4 is time synchronization completion, the control unit 8-6 notifies the time synchronization completion to the internal clock information extraction unit 8-9.

内部時計補正部8−7は、制御部8−6が選択した時刻同期方法を利用して、時刻情報抽出部8−3から受信した時刻情報と、計算部8−5から受信した伝送路遅延時間または伝送路遅延時間の統計値と、から現在時刻を決定する。内部時計補正部8−7は、決定した時刻情報を内部時計8−8へ送信する。また、内部時計補正部8−7は、時刻情報抽出部8−3から受信した時刻情報、計算部8−5から受信した伝送路遅延時間、決定した時刻情報等を後述する同期履歴テーブル8−15に書き込む。   The internal clock correction unit 8-7 uses the time synchronization method selected by the control unit 8-6 to transmit the time information received from the time information extraction unit 8-3 and the transmission path delay received from the calculation unit 8-5. The current time is determined from the statistical value of time or transmission line delay time. The internal clock correction unit 8-7 transmits the determined time information to the internal clock 8-8. Further, the internal clock correction unit 8-7 receives the time information received from the time information extraction unit 8-3, the transmission path delay time received from the calculation unit 8-5, the determined time information, and the like as will be described later. Write to 15.

内部時計8−8は、受信した時刻情報に自身の時刻を同期させ、自身の時刻情報を時刻情報比較部8−4へ送信する。内部時計情報抽出部8−9は、内部時計8−8から時刻を抽出する。内部時計情報抽出部8−9は、制御部8−6から時刻同期完了の通知を受信すると、内部時計8−8から時刻を抽出し、抽出した時刻情報を含むパケットを生成する。内部時計情報抽出部8−9は、生成したパケットをパケット送受信部B8−10へ送信する。パケット送受信部B8−10は、内部時計情報抽出部8−9から受信したパケットを基地局装置1−3へ送信する。   The internal clock 8-8 synchronizes its own time with the received time information, and transmits its own time information to the time information comparison unit 8-4. The internal clock information extraction unit 8-9 extracts the time from the internal clock 8-8. When receiving the time synchronization completion notification from the control unit 8-6, the internal clock information extracting unit 8-9 extracts the time from the internal clock 8-8, and generates a packet including the extracted time information. The internal clock information extracting unit 8-9 transmits the generated packet to the packet transmitting / receiving unit B8-10. The packet transmitting / receiving unit B8-10 transmits the packet received from the internal clock information extracting unit 8-9 to the base station device 1-3.

二次記憶装置8−14は、同期履歴テーブル8−15を保持する。同期履歴テーブル8−15は、計算部8−5が算出した伝送路遅延時間の履歴情報を含む。例えば、同期履歴テーブル8−15は、時刻情報抽出部8−3がPTPパケットから抽出したMASTER装置1−1の時刻と、伝送路遅延時間と、内部時計補正部8−7がMASTER装置1−1の当該時刻と当該伝送路遅延時間とから算出した時刻と、の対応の履歴を格納する。   The secondary storage device 8-14 holds a synchronization history table 8-15. The synchronization history table 8-15 includes history information of the transmission line delay time calculated by the calculation unit 8-5. For example, the synchronization history table 8-15 includes the time of the MASTER device 1-1 extracted by the time information extraction unit 8-3 from the PTP packet, the transmission path delay time, and the internal clock correction unit 8-7 of the MASTER device 1-1. A history of correspondence between the time of 1 and the time calculated from the transmission line delay time is stored.

図3は、SLAVE装置1−2が時刻同期するために、MASTER装置1−1と、SLAVE装置1−2との間で送受信するメッセージのシーケンスの一例として、IEEE1588に規定されるPTPメッセージのシーケンスを示す。なお、図3〜図7Aでは、中継装置1−10を省略して記載している。   FIG. 3 shows a sequence of PTP messages defined in IEEE 1588 as an example of a sequence of messages transmitted and received between the MASTER device 1-1 and the SLAVE device 1-2 in order to synchronize the time of the SLAVE device 1-2. Indicates. 3A to 7A, the relay device 1-10 is omitted.

まずIEEE1588で規定されているPTPパケットについて説明する。Sync Message2−7とDelay_Req Message2−8とDelay_Resp Message2−9はIEEE1588において規定されているPTPパケットである。   First, a PTP packet defined by IEEE 1588 will be described. Sync Message 2-7, Delay_Req Message 2-8, and Delay_Resp Message 2-9 are PTP packets defined in IEEE 1588.

Sync Message2−7には、MASTER装置1−1がSync_Message2−7を送信した時点におけるMASTER装置1−1の時刻情報が埋め込まれている。Delay_Req Message2−8とDelay_Resp Message2−9は、MASTER装置1−1とSLAVE装置1−2との間の伝送路遅延を補正するために送受信される。   In the Sync Message 2-7, time information of the MASTER device 1-1 at the time when the MASTER device 1-1 transmits the Sync_Message 2-7 is embedded. The Delay_Req Message 2-8 and the Delay_Resp Message 2-9 are transmitted and received in order to correct the transmission line delay between the MASTER device 1-1 and the SLAVE device 1-2.

IEEE1588では、時刻同期精度を維持するために、MASTER装置1−1とSLAVE装置1−2との間で、Sync Message2−7、Delay_Req Message2−8、Delay_Resp Message2−9の送受信を繰り返し行う方式をとっている。   In IEEE 1588, in order to maintain time synchronization accuracy, a method of repeatedly transmitting / receiving Sync Message 2-7, Delay_Req Message 2-8, and Delay_Resp Message 2-9 between the MASTER device 1-1 and the SLAVE device 1-2 is adopted. ing.

次に時刻同期のシーケンスについて説明する。伝送路により接続された2つの装置間で情報の送受信が行われる場合、伝送距離に応じた伝送路遅延が発生する。このため、装置がある時点の時刻情報をもつメッセージを送信した場合、当該メッセージを受信する装置は伝送路による遅延分を考慮して受信した時刻情報を補正する必要がある。IEEE1588ではこの点に留意し、2つの装置間の時刻のずれと伝送路遅延時間を検出し時刻補正を行う方式をとっている。   Next, a time synchronization sequence will be described. When information is transmitted and received between two devices connected by a transmission path, a transmission path delay corresponding to the transmission distance occurs. For this reason, when a device transmits a message having time information at a certain point, the device receiving the message needs to correct the received time information in consideration of a delay due to the transmission path. IEEE 1588 takes this into consideration, and adopts a method of correcting the time by detecting the time lag between the two devices and the transmission path delay time.

MASTER装置1−1は、PTPメッセージ送信間隔2−1に従い、周期的にIEEE1588プロトコルによってPTPメッセージを送受信する。このとき、PTPメッセージ送信間隔2−1は、SLAVE装置1−2によって決定される。SLAVE装置1−2は、PTPメッセージ送信間隔2−1の情報を、PTPメッセージを用いてMASTER装置1−1に伝達する。MASTER装置1−1は受信したPTPメッセージから得られたPTPメッセージ送信間隔2−1に従って、PTPメッセージの送信を行う。   The MASTER device 1-1 periodically transmits / receives a PTP message by the IEEE 1588 protocol according to the PTP message transmission interval 2-1. At this time, the PTP message transmission interval 2-1 is determined by the SLAVE device 1-2. The SLAVE device 1-2 transmits information on the PTP message transmission interval 2-1 to the MASTER device 1-1 using the PTP message. The MASTER device 1-1 transmits a PTP message according to the PTP message transmission interval 2-1 obtained from the received PTP message.

MASTER装置1−1は、MASTER装置1−1が保持する時刻Taを記録すると同時に、時刻Taを含むSync Message2−7をSLAVE装置1−2へ送信する。パケット送受信部A8−1が、Sync Message2−7を受信すると、内部時計情報抽出部8−9は、SyncMessage2−7を受信した時点の内部時計8−8の時刻Tbを抽出し、記録する。   The MASTER device 1-1 records the time Ta held by the MASTER device 1-1, and at the same time transmits a Sync Message 2-7 including the time Ta to the SLAVE device 1-2. When the packet transmitting / receiving unit A8-1 receives the Sync Message 2-7, the internal clock information extracting unit 8-9 extracts and records the time Tb of the internal clock 8-8 at the time of receiving the Sync Message 2-7.

上述した処理により、SLAVE装置1−2は、MASTER装置1−1がSyncMessage2−7を送出した時刻TaとSync Message2−7を受信した時刻Tbの情報を得る。   Through the above-described processing, the SLAVE device 1-2 obtains information on the time Ta when the MASTER device 1-1 sends out the Sync Message 2-7 and the time Tb when it receives the Sync Message 2-7.

続いて、SLAVE装置1−2は、Delay_ReqMessage2−8を生成する。パケット送受信部A8−1は、パケットDelay_ReqMessageをMASTER装置1−1へ送出する。内部時計情報抽出部8−9は、Delay_ReqMessage2−8を送出した時点の内部時計8−8の時刻Tcを抽出し、記録する。   Subsequently, the SLAVE device 1-2 generates a Delay_ReqMessage 2-8. The packet transmission / reception unit A8-1 sends a packet Delay_ReqMessage to the MASTER device 1-1. The internal clock information extraction unit 8-9 extracts and records the time Tc of the internal clock 8-8 at the time when the Delay_ReqMessage 2-8 is sent.

MASTER装置1−1は、Delay_ReqMessage2−8を受信し、Dlay_ReqMessage2−8を受信した時点のMASTER装置が保持する時刻Tdを記録する。MASTER装置1−1は、時刻Tdを含むDelay_RespMessage2−9を生成し、SLAVE装置1−2に送出する。上述した処理により、SLAVE装置1−2は、Delay_ReqMessage2−8を送出した時刻Tcと、MASTER装置1−1がDelay_ReqMessage2−8を受信した時刻Tdの情報を得る。   The MASTER device 1-1 receives the Delay_ReqMessage 2-8 and records the time Td held by the MASTER device at the time of receiving the Delay_ReqMessage 2-8. The MASTER device 1-1 generates a Delay_RespMessage 2-9 including the time Td and sends it to the SLAVE device 1-2. Through the processing described above, the SLAVE device 1-2 obtains information on the time Tc at which the Delay_ReqMessage 2-8 is transmitted and the time Td at which the MASTER device 1-1 receives the Delay_ReqMessage 2-8.

計算部8−5は、上記4つの時刻情報Ta〜Tdから、MASTER装置1−1からSLAVE装置1−2へ情報が伝達する方向の伝送路遅延時間と、SLAVE装置1−2からMASTER装置1−1へ情報が伝達する方向の伝送路遅延時間との和を算出できる。   The calculation unit 8-5 transmits the transmission path delay time in the direction in which information is transmitted from the MASTER device 1-1 to the SLAVE device 1-2 from the four pieces of time information Ta to Td, and the SLAVE device 1-2 to the MASTER device 1. -1 can be calculated with the transmission line delay time in the direction in which information is transmitted to -1.

ここで、IEEE1588プロトコルにおける遅延計算では、MASTER装置1−1からSLAVE装置1−2、SLAVE装置1−2からMASTER装置1−1両方向の伝送路遅延が対称であると仮定し、単一方向の伝送路遅延時間が算出される。つまり計算部8−5は、伝送路遅延時間dを以下の式によって算出する。   Here, in the delay calculation in the IEEE 1588 protocol, it is assumed that transmission path delays in both directions of the MASTER apparatus 1-1 to the SLAVE apparatus 1-2 and the SLAVE apparatus 1-2 to the MASTER apparatus 1-1 are symmetric. A transmission line delay time is calculated. That is, the calculation unit 8-5 calculates the transmission line delay time d by the following formula.

d={(Tb−Ta)+(Td−Tc)}/2   d = {(Tb−Ta) + (Td−Tc)} / 2

以上により、SLAVE装置1−2は、伝送路遅延時間と、MASTER装置1−1から送信されるSync Messageとを用いて、MASTER装置1−1の時刻にSLAVE装置1−2の時刻を従属させて動作することが可能となる。なお、SLAVE装置1−2と基地局装置1−3との間においても、同様のシーケンスを実行することにより、多段に接続された、MASTER装置1−1とSLAVE装置1−2と基地局装置1−3の時刻同期が実現できる。   As described above, the SLAVE device 1-2 uses the transmission path delay time and the Sync Message transmitted from the MASTER device 1-1 to subordinate the time of the SLAVE device 1-2 to the time of the MASTER device 1-1. Can be operated. It should be noted that the MASTER device 1-1, the SLAVE device 1-2, and the base station device connected in multiple stages by executing a similar sequence between the SLAVE device 1-2 and the base station device 1-3. 1-3 time synchronization can be realized.

以下では、伝送路遅延時間の値が一定である(伝送路遅延にゆらぎが無い)場合と、変動している(伝送路遅延にゆらぎが有る)場合の、IEEE1588における時刻同期精度について説明する。   Hereinafter, the time synchronization accuracy in IEEE 1588 when the value of the transmission line delay time is constant (no fluctuation in the transmission line delay) and when the value is fluctuating (the fluctuation in the transmission line delay) will be described.

図4は、伝送路遅延にゆらぎがない場合の、SLAVE装置1−2における時刻同期処理の一例を示す。伝送路遅延時間の算出シーケンス3−2は図3で説明したシーケンスと同様である。図4においては、伝送路遅延にゆらぎが無いため、伝送路遅延時間dの値は全て、伝送路遅延時間の算出シーケンス3−2により算出された値と等しい。   FIG. 4 shows an example of time synchronization processing in the SLAVE device 1-2 when there is no fluctuation in the transmission line delay. The transmission path delay time calculation sequence 3-2 is the same as the sequence described in FIG. In FIG. 4, since there is no fluctuation in the transmission line delay, all the values of the transmission line delay time d are equal to the values calculated by the transmission line delay time calculation sequence 3-2.

伝送路遅延時間が一定である(伝送路遅延にゆらぎが無い)ということは、MASTER装置1−1がPTPパケットを送信してから、SLAVE装置1−2が当該PTPパケットを受信するまでの時間が一定ということである。従って、SLAVE装置1−2は、Sync Message2−7に埋め込まれている時刻を抽出し、その時刻に伝送路遅延時間を加えることで、正確に現在時刻を取得することができ、MASTER装置1−1と精密に時刻同期することができる。   The fact that the transmission line delay time is constant (the transmission line delay does not fluctuate) means that the time from when the MASTER device 1-1 transmits the PTP packet until the SLAVE device 1-2 receives the PTP packet. Is constant. Accordingly, the SLAVE device 1-2 can extract the time embedded in the Sync Message 2-7 and add the transmission line delay time to the time, thereby accurately acquiring the current time. The time can be precisely synchronized with 1.

図5は、伝送路遅延にゆらぎが有る場合の、SLAVE装置1−2における時刻同期処理の一例を示す。例えば、MASTER装置1−1が送信したPTPパケットがハブ等の中継装置1−10を経由し、伝送路(ネットワーク)のトラフィックが変動するといった場合、伝送路遅延時間の値は一定でなく変動する(即ち、伝送路遅延にゆらぎが有る)と考えられる。すなわち、伝送路遅延時間Δdは変動するため、SLAVE装置1−2が、図3と同様の伝送路遅延時間の算出シーケンス4−2で算出した値は、伝送路遅延時間Δdの値と異なり、誤差が生じる。   FIG. 5 shows an example of time synchronization processing in the SLAVE device 1-2 when there is fluctuation in the transmission line delay. For example, when the PTP packet transmitted from the MASTER device 1-1 passes through the relay device 1-10 such as a hub and the traffic on the transmission path (network) fluctuates, the value of the transmission path delay time is not constant and varies. (That is, there is fluctuation in the transmission line delay). That is, since the transmission line delay time Δd fluctuates, the value calculated by the SLAVE device 1-2 in the transmission line delay time calculation sequence 4-2 similar to FIG. 3 is different from the value of the transmission line delay time Δd. An error occurs.

このとき、SLAVE装置1−2が、Sync Message2−7に埋め込まれている時刻と、伝送路遅延時間の算出シーケンス4−2で算出した値とを用いて現在時刻を算出すると、上記誤差が時刻誤差となり、時刻同期精度が悪化する。   At this time, if the SLAVE device 1-2 calculates the current time using the time embedded in the Sync Message 2-7 and the value calculated in the transmission path delay time calculation sequence 4-2, the above error may occur. An error occurs and the time synchronization accuracy deteriorates.

上記した伝送路遅延のゆらぎによる時刻誤差を補正するための一つの手段として、IEEE1588は、TC機能を規定している。TC機能とは、PTPパケットを転送する中継装置1−10が、PTPパケットを受信してから送信するまでにかかった時間(装置内滞留時間)を、補正値としてPTPパケットに追加する機能である。   IEEE 1588 defines a TC function as one means for correcting a time error due to the fluctuation of the transmission line delay described above. The TC function is a function of adding, to the PTP packet as a correction value, the time (retention time in the apparatus) required for the relay apparatus 1-10 that transfers the PTP packet to receive and transmit the PTP packet. .

中継装置1−10は、TC機能により算出した補正値を、PTPパケット中のCF領域に書き込む。中継装置1−10が、このTC機能を実装していれば、中継装置1−10を経由することによる伝送路遅延のゆらぎを補正し、時刻同期精度の悪化を抑えることができる。しかし、中継装置1−10が、TC機能を実装していない場合は、伝送路遅延のゆらぎを補正するためには、他の方法を利用しなければならない。   The relay apparatus 1-10 writes the correction value calculated by the TC function in the CF area in the PTP packet. If the relay apparatus 1-10 is equipped with this TC function, it is possible to correct fluctuations in transmission path delay caused by passing through the relay apparatus 1-10, and to suppress deterioration in time synchronization accuracy. However, when the relay apparatus 1-10 does not implement the TC function, another method must be used to correct the fluctuation of the transmission path delay.

図6は、伝送路遅延にゆらぎがない場合の時刻同期方法の一例を示す。SLAVE装置1−2は、図3で説明したシーケンスにより伝送路遅延時間dを取得する。続いて、パケット送受信部A8−1は、MASTER装置1−1の時刻が埋め込まれたSync Message2−7を受信し、時刻情報抽出部8−3は、MASTER装置1−1の時刻情報を抽出する。ここで、伝送路遅延にゆらぎが無い場合は、このSync Messageの伝送路遅延時間は、先に算出した伝送路遅延時間dと等しい。   FIG. 6 shows an example of a time synchronization method when there is no fluctuation in the transmission line delay. The SLAVE device 1-2 acquires the transmission path delay time d by the sequence described in FIG. Subsequently, the packet transmission / reception unit A8-1 receives the Sync Message 2-7 in which the time of the MASTER device 1-1 is embedded, and the time information extraction unit 8-3 extracts the time information of the MASTER device 1-1. . Here, when there is no fluctuation in the transmission line delay, the transmission line delay time of this Sync Message is equal to the previously calculated transmission line delay time d.

つまり、SLAVE装置1−2がSync Messageを受信した時のMASTER装置1−1の時計の時刻は、Sync Messageに埋め込まれた時刻に伝送路遅延時間dを加えた時刻に等しくなる。従って、内部時計補正部8−7は、時刻情報抽出部8−3が抽出した時刻情報に、計算部8−5が算出した伝送路遅延時間dを加えることにより現在時刻を算出することができる。内部時計補正部8−7は、算出した現在時刻を内部時計8−8に送信する。   That is, the clock time of the MASTER device 1-1 when the SLAVE device 1-2 receives the Sync Message is equal to the time obtained by adding the transmission line delay time d to the time embedded in the Sync Message. Therefore, the internal clock correction unit 8-7 can calculate the current time by adding the transmission line delay time d calculated by the calculation unit 8-5 to the time information extracted by the time information extraction unit 8-3. . The internal clock correction unit 8-7 transmits the calculated current time to the internal clock 8-8.

つまりSLAVE装置1−2は、Sync Messageに埋め込まれたMASTER装置1−1の時刻情報と、伝送路遅延時間dと、によって即座にMASTER装置1−1の時刻を知ることができ、かつ高精度な時刻同期をすることができる。以下、この時刻同期方法を高速モードと呼ぶ。   In other words, the SLAVE device 1-2 can immediately know the time of the MASTER device 1-1 from the time information of the MASTER device 1-1 embedded in the Sync Message and the transmission path delay time d, and has high accuracy. Time synchronization. Hereinafter, this time synchronization method is referred to as a high-speed mode.

なお、中継装置1−10が、TC機能により伝送路遅延のゆらぎを補正した場合、計算部8−5は、上述の方法を用いて算出された伝送路遅延時間に当該補正値を反映させる。SLAVE装置1−2は、この処理により伝送路遅延のゆらぎが有っても高精度な伝送路遅延時間dを算出することができる。従って、中継装置1−10が、TC機能により伝送路遅延のゆらぎを補正した場合においても、SLAVE装置1−2は高速モードを用いて、高速かつ高精度な時刻同期をすることができる。   In addition, when the relay apparatus 1-10 corrects the fluctuation of the transmission line delay by the TC function, the calculation unit 8-5 reflects the correction value on the transmission line delay time calculated using the above-described method. The SLAVE device 1-2 can calculate the transmission line delay time d with high accuracy even if there is a fluctuation in the transmission line delay by this processing. Therefore, even when the relay apparatus 1-10 corrects the transmission path delay fluctuation by the TC function, the SLAVE apparatus 1-2 can perform high-speed and high-accuracy time synchronization using the high-speed mode.

SLAVE装置1−2が高速モードで時刻同期を行う場合、SLAVE装置1−2においてゆらぎによる誤差を補正せずに時刻同期を行うため、SLAVE装置1−2が起動してから、時刻同期を完了し、基地局装置1−3に時刻を配信するまでの時間が短いというメリットがある。しかし、伝送路遅延時間のゆらぎが大きく、かつ伝送路遅延のゆらぎがTC機能で補正されない場合は、SLAVE装置1−2における時刻同期精度が悪化する。   When the SLAVE device 1-2 performs time synchronization in the high speed mode, the time synchronization is completed after the SLAVE device 1-2 is activated in order to perform time synchronization without correcting errors due to fluctuations in the SLAVE device 1-2. However, there is an advantage that the time until the time is distributed to the base station device 1-3 is short. However, when the fluctuation of the transmission line delay time is large and the fluctuation of the transmission line delay is not corrected by the TC function, the time synchronization accuracy in the SLAVE device 1-2 deteriorates.

図7Aは、伝送路遅延にゆらぎがある場合の、時刻同期方法の一例を示す。伝送路遅延にゆらぎが有り、かつ伝送路遅延のゆらぎが中継装置1−10のTC機能で補正されない場合、SLAVE装置1−2が算出する伝送路遅延時間Δdは、実際の伝送路遅延時間と異なる。従って、前述した通りΔdと実際の伝送路遅延時間との差が、時刻の誤差となる。SLAVE装置1−2が取得する時刻が変動してしまうため、当該時刻を別の手段で平滑化する必要がある。以下、当該平滑化手段について説明する。   FIG. 7A shows an example of a time synchronization method when there is fluctuation in the transmission line delay. When there is fluctuation in the transmission line delay and the fluctuation in the transmission line delay is not corrected by the TC function of the relay apparatus 1-10, the transmission line delay time Δd calculated by the SLAVE apparatus 1-2 is equal to the actual transmission line delay time. Different. Therefore, as described above, the difference between Δd and the actual transmission line delay time becomes a time error. Since the time acquired by the SLAVE device 1-2 varies, the time needs to be smoothed by another means. Hereinafter, the smoothing means will be described.

図7Bは、伝送路遅延にゆらぎがある場合の、SLAVE装置1−2における時刻同期の内部処理の一例を示す。計算部8−5は、MASTER装置1−1から受信したSync Messageから取得した時刻と、当該Sync Messageを用いて図3におけるシーケンスで算出した時刻と、を同期履歴テーブル8−15から抽出する。計算部8−5は、抽出した2つの時刻の誤差(即ち、図3におけるシーケンスで算出した伝送路遅延時間)を積算し、統計値を算出する。内部時計補正部8−7は、当該統計値を用いて内部時計8−8の時刻を補正する。   FIG. 7B shows an example of internal processing of time synchronization in the SLAVE device 1-2 when there is fluctuation in the transmission line delay. The calculation unit 8-5 extracts, from the synchronization history table 8-15, the time acquired from the Sync Message received from the MASTER device 1-1 and the time calculated by the sequence in FIG. 3 using the Sync Message. The calculator 8-5 integrates the extracted two time errors (that is, the transmission path delay time calculated by the sequence in FIG. 3) to calculate a statistical value. The internal clock correction unit 8-7 corrects the time of the internal clock 8-8 using the statistical value.

図7Bでは、計算部8−5が、当該統計値を算出する処理として、同期履歴テーブル8−15に格納された時刻情報の履歴に対して、最小二乗法を適用する例を示す。具体的には、計算部8−5は、図3におけるシーケンスを用いて当該Sync MessageからSLAVE装置1−2によって算出された時刻が、Sync Messageから取得したMASTER装置1−1の時刻のモデル関数に従うものとして、当該モデル関数を生成する。内部時計補正部8−7は、時刻情報抽出部8−3が抽出したMASTER装置1−1の時刻情報を、当該モデル関数に代入することで現在時刻を算出し、算出した現在時刻を内部時計8−8へ送信する。なお、図7Bにおいては、当該モデル関数が一次関数である例を記載しているが、当該モデル関数の次数は問わない。また、計算部8−5は、最小二乗法以外の手法を利用してモデル関数を生成してもよい。   FIG. 7B shows an example in which the calculation unit 8-5 applies the least square method to the history of time information stored in the synchronization history table 8-15 as the process of calculating the statistical value. Specifically, the calculation unit 8-5 uses the sequence in FIG. 3 to calculate the model function of the time of the MASTER device 1-1 obtained from the Sync Message from the Sync Message 1-2 by the SLAVE device 1-2. As a result, the model function is generated. The internal clock correction unit 8-7 calculates the current time by substituting the time information of the MASTER device 1-1 extracted by the time information extraction unit 8-3 into the model function, and uses the calculated current time as the internal clock. Send to 8-8. Although FIG. 7B shows an example in which the model function is a linear function, the order of the model function is not limited. Further, the calculation unit 8-5 may generate the model function using a method other than the least square method.

計算部8−5が統計値を算出する間は、SLAVE装置1−2は時刻同期を行うことができない。また、SLAVE装置1−2は、安定したオフセット値を求めるために、PTPパケットに含まれるMASTER装置1−1の時刻のサンプルを多く取得する必要がある。また、SLAVE装置1−2は、一度統計値を取得した後も、時刻同期の精度を高めるため、継続して時刻の誤差を積算し続けていく必要がある。以下、この同期方法を平均モードと呼ぶ。   While the calculating unit 8-5 calculates the statistical value, the SLAVE device 1-2 cannot perform time synchronization. In addition, the SLAVE device 1-2 needs to acquire many samples of the time of the MASTER device 1-1 included in the PTP packet in order to obtain a stable offset value. In addition, the SLAVE device 1-2 needs to continue to accumulate time errors in order to improve the accuracy of time synchronization even after obtaining statistical values once. Hereinafter, this synchronization method is referred to as an average mode.

SLAVE装置1−2は、平均モードで時刻同期を行う場合、伝送路遅延にゆらぎがあり、かつ中継装置1−10がTC機能を用いて伝送路遅延時間を補正しない場合であっても、高精度な時刻同期ができるというメリットがある。しかし、SLAVE装置1−2は、平均モードを利用すると当該統計値を算出する必要があるため、高速モードに比べ、装置起動から時刻同期するまでに時間がかかるというデメリットがある。   When the SLAVE device 1-2 performs time synchronization in the average mode, even if there is fluctuation in the transmission line delay and the relay apparatus 1-10 does not correct the transmission line delay time using the TC function, There is an advantage that accurate time synchronization is possible. However, since the SLAVE device 1-2 needs to calculate the statistical value when the average mode is used, there is a demerit that it takes time from device activation to time synchronization compared to the high-speed mode.

SLAVE装置1−2は、高速かつ高精度な時刻同期を実現するために、伝送路遅延のゆらぎの有無を考慮する必要がある。しかし、伝送路遅延のゆらぎについては、MASTER装置1−1とSLAVE装置1−2の間の伝送路(ネットワーク)の環境により変化するため、SLAVE装置1−2は、高精度かつ効率の良い時刻同期を実現するために、伝送路の環境に応じて時刻同期方法を選択する必要がある。   The SLAVE device 1-2 needs to consider the presence or absence of fluctuations in the transmission line delay in order to realize high-speed and highly accurate time synchronization. However, since the fluctuation of the transmission line delay varies depending on the environment of the transmission line (network) between the MASTER apparatus 1-1 and the SLAVE apparatus 1-2, the SLAVE apparatus 1-2 has a highly accurate and efficient time. In order to realize the synchronization, it is necessary to select a time synchronization method according to the environment of the transmission path.

図8は、SLAVE装置1−2が起動し、基地局装置1−3に時刻配信を行うまでの動作例を示すフローチャートである。前述したように、伝送路遅延のゆらぎには、MASTER装置1−1とSLAVE装置1−2との間に設置される中継装置1−10を経由することによって発生するゆらぎ(装置内滞留時間)と、伝送路のトラフィックによって発生するゆらぎと、がある。   FIG. 8 is a flowchart showing an operation example until the SLAVE device 1-2 is activated and time distribution is performed to the base station device 1-3. As described above, the fluctuation of the transmission path delay is fluctuation (retention time in the apparatus) generated by passing through the relay apparatus 1-10 installed between the MASTER apparatus 1-1 and the SLAVE apparatus 1-2. And fluctuations caused by traffic on the transmission path.

これらのゆらぎが発生しなければ、若しくは中継装置1−10にゆらぎを補正する機能が実装されていれば、高速モードにて短時間で高精度な時刻同期を行うことが可能となる。また、これらのゆらぎが発生し、かつ中継装置1−10にゆらぎを補正する機能が実装されていなければ、平均モードを用いることにより、ゆらぎによる誤差を抑え高精度な時刻同期を行うことができる。   If these fluctuations do not occur or if the relay apparatus 1-10 has a function for correcting fluctuations, it is possible to perform highly accurate time synchronization in a short time in the high-speed mode. If these fluctuations occur and the function of correcting the fluctuations is not implemented in the relay apparatus 1-10, using the average mode can suppress errors due to fluctuations and perform highly accurate time synchronization. .

本実施例のSLAVE装置1−2は、例えば、中継装置1−10がゆらぎを補正する機能を有しているかを判定する、伝送路遅延の変動と閾値とを比較する、取得時刻と内部時計8−8の時刻の差と閾値とを比較する等の処理によって、ネットワークにおける補正機能の有無、及びゆらぎの発生の有無を判定する。SLAVE装置1−2は、ネットワークにおける補正機能が無く、ゆらぎが発生していると判定した場合に、時刻同期方法を高速モードから平均モードへ切り替える。   The SLAVE device 1-2 according to the present embodiment, for example, determines whether the relay device 1-10 has a function of correcting fluctuation, compares the fluctuation of the transmission line delay with the threshold value, and obtains the acquisition time and the internal clock. The presence or absence of a correction function in the network and the presence or absence of fluctuation are determined by processing such as comparing the time difference of 8-8 with a threshold value. The SLAVE device 1-2 switches the time synchronization method from the high-speed mode to the average mode when it is determined that there is no correction function in the network and fluctuation has occurred.

SLAVE装置1−2は、装置内滞留時間の補正が行われているかどうかを、中継装置1−10におけるTC機能の実装有無から判別する。つまり、SLAVE装置1−2は、中継装置1−10にTC機能が実装されていないと判定すれば、中継装置1−10が補正機能を実装していないと判定する。   The SLAVE device 1-2 determines whether or not the residence time in the device is corrected based on whether or not the TC function is installed in the relay device 1-10. That is, if the SLAVE device 1-2 determines that the relay device 1-10 does not include the TC function, the SLAVE device 1-2 determines that the relay device 1-10 does not include the correction function.

SLAVE装置1−2は、中継装置1−10にTC機能が実装されていないと判定した場合、ネットワークのトラフィックによるゆらぎの有無を、伝送路遅延時間の変動を所定の閾値と比較することにより判別する。つまりSLAVE装置1−2は、当該変動が当該閾値を超えていると判定すれば、ゆらぎが発生していると判定する。また、SLAVE装置1−2は、上述の処理においてゆらぎが発生しているとの判定結果を得なかった場合でも、時刻誤差が所定の制限時間内に要求精度まで収束しない場合は、ゆらぎが発生していると判定する。   When the SLAVE device 1-2 determines that the TC function is not implemented in the relay device 1-10, the SLAVE device 1-2 determines the presence or absence of fluctuation due to network traffic by comparing the fluctuation of the transmission path delay time with a predetermined threshold value. To do. That is, if the SLAVE device 1-2 determines that the fluctuation exceeds the threshold, the SLAVE device 1-2 determines that fluctuation has occurred. Further, even when the SLAVE device 1-2 does not obtain a determination result that the fluctuation has occurred in the above-described processing, if the time error does not converge to the required accuracy within the predetermined time limit, the fluctuation occurs. It is determined that

以下、図8における具体的なステップについて説明する。まずSLAVE装置1−2が起動する(S7−1)。SLAVE装置1−2が起動してから、時刻同期を開始するまでの処理は以下の通りである。SLAVE装置1−2とMASTER装置1−1は、ARPパケットを送受信し、互いのMACアドレスを認識する。続いて、SLAVE装置1−2はMASTER装置1−1に対して、PTPパケットの送信要求を行う。また、このとき、SLAVE装置1−2とMASTER装置1−1は、PTPパケットの送受信に必要な情報(例えば、どちらの装置がMASTERになるか、MASTER装置における時刻源の情報等)を互いに送受信する。SLAVE装置1−2は上記処理の後に、時刻同期を開始する。   Hereinafter, specific steps in FIG. 8 will be described. First, the SLAVE device 1-2 is activated (S7-1). The processing from when the SLAVE device 1-2 is activated until the time synchronization is started is as follows. The SLAVE device 1-2 and the MASTER device 1-1 transmit and receive an ARP packet and recognize each other's MAC address. Subsequently, the SLAVE device 1-2 makes a PTP packet transmission request to the MASTER device 1-1. At this time, the SLAVE device 1-2 and the MASTER device 1-1 also transmit / receive information necessary for transmission / reception of the PTP packet (for example, which device becomes the MASTER, information on the time source in the MASTER device). To do. The SLAVE device 1-2 starts time synchronization after the above processing.

続いて制御部8−6は、内部時計補正部8−7に対して高速モードで時刻同期を指示し、内部時計補正部8−7は高速モードを利用した時刻同期を開始する(S7−2)。なお、SLAVE装置1−2は、MASTER装置から定期的にSync Messageを受信し、下記に説明するステップと並行して、受信したSync Messageに対して時刻同期を行ってもよい。なお、SLAVE装置1−2は、MASTER装置1−1から受信したPTPパケットに基づいて、高速モードで伝送路遅延時間dを1回、又は複数回算出した後に後述するステップを開始する。   Subsequently, the control unit 8-6 instructs the internal clock correction unit 8-7 to perform time synchronization in the high speed mode, and the internal clock correction unit 8-7 starts time synchronization using the high speed mode (S7-2). ). Note that the SLAVE device 1-2 may periodically receive a Sync Message from the MASTER device, and perform time synchronization on the received Sync Message in parallel with the steps described below. The SLAVE device 1-2 calculates a transmission line delay time d once or a plurality of times in the high-speed mode based on the PTP packet received from the MASTER device 1-1, and starts the steps described later.

パケット識別部8−2は、MASTER装置1−1から受信したPTPパケットのCF領域に値が格納されているか否かを判定し、当該判定結果を制御部8−6に送信する(S7−3)。なお、パケット識別部8−2は当該判定により、中継装置1−10にTC機能が実装されているか否かを判別することができる。   The packet identification unit 8-2 determines whether a value is stored in the CF area of the PTP packet received from the MASTER device 1-1, and transmits the determination result to the control unit 8-6 (S7-3). ). Note that the packet identification unit 8-2 can determine whether or not the TC function is implemented in the relay device 1-10 based on the determination.

中継装置1−10にTC機能が実装されている場合、中継装置1−10がTC機能によって算出した補正値はPTPパケット中のCF領域に書き込まれている。従って、CF領域に値が格納されていれば、中継装置1−10にTC機能が実装されており、制御部8−6は、伝送路遅延のゆらぎが中継装置1−10によって補正されていると判断する。このとき、制御部8−6は、内部時計補正部8−7に対してモード切り替えの指示を出さず、SLAVE装置1−2は、高速モードでの時刻同期を続行する(S7−3:Yes)。   When the TC function is implemented in the relay apparatus 1-10, the correction value calculated by the relay apparatus 1-10 using the TC function is written in the CF area in the PTP packet. Therefore, if a value is stored in the CF area, the TC function is implemented in the relay device 1-10, and the control unit 8-6 corrects the fluctuation of the transmission line delay by the relay device 1-10. Judge. At this time, the control unit 8-6 does not issue an instruction for mode switching to the internal clock correction unit 8-7, and the SLAVE device 1-2 continues time synchronization in the high-speed mode (S7-3: Yes). ).

ここで、時刻同期システムが、MASTER装置1−1とSLAVE装置1−2との間のネットワークに、TC機能を実装している中継装置1−10と、TC機能を実装していない中継装置1−10と、を含む場合を考える。この場合、TC機能を実装している中継装置1−10が、MASTER装置1−1から受信したPTPパケットのCF領域に補正値を書き込む。従って、ステップS7−3において、パケット識別部8−2は、中継装置1−10にTC機能が実装されていると判定する。   Here, in the network between the MASTER device 1-1 and the SLAVE device 1-2, the time synchronization system includes the relay device 1-10 that implements the TC function, and the relay device 1 that does not implement the TC function. -10 is included. In this case, the relay apparatus 1-10 equipped with the TC function writes the correction value in the CF area of the PTP packet received from the MASTER apparatus 1-1. Accordingly, in step S7-3, the packet identification unit 8-2 determines that the TC function is implemented in the relay device 1-10.

しかし、時刻同期システムが上記のような構成である場合は、TC機能を実装していない中継装置1−10において、伝送路遅延のゆらぎが発生し、かつ当該ゆらぎは補正されないため、SLAVE装置1−2は、時刻同期において当該ゆらぎを考慮する必要がある。従って、SLAVE装置1−2は以下のステップを行う。   However, when the time synchronization system has the above-described configuration, the relay apparatus 1-10 that does not have the TC function causes fluctuations in the transmission line delay, and the fluctuations are not corrected. Therefore, the SLAVE apparatus 1 -2 needs to consider the fluctuation in time synchronization. Therefore, the SLAVE device 1-2 performs the following steps.

計算部8−5は、伝送路遅延時間dを算出する(S7−4)。時刻情報比較部8−4は、内部時計8−8における時刻と、Sync Messageから算出される時刻との誤差を予め定められた閾値と比較する(S7−5)。なお、時刻情報比較部8−4は、ステップS7−4において算出された伝送路遅延時間dと、直近の時刻同期時に算出された伝送路遅延時間との差を、予め定められた閾値と比較してもよい。時刻情報比較部8−4は、当該判定結果を制御部8−6に対して送信する。   The calculator 8-5 calculates the transmission line delay time d (S7-4). The time information comparison unit 8-4 compares an error between the time in the internal clock 8-8 and the time calculated from the Sync Message with a predetermined threshold (S7-5). The time information comparison unit 8-4 compares the difference between the transmission line delay time d calculated in step S7-4 and the transmission line delay time calculated at the time of the latest time with a predetermined threshold value. May be. The time information comparison unit 8-4 transmits the determination result to the control unit 8-6.

伝送路遅延のゆらぎの値が大きければ、SLAVE装置1−2の内部時計8−8とSync Messageから算出される時刻との誤差は大きくなる。従って、時刻情報比較部8−4が、当該誤差が当該閾値以内であると判定した場合、制御部8−6は、伝送路遅延のゆらぎがないと判定する。このとき、制御部8−6は、内部時計補正部8−7に対してモード切り替えの指示を出さず、SLAVE装置1−2は、高速モードでの時刻同期を続行する。制御部8−6は、内部時計情報抽出部8−9へ時刻同期完了を通知する(S7−5:Yes)。   If the value of the fluctuation of the transmission line delay is large, the error between the internal clock 8-8 of the SLAVE device 1-2 and the time calculated from the Sync Message becomes large. Therefore, when the time information comparison unit 8-4 determines that the error is within the threshold, the control unit 8-6 determines that there is no fluctuation in the transmission line delay. At this time, the control unit 8-6 does not issue a mode switching instruction to the internal clock correction unit 8-7, and the SLAVE device 1-2 continues time synchronization in the high-speed mode. The control unit 8-6 notifies the internal clock information extraction unit 8-9 of the completion of time synchronization (S7-5: Yes).

内部時計情報抽出部8−9は、内部時計8−8から時刻を抽出し、抽出した時刻情報を含むパケットを生成し、当該パケットをパケット送受信部B8−10へ送信する。パケット送受信部B8−10は、内部時計情報抽出部8−9から受信したパケットを基地局装置1−3へ配信する(S7−6)。   The internal clock information extracting unit 8-9 extracts the time from the internal clock 8-8, generates a packet including the extracted time information, and transmits the packet to the packet transmitting / receiving unit B8-10. The packet transmitting / receiving unit B8-10 distributes the packet received from the internal clock information extracting unit 8-9 to the base station device 1-3 (S7-6).

時刻情報比較部8−4が、当該誤差が当該閾値を超えると判定した場合(S7−5:No)、制御部8−6は、所定の制限時間を超過しているかを判定する(S7−8)。当該制限時間は、SLAVE装置1−2の内部時計8−8とSync Messageから算出される時刻との誤差が、ゆらぎによるものか、時刻同期開始直後の誤差によるものかを考慮するために、例えば予め設定される値である。   When the time information comparison unit 8-4 determines that the error exceeds the threshold (S7-5: No), the control unit 8-6 determines whether a predetermined time limit is exceeded (S7- 8). In order to consider whether the time limit is due to the error between the internal clock 8-8 of the SLAVE device 1-2 and the time calculated from the Sync Message due to fluctuation or an error immediately after the start of time synchronization, for example, This is a preset value.

当該制限時間は、例えば、ステップS7−2開始時から、又はステップS7−3開始時から計測される。また、制御部8−6は、制限時間ではなく、例えばSLAVE装置1−2がSync Messageを受信した回数が、予め定められた閾値を超過しているかを判定してもよい。   The time limit is measured, for example, from the start of step S7-2 or from the start of step S7-3. Further, the control unit 8-6 may determine whether the number of times that the SLAVE device 1-2 has received the Sync Message exceeds the predetermined threshold, for example, instead of the time limit.

制御部8−6は、制限時間を超過したと判定した場合(S7−8:Yes)、ゆらぎが発生していると判定する。従って、このとき制御部8−6は、計算部8−5に対して、平均モードにおいて使用する伝送路遅延時間の統計値を算出するよう指示し、内部時計補正部8−7に対して時刻同期方法を平均モードへと移行するよう指示する。内部時計補正部8−7は、平均モードで時刻同期を開始する(S7−10)。   When it determines with the control part 8-6 having exceeded the time limit (S7-8: Yes), it determines with the fluctuation | variation having generate | occur | produced. Accordingly, at this time, the control unit 8-6 instructs the calculation unit 8-5 to calculate the statistical value of the transmission line delay time used in the average mode, and the internal clock correction unit 8-7 Instructs the synchronization method to transition to the average mode. The internal clock correction unit 8-7 starts time synchronization in the average mode (S7-10).

制御部8−6は、制限時間を超過していないと判定した場合(S7−8:No)、MASTER装置1−1から定期的に受信するSync Messageに基づいて再度時刻同期を行うよう、内部時計補正部8−7に指示する(S7−9)。このとき、時刻情報比較部8−4は、新たに算出された誤差を予め定められた閾値と比較する。   When it is determined that the time limit has not been exceeded (S7-8: No), the control unit 8-6 is configured to perform time synchronization again based on the Sync Message periodically received from the MASTER device 1-1. The clock correction unit 8-7 is instructed (S7-9). At this time, the time information comparison unit 8-4 compares the newly calculated error with a predetermined threshold value.

ステップS7−3において、パケット識別部8−2が、中継装置1−10にTC機能が実装されていないと判断した場合(S7−3:No)、計算部8−5は、同期履歴テーブル8−15に格納された履歴情報から伝送路遅延時間dの変動を算出する。なお、当該変動は、伝送路遅延時間の変動を表す統計値等であればよい。計算部8−5は、同期履歴テーブル8−15に格納された履歴情報を用いて、例えば、伝送路遅延時間dの偏差値や分散、伝送路遅延時間dの最大値と伝送路遅延時間dの最小値の差などを算出する。制御部8−6は、伝送路遅延時間dの変動を予め定められた閾値と比較する(S7−7)。   In step S7-3, when the packet identification unit 8-2 determines that the TC function is not implemented in the relay apparatus 1-10 (S7-3: No), the calculation unit 8-5 The fluctuation of the transmission line delay time d is calculated from the history information stored in -15. Note that the variation may be a statistical value or the like representing the variation of the transmission path delay time. The calculation unit 8-5 uses the history information stored in the synchronization history table 8-15, for example, the deviation value or dispersion of the transmission path delay time d, the maximum value of the transmission path delay time d, and the transmission path delay time d. The difference of the minimum value of is calculated. The control unit 8-6 compares the fluctuation of the transmission line delay time d with a predetermined threshold (S7-7).

制御部8−6は、伝送路遅延時間dの変動が閾値以下であると判定した場合(S7−7:Yes)、内部時計補正部8−7に対して、モード切り替えの指示を出さず、SLAVE装置1−2は、高速モードでの時刻同期を続行する。SLAVE装置1−2は、上述したステップS7−5における処理へ遷移する。   When the control unit 8-6 determines that the variation in the transmission line delay time d is equal to or less than the threshold value (S7-7: Yes), the control unit 8-6 does not issue an instruction to switch the mode to the internal clock correction unit 8-7. The SLAVE device 1-2 continues time synchronization in the high-speed mode. The SLAVE device 1-2 transitions to the processing in step S7-5 described above.

また、制御部8−6は、伝送路遅延時間dの変動が閾値を超えると判定すれば(S7−7:No)、ゆらぎがあるものと判定する。このとき、制御部8−6は、計算部8−5に対して、平均モードにおいて用いる伝送路遅延時間の統計値を算出するよう指示する。また制御部8−6は、内部時計補正部8−7に対して時刻同期方法を平均モードへと移行するよう指示する(S7−10)。   Moreover, if it determines with the fluctuation | variation of the transmission line delay time d exceeding a threshold value (S7-7: No), the control part 8-6 will determine with a fluctuation | variation. At this time, the control unit 8-6 instructs the calculation unit 8-5 to calculate the statistical value of the transmission path delay time used in the average mode. The control unit 8-6 instructs the internal clock correction unit 8-7 to shift the time synchronization method to the average mode (S7-10).

時刻情報比較部8−4は、SLAVE装置1−2の内部時計8−8における時刻と、平均モードを用いてSync Messageから算出された時刻と、の誤差を予め定められた閾値と比較する(S7−11)。時刻情報比較部8−4は、当該比較結果を制御部8−6に対して送信する。時刻情報比較部8−4が、当該誤差が当該閾値以内であると判定した場合(S7−11:Yes)、制御部8−6は、内部時計情報抽出部8−9へ時刻同期完了を通知し、SLAVE装置1−2は、下位の基地局装置1−3への時刻配信を開始する(S7−6)。   The time information comparison unit 8-4 compares an error between the time in the internal clock 8-8 of the SLAVE device 1-2 and the time calculated from the Sync Message using the average mode with a predetermined threshold ( S7-11). The time information comparison unit 8-4 transmits the comparison result to the control unit 8-6. When the time information comparison unit 8-4 determines that the error is within the threshold (S7-11: Yes), the control unit 8-6 notifies the internal clock information extraction unit 8-9 of completion of time synchronization. Then, the SLAVE device 1-2 starts time distribution to the subordinate base station device 1-3 (S7-6).

時刻情報比較部8−4が、当該誤差が当該閾値を超えると判定した場合(S7−11:No)、制御部8−6は再度時刻同期を行うよう内部時計補正部8−7に指示する(S7−12)。つまり、SLAVE装置1−2は以下の処理を行う。SLAVE装置1−2は、MASTER装置1−1から定期的に受信するSync Messageに基づいて再度高速モードを利用して、一定回数の時刻同期を行い、計算部8−5は伝送路遅延時間の統計値を再度算出する。内部時計補正部8−7は、平均モードを利用して再度算出された統計値に基づき、時刻を算出する。続いて、時刻情報比較部8−4は、新たに算出された時刻とSLAVE装置1−2の内部時計8−8における時刻との誤差を予め定められた閾値と再度比較する(S7−10)。   When the time information comparison unit 8-4 determines that the error exceeds the threshold (No in S7-11), the control unit 8-6 instructs the internal clock correction unit 8-7 to perform time synchronization again. (S7-12). That is, the SLAVE device 1-2 performs the following processing. The SLAVE device 1-2 uses the high-speed mode again based on the Sync Message periodically received from the MASTER device 1-1, and performs a predetermined number of time synchronizations, and the calculation unit 8-5 calculates the transmission path delay time. Calculate the statistics again. The internal clock correction unit 8-7 calculates the time based on the statistical value calculated again using the average mode. Subsequently, the time information comparison unit 8-4 compares again the error between the newly calculated time and the time in the internal clock 8-8 of the SLAVE device 1-2 with a predetermined threshold value (S7-10). .

SLAVE装置1−2は、基地局装置1−3への時刻配信を開始した後は、MASTER装置1−1とのPTPパケット疎通状態を判断する(S7−13)。SLAVE装置1−2は、MASTER装置1−1からのPTPパケットの送信が続いていると判定した場合は(S7−13:No)、基地局装置1−3に対して引き続き時刻配信を行い、MASTER装置1−1とのPTPパケット疎通状態を再度判断する。   After starting the time distribution to the base station device 1-3, the SLAVE device 1-2 determines the PTP packet communication state with the MASTER device 1-1 (S7-13). When the SLAVE device 1-2 determines that the transmission of the PTP packet from the MASTER device 1-1 continues (S7-13: No), the SLAVE device 1-2 continues time distribution to the base station device 1-3, The PTP packet communication state with the MASTER device 1-1 is determined again.

SLAVE装置1−2が、MASTER装置1−1からのPTPパケットの送信が断と判定した場合は(S7−13:Yes)、SLAVE装置1−2は、基地局装置1−3への時刻配信を停止する(S7−14)。SLAVE装置1−2は、MASTER装置1−1とのPTPパケット疎通回復状況を判定する(S7−15)。   When the SLAVE device 1-2 determines that the transmission of the PTP packet from the MASTER device 1-1 is cut off (S7-13: Yes), the SLAVE device 1-2 distributes the time to the base station device 1-3. Is stopped (S7-14). The SLAVE device 1-2 determines the PTP packet communication recovery status with the MASTER device 1-1 (S7-15).

SLAVE装置1−2は、MASTER装置1−1からのPTPパケットの送信が再開したと判定すれば(S7−15:Yes)、ステップS7−2に戻り、再び上述のフローを実行する。SLAVE装置1−2は、MASTER装置1−1からのPTPパケットの送信が再開していないと判定すれば(S7−15:No)、MASTER装置1−1とのPTPパケット疎通回復状況を再度判定する。なお、ステップS7−3、ステップS7−5、ステップS7−7、及びステップS7−8のうち、一部を省略してもよい。   If the SLAVE device 1-2 determines that the transmission of the PTP packet from the MASTER device 1-1 has been resumed (S7-15: Yes), the SLAVE device 1-2 returns to step S7-2 and executes the above-described flow again. If the SLAVE device 1-2 determines that the transmission of the PTP packet from the MASTER device 1-1 has not been resumed (S7-15: No), the SLAVE device 1-2 determines again the PTP packet communication recovery status with the MASTER device 1-1. To do. Note that some of Step S7-3, Step S7-5, Step S7-7, and Step S7-8 may be omitted.

図8に示したように、SLAVE装置1−2は、ネットワークの環境に応じて適切な時刻同期方法を選択する。つまり、SLAVE装置1−2は、ゆらぎが発生していないと判定したときは、高速モードで時刻同期を行い、ゆらぎが発生していると判定したときは、平均モードで時刻同期を行う。SLAVE装置1−2は、このように同期方法を選択することで、高精度かつ時間効率の良い時刻同期を実現できる。   As shown in FIG. 8, the SLAVE device 1-2 selects an appropriate time synchronization method according to the network environment. That is, the SLAVE device 1-2 performs time synchronization in the high speed mode when it is determined that no fluctuation has occurred, and performs time synchronization in the average mode when it is determined that fluctuation has occurred. The SLAVE device 1-2 can realize time synchronization with high accuracy and time efficiency by selecting the synchronization method in this way.

なお、本発明は上記した実施例に限定されるものではなく、様々な変形例が含まれる。例えば、上記した実施例は本発明を分かりやすく説明するために詳細に記載したものであり、必ずしも説明した全ての構成を備えるものに限定されるものではない。また、ある実施例の構成の一部を他の実施例の構成に置き換えることが可能であり、また、ある実施例の構成に他の実施例の構成を加えることも可能である。また、各実施例の構成の一部について、他の構成の追加・削除・置換をすることが可能である。   In addition, this invention is not limited to an above-described Example, Various modifications are included. For example, the above-described embodiments are described in detail for easy understanding of the present invention, and are not necessarily limited to those having all the configurations described. Further, a part of the configuration of one embodiment can be replaced with the configuration of another embodiment, and the configuration of another embodiment can be added to the configuration of one embodiment. Further, it is possible to add, delete, and replace other configurations for a part of the configuration of each embodiment.

また、上記の各構成、機能、処理部、処理手段等は、それらの一部又は全部を、例えば集積回路で設計する等によりハードウェアで実現してもよい。また、上記の各構成、機能等は、プロセッサがそれぞれの機能を実現するプログラムを解釈し、実行することによりソフトウェアで実現してもよい。各機能を実現するプログラム、テーブル、ファイル等の情報は、メモリや、ハードディスク、SSD(Solid State Drive)等の記録装置、または、ICカード、SDカード、DVD等の記録媒体に置くことができる。   Each of the above-described configurations, functions, processing units, processing means, and the like may be realized by hardware by designing a part or all of them with, for example, an integrated circuit. Each of the above-described configurations, functions, and the like may be realized by software by interpreting and executing a program that realizes each function by the processor. Information such as programs, tables, and files for realizing each function can be stored in a memory, a hard disk, a recording device such as an SSD (Solid State Drive), or a recording medium such as an IC card, an SD card, or a DVD.

Claims (10)

時刻同期パケットを送信するマスタ装置と、
ネットワークを介して前記マスタ装置から前記時刻同期パケットを受信し、前記受信した時刻同期パケットによって、前記マスタ装置と時刻同期を行うスレーブ装置と、を含み、
前記スレーブ装置は、
前記マスタ装置からの時刻同期パケットによる時刻同期において使用された伝送路遅延時間の履歴を示す履歴情報を保持し、
前記マスタ装置から受信した第1時刻同期パケットから、前記第1時刻同期パケット送信時における前記マスタ装置の第1計測時刻情報を抽出し、
前記マスタ装置に対して、第2時刻同期パケットを送信し、
前記マスタ装置から受信した第3時刻同期パケットから、前記第2時刻同期パケット受信時における前記マスタ装置の第2計測時刻情報を抽出し、
前記第1時刻同期パケット受信時における前記スレーブ装置の計測時刻と、前記第2時刻同期パケット送信時における前記スレーブ装置の計測時刻と、前記第1計測時刻情報と、前記第2計測時刻情報と、に基づいて、第1伝送路遅延時間を算出し、
前記第1時刻同期パケット及び前記第3時刻同期パケットの後に受信した、第4時刻同期パケットによる時刻同期を行い、
前記第4時刻同期パケットによる時刻同期において、第1時刻同期処理を維持する場合、前記第4時刻同期パケットから抽出したマスタ装置の計測時刻情報と前記第1伝送路遅延時間とに基づいて、時刻同期を行い、
前記第4時刻同期パケットによる時刻同期において、前記第1時刻同期処理から第2時刻同期処理への切り替えを行う場合、前記履歴情報を参照して、伝送路遅延時間の第1統計値を算出し、前記第4時刻同期パケットから抽出したマスタ装置の計測時刻情報と前記第1統計値とに基づいて時刻同期を行う、時刻同期システム。
A master device that transmits a time synchronization packet;
A slave device that receives the time synchronization packet from the master device via a network, and performs time synchronization with the master device by the received time synchronization packet;
The slave device is
Holding history information indicating a history of transmission line delay time used in time synchronization by the time synchronization packet from the master device,
From the first time synchronization packet received from the master device, extract the first measurement time information of the master device at the time of the first time synchronization packet transmission,
A second time synchronization packet is transmitted to the master device;
From the third time synchronization packet received from the master device, second measurement time information of the master device at the time of receiving the second time synchronization packet,
The measurement time of the slave device when the first time synchronization packet is received, the measurement time of the slave device when the second time synchronization packet is transmitted, the first measurement time information, and the second measurement time information, Based on the first transmission path delay time,
Performing time synchronization by the fourth time synchronization packet received after the first time synchronization packet and the third time synchronization packet;
In the time synchronization by the fourth time synchronization packet, when maintaining the first time synchronization process, the time is determined based on the measurement time information of the master device extracted from the fourth time synchronization packet and the first transmission line delay time. Synchronize,
In the time synchronization by the fourth time synchronization packet, when switching from the first time synchronization process to the second time synchronization process, the first statistical value of the transmission line delay time is calculated with reference to the history information. A time synchronization system that performs time synchronization based on the measurement time information of the master device extracted from the fourth time synchronization packet and the first statistical value.
請求項1に記載の時刻同期システムであって、
前記第1時刻同期処理から前記第2時刻同期処理への切り替えを行う条件は、前記ネットワークにおける伝送路遅延時間の補正機能が存在しないこと及び前記マスタ装置から前記スレーブ装置への時刻同期パケットの伝送における伝送路遅延時間の変動が所定値より大きいこと、の少なくとも一方を含む、時刻同期システム。
The time synchronization system according to claim 1,
The condition for switching from the first time synchronization process to the second time synchronization process is that there is no transmission path delay time correction function in the network and that the time synchronization packet is transmitted from the master device to the slave device. A time synchronization system including at least one of fluctuations in the transmission line delay time in which is greater than a predetermined value.
請求項2に記載の時刻同期システムであって、
前記伝送路遅延時間の変動は、前記履歴情報における伝送路遅延時間の第2統計値によって表される、時刻同期システム。
The time synchronization system according to claim 2,
The time synchronization system, wherein the fluctuation of the transmission line delay time is represented by a second statistical value of the transmission line delay time in the history information.
請求項3に記載の時刻同期システムであって、
前記スレーブ装置は、前記ネットワークにおける伝送路遅延時間の補正機能が存在せず、前記第2統計値によって表される伝送路遅延時間の変動が所定値より大きい場合に、前記第1時刻同期処理から前記第2時刻同期処理への切り替えを行う、時刻同期システム。
The time synchronization system according to claim 3,
The slave device does not have a function for correcting the transmission line delay time in the network, and when the fluctuation of the transmission line delay time represented by the second statistical value is larger than a predetermined value, the slave device starts from the first time synchronization process. A time synchronization system that switches to the second time synchronization process.
請求項2に記載の時刻同期システムであって、
前記伝送路遅延時間の変動は、前記第4時刻同期パケットの計測時刻情報に前記第1伝送路遅延時間を加算した時刻と、前記第4時刻同期パケットの受信時における前記スレーブ装置における計測時刻と、の間の誤差により表される、時刻同期システム。
The time synchronization system according to claim 2,
The fluctuation of the transmission line delay time includes the time obtained by adding the first transmission line delay time to the measurement time information of the fourth time synchronization packet, and the measurement time in the slave device when the fourth time synchronization packet is received. A time synchronization system, represented by the error between.
請求項5に記載の時刻同期システムであって、
前記スレーブ装置は、前記ネットワークにおける伝送路遅延時間の補正機能が存在せず、前記誤差によって表される伝送路遅延時間の変動が所定値より大きい場合に、前記第1時刻同期処理から前記第2時刻同期処理への切り替えを行う、時刻同期システム。
The time synchronization system according to claim 5,
The slave device does not have a function of correcting the transmission line delay time in the network, and when the fluctuation of the transmission line delay time represented by the error is larger than a predetermined value, A time synchronization system that switches to time synchronization processing.
請求項5に記載の時刻同期システムであって、
前記スレーブ装置は、前記ネットワークが前記伝送路遅延時間の補正機能を含まず、前記誤差によって表される伝送路遅延時間の変動が所定値より大きく、前記マスタ装置との時刻同期に開始後に計測を開始する制限時間を超過した場合に、前記第1時刻同期処理から前記第2時刻同期処理への切り替えを行う、時刻同期システム。
The time synchronization system according to claim 5,
In the slave device, the network does not include the correction function of the transmission line delay time, and the fluctuation of the transmission line delay time represented by the error is larger than a predetermined value, and the measurement is performed after starting synchronization with the master device. A time synchronization system that switches from the first time synchronization process to the second time synchronization process when a time limit for starting is exceeded.
請求項2に記載の時刻同期システムであって、
前記スレーブ装置は、前記マスタ装置から受信した時刻同期パケットに伝送路遅延時間の補正値が含まれているか否かによって、前記補正機能の有無を判定する、時刻同期システム。
The time synchronization system according to claim 2,
The slave device determines a presence or absence of the correction function based on whether or not a correction value of a transmission line delay time is included in a time synchronization packet received from the master device.
ネットワークで接続されたマスタ装置から、前記マスタ装置の計測時刻情報を含む時刻同期パケットを受信し、前記計測時刻情報に基づいて、前記マスタ装置と時刻同期を行うスレーブ装置であって、
前記マスタ装置からの時刻同期パケットによる時刻同期において使用された伝送路遅延時間の履歴を示す履歴情報を保持し、
前記マスタ装置から受信した第1時刻同期パケットから、前記第1時刻同期パケット送信時における前記マスタ装置の第1計測時刻情報を抽出し、
前記マスタ装置に対して、第2時刻同期パケットを送信し、
前記マスタ装置から受信した第3時刻同期パケットから、前記第2時刻同期パケット受信時における前記マスタ装置の第2計測時刻情報を抽出し、
前記第1時刻同期パケット受信時における前記スレーブ装置の計測時刻と、前記第2時刻同期パケット送信時における前記スレーブ装置の計測時刻と、前記第1計測時刻情報と、前記第2計測時刻情報と、に基づいて、第1伝送路遅延時間を算出し、
前記第1時刻同期パケット及び前記第3時刻同期パケットの後に受信した、第4時刻同期パケットによる時刻同期を行い、
前記第4時刻同期パケットによる時刻同期において、第1時刻同期処理を維持する場合、前記第4時刻同期パケットから抽出したマスタ装置の計測時刻情報と前記第1伝送路遅延時間とに基づいて、時刻同期を行い、
前記第4時刻同期パケットによる時刻同期において、前記第1時刻同期処理から第2時刻同期処理への切り替えを行う場合、前記履歴情報を参照して、伝送路遅延時間の第1統計値を算出し、前記第4時刻同期パケットから抽出したマスタ装置の計測時刻情報と前記第1統計値とに基づいて時刻同期を行う、スレーブ装置。
A slave device that receives a time synchronization packet including measurement time information of the master device from a master device connected via a network, and performs time synchronization with the master device based on the measurement time information,
Holding history information indicating a history of transmission line delay time used in time synchronization by the time synchronization packet from the master device,
From the first time synchronization packet received from the master device, extract the first measurement time information of the master device at the time of the first time synchronization packet transmission,
A second time synchronization packet is transmitted to the master device;
From the third time synchronization packet received from the master device, second measurement time information of the master device at the time of receiving the second time synchronization packet,
The measurement time of the slave device when the first time synchronization packet is received, the measurement time of the slave device when the second time synchronization packet is transmitted, the first measurement time information, and the second measurement time information, Based on the first transmission path delay time,
Performing time synchronization by the fourth time synchronization packet received after the first time synchronization packet and the third time synchronization packet;
In the time synchronization by the fourth time synchronization packet, when maintaining the first time synchronization process, the time is determined based on the measurement time information of the master device extracted from the fourth time synchronization packet and the first transmission line delay time. Synchronize,
In the time synchronization by the fourth time synchronization packet, when switching from the first time synchronization process to the second time synchronization process, the first statistical value of the transmission line delay time is calculated with reference to the history information. A slave device that performs time synchronization based on the measurement time information of the master device extracted from the fourth time synchronization packet and the first statistical value.
ネットワークで接続されたマスタ装置から、前記マスタ装置の計測時刻情報を含む時刻同期パケットを受信し、前記計測時刻情報に基づいて、前記マスタ装置と時刻同期を行うスレーブ装置における時刻同期方法であって、
前記スレーブ装置は、前記マスタ装置からの時刻同期パケットによる時刻同期において使用された伝送路遅延時間の履歴を示す履歴情報を保持し、
前記方法は、
前記マスタ装置から受信した第1時刻同期パケットから、前記第1時刻同期パケット送信時における前記マスタ装置の第1計測時刻情報を抽出し、
前記マスタ装置に対して、第2時刻同期パケットを送信し、
前記マスタ装置から受信した第3時刻同期パケットから、前記第2時刻同期パケット受信時における前記マスタ装置の第2計測時刻情報を抽出し、
前記第1時刻同期パケット受信時における前記スレーブ装置の計測時刻と、前記第2時刻同期パケット送信時における前記スレーブ装置の計測時刻と、前記第1計測時刻情報と、前記第2計測時刻情報と、に基づいて、第1伝送路遅延時間を算出し、
前記第1時刻同期パケット及び前記第3時刻同期パケットの後に受信した、第4時刻同期パケットによる時刻同期を行い、
前記第4時刻同期パケットによる時刻同期において、第1時刻同期処理を維持する場合、前記第4時刻同期パケットから抽出したマスタ装置の計測時刻情報と前記第1伝送路遅延時間とに基づいて、時刻同期を行い、
前記第4時刻同期パケットによる時刻同期において、前記第1時刻同期処理から第2時刻同期処理への切り替えを行う場合、前記履歴情報を参照して、伝送路遅延時間の第1統計値を算出し、前記第4時刻同期パケットから抽出したマスタ装置の計測時刻情報と前記第1統計値とに基づいて時刻同期を行うことを含む方法。
A time synchronization method in a slave device that receives a time synchronization packet including measurement time information of the master device from a master device connected via a network and performs time synchronization with the master device based on the measurement time information. ,
The slave device holds history information indicating a history of transmission line delay time used in time synchronization by a time synchronization packet from the master device,
The method
From the first time synchronization packet received from the master device, extract the first measurement time information of the master device at the time of the first time synchronization packet transmission,
A second time synchronization packet is transmitted to the master device;
From the third time synchronization packet received from the master device, second measurement time information of the master device at the time of receiving the second time synchronization packet,
The measurement time of the slave device when the first time synchronization packet is received, the measurement time of the slave device when the second time synchronization packet is transmitted, the first measurement time information, and the second measurement time information, Based on the first transmission path delay time,
Performing time synchronization by the fourth time synchronization packet received after the first time synchronization packet and the third time synchronization packet;
In the time synchronization by the fourth time synchronization packet, when maintaining the first time synchronization process, the time is determined based on the measurement time information of the master device extracted from the fourth time synchronization packet and the first transmission line delay time. Synchronize,
In the time synchronization by the fourth time synchronization packet, when switching from the first time synchronization process to the second time synchronization process, the first statistical value of the transmission line delay time is calculated with reference to the history information. A method including performing time synchronization based on the measurement time information of the master device extracted from the fourth time synchronization packet and the first statistical value.
JP2013260161A 2013-12-17 2013-12-17 Time synchronization system, slave device, and time synchronization method Expired - Fee Related JP6025700B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013260161A JP6025700B2 (en) 2013-12-17 2013-12-17 Time synchronization system, slave device, and time synchronization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013260161A JP6025700B2 (en) 2013-12-17 2013-12-17 Time synchronization system, slave device, and time synchronization method

Publications (2)

Publication Number Publication Date
JP2015119257A JP2015119257A (en) 2015-06-25
JP6025700B2 true JP6025700B2 (en) 2016-11-16

Family

ID=53531648

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013260161A Expired - Fee Related JP6025700B2 (en) 2013-12-17 2013-12-17 Time synchronization system, slave device, and time synchronization method

Country Status (1)

Country Link
JP (1) JP6025700B2 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905528A (en) * 2014-03-10 2014-07-02 许继电气股份有限公司 Multilink data synchronization method and device
WO2017044266A1 (en) * 2015-09-10 2017-03-16 Cpg Technologies, Llc. Global time synchronization using a guided surface wave
JP2017163204A (en) 2016-03-07 2017-09-14 APRESIA Systems株式会社 Communication apparatus
DE102017209132A1 (en) * 2017-05-31 2018-12-06 Robert Bosch Gmbh Sensor data processing means
JP6935358B2 (en) * 2018-04-17 2021-09-15 株式会社東芝 Signal transmission equipment, signal transmission systems and methods
JP7230690B2 (en) * 2019-05-28 2023-03-01 富士通株式会社 Time synchronization program, information processing device and time synchronization method
JP2021090091A (en) * 2019-12-02 2021-06-10 古野電気株式会社 Time calibration device, time calibration system, time calibration method, and program
JP7224310B2 (en) * 2020-01-29 2023-02-17 三菱電機株式会社 network system
JP7495896B2 (en) 2021-03-22 2024-06-05 株式会社日立国際電気 Synchronous signal conversion device and method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5369814B2 (en) * 2009-03-26 2013-12-18 ソニー株式会社 Receiving device and time correction method for receiving device
JP5515735B2 (en) * 2009-12-25 2014-06-11 日本電気株式会社 Time synchronization system, master node, slave node, relay device, time synchronization method, and time synchronization program
JP5358813B2 (en) * 2011-03-30 2013-12-04 株式会社日立製作所 Network node, time synchronization method, and network system
JP5518805B2 (en) * 2011-07-27 2014-06-11 日本電信電話株式会社 Time synchronization method and time synchronization apparatus

Also Published As

Publication number Publication date
JP2015119257A (en) 2015-06-25

Similar Documents

Publication Publication Date Title
JP6025700B2 (en) Time synchronization system, slave device, and time synchronization method
JP6132734B2 (en) Time synchronization system and apparatus
US9641269B2 (en) Apparatus and method for synchronizing clocks among communication devices
US11444747B2 (en) Measure and improve clock synchronization using combination of transparent and boundary clocks
US9608753B2 (en) Time synchronization system, management node, and time synchronization method
WO2017054554A1 (en) Clock synchronization method, device, and communication apparatus
JP7401656B2 (en) METHODS, APPARATUS AND SYSTEM AND STORAGE MEDIA FOR SELECTING CLOCK SOURCES
CN111385051B (en) Clock synchronization method, device and storage medium
CN104052589A (en) Fault Tolerant Clock Network
WO2021077289A1 (en) Synchronization method and device
WO2016177090A1 (en) Clock synchronization method and device
ATE545225T1 (en) OSCILLATOR CALIBRATION
JP2017102658A (en) Data processing device, device, data processing method, and data processing program
JP2024503745A (en) Measurement gap for synchronous signal block measurement time setting window in non-terrestrial networks
US11323194B2 (en) Cross domain synchronization in a communication network
WO2014100982A1 (en) Air interface synchronization method and apparatus therefor
CN101420281B (en) Method and arrangement for transferring a time of day value between network elements
KR101176798B1 (en) Method for clock synchronization between slave and master
US20170117980A1 (en) Time synchronization for network device
CN110098885B (en) Clock synchronization circuit, device and method
JP6490971B2 (en) Time synchronization system
WO2013091202A1 (en) Synchronization method, device and system
JP2020096257A (en) Time comparison device, and time quality monitor device
US20230275679A1 (en) Method and apparatus for synchronizing signals of signal measuring devices
KR101593822B1 (en) Apparatus for providing communication service, control method thereof, recording medium for recording program for executing the control method, application saved in the recording medium for executing the control method being combined with hardware

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151030

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160923

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161011

R150 Certificate of patent or registration of utility model

Ref document number: 6025700

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees