Time synchronization method, time synchronization system, and communication device

By using PTP-compatible devices to convert TSN packets at network boundaries, time synchronization is achieved across TSN networks through non-PTP areas, addressing the limitations of unsupported relay devices and enhancing network connectivity.

JP7547906B2Active Publication Date: 2024-09-10MEIDENSHA CORP
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2020165013
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-09-30
Publication Date
2024-09-10
Estimated Expiration
2040-09-30

AI Technical Summary

Technical Problem

TSN networks face limitations in time synchronization due to the lack of support for gPTP in relay devices, restricting the use of TSN areas and complicating unified management across separate TSN networks.

Method used

A PTP-compatible communication device is connected at the boundary between TSN and non-PTP areas, converting TSN time synchronization packets to PTP packets for transmission across non-compatible areas and vice versa, enabling time synchronization without dedicated lines.

Benefits of technology

This method allows for time synchronization between independent TSN networks via non-PTP networks, maintaining accuracy and preventing capital investment in dedicated lines, while ensuring accurate time synchronization without deteriorating performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000010_0000
    Figure 00000010_0000
  • Figure 00000010_0001
    Figure 00000010_0001
  • Figure 00000011_0000
    Figure 00000011_0000
Patent Text Reader

Abstract

To provide a time synchronization system, a time synchronization method, and a communication device that enable time synchronization between TSN networks via a PTP non-compliant area (NON-PTP network).SOLUTION: PTP hubs 2-1 and 2-2 are connected to a boundary between TSN networks A and B and a NON-PTP network C. The PTP hub 2-1 converts a TSN time synchronization packet (gPTP) received from the TSN hub 3-2 of a TSN network A into a PTP packet, and forwards the converted PTP packet to a normal hub 1-2 of the network C. A PTP hub 2-2 receives PTP packets forwarded / relayed to the normal hubs 1-2 and 1-3, converts the packets into TSN time synchronization packets (gPTP), and sends them to a TSN hub 3-3 of a TSN network B.SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a technology for achieving time synchronization between TSN domains using time synchronization processing based on PTP (Precision Time Protocol). [Background technology]

[0002] (1)PTP Among PTP-compatible relay devices (communication devices), there are types 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) after going through the time synchronization processing procedure shown in Figure 1. 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 using 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.

[0003] (2)TSN Time-Sensitive Networking (TSN) is a network technology that extends standard Ethernet (registered trademark) to enable interoperability between industrial networks and IT networks, and is made up of multiple standards.

[0004] For example, according to the time synchronization of the “IEEE802.1AS” standard (gPPT), the transmission time D is calculated by equation (3) after going through the TSN time synchronization processing procedure shown in FIG. 2, i.e., the “PtoP (between adjacent devices)” TWO step. Equation (3): Transmission time D = (T4-T3) + (T2-T1) / 2 = (T4-T1) - (T3-T2) / 2 Figure 3 shows the difference between the ONE step and the TWO step by using the "SYNC" message as an example. That is, in the ONE step, the timestamp information of "T1" is set in the "SYNC" message packet and transmitted.

[0005] On the other hand, in the TWO step, "T1" is set in the "Follow_UP" message packet rather than the "SYNC" message packet and sent (the same applies to the "Pdelay_Resp_Follow_UP" message).

[0006] "gPTP" uses a two-step method to calculate the elapsed time (t1) from "T1" using equation (4), which takes into account the reception time delay (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) [Prior art documents] [Patent documents]

[0007] [Patent Document 1] Patent Publication No. 2019-053633 Summary of the Invention [Problem to be solved by the invention]

[0008] TSN is a new technology, and according to the "IEEE802.1AS" standard, relay devices (switching hubs) that do not support TSN's "gPTP" time synchronization cannot be used.

[0009] Therefore, when adding relay devices to an existing network, the area where TSN can be used is limited. Even when building a new network, it is difficult to make all relay devices TSN-compatible, so the use is similarly limited.

