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
JP7547906B2 - Time synchronization method, time synchronization method, communication device - Google Patents
[go: Go Back, main page]

JP7547906B2 - Time synchronization method, time synchronization method, communication device - Google Patents

Time synchronization method, time synchronization method, communication device Download PDF

Info

Publication number
JP7547906B2
JP7547906B2 JP2020165013A JP2020165013A JP7547906B2 JP 7547906 B2 JP7547906 B2 JP 7547906B2 JP 2020165013 A JP2020165013 A JP 2020165013A JP 2020165013 A JP2020165013 A JP 2020165013A JP 7547906 B2 JP7547906 B2 JP 7547906B2
Authority
JP
Japan
Prior art keywords
tsn
ptp
packet
time synchronization
communication 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
JP2020165013A
Other languages
Japanese (ja)
Other versions
JP2022056988A (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.)
Meidensha Corp
Original Assignee
Meidensha 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 Meidensha Corp filed Critical Meidensha Corp
Priority to JP2020165013A priority Critical patent/JP7547906B2/en
Publication of JP2022056988A publication Critical patent/JP2022056988A/en
Application granted granted Critical
Publication of JP7547906B2 publication Critical patent/JP7547906B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Description

本発明は、PTP(Precision Time Protocol)による時刻同期の処理を使って、TSN領域間での時刻同期を図る技術に関する。 The present invention relates to a technology for achieving time synchronization between TSN domains using time synchronization processing based on PTP (Precision Time Protocol).

(1)PTP
PTP対応の中継装置(通信装置)には、「EtoE(マスターとスレーブ間)」のONEステップで時刻同期を行うことが可能なタイプが存在する。このタイプの中継装置によれば、図1に示す時刻同期の処理手続を経て、式(1)により伝送時間Da(Meanpath)が計算される。
式(1):伝送時間Da=「(T4-T3)+(T2-T1)」/2
また、マスター・スレーブ間の時刻補正は、式2で算出されたオフセットの値に基づき行われる。
式(2):オフセット=「(T2-T1)-(T4-T3)」/2
なお、PTP時刻同期における伝送時間の変動の影響を抑えて時刻同期の精度の向上を図る技術として、特許文献1が公知となっている。
(1) Point-to-point play
Among PTP-compatible relay devices (communication devices), there exists a type that can perform time synchronization in one step of "EtoE (between master and slave)". With this type of relay device, the transmission time Da (Meanpath) is calculated by formula (1) through the time synchronization processing procedure shown in FIG.
Equation (1): Transmission time Da = "(T4 - T3) + (T2 - T1)" / 2
In addition, time correction between the master and slave is performed based on the offset value calculated by Equation 2.
Formula (2): Offset = "(T2 - T1) - (T4 - T3)" / 2
It should be noted that Patent Document 1 is known as a technology for improving the accuracy of time synchronization by suppressing the influence of fluctuations in transmission time in PTP time synchronization.

(2)TSN
TSN(Time-Sensitive Networking)は、標準のイーサネット(登録商標)を拡張する産業用ネットワークとITネットワークを相互運用するネットワーク技術であって、複数の規格から構成されている。
(2) TSN
Time-Sensitive Networking (TSN) is a network technology that extends standard Ethernet (registered trademark) to enable industrial networks and IT networks to interoperate with each other, and is made up of multiple standards.

例えば「IEEE802.1AS」規格(gPPT)の時刻同期によれば、図2に示すTSN時刻同期の処理手続、即ち「PtoP(隣接する機器同士)」のTWOステップを経て、式(3)により伝送時間Dが計算される。
式(3):伝送時間D=「(T4-T3)+(T2-T1)」/2=「(T4-T1)-(T3-T2)」/2
図3は、ONEステップとTWOステップとの違いを「SYNC」メッセージを例に示している。すなわち、ONEステップでは「T1」のタイムスタンプ情報を「SYNC」メッセージのパケットにセットして送信される。
For example, according to the time synchronization of the "IEEE 802.1AS" standard (gPPT), the transmission time D is calculated by the formula (3) after going through the TSN time synchronization processing procedure shown in FIG. 2, that is, the "PtoP (adjacent devices)" TWO step.
Equation (3): Transmission time D = "(T4-T3) + (T2-T1)" / 2 = "(T4-T1) - (T3-T2)" / 2
3 shows the difference between the ONE step and the TWO step by taking the "SYNC" message as an example. That is, in the ONE step, the timestamp information of "T1" is set in the packet of the "SYNC" message and transmitted.

一方、TWOステップでは、「T1」は「SYNC」メッセージのパケットではなく、「Follow_UP」メッセージのパケットにセットして送信する(「Pdelay_Resp_Follow_UP」メッセージも同じ。)。 On the other hand, in the TWO step, "T1" is sent by setting it to a "Follow_UP" message packet rather than a "SYNC" message packet (the same goes for the "Pdelay_Resp_Follow_UP" message).

そして、「gPTP」はTWOステップ方式で、図3に基づく受信時間の遅れ(t3-T2)を考慮した式(4)を用いて「T1」からの経過時間(t1)を算出し、「t1」と「t3」との時刻差からマスター・スレーブ間の時刻補正を行う。
式(4):経過時間(t1)=T1+D+(T3-T4)
"gPTP" uses a TWO step method to calculate the elapsed time (t1) from "T1" using equation (4) that takes into account the delay in reception time (t3-T2) based on Figure 3, and performs time correction between the master and slave from the time difference between "t1" and "t3".
Equation (4): Elapsed time (t1) = T1 + D + (T3 - T4)

特開2019-053633Patent Publication 2019-053633

TSNは新しい技術であり、また「IEEE802.1AS」規格によればTSNの「gPTP」時刻同期に未対応の中継装置(スイッチングハブ)は使用することができない。 TSN is a new technology, and according to the "IEEE802.1AS" standard, relay devices (switching hubs) that do not support TSN "gPTP" time synchronization cannot be used.

そのため、既存のネットワークに中継装置を追加する場合には、TSNの使用される領域は限定的となる。また、新規にネットワークを構築する場合であっても、すべての中継装置をTSN対応とすることは難しく、同様に限定的な使用となる。 Therefore, when adding a relay device to an existing network, the area in which TSN is used is limited. Even when building a new network, it is difficult to make all relay devices TSN-compatible, so use is similarly limited.

その一方で、離れたTSN領域(TSNネットワーク)同士で統一した管理を希望する場合や、同様のタイミングで処理をしたい場合などPTP時刻同期で解決できる問題は少なくない。このような場合、TSNネットワーク間を直接接続するための専用線を用意する方法も考えられるが、現在のTSNを搭載した中継装置だけでは直ぐに対応することは難しい。 On the other hand, there are many problems that can be solved by PTP time synchronization, such as when you want to unify management between distant TSN areas (TSN networks) or when you want to process at the same timing. In such cases, it is possible to consider preparing dedicated lines to directly connect TSN networks, but it is difficult to immediately address this issue using only current relay devices equipped with TSN.

