Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7625384B2 - Communication device, communication method, and program - Google Patents
[go: Go Back, main page]

JP7625384B2 - Communication device, communication method, and program - Google Patents

Communication device, communication method, and program Download PDF

Info

Publication number
JP7625384B2
JP7625384B2 JP2020149905A JP2020149905A JP7625384B2 JP 7625384 B2 JP7625384 B2 JP 7625384B2 JP 2020149905 A JP2020149905 A JP 2020149905A JP 2020149905 A JP2020149905 A JP 2020149905A JP 7625384 B2 JP7625384 B2 JP 7625384B2
Authority
JP
Japan
Prior art keywords
time
packet
correction
communication device
information
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
JP2020149905A
Other languages
Japanese (ja)
Other versions
JP2022044332A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2020149905A priority Critical patent/JP7625384B2/en
Publication of JP2022044332A publication Critical patent/JP2022044332A/en
Application granted granted Critical
Publication of JP7625384B2 publication Critical patent/JP7625384B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Description

本発明は、通信装置、通信方法及びプログラムに関する。 The present invention relates to a communication device, a communication method, and a program.

昨今、ネットワークで繋がった複数の機器間を時刻同期させる技術が多分野に渡り利用されている。例えば、複数のカメラを異なる位置に設置して多視点で同期撮影し、当該撮影により得られた複数視点画像を用いて仮想視点コンテンツを生成する仮想視点画像生成システムがある。このようなシステムでは、高品位な仮想視点画像を生成するために、撮像タイミングを高精度に同期させることが求められる。 Recently, technology for time synchronization between multiple devices connected via a network has been used in a wide range of fields. For example, there is a virtual viewpoint image generation system in which multiple cameras are installed in different positions to capture images from multiple viewpoints synchronously, and virtual viewpoint content is generated using the multiple viewpoint images obtained by the capture. In such a system, it is necessary to synchronize the capture timing with high precision in order to generate high-quality virtual viewpoint images.

ネットワークを介した同期技術に関して、マルチプロトコル・ラベル・スイッチング・ネットワークにおけるアクティブ・ノードのPrecision Time Protocol(PTP)パケットの扱いに関する技術が特許文献1に開示されている。この技術では、PTPパケットをブリッジする際に、装置内のPTPパケットの滞留時間を測定し、滞留時間情報を別のPTPパケットにて送信する。具体的には、PTPパケットを受信するタイミングと該PTPパケットを送信するタイミングそれぞれで、時刻(タイムスタンプ)情報を取得し、タイムスタンプ情報の差分から滞留時間を求める。この滞留時間を利用することにより、アクティブ・ノードを挟む端末間は時刻同期の精度を向上させることができる。 Regarding synchronization technology via a network, Patent Document 1 discloses technology related to the handling of Precision Time Protocol (PTP) packets of active nodes in a multiprotocol label switching network. In this technology, when bridging a PTP packet, the residence time of the PTP packet in the device is measured, and residence time information is transmitted in another PTP packet. Specifically, time (time stamp) information is obtained at the timing of receiving the PTP packet and the timing of transmitting the PTP packet, and the residence time is calculated from the difference in the time stamp information. By utilizing this residence time, it is possible to improve the accuracy of time synchronization between terminals on either side of the active node.

上述のように、装置内のPTPパケットの滞留時間を測定し、時刻精度の劣化を抑えて、機器間でPTPパケットをブリッジする機能は、IEEE1588-2008において、Transparent Clock(TC)として定義されている。また、時刻源である装置とPTPパケットを用いて同期する機能については、Ordinary Clock(OC)として定義されている。 As mentioned above, the function of measuring the residence time of PTP packets within a device, suppressing deterioration of time accuracy, and bridging PTP packets between devices is defined as Transparent Clock (TC) in IEEE1588-2008. In addition, the function of synchronizing with a device that is the time source using PTP packets is defined as Ordinary Clock (OC).

特開2019-220970号公報JP 2019-220970 A

しかしながら、特許文献1に開示された技術では、通信装置が、時刻源である他の装置に対してOCとして動作して時刻同期し、かつ、TCとして、PTPパケットをブリッジする場合には、以下の課題がある。
すなわち、OCとして動作する場合、通信装置は、時刻情報を時刻源に併せて定期的に更新しなければならない。しかし、その時刻情報を用いてTCとして必要なPTPパケットの滞留時間を測定する場合、PTPパケットの滞留中に時刻情報の更新が発生すると、正しい滞留時間を測定することが困難になる。これにより、当該通信装置に接続し、OCとして動作する他の装置の同期精度に対して影響を及ぼす可能性がある。
However, the technology disclosed in Patent Document 1 has the following problems when a communication device operates as an OC to synchronize time with another device that is a time source, and also bridges PTP packets as a TC.
That is, when operating as an OC, the communication device must periodically update the time information according to the time source. However, when using the time information to measure the residence time of a PTP packet required as a TC, if the time information is updated while the PTP packet is staying, it becomes difficult to measure the correct residence time. This may affect the synchronization accuracy of other devices connected to the communication device and operating as OCs.

本発明は上述の課題に鑑みて成されたものであり、複数の装置間での時刻の同期の精度を向上させることを目的とする。 The present invention was made in consideration of the above-mentioned problems, and aims to improve the accuracy of time synchronization between multiple devices.

上述の課題を解決するため、本発明に係る通信装置のある態様によれば、同期情報を受信する受信手段と、前記受信手段が受信した前記同期情報に当該同期情報をブリッジするにあたり経過した滞留時間を付加した同期情報を送信する送信手段と、前記受信手段が受信した前記同期情報が示す時刻同期するように、時刻情報を補正する補正手段と、前記時刻情報に基づいて前滞留時間を測定する測定手段と、記送信手段による前記送信手段による送信が終了したときに、前記補正手段による前記時刻情報の補正を実行させる制御手段と、を備える通信装置が提供される。 In order to solve the above-mentioned problems, according to one aspect of a communication device of the present invention, a communication device is provided that includes a receiving means for receiving synchronization information, a transmitting means for transmitting synchronization information to which the synchronization information received by the receiving means has been added with a residence time elapsed in bridging the synchronization information , a correction means for correcting time information so as to synchronize with the time indicated by the synchronization information received by the receiving means, a measurement means for measuring the residence time based on the time information, and a control means for causing the correction means to correct the time information when transmission by the transmitting means is completed .

本発明によれば、複数の装置間での時刻の同期の精度を向上させることができる。 The present invention can improve the accuracy of time synchronization between multiple devices.

通信システムの構成例を示すブロック図。FIG. 1 is a block diagram showing an example of the configuration of a communication system. 同期通信装置の構成例を示すブロック図。FIG. 1 is a block diagram showing an example of the configuration of a synchronous communication device. RTPパケットのシーケンスの例を示す図。FIG. 2 is a diagram showing an example of a sequence of RTP packets. RTPパケットのシーケンスの例を示す図。FIG. 2 is a diagram showing an example of a sequence of RTP packets. 同期通信装置の処理の例を示すフローチャート。10 is a flowchart showing an example of processing of a synchronous communication device. 同期通信装置の処理の例を示すフローチャート。10 is a flowchart showing an example of processing of a synchronous communication device. 補正タイミング制御部の処理の例を示すフローチャート。10 is a flowchart showing an example of a process of a correction timing control unit.

以下、添付図面を参照して、本発明を実施するための実施形態について詳細に説明する。なお、以下に説明する実施形態は、本発明の実現手段としての一例であり、本発明が適用される装置の構成や各種条件によって適宜修正または変更されるべきものであり、本発明は、以下の実施形態に必ずしも限定されるものではない。また、実施形態で説明されている特徴の組み合わせの全てが本発明の解決手段に必須のものとは限らない。 Below, an embodiment for carrying out the present invention will be described in detail with reference to the attached drawings. Note that the embodiment described below is one example of a means for realizing the present invention, and should be appropriately modified or changed depending on the configuration of the device to which the present invention is applied and various conditions, and the present invention is not necessarily limited to the embodiment below. Furthermore, not all of the combinations of features described in the embodiment are necessarily essential to the solution of the present invention.

(実施形態1)
(通信システム構成)
図1は、実施形態1の通信システムの構成例を示すブロック図である。
この通信システムは、時刻を配信するタイムサーバ2と、TC(Transparent Clock)スイッチングハブ3と、タイムサーバ2の時刻に同期した通信を行う同期通信装置10と、タイムサーバ2の時刻に同期させる端末群20とを備えている。
(Embodiment 1)
(Communication system configuration)
FIG. 1 is a block diagram showing an example of the configuration of a communication system according to a first embodiment.
This communication system includes a time server 2 that distributes time, a Transparent Clock (TC) switching hub 3, a synchronous communication device 10 that performs communication synchronized with the time of the time server 2, and a terminal group 20 that synchronizes with the time of the time server 2.

タイムサーバ2は、PTP(Precision Time Protocol)による時刻を配信する機能を有し、GPS(Global Positioning System)1に同期した時刻を配信する。TCスイッチングハブ3は、PTPパケットを用いたネットワークシステムにおけるTC機能を有したスイッチングハブである。具体的には、TCスイッチングハブ3は、PTPパケットによる時刻同期ネットワークにおいて、TCスイッチングハブ3内におけるPTPパケットの滞留時間を補正して、時刻同期の精度の劣化を軽減する機能を有している。 The time server 2 has a function of distributing time according to the Precision Time Protocol (PTP), and distributes time synchronized with the Global Positioning System (GPS) 1. The TC switching hub 3 is a switching hub with a TC function in a network system using PTP packets. Specifically, the TC switching hub 3 has a function of correcting the residence time of PTP packets within the TC switching hub 3 in a time synchronization network using PTP packets, thereby reducing deterioration in the accuracy of time synchronization.

同期通信装置10は、OC(Ordinary Clock)機能とTC機能の2つを有している。同期通信装置10は、OCとしてタイムサーバ2と同期し、タイムサーバ2に同期された時刻を保有する。また、同期通信装置10は、TCとして、端末AA21、端末AB22、端末AC23、…とタイムサーバ2間を流れるPTPパケットをブリッジ(転送)する機能を有している。 The synchronous communication device 10 has two functions: an OC (ordinary clock) function and a TC function. As an OC, the synchronous communication device 10 synchronizes with a time server 2 and holds the time synchronized with the time server 2. As a TC, the synchronous communication device 10 also has a function of bridging (transferring) PTP packets flowing between terminals AA21, AB22, AC23, ... and the time server 2.

端末群20は、ネットワークを介してデイジーチェーン状に接続された複数の端末AA21、端末AB22、端末AC23、…を備えている。各端末AA、AB、AC(21~23)は、同期通信装置10と同様に、TCとOCの2つの機能を持ち、タイムサーバ2と同期し、かつ、他の端末向けにPTPパケットのブリッジを行う機能を有している。また、通信システムには、複数レーンの端末群を設けてもよい。図1において、端末BA30、端末CA40、端末DA50が、各レーンの先頭となっている。 The terminal group 20 comprises a number of terminals AA21, AB22, AC23, etc., connected in a daisy chain fashion via a network. Like the synchronous communication device 10, each of the terminals AA, AB, AC (21-23) has two functions, TC and OC, and has the function of synchronizing with the time server 2 and bridging PTP packets to other terminals. The communication system may also have a terminal group with multiple lanes. In FIG. 1, terminal BA30, terminal CA40, and terminal DA50 are at the head of each lane.

(同期通信装置詳細)
図2は、同期通信装置10の詳細な構成例を示すブロック図である。
同期通信装置10は、同期通信装置10全体を制御する主制御部60と、メモリ71と、システムバス72と、通信制御部80とを備えている。
まず、主制御部60の、本実施形態における同期処理に関係する機能について詳細に説明する。
主制御部60は、同期処理を行う同期処理部61と、PTPパケットのブリッジ処理を行うPTPパケットブリッジ部62と、同期処理部61とPTPパケットブリッジ部62で共通する処理を行う共通部63とを備えている。
(Details of synchronous communication device)
FIG. 2 is a block diagram showing a detailed configuration example of the synchronous communication device 10. As shown in FIG.
The synchronous communication device 10 includes a main control unit 60 that controls the entire synchronous communication device 10 , a memory 71 , a system bus 72 , and a communication control unit 80 .
First, the functions of the main control unit 60 related to the synchronization process in this embodiment will be described in detail.
The main control unit 60 includes a synchronization processing unit 61 that performs synchronization processing, a PTP packet bridge unit 62 that performs bridging processing of PTP packets, and a common unit 63 that performs processing common to the synchronization processing unit 61 and the PTP packet bridge unit 62.

同期処理部61は、OC機能に該当するもので、PTPパケットを利用したタイムサーバ2との同期処理を行う。同期処理部61は、2つの機能部(パケット生成部61aと、補正時間計算部61b)を有する。
パケット生成部61aは、タイムサーバ2と同期処理を行うために必要となるDelay Requestパケットの生成を行う。補正時間計算部61bは、タイムサーバ2と同期通信装置10の間でやりとりされたPTPパケットを元に、タイムサーバ2と同期通信装置10の間で発生するネットワーク遅延時間や、両者の時刻差の計算を行う。補正時間計算部61bの動作の詳細については後述する。
The synchronization processing unit 61 corresponds to the OC function, and performs a synchronization process with the time server 2 using PTP packets. The synchronization processing unit 61 has two function units (a packet generating unit 61a and a correction time calculating unit 61b).
The packet generation unit 61a generates a Delay Request packet required for performing synchronization processing with the time server 2. The correction time calculation unit 61b calculates the network delay time occurring between the time server 2 and the synchronous communication device 10 and the time difference between them, based on the PTP packets exchanged between the time server 2 and the synchronous communication device 10. The operation of the correction time calculation unit 61b will be described in detail later.

PTPパケットブリッジ部62は、TC機能に該当するもので、タイムサーバ2と端末群20の間でやりとりされるPTPパケットをブリッジする機能を有する。PTPパケットブリッジ部62は、3つの機能部(ブリッジ処理部62aと、パケット補正部62bと、滞留時間計算部62c)を有する。
ブリッジ処理部62aは、通信制御部80の通信処理部A85から受信したPTPパケットを通信処理部B86にブリッジする機能を有する。具体的には、ブリッジ処理部62aは、通信処理部A85が受信した、タイムサーバ2からのAnnounce/Sync/Follow Upパケットを、通信処理部B86にブリッジする。また、ブリッジ処理部62aは、通信処理部B86が受信したDelay Requestパケットを、通信処理部A85にブリッジする。さらに、ブリッジ処理部62aは、通信処理部A85が受信し、同期通信装置10宛ではないDelay Responseパケットを、通信処理部B86にブリッジする。
The PTP packet bridge unit 62 corresponds to the TC function, and has a function of bridging PTP packets exchanged between the time server 2 and the terminal group 20. The PTP packet bridge unit 62 has three function units (a bridge processing unit 62a, a packet correction unit 62b, and a residence time calculation unit 62c).
The bridge processing unit 62a has a function of bridging a PTP packet received from the communication processing unit A85 of the communication control unit 80 to the communication processing unit B86. Specifically, the bridge processing unit 62a bridges an Announce/Sync/Follow Up packet from the time server 2 received by the communication processing unit A85 to the communication processing unit B86. The bridge processing unit 62a also bridges a Delay Request packet received by the communication processing unit B86 to the communication processing unit A85. Furthermore, the bridge processing unit 62a bridges a Delay Response packet received by the communication processing unit A85 and not addressed to the synchronous communication device 10 to the communication processing unit B86.

パケット補正部62bは、ブリッジ処理部62aがブリッジ処理を行うPTPパケットのうち、補正が必要なものに対して補正処理を行う。具体的には、Follow Upパケットと、Delay ResponseパケットのCorrection Fieldの補正を行う。パケット補正部62bの詳細な動作については後述する。
滞留時間計算部62cは、同期通信装置10がタイムサーバ2と端末群20との間で送受信されるPTPパケットをブリッジするにあたり経過した時間(滞留時間)を計算する機能を有する。具体的には、タイムサーバ2から送信されるSyncパケットと、端末群20の各端末から送信されるDelay Requestパケットの2種類のパケットに対して、滞留時間を計算する。
The packet correction unit 62b performs correction processing on PTP packets that need correction among the PTP packets that are bridged by the bridge processing unit 62a. Specifically, the packet correction unit 62b corrects the Correction Field of the Follow Up packet and the Delay Response packet. The detailed operation of the packet correction unit 62b will be described later.
The residence time calculation unit 62c has a function of calculating the time (residence time) elapsed when the synchronous communication device 10 bridges a PTP packet transmitted and received between the time server 2 and the terminal group 20. Specifically, the residence time is calculated for two types of packets: a Sync packet transmitted from the time server 2 and a Delay Request packet transmitted from each terminal of the terminal group 20.

共通部63は、同期処理部61とPTPパケットブリッジ部62で、共通して利用される機能として、パケット解析部63aと、タイムスタンプ取得部63bとを備えている。パケット解析部63aは、通信制御部80の通信処理部A85または通信処理部B86が受信し、パケット転送部87がメモリ71に格納したPTPパケットを解析する機能を有する。そして、パケット解析部63aは、解析結果に応じて、同期処理部61、または、PTPパケットブリッジ部62に対してパケットのメモリ上での格納位置情報や解析結果等を通知する。タイムスタンプ取得部63bは、PTPパケットが、通信処理部A85または通信処理部B86を通過した時刻(タイムスタンプ情報)を取得する機能を有する。なお、タイムスタンプ情報は、送信/受信の双方向の通過時に取得する。また、タイムスタンプ情報は、タイムスタンプ格納部A83及びタイムスタンプ格納部B84にアクセスすることで取得する。 The common unit 63 includes a packet analysis unit 63a and a time stamp acquisition unit 63b as functions commonly used by the synchronization processing unit 61 and the PTP packet bridge unit 62. The packet analysis unit 63a has a function of analyzing the PTP packet received by the communication processing unit A85 or the communication processing unit B86 of the communication control unit 80 and stored in the memory 71 by the packet forwarding unit 87. Then, the packet analysis unit 63a notifies the synchronization processing unit 61 or the PTP packet bridge unit 62 of the storage position information of the packet in the memory and the analysis result, etc. according to the analysis result. The time stamp acquisition unit 63b has a function of acquiring the time (time stamp information) when the PTP packet passes through the communication processing unit A85 or the communication processing unit B86. The time stamp information is acquired when passing through in both directions of transmission/reception. The time stamp information is also acquired by accessing the time stamp storage unit A83 and the time stamp storage unit B84.

次に、通信制御部80について説明する。
通信制御部80は、システムバス72を介して、主制御部60との間で制御信号を送受信する制御インターフェース81と、パケットのデータを送受信するパケットインターフェース82とを備えている。また、通信制御部80は、通信処理部A85と、通信処理部B86と、パケット転送部87と、タイムスタンプ格納部A83と、タイムスタンプ格納部B84と、時刻情報を保持する保持部(以下、単に時刻情報という。)88を備えている。また、通信制御部80は、時刻情報の補正のタイミングを制御する補正タイミング制御部90を備えている。この補正タイミング制御部90は、同期通信装置10における処理の状態が、所定の条件(例えばPTPパケットの滞留時間の測定を行っていない等)を満たしたときに、時刻情報88の補正を実行させる。
通信処理部A85は、TCスイッチングハブ3を介したタイムサーバ2との接続インターフェースである。タイムサーバ2からのパケットは、通信処理部A85より受信し、同期通信装置10からタイムサーバ2へのパケットは、通信処理部A85より送信される。通信処理部B86は、端末群20との接続インターフェースである。パケット転送部87は、主制御部60がメモリ71に作成したパケットを主制御部60の指示の下、通信処理部A85または通信処理部B86を介して外部へ送信する機能を担う。また、パケット転送部87は、通信処理部A85または通信処理部B86より受信したパケットを、メモリ71へ転送する機能も担う。タイムスタンプ格納部A83は、通信処理部A85をPTPパケットが通過したときの時刻情報88が示す時刻を格納する。具体的には、タイムスタンプ格納部A83は、通信処理部A85が同期通信装置10からのPTPパケットを受信した時刻を格納する。また、タイムスタンプ格納部A83は、同期通信装置10から、通信処理部A85を介して装置外部にPTPパケットが送信されたとき、その時の時刻を格納する。これにより、主制御部60は、実際のPTPパケットが送受信された時刻を、例えば主制御部60が備えるシステムクロック等を用いて取得する方法と比較し、より正確に取得することができる。
Next, the communication control unit 80 will be described.
The communication control unit 80 includes a control interface 81 for transmitting and receiving control signals to and from the main control unit 60 via the system bus 72, and a packet interface 82 for transmitting and receiving packet data. The communication control unit 80 also includes a communication processing unit A 85, a communication processing unit B 86, a packet transfer unit 87, a timestamp storage unit A 83, a timestamp storage unit B 84, and a storage unit for storing time information (hereinafter simply referred to as time information) 88. The communication control unit 80 also includes a correction timing control unit 90 for controlling the timing of correction of the time information. The correction timing control unit 90 executes correction of the time information 88 when the state of processing in the synchronous communication device 10 satisfies a predetermined condition (e.g., measurement of the residence time of a PTP packet is not performed, etc.).
The communication processing unit A85 is a connection interface with the time server 2 via the TC switching hub 3. Packets from the time server 2 are received by the communication processing unit A85, and packets from the synchronous communication device 10 to the time server 2 are transmitted by the communication processing unit A85. The communication processing unit B86 is a connection interface with the terminal group 20. The packet forwarding unit 87 has a function of transmitting a packet created in the memory 71 by the main control unit 60 to the outside via the communication processing unit A85 or the communication processing unit B86 under the instruction of the main control unit 60. The packet forwarding unit 87 also has a function of forwarding a packet received from the communication processing unit A85 or the communication processing unit B86 to the memory 71. The time stamp storage unit A83 stores the time indicated by the time information 88 when the PTP packet passed through the communication processing unit A85. Specifically, the time stamp storage unit A83 stores the time when the communication processing unit A85 received the PTP packet from the synchronous communication device 10. Furthermore, the time stamp storage unit A83 stores the time when a PTP packet is transmitted from the synchronous communication device 10 to the outside of the device via the communication processing unit A85. This allows the main control unit 60 to obtain the time when the actual PTP packet was transmitted or received more accurately, in comparison with a method of obtaining the time using a system clock or the like provided in the main control unit 60.

時刻情報88は、通信制御部80が持つ時刻情報である。タイムサーバ2から受信したパケットが所定のPTPパケットである場合は、時刻情報88の示す時刻がPTPパケットの到着したタイミングでタイムスタンプ格納部A83に出力される。また、時刻情報88は、同期処理部61がタイムサーバ2への同期処理を実行した後、算出した補正値を元に時刻を補正することが可能な機能を持つ。さらには、時刻情報88が、時刻情報88の進み量を調整する機能を有していてもよい。例えば、毎回の同期処理において、毎回同期通信装置10の方がタイムサーバ2より時刻が進んでいるような場合は、時刻情報88の進む速度を小さくする方向にチューニングすることにより、ホールドオーバ精度を向上することができる。
図1に示す構成は、時刻情報88が1つで、同じ時刻情報が通信処理部A85、通信処理部B86に供給される構成である。なお、時刻情報は2つあってもよい。この場合、2つの時刻情報を進めるためのクロック信号が同一のものであり、かつ、補正タイミング制御部90から、同時に同一の補正結果を受け取れる構成になっていると高精度なTC処理を実現できる。さらに、2つの時刻情報は、それぞれ通信処理部A85、通信処理部B86に内包されていてもよい。
また、タイムスタンプ格納部B84は、タイムスタンプ格納部A83と同等の機能を有しており、通信処理部B86からPTPパケットが送受信された時刻を格納する。
The time information 88 is time information held by the communication control unit 80. If the packet received from the time server 2 is a specified PTP packet, the time indicated by the time information 88 is output to the time stamp storage unit A83 at the timing of the arrival of the PTP packet. The time information 88 also has a function of correcting the time based on a calculated correction value after the synchronization processing unit 61 executes a synchronization process with the time server 2. Furthermore, the time information 88 may have a function of adjusting the advancement of the time information 88. For example, if the time of the synchronous communication device 10 is ahead of the time server 2 every time in the synchronization process, the holdover accuracy can be improved by tuning in a direction to reduce the advancement speed of the time information 88.
1 has one piece of time information 88, and the same time information is supplied to communication processing unit A85 and communication processing unit B86. There may be two pieces of time information. In this case, if the clock signals for advancing the two pieces of time information are the same and the same correction results can be received simultaneously from the correction timing control unit 90, high-precision TC processing can be realized. Furthermore, the two pieces of time information may be included in communication processing unit A85 and communication processing unit B86, respectively.
The time stamp storage unit B84 has the same function as the time stamp storage unit A83, and stores the time when the PTP packet is transmitted or received from the communication processing unit B86.

補正タイミング制御部90は、補正時間計算部61bの計算結果を時刻情報88に対して、所定のタイミングでセットする機能を有する。
補正タイミング制御部90は、詳細には、端末数記憶部91と、タイマー部92と、パケットカウンタ93と、補正値記憶部94とを備えている。
端末数記憶部91は、主制御部60が把握した端末群20の台数を主制御部60より受信し、記憶しておく機能を有する。タイマー部92は補正タイミング制御部90がタイミング制御を実施するために必要なタイマーである。パケットカウンタ93は、同期通信装置10が端末群20より受信し、タイムサーバ2宛に送信されたDelay Requestパケットの数をカウントする機能を有する。なお、Delay Requestパケットの受信確認は、受信したパケットがパケット転送部87からメモリ71に書き込まれる際に、パケットの転送状況を、スヌープバス89を介して確認することにより実行する。補正値記憶部94は、補正時間計算部61bから供給される時刻情報88に対する時刻の補正値を記憶する機能を有する。
The correction timing control section 90 has a function of setting the calculation result of the correction time calculation section 61b to the time information 88 at a predetermined timing.
In detail, the correction timing control unit 90 includes a terminal number storage unit 91 , a timer unit 92 , a packet counter 93 , and a correction value storage unit 94 .
The terminal number storage unit 91 has a function of receiving and storing the number of terminals 20 grasped by the main control unit 60 from the main control unit 60. The timer unit 92 is a timer necessary for the correction timing control unit 90 to perform timing control. The packet counter 93 has a function of counting the number of Delay Request packets received by the synchronous communication device 10 from the terminal group 20 and transmitted to the time server 2. The reception confirmation of the Delay Request packet is executed by confirming the packet transfer status via the snoop bus 89 when the received packet is written from the packet transfer unit 87 to the memory 71. The correction value storage unit 94 has a function of storing a time correction value for the time information 88 supplied from the correction time calculation unit 61b.

(同期処理)
次に、同期通信装置10を含む通信システムの各装置間で送受信されるパケットのフローについて、図3及び図4を用いて説明する。
例えば図3に示すように、タイムサーバ2と同期通信装置10は、所定の周期(τ)でPTPパケットの送受信を行う(S1)。端末群20とタイムサーバ2の間においても、同様の周期(τ)でPTPパケットの送受信が発生する(S2、S3)。
(Synchronization process)
Next, the flow of packets transmitted and received between devices in a communication system including the synchronous communication device 10 will be described with reference to FIGS.
3, for example, the time server 2 and the synchronous communication device 10 transmit and receive PTP packets at a predetermined period (τ) (S1). Transmission and reception of PTP packets also occurs between the terminal group 20 and the time server 2 at the same period (τ) (S2, S3).

S1でやり取りされるPTPパケットの例を図4(A)に示す。なお、図4(A)では、説明の簡略化のためTCスイッチングハブ3については省略して示している。
タイムサーバ2は、最初にSyncパケットを送信する(S11)。さらに、タイムサーバ2は、タイムサーバ2の同期処理が2Stepで動作している場合には、Follow Upパケットを送信する(S12)。Sync/Follow Upパケットを受信した同期通信装置10は、同期処理を実行する際に、Delay Requestパケットを、タイムサーバ2に送信する(S13)。Delay Requestパケットを受信したタイムサーバ2は、同期通信装置10にDelay Responseパケットを送信する(S14)。ここで、時刻T1は、タイムサーバ2がSyncパケットを送信した時刻、時刻T2は、同期通信装置10がSyncパケットを受信した時刻を示している。また、時刻T3は、同期通信装置10がDelay Requestパケットを送信した時刻、時刻T4は、タイムサーバ2がDelay Requestパケットを受信した時刻を示している。Follow Upパケットには時刻T1が格納され、Delay Responseパケットには時刻T4が格納される。
An example of a PTP packet exchanged at S1 is shown in Fig. 4A. Note that, in Fig. 4A, the TC switching hub 3 is omitted for the sake of simplicity.
The time server 2 first transmits a Sync packet (S11). Furthermore, if the synchronization process of the time server 2 is operating in two steps, the time server 2 transmits a Follow Up packet (S12). The synchronous communication device 10 that has received the Sync/Follow Up packet transmits a Delay Request packet to the time server 2 when executing the synchronization process (S13). The time server 2 that has received the Delay Request packet transmits a Delay Response packet to the synchronous communication device 10 (S14). Here, time T1 indicates the time when the time server 2 transmits the Sync packet, and time T2 indicates the time when the synchronous communication device 10 receives the Sync packet. Time T3 indicates the time when the synchronous communication device 10 transmits the Delay Request packet, and time T4 indicates the time when the Delay Request packet is received by the time server 2. Time T1 is stored in the Follow Up packet, and time T4 is stored in the Delay Response packet.

また、Syncパケットの受信時刻T2は、以下の手順で得ることができる。
Syncパケットが通信処理部A85を通過するタイミングで、通信処理部A85が、時刻情報88を元にした時刻をタイムスタンプ格納部A83に格納させておく。タイムスタンプ取得部63bは、タイムスタンプ格納部A83に格納されている時刻にアクセスすることにより、T2を得ることができる。
T3も同様に、同期通信装置10からタイムサーバ2へDelay Requestパケットが送出されるタイミングで、時刻情報88を元にした時刻をタイムスタンプ格納部A83に格納しておくことにより、得ることができる。一連のPTPパケットの送受信により、同期通信装置10は、T1~T4の4つの時刻を得ることができる。
The Sync packet receiving time T2 can be obtained by the following procedure.
When the Sync packet passes through the communication processing unit A85, the communication processing unit A85 stores the time based on the time information 88 in the time stamp storage unit A83. The time stamp acquisition unit 63b can obtain T2 by accessing the time stored in the time stamp storage unit A83.
Similarly, T3 can be obtained by storing a time based on the time information 88 in the time stamp storage unit A83 at the timing when a Delay Request packet is sent from the synchronous communication device 10 to the time server 2. By sending and receiving a series of PTP packets, the synchronous communication device 10 can obtain four times, T1 to T4.

以上の4つの時刻情報(T1、T2、T3、T4)より、タイムサーバ2と同期通信装置10の間の平均伝送路遅延と、タイムサーバ2と同期通信装置10の間の時刻差、つまり同期通信装置10の時刻補正量とを以下のように求めることができる。
平均伝送路遅延 = ((T4-T1)-(T3-T2))/2
時刻補正量 = ((T2-T1)-(T4-T3))/2
上式で算出した時刻補正量が、タイムサーバ2に対する同期通信装置10のオフセット量なので、これが0となるように同期通信装置10の持つ時刻の進み量を調整するとよい。以上が、タイムサーバ2と同期通信装置10のPTPパケットの基本的なやり取りである。
From the above four pieces of time information (T1, T2, T3, T4), the average transmission path delay between the time server 2 and the synchronous communication device 10 and the time difference between the time server 2 and the synchronous communication device 10, i.e., the time correction amount of the synchronous communication device 10, can be calculated as follows.
Average path delay = ((T4-T1)-(T3-T2))/2
Time correction amount = ((T2-T1)-(T4-T3))/2
Since the time correction amount calculated by the above formula is the offset amount of the synchronous communication device 10 with respect to the time server 2, it is advisable to adjust the advance of the time held by the synchronous communication device 10 so that this amount becomes 0. This completes the basic exchange of PTP packets between the time server 2 and the synchronous communication device 10.

次に、タイムサーバ2と端末群20の間で発生するPTPパケットの送受信において、同期通信装置10がTCのEnd to End(E2E)モードとして動作する場合について、図4(B)を例に説明する。説明簡略化のため端末AA21とタイムサーバ2の間で発生するPTPパケットの送受信(S2)にフォーカスして説明する。
なお、タイムサーバ2が、Sync/Follow Up/DelayResponseパケットを送信し、Delay Requestパケットを受信することは、図4(A)と同様である。また、端末AA21は、図4(A)における同期通信装置10の動作と同様に、Sync/Follow Up/Delay Responseパケットを受信し、Delay Requestパケットを送信する。
4B is an example of a case where the synchronous communication device 10 operates in TC End to End (E2E) mode in the transmission and reception of PTP packets occurring between the time server 2 and the terminal group 20. For simplicity of explanation, the explanation focuses on the transmission and reception (S2) of PTP packets occurring between the terminal AA21 and the time server 2.
The time server 2 transmits Sync/Follow Up/Delay Response packets and receives Delay Request packets in the same manner as in Fig. 4A. The terminal AA21 receives Sync/Follow Up/Delay Response packets and transmits Delay Request packets in the same manner as the operation of the synchronous communication device 10 in Fig. 4A.

同期通信装置10は、タイムサーバ2からSyncパケットを受信すると(S11)、端末AA21に、Syncパケットを送信する(S21)。この際、同期通信装置10は、タイムサーバ2から受信したSyncパケットの同期通信装置10内での滞留時間Δ1を求めておく。
タイムサーバ2からFollow Upパケットを受信すると(S12)、同期通信装置10は、Follow Upパケット内のCorrectionフィールドの値に滞留時間Δ1を加算して、端末AA21に送信する(S22)。なお、Correctionフィールドは、装置内で発生したパケットの滞留時間を示すフィールドである。このCorrectionフィールドの値は、タイムサーバ2から送信されるときには所定の値となっており、TC機能を持つ機器を経由するごとに、当該機器内での滞留時間が加算される。また、同期通信装置10は、端末AA21より受信したDelay Requestパケットをタイムサーバ2に送信する際(S24)に、同期通信装置10での滞留時間Δ2を計算する。タイムサーバ2から受信したDelay Responseパケット(S25)に対して、滞留時間Δ2をCorrectionフィールドに加算して送信する(S26)。これにより、タイムサーバ2と端末AA21の間の平均伝送路遅延と、時刻補正量とを以下のように求めることができる。
平均伝送路遅延 = ((T2-T3)+(T4-T1)-Δ1-Δ2)/2
時刻補正量 = (T2-T1)-平均伝送路遅延―Δ1
When the synchronous communication device 10 receives a Sync packet from the time server 2 (S11), it transmits the Sync packet to the terminal AA21 (S21). At this time, the synchronous communication device 10 calculates a residence time Δ1 for the Sync packet received from the time server 2 within the synchronous communication device 10.
When the synchronous communication device 10 receives a Follow Up packet from the time server 2 (S12), the synchronous communication device 10 adds the residence time Δ1 to the value of the Correction field in the Follow Up packet and transmits it to the terminal AA21 (S22). The Correction field is a field that indicates the residence time of a packet generated in the device. The value of this Correction field is a predetermined value when it is transmitted from the time server 2, and the residence time in the device is added each time the packet passes through a device having a TC function. In addition, when the synchronous communication device 10 transmits a Delay Request packet received from the terminal AA21 to the time server 2 (S24), the synchronous communication device 10 calculates the residence time Δ2 in the synchronous communication device 10. The synchronous communication device 10 adds the residence time Δ2 to the Correction field of the Delay Response packet (S25) received from the time server 2 and transmits it (S26). In this way, the average transmission path delay between the time server 2 and the terminal AA21 and the time correction amount can be calculated as follows.
Average path delay = ((T2-T3)+(T4-T1)-Δ1-Δ2)/2
Time correction amount = (T2-T1) - average transmission line delay - Δ1

(同期通信装置10詳細動作)
次に、同期通信装置10の詳細動作について、図5から図7のフローチャートを用いて説明する。ここでは同期通信装置10の処理のうち、a.同期処理部61の処理(S32)、b.PTPパケットブリッジ部62の処理(S34)、c.補正タイミング制御部90の処理(S33)の3つについて詳細に説明する。
(Detailed Operation of Synchronous Communication Device 10)
Next, detailed operations of the synchronous communication device 10 will be described with reference to the flowcharts of Figures 5 to 7. Three of the processes of the synchronous communication device 10 will be described in detail below: a) the process of the synchronous processing unit 61 (S32), b) the process of the PTP packet bridge unit 62 (S34), and c) the process of the correction timing control unit 90 (S33).

まず、同期通信装置10は、端末群20の端末数を補正タイミング制御部90の端末数記憶部91にセットする(図5のS31)。なお、端末群20の端末数の把握方法は、どのような方法を用いてもよい。例えば、周期的に発生するPTPパケットの送受信処理時おいて、同期通信装置10が受信するDelay Requestパケットの数をカウントする方法がある。この後、同期通信装置10は、所定の終了条件が満たされるまで、S32~S34の処理を、並列に実行する。 First, the synchronous communication device 10 sets the number of terminals in the terminal group 20 in the terminal number storage unit 91 of the correction timing control unit 90 (S31 in FIG. 5). Any method may be used to determine the number of terminals in the terminal group 20. For example, there is a method of counting the number of Delay Request packets received by the synchronous communication device 10 during the transmission and reception processing of periodically generated PTP packets. After this, the synchronous communication device 10 executes the processes of S32 to S34 in parallel until a predetermined termination condition is satisfied.

(同期処理部61処理詳細)
次に、主に同期処理部61の処理(S32)の詳細について説明する。
同期処理部61は、S35において、タイムサーバ2から通信処理部A85を経由してPTPパケットを受信したか否かを判定する。PTPパケットを受信していない場合(S35でNo)には、同期処理部61は、S35に戻ってPTPパケットを受信するまで待機する。
PTPパケットを受信した場合(S35でYes)、同期処理部61は、パケット解析部63aの解析結果に応じて、受信したPTPパケットの種類毎に異なる処理を実行する(S5、S6、S7)。
(Details of the Processing of Synchronization Processing Unit 61)
Next, the details of the process (S32) mainly performed by the synchronization processing unit 61 will be described.
In S35, the synchronization processing unit 61 determines whether or not a PTP packet has been received from the time server 2 via the communication processing unit A85. If a PTP packet has not been received (No in S35), the synchronization processing unit 61 returns to S35 and waits until a PTP packet is received.
When a PTP packet is received (Yes in S35), the synchronization processing unit 61 executes different processes for each type of received PTP packet according to the analysis result of the packet analysis unit 63a (S5, S6, S7).

Syncパケットを受信した場合(S5)には、タイムスタンプ取得部63bが、タイムスタンプ格納部A83から、Syncパケットを受信したタイミングで生成されるタイムスタンプを取得する(S36)。通信処理部A85で生成されたタイムスタンプが、タイムスタンプ格納部A83に格納されるので、タイムスタンプ取得部63bは、その情報を取得する。この時に取得したタイムスタンプは、図4(A)によける時刻T2に相当する。この後、所定の終了条件を満たすまで、同期処理部61は、S35に戻り、PTPパケットの受信を待機する。 When a Sync packet is received (S5), the timestamp acquisition unit 63b acquires from the timestamp storage unit A83 the timestamp generated at the timing of receiving the Sync packet (S36). The timestamp generated by the communication processing unit A85 is stored in the timestamp storage unit A83, so the timestamp acquisition unit 63b acquires this information. The timestamp acquired at this time corresponds to time T2 in FIG. 4(A). After this, the synchronization processing unit 61 returns to S35 and waits to receive a PTP packet until a predetermined termination condition is met.

Follow Upパケットを受信した場合(S6)には、当該パケットにタイムサーバ2がSyncパケットを送信した時刻の情報が含まれるため、タイムスタンプ取得部63bは、Syncパケットの送信時刻を取得する(S37)。この時刻は、図4(A)におけるT1に相当する。そして、パケット生成部61aは、Delay Requestパケットを生成する(S38)。その後、通信処理部A85は、Delay Requestパケットを、TCスイッチングハブ3に送信する(S39)。送信後、タイムスタンプ取得部63bは、タイムスタンプ格納部A83から、Delay Requestパケット送信時のタイムスタンプを取得する(S40)。このタイムスタンプは、図4(A)におけるT3に相当する。この後、所定の終了条件を満たすまで、同期処理部61は、S35に戻り、PTPパケットの受信を待機する。 When a Follow Up packet is received (S6), the packet contains information about the time when the time server 2 sent the Sync packet, so the time stamp acquisition unit 63b acquires the transmission time of the Sync packet (S37). This time corresponds to T1 in FIG. 4 (A). The packet generation unit 61a then generates a Delay Request packet (S38). After that, the communication processing unit A85 transmits the Delay Request packet to the TC switching hub 3 (S39). After transmission, the time stamp acquisition unit 63b acquires a time stamp at the time of transmission of the Delay Request packet from the time stamp storage unit A83 (S40). This time stamp corresponds to T3 in FIG. 4 (A). After this, the synchronization processing unit 61 returns to S35 and waits to receive a PTP packet until a predetermined end condition is met.

Delay Responseパケットをタイムサーバ2から受信した場合(S7)には、以下の処理を実行る。まず、タイムスタンプ取得部63bは、Delay Responseパケットの情報から、同期通信装置10がS39で送信したDelay Requestパケットをタイムサーバ2が受信した時刻を取得する(S41)。このタイムスタンプは、図4(A)におけるT4に相当する。そして、補正時間計算部61bは、これまでに取得されたT1、T2、T3、T4を用いて、時刻情報88の補正量の計算を行い、計算した補正量を補正タイミング制御部90の補正値記憶部94に格納(セット)する(S22)。なお、時刻情報88を補正するにあたり、時刻の値を直接上書きする方法で補正を行う方法や、時刻情報88の進み量を変更することにより補正する方法等があるが、いずれの方法を用いてもよい。この後、所定の終了条件を満たすまで、同期処理部61は、S35に戻り、PTPパケットの受信を待機する。 When a Delay Response packet is received from the time server 2 (S7), the following process is executed. First, the time stamp acquisition unit 63b acquires the time when the time server 2 received the Delay Request packet transmitted by the synchronous communication device 10 in S39 from the information of the Delay Response packet (S41). This time stamp corresponds to T4 in FIG. 4 (A). Then, the correction time calculation unit 61b calculates the correction amount of the time information 88 using T1, T2, T3, and T4 acquired so far, and stores (sets) the calculated correction amount in the correction value storage unit 94 of the correction timing control unit 90 (S22). In addition, when correcting the time information 88, there is a method of performing correction by directly overwriting the time value, a method of correcting by changing the advance amount of the time information 88, etc., but either method may be used. After this, the synchronization processing unit 61 returns to S35 and waits to receive a PTP packet until a specified termination condition is met.

(PTPパケットブリッジ部62処理詳細)
次に、PTPパケットブリッジ部62の処理(S34)の詳細について説明する。
まず、図6のS43において、PTPパケットブリッジ部62は、同期通信装置10がPTPパケットを受信したか否かを判定する。PTPパケットを受信していない場合(S43でNo)には、PTPパケットブリッジ部62は、S42に戻ってPTPパケットを受信するまで待機する。
PTPパケットを受信した場合(S43でYes)には、PTPパケットブリッジ部62は、パケット解析部63aの解析結果に応じて、受信したPTPパケットの種類毎に異なる処理を実行する(S15、S16、S17、S18)。
(Details of the process of the PTP packet bridge unit 62)
Next, the process (S34) of the PTP packet bridge unit 62 will be described in detail.
6, the PTP packet bridge unit 62 determines whether or not a PTP packet has been received by the synchronous communication device 10. If a PTP packet has not been received (No in S43), the PTP packet bridge unit 62 returns to S42 and waits until a PTP packet is received.
When a PTP packet is received (Yes in S43), the PTP packet bridge unit 62 executes different processing for each type of received PTP packet according to the analysis result of the packet analysis unit 63a (S15, S16, S17, S18).

Syncパケットを受信した場合(S15)には、滞留時間計算部62cは、タイムスタンプ取得部63bを介して、タイムスタンプ格納部A83から、Syncパケットの受信した時刻(タイムスタンプ)を取得する(S44)。この時刻は、上述のS36で取得したT2と同一の値であるが、滞留時間計算部62cは、Syncパケットの滞留時間を計測するための滞留開始時刻(Tss)として扱う。次に、PTPパケットブリッジ部62は、通信処理部B86から端末群20に、Syncパケットを送信させる(S45)。この際、滞留時間計算部62cは、タイムスタンプ格納部B84から、Syncパケットを送信した時刻を取得する(S46)。この時刻を、滞留時間計算部62cは、Syncパケットの滞留時間を計測するための滞留終了時刻(Tse)として扱う。そして、滞留時間計算部62cは、Syncパケットの滞留時間Δsを、Tse-Tssより求める(S47)。この後、所定の終了条件を満たすまで、PTPパケットブリッジ部62は、S43に戻り、PTPパケットの受信を待機する。 When a Sync packet is received (S15), the residence time calculation unit 62c acquires the time (timestamp) at which the Sync packet was received from the timestamp storage unit A83 via the timestamp acquisition unit 63b (S44). This time is the same value as T2 acquired in S36 above, but the residence time calculation unit 62c treats it as the residence start time (Tss) for measuring the residence time of the Sync packet. Next, the PTP packet bridge unit 62 causes the communication processing unit B86 to transmit the Sync packet to the terminal group 20 (S45). At this time, the residence time calculation unit 62c acquires the time at which the Sync packet was transmitted from the timestamp storage unit B84 (S46). The residence time calculation unit 62c treats this time as the residence end time (Tse) for measuring the residence time of the Sync packet. Then, the residence time calculation unit 62c calculates the residence time Δs of the Sync packet from Tse-Tss (S47). After this, the PTP packet bridge unit 62 returns to S43 and waits to receive a PTP packet until a predetermined termination condition is met.

Follow Upパケットを受信した場合(S16)には、PTPパケットブリッジ部62は、パケット補正部62bに、Syncパケットの滞留時間Δsを、Follow UpパケットのCorrection Fieldに反映させる(S48)。具体的には、パケット補正部62bは、Follow UpパケットのCorrection Fieldの値に、Syncパケットの滞留時間Δsを加算した値を、新たなCrrection Fieldの値に書き替える。そして、PTPパケットブリッジ部62は、新たなFollow Upパケットを、通信処理部B86から端末群20に送信させる(S49)。この後、所定の終了条件を満たすまで、PTPパケットブリッジ部62は、S43に戻り、PTPパケットの受信を待機する。 When a Follow Up packet is received (S16), the PTP packet bridge unit 62 causes the packet correction unit 62b to reflect the residence time Δs of the Sync packet in the Correction Field of the Follow Up packet (S48). Specifically, the packet correction unit 62b rewrites the value obtained by adding the residence time Δs of the Sync packet to the value of the Correction Field of the Follow Up packet as a new value of the Correction Field. Then, the PTP packet bridge unit 62 causes the communication processing unit B86 to transmit a new Follow Up packet to the terminal group 20 (S49). After this, the PTP packet bridge unit 62 returns to S43 and waits to receive a PTP packet until a predetermined termination condition is met.

端末群20からDelay Requestを受信した場合(S17)には、まず、タイムスタンプ取得部63bは、タイムスタンプ格納部B84から、Delay Requestパケットを受信した時刻を取得する(S50)。滞留時間計算部62cは、取得した時刻を、Delay Requestパケットの滞留時間を計測するための滞留開始時刻(Trs[n]:n=1~端末群20の台数)として扱う。そして、PTPパケットブリッジ部62は、Delay Requestパケットを、通信処理部A85を介してTCスイッチングハブ3に送信させる(S51)。そして、滞留時間計算部62cは、Delay Requestパケットを送信した時刻をタイムスタンプ格納部A83から取得する(S52)。滞留時間計算部62cは、取得した時刻を、Delay Request パケットの滞留時間を計測するための滞留終了時刻Tre[n]として扱う。そして、滞留時間計算部62cは、Delay Requestパケットの滞留時間Δr[n]を、Tre[n]-Trs[n]より求める(S53)。この後、所定の終了条件を満たすまで、PTPパケットブリッジ部62は、S43に戻り、PTPパケットの受信を待機する。 When a Delay Request is received from the terminal group 20 (S17), the time stamp acquisition unit 63b first acquires the time when the Delay Request packet was received from the time stamp storage unit B84 (S50). The retention time calculation unit 62c treats the acquired time as the retention start time (Trs[n]: n = 1 to the number of terminals in the terminal group 20) for measuring the retention time of the Delay Request packet. Then, the PTP packet bridge unit 62 transmits the Delay Request packet to the TC switching hub 3 via the communication processing unit A85 (S51). Then, the retention time calculation unit 62c acquires the time when the Delay Request packet was transmitted from the time stamp storage unit A83 (S52). The residence time calculation unit 62c treats the acquired time as the residence end time Tre[n] for measuring the residence time of the Delay Request packet. The residence time calculation unit 62c then obtains the residence time Δr[n] of the Delay Request packet from Tre[n]-Trs[n] (S53). After this, the PTP packet bridge unit 62 returns to S43 and waits to receive a PTP packet until a predetermined end condition is met.

Delay Responseパケットを受信した場合(S18)、PTPパケットブリッジ部62は、今回受信したDelay Responseパケットが、端末群20のうち、どの端末向けのDelay Responseパケットであるかを判定する(S54)。なお、どの端末向けのパケットであるかは、例えば、パケットに含まれるMACアドレス/IPアドレス等で判定すればよい。そして、パケット補正部62bは、S53で求めたDelay Requestパケットの滞留時間Δr[n]のうち、当該パケットに対応する滞留時間を、Delay Responseパケットに反映させる(S55)。具体的には、に、PTPパケットブリッジ部62は、Correction Fieldの値に、Delay Requestパケットの滞留時間Δrを加算した値を、新たなCrrection Fieldの値に書き替える。そして、PTPパケットブリッジ部62は、新たなDelay Responseパケットを、通信処理部B86から端末群20に送信させる(S56)。この後、所定の終了条件を満たすまで、PTPパケットブリッジ部62は、S43に戻り、PTPパケットの受信を待機する。 When a Delay Response packet is received (S18), the PTP packet bridge unit 62 determines which terminal in the terminal group 20 the received Delay Response packet is intended for (S54). The terminal to which the packet is intended may be determined, for example, by the MAC address/IP address contained in the packet. The packet correction unit 62b then reflects the residence time corresponding to the packet among the residence times Δr[n] of the Delay Request packet obtained in S53 in the Delay Response packet (S55). Specifically, the PTP packet bridge unit 62 rewrites the value obtained by adding the residence time Δr of the Delay Request packet to the value of the Correction Field as the new value of the Correction Field. Then, the PTP packet bridge unit 62 causes the communication processing unit B86 to transmit a new Delay Response packet to the terminal group 20 (S56). After this, the PTP packet bridge unit 62 returns to S43 and waits to receive a PTP packet until a predetermined termination condition is met.

(補正タイミング制御部90処理詳細)
次に、補正タイミング制御部90の処理(S33)の詳細について、図7を用いて説明する。
まず、補正タイミング制御部90は、S71において、上述の図5のS31において主制御部60がセットした端末群20の端末数を端末数記憶部91に記憶する。そして、補正タイミング制御部90は、パケットカウンタの処理(S90)と、補正結果の反映(SS91)とを、所定の終了条件を満たすまで繰り返し実行する。
(Details of the process by the correction timing control unit 90)
Next, the process (S33) of the correction timing control unit 90 will be described in detail with reference to FIG.
First, in S71, the correction timing control unit 90 stores the number of terminals in the terminal group 20 set by the main control unit 60 in S31 of Fig. 5 described above in the terminal number storage unit 91. Then, the correction timing control unit 90 repeatedly executes packet counter processing (S90) and reflection of the correction result (SS91) until a predetermined end condition is satisfied.

まず、S90の処理について説明する。
補正タイミング制御部90は、S72において、同期通信装置10が、PTPパケットを受信したか否かを判定する。PTPパケットを受信していない場合(S72でNo)には、補正タイミング制御部90は、S72に戻ってPTPパケットを受信するまで待機する。
PTPパケットを受信した場合(S72でYes)、補正タイミング制御部90は、パケット解析部63aの解析結果に応じて、受信したパケットの種類毎に異なる処理を実行する(S73、S74、S75)。なお、PTPパケットの受信は、例えばスヌープバス89を介して、パケットの受信状況を確認することにより実現できる。
First, the process of S90 will be described.
In S72, the correction timing control unit 90 determines whether or not a PTP packet has been received by the synchronous communication device 10. If a PTP packet has not been received (No in S72), the correction timing control unit 90 returns to S72 and waits until a PTP packet is received.
When a PTP packet is received (Yes in S72), the correction timing control unit 90 executes different processes for each type of received packet according to the analysis result of the packet analysis unit 63a (S73, S74, S75). Note that the reception of a PTP packet can be realized by checking the reception status of the packet via the snoop bus 89, for example.

Syncパケットを受信した場合には、補正タイミング制御部90は、パケットカウンタ93を‘0’にリセットする(S73)。なお、同期の開始を検知するための利用できる情報であれば、補正タイミング制御部90は、どの情報を用いてもよい。例えば、Follow-Upパケットを、同期の開始を検知する情報として用いてもよい。あるいは、Syncパケットの前にAnnounceパケットが必ず送信される場合には、これを同期の開始を検知する情報として用いてもよい。この後、所定の終了条件を満たすまで、補正タイミング制御部90は、S72に戻り、PTPパケットの受信を待機する。 When a Sync packet is received, the correction timing control unit 90 resets the packet counter 93 to '0' (S73). The correction timing control unit 90 may use any information that can be used to detect the start of synchronization. For example, a Follow-Up packet may be used as information to detect the start of synchronization. Alternatively, if an Announce packet is always sent before a Sync packet, this may be used as information to detect the start of synchronization. After this, the correction timing control unit 90 returns to S72 and waits to receive a PTP packet until a specified end condition is met.

受信したPTPパケットがDelay Requestパケットであった場合には、補正タイミング制御部90は、このパケットが通信処理部A85より送信されたことに応じて、パケットカウンタ93の値を加算(インクリメント処理)する(S74)。なお、Delay Requestパケットの送信完了を検知するには、通信処理部A85から直接通知をもらってもよい。あるいは、メモリ71からパケット転送部87へDelay Requestパケットが転送されることを、スヌープバス89を介して確認してから所定時間後に、パケットカウンタ93の値を加算するようにしてもよい。この後、所定の終了条件を満たすまで、補正タイミング制御部90は、S72に戻り、PTPパケットの受信を待機する。 If the received PTP packet is a Delay Request packet, the correction timing control unit 90 increments the value of the packet counter 93 in response to the packet being transmitted from the communication processing unit A85 (S74). Note that to detect the completion of transmission of the Delay Request packet, a notification may be received directly from the communication processing unit A85. Alternatively, the value of the packet counter 93 may be incremented a predetermined time after it is confirmed via the snoop bus 89 that the Delay Request packet is transferred from the memory 71 to the packet transfer unit 87. After this, the correction timing control unit 90 returns to S72 and waits to receive a PTP packet until a predetermined end condition is met.

同期通信装置10が受信したパケットが、その他(Sync/Delay Requestパケット以外)のPTPパケットであった場合には、補正タイミング制御部90は、何もしない(S75)。この後、所定の終了条件を満たすまで、補正タイミング制御部90は、S72に戻り、PTPパケットの受信を待機する。 If the packet received by the synchronous communication device 10 is a PTP packet other than a Sync/Delay Request packet, the correction timing control unit 90 does nothing (S75). After this, the correction timing control unit 90 returns to S72 and waits to receive a PTP packet until a predetermined termination condition is met.

次に、S91の処理について説明する。
まず、補正タイミング制御部90は、主制御部60より、補正値が補正値記憶部94にセットされたか否かを確認する。補正値がセットされていなければ(S76でNo)、補正タイミング制御部90は、S76に戻り、補正値のセットを待機する。補正値がセットされる(S76でYes)と、補正タイミング制御部90は、タイマー部92を起動させる(S77)。
Next, the process of S91 will be described.
First, the correction timing control unit 90 checks whether or not a correction value has been set in the correction value storage unit 94 by the main control unit 60. If a correction value has not been set (No in S76), the correction timing control unit 90 returns to S76 and waits for a correction value to be set. If a correction value has been set (Yes in S76), the correction timing control unit 90 starts the timer unit 92 (S77).

次に、補正タイミング制御部90は、パケットカウンタ93の値が端末数記憶部91の端末数と一致しているか否かを判定する(S78)。
パケットカウンタ93の値が端末数と一致している場合(S78でYes)には、すでに滞留時間の計測が必要なDelay Requestパケットが装置内で滞留することはないので、補正値を反映させるために、次の処理(S80)に移行する。すなわち、端末群20の全ての端末からのDelay Requestパケットをタイムサーバ2宛てに送信し、一連のPTPパケットの送受信処理(同期処理)が終了した後に、補正タイミング制御部90は、S80に移行して時刻情報88の補正を行わせる。すなわち、補正タイミング制御部90は、一連のPTPパケットの送信処理が終了したときに、時刻情報88の補正を実行させる。
パケットカウンタ93の値が端末数と一致していない場合(S78でNo)には、補正タイミング制御部90は、タイマー部92の値が所定時間経過しているか否かを判定する(S79)。所定時間経過している場合(S79でYes)は、補正タイミング制御部90は、S80に移行する。PTPパケットの受信から所定時間経過していれば、滞留時間の測定が終了していると考えられるため、補正タイミング制御部90は、S80に移行して、時刻情報88の補正を実行させる。なお、判定のための所定時間は、端末数、PTPパケットの平均的な処理時間等を考慮して決定する。一方、所定時間経過していない場合(S79でNo)は、補正タイミング制御部90は、S82で待機した後、S78に戻る。
Next, the correction timing control unit 90 judges whether the value of the packet counter 93 coincides with the number of terminals in the terminal number storage unit 91 (S78).
If the value of the packet counter 93 matches the number of terminals (Yes in S78), there are no Delay Request packets that need to measure the retention time remaining in the device, so the process proceeds to the next process (S80) to reflect the correction value. That is, after Delay Request packets from all terminals in the terminal group 20 are transmitted to the time server 2 and a series of PTP packet transmission and reception processes (synchronization processes) are completed, the correction timing control unit 90 proceeds to S80 and causes the time information 88 to be corrected. That is, the correction timing control unit 90 causes the time information 88 to be corrected when a series of PTP packet transmission processes are completed.
If the value of the packet counter 93 does not match the number of terminals (No in S78), the correction timing control unit 90 judges whether or not a predetermined time has elapsed in the value of the timer unit 92 (S79). If the predetermined time has elapsed (Yes in S79), the correction timing control unit 90 proceeds to S80. If the predetermined time has elapsed since the reception of the PTP packet, it is considered that the measurement of the residence time has ended, so the correction timing control unit 90 proceeds to S80 and corrects the time information 88. The predetermined time for the judgment is determined in consideration of the number of terminals, the average processing time of the PTP packet, etc. On the other hand, if the predetermined time has not elapsed (No in S79), the correction timing control unit 90 waits in S82 and then returns to S78.

S80では、補正タイミング制御部90は、上述のS22において補正値記憶部94に記憶された補正値(補正量)を、時刻情報88に反映させる。
この際、補正値が、直接の値で与えられた場合は、S83等で待機されている時間等の遅延が発生しているため、補正タイミング制御部90は、タイマー部92を参照し、遅延時間分のオフセットをかけて補正を行う。あるいは、補正値が、時刻情報88の進み量としてセットされている場合は、特にオフセットを用いる必要はなく、補正タイミング制御部90は、補正値に応じて時刻情報88を補正する。
S80で補正値を反映させた後、補正タイミング制御部90は、タイマー部92を、停止/クリアさせ(S81)、補正値記憶部94の情報(補正値)をクリアする(S82)。この後、所定の終了条件を満たすまで、補正タイミング制御部90は、S76に戻り、補正値のセットを待機する。
In S80, the correction timing control unit 90 causes the time information 88 to reflect the correction value (correction amount) stored in the correction value storage unit 94 in S22 described above.
At this time, if the correction value is given as a direct value, a delay such as the waiting time in S83 occurs, so the correction timing control unit 90 refers to the timer unit 92 and performs correction by applying an offset for the delay time. Alternatively, if the correction value is set as the advancement amount of the time information 88, there is no particular need to use an offset, and the correction timing control unit 90 corrects the time information 88 according to the correction value.
After reflecting the correction value in S80, the correction timing control unit 90 stops/clears the timer unit 92 (S81) and clears the information (correction value) in the correction value storage unit 94 (S82). After this, the correction timing control unit 90 returns to S76 and waits for the correction value to be set until a predetermined end condition is satisfied.

以上説明したように、本実施形態では、装置内の処理が、所定の条件(例えばPTPパケットの滞留時間の測定を行っていない等)を満たしたときに、時刻情報88の補正を行うことにより、滞留時間の測定精度を向上させることができる。これにより、複数の装置間での時刻の同期の精度を向上させることができる。 As described above, in this embodiment, when the processing within the device satisfies a predetermined condition (e.g., the residence time of a PTP packet is not measured), the time information 88 is corrected, thereby improving the measurement accuracy of the residence time. This makes it possible to improve the accuracy of time synchronization between multiple devices.

(変形例)
なお、上述の実施形態では、補正タイミング制御部90においては、全ての端末群20からのDelay Requestパケットの送信が終了してから、時刻補正を実行する方法について示したが、これに限定されない。
例えば、端末群20から送信される各Delay Requestパケットの送信間隔が十分にあるのであれば、以下の方法を用いることができる。すなわち、Delay Requestのパケット滞留中にOnにし、滞留が無くなったタイミングでOffにするフラグ(保持部)を用意する。そして、補正タイミング制御部90は、このフラグがOffになったタイミング(当該パケットが滞留していないとき)で補正処理を実行させる。
(Modification)
In the above embodiment, the correction timing control unit 90 performs time correction after all of the terminal groups 20 have transmitted the Delay Request packets. However, the present invention is not limited to this method.
For example, if there is a sufficient interval between the transmission of each Delay Request packet sent from the terminal group 20, the following method can be used. That is, a flag (storage unit) is prepared that is turned On while a Delay Request packet is retained and turned Off when the packet is no longer retained. Then, the correction timing control unit 90 executes the correction process when the flag is turned Off (when the packet is not retained).

また、予めAnnounce/Syncパケットを同期通信装置10が受信してから全てのDelay Requestパケットを送信するまでの時間を把握しているのであれば、以下の方法を用いることができる。すなわち、Announce/Syncパケットの受信から、その所定時間までは時刻情報88の補正処理を保留しておき、所定時間後に補正処理を実行するという方法である。
さらに、上述の実施形態では、補正タイミング制御部90を主制御部60とは独立した構成について説明したが、主制御部60内に補正タイミング制御部90を設けた構成としてもよい。
Also, if the time from when the synchronous communication device 10 receives the Announce/Sync packet until when it transmits all the Delay Request packets is known in advance, the following method can be used: That is, the correction process of the time information 88 is suspended until a predetermined time from when the synchronous communication device 10 receives the Announce/Sync packet, and the correction process is executed after the predetermined time.
Furthermore, in the above embodiment, the correction timing control section 90 is configured independent of the main control section 60, but the correction timing control section 90 may be provided within the main control section 60.

また、本実施形態では、同期通信装置10に、2つの通信処理部(通信処理部A85、通信処理部B86)を設けた例について示したが、例えば、通信処理部B86に相当するインターフェースを複数持たせてもよい。これにより、端末群20の各端末が同期通信装置10に対して直接スター型接続されるシステムにも適用可能となる。 In addition, in this embodiment, an example is shown in which the synchronous communication device 10 is provided with two communication processing units (communication processing unit A85, communication processing unit B86), but, for example, it may have multiple interfaces equivalent to the communication processing unit B86. This makes it possible to apply the present invention to a system in which each terminal of the terminal group 20 is directly connected to the synchronous communication device 10 in a star configuration.

また、上述の実施形態では、1つの時刻情報88を用いた場合について説明したが、受信側と送信側とで別個の2つの時刻情報(第1の時刻情報、第2の時刻情報)を用い、第1の時刻情報と第2の時刻情報とを一致させる処理を行うようにしてもよい。この場合、上述の処理に加え、第1の時刻情報と第2の時刻情報とを一致させる処理を、例えば滞留時間の測定時以外に実行するようにしてもよい。 In the above embodiment, a case where one piece of time information 88 is used has been described, but two separate pieces of time information (first time information, second time information) may be used on the receiving side and the transmitting side, and a process of matching the first time information with the second time information may be performed. In this case, in addition to the above process, the process of matching the first time information with the second time information may be performed, for example, at a time other than when measuring the residence time.

以上、本発明の好ましい実施形態について説明したが、本発明はこれらの実施形態に限定されず、その要旨の範囲内で種々の変形及び変更が可能である。また、本発明は、例えば、システム、装置、方法、プログラム若しくは記録媒体(記憶媒体)等としての実施態様をとることが可能である。 Although the preferred embodiments of the present invention have been described above, the present invention is not limited to these embodiments, and various modifications and changes are possible within the scope of the gist of the present invention. Furthermore, the present invention can be embodied, for example, as a system, device, method, program, or recording medium (storage medium), etc.

また、本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。ASICはApplication Specific Integrated Circuitの略である。 The present invention can also be realized by supplying a program that realizes one or more of the functions of the above-mentioned embodiments to a system or device via a network or storage medium, and having one or more processors in the computer of the system or device read and execute the program. It can also be realized by a circuit (e.g., ASIC) that realizes one or more functions. ASIC is an abbreviation for Application Specific Integrated Circuit.

2…タイムサーバ、3…TCスイッチングハブ、10…同期通信装置、20…端末群、60…主制御部、61…同期処理部、62…PTPパケットブリッジ部、80…通信制御部、90…補正タイミング制御部 2... time server, 3... TC switching hub, 10... synchronous communication device, 20... terminal group, 60... main control unit, 61... synchronization processing unit, 62... PTP packet bridge unit, 80... communication control unit, 90... correction timing control unit

Claims (11)

同期情報を受信する受信手段と、
前記受信手段が受信した前記同期情報に当該同期情報をブリッジするにあたり経過した滞留時間を付加した同期情報を送信する送信手段と、
前記受信手段が受信した前記同期情報が示す時刻同期するように、時刻情報を補正する補正手段と、
前記時刻情報に基づいて前滞留時間を測定する測定手段と、
記送信手段による前記送信手段による送信が終了したときに、前記補正手段による前記時刻情報の補正を実行させる制御手段と、を備えることを特徴とする通信装置。
A receiving means for receiving synchronization information;
a transmitting means for transmitting the synchronization information obtained by adding a residence time elapsed when bridging the synchronization information to the synchronization information received by the receiving means;
a correction means for correcting time information so as to synchronize with the time indicated by the synchronization information received by the receiving means;
A measuring means for measuring the residence time based on the time information;
a control unit that causes the correction unit to correct the time information when the transmission unit has finished transmitting the time information.
前記制御手段は、前記送信手段による前記送信手段による送信が終了し、前記測定手段による前記滞留時間の測定を行っていないときに、前記補正手段による前記時刻情報の補正を実行させる、ことを特徴とする請求項1記載の通信装置。 2. The communication device according to claim 1, wherein the control means causes the correction means to execute correction of the time information when the transmission by the transmission means has been completed and the measurement means is not measuring the residence time. 前記制御手段は、前記送信手段による前記送信手段による送信が終了し、前記測定手段による前記滞留時間の測定が終了したときに、前記補正手段による前記時刻情報の補正を実行させる、ことを特徴とする請求項1記載の通信装置。 2. The communication device according to claim 1, wherein the control means causes the correction means to execute correction of the time information when the transmission by the transmission means is completed and the measurement of the residence time by the measurement means is completed. 前記制御手段は、前記送信手段による前記送信手段による送信が終了し、前記信手段による前記同期情報の受信から所定時間経過したときに、前記補正手段による前記時刻情報の補正を実行させる、ことを特徴とする請求項1記載の通信装置。 2. The communication device according to claim 1, wherein the control means causes the correction means to execute correction of the time information when transmission by the transmitting means is completed and a predetermined time has elapsed since reception of the synchronization information by the receiving means. 前記受信手段は、前記同期情報を受信した時刻を示す時刻を出力する第1の出力手段を備え、
前記補正手段は、前記第1の出力手段が出力した時刻に基づいて前記時刻情報を補正する、ことを特徴とする請求項1から請求項のいずれか1項に記載の通信装置。
the receiving means includes a first output means for outputting a time indicating a time when the synchronization information was received,
5. The communication device according to claim 1, wherein the correction means corrects the time information based on the time output by the first output means.
前記送信手段は、前送信時刻を示す時刻を出力する第2の出力手段を備え、
前記測定手段は、前記第1の出力手段が出力した時刻と前記第2の出力手段が出力した時刻に基づいて前記滞留時間を測定する、ことを特徴とする請求項に記載の通信装置。
the transmitting means includes a second output means for outputting a time indicating a time of the transmission ,
6. The communication device according to claim 5 , wherein the measuring means measures the residence time based on a time when the first output means outputs and a time when the second output means outputs.
前記時刻情報を保持する第1の保持手段を備え、
前記第1の出力手段は、前記第1の保持手段を参照して、前記受信手段が前記同期情報を受信した時刻を出力し、
前記第2の出力手段は、前記第1の保持手段を参照して、前記送信時刻を出力する、ことを特徴とする請求項に記載の通信装置。
a first storage means for storing the time information;
the first output means references the first holding means and outputs the time at which the receiving means received the synchronization information;
7. The communication device according to claim 6 , wherein said second output means outputs the time of said transmission by referring to said first holding means.
当該通信装置と同一のネットワーク内にある通信装置の数を保持する第の保持手段と、
前記送信手段の数を計数する計数手段と、
を備え、
前記制御手段は、前記計数手段が計数した数が、前記第の保持手段に保持されている前記通信装置の数と一致したときに、前記補正手段による前記補正を実行させる、
ことを特徴とする請求項1から請求項のいずれか1項に記載の通信装置。
A second storage means for storing the number of communication devices in the same network as the communication device;
a counting means for counting the number of transmissions of the transmitting means;
Equipped with
the control means causes the correction means to execute the correction when the number counted by the counting means matches the number of the communication devices stored in the second storage means.
The communication device according to any one of claims 1 to 7 .
前記受信手段が受信した前記同期情報の種類を解析する解析手段を備え、
前記解析手段の解析結果に応じて、所定の前記同期情報が当該通信装置内に滞留してい
るか否かを保持する第の保持手段を備え、
前記制御手段は、
前記第の保持手段を参照し、前記所定の前記同期情報が当該通信装置内に滞留していないときに、前記補正手段による前記補正を実行させる、ことを特徴とする請求項1から請求項のいずれか1項に記載の通信装置。
an analysis means for analyzing a type of the synchronization information received by the receiving means;
a third storage means for storing whether or not the predetermined synchronization information is retained in the communication device according to an analysis result of the analysis means;
The control means
The communication device according to any one of claims 1 to 7, characterized in that the third holding means is referenced, and when the specified synchronization information is not retained within the communication device, the correction means is caused to execute the correction .
同期情報を受信するステップと、
前記受信した前記同期情報に当該同期情報をブリッジするにあたり経過した滞留時間を付加した同期情報を送信するステップと、
前記受信した前記同期情報が示す時刻同期するように、時刻情報を補正するステップと、
前記時刻情報に基づいて前滞留時間を測定するステップと、
前記送信が終了したときに、前記時刻情報の補正を実行させるステップと、を有することを特徴とする通信方法。
receiving synchronization information;
a step of transmitting the received synchronization information by adding a residence time elapsed in bridging the synchronization information to the received synchronization information ;
correcting time information so as to synchronize with the time indicated by the received synchronization information;
measuring the residence time based on the time information;
and correcting the time information when the transmission is completed .
コンピュータを、請求項1から請求項のいずれか1項に記載の通信装置の各手段として機能させるためのプログラム。 A program for causing a computer to function as each of the means of the communication device according to any one of claims 1 to 9 .
JP2020149905A 2020-09-07 2020-09-07 Communication device, communication method, and program Active JP7625384B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020149905A JP7625384B2 (en) 2020-09-07 2020-09-07 Communication device, communication method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020149905A JP7625384B2 (en) 2020-09-07 2020-09-07 Communication device, communication method, and program

Publications (2)

Publication Number Publication Date
JP2022044332A JP2022044332A (en) 2022-03-17
JP7625384B2 true JP7625384B2 (en) 2025-02-03

Family

ID=80679093

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020149905A Active JP7625384B2 (en) 2020-09-07 2020-09-07 Communication device, communication method, and program

Country Status (1)

Country Link
JP (1) JP7625384B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190138047A1 (en) 2017-11-09 2019-05-09 Canon Kabushiki Kaisha Communication device, cascaded network and internal synchronization method
JP6869447B1 (en) 2020-07-01 2021-05-12 三菱電機株式会社 Time synchronization device, time synchronization system, time synchronization method and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190138047A1 (en) 2017-11-09 2019-05-09 Canon Kabushiki Kaisha Communication device, cascaded network and internal synchronization method
JP6869447B1 (en) 2020-07-01 2021-05-12 三菱電機株式会社 Time synchronization device, time synchronization system, time synchronization method and program

Also Published As

Publication number Publication date
JP2022044332A (en) 2022-03-17

Similar Documents

Publication Publication Date Title
US10158444B1 (en) Event-driven precision time transfer
CN101447861B (en) IEEE 1588 time synchronization system and implementation method thereof
US7447237B2 (en) Radio access network system, radio communication method, synchronous server and node
JP5792884B2 (en) Method, apparatus and system for time distribution in a communication network
CN101578806B (en) Communication device, synchronous communication system, and synchronous communication method
CN112166565B (en) Timing synchronization of cable networks
JP5518191B2 (en) Method and system for optical transmission network carrying time synchronization protocol
US11456849B2 (en) Method and apparatus for synchronizing different communication ports
JP2006101539A (en) Network transfer device
US20030142696A1 (en) Method for ensuring access to a transmission medium
US10853288B2 (en) Bus system
US20230163871A1 (en) Network interface card structure and clock synchronization method to precisely acquire heterogeneous ptp synchronization information for ptp synchronization network extension
JP5328076B2 (en) Method and control system for synchronizing sub-units in time, and sub-unit capable of time synchronization
CN108599888A (en) A kind of distributed network clock synchronizing system
CN110719135A (en) Time calibration method and system and electronic device
JP7625384B2 (en) Communication device, communication method, and program
CN102891747B (en) Clock synchronizing method and device in a kind of communication network
CN104244302B (en) A kind of detection method and equipment of asymmetry link
CN116800366A (en) Clock synchronization method, device and storage medium
EP3812716B1 (en) Dynamic weighing device
CN113228564B (en) Stamping processing method and device
EP4454167A1 (en) Methods and network devices for ptp clock synchronization
CN116192354B (en) Time synchronization methods for industrial control systems, industrial control systems and storage media
KR102783470B1 (en) Method and system of time synchronization between multiple precision time protocol master clocks and ptp slave clocks along communication paths
JP7651437B2 (en) Time synchronization error generating device and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230904

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20240614

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240719

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240730

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240927

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250122

R150 Certificate of patent or registration of utility model

Ref document number: 7625384

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150