[0010] 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 a dedicated line to directly connect the TSN networks, but it is difficult to immediately deal with this problem using only current relay devices equipped with TSN.

[0011] The present invention has been made to solve such conventional problems, and has as its object to enable time synchronization between TSN networks through areas that do not support PTP (NON-PTP networks). [Means for solving the problem]

[0012] (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 the 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.

[0013] (2) Another aspect of the present invention is a method executed by a communication device connected to a boundary between each TSN (Time-Sensitive Networking) area on a network and a PTP (Precision Time Protocol) non-compatible area, a step of converting a TSN time synchronization packet received from a communication device adjacent to the TSN area into a PTP packet and transmitting the converted PTP packet to a communication device adjacent to the TSN non-compatible area; 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.

[0014] (3) Yet another aspect of the present invention is a communication device disposed on a boundary between a Time-Sensitive Networking (TSN) area on a network and an area not supporting Precision Time Protocol (PTP), 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. Effect of the Invention

[0015] According to the present invention, time synchronization between TSN networks becomes possible via a "NON-PTP network." [Brief description of the drawings]

[0016] [Figure 1] An overview of the PTP time synchronization processing procedure (ONE step). [Diagram 2] A schematic diagram of the TSN time synchronization process. [Diagram 3] FIG. 13 is a schematic diagram of a processing procedure showing an example of the TWO step. [Figure 4]A network configuration diagram in which NON-PTP networks and TSN networks coexist. [Diagram 5] FIG. 1 is a network configuration diagram of a time synchronization system according to an embodiment of the present invention. [Figure 6] 13 is a flowchart showing the main processing of TSN packet forwarding. [Figure 7] 11 is a flowchart showing a TSN packet forwarding determination process. [Figure 8] 13 is a flowchart showing a TSN packet forwarding process. [Figure 9] 11 is a flowchart showing a process for a "SYNC message." [Figure 10] 1 is a flowchart showing the processing for a "Follow_UP message", an "ANNOUNCE message", and an "ELSE message". [Figure 11] 11 is a flowchart showing a PTP packet transmission process. [Figure 12] 11 is a flowchart showing a TSN packet conversion process. [Figure 13] Schematic diagram showing conversion between TSN packets and PTP packets. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0017] A time synchronization method according to an embodiment of the present invention will be described below. This time synchronization method is applied to a network configuration shown in FIG.

[0018] Here, there is a "NON-PTP" network C that is configured with switching hubs (hereafter referred to as hubs) that do not have a PTP time synchronization function as a trunk line connecting factories, etc. This network C is adjacent to TSN networks A and B that are configured with TSN hubs, and the TSN networks A and B are independent areas from each other.

[0019] The details will be described with reference to Fig. 5. 1-1 to 1-4 in Fig. 5 indicate normal hubs 1 that do not have a PTP time synchronization function. These normal hubs 1-1 to 1-4 are arranged in a "NON-PTP" network C.

[0020] Reference numbers 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 slaves.

[0021] The PTP hubs 2-1 and 2-2 indicate the PTP hubs 2 arranged on the boundary between the "NON-PTP" network C and the TSN networks A and B. That is, the PTP hub 2-1 is arranged between the networks A and C, and is connected to the normal hub 1-2 and the TSN hub 3-2. On the other hand, the PTP hub 2-2 is arranged between the networks B and C, and is connected to the normal hub 1-3 and the TSN hub 3-3.

[0022] Here, the PTP hub 2 is configured with a process setting (see Patent Document 1) different from that of normal PTP in order to maintain the accuracy of PTP time synchronization even when passing through the normal hub 1. In addition, between the PTP hub 2 and the 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 "PtoP" process is possible by specifying a TSN port.

[0023] By connecting PTP hub 2 to the boundary between "NON-PTP" network C and TSN networks A and B in this way, time synchronization between TSN networks A and B is possible via "NON-PTP" network C.

[0024] For example, assume that TSN hub 3-1 (master) located in TSN network A sends a TSN time synchronization packet (gPTP: SYNC message, Follow_UP message, ANNOUNCE message).

[0025] 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) in TSN network B.

[0026] This enables time synchronization between TSN hubs 3-1 and 3-3 in TSN networks A and B. At this time, correcting the transit time between PTP hubs 2-1 and 2-2 enables accurate time synchronization between TSN hubs 3-1 and 3-3.

[0027] The following describes the specific processing content of the PTP hub 2. Note that the time synchronization packet of TSN time synchronization (gPTP) is different from PTP in that it is used at the L2 layer and can only use the "PtoP" transparency function.

[0028] (1) TSN packet forwarding main processing Based on FIG. 6, the overall processing contents of the TSN packet transfer main processing, i.e., 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.

[0029] S01: To start processing, data required for initial settings is input from outside into PTP hub 2 in advance. Specifically, initial settings values ​​for the number of TSN domains D1, TSN transfer enable / disable 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 initial settings values ​​into the initial settings file F1 inside PTP hub 2 and each is saved.

[0030] S02: Check whether initialization processing is required at the start (during start) of the PTP hub 2. If the result of the check shows that initialization processing is required, proceed to S03, whereas if not, proceed to S08.

[0031] 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).

[0032] S05: Check the TSN transfer flag D2. If the TSN transfer flag D2 is valid, proceed to S06. If the TSN transfer flag D2 is invalid, proceed to S07.

[0033] S06, S07: In S06, the device is set to a state waiting for receiving a TSN packet from the TSN port. In S07, the device is set to a state waiting for receiving a PTP packet from the PTP port.

[0034] S08, S09: In S08, a packet is received in the packet reception process, and the received packet P is stored. In addition, in S09, the packet forwarding decision process in Fig. 7 is executed, and the process ends after the execution.

[0035] (2)TSN packet forwarding decision process The packet forwarding decision process in S09 will be described in detail with reference to FIG.

[0036] S11: First, when the process starts, it is confirmed 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.

[0037] S12: The process ends after the TSN transfer process in FIG.

[0038] S13: It is confirmed whether the received packet P is a PTP packet or not. If it is a PTP packet, the process proceeds to S14, whereas if it is not a PTP packet, the process ends.

[0039] S14: As indicated by the arrow X1 in Fig. 13, the "Clock Identity" is obtained from the PTP information of the received packet P. After that, a source MAC address D6 is generated based on the obtained "Clock Identity" information.

[0040] 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 to execute the conventional PTP process and end the process.

[0041] S16: The TSN packet conversion process of FIG. 12 is executed, and then the process ends.

[0042] (3)TSN packet forwarding process The details of the TSN packet forwarding process in S12 will be described with reference to Fig. 8. This TSN packet forwarding process is executed by the PTP hub 2-1 that received the TSN packet in the network configuration in Fig. 5, for example. Here, according to S11, the received packet P becomes a TSN packet (gPTP).

[0043] S21: When the process starts, the TSN packet transfer enable / disable is confirmed by referring to the TSN transfer enable / disable flag D2. If the result of the confirmation is that the TSN packet transfer is enabled, the process proceeds to S22, whereas if the result is that the TSN packet transfer is disabled, the process ends.

[0044] S22, S23: The source MAC address D8 is obtained from the received packet P (S22). It is 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.

[0045] S24, S25: "Message ld", i.e., type information D7, is obtained from the "gPTP" information (see FIG. 13) of the received packet P (S24), and the processing type is confirmed based on the type information D7 (S25).

[0046] If the confirmation reveals that the process type is a "SYNC" message, the process proceeds to S26. On the other hand, if the process type is a "Follow_UP", "ANNOUNCE" or "ELSE" (other) message, the process proceeds to S27.

[0047] S26: Processing for "SYNC" is performed. S27: Processing for "Follow_UP", "ANNOUNCE", and "ELSE" is executed. Note that after the processing of S26 and S27 is executed, the TSN packet forwarding processing ends.

[0048] (4) Processing for "SYNC" The "SYNC" process of S26 will be described in detail with reference to Fig. 9. Here, the process is shown when the received packet P is a "SYNC" message.

[0049] S31: When the process starts, a timestamp is collected for the time when the received packet P arrives at the PTP hub 2. The collected arrival time (reception time) is saved as "Ta".

[0050] S32: The PTP packet transmission process of FIG. 11 is executed.

[0051] S33: After the PTP packet transmission process of S32, a timestamp is collected for the time when the PTP packet (received packet P) departs from the PTP hub 2. The collected departure time (transmission time) is saved as "Tb".

[0052] 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).

[0053] If the result of the check is normal, the process proceeds to S36, whereas if not normal, the process ends.

[0054] S36: Set the waiting flag of 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 of this "Follow_UP" message and end the process.

[0055] (5) Processing for "Follow_UP", "ANNOUNCE", and "ELSE" The details of the process shown in S27 will be described with reference to Fig. 10. Here, the details of the process when the received packet P is a message other than a "SYNC" message are shown.

[0056] S41: When the process starts, it is confirmed whether the received packet P is an "ANNOUNCE" message or not based on the process type of the received packet P acquired in S25. If the confirmation result is an "ANNOUNCE" message, the PTP packet transmission process of S45 is executed and this process is terminated. On the other hand, if the message is not an "ANNOUNCE" message, it proceeds to S42.

[0057] 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 message is not a "Follow_UP" message, the process ends (ELSE process). On the other hand, if the message is a "Follow_UP" message, the process proceeds to S43.

[0058] 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 not, end the process.

[0059] S44: The residence time of the "SYNC" message calculated in S34 is added to the "Correction" of the "PTP" information shown in FIG. 13, and the process proceeds to S45.

[0060] S45: The waiting flag of the target packet for processing is cleared. That is, since the received packet P is the target packet's "Follow_UP" message, the "Follow_UP" waiting flag D9 is cleared, and the process proceeds to S46.

[0061] S46: A PTP packet transmission process is executed, and the process ends after the execution.

[0062] (6)PTP packet transmission process The PTP packet transmission process of S46 will be described in detail with reference to Fig. 11. Here, the process of transferring the received packet P to the normal hub 1 is mainly shown.

[0063] S51: When the process starts, the MAC address of the PTP hub 2 is set as the source MAC address (see FIG. 13) of the received packet P (TSN packet).

[0064] S52: The multicast address of the PTP MAC is set as the destination MAC address of the received packet P (see FIG. 13).

[0065] S53: The following information is 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 PTP port number as the UDP destination port and source port S54: As shown in FIG. 13, the number of TSN domains is added to the “SubdomainNumber” of the “gPTP” information of the received packet P.

[0066] S55: The received packet P is transmitted as a PTP packet from the PTP port of the PTP hub 2. For example, in the case of the network configuration of Fig. 5, the PTP 2-1 transmits the received packet P after the processes of S51 to S54 to the normal hub 1-2. This transmission ends the process.

[0067] (7) PTP packet conversion process The details of the TSN packet conversion process in S16 will be described with reference to Fig. 12. For example, PTP hub 2-2, which has received a received packet P via normal hubs 1-2 and 1-3, executes the PTP packet conversion process in S16 when transferring the received packet P to TSN hub 3-3. Here, according to S13 to S15 in Fig. 7, the received packet P becomes a PTP packet.

[0068] S61: When the process starts, it is confirmed whether or not a TSN port is set. If the result of the confirmation is that the port is set, the process proceeds to S62, whereas if the port is not set, the process ends.

[0069] S62: The UDP / IP information (such as the UDP source port in FIG. 13) is deleted from the received packet P.

[0070] S63: As indicated by the arrow X1 in Fig. 13, the "Clock Identity" is obtained from the PTP information of the received packet P. Then, a source MAC address D6 is generated based on the obtained "Clock Identity" information. This conversion method is the same as S14.

[0071] S64, S65: The MAC address D11 converted in S63 is set as the source MAC address of the received packet P to be transferred (S64). Also, the multicast MAC address for TSN is set as the destination MAC address (TSN) (S65).

[0072] S66: Subtract the TSN domain number D1 from the “SubdomainNumber” of the PTP information of the received packet P.

[0073] S67: It is confirmed whether the process type according to "MessageId" of the PTP information of the received packet is a "Follow_UP" message. If the result of the confirmation is a "Follow_UP" message, the process proceeds to S68, and if the message is not a "Follow_UP" message, the process proceeds to S70.

[0074] S68, S69: The transmission delay "Meanpath" D10 calculated by normal PTP time synchronization is obtained (S68). The "Meanpath" D10 obtained here is added to the "correction" of the received packet P.

[0075] S70: The received packet P is transmitted as a TSN packet from the TSN port, and the process ends.

[0076] (8) Effects According to the time synchronization method, the following effects can be obtained.

[0077] (A) Realization of time synchronization As mentioned above, the TSN time synchronization packet (gPTP) sent by TSN hub 3-1 in TSN network A reaches PTP hub 2-1 via TSN hub 3-2.

[0078] At this time, the received packet P of the PTP hub 2-1 is converted into a PTP packet (S12) and then transmitted to the normal hub 1-2 (S46). After that, the received packet P reaches the PTP hub 2-2 via the normal hubs 1-2 and 1-3.

[0079] Here, the PTP hub 2-2 that receives the received packet P converts the received packet P into a TSN packet (gPTP) by PTP packet conversion processing (S16) and transfers it to the TSN hub 3-3 of the TSN network B.

[0080] 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 performed using a similar procedure.

[0081] As a result, it becomes possible to achieve PTP time synchronization between TSN hubs 3-1 and 3-3 of TSN networks A and B, which are independent and located far away, via a "NON-PTP" network C without laying a dedicated line.

[0082] 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.

[0083] (B) Preventing deterioration of time synchronization accuracy According to 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 PTP hubs 2-1 and 2-2 is also added in the same way (S68).

[0084] Therefore, the residence time can be used for time correction by TSN (gPTP), and this can prevent a decrease in time synchronization accuracy. 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. [Explanation of symbols]

[0085] 1(1-1~1-4)…Normal hub 2(2-1,2-2)…PTP hub 3 (3-1~3-3)…TSN Hub

Claims

1. A time-sensitive networking (TSN) system that performs time synchronization between TSN-compatible communication devices arranged in each TSN 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 transmitted to the communication device of the "NON-PTP" network; When the PTP packet is received from the 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 transmitted to the communication device of the TSN network. A time synchronization method characterized by the above.

2. The boundary communication device that receives a TSN time synchronization packet from a communication device of the TSN network, 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. The boundary communication device that receives the PTP packet from the communication device of the "NON-PTP" network, 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.

2. The time synchronization system according to claim 1.

3. 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, the communication device being 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:

4. 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 transmitted to the communication device of the "NON-PTP" network; When the PTP packet is received from the 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 transmitted to the communication device of the TSN network. A communication device comprising:

5. 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, further comprising: adding the remaining time to time information described in the "Follow_UP" message.

6. 6. The communication device according to claim 4, further comprising a switching hub.

Citation Information

Patent Citations

  • Information communication system and latency calculation method

    JP2011176479A

  • Network system

    JP2018082278A

  • Vehicle periphery monitoring device

    JP2019053633A

  • Network apparatus

    JP2020017877A

  • Network distributed packet-based synchronization

    US20120300795A1