本発明は、このような従来の問題を解決するためになされ、TSNネットワーク間の時刻同期を、PTP未対応領域(NON-PTPネットワーク)を介して可能とすることを解決課題としている。 The present invention was made to solve these conventional problems, and aims to make it possible to synchronize time between TSN networks through areas that do not support PTP (NON-PTP networks).

(1)本発明の一態様は、ネットワーク上の各TSN(Time-Sensitive Networking)領域に配置された通信機器間の時刻同期を、PTP(Precision Time Protocol)未対応領域を経由して行う方式であって、
前記各TSN領域と前記PTP未対応領域との境界には、PTP対応の通信装置が接続され、
前記境界に接続された通信装置は、
前記TSN領域側に隣接する通信装置からTSN時刻同期パケットを受信すれば前記TSN時刻同期パケットをPTPパケットに変換し、変換されたPTPパケットを前記TSN非対応領域側に隣接する通信装置に送信する一方、
前記TSN非対応領域側に隣接する通信装置から前記変換されたPTPパケットを受信すれば前記PTPパケットをTSNパケットに変換し、変換されたTSNパケットを前記TSN対応領域側に隣接する通信装置に送信することを特徴としている。
(1) One aspect of the present invention is a method for performing time synchronization between communication devices arranged in each TSN (Time-Sensitive Networking) area on a network via a PTP (Precision Time Protocol) non-compatible area,
a PTP-compatible communication device is connected to a boundary between each TSN area and the PTP-incompatible area;
A communication device connected to the boundary
When a TSN time synchronization packet is received from a communication device adjacent to the TSN area side, the TSN time synchronization packet is converted into a PTP packet, and the converted PTP packet is transmitted to a communication device adjacent to the TSN non-compatible area side,
When the converted PTP packet is received from a communication device adjacent to the TSN non-compatible area side, the PTP packet is converted into a TSN packet, and the converted TSN packet is transmitted to a communication device adjacent to the TSN compatible area side.

(2)本発明の他の態様は、ネットワーク上の各TSN(Time-Sensitive Networking)領域と、PTP(Precision Time Protocol)未対応領域との境界に接続された通信装置が実行する方法であって、
前記TSN領域側に隣接する通信装置からTSN時刻同期パケットを受信すれば前記TSN時刻同期パケットをPTPパケットに変換し、変換されたPTPパケットを前記TSN非対応領域側に隣接する通信装置に送信するステップと、
前記TSN非対応領域側に隣接する通信装置から前記変換されたPTPパケットを受信すれば前記PTPパケットをTSNパケットに変換し、変換されたTSNパケットを前記TSN対応領域側に隣接する通信装置に送信するステップと、を有することを特徴としている。
(2) Another aspect of the present invention is a method executed by a communication device connected to a boundary between a time-sensitive networking (TSN) area on a network and a precision time protocol (PTP) non-compatible area, the method comprising:
a step of converting a TSN time synchronization packet into a PTP packet when receiving the TSN time synchronization packet from a communication device adjacent to the TSN area side, and transmitting the converted PTP packet to the communication device adjacent to the TSN non-compatible area side;
The method is characterized by having a step of converting the PTP packet into a TSN packet when the converted PTP packet is received from a communication device adjacent to the TSN non-compatible area side, and transmitting the converted TSN packet to a communication device adjacent to the TSN compatible area side.

(3)本発明のさらに他の態様は、ネットワーク上のTSN(Time-Sensitive Networking)領域と、PTP(Precision Time Protocol)未対応領域との境界に配置された通信装置であって、
前記TSN領域側に隣接する通信装置からTSN時刻同期パケットを受信すれば前記TSN時刻同期パケットをPTPパケットに変換し、変換されたPTPパケットを前記TSN非対応領域側に隣接する通信装置に送信する一方、
前記TSN非対応領域側に隣接する通信装置から前記変換されたPTPパケットを受信すれば前記PTPパケットをTSNパケットに変換し、変換されたTSNパケットを前記TSN対応領域側に隣接する通信装置に送信することを特徴としている。
(3) Yet another aspect of the present invention is a communication device disposed on a boundary between a time-sensitive networking (TSN) area and a precision time protocol (PTP) non-compatible area on a network, the communication device comprising:
When a TSN time synchronization packet is received from a communication device adjacent to the TSN area side, the TSN time synchronization packet is converted into a PTP packet, and the converted PTP packet is transmitted to a communication device adjacent to the TSN non-compatible area side,
When the converted PTP packet is received from a communication device adjacent to the TSN non-compatible area side, the PTP packet is converted into a TSN packet, and the converted TSN packet is transmitted to a communication device adjacent to the TSN compatible area side.

本発明によれば、TSNネットワーク間の時刻同期が、「NON-PTPネットワーク」を介して可能となる。 According to the present invention, time synchronization between TSN networks becomes possible via a "NON-PTP network."

PTP時刻同期の処理手続(ONEステップ)の概要図。FIG. 1 is a schematic diagram of the PTP time synchronization processing procedure (ONE step). TSN時刻同期の処理手続の概要図。FIG. 2 is a schematic diagram of a TSN time synchronization process; 同 TWOステップの一例を示す処理手続の概要図。FIG. 2 is a schematic diagram of a processing procedure showing an example of the TWO step. NON-PTPネットワークとTSNネットワークとが混在するネットワーク構成図。A network configuration diagram in which a NON-PTP network and a TSN network are mixed. 本発明の実施形態に係る時刻同期方式のネットワーク構成図。FIG. 1 is a network configuration diagram of a time synchronization system according to an embodiment of the present invention. 同 TSNパケット転送メイン処理を示すフローチャート。13 is a flowchart showing a main process of TSN packet transfer in the first embodiment; TSNパケット転送判定処理を示すフローチャート。13 is a flowchart showing a TSN packet forwarding determination process. TSNパケット転送処理を示すフローチャート。13 is a flowchart showing a TSN packet forwarding process. 「SYNCメッセージ」用処理を示すフローチャート。11 is a flowchart showing a process for a "SYNC message." 「Follow_UPメッセージ」・「ANNOUNCEメッセージ」・「ELSEメッセージ用処理を示すフローチャート。11 is a flowchart showing the processing for a "Follow_UP message", an "ANNOUNCE message", and an "ELSE message;" PTPパケット送信処理を示すフローチャート。11 is a flowchart showing a PTP packet transmission process. TSNパケット変換処理を示すフローチャート。13 is a flowchart showing a TSN packet conversion process. TSNパケット・PTPパケット間の変換を示す概略図。1 is a schematic diagram showing conversion between TSN packets and PTP packets.

以下、本発明の実施形態に係る時刻同期方式を説明する。この時刻同期方式は、例えば図4に示すネットワーク構成を対象とする。 The following describes a time synchronization method according to an embodiment of the present invention. This time synchronization method is intended for the network configuration shown in Figure 4, for example.

ここでは工場などを結ぶ幹線としてPTP時刻同期機能を持たないスイッチングハブ(以下、ハブとする。)で構成された「NON-PTP」ネットワークCが存在する。このネットワークCにはTSNハブで構成されたTSNネットワークA,Bが隣接し、該TSNネットワークA,Bは互いに独立した領域とする。 Here, there is a "NON-PTP" network C that is made up of switching hubs (hereafter referred to as hubs) that do not have a PTP time synchronization function and serves as a trunk line connecting factories, etc. TSN networks A and B, made up of TSN hubs, are adjacent to this network C, and the TSN networks A and B are independent areas.

図5に基づき詳細を説明する。図5中の1-1~1-4は、PTP時刻同期機能を持たない通常ハブ1を示している。この通常ハブ1-1~1-4は、「NON-PTP」ネットワークC内に配置されている。 The details will be explained based on Figure 5. 1-1 to 1-4 in Figure 5 indicate normal hubs 1 that do not have a PTP time synchronization function. These normal hubs 1-1 to 1-4 are placed within the "NON-PTP" network C.

同3-1~3-3は、「IEEE802.1AS(gPTP)」時刻同期と「IEEE802.1Qbv(トラフィックのスケジューリング)」を搭載したTSNハブ3を示している。このTSNハブ3-1~3-3は、それぞれTSNネットワークA,B内に配置されている。ここではTSNハブ3-1をマスターとし、TSNハブ3-2,3-3をスレーブとする。 3-1 to 3-3 indicate TSN hubs 3 equipped with "IEEE802.1AS (gPTP)" time synchronization and "IEEE802.1Qbv (traffic scheduling)." These TSN hubs 3-1 to 3-3 are located in TSN networks A and B, respectively. Here, TSN hub 3-1 is the master, and TSN hubs 3-2 and 3-3 are the slaves.

同2-1,2-2は、「NON-PTP」ネットワークCとTSNネットワークA,Bとの境界に配置されたPTPハブ2を示している。すなわち、PTPハブ2-1は前記ネットワークA,C間に配置され、通常ハブ1-2とTSNハブ3-2とに接続されている。一方、PTPハブ2-2は前記ネットワークB,C間に配置され、通常ハブ1-3とTSNハブ3-3とに接続されている。 2-1 and 2-2 indicate PTP hub 2 located on the boundary between "NON-PTP" network C and TSN networks A and B. That is, PTP hub 2-1 is located between networks A and C, and is connected to normal hub 1-2 and TSN hub 3-2. On the other hand, PTP hub 2-2 is located between networks B and C, and is connected to normal hub 1-3 and TSN hub 3-3.

ここではPTPハブ2は、通常ハブ1を経由してもPTP時刻同期の精度を維持すべく、通常のPTPの処理設定と異なる処理設定(特許文献1参照)が施されている。また、PTPハブ2とTSNハブ3との間(例えばPTPハブ2-1・TSNハブ3-2間、PTPハブ2-2・TSNハブ3-3間等)は、TSNポートを指定することにより、TSNの「PtoP」処理が可能なものとする。 Here, PTP hub 2 is configured with processing settings (see Patent Document 1) that differ from normal PTP processing settings in order to maintain the accuracy of PTP time synchronization even when passing through normal hub 1. In addition, between PTP hub 2 and TSN hub 3 (for example, between PTP hub 2-1 and TSN hub 3-2, between PTP hub 2-2 and TSN hub 3-3, etc.), TSN "P to P" processing is possible by specifying a TSN port.

このように「NON-PTP」ネットワークCとTSNネットワークA,B間の境界にPTPハブ2を接続することにより、TSNネットワークA,B間の時刻同期が「NON-PTP」ネットワークCを介して可能としている。 In this way, by connecting a PTP hub 2 to the boundary between the "NON-PTP" network C and the TSN networks A and B, time synchronization between the TSN networks A and B is possible via the "NON-PTP" network C.

例えばTSNネットワークA内に配置されたTSNハブ3-1(マスター)がTSN時刻同期パケット(gPTP:SYNCメッセージ・Follow_UPメッセージ・ANNOUNCEメッセージ)を送信したとする。 For example, assume that TSN hub 3-1 (master) located in TSN network A sends TSN time synchronization packets (gPTP: SYNC message, Follow_UP message, ANNOUNCE message).

この場合にTSN時刻同期パケットは、PTPハブ2-1でPTPパケットに変換される。ここで変換されたPTPパケットは、通常ハブ1-2,1-3を経由してPTPハブ2-2でTSN時刻同期パケット(gPTP)に再変換され、TSNネットワークBのTSNハブ3-3(スレーブ)に送信される。 In this case, the TSN time synchronization packet is converted to a PTP packet by PTP hub 2-1. The PTP packet converted here is then reconverted to a TSN time synchronization packet (gPTP) by PTP hub 2-2 via normal hubs 1-2 and 1-3, and is then sent to TSN hub 3-3 (slave) on TSN network B.

これによりTSNネットワークA,BのTSNハブ3-1・3-3間での時刻同期が可能となる。このときPTPハブ2-1,2-2間の通過時間を補正することにより、TSNハブ3-1・3-3間で正確な時刻同期が可能となる。 This enables time synchronization between TSN hubs 3-1 and 3-3 in TSN networks A and B. By correcting the transit time between PTP hubs 2-1 and 2-2, accurate time synchronization is possible between TSN hubs 3-1 and 3-3.

以下、PTPハブ2の具体的な処理内容を説明する。なお、TSN時刻同期(gPTP)の時刻同期パケットはL2層で、かつ「PtoP」透過機能のみしか使用できない点でPTPと異なる。 The specific processing contents of the PTP hub 2 are explained below. Note that TSN time synchronization (gPTP) time synchronization packets are at the L2 layer and differ from PTP in that only the "PtoP" transparency function can be used.

(1)TSNパケット転送メイン処理
図6に基づきTSNパケット転送メイン処理、即ち「NON-PTP」ネットワークCとTSNネットワークA,Bとの境界に配置されたPTPハブ2の転送処理の全体的な処理内容を説明する。
(1) TSN Packet Transfer Main Processing The TSN packet transfer main processing, that is, the overall processing content of the transfer processing of the PTP hub 2 arranged on the boundary between the "NON-PTP" network C and the TSN networks A and B, will be described with reference to FIG.

S01:処理の開始のため、事前に外部から初期設定に必要なデータをPTPハブ2に入力する。具体的にはTSNドメイン数D1,TSN転送有無フラグD2,TSNポートD3,TSN送信先MACアドレスD4,TSN送信元MACアドレスD5の初期設定値を入力する。ここで入力されたデータは、PTPハブ2内部の初期設定ファイルF1に初期設定値として書き込まれ、それぞれ保存される。 S01: To start processing, data required for initial setup is input from outside into the PTP hub 2 in advance. Specifically, the initial setup values for the number of TSN domains D1, TSN forwarding flag D2, TSN port D3, TSN destination MAC address D4, and TSN source MAC address D5 are input. The data input here is written as the initial setup values into the initial setup file F1 inside the PTP hub 2 and each is saved.

S02:PTPハブ2の起動時(起動途中)に初期化処理を必要とするか否かを確認する。確認の結果、必要であればS03に進む一方、必要でなければS08に進む。 S02: Check whether initialization is required when the PTP hub 2 is started (during startup). If it is required, proceed to S03, and if not, proceed to S08.

S03,S04:S01で保存された初期設定値D1~D5でそれぞれの設定値を初期化する(S03)。この初期化後の設定値をPTPハブ2の内部データとしてセットする(S04)。 S03, S04: Initialize each setting value with the initial setting values D1 to D5 saved in S01 (S03). Set these initialized setting values as internal data of the PTP hub 2 (S04).

S05:TSN転送有無フラグD2を確認する。確認の結果、有効であればS06に進む一方、無効であればS07に進む。 S05: Check the TSN transfer flag D2. If the TSN transfer flag is valid, proceed to S06. If the TSN transfer flag is invalid, proceed to S07.

S06,S07:S06では、TSNポートからのTSNパケット受信待ち状態に設定する。また、S07では、PTPポートからのPTPパケット受信待ち状態に設定する。 S06, S07: In S06, the device is set to a state waiting to receive a TSN packet from the TSN port. In S07, the device is set to a state waiting to receive a PTP packet from the PTP port.

S08,S09:S08では、パケット受信処理でパケットを受信し、受信パケットPを保存する。また、S09では、図7のパケット転送判定処理が実行され、その実行後に処理を終了する。 S08, S09: In S08, a packet is received in the packet reception process, and the received packet P is stored. In S09, the packet forwarding decision process in FIG. 7 is executed, and the process ends after execution.

(2)TSNパケット転送判定処理
図7に基づきS09のパケット転送判定処理の詳細を説明する。
(2) TSN Packet Forwarding Determination Processing The packet forwarding determination processing in S09 will be described in detail with reference to FIG.

S11:まず、処理が開始されるとS08の受信パケットPが、TSNパケット(gPTP)か否かを確認する。確認の結果、TSNパケットであればS12に進む一方、TSNパケットでなければS13に進む。 S11: First, when processing starts, it is checked whether the received packet P in S08 is a TSN packet (gPTP). If it is a TSN packet, the process proceeds to S12, and if it is not a TSN packet, the process proceeds to S13.

S12:図8のTSN転送処理を経て終了する。 S12: Finish by going through the TSN transfer process in Figure 8.

S13:受信パケットPがPTPパケットか否かを確認する。確認の結果、PTPパケットであればS14に進む一方、PTPパケットでなければ処理を終了する。 S13: Check whether the received packet P is a PTP packet. If it is a PTP packet, proceed to S14, but if it is not a PTP packet, end the process.

S14:図13中の矢印X1に示すように、受信パケットPのPTP情報から「Clock Identity」を取得する。その後、取得した「Clock Identity」情報に基づき送信元MACアドレスD6を生成する。 S14: As shown by the arrow X1 in FIG. 13, the "Clock Identity" is obtained from the PTP information of the received packet P. Then, the source MAC address D6 is generated based on the obtained "Clock Identity" information.

S15:S14で生成した送信元MACアドレスD6と、TSN送信元MACアドレスD5が同じか否かを確認する。確認の結果、同じであればS16に進む一方、同じでなければS17に進んで従来のPTP処理を実行して処理を終了する。 S15: Check whether the source MAC address D6 generated in S14 is the same as the TSN source MAC address D5. If they are the same, proceed to S16, but if they are not the same, proceed to S17, where the conventional PTP process is executed, and the process ends.

S16:図12のTSNパケット変換処理を実行し、その後に処理を終了する。 S16: Execute the TSN packet conversion process shown in Figure 12, and then end the process.

(3)TSNパケット転送処理
図8に基づきS12のTSNパケット転送処理の詳細を説明する。このTSNパケット転送処理は、例えば図5のネットワーク構成であればTSNパケットを受信したPTPハブ2-1により実行される。ここではS11によれば、受信パケットPはTSNパケット(gPTP)となる。
(3) TSN packet forwarding process The TSN packet forwarding process in S12 will be described in detail with reference to Fig. 8. This TSN packet forwarding process is executed by the PTP hub 2-1 that receives the TSN packet in the network configuration of Fig. 5, for example. Here, according to S11, the received packet P becomes a TSN packet (gPTP).

S21:処理が開始されると、TSN転送有無フラグD2を参照することでTSNパケット転送の有効/無効を確認する。確認の結果、有効であればS22に進む一方、無効であれば処理を終了する。 S21: When processing begins, the TSN packet forwarding enable/disable status is confirmed by referencing the TSN forwarding enable/disable flag D2. If the result of the confirmation is that the TSN packet forwarding is enabled, the process proceeds to S22, whereas if the result is that the TSN packet forwarding is disabled, the process ends.

S22,S23:受信パケットPから送信元MACアドレスD8を取得する(S22)。ここで取得された送信元MACアドレスD8と、TSN送信元MACアドレスD5とが同じか否かを確認する(S23)。確認の結果、同じであればS24に進む一方、同じでなければ処理を終了する。 S22, S23: The source MAC address D8 is obtained from the received packet P (S22). It is then confirmed whether the obtained source MAC address D8 is the same as the TSN source MAC address D5 (S23). If the confirmation result indicates that they are the same, the process proceeds to S24, whereas if they are not the same, the process ends.

S24,S25:受信パケットPの「gPTP」情報(図13参照)から「Messageld」、即ち種別情報D7を取得し(S24)、種別情報D7に基づき処理種別を確認する(S25)。 S24, S25: Obtain "Message", i.e., type information D7, from the "gPTP" information of the received packet P (see FIG. 13) (S24), and confirm the processing type based on the type information D7 (S25).

確認の結果、処理種別が「SYNC」メッセージであればS26に進む。一方、「Follow_UP」メッセージ・「ANNOUNCE」メッセージ・「ELSE」(その他)のメッセージであれば、S27に進む。 If the confirmation reveals that the processing type is a "SYNC" message, proceed to S26. On the other hand, if the message is a "Follow_UP" message, an "ANNOUNCE" message, or an "ELSE" (other) message, proceed to S27.

S26:「SYNC」用処理が実行される.
S27:「Follow_UP」・「ANNOUNCE」・「ELSE」用処理が実行される。なお、S26,S27の処理の実行後にTSNパケット転送処理を終了する。
S26: Processing for "SYNC" is executed.
S27: Processing for "Follow_UP", "ANNOUNCE" and "ELSE" is executed. After the processing of S26 and S27 is executed, the TSN packet forwarding processing is terminated.

(4)「SYNC」用処理
図9に基づきS26の「SYNC」用処理の詳細を説明する。ここでは受信パケットPが、「SYNC」メッセージの場合の処理を示している。
(4) "SYNC" Processing The "SYNC" processing of S26 will be described in detail with reference to Fig. 9. Here, processing is shown for the case where the received packet P is a "SYNC" message.

S31:処理が開始されると、受信パケットPがPTPハブ2に到着した時刻のタイムスタンプが収集される。ここで収集された到着時刻(受信時刻)を「Ta」として保存する。 S31: When processing begins, the timestamp of the time when the received packet P arrives at the PTP hub 2 is collected. The collected arrival time (reception time) is saved as "Ta".

S32:図11のPTPパケット送信処理を実行する。 S32: Execute the PTP packet transmission process shown in Figure 11.

S33:S32のPTPパケット送信処理後、PTPパケット(受信パケットP)がPTPハブ2を出発した時刻のタイムスタンプが収集される。ここで収集された出発時刻(送信時刻)を「Tb」として保存する。 S33: After the PTP packet transmission process of S32, the timestamp of the time when the PTP packet (received packet P) departs from the PTP hub 2 is collected. The collected departure time (transmission time) is saved as "Tb".

S34,S35:受信パケットPのPTP2の滞留時間(滞留時間「Tc」=出発時刻「Tb」-到着時刻「Ta」)を算出する(S34)。ここで算出された滞留時間「Tc」が正常(マイナスではない等)か否かを確認する(S35)。 S34, S35: Calculate the residence time of the received packet P in PTP2 (residence time "Tc" = departure time "Tb" - arrival time "Ta") (S34). Check whether the residence time "Tc" calculated here is normal (not negative, etc.) (S35).

確認の結果、正常であればS36に進む一方、正常でなければ処理を終了する。 If the check result is normal, proceed to S36, but if not, end the process.

S36:処理の対象パケットの待ちフラグをセットする。ここでは受信パケットPが「SYNC」メッセージのため、対象パケットは後追いの「Follow_UP」メッセージとなる。この「Follow_UP」メッセージの待ちフラグD9をセットし、処理を終了する。 S36: Set the waiting flag for the packet to be processed. In this case, since the received packet P is a "SYNC" message, the target packet is the following "Follow_UP" message. Set the waiting flag D9 for this "Follow_UP" message and end the process.

(5)「Follow_UP」・「ANNOUNCE」・「ELSE」用処理
図10に基づきS27に示す前記処理の詳細を説明する。ここでは受信パケットPが、「SYNC」メッセージ以外である場合の処理の詳細を示している。
(5) Processing for "Follow_UP", "ANNOUNCE", and "ELSE" Details of the processing shown in S27 will be explained with reference to Fig. 10. Here, details of the processing when the received packet P is a message other than a "SYNC" message will be shown.

S41:処理が開始されると、S25で取得した受信パケットPの処理種別に基づき受信パケットPが、「ANNOUNCE」メッセージか否かを確認する。確認の結果、「ANNOUNCE」メッセージであればS45のPTPパケット送信処理を実行し、この処理を終了する。一方、「ANNOUNCE」メッセージでなければS42に進む。 S41: When processing begins, it is confirmed whether the received packet P is an "ANNOUNCE" message or not based on the processing type of the received packet P acquired in S25. If the confirmation result indicates that the received packet P is an "ANNOUNCE" message, the PTP packet transmission process of S45 is executed and this process ends. On the other hand, if the received packet P is not an "ANNOUNCE" message, the process proceeds to S42.

S42:S25で取得した受信パケットPの処理種別に基づき受信パケットPが、「Follow_UP」メッセージか否かを確認する。確認の結果、「Follow_UP」メッセージでなければ処理を終了する(ELSE用処理)。一方、「Follow_UP」メッセージであればS43に進む。 S42: Based on the processing type of the received packet P acquired in S25, it is confirmed whether the received packet P is a "Follow_UP" message. If the result of the confirmation is that the received packet P is not a "Follow_UP" message, the processing ends (ELSE processing). On the other hand, if the received packet P is a "Follow_UP" message, the processing proceeds to S43.

S43:「Follow_UP」待ちフラグを参照して、「Follow_UP」メッセージの待ち状態か否かを確認する。確認の結果、待ち状態であればS44に進む一方、待ち状態でなければ処理を終了する。 S43: Check the "Follow_UP" waiting flag to see if the "Follow_UP" message is waiting. If the check shows that the message is waiting, proceed to S44, but if the message is not waiting, end the process.

S44:S34で計算された「SYNC」メッセージの滞留時間を、図13に示す「PTP」情報の「Correction」に加算してS45に進む。 S44: Add the residence time of the "SYNC" message calculated in S34 to the "Correction" of the "PTP" information shown in FIG. 13 and proceed to S45.

S45:処理の対象パケットの待ちフラグをクリアする。すなわち、受信パケットPは対象パケットの「Follow_UP」メッセージなため、「Follow_UP」待ちフラグD9をクリアし、S46に進む。 S45: Clear the waiting flag of the target packet for processing. In other words, since the received packet P is the target packet's "Follow_UP" message, clear the "Follow_UP" waiting flag D9 and proceed to S46.

S46:PTPパケット送信処理を実行し、その実行後に処理を終了する。 S46: Execute the PTP packet transmission process and end the process after execution.

(6)PTPパケット送信処理
図11に基づきS46のPTPパケット送信処理の詳細を説明する。ここでは主に受信パケットPを通常ハブ1に転送する際の処理を示している。
(6) PTP Packet Transmission Processing The PTP packet transmission processing in S46 will be described in detail with reference to Fig. 11. Here, the processing when the received packet P is transferred to the normal hub 1 will be mainly shown.

S51:処理が開始されると、PTPハブ2のMACアドレスを受信パケットP(TSNパケット)の送信元MACアドレス(図13参照)にセットする。 S51: When processing begins, the MAC address of the PTP hub 2 is set as the source MAC address of the received packet P (TSN packet) (see Figure 13).

S52:PTP用MACのマルチキャストアドレスを受信パケットPの送信先MACアドレス(図13参照)としてセットする。 S52: Set the multicast address of the PTP MAC as the destination MAC address of the received packet P (see Figure 13).

S53:受信パケットPに以下の事項を追加する。
(A)PTPパケットのIPアドレスを送信元IPアドレスとして追加
(B)PTPハブ2用のマルチキャストIPアドレスをIPアドレスの送信先IPアドレスとして追加
(C)PTP用のポート番号をUDPの送信先ポートと送信元ポートとして追加
S54:図13に示すように、TSNドメイン数を受信パケットPの「gPTP」情報の「SubdomainNumber」に加算する。
S53: The following items are added to the received packet P:
(A) Add the IP address of the PTP packet as the source IP address. (B) Add the multicast IP address for PTP hub 2 as the destination IP address of the IP address. (C) Add the port number for PTP as the destination port and source port of UDP. S54: As shown in FIG. 13, add the number of TSN domains to the “SubdomainNumber” of the “gPTP” information of the received packet P.

S55:受信パケットPをPTPパケットとしてPTPハブ2のPTPポートから送信する。例えば図5のネットワーク構成の場合、PTP2-1はS51~S54の処理後の受信パケットPを通常ハブ1-2に送信する。この送信により処理を終了する。 S55: The received packet P is sent as a PTP packet from the PTP port of the PTP hub 2. For example, in the network configuration of FIG. 5, the PTP hub 2-1 sends the received packet P after the processing of S51 to S54 to the normal hub 1-2. This transmission ends the process.

(7)PTPパケット変換処理
図12に基づきS16のTSNパケット変換処理の詳細を説明する。例えば通常ハブ1-2,1-3を経由して受信パケットPを受信したPTPハブ2-2が、同受信パケットPをTSNハブ3-3に転送する際にS16のPTPパケット変換処理を実行する。ここでは図7のS13~S15によれば、受信パケットPはPTPパケットとなる。
(7) PTP Packet Conversion Processing The details of the TSN packet conversion processing in S16 will be described with reference to Fig. 12. For example, the PTP hub 2-2, which received a received packet P via normal hubs 1-2 and 1-3, executes the PTP packet conversion processing in S16 when transferring the received packet P to the TSN hub 3-3. Here, according to S13 to S15 in Fig. 7, the received packet P becomes a PTP packet.

S61:処理が開始されると、TSNポートの設定の有無を確認する。確認の結果、前記ポートが設定されていればS62に進む一方、設定されていなければ処理を終了する。 S61: When processing begins, check whether a TSN port has been set. If the check shows that the port has been set, proceed to S62; if not, end processing.

S62:受信パケットPからUDP/IP情報(図13中のUDP送信元ポート等)情報を削除する。 S62: Delete the UDP/IP information (UDP source port in Figure 13, etc.) from the received packet P.

S63:図13中の矢印X1に示すように、受信パケットPのPTP情報から「Clock Identity」を取得する。その後、取得した「Clock Identity」情報に基づき送信元MACアドレスD6を生成する。この変換方法はS14と同じとする。 S63: As shown by the arrow X1 in FIG. 13, the "Clock Identity" is obtained from the PTP information of the received packet P. Then, the source MAC address D6 is generated based on the obtained "Clock Identity" information. This conversion method is the same as S14.

S64,S65:S63で変換されたMACアドレスD11を転送する受信パケットPの送信元MACアドレスとしてセットする(S64)。また、TSN用のマルチキャストMACアドレスを送信先MACアドレス(TSN)にセットする(S65)。 S64, S65: The MAC address D11 converted in S63 is set as the source MAC address of the received packet P to be forwarded (S64). Also, the multicast MAC address for TSN is set as the destination MAC address (TSN) (S65).

S66:受信パケットPのPTP情報の「SubdomainNumber」からTSNドメイン数D1を減算する。 S66: Subtract the TSN domain number D1 from the "SubdomainNumber" in the PTP information of the received packet P.

S67:受信パケットのPTP情報の「MessageId」による処理種別が「Follow_UP」メッセージか否かを確認する。確認の結果、「Follow_UP」メッセージであればS68に進む一方、「Follow_UP」メッセージでなければS70に進む。 S67: Check whether the processing type according to the "MessageId" in the PTP information of the received packet is a "Follow_UP" message. If the result of the check is a "Follow_UP" message, proceed to S68, and if it is not a "Follow_UP" message, proceed to S70.

S68,S69:通常のPTP時刻同期で算出した伝送遅延「Meanpath」D10を取得する(S68)。ここで取得された「Meanpath」D10を受信パケットPの「correction」に追加する。 S68, S69: The transmission delay "Meanpath" D10 calculated using normal PTP time synchronization is obtained (S68). The "Meanpath" D10 obtained here is added to the "correction" of the received packet P.

S70:受信パケットPをTSNパケットとしてTSNポートから送信し、処理を終了する。 S70: The received packet P is sent as a TSN packet from the TSN port and the process ends.

(8)作用効果
前記時刻同期方式によれば、次の効果を得ることができる。
(8) Effects and Benefits According to the time synchronization method, the following effects can be obtained.

(A)時刻同期の実現化
前述のようにTSNネットワークAのTSNハブ3-1の送信したTSN時刻同期パケット(gPTP)は、TSNハブ3-2を経由してPTPハブ2-1に到達する。
(A) Achieving Time Synchronization As described above, the TSN time synchronization packet (gPTP) sent by the TSN hub 3-1 of the TSN network A reaches the PTP hub 2-1 via the TSN hub 3-2.

このときPTPハブ2-1の受信パケットPは、PTPパケットに変換された(S12)後に通常ハブ1-2に送信される(S46)。その後、受信パケットPは、通常ハブ1-2,1-3を経由してPTPハブ2-2に到達する。 At this time, the received packet P at PTP hub 2-1 is converted into a PTP packet (S12) and then sent to normal hub 1-2 (S46). After that, the received packet P reaches PTP hub 2-2 via normal hubs 1-2 and 1-3.

ここで受信パケットPを受信したPTPハブ2-2は、PTPパケット変換処理(S16)により受信パケットPをTSNパケット(gPTP)に変換し、TSNネットワークBのTSNハブ3-3に転送する。 The PTP hub 2-2 that receives the received packet P converts the received packet P to a TSN packet (gPTP) through a PTP packet conversion process (S16) and forwards it to the TSN hub 3-3 in the TSN network B.

これによりマスター(TSNハブ3-1)の送信したTSN時刻同期パケット(gPTP)を、「NON-PTP」ネットワークCを介してスレーブ(TSNハブ3-3)が受審することが可能となる。なお、スレーブ(TSNハブ3-3)からマスター(TSNハブ3-1)への送信も、同様な手順で行うことができる。 This allows the slave (TSN hub 3-3) to receive the TSN time synchronization packet (gPTP) sent by the master (TSN hub 3-1) via the "NON-PTP" network C. Note that transmission from the slave (TSN hub 3-3) to the master (TSN hub 3-1) can also be done in a similar manner.

その結果、独立かつ遠方に存在するTSNネットワークA,BのTSNハブ3-1,3-3間を、専用線を引くことなく「NON-PTP」ネットワークCを介してPTP時刻同期させることが実現化する。 As a result, it is possible to achieve PTP time synchronization between TSN hubs 3-1 and 3-3 of TSN networks A and B, which exist independently and at a distance, via a "NON-PTP" network C without laying a dedicated line.

このときTSN(gPTP)ネットワークA,B側の変更は不要であり、PTPハブ2を前記ネットワークA,Bと前記ネットワークCとの境界として接続するだけでよい。この点でTSNネットワークA,B間の時刻同期にかかる設備投資を抑制することができる。 In this case, no changes are required on the TSN (gPTP) networks A and B side, and it is sufficient to simply connect the PTP hub 2 as the boundary between the networks A and B and the network C. In this respect, it is possible to reduce capital investment required for time synchronization between the TSN networks A and B.

(B)時刻同期精度の低下防止
PTPハブ2によれば、「SYNC」メッセージのTSNパケットについて滞留時間が算出される(S34)。ここで算出された滞留時間は、「Follow_UP」メッセージの「Corection」(「SYNC」メッセージのマスター送信時刻)に加算される(S44)。また、PTPハブ2-1・2-2間の伝送時間も同様に加算される(S68)。
(B) Prevention of deterioration of time synchronization accuracy According to the PTP hub 2, the residence time of the TSN packet of the "SYNC" message is calculated (S34). The residence time calculated here is added to the "Correction" of the "Follow_UP" message (the master transmission time of the "SYNC" message) (S44). The transmission time between the PTP hubs 2-1 and 2-2 is also added in the same way (S68).

したがって、TSN(gPTP)による時刻補正にあたって前記滞留時間を抗力することができ、この点で時刻同期精度の低下を防止することができる。なお、PTPハブ2内で送信元MACアドレス・送信先MACアドレスをチェック(S15,S23等)しているため、余分なパケットの誤送信を防ぐこともできる。 Therefore, the retention time can be taken into account when correcting the time using TSN (gPTP), which makes it possible to prevent a decrease in the accuracy of time synchronization. In addition, since the source MAC address and destination MAC address are checked (S15, S23, etc.) within the PTP hub 2, it is also possible to prevent the erroneous transmission of unnecessary packets.

1(1-1~1-4)…通常ハブ
2(2-1,2-2)…PTPハブ
3(3-1~3-3)…TSNハブ
1 (1-1 to 1-4)...Normal hub 2 (2-1, 2-2)...PTP hub 3 (3-1 to 3-3)...TSN hub

Claims (6)

各TSN(Time-Sensitive Networking)ネットワークに配置されたTSN対応の通信装置間の時刻同期を、
PTP時刻同期機能を持たない通信装置で構成された「NON-PTP(Precision Time Protocol)」ネットワークを経由して行う方式であって、
前記各TSNネットワークと前記「NON-PTP」ネットワークとの境界には、それぞれPTP時刻同期機能を持つ通信装置が接続され、
前記境界に接続された通信装置は、
前記TSNネットワークの通信装置からTSN時刻同期パケットを受信すれば前記TSN時刻同期パケットをPTPパケットに変換し、変換されたPTPパケットを前記「NON-PTP」ネットワークの通信装置に転送し、
前記「NON-PTP」ネットワークの通信装置から前記PTPパケットを受信すれば前記PTPパケットをTSN時刻同期パケットに変換し、変換されたTSN時刻同期パケットを前記TSNネットワークの通信装置に転送する
ことを特徴とする時刻同期方式。
Time synchronization between TSN-compatible communication devices installed in each TSN (Time-Sensitive Networking) network .
This is a method that is performed via a "NON-PTP (Precision Time Protocol)" network composed of communication devices that do not have a PTP time synchronization function ,
A communication device having a PTP time synchronization function is connected to the boundary between each of the TSN networks and the "NON-PTP" network ,
Each communication device connected to the boundary
When a TSN time synchronization packet is received from a communication device of the TSN network , the TSN time synchronization packet is converted into a PTP packet, and the converted PTP packet is transferred to the communication device of the "NON-PTP"network;
A time synchronization method characterized by: when the PTP packet is received from a communication device of the "NON-PTP" network, the PTP packet is reconverted into a TSN time synchronization packet, and the reconverted TSN time synchronization packet is transferred to the communication device of the TSN network .
前記TSNネットワークの通信装置からTSN時刻同期パケットを受信した前記境界の通信装置は、The boundary communication device that receives a TSN time synchronization packet from the communication device of the TSN network,
受信した前記TSN時刻同期パケットに自装置のMACアドレスを送信元MACアドレスとしてセットし、PTP用MACのマルチキャストアドレスを送信先MACアドレスとしてセットし、PTPパケットのUDP(User Datagram Protocol)情報およびIP情報を追加し、TSNドメイン数を「gPTP」情報のドメイン番号に加算して転送する一方、The MAC address of the device itself is set as the source MAC address in the received TSN time synchronization packet, the multicast address of the PTP MAC is set as the destination MAC address, the UDP (User Datagram Protocol) information and IP information of the PTP packet are added, and the number of TSN domains is added to the domain number of the "gPTP" information before forwarding the packet.
前記「NON-PTP」ネットワークの通信装置から前記PTPパケットを受信した前記境界の通信装置は、The boundary communication device that receives the PTP packet from the communication device of the "NON-PTP" network,
受信した前記PTPパケットからUDP情報およびIP情報を削除し、前記受信パケットのPTP情報に基づきMACアドレスを生成し、生成したMACアドレスを送信元MACアドレスとしてセットし、PTP情報のドメイン番号からTSNドメイン数を減算して転送するThe UDP information and IP information are deleted from the received PTP packet, a MAC address is generated based on the PTP information of the received packet, the generated MAC address is set as a source MAC address, and the number of TSN domains is subtracted from the domain number of the PTP information before forwarding.
ことを特徴とする請求項1記載の時刻同期方式。2. The time synchronization system according to claim 1.
各TSN(Time-Sensitive Networking)ネットワークと、
PTP時刻同期機能を持たない通信装置で構成された「NON-PTP(Precision Time Protocol)」ネットワークと、
前記各TSNネットワークと前記「NON-PTP」ネットワークとの境界にそれぞれ接続されたPTP時刻同期機能を持つ通信装置と、
を備え
前記NON-PTP(Precision Time Protocol)」ネットワーク経由で前記各TSNネットワークに配置されたTSN対応の通信装置間の時刻同期を行う際、前記境界に接続された通信装置が実行する方法であって、
前記TSNネットワークの通信装置からTSN時刻同期パケットを受信すれば前記TSN時刻同期パケットをPTPパケットに変換し、変換されたPTPパケットを前記「NON-PTP」ネットワークの通信装置に転送するステップと、
前記「NON-PTP」ネットワークの通信装置から前記PTPパケットを受信すれば前記PTPパケットをTSN時刻同期パケットに変換し、変換されたTSN時刻同期パケットを前記TSNネットワークの通信装置に転送するステップと、
を有することを特徴とする時刻同期方法。
Each TSN (Time-Sensitive Networking) network;
A "NON-PTP (Precision Time Protocol)" network composed of communication devices that do not have a PTP time synchronization function;
A communication device having a PTP time synchronization function, which is connected to the boundary between each of the TSN networks and the "NON-PTP"network;
Equipped with
A method for performing time synchronization between TSN-compatible communication devices disposed in each of the TSN networks via the NON-PTP (Precision Time Protocol) network , the method being executed by a communication device connected to the boundary,
a step of converting a TSN time synchronization packet into a PTP packet when the TSN time synchronization packet is received from a communication device of the TSN network , and transferring the converted PTP packet to the communication device of the "NON-PTP"network;
a step of reconverting the PTP packet into a TSN time synchronization packet when the PTP packet is received from a communication device of the "NON-PTP" network , and transferring the reconverted TSN time synchronization packet to the communication device of the TSN network ;
A time synchronization method comprising:
各TSN(Time-Sensitive Networking)ネットワークと、
PTP時刻同期機能を持たない通信装置で構成された「NON-PTP(Precision Time Protocol)」ネットワークと、
の境界にそれぞれ接続され、かつPTP時刻同期機能を持つ通信装置であって、
前記TSNネットワークの通信装置からTSN時刻同期パケットを受信すれば前記TSN時刻同期パケットをPTPパケットに変換し、変換されたPTPパケットを前記「NON-PTP」ネットワークの通信装置に転送し、
前記「NON-PTP」ネットワークの通信装置から前記PTPパケットを受信すれば前記PTPパケットをTSN時刻同期パケットに変換し、変換されたTSN時刻同期パケットを前記TSNネットワークの通信装置に転送する
ことを特徴とする通信装置。
Each TSN (Time-Sensitive Networking) network;
A "NON-PTP (Precision Time Protocol)" network composed of communication devices that do not have a PTP time synchronization function;
and a communication device having a PTP time synchronization function,
When a TSN time synchronization packet is received from a communication device of the TSN network , the TSN time synchronization packet is converted into a PTP packet, and the converted PTP packet is transferred to the communication device of the "NON-PTP"network;
A communication device characterized by : when receiving the PTP packet from a communication device of the "NON-PTP" network , reconverting the PTP packet into a TSN time synchronization packet, and transferring the reconverted TSN time synchronization packet to the communication device of the TSN network .
前記TSNネットワークの通信装置から受信した前記TSN時刻同期パケットが「SYNC」メッセージであれば、
前記変換された前記PTPパケットの送信時刻と前記TSN時刻同期パケットの受信時刻との時間差から残留時間を算出する一方、
前記TSNネットワークの通信装置から受信した前記TSN時刻同期パケットが「Follow_UP」メッセージであれば、
前記「Follow_UP」メッセージに記述された時刻情報に前記残留時間を加算することを特徴とする請求項記載の通信装置。
If the TSN time synchronization packet received from the communication device of the TSN network is a "SYNC" message,
Calculating a residual time from a time difference between a transmission time of the converted PTP packet and a reception time of the TSN time synchronization packet;
If the TSN time synchronization packet received from the communication device of the TSN network is a "Follow_UP" message,
5. The communication device according to claim 4, wherein the remaining time is added to time information described in the "Follow_UP" message .
スイッチングハブにより構成されていることを特徴とする請求項4または5記載の通信装置。
6. The communication device according to claim 4, further comprising a switching hub.
JP2020165013A 2020-09-30 2020-09-30 Time synchronization method, time synchronization method, communication device Active JP7547906B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020165013A JP7547906B2 (en) 2020-09-30 2020-09-30 Time synchronization method, time synchronization method, communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020165013A JP7547906B2 (en) 2020-09-30 2020-09-30 Time synchronization method, time synchronization method, communication device

Publications (2)

Publication Number Publication Date
JP2022056988A JP2022056988A (en) 2022-04-11
JP7547906B2 true JP7547906B2 (en) 2024-09-10

Family

ID=81110733

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020165013A Active JP7547906B2 (en) 2020-09-30 2020-09-30 Time synchronization method, time synchronization method, communication device

Country Status (1)

Country Link
JP (1) JP7547906B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12388551B2 (en) 2022-06-22 2025-08-12 Moxa Inc. Method and device for time synchronization of time synchronization domains

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011176479A (en) 2010-02-23 2011-09-08 Fujitsu Ltd Information communication system and latency calculation method
JP2018082278A (en) 2016-11-15 2018-05-24 トヨタ自動車株式会社 Network system
JP2020017877A (en) 2018-07-26 2020-01-30 株式会社明電舎 Network equipment
WO2020165979A1 (en) 2019-02-13 2020-08-20 株式会社Nttドコモ Radio base station and user equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8873588B2 (en) * 2011-05-11 2014-10-28 Vitesse Semiconductor Corporation Network distributed packet-based synchronization

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011176479A (en) 2010-02-23 2011-09-08 Fujitsu Ltd Information communication system and latency calculation method
JP2018082278A (en) 2016-11-15 2018-05-24 トヨタ自動車株式会社 Network system
JP2020017877A (en) 2018-07-26 2020-01-30 株式会社明電舎 Network equipment
WO2020165979A1 (en) 2019-02-13 2020-08-20 株式会社Nttドコモ Radio base station and user equipment

Also Published As

Publication number Publication date
JP2022056988A (en) 2022-04-11

Similar Documents

Publication Publication Date Title
JP6931376B2 (en) Transmission of residence time information in the network
JP6009672B2 (en) Method for synchronizing distribution clocks with a high precision time protocol in a communication network
CN101971556A (en) Supports efficient and accurate synchronization/subsequent timestamps
JP2010035171A (en) Multi-router for time-controlled communication system
CN101616163A (en) Precision time transfer protocol message processing method and device
WO2011017867A1 (en) Method and system for bearing time synchronization protocol in optical transport network
US20130336117A1 (en) Distributed processing scheme to support ieee 1588 ptp over multiple ports spanning a lag
WO2012034330A1 (en) Method, system and convergence loop apparatus for synchronization between apparatuses in convergence network
WO2017177751A1 (en) Time synchronization method and apparatus
JP5426695B2 (en) Method for synchronizing clocks by separately transmitting first data and second data by at least one timing distribution protocol, and related systems and modules
JP7547906B2 (en) Time synchronization method, time synchronization method, communication device
WO2011131006A1 (en) Time processing device and method for precision clock synchronization protocol
WO2012041142A1 (en) Method and system for establishing and removing bidirectional point-to-multipoint label switched path
CN112636861A (en) Clock synchronization method, device, equipment and storage medium
CN102377663A (en) Method, device and system for processing clock message
JP2018082278A (en) Network system
JP6805938B2 (en) Virtual LAN time synchronization method
CN115865246A (en) Time synchronization device, system and method
CN113497662A (en) Method for synchronizing networks
CN107113754B (en) A method of transferring data between network devices over a non-deterministic network
EP3288198B1 (en) System and method of clock synchronization in a computer network
KR100652013B1 (en) Time Synchronization Method in Heterogeneous Network Environments Using Wireless IEEE1394 Protocol
JP5656306B1 (en) Synchronization establishment method
JP6362424B2 (en) Relay device and relay method
CN116318505B (en) A method and apparatus for Ethernet time synchronization

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230221

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240305

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240412

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240812

R150 Certificate of patent or registration of utility model

Ref document number: 7547906

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150