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

Time synchronization method, time synchronization system, time synchronization master device, and time synchronization slave device

Info

Publication number
JP3536819B2
JP3536819B2 JP2001017617A JP2001017617A JP3536819B2 JP 3536819 B2 JP3536819 B2 JP 3536819B2 JP 2001017617 A JP2001017617 A JP 2001017617A JP 2001017617 A JP2001017617 A JP 2001017617A JP 3536819 B2 JP3536819 B2 JP 3536819B2
Authority
JP
Japan
Prior art keywords
time
marker
code
time marker
reference time
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
JP2001017617A
Other languages
Japanese (ja)
Other versions
JP2002223207A (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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2001017617A priority Critical patent/JP3536819B2/en
Publication of JP2002223207A publication Critical patent/JP2002223207A/en
Application granted granted Critical
Publication of JP3536819B2 publication Critical patent/JP3536819B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electric Clocks (AREA)
  • Time-Division Multiplex Systems (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Selective Calling Equipment (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、時刻同期方法及び
時刻同期システム及び時刻同期マスタ装置及び時刻同期
スレーブ装置に係り、特に、ネットワークに接続された
装置に基準時刻を分配するための時刻同期方法及び時刻
同期システム及び時刻同期マスタ装置及び時刻同期スレ
ーブ装置に関する。
The present invention relates to a time synchronization method, a time synchronization system, a time synchronization master device and a time synchronization slave device, and more particularly to a time synchronization method for distributing a reference time to devices connected to a network. And a time synchronization system, a time synchronization master device, and a time synchronization slave device.

【0002】詳しくは、ネットワークのメンテナンスや
ケルベロスのようなセキュリティ・システムにおける正
確な時刻併せ、あるいは、位置検知システムの基地局間
の位相合わせに用いるための時刻同期方法及び時刻同期
システム及び時刻同期マスタ装置及び時刻同期スレーブ
装置に関する。
More specifically, a time synchronization method, a time synchronization system, and a time synchronization master for use in network maintenance, accurate time alignment in a security system such as Kerberos, or phase alignment between base stations in a position detection system. The present invention relates to a device and a time synchronization slave device.

【0003】[0003]

【従来の技術】従来、超高精度の時刻同期用に研究され
てきた、SDH(Synchronous Digital Hierarchy)を用
いた時刻同期方式がある。この例を図6に示す。
2. Description of the Related Art There is a time synchronization method using SDH (Synchronous Digital Hierarchy), which has been studied for ultra-high precision time synchronization. This example is shown in FIG.

【0004】同図に示すシステムは、マスタ側10とス
レーブ側20から構成される。
The system shown in FIG. 1 includes a master 10 and a slave 20.

【0005】マスタ側10は、基準時刻発生部11、タ
イムマーカ発生部12、送信時間測定部13、受信時間
測定部14、オーバヘッド処理部15、16、光送信部
17、光受信部18から構成される。
The master 10 comprises a reference time generator 11, a time marker generator 12, a transmission time measuring unit 13, a receiving time measuring unit 14, overhead processing units 15, 16, an optical transmitting unit 17, and an optical receiving unit 18. Is done.

【0006】スレーブ側20は、基準時刻発生部21、
タイムマーカ発生部22、送信時間測定部23、受信時
間測定部24、オーバヘッド処理部25、オーバヘッド
処理部26、光送信部27、光受信部28から構成され
る。
The slave side 20 includes a reference time generation unit 21
It comprises a time marker generation unit 22, a transmission time measurement unit 23, a reception time measurement unit 24, an overhead processing unit 25, an overhead processing unit 26, an optical transmission unit 27, and an optical reception unit 28.

【0007】SDH伝送路は、8kHzの同期フレーム
を有しており、基準時刻発生部11、21は、SDH伝
送路と周波数同期して基準時刻を出力する。タイムマー
カ発生部12、22は、基準時刻発生部11、21の出
力に同期して一定周期で基準タイムマーカを発生させ
る。オーバヘッド処理部15、16、25、26は、基
準タイムマーカと後述する送信時間データ、受信時間デ
ータなどを多重化して、SDH信号のセクションオーバ
ヘッド内の特定の位置(8kHzの周期フレームに対し
て固定されている)に挿入し、光送信部17、27でE
/O変換して送信する。また、基準タイムマーカを挿入
したフレームの先頭のフレームパルスに同期した送信タ
イムマーカを発生させる。送信時間測定部13、23
は、基準タイムマーカと送信タイムマーカとの時間差を
測定する。
[0007] The SDH transmission line has a synchronous frame of 8 kHz, and the reference time generation units 11 and 21 output the reference time in synchronization with the frequency of the SDH transmission line. The time marker generators 12 and 22 generate reference time markers at a fixed period in synchronization with the outputs of the reference time generators 11 and 21. The overhead processing units 15, 16, 25, and 26 multiplex a reference time marker and transmission time data, reception time data, and the like, which will be described later, to a specific position in the section overhead of the SDH signal (fixed to an 8 kHz periodic frame). ) And the optical transmitters 17 and 27
I / O conversion and transmission. Further, a transmission time marker synchronized with the first frame pulse of the frame in which the reference time marker is inserted is generated. Transmission time measuring units 13 and 23
Measures the time difference between the reference time marker and the transmission time marker.

【0008】送信されたSDH信号は対向するノードの
光受信部18、28でO/E変換される。オーバヘッド
処理部15、16、25、26は、セクションオーバヘ
ッドから基準タイムマーカ・送信時間データ・受信時間
データなどを分離する。また、基準タイムマーカを挿入
したフレームの先頭のフレームパルスに同期した受信タ
イムマーカを発生させる。受信時間測定部14、24
は、基準タイムマーカと受信タイムマーカとの時間差を
測定する。
[0008] The transmitted SDH signal is O / E converted by the optical receivers 18 and 28 of the opposing nodes. The overhead processing units 15, 16, 25, and 26 separate reference time markers, transmission time data, reception time data, and the like from section overhead. Also, a reception time marker synchronized with the first frame pulse of the frame in which the reference time marker is inserted is generated. Receiving time measuring units 14, 24
Measures the time difference between the reference time marker and the reception time marker.

【0009】マスタ側10における送信時間測定部13
の出力をΔT1 、受信時間測定部14の出力をΔT2 、
スレーブ側20における送信時間測定部23の出力をΔ
T3、受信時間測定部24の出力をΔT4 とする。マス
タ側10における基準タイムマーカの送信時刻をTM ,
スレーブ側20における基準タイムマーカの送信時刻を
T5 とすると、図7のように、 T1 =TM +ΔT1 T2 =TM +ΔT2 T3 =TS +ΔT3 T4 =TS +ΔT4 となる。光送受信部間の遅延時間が同一ならば、 T2 −T3 =T4 −T1 が成り立つので、スレーブ側20側とマスタ側10の基
準時刻間の誤差は以下のように計算することができる。
Transmission time measuring section 13 on master side 10
ΔT1, the output of the reception time measuring unit 14 is ΔT2,
The output of the transmission time measuring unit 23 on the slave side 20 is Δ
At T3, the output of the reception time measuring unit 24 is set to ΔT4. The transmission time of the reference time marker on the master side 10 is set to TM,
Assuming that the transmission time of the reference time marker on the slave side 20 is T5, as shown in FIG. 7, T1 = TM + .DELTA.T1 T2 = TM + .DELTA.T2 T3 = TS + .DELTA.T3 T4 = TS + .DELTA.T4. If the delay time between the optical transmitting and receiving units is the same, T2-T3 = T4-T1 holds, and the error between the reference time on the slave side 20 and the reference time on the master side 10 can be calculated as follows.

【0010】 TS −TM =(ΔT1 +ΔT2 −ΔT3 −ΔT4 )/2 スレーブ側20の時刻差制御部29は、これが0になる
ようにスレーブ側20の基準時刻発生部21を制御す
る。
TS−TM = (ΔT1 + ΔT2−ΔT3−ΔT4) / 2 The time difference control unit 29 on the slave side 20 controls the reference time generation unit 21 on the slave side 20 so that the value becomes zero.

【0011】[0011]

【発明が解決しようとする課題】近年、ギガビットイー
サネットや10ギガビットイーサネット(登録商標)の
ような非同期型の通信手段が市場性・経済性から有望と
考えられている。しかしながら、上記従来の方式では、
このような非同期型通信手段には、SDHのような周期
フレームは存在しないので、周期フレームを基準にして
タイムマーカを送ることができない。
In recent years, asynchronous communication means such as Gigabit Ethernet and 10 Gigabit Ethernet (registered trademark) have been considered promising in terms of marketability and economy. However, in the above conventional method,
Since such an asynchronous communication means does not have a periodic frame as in the SDH, a time marker cannot be transmitted on the basis of the periodic frame.

【0012】周期フレームを持たない非同期型通信手段
でもSDHと同等の精度の時刻同期をより経済的に実現
できるようにするためには、何らかの手法によりタイム
マーカを送ることが必要である。
In order to achieve more economical time synchronization with the same precision as SDH even with asynchronous communication means having no periodic frame, it is necessary to send a time marker by some method.

【0013】本発明は、上記の点に鑑みなされたもの
で、ギガビットや10ギガビットイーサネットのような
非同期型の通信手段を用いる場合でも、従来のSDHを
用いる場合と同等の高精度時刻同期を経済的に実現する
ことが可能な時刻同期方法及びシステム及び時刻同期マ
スタ装置及び時刻同期スレーブ装置を提供することを目
的とする。
The present invention has been made in view of the above points, and even when asynchronous communication means such as Gigabit or 10 Gigabit Ethernet is used, high-precision time synchronization equivalent to the conventional SDH is economically achieved. It is an object of the present invention to provide a time synchronization method and system, a time synchronization master device, and a time synchronization slave device that can be realized in a timely manner.

【0014】[0014]

【課題を解決するための手段】図1は、本発明の原理を
説明するための図である。
FIG. 1 is a diagram for explaining the principle of the present invention.

【0015】本発明(請求項1)は、パケットを送信し
ていない時にはアイドル符号を送信するタイプのパケッ
ト通信を行う際に、マスタ装置とスレーブ装置の時刻を
同期させる時刻同期方法において、マスタ装置では、第
1の基準時刻を発生させ(ステップ1)、第1の基準時
刻に同期して第1の基準タイムマーカを発生させ(ステ
ップ2)、第1の基準タイムマーカを取得して、アイド
ル符号をタイムマーカ用符号に置換する(ステップ3)
と同時に、第1の送信タイムマーカを発生させ(ステッ
プ4)、スレーブ装置では、第2の基準時刻を発生させ
(ステップ1’)、第2の基準時刻に同期して第2の基
準タイムマーカを発生させ(ステップ2’)、第2の基
準タイムマーカを取得して、アイドル符号をタイムマー
カ用符号に置換する(ステップ3’)と同時に、第2の
送信タイムマーカを発生させ(ステップ4’)、マスタ
装置は、第1の送信タイムマーカをスレーブ装置に送信
し(ステップ5)、該スレーブ装置は、第2の送信タイ
ムマーカを該マスタ装置に送信し(ステップ5’)、マ
スタ装置では、スレーブ装置から受信した第2の送信タ
イムマーカ符号が挿入された信号から該第2の送信タイ
ムマーカ符号を検出して、アイドル符号に置換すると同
時に、第1の受信タイムマーカを発生させ(ステップ
6)、スレーブ装置では、マスタ装置から受信した第1
の送信タイムマーカ符号が挿入された信号から該第1の
送信タイムマーカ符号を検出して、アイドル符号に置換
すると同時に、第2の受信タイムマーカを発生させ(ス
テップ6’)、マスタ装置では、第1の基準タイムマー
カと第1の送信タイムマーカとの時間差Aを測定し(ス
テップ7)、第1の基準タイムマーカと第1の受信タイ
ムマーカとの時間差Bを測定し(ステップ8)、スレー
ブ装置では、第2の基準タイムマーカと第2の送信タイ
ムマーカとの時間差A’を測定し(ステップ7’)、第
2の基準タイムマーカと第2の受信タイムマーカとの時
間差B’を測定し(ステップ8’)、スレーブ装置で
は、マスタ装置から取得した時間差Aと時間者Bと、時
間差A’と時間差B’に基づいて、第2の基準時刻と該
マスタ装置の第1の基準時刻との誤差を計算し(ステッ
プ9)、第2の基準時刻が第1の基準時刻と一致するよ
うに制御する(ステップ10)。
The present invention (claim 1) provides a time synchronization method for synchronizing the time between a master device and a slave device when performing packet communication of a type that transmits an idle code when a packet is not transmitted. Then, a first reference time is generated (step 1), a first reference time marker is generated in synchronization with the first reference time (step 2), the first reference time marker is acquired, and Replace the code with the time marker code (step 3)
At the same time, a first transmission time marker is generated (step 4), and a second reference time is generated in the slave device (step 1 '), and the second reference time marker is synchronized with the second reference time. Is generated (step 2 '), a second reference time marker is obtained, and the idle code is replaced with a time marker code (step 3'), and at the same time, a second transmission time marker is generated (step 4 '). '), The master device sends a first transmission time marker to the slave device (step 5), and the slave device sends a second transmission time marker to the master device (step 5'), and the master device Detects the second transmission time marker code from the signal into which the second transmission time marker code received from the slave device is inserted, replaces the second transmission time marker code with an idle code, and simultaneously detects the first reception time marker code. Over Ca is generated (step 6), the slave device, a first received from the master device
The first transmission time marker code is detected from the signal into which the transmission time marker code is inserted and replaced with the idle code, and at the same time, the second reception time marker is generated (step 6 '). A time difference A between the first reference time marker and the first transmission time marker is measured (Step 7), and a time difference B between the first reference time marker and the first reception time marker is measured (Step 8). The slave device measures the time difference A 'between the second reference time marker and the second transmission time marker (step 7'), and calculates the time difference B 'between the second reference time marker and the second reception time marker. Based on the time difference A and the time person B, and the time difference A 'and the time difference B' obtained from the master device, the second reference time and the first reference time of the master device are measured in the slave device (step 8 '). Time and Is calculated (step 9), and control is performed so that the second reference time coincides with the first reference time (step 10).

【0016】図2は、本発明の原理構成図である。FIG. 2 is a diagram showing the principle of the present invention.

【0017】本発明(請求項2)は、パケットを送信し
ていない時にはアイドル符号を送信するタイプのパケッ
ト通信を行う際に、マスタ装置とスレーブ装置の時刻を
同期させる時刻同期システムであって、マスタ装置10
0は、第1の基準時刻を発生させる第1の基準時刻発生
手段101と、第1の基準時刻発生手段101の出力に
同期して第1の基準タイムマーカを発生させる第1のタ
イムマーカ発生手段103と、第1の基準タイムマーカ
を取得して、アイドル符号を第1のタイムマーカ用符号
に置換すると同時に、第1の送信タイムマーカを発生さ
せる第1のタイムマーカ挿入手段106と、スレーブ装
置200からタイムマーカ用符号が挿入された信号を受
信する第1の受信手段109と、第1の受信手段109
で受信した信号からタイムマーカ用符号を検出し、アイ
ドル符号に置換すると同時に、第1の受信タイムマーカ
を発生させる第1のタイムマーカ検出手段111と、第
1の基準タイムマーカと第1の送信タイムマーカとの時
間差Aを測定する第1の送信時間測定手段112と、第
1の基準タイムマーカと第1の受信タイムマーカとの時
間差Bを測定する第1の受信時間測定手段113とを有
し、スレーブ装置200は、第2の基準時刻を発生させ
る第2の基準時刻発生手段201と、第2の基準時刻発
生手段201の出力に同期して第2の基準タイムマーカ
を発生させる第2のタイムマーカ発生手段203と、第
2の基準タイムマーカを取得して、アイドル符号を第2
のタイムマーカ用符号に置換すると同時に、第2の送信
タイムマーカを発生させる第2のタイムマーカ挿入手段
206と、マスタ装置100からタイムマーカ用符号が
挿入された信号を受信する第2の受信手段209と、第
2の受信手段209で受信した信号からタイムマーカ用
符号を検出し、アイドル符号に置換すると同時に、第2
の受信タイムマーカを発生させる第2のタイムマーカ検
出手段211と、第2の基準タイムマーカと第2の送信
タイムマーカとの時間差A’を測定する第2の送信時間
測定手段212と、第2の基準タイムマーカと第2の受
信タイムマーカとの時間差B’を測定する第2の受信時
間測定手段213と、時間差Aと時間差Bをマスタ装置
100から取得し、該時間差Aと該時間差Bと、時間差
A’と時間差B’に基づいて、第2の基準時刻発生手段
201の時刻と、第1の基準時刻発生手段101とで発
生した第2の基準時刻、及び第1の基準時刻との誤差を
計算し、該第2の基準時刻が該第1の基準時刻に一致す
るように制御する時刻差制御手段215とを有する。
The present invention (claim 2) is a time synchronization system for synchronizing the time between a master device and a slave device when performing packet communication of a type that transmits an idle code when a packet is not transmitted, Master device 10
0 is a first reference time generation means 101 for generating a first reference time, and a first time marker generation means for generating a first reference time marker in synchronization with an output of the first reference time generation means 101 Means 103 for obtaining a first reference time marker, replacing an idle code with a first time marker code, and generating a first transmission time marker at the same time as a first time marker inserting means 106; First receiving means 109 for receiving a signal into which a time marker code is inserted from device 200, and first receiving means 109;
A first time marker detecting means 111 for detecting a time marker code from the signal received in step 1 and replacing it with an idle code and simultaneously generating a first reception time marker, a first reference time marker and a first transmission There are first transmission time measuring means 112 for measuring a time difference A from the time marker, and first reception time measuring means 113 for measuring a time difference B between the first reference time marker and the first reception time marker. The slave device 200 includes a second reference time generation unit 201 that generates a second reference time, and a second reference time marker that generates a second reference time marker in synchronization with an output of the second reference time generation unit 201. And the second reference time marker is acquired, and the idle code is
A second time marker inserting means 206 for generating a second transmission time marker at the same time as the time marker code, and a second receiving means for receiving a signal into which the time marker code has been inserted from the master device 100. 209 and a time marker code is detected from the signal received by the second receiving means 209 and replaced with an idle code.
A second time marker detecting means 211 for generating the reception time marker of the second, a second transmission time measuring means 212 for measuring a time difference A 'between the second reference time marker and the second transmission time marker, A second reception time measuring means 213 for measuring a time difference B ′ between the reference time marker and the second reception time marker, and a time difference A and a time difference B are obtained from the master device 100, and the time difference A and the time difference B are obtained. , Based on the time difference A ′ and the time difference B ′, the time of the second reference time generation means 201, the second reference time generated by the first reference time generation means 101, and the first reference time. A time difference control unit 215 for calculating an error and controlling the second reference time so as to coincide with the first reference time.

【0018】本発明(請求項3)は、パケットを送信し
ていない時にはアイドル符号を送信するタイプのパケッ
ト通信を行う際に、マスタ装置とスレーブ装置の時刻を
同期させるためのシステムにおける時刻同期マスタ装置
であって、基準時刻を発生させる基準時刻発生手段と、
基準時刻発生手段の出力に同期して基準タイムマーカを
発生させるタイムマーカ発生手段と、基準タイムマーカ
を取得して、アイドル符号をタイムマーカ用符号に置換
すると同時に、送信タイムマーカを発生させるタイムマ
ーカ挿入手段と、スレーブ装置からタイムマーカ用符号
が挿入された信号を受信する受信手段と、受信手段で受
信した信号からタイムマーカ用符号を検出し、アイドル
符号に置換すると同時に、受信タイムマーカを発生させ
るタイムマーカ検出手段と、基準タイムマーカと送信タ
イムマーカとの時間差Aを測定する送信時間測定手段
と、基準タイムマーカと受信タイムマーカとの時間差B
を測定する受信時間測定手段と、送信タイムマーカ及び
時間差A、時間差Bをスレーブ装置に送信する送信手段
とを有する。
The present invention (claim 3) provides a time synchronization master in a system for synchronizing the time between a master device and a slave device when performing packet communication of a type that transmits an idle code when a packet is not transmitted. A reference time generating means for generating a reference time, the apparatus comprising:
Time marker generating means for generating a reference time marker in synchronization with the output of the reference time generating means, and a time marker for obtaining a reference time marker and replacing an idle code with a time marker code and simultaneously generating a transmission time marker Inserting means, receiving means for receiving a signal into which a time marker code has been inserted from a slave device, detecting a time marker code from the signal received by the receiving means, replacing the idle code with an idle code, and simultaneously generating a reception time marker. A time marker detecting means for measuring the time difference A between the reference time marker and the transmission time marker; and a time difference B between the reference time marker and the reception time marker.
, And transmission means for transmitting the transmission time marker, the time difference A, and the time difference B to the slave device.

【0019】本発明(請求項4)は、パケットを送信し
ていない時にはアイドル符号を送信するタイプのパケッ
ト通信を行う際に、マスタ装置とスレーブ装置の時刻を
同期させるためのシステムにおける時刻同期スレーブ装
置であって、基準時刻を発生させる基準時刻発生手段
と、基準時刻発生手段の出力に同期して基準タイムマー
カを発生させるタイムマーカ発生手段と、基準タイムマ
ーカを取得して、アイドル符号をタイムマーカ用符号に
置換すると同時に、送信タイムマーカを発生させるタイ
ムマーカ挿入手段と、マスタ装置からタイムマーカ用符
号が挿入された信号を受信する受信手段と、受信手段で
受信した信号からタイムマーカ用符号を検出し、アイド
ル符号に置換すると同時に、受信タイムマーカを発生さ
せるタイムマーカ検出手段と、基準タイムマーカと送信
タイムマーカとの時間差A’を測定する送信時間測定手
段と、基準タイムマーカと受信タイムマーカとの時間差
B’を測定する受信時間測定手段と、マスタ装置から取
得した、マスタ装置での基準タイムマーカと送信タイム
マーカとの時間差Aと、マスタ装置での該基準タイムマ
ーカと受信タイムマーカとの時間差Bと、時間差A’と
時間差B’に基づいて、基準時刻発生手段の時刻と、第
1の基準時刻発生手段とで発生した基準時刻、及び第1
の基準時刻との誤差を計算し、該基準時刻が該第1の基
準時刻に一致するように制御する時刻差制御手段とを有
する。
The present invention (claim 4) provides a time synchronization slave in a system for synchronizing the time between a master device and a slave device when performing packet communication of a type that transmits an idle code when a packet is not transmitted. A reference time generating means for generating a reference time; a time marker generating means for generating a reference time marker in synchronization with an output of the reference time generating means; Time marker insertion means for generating a transmission time marker at the same time as replacing the marker code, reception means for receiving a signal into which the time marker code has been inserted from the master device, and time marker code from the signal received by the reception means Is detected and replaced with an idle code, and at the same time, a time marker detection Means, a transmission time measuring means for measuring a time difference A 'between the reference time marker and the transmission time marker, a reception time measuring means for measuring a time difference B' between the reference time marker and the reception time marker, and the information obtained from the master device. The reference time generation is performed based on the time difference A between the reference time marker and the transmission time marker in the master device, the time difference B between the reference time marker and the reception time marker in the master device, and the time difference A ′ and the time difference B ′. Means, a reference time generated by the first reference time generation means,
Time difference control means for calculating an error with respect to the reference time and controlling the reference time to coincide with the first reference time.

【0020】上記のように、本発明は、ギガビットイー
サネットや10ギガビットイーサネットでは、パケット
間にアイドル符号が存在する場合において、このアイド
ル符号を送信側でタイムマーカ用符号に置換し、また、
受信側でタイムマーカ用符号をアイドル符号に置換する
ことにより、ギガビットや10ギガビットイーサネット
のような非同期型の通信手段を用いる場合でも、本来の
パケットに影響を与えることなく、タイムマーカを送受
信することが可能となる。
As described above, according to the present invention, in a gigabit Ethernet or 10 gigabit Ethernet, when an idle code exists between packets, the idle code is replaced with a time marker code on the transmitting side.
By replacing the time marker code with the idle code on the receiving side, even when using asynchronous communication means such as Gigabit or 10 Gigabit Ethernet, the time marker can be transmitted and received without affecting the original packet. Becomes possible.

【0021】[0021]

【発明の実施の形態】以下、図面と共に本発明の実施の
形態を説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0022】図3は、本発明の一実施の形態における時
刻同期システムの構成を示す。
FIG. 3 shows a configuration of a time synchronization system according to an embodiment of the present invention.

【0023】同図に示すシステムは、マスタ側100と
スレーブ側200から構成される。マスタ側100は、
基準時刻発生部101、上位レイヤ処理部102、タイ
ムマーカ発生部103、符号変換部104、105、タ
イムマーカ挿入部106、シリアライザ107、光送信
部108、光受信部109、デシリアリザ110、タイ
ムマーカ検出部111、送信時間測定部112、受信時
間測定部113、CPU114から構成される。
The system shown in FIG. 1 includes a master side 100 and a slave side 200. The master side 100
Reference time generation section 101, upper layer processing section 102, time marker generation section 103, code conversion sections 104 and 105, time marker insertion section 106, serializer 107, optical transmission section 108, optical reception section 109, deserializer 110, time marker detection It comprises a unit 111, a transmission time measurement unit 112, a reception time measurement unit 113, and a CPU 114.

【0024】スレーブ側200は、基準時刻発生部20
1、上位レイヤ処理部202、タイムマーカ発生部20
3、符号変換部204、符号変換部205、タイムマー
カ挿入部206、シリアライザ207、光送信部20
8、光受信部209、デシリアライザ210、タイムマ
ーカ検出部211、送信時間測定部212、受信時間測
定部213、CPU214、時刻差制御部215から構
成される。
The slave side 200 includes a reference time generator 20
1. Upper layer processing unit 202, time marker generation unit 20
3. Code conversion unit 204, code conversion unit 205, time marker insertion unit 206, serializer 207, optical transmission unit 20
8, the optical receiving unit 209, the deserializer 210, the time marker detecting unit 211, the transmitting time measuring unit 212, the receiving time measuring unit 213, the CPU 214, and the time difference controlling unit 215.

【0025】基準時刻発生部101、201は、基準時
刻を出力する。但し、SDHの場合と異なり、伝送路周
波数と周波数同期しているとは限らない。
The reference time generators 101 and 201 output a reference time. However, unlike the case of the SDH, the frequency is not always synchronized with the transmission line frequency.

【0026】タイムマーカ発生部103、203は、基
準時刻発生部101、201の出力に同期して一定周期
で基準タイムマーカを発生させる。
The time marker generators 103 and 203 generate reference time markers at fixed intervals in synchronization with the outputs of the reference time generators 101 and 201.

【0027】タイムマーカ挿入部106、206は、基
準タイムマーカを受けた時点に最も近いアイドル符号を
適当なタイムマーカ用符号に置換する。このタイムマー
カ挿入部106、206の動作を図4に示す。同図
(a)は、パケットが送信されていない場合を示し、同
図(b)は、パケットが送信されている場合を示す。同
図のそれぞれにおいて、基準タイムマーカ、タイムマー
カ挿入前の符号列、タイムマーカ挿入後の符号列、送信
タイムマーカを示す。
The time marker insertion units 106 and 206 replace the idle code closest to the time when the reference time marker was received with an appropriate time marker code. FIG. 4 shows the operation of the time marker insertion units 106 and 206. FIG. 2A shows a case where a packet is not transmitted, and FIG. 2B shows a case where a packet is transmitted. In each of the figures, a reference time marker, a code string before insertion of the time marker, a code string after insertion of the time marker, and a transmission time marker are shown.

【0028】タイムマーカ挿入部106、206は、図
4(a)のように、基準タイムマーカを受けた時点でパ
ケットが送信されていない場合、タイムマーカ挿入部1
06、206は、そのアイドル符号をタイムマーカ用符
号に置換する。また、タイムマーカ挿入部106、20
6は、図4(b)のように、基準タイムマーカを受けた
時点でパケットが送信されている場合、パケット送信が
終わるまで待ち、その次のアイドル符号をタイムマーカ
用符号に置換する。どちらの場合でも、タイムマーカ挿
入部106、206は、タイムマーカ用符号に同期した
送信タイムマーカを出力する。
As shown in FIG. 4A, when no packet is transmitted at the time when the reference time marker is received, the time marker inserting sections 106 and 206
06 and 206 replace the idle code with a time marker code. Also, the time marker insertion units 106 and 20
When a packet is being transmitted at the time of receiving the reference time marker as shown in FIG. 4B, 6 waits until the packet transmission is completed, and replaces the next idle code with the time marker code. In either case, the time marker insertion units 106 and 206 output a transmission time marker synchronized with the time marker code.

【0029】送信時間測定部112、212は、基準タ
イムマーカと送信タイムマーカとの時間差を測定する。
SDHを用いる場合と異なり、基準タイムマーカと送信
タイムマーカの時間差は一定していない。タイムマーカ
用符号を挿入された信号は、シリアライザ107、20
7に出力される。
The transmission time measuring units 112 and 212 measure the time difference between the reference time marker and the transmission time marker.
Unlike the case using SDH, the time difference between the reference time marker and the transmission time marker is not constant. The signal into which the time marker code has been inserted is output to the serializers 107 and 20.
7 is output.

【0030】シリアライザ107、207は、タイムマ
ーカ挿入部106、206から出力されたタイムマーカ
用符号が挿入された信号をシリアライズして光送信部1
08、208に出力する。
The serializers 107 and 207 serialize the signal into which the time marker code output from the time marker inserting units 106 and 206 is inserted, and
08 and 208.

【0031】光送信部108、208は、シリアライザ
107、207でシリアライズされた信号をE/O変換
して送信する。当該送信されたパケット信号は対向する
ノードの光受信部109、209でO/E変換される。
The optical transmitters 108 and 208 E / O convert the signals serialized by the serializers 107 and 207 and transmit the signals. The transmitted packet signal is O / E converted by the optical receiving units 109 and 209 of the opposing node.

【0032】光受信部109、209は、対応するノー
ドから送信されたパケット信号をO/E変換し、デシア
ライザ110、210に出力する。
The optical receivers 109 and 209 perform O / E conversion on the packet signals transmitted from the corresponding nodes and output the signals to the desializers 110 and 210.

【0033】デシアライザ110、210は、O/E変
換されたパケット信号をデシリアライズする。
The desializers 110 and 210 deserialize the O / E converted packet signal.

【0034】タイムマーカ検出部111、211は、図
5に示すように、受信した信号中のタイムマーカ用符号
を検出し、これを元のアイドル符号に置換する。また、
これに同期して受信タイムマーカを出力する。なお、図
5で用いられている記号は以下の内容を意味する。 /S/:パケット開始 /T/:パケット終了 /R/:キャリア拡張 /D/:データ符号 /I/:アイドル符号 /M/:タイムマーカ用符号 受信時間測定部113、213は、基準タイムマーカと
受信タイムマーカとの時間差を測定する。
As shown in FIG. 5, the time marker detectors 111 and 211 detect the time marker code in the received signal and replace it with the original idle code. Also,
The reception time marker is output in synchronization with this. The symbols used in FIG. 5 mean the following. / S /: packet start / T /: packet end / R /: carrier extension / D /: data code / I /: idle code / M /: code reception time measurement unit for time marker 113, 213 is a reference time marker A time difference between the time marker and the reception time marker is measured.

【0035】マスタ側100における送信時間測定部1
12の出力をΔT1 、受信時間測定部113の出力をΔ
T2 ,スレーブ側200における送信時間測定部212
の出力をΔT3 、受信時間測定部213の出力をΔT4
とする。マスタ側における基準タイムマーカの送信時刻
をΔTM 、スレーブ側200における基準タイムマーカ
の送信時刻をTS とすると、スレーブ側200とマスタ
側100の基準時刻間の誤差は以下のように計算するこ
とができる。
Transmission time measuring section 1 in master side 100
12 is ΔT1 and the output of the reception time measuring unit 113 is ΔT1.
T2, transmission time measuring section 212 in slave side 200
Is the output of ΔT3, and the output of the reception time measurement unit 213 is ΔT4
And Assuming that the transmission time of the reference time marker on the master side is ΔTM and the transmission time of the reference time marker on the slave side 200 is TS, the error between the reference times of the slave side 200 and the master side 100 can be calculated as follows. .

【0036】 TS −TM =(ΔT1 +ΔT2 −ΔT3 −ΔT4 )/2 スレーブ側200の時刻差制御部215は、これが0に
なるようにスレーブ側200の基準時刻発生部201を
制御する。
TS−TM = (ΔT 1 + ΔT 2 −ΔT 3 −ΔT 4) / 2 The time difference control section 215 of the slave side 200 controls the reference time generation section 201 of the slave side 200 so that this becomes zero.

【0037】なお、この計算に必要な送信時間測定部2
12、受信時間測定部213の出力は、パケット化さ
れ、通常のギガビットイーサネットなどの手順で送受信
される。
The transmission time measuring unit 2 required for this calculation
12. The output of the reception time measuring unit 213 is packetized and transmitted / received by a procedure such as a normal Gigabit Ethernet.

【0038】なお、本発明は、上記の実施の形態に限定
されるものではなく、特許請求の範囲内において、種々
変更・応用が可能である。
It should be noted that the present invention is not limited to the above embodiment, and various changes and applications are possible within the scope of the claims.

【0039】[0039]

【発明の効果】上述のように、本発明によれば、ギガビ
ットイーサネットや10ギガビットイーサネットのよう
な非同期型の通信手段を用いる場合でも、従来のSDH
を用いる場合と同等の高精度時刻同期を経済的に実現で
きる。
As described above, according to the present invention, even when asynchronous communication means such as Gigabit Ethernet or 10 Gigabit Ethernet is used, the conventional SDH can be used.
The same high-precision time synchronization as in the case of using can be realized economically.

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

【図1】本発明の原理を説明するための図である。FIG. 1 is a diagram for explaining the principle of the present invention.

【図2】本発明の原理構成図である。FIG. 2 is a principle configuration diagram of the present invention.

【図3】本発明の一実施の形態における時刻同期システ
ムの構成図である。
FIG. 3 is a configuration diagram of a time synchronization system according to an embodiment of the present invention.

【図4】本発明の一実施の形態におけるタイムマーカ挿
入部の動作を説明するための図である。
FIG. 4 is a diagram for explaining an operation of a time marker insertion unit according to one embodiment of the present invention.

【図5】本発明の一実施の形態におけるタイムマーカ検
出部の動作を説明するための図である。
FIG. 5 is a diagram for explaining an operation of a time marker detection unit according to one embodiment of the present invention.

【図6】従来のSDHを用いた時刻同期方式を説明する
ための図である。
FIG. 6 is a diagram for explaining a conventional time synchronization method using SDH.

【図7】時刻同期の原理を説明するための図である。FIG. 7 is a diagram for explaining the principle of time synchronization.

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

100 マスタ装置、マスタ側 101 第1の基準時刻発生手段、基準時刻発生部 102 第1の上位レイヤ処理手段、上位レイヤ処理部 103 第1のタイムマーカ発生手段、タイムマーカ発
生部 104 符号変換部 105 符号変換部 106 第1のタイムマーカ挿入手段、タイムマーカ挿
入部 107 シリアライザ 108 第1の送信手段、光送信部 109 第1の受信手段、光受信部 110 デシアライザ 111 第1のタイムマーカ検出手段、タイムマーカ検
出部 112 第1の送信時間測定手段、送信時間測定部 113 第1の受信時間測定手段、受信時間測定部 114 CPU 200 スレーブ装置、スレーブ側 201 第2の基準時刻発生手段、基準時刻発生部 202 第2の上位レイヤ処理手段、上位レイヤ処理部 203 第2のタイムマーカ発生手段、タイムマーカ発
生部 204 符号変換部 205 符号変換部 206 第2のタイムマーカ挿入手段、タイムマーカ挿
入部 207 シリアライザ 208 第2の送信手段、光送信部 209 第2の受信手段、光受信部 210 デシリアライザ 211 第2のタイムマーカ検出手段、タイムマーカ検
出部 212 第2の送信時間測定手段、送信時間測定部 213 第2の受信時間測定手段、受信時間測定部 214 CPU 215 時刻差制御部
Reference Signs List 100 master device, master side 101 first reference time generation unit, reference time generation unit 102 first upper layer processing unit, upper layer processing unit 103 first time marker generation unit, time marker generation unit 104 code conversion unit 105 Code conversion section 106 First time marker insertion section, time marker insertion section 107 Serializer 108 First transmission section, optical transmission section 109 First reception section, optical reception section 110 Desealizer 111 First time marker detection section, time Marker detection unit 112 First transmission time measurement unit, transmission time measurement unit 113 First reception time measurement unit, reception time measurement unit 114 CPU 200 slave device, slave side 201 Second reference time generation unit, reference time generation unit 202 second upper layer processing means, upper layer processing unit 203 second time marker generation Stage, time marker generating section 204 code converting section 205 code converting section 206 second time marker inserting section, time marker inserting section 207 serializer 208 second transmitting section, optical transmitting section 209 second receiving section, optical receiving section 210 Deserializer 211 Second time marker detection unit, time marker detection unit 212 Second transmission time measurement unit, transmission time measurement unit 213 Second reception time measurement unit, reception time measurement unit 214 CPU 215 Time difference control unit

フロントページの続き (56)参考文献 特開 平7−170283(JP,A) 特開 平9−307548(JP,A) 特開 平11−118961(JP,A) 特開 昭60−39310(JP,A) 特開2000−350353(JP,A) 特開2001−36538(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04L 7/00 G04G 7/02 H04J 3/00 H04Q 9/14 Continuation of the front page (56) References JP-A-7-170283 (JP, A) JP-A-9-307548 (JP, A) JP-A-11-118961 (JP, A) JP-A-60-39310 (JP) JP-A-2000-350353 (JP, A) JP-A-2001-36538 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) H04L 7/00 G04G 7/02 H04J 3 / 00 H04Q 9/14

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 パケットを送信していない時にはアイド
ル符号を送信するタイプのパケット通信を行う際に、マ
スタ装置とスレーブ装置の時刻を同期させる時刻同期方
法において、 前記マスタ装置では、 第1の基準時刻を発生させ、 前記第1の基準時刻に同期して第1の基準タイムマーカ
を発生させ、 前記第1の基準タイムマーカを取得して、アイドル符号
をタイムマーカ用符号に置換すると同時に、第1の送信
タイムマーカを発生させ、 前記スレーブ装置では、 第2の基準時刻を発生させ、 前記第2の基準時刻に同期して第2の基準タイムマーカ
を発生させ、 前記第2の基準タイムマーカを取得して、アイドル符号
をタイムマーカ用符号に置換すると同時に、第2の送信
タイムマーカを発生させ、 前記マスタ装置は、前記第1の送信タイムマーカを前記
スレーブ装置に送信し、該スレーブ装置は、前記第2の
送信タイムマーカを該マスタ装置に送信し、 前記マスタ装置は、前記スレーブ装置から受信した前記
第2の送信タイムマーカ符号が挿入された信号から該第
2の送信タイムマーカ符号を検出して、アイドル符号に
置換すると同時に、第1の受信タイムマーカを発生さ
せ、 前記スレーブ装置では、前記マスタ装置から受信した前
記第1の送信タイムマーカ符号が挿入された信号から該
第1の送信タイムマーカ符号を検出して、アイドル符号
に置換すると同時に、第2の受信タイムマーカを発生さ
せ、 前記マスタ装置では、前記第1の基準タイムマーカと前
記第1の送信タイムマーカとの時間差Aを測定し、 前記第1の基準タイムマーカと前記第1の受信タイムマ
ーカとの時間差Bを測定し、 前記スレーブ装置では、前記第2の基準タイムマーカと
前記第2の送信タイムマーカとの時間差A’を測定し、 前記第2の基準タイムマーカと前記第2の受信タイムマ
ーカとの時間差B’を測定し、 前記スレーブ装置では、 前記マスタ装置から取得した前記時間差Aと前記時間者
Bと、前記時間差A’と前記時間差B’に基づいて、前
記第2の基準時刻と該マスタ装置の前記第1の基準時刻
との誤差を計算し、 前記第2の基準時刻が前記第1の基準時刻と一致するよ
うに制御することを特徴とする時刻同期方法。
1. A time synchronization method for synchronizing the time between a master device and a slave device when performing packet communication of a type that transmits an idle code when a packet is not transmitted, wherein the master device has a first reference Generating a time, generating a first reference time marker in synchronization with the first reference time, acquiring the first reference time marker, replacing the idle code with a time marker code, Generating a second reference time marker, generating a second reference time in synchronization with the second reference time, and generating a second reference time marker in synchronization with the second reference time. And, at the same time as replacing the idle code with the code for the time marker, generating a second transmission time marker. An im marker transmitted to the slave device, the slave device transmits the second transmission time marker to the master device, and the master device inserts the second transmission time marker code received from the slave device The second transmission time marker code is detected from the received signal and replaced with an idle code, and at the same time, a first reception time marker is generated. In the slave device, the first transmission time marker received from the master device is transmitted. The first transmission time marker code is detected from the signal into which the time marker code has been inserted, and is replaced with an idle code. At the same time, a second reception time marker is generated. Measuring a time difference A between the marker and the first transmission time marker, and calculating a time difference A between the first reference time marker and the first reception time marker; The slave device measures a time difference A ′ between the second reference time marker and the second transmission time marker, and calculates the time difference B ′ between the second reference time marker and the second reception time. Measuring a time difference B ′ between the marker and the slave device, the second reference time based on the time difference A and the time person B obtained from the master device and the time difference A ′ and the time difference B ′ And calculating an error between the second reference time and the first reference time of the master device, and controlling the second reference time so as to coincide with the first reference time.
【請求項2】 パケットを送信していない時にはアイド
ル符号を送信するタイプのパケット通信を行う際に、マ
スタ装置とスレーブ装置の時刻を同期させる時刻同期シ
ステムであって、 前記マスタ装置は、 第1の基準時刻を発生させる第1の基準時刻発生手段
と、 前記第1の基準時刻発生手段の出力に同期して第1の基
準タイムマーカを発生させる第1のタイムマーカ発生手
段と、 前記第1の基準タイムマーカを取得して、アイドル符号
を第1のタイムマーカ用符号に置換すると同時に、第1
の送信タイムマーカを発生させる第1のタイムマーカ挿
入手段と、 前記スレーブ装置からタイムマーカ用符号が挿入された
信号を受信する第1の受信手段と、 前記第1の受信手段で受信した前記信号から前記タイム
マーカ用符号を検出し、アイドル符号に置換すると同時
に、第1の受信タイムマーカを発生させる第1のタイム
マーカ検出手段と、 前記第1の基準タイムマーカと前記第1の送信タイムマ
ーカとの時間差Aを測定する第1の送信時間測定手段
と、 前記第1の基準タイムマーカと前記第1の受信タイムマ
ーカとの時間差Bを測定する第1の受信時間測定手段と
を有し、 前記スレーブ装置は、 第2の基準時刻を発生させる第2の基準時刻発生手段
と、 前記第2の基準時刻発生手段の出力に同期して第2の基
準タイムマーカを発生させる第2のタイムマーカ発生手
段と、 前記第2の基準タイムマーカを取得して、アイドル符号
を第2のタイムマーカ用符号に置換すると同時に、第2
の送信タイムマーカを発生させる第2のタイムマーカ挿
入手段と、 前記マスタ装置からタイムマーカ用符号が挿入された信
号を受信する第2の受信手段と、 前記第2の受信手段で受信した前記信号から前記タイム
マーカ用符号を検出し、アイドル符号に置換すると同時
に、第2の受信タイムマーカを発生させる第2のタイム
マーカ検出手段と、 前記第2の基準タイムマーカと前記第2の送信タイムマ
ーカとの時間差A’を測定する第2の送信時間測定手段
と、 前記第2の基準タイムマーカと前記第2の受信タイムマ
ーカとの時間差B’を測定する第2の受信時間測定手段
と、 前記時間差Aと前記時間差Bを前記マスタ装置から取得
し、該時間差Aと該時間差Bと、前記時間差A’と前記
時間差B’に基づいて、前記第2の基準時刻発生手段の
時刻と、前記第1の基準時刻発生手段とで発生した第2
の基準時刻、及び第1の基準時刻との誤差を計算し、該
第2の基準時刻が該第1の基準時刻に一致するように制
御する時刻差制御手段とを有することを特徴とする時刻
同期システム。
2. A time synchronization system for synchronizing the time of a master device and the time of a slave device when performing packet communication of a type that transmits an idle code when a packet is not transmitted, wherein the master device comprises: A first reference time generating means for generating a reference time, a first time marker generating means for generating a first reference time marker in synchronization with an output of the first reference time generating means, At the same time as replacing the idle code with the first time marker code,
First time marker insertion means for generating a transmission time marker, first reception means for receiving a signal into which a time marker code has been inserted from the slave device, and the signal received by the first reception means A first time marker detecting means for detecting the time marker code from the data and replacing the idle code with an idle code, and simultaneously generating a first reception time marker; the first reference time marker and the first transmission time marker A first transmission time measurement unit that measures a time difference A between the first and second reference time markers, and a first reception time measurement unit that measures a time difference B between the first reference time marker and the first reception time marker. The slave device includes: a second reference time generation unit configured to generate a second reference time; and a second reference time marker generated in synchronization with an output of the second reference time generation unit. A second time marker generating means for acquiring the second reference time marker, replacing the idle code with a second time marker code,
Second time marker inserting means for generating a transmission time marker of the following, second receiving means for receiving a signal having a time marker code inserted from the master device, and the signal received by the second receiving means A second time marker detecting means for detecting the time marker code from the data and replacing the idle time code with an idle code, and simultaneously generating a second reception time marker; the second reference time marker and the second transmission time marker A second transmission time measuring means for measuring a time difference A ′ between the second reference time marker and a second reception time measuring means for measuring a time difference B ′ between the second reference time marker and the second reception time marker; The time difference A and the time difference B are acquired from the master device. Based on the time difference A, the time difference B, the time difference A ′, and the time difference B ′, the time of the second reference time generation unit is determined. When, the generated in said first reference time generating means 2
Time difference control means for calculating an error between the first reference time and the second reference time, and controlling the second reference time so as to coincide with the first reference time. Synchronization system.
【請求項3】 パケットを送信していない時にはアイド
ル符号を送信するタイプのパケット通信を行う際に、マ
スタ装置とスレーブ装置の時刻を同期させるためのシス
テムにおける時刻同期マスタ装置であって、 基準時刻を発生させる基準時刻発生手段と、 前記基準時刻発生手段の出力に同期して基準タイムマー
カを発生させるタイムマーカ発生手段と、 前記基準タイムマーカを取得して、アイドル符号をタイ
ムマーカ用符号に置換すると同時に、送信タイムマーカ
を発生させるタイムマーカ挿入手段と、 前記スレーブ装置からタイムマーカ用符号が挿入された
信号を受信する受信手段と、 前記受信手段で受信した前記信号から前記タイムマーカ
用符号を検出し、アイドル符号に置換すると同時に、受
信タイムマーカを発生させるタイムマーカ検出手段と、 前記基準タイムマーカと前記送信タイムマーカとの時間
差Aを測定する送信時間測定手段と、 前記基準タイムマーカと前記受信タイムマーカとの時間
差Bを測定する受信時間測定手段と、 前記送信タイムマーカ及び前記時間差A、前記時間差B
を前記スレーブ装置に送信する送信手段とを有すること
を特徴とする時刻同期マスタ装置。
3. A time synchronization master device in a system for synchronizing the time between a master device and a slave device when performing packet communication of a type that transmits an idle code when a packet is not transmitted, comprising: A time marker generating means for generating a reference time marker in synchronization with an output of the reference time generating means; acquiring the reference time marker and replacing an idle code with a time marker code At the same time, a time marker inserting means for generating a transmission time marker, a receiving means for receiving a signal into which a time marker code has been inserted from the slave device, and the time marker code from the signal received by the receiving means Detect and replace the idle code with the time code that generates the reception time marker at the same time. Power detection means; transmission time measurement means for measuring a time difference A between the reference time marker and the transmission time marker; reception time measurement means for measuring a time difference B between the reference time marker and the reception time marker; Transmission time marker and the time difference A, the time difference B
And a transmission unit for transmitting a clock to the slave device.
【請求項4】 パケットを送信していない時にはアイド
ル符号を送信するタイプのパケット通信を行う際に、マ
スタ装置とスレーブ装置の時刻を同期させるためのシス
テムにおける時刻同期スレーブ装置であって、 基準時刻を発生させる基準時刻発生手段と、 前記基準時刻発生手段の出力に同期して基準タイムマー
カを発生させるタイムマーカ発生手段と、 前記基準タイムマーカを取得して、アイドル符号をタイ
ムマーカ用符号に置換すると同時に、送信タイムマーカ
を発生させるタイムマーカ挿入手段と、 前記マスタ装置からタイムマーカ用符号が挿入された信
号を受信する受信手段と、 前記受信手段で受信した前記信号から前記タイムマーカ
用符号を検出し、アイドル符号に置換すると同時に、受
信タイムマーカを発生させるタイムマーカ検出手段と、 前記基準タイムマーカと前記送信タイムマーカとの時間
差A’を測定する送信時間測定手段と、 前記基準タイムマーカと前記受信タイムマーカとの時間
差B’を測定する受信時間測定手段と、 前記マスタ装置から取得した、マスタ装置での基準タイ
ムマーカと送信タイムマーカとの時間差Aと、マスタ装
置での該基準タイムマーカと受信タイムマーカとの時間
差Bと、前記時間差A’と前記時間差B’に基づいて、
前記基準時刻発生手段の時刻と、前記第1の基準時刻発
生手段とで発生した基準時刻、及び第1の基準時刻との
誤差を計算し、該基準時刻が該第1の基準時刻に一致す
るように制御する時刻差制御手段とを有することを特徴
とする時刻同期スレーブ装置。
4. A time synchronization slave device in a system for synchronizing the time between a master device and a slave device when performing packet communication of a type that transmits an idle code when a packet is not being transmitted, comprising: A time marker generating means for generating a reference time marker in synchronization with an output of the reference time generating means; acquiring the reference time marker and replacing an idle code with a time marker code At the same time, a time marker inserting means for generating a transmission time marker, a receiving means for receiving a signal into which a time marker code has been inserted from the master device, and the time marker code from the signal received by the receiving means Detect and replace the idle code with the time code that generates the reception time marker at the same time. Power detection means; transmission time measurement means for measuring the time difference A 'between the reference time marker and the transmission time marker; reception time measurement means for measuring the time difference B' between the reference time marker and the reception time marker The time difference A between the reference time marker and the transmission time marker in the master device, the time difference B between the reference time marker and the reception time marker in the master device, and the time difference A ′ and the time difference acquired from the master device. Based on B '
An error between the time of the reference time generation means, the reference time generated by the first reference time generation means, and the first reference time is calculated, and the reference time coincides with the first reference time. And a time difference control means for controlling the time synchronization.
JP2001017617A 2001-01-25 2001-01-25 Time synchronization method, time synchronization system, time synchronization master device, and time synchronization slave device Expired - Fee Related JP3536819B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001017617A JP3536819B2 (en) 2001-01-25 2001-01-25 Time synchronization method, time synchronization system, time synchronization master device, and time synchronization slave device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001017617A JP3536819B2 (en) 2001-01-25 2001-01-25 Time synchronization method, time synchronization system, time synchronization master device, and time synchronization slave device

Publications (2)

Publication Number Publication Date
JP2002223207A JP2002223207A (en) 2002-08-09
JP3536819B2 true JP3536819B2 (en) 2004-06-14

Family

ID=18883784

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001017617A Expired - Fee Related JP3536819B2 (en) 2001-01-25 2001-01-25 Time synchronization method, time synchronization system, time synchronization master device, and time synchronization slave device

Country Status (1)

Country Link
JP (1) JP3536819B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101204445B1 (en) 2011-12-07 2012-11-26 시큐아이닷컴 주식회사 Time synchronization system and time synchronization method between a master device and a slave device

Also Published As

Publication number Publication date
JP2002223207A (en) 2002-08-09

Similar Documents

Publication Publication Date Title
US8355476B2 (en) Timestamping method and apparatus for precise network synchronization
TWI651983B (en) Nanosecond accuracy under precision time protocol for ethernet by using high accuracy timestamp assist device
CN104272664B (en) gateway, node and method for vehicle
US7251199B2 (en) Distributed system time synchronization including a timing signal path
CN103201971B (en) For synchronously have the packet switching network that polymerization between node connects master clock and from the method for clock and the synchronizer that is associated
CN106954188A (en) A kind of method that Tof and Tdoa is measured in alignment system
WO2008098491A1 (en) A time synchronous method, system and apparatus
CN103929293A (en) Asymmetrically-delayed time synchronization method and system
US9112603B2 (en) Apparatus and method for measuring a delay
CN103138887A (en) Processing method of 1588 event messages and processing method of 1588 event messages
WO2019036943A1 (en) Packet processing method and network device
US7236502B2 (en) Internal signaling method to support clock synchronization of nodes connected via a wireless local area network
JP6227888B2 (en) Communication system, synchronization system, and communication method
WO2013155944A1 (en) Boundary clock, transparent clock, and method for clock transmission
KR20100062786A (en) Time synchronized system and time synchronization method in the next generation convergence network
US20110016232A1 (en) Time stamping apparatus and method for network timing synchronization
JP3536819B2 (en) Time synchronization method, time synchronization system, time synchronization master device, and time synchronization slave device
CN205283557U (en) PTP time synchronizer based on synchronous ethernet
US20080304521A1 (en) Internal signaling method to support clock synchronization of nodes connected via a wireless local area network
EP1486016B1 (en) Internal signaling method to support clock synchronization of nodes connected via a wireless local area network
JP3897413B2 (en) Apparatus and method for measuring distance between two stations connected by communication channel
JPH025654A (en) Signal synchronizing system
KR100304776B1 (en) Synchronization system and method, and recording medium
JP2001036538A (en) Time synchronization method and its system
JP2002094491A (en) Time-synchronizing system and transmitter

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040212

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040308

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080326

Year of fee payment: 4

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090326

Year of fee payment: 5

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090326

Year of fee payment: 5

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100326

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110326

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110326

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120326

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees