JP6227888B2 - Communication system, synchronization system, and communication method - Google Patents

Communication system, synchronization system, and communication method Download PDF

Info

Publication number
JP6227888B2
JP6227888B2 JP2013089722A JP2013089722A JP6227888B2 JP 6227888 B2 JP6227888 B2 JP 6227888B2 JP 2013089722 A JP2013089722 A JP 2013089722A JP 2013089722 A JP2013089722 A JP 2013089722A JP 6227888 B2 JP6227888 B2 JP 6227888B2
Authority
JP
Japan
Prior art keywords
time
communication data
communication
data transfer
transfer device
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.)
Active
Application number
JP2013089722A
Other languages
Japanese (ja)
Other versions
JP2014216669A (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 JP2013089722A priority Critical patent/JP6227888B2/en
Publication of JP2014216669A publication Critical patent/JP2014216669A/en
Application granted granted Critical
Publication of JP6227888B2 publication Critical patent/JP6227888B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、広域網を介してマスタとスレーブの間で内部クロックの同期を行う通信システム、同期システム、通信データ転送装置及び通信データ転送方法に関する。   The present invention relates to a communication system, a synchronization system, a communication data transfer device, and a communication data transfer method for synchronizing an internal clock between a master and a slave via a wide area network.

基準となるマスタとそれに従属させるスレーブとの間で通信されるパケットを用いて、スレーブの内部クロックを、マスタの内部クロックに同期するには、例えば公知のPrecision Time Protocol(PTP)を用いる方法がある。   In order to synchronize the slave's internal clock with the master's internal clock using a packet communicated between the master serving as a reference and a slave dependent on the master, there is a method using, for example, a known Precision Time Protocol (PTP). is there.

PTPにおいては、マスタとスレーブの内部にそれぞれカウンタを持つ。各装置の各カウンタの値を、各装置でタイムスタンプとして打刻し、タイムスタンプを含んだパケット(以下メッセージと呼ぶ)をマスタとスレーブの間でやりとりし、制御を行う。   In PTP, each master and slave has a counter. The value of each counter of each device is stamped as a time stamp in each device, and a packet including the time stamp (hereinafter referred to as a message) is exchanged between the master and the slave for control.

図7及び図8はマスタ70とスレーブ80の間のクロックの周波数および時刻の同期を行うための、公知のPTPの一般的なシーケンス図を表す。図7は周波数同期を、図8は時刻同期を行うためのシーケンスを示す(例えば、非特許文献1。)。   7 and 8 show a general sequence diagram of a known PTP for synchronizing the clock frequency and time between the master 70 and the slave 80. FIG. FIG. 7 shows a frequency synchronization, and FIG. 8 shows a sequence for time synchronization (for example, Non-Patent Document 1).

周波数同期においては図7に示すように、マスタ70からスレーブ80へとタイムスタンプtおよびtを通知する。スレーブ80ではtおよびtを受け取った際のスレーブ80におけるカウンタ値をそれぞれ、tおよびtとして保持する。そして、メッセージ送信間隔(t−t)とメッセージ受信間隔(t−t)が等しくなるように、スレーブ80の内部クロックの周波数を調整する。 In frequency synchronization, time stamps t 1 and t 3 are notified from the master 70 to the slave 80 as shown in FIG. The slave 80 holds the counter values in the slave 80 when receiving t 1 and t 3 as t 2 and t 4 , respectively. Then, the frequency of the internal clock of the slave 80 is adjusted so that the message transmission interval (t 3 -t 1 ) is equal to the message reception interval (t 4 -t 2 ).

時刻同期においては図8に示すように、マスタ70からスレーブ80へタイムスタンプTを通知する。スレーブ80においては、Tを受け取った際のスレーブ80におけるカウンタ値をTとして保持する。その後、スレーブ80はマスタ70へタイムスタンプTを送り、それをマスタ70が受け取った際の、マスタ70におけるカウンタ値をTとして送付するようリクエストする。 In time synchronization as shown in FIG. 8, and notifies the timestamp T 1 from the master 70 to the slave 80. In slave 80 retains the counter value of the slave 80 upon receiving the T 1 as T 2. Thereafter, slave 80 sends a time stamp T 3 to the master 70, when it master 70 has received, to request to send the counter values in the master 70 as T 4.

マスタ70においては、Tを受け取った際のマスタ70におけるカウンタ値をTとしてスレーブ80に通知する。スレーブ80は、T,T,T,Tからマスタ70−スレーブ80間の遅延をDelay[(T−T)+(T−T)]/2、初期のマスタ70とスレーブ80の初期の時刻のずれをOffset[(T−T)−(T−T)]/2として算出し、マスタ70とスレーブ80の時刻差を修正する。 In the master 70 notifies the slave 80 to the counter value in the master 70 upon receiving the T 3 as T 4. The slave 80 determines the delay between T 1 , T 2 , T 3 , T 4 and the master 70 to the slave 80 as Delay [(T 2 −T 1 ) + (T 4 −T 3 )] / 2, the initial master 70. The initial time difference between the slave 80 and the slave 80 is calculated as Offset [(T 2 −T 1 ) − (T 4 −T 3 )] / 2, and the time difference between the master 70 and the slave 80 is corrected.

PTPのタイムスタンプのやりとりにおいては、遅延は常に一定である仮定のもと調整するため、マスタ70とスレーブ80の間の伝送遅延に揺らぎが生じると、周波数同期および時刻同期の精度が劣化する懸念がある。   In the exchange of PTP time stamps, the delay is adjusted on the assumption that it is always constant. Therefore, if the transmission delay between the master 70 and the slave 80 fluctuates, the accuracy of frequency synchronization and time synchronization may deteriorate. There is.

また、時刻同期においては、マスタ70からスレーブ80への伝送遅延と、スレーブ80からマスタ70への伝送遅延の値が等しいと仮定し調整を行う。しかし、マスタ70からスレーブ80への伝送遅延と、スレーブ80からマスタ70への伝送遅延の値が異なる。すなわちネットワークの遅延が非対称な場合、時刻同期精度が劣化する懸念がある。   In the time synchronization, adjustment is performed on the assumption that the transmission delay from the master 70 to the slave 80 and the transmission delay from the slave 80 to the master 70 are equal. However, the transmission delay from the master 70 to the slave 80 and the transmission delay from the slave 80 to the master 70 are different. That is, when the network delay is asymmetric, the time synchronization accuracy may be degraded.

図9及び図10はマスタ70からスレーブ80への向きの伝送遅延がδ大きくなる場合のシーケンス図を示している。周波数同期の場合、図9に示しているように、tのカウンタ値をスレーブ80で受け取る時刻がt’となり本来のtからδだけずれる。このため、t−t’の値が本来のMessage受信間隔よりδ小さい値となり、スレーブ80の周波数が(t−t)/[(t−t)−δ]の割合だけマスタ70の周波数からずれてしまい、精確な周波数同期が行えない。 9 and 10 show sequence diagrams when the transmission delay in the direction from the master 70 to the slave 80 is increased by δ. In the case of frequency synchronization, as shown in FIG. 9, the time at which the counter value of t 1 is received by the slave 80 becomes t 2 ′, which is deviated from the original t 2 by δ. For this reason, the value of t 4 −t 2 ′ is smaller than the original Message reception interval by δ, and the frequency of the slave 80 is equal to (t 3 −t 1 ) / [(t 3 −t 1 ) −δ]. The frequency shifts from the frequency of the master 70, and accurate frequency synchronization cannot be performed.

また、時刻同期の場合、図10に示しているように、Tのカウンタ値をスレーブ80で受け取る時刻がT’となり、本来のTからδだけずれる。このため[(T−T)−(T−T)]/2の値が本来のオフセットからδ/2大きくなるため、時刻がδ/2だけずれてしまい、精確な時刻同期が行えない。 In the case of time synchronization, as shown in FIG. 10, the time when the slave 80 receives the T 2 counter value is T 2 ′, which is shifted from the original T 2 by δ. For this reason, since the value of [(T 2 −T 1 ) − (T 4 −T 3 )] / 2 becomes δ / 2 larger than the original offset, the time is shifted by δ / 2, and accurate time synchronization is achieved. I can't.

これらの同期精度の劣化を改善する方法として、PTPのバウンダリクロック或いはトランスペアレントクロックを用いる方法がある。バウンダリクロック或いはトランスペアレントクロックは、グランドマスタとスレーブの間に接続される通信装置として動作する。ここでグランドマスタは、クロックの同期を行うドメインの中で、最も基本となるクロックを有するマスタである。   As a method for improving the deterioration of the synchronization accuracy, there is a method using a PTP boundary clock or a transparent clock. The boundary clock or transparent clock operates as a communication device connected between the grand master and the slave. Here, the grand master is a master having a clock that is the most basic in a domain that performs clock synchronization.

バウンダリクロックは、グランドマスタとスレーブとの間でやりとりされるメッセージを終端し、上位のマスタに対しては従属同期し、下位のスレーブに対してはマスタとして動作する。ここで上位はグランドマスタ90からのホップ数が少ない方を表し、下位はグランドマスタ90からのホップ数が多い方を表す。   The boundary clock terminates messages exchanged between the grand master and the slave, and is slave-synchronized with an upper master and operates as a master with a lower slave. Here, the upper level represents the direction with the smaller number of hops from the grand master 90, and the lower level represents the direction with the larger number of hops from the grand master 90.

マスタとスレーブの間の全ての通信装置をバウンダリクロックとすることで、各伝送区間でメッセージを終端することができ、これにより伝送遅延の揺らぎの主な原因である、各通信装置内のメッセージの滞留時間の揺らぎを抑えることができる。また、伝送遅延が非対称になる主な原因である、各通信装置内のメッセージの滞留時間の非対称性も抑えることができる。   By using all the communication devices between the master and slave as a boundary clock, the message can be terminated in each transmission section, and this causes the message in each communication device to be the main cause of fluctuations in transmission delay. The fluctuation of the residence time can be suppressed. Further, the asymmetry of the message residence time in each communication device, which is the main cause of the transmission delay being asymmetric, can be suppressed.

トランスペアレントクロックは、マスタとスレーブの間でやりとりされる各メッセージ内に、自ら通信装置内の滞留時間を書き込む。マスタおよびスレーブはこの滞留時間をもとに、時刻に補正をかける。   The transparent clock writes the dwell time in the communication device itself in each message exchanged between the master and the slave. The master and slave correct the time based on this residence time.

トランスペアレントクロック内の滞留時間は、自ら通信装置10の入りと出においてタイムスタンプを打刻し、それらの差から算出する。なおここでは例として特にEnd−to−endのトランスペアレントクロックの場合について述べた。   The residence time in the transparent clock is calculated from the difference between the time stamps entered and exited by the communication device 10 itself. Here, as an example, the case of an end-to-end transparent clock has been described.

マスタとスレーブの間の全ての通信装置をトランスペアレントクロックとすることで、各通信装置内での滞留時間を補正でき、これによりバウンダリクロックと同様に、伝送遅延の揺らぎの主な原因である、各通信装置内のメッセージの滞留時間の揺らぎを抑えることができる。   By making all communication devices between the master and slaves transparent clocks, it is possible to correct the residence time in each communication device, which, like the boundary clock, is the main cause of fluctuations in transmission delay, Fluctuations in the message residence time in the communication device can be suppressed.

また、伝送遅延が非対称になる主な原因である各通信装置内のメッセージの滞留時間の非対称性も抑えることができる。これらの導入によりPTPを用いて、より正確な周波数および時刻同期を行うことができる。   It is also possible to suppress the asymmetry of the message residence time in each communication apparatus, which is the main cause of the transmission delay becoming asymmetric. With these introductions, more accurate frequency and time synchronization can be performed using PTP.

IEEE Instrumentation and Measurement Society, “IEEE Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems” , IEEE Std 1588−2008, 2008.IEEE Instrumentation and Measurement Society, “IEEE Standard for a Precise Clock Synchronization Protocol for Networked Measurement and Control E200.

ここで、グラウンドマスタ90およびスレーブ80を含んだ事業者Aの複数の網75の間を広域網で接続する図11に示すようなネットワークの運用を想定した場合、事業者Aのスレーブ80のクロックを、広域網を通じて、事業者Aの別の網75に属するグランドマスタ90のクロックに同期させることが求められる。   Here, assuming the operation of a network as shown in FIG. 11 in which a plurality of networks 75 of the operator A including the ground master 90 and the slave 80 are connected by a wide area network, the clock of the slave 80 of the operator A Is synchronized with the clock of the grand master 90 belonging to another network 75 of the operator A through the wide area network.

しかしながら、バウンダリクロックを用いる場合には、グランドマスタ90とスレーブ80の間の広域網に属する各通信装置は上位のマスタに対して同期させる必要がある。そのため、広域網を介してグランドマスタ90とスレーブ80の間で同期を行う図11のネットワークでは、広域網に属する各通信装置をバウンダリクロックとしてグランドマスタ90に同期させる必要がある。   However, when the boundary clock is used, each communication device belonging to the wide area network between the grand master 90 and the slave 80 needs to be synchronized with the upper master. Therefore, in the network of FIG. 11 that performs synchronization between the grand master 90 and the slave 80 via the wide area network, it is necessary to synchronize each communication device belonging to the wide area network with the grand master 90 as a boundary clock.

現状の広域網に属する各通信装置は、バウンダリクロックの機能を具備していないことが多く、装置を大量に交換する必要があり、高コストになるという問題があった。   Each communication device belonging to the current wide area network often does not have a boundary clock function, so that a large amount of devices need to be replaced, resulting in a high cost.

また、トランスペアレントクロックを用いる場合には、広域網に属する各通信装置はグランドマスタ90に対して同期していることは必須ではないが、滞留時間の算出の精度を高めるため、グランドマスタ90に対して同期することが推奨とされている。そのため、高精度の同期が必要な場合にバウンダリクロックと同様に高コストになるという問題があった。   When using a transparent clock, it is not essential that each communication device belonging to a wide area network is synchronized with the grand master 90. However, in order to improve the accuracy of calculation of the residence time, It is recommended to synchronize. For this reason, there is a problem that the cost becomes high as in the case of the boundary clock when high-precision synchronization is required.

一方、複数の事業者が広域網を共用しながら、それぞれが独自に基準クロックを運用する図12のようなネットワークの運用を想定した場合、各事業者が持つスレーブ80のクロックを、各事業者の持つグランドマスタ90のクロックへ同期させることが求められる。ここでクロックドメインとは、共通のクロックに同期した論理的な通信装置10のグループを指す。   On the other hand, when assuming the operation of a network as shown in FIG. 12 in which a plurality of carriers share a wide area network and each independently operates a reference clock, the clock of the slave 80 possessed by each carrier is assigned to each carrier. It is required to synchronize with the clock of the grand master 90 of the. Here, the clock domain refers to a group of logical communication devices 10 synchronized with a common clock.

しかしながらバウンダリクロック或いは高精度なトランスペアレントクロックを用いる場合には、広域網に属する各通信装置10のクロックをそれぞれのクロックドメインに応じたグランドマスタ90に同期させる必要があり、広域網に属する各通信装置10のクロックがどのグランドマスタ90に同期しているかを常に把握しなければならず、クロックの管理が煩雑になるという課題もあった。   However, when a boundary clock or a high-accuracy transparent clock is used, it is necessary to synchronize the clock of each communication device 10 belonging to the wide area network with the grand master 90 corresponding to each clock domain. There is also a problem that clock management becomes complicated because it is necessary to always know which grandmaster 90 the ten clocks are synchronized with.

前記課題を解決するために、本発明は、マスタ−スレーブ間の伝送遅延の遅延ゆらぎおよび非対称性によるクロックの同期精度の劣化を小さくすることで、高精度なクロック伝送を低コストに実現することを目的とする。   In order to solve the above problems, the present invention realizes high-accuracy clock transmission at low cost by reducing deterioration in clock synchronization accuracy due to delay fluctuation and asymmetry of transmission delay between master and slave. With the goal.

本発明は、網を介して対向して接続される通信装置の間で、双方向で伝送されるパケットについて、送出時刻を取得する手段と、滞留すべき時間を算出する手段と、前記パケットを滞留する手段とを、有することを特徴とする通信方式を用いて、マスタ−スレーブ間の双方向の伝送遅延を等しくかつ一定とする。   The present invention provides a means for obtaining a sending time, a means for calculating a time to stay for a packet transmitted bi-directionally between communication devices connected oppositely via a network, and the packet. By using a communication system characterized by having a staying means, the bidirectional transmission delay between the master and the slave is made equal and constant.

具体的には、本発明の通信システムは、
通信装置間に接続される複数の通信データ転送装置を備える通信システムであって、
前記複数の通信データ転送装置のうちの前記通信データの送信元の前記通信装置側に接続されている第一の通信データ転送装置は、
前記通信装置から通信データを受信すると、当該通信データの受信時刻を当該通信データに挿入する時刻情報挿入部を備え、
前記複数の通信データ転送装置のうちの前記第一の通信データ転送装置から前記通信データを受信する第二の通信データ転送装置は、
前記時刻情報挿入部が通信データに挿入した前記第一の通信データ転送装置の受信時刻を用いて前記通信データの滞留時間を算出する滞留時間算出部と、
前記滞留時間算出部が算出した滞留時間にわたり前記通信データを滞留させる通信データ滞留部とを備える。
Specifically, the communication system of the present invention includes:
A communication system comprising a plurality of communication data transfer devices connected between communication devices,
The first communication data transfer device connected to the communication device that is the transmission source of the communication data among the plurality of communication data transfer devices,
When receiving communication data from the communication device, a time information insertion unit that inserts the reception time of the communication data into the communication data,
A second communication data transfer device that receives the communication data from the first communication data transfer device of the plurality of communication data transfer devices,
A dwell time calculation unit that calculates a dwell time of the communication data using the reception time of the first communication data transfer device inserted into the communication data by the time information insertion unit;
A communication data retention unit that retains the communication data over the residence time calculated by the residence time calculation unit.

本発明の通信システムでは、
前記第二の通信データ転送装置は、
通信データを受信すると、当該通信データに挿入されている前記第一の通信データ転送装置の受信時刻を読み出す時刻情報読取部をさらに備え、
前記滞留時間算出部は、前記時刻情報読取部の読み出した受信時刻と前記第二の通信データ転送装置が前記通信データを受信した受信時刻とを差分した第一の時間を算出し、予め記憶している一定時間と前記第一の時間とを差分した第二の時間を算出することによって、前記通信データの滞留時間を算出してもよい。
In the communication system of the present invention,
The second communication data transfer device is
When receiving communication data, further comprising a time information reading unit for reading the reception time of the first communication data transfer device inserted in the communication data,
The dwell time calculation unit calculates a first time obtained by subtracting a reception time read by the time information reading unit from a reception time when the second communication data transfer device receives the communication data, and stores the first time in advance. The dwell time of the communication data may be calculated by calculating a second time obtained by subtracting the certain time and the first time.

本発明の通信システムでは、
前記第一の通信データ転送装置及び前記第二の通信データ転送装置は、
当該通信データ転送装置の時刻同期部と、他の通信データ転送装置の時刻同期部との間で時刻同期を行い、時刻供給部へと時刻同期した時刻を供給する時刻同期部をさらに備え、
前記第一の通信データ転送装置の前記時刻情報挿入部は、前記時刻同期部の時刻同期した前記時刻情報供給部から供給された時刻を用いて前記通信データの受信時刻を挿入し、
前記第二の通信データ転送装置の滞留時間算出部は、前記時刻同期部の時刻同期した前記時刻情報供給部から供給された時刻を用いて前記第二の通信データ転送装置が受信した前記通信データの受信時刻を取得してもよい。
In the communication system of the present invention,
The first communication data transfer device and the second communication data transfer device are:
A time synchronization unit that performs time synchronization between the time synchronization unit of the communication data transfer device and the time synchronization unit of another communication data transfer device, and further includes a time synchronization unit that supplies the time synchronization time to the time supply unit,
The time information insertion unit of the first communication data transfer device inserts the reception time of the communication data using the time supplied from the time information supply unit synchronized with the time of the time synchronization unit,
The dwell time calculation unit of the second communication data transfer device receives the communication data received by the second communication data transfer device using the time supplied from the time information supply unit synchronized with the time of the time synchronization unit. May be obtained.

本発明の同期システムは、
通信データを、第一の通信データ転送装置へ送信する送信側通信装置と、
第二の通信データ転送装置の転送した通信データを受信して前記送信側通信装置と時刻又は周波数を同期させる受信側通信装置とを備える。
The synchronization system of the present invention includes:
A communication device that transmits communication data to the first communication data transfer device; and
A communication apparatus that receives the communication data transferred by the second communication data transfer apparatus and that synchronizes time or frequency with the transmission communication apparatus;

本発明の通信方法は、
通信装置間に接続される複数の通信データ転送装置を用いた通信方法であって、
前記複数の通信データ転送装置のうちの前記通信データの送信元の前記通信装置側に接続されている第一の通信データ転送装置が、前記通信装置からの通信データを受信すると、当該通信データの受信時刻を当該通信データに挿入する時刻情報挿入手順と、
前記複数の通信データ転送装置のうちの前記第一の通信データ転送装置から前記通信データを受信する第二の通信データ転送装置が、前記時刻情報挿入部が通信データに挿入した前記第一の通信データ転送装置の受信時刻を用いて前記通信データの滞留時間を算出する滞留時間算出手順と、
前記第二の通信データ転送装置が、前記滞留時間算出手順で算出した滞留時間にわたり前記通信データを滞留させる通信データ滞留手順とを順に有する。
The communication method of the present invention includes:
A communication method using a plurality of communication data transfer devices connected between communication devices,
When the first communication data transfer device connected to the communication device that is the transmission source of the communication data among the plurality of communication data transfer devices receives the communication data from the communication device, the communication data Time information insertion procedure for inserting the reception time into the communication data;
The second communication data transfer device that receives the communication data from the first communication data transfer device among the plurality of communication data transfer devices, wherein the time information insertion unit inserts the first communication into the communication data. A residence time calculation procedure for calculating the residence time of the communication data using the reception time of the data transfer device;
The second communication data transfer apparatus sequentially has a communication data retention procedure for retaining the communication data for the retention time calculated by the retention time calculation procedure.

本発明の通信方法では、
前記滞留時間算出手順において、通信データを受信すると、当該通信データに挿入されている前記第一の通信データ転送装置の受信時刻を読み出し、
読み出した前記第一の通信データ転送装置の受信時刻と前記第二の通信データ転送装置が前記通信データを受信した受信時刻とを差分した第一の時間を算出し、予め記憶している一定時間と前記第一の時間とを差分した第二の時間を算出することによって、前記通信データの滞留時間を算出してもよい。
In the communication method of the present invention,
In the dwell time calculation procedure, when communication data is received, the reception time of the first communication data transfer device inserted in the communication data is read,
The first time obtained by subtracting the read reception time of the first communication data transfer device from the reception time when the second communication data transfer device received the communication data is calculated and stored in advance. By calculating a second time obtained by subtracting the first time from the first time, the dwell time of the communication data may be calculated.

本発明の通信方法では、
前記第一の通信データ転送装置及び前記第二の通信データ転送装置が、他の通信データ転送装置の時刻同期部との間で時刻同期を行う時刻同期手順を、前記時刻情報挿入手順の前にさらに有し、
前記時刻情報挿入手順において、前記第一の通信データ転送装置は、前記時刻同期手順で時刻同期した時刻を用いて前記通信データの受信時刻を挿入し、
前記滞留時間算出手順において、前記第二の通信データ転送装置は、前記時刻同期手順で時刻同期した時刻を用いて前記第二の通信データ転送装置が受信した前記通信データの受信時刻を取得してもよい。
In the communication method of the present invention,
A time synchronization procedure in which the first communication data transfer device and the second communication data transfer device perform time synchronization with a time synchronization unit of another communication data transfer device is performed before the time information insertion procedure. In addition,
In the time information insertion procedure, the first communication data transfer device inserts the reception time of the communication data using the time synchronized in the time synchronization procedure,
In the dwell time calculation procedure, the second communication data transfer device acquires the reception time of the communication data received by the second communication data transfer device using the time synchronized in the time synchronization procedure. Also good.

なお、上記各発明は、可能な限り組み合わせることができる。   The above inventions can be combined as much as possible.

本発明は、マスタ及びスレーブの通信装置間の双方向の伝送遅延が等しくなるためマスタ−スレーブ間の伝送遅延の遅延ゆらぎおよび非対称性によるクロックの同期精度の劣化を小さくなり、高精度なクロック伝送を実現することができる。   Since the bidirectional transmission delay between the master and slave communication devices is equalized, the present invention reduces deterioration in clock synchronization accuracy due to delay fluctuation and asymmetry of the transmission delay between the master and slave, and highly accurate clock transmission. Can be realized.

本実施形態1に係る通信システムの一例を示す構成図である。1 is a configuration diagram illustrating an example of a communication system according to a first embodiment. 本実施形態1に係る通信アダプタ11Aの一例を示すブロック図である。It is a block diagram which shows an example of communication adapter 11A which concerns on this Embodiment 1. FIG. 本実施形態1に係る通信アダプタ11Bの一例を示すブロック図である。It is a block diagram which shows an example of the communication adapter 11B which concerns on this Embodiment 1. FIG. 本実施形態1に係る通信システムに対応する通信方式の一例を示すシーケンス図である。It is a sequence diagram which shows an example of the communication system corresponding to the communication system which concerns on this Embodiment 1. FIG. 本実施形態2に係る通信システムの一例を示す構成図である。It is a block diagram which shows an example of the communication system which concerns on this Embodiment 2. 本実施形態2に係る通信アダプタ11C1の一例を示す構成図である。It is a block diagram which shows an example of communication adapter 11C1 which concerns on this Embodiment 2. FIG. 関連技術に係るクロックの周波数同期の一例を示すシーケンス図である。It is a sequence diagram which shows an example of the frequency synchronization of the clock which concerns on related technology. 関連技術に係るクロックの時刻同期の一例を示すシーケンス図である。It is a sequence diagram which shows an example of the time synchronization of the clock which concerns on related technology. 関連技術に係る周波数同期における伝送遅延が変動した場合のシーケンス図である。It is a sequence diagram when the transmission delay in the frequency synchronization which concerns on related technology fluctuates. 関連技術に係る時刻同期における伝送遅延が変動した場合のシーケンス図である。It is a sequence diagram when the transmission delay in the time synchronization which concerns on related technology fluctuates. 関連技術に係る広域網を介してグランドマスタとスレーブ間で周波数同期を行うネットワークの一例を示す概要図である。It is a schematic diagram which shows an example of the network which performs frequency synchronization between a grand master and a slave via the wide area network which concerns on related technology. 関連技術に係る複数の事業者が共用する広域網を介してグランドマスタとスレーブ間で時刻同期を行うネットワークの一例を示す概要図である。It is an outline figure showing an example of a network which performs time synchronization between a grand master and a slave via a wide area network shared by a plurality of companies concerning related technology.

添付の図面を参照して本発明の実施形態を説明する。以下に説明する実施形態は本発明の実施の例であり、本発明は、以下の実施形態に制限されるものではない。なお、本明細書及び図面において符号が同じ構成要素は、相互に同一のものを示すものとする。   Embodiments of the present invention will be described with reference to the accompanying drawings. The embodiments described below are examples of the present invention, and the present invention is not limited to the following embodiments. In the present specification and drawings, the same reference numerals denote the same components.

本実施形態に係る通信システム及び同期システムは、通信装置である送信側通信装置と、通信データ転送装置と、通信装置である受信側通信装置を備え、送信側通信装置と受信側通信装置間で通信データを送受信して時刻又は周波数を同期させる通信システム及び同期システムである。通信装置は、例えば送出時刻を挿入した通信データを送信する送信側通信装置として機能するマスタ70又は通信データ転送装置が転送した通信データを受信して送信側通信装置と時刻又は周波数を同期させる受信側通信装置として機能するスレーブ80である。マスタ70は、グランドマスタ90であってもよい。   The communication system and the synchronization system according to the present embodiment include a transmission-side communication device that is a communication device, a communication data transfer device, and a reception-side communication device that is a communication device, and between the transmission-side communication device and the reception-side communication device. A communication system and a synchronization system that transmit and receive communication data to synchronize time or frequency. The communication device receives, for example, the communication data transferred by the master 70 or the communication data transfer device that functions as the transmission-side communication device that transmits the communication data with the transmission time inserted, and synchronizes the time or frequency with the transmission-side communication device This is a slave 80 that functions as a side communication device. The master 70 may be a grand master 90.

本実施形態に係る通信装置の通信方法は、通信装置間に接続されかつ前記通信装置からの送出時刻が挿入された通信データを転送する複数の通信データ転送装置を用いた通信方法であって、時刻情報挿入手順と、滞留時間算出手順と、通信データ滞留手順と、を順に有する。   The communication method of the communication apparatus according to the present embodiment is a communication method using a plurality of communication data transfer apparatuses that transfer communication data that is connected between communication apparatuses and into which a transmission time from the communication apparatus is inserted. A time information insertion procedure, a residence time calculation procedure, and a communication data residence procedure are sequentially provided.

時刻情報挿入手順では、複数の通信データ転送装置のうちの通信データの送信元の通信装置側に接続されている第一の通信データ転送装置が、通信装置からの通信データを受信すると、当該通信データの受信時刻を当該通信データに挿入する。滞留時間算出手順では、複数の通信データ転送装置のうちの第一の通信データ転送装置から通信データを受信する第二の通信データ転送装置が、時刻情報挿入部が通信データに挿入した第一の通信データ転送装置の受信時刻を用いて通信データの滞留時間を算出する。通信データ滞留手順では、滞留時間算出手順で算出した滞留時間にわたり通信データを滞留させる。また、通信データは、パケットとして通信装置間で送受信されてもよい。   In the time information insertion procedure, when a first communication data transfer device connected to a communication device that is a transmission source of communication data among a plurality of communication data transfer devices receives communication data from the communication device, the communication data The data reception time is inserted into the communication data. In the dwell time calculation procedure, the second communication data transfer device that receives the communication data from the first communication data transfer device among the plurality of communication data transfer devices has the first time information insertion unit inserted into the communication data. The dwell time of communication data is calculated using the reception time of the communication data transfer device. In the communication data retention procedure, communication data is retained for the retention time calculated in the retention time calculation procedure. Communication data may be transmitted and received between communication devices as packets.

(実施形態1)
図1は本実施形態にかかる通信システムの一例である。本実施形態に係る通信システムは、図1に示すように対向する通信装置10a及び通信装置10bの間に対向する通信アダプタ11Aおよび通信アダプタ11B、そしてその間に網75を有する構成である。網75は、ここでは、図1において通信装置10aの間の通信データであるパケットの伝送は、左側に位置する通信装置10aから右側に位置する通信装置10bへの伝送方向に限定されている例を想定する。通信装置10aはマスタ70として機能し、通信装置10bはスレーブ80として機能する。通信アダプタ11Bは、本実施形態に係る通信データ転送装置として機能する。
(Embodiment 1)
FIG. 1 is an example of a communication system according to the present embodiment. As shown in FIG. 1, the communication system according to the present embodiment is configured to have communication adapters 11A and 11B facing each other between the communication devices 10a and 10b facing each other, and a network 75 therebetween. Here, the network 75 is an example in which the transmission of packets that are communication data between the communication devices 10a in FIG. 1 is limited to the transmission direction from the communication device 10a located on the left side to the communication device 10b located on the right side. Is assumed. The communication device 10a functions as the master 70, and the communication device 10b functions as the slave 80. The communication adapter 11B functions as a communication data transfer device according to the present embodiment.

通信アダプタ11Aは、通信装置10aから送出される通信データであるパケットの送出時刻を取得する機能を有する。また、通信アダプタ11Bは前記送出時刻と一定時間とからパケットの滞留すべき時間を算出する機能と、算出された前記滞留すべき時間にわたり当該パケットを滞留する機能とを有する。具体的な通信アダプタ11Aおよび通信アダプタ11Bの構成例を図2および図3にそれぞれ示す。一定時間は、通信装置10a及び通信装置10b間の伝送遅延時間によって定められる。   The communication adapter 11A has a function of acquiring a transmission time of a packet that is communication data transmitted from the communication device 10a. Further, the communication adapter 11B has a function of calculating a time for which a packet should stay from the transmission time and a predetermined time, and a function for retaining the packet over the calculated time to stay. Specific configuration examples of the communication adapter 11A and the communication adapter 11B are shown in FIGS. 2 and 3, respectively. The fixed time is determined by the transmission delay time between the communication device 10a and the communication device 10b.

図2において、通信アダプタ11Aは、通信装置10aへのインターフェース、網75へのインターフェース、時刻同期インターフェース、受信器(以下Rx20)、送信器(以下Tx24)、時刻情報供給部23、時刻情報挿入部21、時刻同期部22からなり、パケットの送出時間取得は、時刻情報供給部23、時刻情報挿入部21、時刻同期部22からなる送出時間取得部25で行われる。   In FIG. 2, the communication adapter 11A includes an interface to the communication device 10a, an interface to the network 75, a time synchronization interface, a receiver (hereinafter Rx20), a transmitter (hereinafter Tx24), a time information supply unit 23, and a time information insertion unit. 21 and a time synchronization unit 22, and packet transmission time acquisition is performed by a transmission time acquisition unit 25 including a time information supply unit 23, a time information insertion unit 21, and a time synchronization unit 22.

通信アダプタ11Aでは、通信装置10aへのインターフェースを通じて入力されたパケット(以下パケットAとする)を、Rx20にて受信する。このときRx20は、時刻情報供給部23に対してパケットAが受信されたことを伝えるトリガを出力する。時刻情報供給部23ではこのトリガをもとに、時刻情報挿入部21にパケットAの受信された時刻を時刻情報として供給する。   In the communication adapter 11A, a packet (hereinafter referred to as packet A) input through the interface to the communication device 10a is received by Rx20. At this time, the Rx 20 outputs a trigger notifying the time information supply unit 23 that the packet A has been received. Based on this trigger, the time information supply unit 23 supplies the time when the packet A is received to the time information insertion unit 21 as time information.

時刻情報挿入部21では、時刻情報供給部23より得られた時刻情報をパケットAに挿入する。その後、時刻情報が挿入されたパケットAをTx24と網75内へのインターフェースを通じて網75へと伝送する。ここで、時刻情報とは例えばタイムスタンプの形態が考えられる。   The time information insertion unit 21 inserts the time information obtained from the time information supply unit 23 into the packet A. Thereafter, the packet A in which the time information is inserted is transmitted to the network 75 through the interface to Tx 24 and the network 75. Here, the time information may be in the form of a time stamp, for example.

また、図3において、通信データ転送装置として機能する通信アダプタ11Bは、網75へのインターフェース、通信装置10bへのインターフェース、時刻同期インターフェース、送信器(以下Tx37)、受信器(以下Rx30)、通信データ滞留部として機能するパケット滞留部36、時刻情報読取部31、遅延量通知部34、滞留時間計算部35、時刻情報供給部33、時刻同期部32からなる。通信データであるパケットの滞留時間の算出は、時刻情報読取部31、遅延量通知部34、滞留時間計算部35、時刻情報供給部33、時刻同期部32からなる滞留時間算出部38によって行われる。   In FIG. 3, the communication adapter 11B functioning as a communication data transfer device includes an interface to the network 75, an interface to the communication device 10b, a time synchronization interface, a transmitter (hereinafter referred to as Tx37), a receiver (hereinafter referred to as Rx30), a communication. It comprises a packet retention unit 36 that functions as a data retention unit, a time information reading unit 31, a delay amount notification unit 34, a residence time calculation unit 35, a time information supply unit 33, and a time synchronization unit 32. The residence time of a packet as communication data is calculated by a residence time calculation unit 38 including a time information reading unit 31, a delay amount notification unit 34, a residence time calculation unit 35, a time information supply unit 33, and a time synchronization unit 32. .

通信アダプタ11Bでは、網75へのインターフェースを通じて入力されたパケット(以下パケットBとする)を、Rx30にて受信する。その後、時刻情報読取部31において、他の通信アダプタ11よりパケットBに挿入された時刻情報を読み出す。読み出した時刻情報aを滞留時間計算部35へと送ると同時に、時刻情報が読み出されたことを伝えるトリガを時刻情報供給部33へと伝える。   In the communication adapter 11B, a packet (hereinafter referred to as packet B) input through the interface to the network 75 is received by Rx30. Thereafter, the time information reading unit 31 reads the time information inserted into the packet B from the other communication adapter 11. The read time information a is sent to the dwell time calculation unit 35, and at the same time, a trigger for notifying that the time information has been read is sent to the time information supply unit 33.

時刻情報供給部33ではこのトリガをもとに、滞留時間計算部35へ時刻情報が読み出された時刻を時刻情報bとして供給する。また、遅延量通知部34は、通信装置10a及び通信装置10b間で望まれる遅延量cを、滞留時間算出部38へ送る。滞留時間算出部38では、得られた時刻情報a,bおよび遅延量cより通信装置10b内でパケットを滞留すべき時間dを算出し、パケット滞留部36へと伝える。パケット滞留部36ではパケットBを時間dだけ滞留させ、その後Tx37へと送付する。Tx37はパケットを通信装置10bへのインターフェースを通じて伝送する。   Based on this trigger, the time information supply unit 33 supplies the time when the time information is read to the residence time calculation unit 35 as time information b. In addition, the delay amount notification unit 34 sends a delay amount c desired between the communication device 10 a and the communication device 10 b to the residence time calculation unit 38. The residence time calculation unit 38 calculates a time d during which the packet should stay in the communication device 10 b from the obtained time information a and b and the delay amount c, and transmits the time d to the packet retention unit 36. The packet retention unit 36 retains the packet B for a time d and then sends it to the Tx 37. Tx37 transmits the packet through the interface to the communication device 10b.

ここで2つの通信装置10a及び通信装置10bの間の遅延時間は特に遅延を制御しなければ(b−a)である。ただし、ここでは通信装置10aと通信アダプタ11A及び通信装置10bと通信アダプタ11Bの間の遅延時間は、(b−a)と比べて無視できるほど小さいものとした。ここで、2つの通信装置10a及び通信装置10bの間の遅延時間で定められる一定時間をcとする。2つの通信装置10a及び通信装置10bの間の遅延時間を一定とするためには、通信装置10b内で残りの(c−(b−a))の時間、通信装置10b内でパケットを滞留させる必要がある。式で記せば以下の様になる。
(数1)
d=c−(b−a)
Here, the delay time between the two communication devices 10a and 10b is (b−a) unless the delay is particularly controlled. However, here, the delay time between the communication device 10a and the communication adapter 11A and between the communication device 10b and the communication adapter 11B is assumed to be negligibly small compared to (b-a). Here, let c be a fixed time determined by the delay time between the two communication devices 10a and 10b. In order to make the delay time between the two communication devices 10a and 10b constant, the packet is retained in the communication device 10b for the remaining (c- (ba)) time in the communication device 10b. There is a need. If it writes with a formula, it will become as follows.
(Equation 1)
d = c- (ba)

ここではc≧(b−a)に設定することが望ましい。c<(b−a)、すなわち所望の遅延量より、特に制御しない場合の遅延時間が長い場合には、パケットの滞留による遅延量の制御が正確に行えず、遅延時間の所定値からのずれが大きくなる。   Here, it is desirable to set c ≧ (b−a). When c <(b−a), that is, when the delay time is longer than the desired delay amount when the control is not performed, the delay amount due to packet retention cannot be accurately controlled, and the delay time deviates from a predetermined value. Becomes larger.

遅延量cは予め通信アダプタ11Bのメモリに格納しておき、動作中固定で動作させることもできる。また、網75へのインターフェース、他の通信装置へのインターフェース、時刻同期インターフェース等を通じて他の通信装置との間での相互のやりとりにより、決定することもできる。例えば、やりとりの中で最大の遅延時間がcになるようにcを更新する。或いは遅延量制御のための独立な通信アダプタ11外部へのインターフェースを具備し、他の通信アダプタ11との間での相互のやりとりにより決定することもできる。   The delay amount c can be stored in advance in the memory of the communication adapter 11B and can be operated in a fixed state during operation. Further, it can be determined by mutual exchange with other communication devices through an interface to the network 75, an interface to other communication devices, a time synchronization interface, or the like. For example, c is updated so that the maximum delay time in the exchange becomes c. Alternatively, it is possible to provide an interface to the outside of the independent communication adapter 11 for delay amount control, and to determine the mutual communication with other communication adapters 11.

ここでは通信アダプタ11A及び通信アダプタ11B間の遅延、パケットの滞留時間と比べて通信アダプタ11Aと通信装置10a、通信装置10bと通信アダプタ11Bの間の遅延時間は小さく無視できる場合について述べた。しかしながら、通信アダプタ11Aと通信装置10a、通信装置10bと通信アダプタ11Bの間の遅延が大きい場合には、予め遅延時間を測定しておき、その遅延時間分パケットの滞留時間を短くして、パケットを送信先とする他の通信装置へ出力することができる。   Here, the case where the delay time between the communication adapter 11A and the communication device 10a and the delay time between the communication device 10b and the communication adapter 11B are small compared with the delay between the communication adapter 11A and the communication adapter 11B and the packet residence time has been described. However, when the delay between the communication adapter 11A and the communication device 10a, and between the communication device 10b and the communication adapter 11B is large, the delay time is measured in advance, the packet retention time is shortened by the delay time, and the packet Can be output to other communication devices having the transmission destination as the transmission destination.

また、時刻同期部22及び時刻同期部32は時刻同期インターフェースを通じて対向する通信装置10a及び通信装置10bとの間で時刻同期したクロックを生成し、時刻情報供給部23及び時刻情報供給部33へと出力する。時刻同期は対向する通信装置10a又は通信装置10bの一方をマスタ70に、一方をスレーブ80としてPTPなどのプロトコルを用いて、パケットの通信によって行ってもよい。また、Global Positioning System(GPS)などの共通のクロック源に対して対向する通信装置10a又は通信装置10bのそれぞれが受信することで行ってもよい。   In addition, the time synchronization unit 22 and the time synchronization unit 32 generate a clock that is time-synchronized with the communication device 10a and the communication device 10b that are opposed to each other through the time synchronization interface, and send the clock to the time information supply unit 23 and the time information supply unit 33. Output. Time synchronization may be performed by packet communication using a protocol such as PTP with one of the opposing communication devices 10a or 10b as the master 70 and one as the slave 80. Moreover, you may perform by each of the communication apparatus 10a or the communication apparatus 10b which opposes with respect to common clock sources, such as Global Positioning System (GPS).

時刻同期部22及び時刻同期部32は基準周波数信号(例えば10MHzクロック)と基準時刻信号(例えば1 Parts Per Second(PPS))を時刻情報供給部23及び時刻情報供給部33へと送ることで、時刻情報供給部23及び時刻情報供給部33の出力する時刻情報の精確性を高める。   The time synchronizer 22 and the time synchronizer 32 send a reference frequency signal (for example, 10 MHz clock) and a reference time signal (for example, 1 Parts Per Second (PPS)) to the time information supply unit 23 and the time information supply unit 33, The accuracy of the time information output from the time information supply unit 23 and the time information supply unit 33 is improved.

ここでは時刻同期を行う場合を例として説明を行った。遅延量の制御の精確性を高めるために時刻同期を行うことが好ましい。   Here, the case of performing time synchronization has been described as an example. Time synchronization is preferably performed in order to improve the accuracy of control of the delay amount.

また、ここでは通信装置10と通信アダプタ11とが別々の装置の場合を例として述べたが、通信装置10aに通信アダプタ11Aの機能を具備して運用してもよいし、また通信装置10bに通信アダプタ11Bの機能を具備して運用してもよい。   Although the case where the communication device 10 and the communication adapter 11 are separate devices has been described here as an example, the communication device 10a may be operated with the function of the communication adapter 11A, or the communication device 10b may be operated. The function of the communication adapter 11B may be provided and operated.

図4は図1の通信システムに対応する通信方法の一例を示すシーケンス図である。通信アダプタ11Aでは、通信装置10aより伝送されたパケットの通信アダプタ11Aでの受信時刻を取得し(S100)、得られた時刻を時刻情報としてアダプタBへ送出する(S110)。   FIG. 4 is a sequence diagram showing an example of a communication method corresponding to the communication system of FIG. The communication adapter 11A acquires the reception time at the communication adapter 11A of the packet transmitted from the communication device 10a (S100), and sends the obtained time to the adapter B as time information (S110).

通信アダプタ11Bでは、得られた時刻情報と、通信装置10a及び通信装置10b間の所定の遅延時間からパケットの滞留すべき時間dを算出し(S120)、この時間dだけパケットを滞留させたのち、パケットを送信先とする他の通信装置10bへと出力する(S130)。通信装置10bは図8及び図10で説明した遅延時間にわたり通信データを滞留することにより、通信装置10aとの通信データの時刻同期を行うことができる。なお、本実施形態では時刻同期について説明したが図7及び図9で説明した方法と同様の方法を用いて周波数同期を行うことができる。   The communication adapter 11B calculates a time d for which the packet should stay from the obtained time information and a predetermined delay time between the communication device 10a and the communication device 10b (S120), and after retaining the packet for this time d The packet is output to another communication device 10b having the transmission destination (S130). The communication device 10b can perform time synchronization of communication data with the communication device 10a by retaining the communication data over the delay time described with reference to FIGS. Note that although time synchronization has been described in this embodiment, frequency synchronization can be performed using a method similar to the method described with reference to FIGS.

本実施形態に係る発明によれば、グランドマスタ90とスレーブ80として機能する少なくとも2つの通信装置の間に広域網といったグランドマスタ90とは非同期な網75が接続されている場合においても、グランドマスタ90とスレーブ80の間で双方向にやりとりされるパケットの伝送遅延を等しくかつ一定とする。また、双方向での遅延時間が等しくなるため、伝送遅延を対称とすることが可能である。したがって、広域網に属する通信装置をバウンダリクロックやトランスペアレントクロックに対応した装置に変える必要がなくなり、コスト増大を防ぐことができる。   According to the invention according to the present embodiment, even when a network 75 asynchronous with the grand master 90 such as a wide area network is connected between the grand master 90 and at least two communication devices functioning as the slave 80, the grand master The transmission delays of packets exchanged bidirectionally between 90 and the slave 80 are made equal and constant. Also, since the delay times in both directions are equal, it is possible to make the transmission delay symmetrical. Therefore, it is not necessary to change the communication device belonging to the wide area network to a device corresponding to a boundary clock or a transparent clock, and an increase in cost can be prevented.

また、複数の事業者が広域網を共用しながら、それぞれが独自に基準クロックを運用する場合においても、広域網の各通信装置のクロックを、それぞれの事業者のグランドマスタのクロックに同期させる必要がなくなり、広域網に属する各通信装置のクロックの管理が煩雑になるという課題を克服することができる。   In addition, even when multiple operators share a wide area network and each operate their own reference clock, it is necessary to synchronize the clock of each communication device in the wide area network with the clock of the grand master of each company. Therefore, the problem that the clock management of each communication device belonging to the wide area network becomes complicated can be overcome.

(実施形態2)
図5は通信システムの実施形態2である。図5と図1との違いは伝送の方向を双方向とするか、一方向とするかである。双方向とする場合には、通信アダプタ11C1及びC2において、通信装置10a又は通信装置10bから送出されるパケットの送出時刻を取得する手段と、送出時刻と定められた通信装置10a及び通信装置10b間の伝送遅延時間からパケットの滞留すべき時間を算出する手段と、算出された前記滞留すべき時間にわたり当該パケットを滞留する手段とを有する。
(Embodiment 2)
FIG. 5 shows a second embodiment of the communication system. The difference between FIG. 5 and FIG. 1 is whether the direction of transmission is bidirectional or unidirectional. In the case of bi-directional communication, the communication adapters 11C1 and C2 obtain a transmission time of a packet transmitted from the communication device 10a or the communication device 10b, and between the communication device 10a and the communication device 10b determined as the transmission time. Means for calculating the time for which the packet should stay from the transmission delay time, and means for retaining the packet for the calculated time to stay.

具体的な通信アダプタ11C1の構成を図6に示す。図2及び図3と異なり、一つの通信アダプタ11に通信アダプタ11Aおよび通信アダプタ11Bの機能が含まれている。   A specific configuration of the communication adapter 11C1 is shown in FIG. Unlike FIGS. 2 and 3, the functions of the communication adapter 11 </ b> A and the communication adapter 11 </ b> B are included in one communication adapter 11.

上述の実施形態では、それぞれの通信アダプタ11に対して、通信装置10a又は通信装置10bおよび網75が一つずつ接続される場合の実施形態を述べてきたが、必ずしも一つである必要はない。   In the above-described embodiment, the embodiment in which the communication device 10a or the communication device 10b and the network 75 are connected to each communication adapter 11 has been described. .

また、ここでは通信アダプタ11が一対で運用される場合の実施形態を述べてきたが、一対である必要はなく、例えば一つの通信アダプタ11と、複数の通信アダプタ11が通信することも考えられる。   In addition, although the embodiment in which the communication adapter 11 is operated in a pair has been described here, the communication adapter 11 does not have to be a pair. For example, one communication adapter 11 and a plurality of communication adapters 11 may communicate. .

これらの場合はどの通信装置から伝送されたパケットかを判別して処理を行えばよい。判別は例えばパケットに付与されている送信元、送信先のIPアドレスによって行うことができる。   In these cases, the processing may be performed by determining from which communication device the packet is transmitted. The determination can be made, for example, based on the source and destination IP addresses assigned to the packet.

なお、前述の実施形態では、通信データに通信装置10aからの送出時刻が含まれている時刻同期システムについて説明したが、本発明はこれに限らず一般的な通信データを送受信する通信システムに適用することができる。   In the above-described embodiment, the time synchronization system in which the transmission time from the communication device 10a is included in the communication data has been described. However, the present invention is not limited to this and is applied to a communication system that transmits and receives general communication data. can do.

本発明は情報通信産業に適用することができる。   The present invention can be applied to the information communication industry.

10、10a、10b:通信装置
11、11A、11B、11C1:通信アダプタ
20、30、40、45:Rx
21、41:時刻情報挿入部
22、32、42:時刻同期部
23、33、43:時刻情報供給部
24、37、44、50:Tx
25:送出時間取得部
31、46:時刻情報読取部
34、47:遅延量通知部
35、48:滞留時間計算部
36、49:パケット滞留部
38:滞留時間算出部
70:マスタ
75:網
80:スレーブ
90:グランドマスタ
10, 10a, 10b: Communication devices 11, 11A, 11B, 11C1: Communication adapters 20, 30, 40, 45: Rx
21, 41: Time information insertion units 22, 32, 42: Time synchronization units 23, 33, 43: Time information supply units 24, 37, 44, 50: Tx
25: Sending time acquisition unit 31, 46: Time information reading unit 34, 47: Delay amount notification unit 35, 48: Residence time calculation unit 36, 49: Packet retention unit 38: Residence time calculation unit 70: Master 75: Network 80 : Slave 90: Grand master

Claims (7)

通信装置と時刻同期する通信データ転送装置間を前記通信装置と非同期である網で接続された通信システムであって、
前記通信データ転送装置のうちの前記通信データの送信元の前記通信装置側に接続されている第一の通信データ転送装置は、
前記通信装置から通信データを受信すると、当該通信データの受信時刻を当該通信データに挿入する時刻情報挿入部を備え、
前記通信データ転送装置のうちの前記第一の通信データ転送装置から前記通信データを受信する第二の通信データ転送装置は、
前記時刻情報挿入部が通信データに挿入した前記第一の通信データ転送装置の受信時刻を用いて前記通信データの滞留時間を算出する滞留時間算出部と、
前記滞留時間算出部が算出した滞留時間にわたり前記通信データを滞留させ、前記通信データ転送装置間の遅延ゆらぎを低減する通信データ滞留部と、
を備え、ゆらぎを低減した遅延量の下、前記通信装置間で時刻同期を行うことを特徴とする通信システム。
A communication system in which a communication data transfer device that synchronizes time with a communication device is connected by a network that is asynchronous with the communication device,
The first communication data transfer device connected to the communication device that is the transmission source of the communication data among the communication data transfer devices,
When receiving communication data from the communication device, a time information insertion unit that inserts the reception time of the communication data into the communication data,
A second communication data transfer device that receives the communication data from the first communication data transfer device of the communication data transfer devices,
A dwell time calculation unit that calculates a dwell time of the communication data using the reception time of the first communication data transfer device inserted into the communication data by the time information insertion unit;
The allowed to stay communication data over a residence time of the residence time calculation unit has calculated, and the communication data retention unit that to reduce the delay jitter between the communication data transfer device,
The provided under the delay amount with a reduced fluctuation, communication systems that and performing time synchronization between the communication device.
前記第二の通信データ転送装置は、
通信データを受信すると、当該通信データに挿入されている前記第一の通信データ転送装置の受信時刻を読み出す時刻情報読取部をさらに備え、
前記滞留時間算出部は、前記時刻情報読取部の読み出した受信時刻と前記第二の通信データ転送装置が前記通信データを受信した受信時刻とを差分した第一の時間を算出し、予め記憶している一定時間と前記第一の時間とを差分した第二の時間を算出することによって、前記通信データの滞留時間を算出する
ことを特徴とする請求項1に記載の通信システム。
The second communication data transfer device is
When receiving communication data, further comprising a time information reading unit for reading the reception time of the first communication data transfer device inserted in the communication data,
The dwell time calculation unit calculates a first time obtained by subtracting a reception time read by the time information reading unit from a reception time when the second communication data transfer device receives the communication data, and stores the first time in advance. 2. The communication system according to claim 1, wherein a dwell time of the communication data is calculated by calculating a second time obtained by subtracting the predetermined time and the first time.
前記第一の通信データ転送装置及び前記第二の通信データ転送装置は、
当該通信データ転送装置の時刻同期部と、それぞれの前記通信データ転送装置に接続する前記通信装置との間で時刻同期を行い、時刻供給部へと時刻同期した時刻を供給する時刻同期部をさらに備え、
前記第一の通信データ転送装置の前記時刻情報挿入部は、前記時刻同期部の時刻同期した前記時刻供給部から供給された時刻を用いて前記通信データの受信時刻を挿入し、 前記第二の通信データ転送装置の滞留時間算出部は、前記時刻同期部の時刻同期した前記時刻供給部から供給された時刻を用いて前記第二の通信データ転送装置が受信した前記通信データの受信時刻を取得する
ことを特徴とする請求項2に記載の通信システム。
The first communication data transfer device and the second communication data transfer device are:
A time synchronization unit that performs time synchronization between the time synchronization unit of the communication data transfer device and the communication device connected to each communication data transfer device, and supplies the time synchronization time to the time supply unit; Prepared,
The time information insertion unit of the first communication data transfer device inserts the reception time of the communication data using the time supplied from the time supply unit synchronized with the time of the time synchronization unit, The dwell time calculation unit of the communication data transfer device acquires the reception time of the communication data received by the second communication data transfer device using the time supplied from the time supply unit synchronized with the time of the time synchronization unit. The communication system according to claim 2.
通信データを、請求項1から3のいずれかに記載の前記第一の通信データ転送装置へ送信する送信側通信装置と、
請求項1から3のいずれかに記載の前記第二の通信データ転送装置の転送した通信データを受信して前記送信側通信装置と時刻又は周波数を同期させる受信側通信装置と、を
備える同期システム。
A transmission-side communication device that transmits communication data to the first communication data transfer device according to any one of claims 1 to 3;
A synchronization system comprising: a communication device that receives communication data transferred by the second communication data transfer device according to any one of claims 1 to 3 and that synchronizes time or frequency with the transmission communication device. .
通信装置と時刻同期する通信データ転送装置間を前記通信装置と非同期である網で接続された通信システムの通信方法であって、
前記通信データ転送装置のうちの前記通信データの送信元の前記通信装置側に接続されている第一の通信データ転送装置が、前記通信装置からの通信データを受信すると、当該通信データの受信時刻を当該通信データに挿入する時刻情報挿入手順と、
前記通信データ転送装置のうちの前記第一の通信データ転送装置から前記通信データを受信する第二の通信データ転送装置が、前記時刻情報挿入手順で通信データに挿入した前記第一の通信データ転送装置の受信時刻を用いて前記通信データの滞留時間を算出する滞留時間算出手順と、
前記第二の通信データ転送装置が、前記滞留時間算出手順で算出した滞留時間にわたり前記通信データを滞留させ、前記通信データ転送装置間の遅延ゆらぎを低減する通信データ滞留手順と、
通信データ滞留手順でゆらぎを低減した遅延量の下、前記通信装置間で時刻同期を行う時刻同期手順と、
を順に有する通信方法。
A communication method for a communication system in which a communication data transfer device that is time-synchronized with a communication device is connected to a network that is asynchronous with the communication device,
When the first communication data transfer device connected to the communication data transmission source of the communication data transfer device receives the communication data from the communication device, the reception time of the communication data Inserting time information into the communication data,
Of the communication data transfer devices, the second communication data transfer device that receives the communication data from the first communication data transfer device inserts the first communication data transfer into the communication data in the time information insertion procedure. A residence time calculation procedure for calculating the residence time of the communication data using the reception time of the device;
The second communication data transfer device, the allowed to stay the communication data over the residence time calculated by the residence time calculation procedure, and communication data retention instructions on reducing the delay jitter between the communication data transfer device,
A time synchronization procedure for performing time synchronization between the communication devices under a delay amount in which fluctuation is reduced in the communication data retention procedure;
A communication method comprising:
前記滞留時間算出手順において、通信データを受信すると、当該通信データに挿入されている前記第一の通信データ転送装置の受信時刻を読み出し、
読み出した前記第一の通信データ転送装置の受信時刻と前記第二の通信データ転送装置が前記通信データを受信した受信時刻とを差分した第一の時間を算出し、予め記憶している一定時間と前記第一の時間とを差分した第二の時間を算出することによって、前記通信データの滞留時間を算出する
ことを特徴とする請求項5に記載の通信方法。
In the dwell time calculation procedure, when communication data is received, the reception time of the first communication data transfer device inserted in the communication data is read,
The first time obtained by subtracting the read reception time of the first communication data transfer device from the reception time when the second communication data transfer device received the communication data is calculated and stored in advance. The communication method according to claim 5, wherein a dwell time of the communication data is calculated by calculating a second time obtained by subtracting the first time and the first time.
前記第一の通信データ転送装置及び前記第二の通信データ転送装置が、それぞれの前記通信データ転送装置に接続する前記通信装置との間で時刻同期を行う時刻同期手順を、前記時刻情報挿入手順の前にさらに有し、
前記時刻情報挿入手順において、前記第一の通信データ転送装置は、前記時刻同期手順で時刻同期した時刻を用いて前記通信データの受信時刻を挿入し、
前記滞留時間算出手順において、前記第二の通信データ転送装置は、前記時刻同期手順で時刻同期した時刻を用いて前記第二の通信データ転送装置が受信した前記通信データの受信時刻を取得する、
ことを特徴とする請求項5又は6に記載の通信方法。
A time synchronization procedure in which the first communication data transfer device and the second communication data transfer device perform time synchronization with the communication devices connected to the respective communication data transfer devices; And even before
In the time information insertion procedure, the first communication data transfer device inserts the reception time of the communication data using the time synchronized in the time synchronization procedure,
In the dwell time calculation procedure, the second communication data transfer device acquires a reception time of the communication data received by the second communication data transfer device using a time synchronized in the time synchronization procedure.
The communication method according to claim 5 or 6, characterized by the above.
JP2013089722A 2013-04-22 2013-04-22 Communication system, synchronization system, and communication method Active JP6227888B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013089722A JP6227888B2 (en) 2013-04-22 2013-04-22 Communication system, synchronization system, and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013089722A JP6227888B2 (en) 2013-04-22 2013-04-22 Communication system, synchronization system, and communication method

Publications (2)

Publication Number Publication Date
JP2014216669A JP2014216669A (en) 2014-11-17
JP6227888B2 true JP6227888B2 (en) 2017-11-08

Family

ID=51942082

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013089722A Active JP6227888B2 (en) 2013-04-22 2013-04-22 Communication system, synchronization system, and communication method

Country Status (1)

Country Link
JP (1) JP6227888B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6134622B2 (en) * 2013-09-24 2017-05-24 株式会社日立製作所 Communication system and time synchronization method
JP2016225714A (en) * 2015-05-27 2016-12-28 セイコーソリューションズ株式会社 Signal transmission device for delay measurement, delay measuring system, signal transmission method for delay measurement, and program
JP2020091134A (en) * 2018-12-04 2020-06-11 日本電信電話株式会社 Time transmission correction device, time transmission system, and delay measurement method
JP7310163B2 (en) 2019-02-14 2023-07-19 日本電信電話株式会社 TRANSMISSION DEVICE, TIME TRANSMISSION SYSTEM, AND DELAY CORRECTION METHOD
JP7298182B2 (en) 2019-02-21 2023-06-27 日本電信電話株式会社 Time transmission device and transmission method
US11804920B2 (en) 2020-02-18 2023-10-31 Nippon Telegraph And Telephone Corporation Signal transfer management device, signal transfer management method and signal transfer management program
JP7047164B1 (en) * 2021-05-17 2022-04-04 セイコーソリューションズ株式会社 Clock processing equipment and programs

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005151462A (en) * 2003-11-19 2005-06-09 Pioneer Electronic Corp System and method for transmitting stream data, system and method for receiving the data, stream data communications system, and method for exchanging the data
JP2012034224A (en) * 2010-07-30 2012-02-16 Hitachi Cable Ltd Relay device
JP5768624B2 (en) * 2011-09-26 2015-08-26 富士通株式会社 Relay device and relay method

Also Published As

Publication number Publication date
JP2014216669A (en) 2014-11-17

Similar Documents

Publication Publication Date Title
EP3491753B1 (en) System and methods for network synchronization
JP6227888B2 (en) Communication system, synchronization system, and communication method
US11470568B2 (en) Synchronizing TSN master clocks in wireless networks
US8964790B2 (en) Communication apparatus
EP2528254B1 (en) Method and device for time synchronization
RU2638645C2 (en) Method for identification of reference clock signals subjected to asymmetry changes to delay propagation path between nodes in communication network
CN104836630B (en) IEEE1588 clock synchronization system and implementation method therefor
WO2018006686A1 (en) Method, apparatus and device for optimizing time synchronization between communication network devices
KR101290643B1 (en) Method and system for bearing time synchronization protocol in optical transport network
EP2641348A1 (en) Method for synchronizing master and slave clocks of packet-switched network with aggregated connections between nodes, and associated synchronization devices
US9172525B2 (en) Method and device for compensating for time path
KR20090032306A (en) Time synchronization system and method on the network
CN113259038B (en) Time synchronization method, node, device and storage medium
CN101455014A (en) Methods and devices for sending transmission-time or reception-time information for a transmitted or received message
CN102983927B (en) Time compensation method for master-slave clock timing based on IEEE 1588 protocol
CN112166565A (en) Timing synchronization for cable networks
Ronen et al. Enhanced synchronization accuracy in IEEE1588
WO2005064827A1 (en) Temperature compensation for transmission between nodes coupled by a unidirectional fiber ring
Resner et al. Speculative Precision Time Protocol: submicrosecond clock synchronization for the IoT
WO2015125439A1 (en) Communication system, wireless communication apparatus, and wireless communication method
CN113645686A (en) Wireless self-organizing network time synchronization method with motion compensation
KR20100062786A (en) Time synchronized system and time synchronization method in the next generation convergence network
WO2011074529A1 (en) Time synchronization system, slave node, time synchronization method, and program for time synchronization
WO2016092243A1 (en) Method and devices for time transfer using end to end transparent clocks
US20220026857A1 (en) Time transmission correction device, time transmission system, and delay measurement method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150806

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160721

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160802

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160928

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170221

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170419

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20171012

R150 Certificate of patent or registration of utility model

Ref document number: 6227888

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150