WO2024193302A1 - Procédé de synchronisation temporelle, dispositif et support de stockage - Google Patents
Procédé de synchronisation temporelle, dispositif et support de stockage Download PDFInfo
- Publication number
- WO2024193302A1 WO2024193302A1 PCT/CN2024/078736 CN2024078736W WO2024193302A1 WO 2024193302 A1 WO2024193302 A1 WO 2024193302A1 CN 2024078736 W CN2024078736 W CN 2024078736W WO 2024193302 A1 WO2024193302 A1 WO 2024193302A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- time
- tsn
- time synchronization
- synchronization information
- converter
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
- H04J3/0658—Clock or time synchronisation among packet nodes
- H04J3/0661—Clock or time synchronisation among packet nodes using timestamps
- H04J3/0667—Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
- H04W56/003—Arrangements to increase tolerance to errors in transmission or reception timing
Definitions
- the present disclosure relates to the field of communication technology, and in particular to a time synchronization method, device and storage medium.
- Time sensitive network is a set of standards (IEEE 802.1Q) developed by the Time Sensitive Network Task Group of the IEEE802.1 Working Group, which is mainly used to transmit time-sensitive real-time data on Ethernet networks.
- TSN will be one of the main network technologies in future automobiles and Industry 4.0.
- the TSN system sends timing information to TSN nodes through the fifth-generation mobile communication technology (5G) system to achieve clock synchronization of TSN nodes in the same time domain. In layman's terms, the clock time of each TSN node is consistent.
- 5G fifth-generation mobile communication technology
- a time synchronization method is provided.
- the time synchronization method is applied to a network-side TSN converter, and the time synchronization method includes: receiving first time synchronization information sent by a first node of a time-sensitive network TSN; in response to the first time synchronization information, sending second time synchronization information to a device-side TSN converter, wherein the second time synchronization information includes a time deviation between a TSN clock source and a clock source of a communication network where the network-side TSN converter is located.
- a time synchronization method is provided.
- the time synchronization method is applied to a device-side TSN converter, and the time synchronization method includes: receiving second time synchronization information sent by a network-side TSN converter, the second time synchronization information including a time deviation between a clock source of a time-sensitive network and a clock source of a communication network where the network-side TSN converter is located; synchronizing the TSN time of the device-side TSN converter to the time of the clock source of the time-sensitive network according to the second time synchronization information; periodically correcting the TSN time of the device-side TSN converter based on the time deviation, and sending the corrected TSN time of the device-side TSN converter to a second node in the time-sensitive network.
- a time synchronization device in another aspect, includes: a receiving unit, configured to receive first time synchronization information sent by a first node of a time sensitive network TSN; and a sending unit, configured to send second time synchronization information to a device-side TSN converter in response to the first time synchronization information, wherein the second time synchronization information includes a time deviation between a TSN clock source and a clock source of a communication network where the network-side TSN converter is located.
- a time synchronization device in another aspect, includes: a receiving unit, configured to receive second time synchronization information sent by a network-side TSN converter, the second time synchronization information including a time deviation between a clock source of a time-sensitive network and a clock source of a communication network where the network-side TSN converter is located; a processing unit, configured to synchronize the TSN time of the device-side TSN converter to the time of the clock source of the time-sensitive network according to the second time synchronization information; and a sending unit, configured to periodically correct the TSN time of the device-side TSN converter based on the time deviation, and send the corrected TSN time of the device-side TSN converter to a second node in the time-sensitive network.
- an electronic device comprising: a processor and a memory, wherein the memory stores instructions executable by the processor, and when the processor is configured to execute the instructions, the electronic device implements the method provided in any of the above aspects.
- a computer-readable storage medium stores computer instructions, and when the computer instructions are executed on a computer, the computer executes the method provided in any one of the above aspects.
- a computer program product comprising computer instructions.
- the computer instructions are executed on a computer, the computer is enabled to execute the method provided in any one of the above aspects.
- FIG. 1 is a schematic diagram of an architecture of a communication system according to some embodiments.
- FIG2 is a schematic diagram of the architecture of a 5G system according to some embodiments.
- FIG3 is a schematic flow chart of a time synchronization method according to some embodiments.
- FIG4 is a schematic diagram of an overall flow chart of a time synchronization method according to some embodiments.
- FIG5 is a schematic diagram showing the composition of a time synchronization device according to some embodiments.
- FIG6 is a schematic diagram showing the composition of another time synchronization device according to some embodiments.
- FIG. 7 is a schematic diagram of the structure of an electronic device according to some embodiments.
- first”, “second”, etc. are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as “first”, “second”, etc. may explicitly or implicitly include one or more of the features. In the description of the present disclosure, unless otherwise specified, "plurality" means two or more.
- words such as “exemplarily” or “for example” are used to indicate examples, illustrations or descriptions. Any embodiment or design described as “exemplarily” or “for example” in the embodiments of the present disclosure should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as “exemplarily” or “for example” is intended to present related concepts in a specific way.
- the communication system deploys functional modules in user equipment (UE): device side TSN translator (DS-TT) and in user plane function (UPF): network side TSN translator (NW-TT) to adapt to the external TSN system.
- UE user equipment
- DS-TT device side TSN translator
- UPF user plane function
- NW-TT network side TSN translator
- the TSN system uses the precision time protocol (PTP) to achieve time synchronization.
- PTP precision time protocol
- 3GPP 3rd generation partnership project
- each PTP slave node After each PTP slave node receives the time synchronization message, it can obtain the current time of the grandmaster (GM) according to the fields in the time synchronization message, as well as the mean link delay (MeanLinkDelay) and the residence time (residence time), thereby completing time synchronization.
- GM grandmaster
- MeanLinkDelay mean link delay
- residence time residence time
- the upstream node is generally an end station device with TSN function, such as a programmable logic controller (PLC).
- PLC programmable logic controller
- the local clock frequency accuracy of the upstream node is usually lower than that of other nodes.
- the local clock of the upstream node is used as the master clock, after the downstream node synchronizes with the master clock, a time deviation is formed between the local clock of the downstream node and the master clock due to the different frequency accuracy, and the time deviation will continue to accumulate over time, thereby affecting the time synchronization accuracy.
- the time deviation can be reduced by increasing the sending frequency of the time synchronization message, but since the frequency of sending the time synchronization message by the upstream node is limited, the time synchronization accuracy cannot be effectively improved.
- the embodiment of the present disclosure provides a time synchronization method.
- the network-side TSN converter After receiving the first time synchronization information sent by the first node (i.e., the upstream node) of the TSN, the network-side TSN converter determines the time deviation between the time of the TSN master clock and the local time of the local clock of the network-side TSN converter according to the first time synchronization information, and then sends the second time synchronization information to the device-side TSN converter.
- the second time synchronization information includes the time deviation, so that the device-side TSN converter can synchronize the TSN time of the device-side TSN converter based on the time deviation.
- Time synchronization can be completed by setting the second time synchronization information to include a time deviation, so that within the sending interval of two time synchronization messages, the device-side TSN converter can send the corrected TSN time of the device-side TSN converter to the second node multiple times, that is, update the TSN time of the device-side TSN converter multiple times to improve the time synchronization accuracy.
- the technical solution provided by the embodiments of the present disclosure can be applied to various communication systems supporting TSN, for example, a New Radio (NR) communication system using 5G communication technology, a future evolution system, a long term evolution (LTE) or a variety of communication convergence systems, etc., and the embodiments of the present disclosure are not limited to this.
- NR New Radio
- 5G Fifth Generation
- LTE long term evolution
- FIG1 is a schematic diagram of the structure of a communication system provided by an embodiment of the present disclosure.
- the communication system includes a radio access network (RAN) device 101, a terminal device 102, and a core network device 103, wherein the terminal device 102 can be connected to a TSN node, such as a TSN end node, a TSN bridge, etc.
- the core network device 103 can be connected to a TSN node, such as a TSN clock source, a TSN bridge, etc.
- the wireless access network device 101 may be a common base station (such as Node B or eNB), a new radio controller (NR controller), a gNode B (gNB) or en-gNB in a 5G system, a centralized unit, a new wireless base station, a radio frequency remote module, a micro base station, a relay, a distributed unit, a transmission reception point (TRP) or a transmission point (TP) or any other wireless access device, etc., and the embodiments of the present disclosure do not limit this.
- the base station can be divided into a macro base station for providing a macro cell, a micro base station for providing a pico cell, and a femto base station for providing a femto cell. With the continuous evolution of wireless communication technology, future base stations may also adopt other names.
- the terminal device 102 may be a device with wireless transceiver functions, such as a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, an augmented reality (AR)/virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), etc.
- the disclosed embodiment does not limit the type of the terminal device 102.
- the terminal device is also called a user equipment (UE).
- UE user equipment
- the core network device 103 may be a user plane function UPF.
- 5GS deploys a functional module: DS-TT in the UE and a functional module: NW-TT in the UPF to adapt to the external TSN system.
- 5GS when 5GS acts as a TSN bridge (TSN Bridge), it can be called 5GS Virtual TSN Bridge (5GS Virtual TSN Bridge).
- TSN Bridge TSN Bridge
- 5GS Virtual TSN Bridge 5GS Virtual TSN Bridge
- UPF, RAN and UE belong to the 5G clock domain
- the upstream TSN node, NW-TT, DS-TT and downstream TSN node belong to the TSN clock domain.
- the clock frequencies of the upstream TSN node and downstream TSN node are different from those of the NW-TT and DS-TT, while each node in the 5G clock domain uses a clock frequency with a unified accuracy level.
- FIG1 is an exemplary structural diagram, and the number of devices included in the communication system shown in FIG1 is not limited, for example, the number of wireless access network devices is not limited and the number of terminal devices is not limited.
- the communication system shown in FIG1 may also include other devices, which is not limited.
- an embodiment of the present disclosure provides a time synchronization method, which can be applied to the communication system shown in FIG. 1 .
- the method includes the following S101 - S104 .
- a network-side TSN converter receives first time synchronization information sent by a first TSN node.
- the network-side TSN converter is the NW-TT in FIG. 2 above
- the first node of TSN is the upstream TSN node in FIG. 2 above
- the A node may be a PLC.
- the first node in order to perform time synchronization, the first node periodically sends first time synchronization information to the network-side TSN converter.
- the network-side TSN converter receives the first time synchronization information sent by the first node.
- the network-side TSN converter receives the first time synchronization information sent by the first node, which may include the following situations.
- Scenario 1 The first node sends the first time synchronization information to the network-side TSN converter via a message.
- the first node when the first node has higher hardware performance, the first node may send a first time synchronization (Sync) message to the network-side TSN converter, and the first Sync message includes first time synchronization information. Accordingly, the network-side TSN converter receives the first Sync message sent by the first node, and since the first Sync message includes the first time synchronization information, the first time synchronization information sent by the first node is received.
- Sync time synchronization
- Scenario 2 The first node sends the first time synchronization information to the network-side TSN converter via two messages.
- the first node may first send a first Sync message to the network-side TSN converter, and then send a first follow-up message to the network-side TSN converter, and the first follow-up message includes the first time synchronization information. Accordingly, before the network-side TSN converter receives the first time synchronization information sent by the first node, it receives the first Sync message sent by the first node, and then receives the first follow-up message sent by the first node. Since the first follow-up message includes the first time synchronization information, the first time synchronization information sent by the first node is received.
- the first time synchronization information includes a reference timestamp and a first correction parameter.
- the reference timestamp and the first correction parameter are used to indicate the TSN time when the first node sends the first Sync message.
- the sum of the reference timestamp and the first correction parameter can be used as the TSN time when the first node sends the first Sync message.
- the value of the first correction parameter is 0.
- the reference timestamp in the first time synchronization information is used to indicate a TSN reference time, where the TSN reference time is the TSN time when the first node sends the first Sync message.
- the first time synchronization information also includes a frequency ratio and a packet interval parameter.
- the frequency ratio is the ratio between the frequencies of the TSN clock source and the clock source of the communication network.
- the packet interval parameter is used to determine the time interval between sending two consecutive first Sync messages.
- the reference timestamp is located in the PreciseOriginalTimeStamp field of the first time synchronization information
- the first correction parameter is located in the CorrectionField field of the first time synchronization information
- the frequency ratio is located in the rateRatio field of the first time synchronization information
- the packet transmission interval parameter is located in the SyncInterval field of the first time synchronization information.
- the first node sends the first time synchronization information to the network side TSN converter through a message, that is, the first node sends the first time synchronization information to the network side TSN converter according to the one-step method, and the first node sends the first time synchronization information to the network side TSN converter through two messages, that is, the first node sends the first time synchronization information to the network side TSN converter according to the two-step method.
- the first time synchronization information includes the reference timestamp, and sending the reference timestamp requires certain hardware performance to support, when the first node has higher hardware performance, the first node can send a first Sync message to complete the sending of the first time synchronization information.
- the first node does not have higher hardware performance, the first node can send a first Sync message and then send a first follow up message to complete the sending of the first time synchronization information.
- the network-side TSN converter In response to the first time synchronization information, the network-side TSN converter sends second time synchronization information to the device-side TSN converter. Accordingly, the device-side TSN converter receives the second time synchronization information sent by the network-side TSN converter.
- the network-side TSN converter after receiving the first time synchronization information, modifies the first time synchronization information in response to the first time synchronization information to obtain second time synchronization information, and then sends the second time synchronization information to the device-side TSN converter.
- the second time synchronization information includes a time offset between the TSN clock source and a clock source of a communication network of the network-side TSN converter.
- the communication network where the network-side TSN converter is located is a 5G communication network.
- the clock source of the network is also the clock source of the 5G communication network.
- the second time synchronization information also includes at least one of the following: a reference timestamp, an entry timestamp, a packet interval parameter, a second correction parameter and a frequency ratio.
- the reference timestamp and the second correction parameter are used to indicate the TSN time when the network side TSN converter sends the second Sync message.
- the entry timestamp is used to indicate the local time when the network side TSN converter sends the second Sync message.
- the packet interval parameter is used to determine the time interval between sending two second Sync messages.
- the second correction parameter is used to indicate the difference between the TSN time when the network side TSN converter sends the second Sync message and the reference time.
- the reference timestamp is located in the PreciseOriginalTimeStamp field of the second time synchronization information
- the second correction parameter is located in the CorrectionField field of the second time synchronization information
- the frequency ratio is located in the rateRatio field of the second time synchronization information
- the packet interval parameter is located in the SyncInterval field of the second time synchronization information.
- the time deviation between the TSN clock source and the clock source of the communication network where the network-side TSN converter is located is obtained according to the following S1-S2.
- the reference timestamp and the first correction parameter are used to indicate the TSN time when the first node sends the first Sync message.
- the reference timestamp, the first correction parameter and the link delay between the network-side TSN converter may be added to obtain a first TSN time.
- the first TSN time is the TSN time when the network-side TSN converter receives the first Sync message.
- the first local time is the local time when the network-side TSN converter receives the first Sync message.
- the local time when the network-side TSN converter receives the first Sync message includes the local TSN time and the local 5GS time, and the first local time is the local TSN time when the network-side TSN converter receives the first Sync message.
- the time offset is a difference between the first TSN time and the first local time.
- the modification of the first time synchronization information by the network-side TSN converter includes one or more of the following:
- the TSi timestamp is also the above-mentioned entry timestamp.
- the TSi timestamp uses 5GS time.
- the network-side TSN converter updates the first time synchronization information to obtain the second time synchronization information.
- the network-side TSN converter sends the second time synchronization information to the device-side TSN converter, which may include the following situations.
- Scenario 1 The network-side TSN converter sends the second time synchronization information to the device-side TSN converter via a message.
- the network-side TSN converter sends a second Sync message to the device-side TSN converter, and the second Sync message includes the second time synchronization information. Accordingly, the device-side TSN converter receives the second Sync message sent by the network-side TSN converter.
- the document includes the second time synchronization information, that is, the second time synchronization information sent by the TSN converter on the receiving network side.
- Scenario 2 The network-side TSN converter sends the second time synchronization information to the device-side TSN converter via two messages.
- the network-side TSN converter may first send a second Sync message to the device-side TSN converter, and then send a second follow up message to the device-side TSN converter, and the second follow up message includes the second time synchronization information. Accordingly, before the device-side TSN converter receives the second time synchronization information sent by the network-side TSN converter, it receives the second Sync message sent by the network-side TSN converter, and then receives the second follow up message sent by the network-side TSN converter. Since the second follow up message includes the second time synchronization information, the second time synchronization information sent by the network-side TSN converter is received.
- the device-side TSN converter synchronizes the TSN time of the device-side TSN converter to the time of the clock source of the time-sensitive network according to the second time synchronization information.
- the device-side TSN converter is the DS-TT shown in Figure 2 above.
- the device-side TSN converter synchronizes the TSN time of the device-side TSN converter to the time of the clock source of the time-sensitive network according to the second time synchronization information, which may include the following A1-A2.
- A1 Based on the second time synchronization information, obtain a reference timestamp, an entry timestamp, a second correction parameter and a frequency ratio.
- the device-side TSN converter parses the second time synchronization information to obtain a reference timestamp, an entry timestamp, a second correction parameter, and a frequency ratio.
- A2 Determine a second TSN time according to the reference timestamp, the entry timestamp, the second correction parameter, the frequency ratio and the second local time.
- the second local time is the local time when the device-side TSN converter receives the second Sync message.
- the second TSN time is the TSN time when the device-side TSN converter receives the second Sync message.
- the reference timestamp and the second correction parameter are used to indicate the TSN time when the network-side TSN converter sends the second Sync message.
- the entry timestamp is used to indicate the local time when the network-side TSN converter sends the second Sync message.
- the second correction parameter is used to indicate the difference between the TSN time when the network-side TSN converter sends the second Sync message and the reference time.
- the frequency ratio is the ratio between the frequency of the TSN clock source and the frequency of the clock source of the communication network.
- the local time when the device-side converter receives the second Sync message includes the local 5GS time and the local TSN time
- the second local time is the local 5GS time when the device-side converter receives the second Sync message.
- the local time when the network-side TSN converter sends the second Sync message includes the local 5GS time and the local TSN time
- the entry timestamp is used to indicate the local 5GS time when the network-side TSN converter sends the second Sync message.
- CurrentTSNtime is the second TSN time
- PreciseOriginalTimeStamp is the reference timestamp
- CorrectionField is the second correction parameter
- CurrentTime(5G) is the second local time
- TSi is the entry timestamp
- rateRatio is the frequency ratio.
- the TSN time of the device-side TSN converter is synchronized to the second TSN time, that is, the TSN time of the device-side TSN converter is synchronized to the time of the clock source of the time-sensitive network.
- the device-side TSN converter periodically corrects the TSN time of the device-side TSN converter based on the time deviation, and sends the corrected TSN time of the device-side TSN converter to the second node in the time-sensitive network.
- the device-side TSN converter periodically corrects the TSN time of the device-side TSN converter based on the time deviation, which may include the following B1-B3.
- the second time synchronization information also includes a packet sending interval parameter, and the packet sending interval parameter is used to determine the duration of the time synchronization period between the time sensitive network and the communication network.
- the device-side TSN converter stores the number of corrections pre-configured by the network administrator, where the number of corrections is used to indicate the granularity of dividing the time deviation, for example, the number of corrections is 6.
- the device-side TSN converter can determine the duration of the time synchronization cycle between the time-sensitive network and the communication network based on the packet interval parameter in the second time synchronization information, and then determine the correction time interval based on the duration of the time synchronization cycle between the time-sensitive network and the communication network and the preset number of corrections.
- SyncInterval is the duration of the time synchronization period between the time-sensitive network and the communication network
- SyncInterval is the packet interval parameter
- N is the number of corrections.
- the correction value is used to correct the TSN time of the TSN converter on the device side.
- Z is the correction value and TimeOffset is the time deviation.
- the TSN time on the device side is corrected with the correction value at each correction time interval to obtain the corrected TSN time of the TSN converter on the device side.
- the device-side TSN converter may insert the correction value into the TSN time of the device-side TSN converter at each correction time interval to perform interpolation compensation, thereby obtaining the corrected TSN time of the device-side TSN converter.
- a timer is preset in the device-side TSN converter, so that after each correction time interval is reached by the timer, the device-side TSN converter corrects the TSN time of the device-side TSN converter with a correction value to obtain the corrected TSN time of the device-side TSN converter.
- the device-side TSN converter when the device-side TSN converter obtains the corrected TSN time of the device-side TSN converter, the device-side TSN converter sends the corrected TSN time of the device-side TSN converter to the second node in the time-sensitive network. Accordingly, the second node receives the corrected TSN time of the device-side TSN converter sent from the device-side TSN converter.
- the second node is also the downstream TSN node shown in FIG. 2 above.
- the second node after receiving the corrected TSN time of the device-side TSN converter, the second node reads the corrected TSN time of the device-side TSN converter to complete time synchronization with the first node.
- the third time synchronization information may be sent to the second node, where the third time synchronization information includes the corrected TSN time of the device-side TSN converter.
- the implementation of the device-side TSN converter sending the third time synchronization information to the second node may refer to the two situations in which the first node sends the first time synchronization information to the network-side TSN converter in the above step S101, which will not be described in detail here.
- time synchronization method provided by an embodiment of the present disclosure is applied to the network architecture of a 5GS bridge to complete time synchronization.
- a time synchronization method provided by an embodiment of the present disclosure can also be applied to other deterministic network (such as DetNet) architectures to complete time synchronization in the corresponding deterministic network architecture, and the embodiment of the present disclosure is not limited to this.
- the device side TSN converter determines the time deviation between the TSN clock source and the clock source of the communication network where the network side TSN converter is located through the time synchronization information, and then sends the second time synchronization information to the device side TSN converter, and the second time synchronization information includes the time deviation, so that the device side TSN converter periodically corrects the TSN time of the device side TSN converter based on the time deviation, and then periodically sends the corrected TSN time of the device side TSN converter to the second node to complete time synchronization.
- the device side TSN converter can send the corrected TSN time of the device side TSN converter to the second node multiple times within the sending interval of the two time synchronization information, so as to improve the time synchronization accuracy.
- a time synchronization method provided by an embodiment of the present disclosure is introduced below in conjunction with the schematic diagram of the 5G system architecture shown in Figure 2.
- Figure 4 a schematic diagram of the overall process of a time synchronization method provided by an embodiment of the present disclosure is shown. As shown in Figure 4, the method as a whole includes the following S301-S308.
- the upstream TSN node sends first time synchronization information to the NW-TT.
- the upstream TSN node periodically sends the first time synchronization information to the NW-TT for time synchronization.
- the first time synchronization information can be sent based on a one-step method, that is, sending a first Sync message, the first Sync message includes the first time synchronization information, or based on a two-step method, that is, first sending the first Sync message, and then sending a follow up message, the follow up message includes the first time synchronization information, and the embodiment of the present disclosure does not limit this.
- the first time synchronization information includes Cumulative rate Ratio and correction filed.
- the NW-TT parses the first time synchronization information to obtain the current time of the master clock, and calculates the time offset (TimeOffset) between the current time of the master clock and the current time of the NW-TT local clock.
- the current time of the NW-TT local clock is the current TSN time of the NW-TT local clock.
- NW-TT updates the first time synchronization information and obtains second time synchronization information.
- Updates include:
- NW-TT sends second time synchronization information to DS-TT.
- the second time synchronization information may be sent based on a one-step method, that is, sending a second Sync message, which includes the second time synchronization information, or may be sent based on a two-step method, that is, first sending the second Sync message, and then sending a follow up message, which includes the second time synchronization information.
- the embodiment of the present disclosure does not limit this.
- the second time synchronization information includes a time deviation, a TSi timestamp, a cumulative rateRatio, and a correction filed.
- S306 may include the following steps:
- the DS-TT sends the corrected TSN time of the DS-TT to the downstream TSN node.
- the downstream TSN node reads the corrected TSN time of the DS-TT to complete time synchronization.
- each node such as the network-side TSN converter and the device-side TSN converter, includes hardware structures and/or software modules corresponding to the execution of each function in order to realize the above functions.
- the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present disclosure.
- FIG5 is a schematic diagram showing the composition of a time synchronization device provided by an embodiment of the present disclosure.
- the time synchronization device 20 includes a receiving unit 201 , a processing unit 202 and a sending unit 203 .
- the time synchronization device 20 may be the above-mentioned network side TSN converter or a chip in the network side TSN converter.
- each unit is used to implement the following functions.
- the receiving unit 201 is configured to receive first time synchronization information sent by a first node of a time sensitive network TSN.
- the sending unit 203 is used to send second time synchronization information to the device-side TSN converter in response to the first time synchronization information, where the second time synchronization information includes a time deviation between the TSN clock source and a clock source of a communication network where the network-side TSN converter is located.
- the receiving unit 201 is used to receive a first time synchronization (Sync) message sent by a first node, where the first Sync message includes first time synchronization information.
- Sync time synchronization
- the receiving unit 201 before receiving the first time synchronization information sent by the first node of the time sensitive network TSN, the receiving unit 201 is further configured to receive a first Sync message sent by the first node.
- the receiving unit 201 is used to receive a first follow up message sent by a first node, where the first follow up message includes first time synchronization information.
- the first time synchronization information includes a reference timestamp and a first correction parameter, and the reference timestamp and the first correction parameter are used to indicate the TSN time when the first node sends the first Sync message; the processing unit 202 is used to determine the first TSN time according to the reference timestamp, the first correction parameter and the link delay between the first node and the network side TSN converter in the first time synchronization information, and the first TSN time is the TSN time when the network side TSN converter receives the first Sync message; determine the time deviation according to the first TSN time and the first local time, and the first local time is the local time when the network side TSN converter receives the first Sync message.
- the sending unit 203 is used to send a second Sync message to the device-side TSN converter, where the second Sync message includes second time synchronization information.
- the sending unit 203 before sending the second time synchronization information to the device-side TSN converter, is further configured to send a second Sync message to the device-side TSN converter.
- the sending unit 203 is used to send a second follow up message to the device side TSN converter, and the second follow up message includes second time synchronization information.
- the second time synchronization information also includes at least one of the following: a reference timestamp, an entry timestamp, a packet interval parameter, a correction parameter and a frequency ratio.
- the reference timestamp and the second correction parameter are used to indicate the local time when the network side TSN converter sends the second Sync message.
- the packet interval parameter is used to determine the time interval between two consecutive first Sync messages.
- the second correction parameter is used to indicate the difference between the TSN time when the network side TSN converter sends the second Sync message and the reference time.
- the frequency ratio is the ratio between the frequency of the TSN clock source and the frequency of the clock source of the communication network.
- FIG6 is a schematic diagram showing the composition of another time synchronization device provided by an embodiment of the present disclosure.
- the time synchronization device 30 includes a receiving unit 301 , a processing unit 302 and a sending unit 303 .
- the time synchronization device 30 may be the device-side TSN converter or a chip in the device-side TSN converter. When the time synchronization device 30 is used to implement the function of the device-side TSN converter in the above embodiment, each unit is used to implement the following functions.
- the receiving unit 301 is used to receive second time synchronization information sent by the network-side TSN converter, where the second time synchronization information includes a time deviation between a clock source of the time-sensitive network and a clock source of the communication network where the network-side TSN converter is located.
- the processing unit 302 is configured to synchronize the TSN time of the device-side TSN converter to the time of the clock source of the time-sensitive network according to the second time synchronization information.
- the sending unit 303 is used to periodically correct the TSN time of the device-side TSN converter based on the time deviation, and send the corrected TSN time of the device-side TSN converter to the second node in the time sensitive network.
- the processing unit 302 is used to: determine a correction time interval based on the length of the time synchronization period and the number of corrections between the time sensitive network and the communication network; determine a correction value based on the time deviation and the number of corrections; after synchronizing the TSN time of the device-side TSN converter to the time of the clock source of the time sensitive network, correct the TSN time of the device-side TSN converter with the correction value every correction time interval to obtain the corrected TSN time of the device-side TSN converter.
- the receiving unit 301 is used to receive a second Sync message sent by a network-side TSN converter, where the second Sync message includes second time synchronization information.
- the receiving unit 301 before receiving the second time synchronization information sent by the network-side TSN converter, is further configured to receive a second Sync message sent by the network-side TSN converter.
- the receiving unit 301 is used to receive a second follow up message sent by the TSN converter on the network side, where the second follow up message includes second time synchronization information.
- the second time synchronization information also includes at least one of the following: a reference timestamp, an entry timestamp, a packet interval parameter, a second correction parameter and a frequency ratio.
- the reference timestamp and the second correction parameter are used to indicate the local time when the network side TSN converter sends the second Sync message.
- the packet interval parameter is used to determine the duration of the time synchronization cycle between the time sensitive network and the communication network.
- the second correction parameter is used to indicate the difference between the TSN time when the network side TSN converter sends the second Sync message and the reference time.
- the frequency ratio is the ratio between the frequency of the TSN clock source and the frequency of the clock source of the communication network.
- the processing unit 302 is used to: obtain a reference timestamp, an entry timestamp, a second correction parameter, and a frequency ratio based on the second time synchronization information; determine a second TSN time according to the reference timestamp, the entry timestamp, the second correction parameter, the frequency ratio, and the second local time, the second local time being the local time when the device-side TSN converter receives the second Sync message, and the second TSN time being the TSN time when the device-side TSN converter receives the second Sync message; synchronize the TSN time of the device-side TSN converter to the second TSN time.
- the units in Figures 5 and 6 may also be referred to as modules, for example, the sending unit may be referred to as a sending module.
- the names of the various units may not be the names shown in the figures, for example, the sending unit may also be referred to as a communication unit, and the receiving unit may also be referred to as a communication unit.
- FIG. 5 and FIG. 6 are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium.
- the technical solution of the embodiment of the present disclosure, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the methods of the various embodiments of the present disclosure.
- the storage medium storing the computer software product includes: Various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks or optical disks.
- the present disclosure provides a schematic diagram of the structure of an electronic device.
- the electronic device 40 includes: a memory 401 , a processor 402 , a communication interface 403 , and a bus 404 .
- the memory 401 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.
- ROM read-only memory
- RAM random access memory
- EEPROM electrically erasable programmable read-only memory
- disk storage medium or other magnetic storage device or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.
- the processor 402 may be a processor that implements or executes various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of the present disclosure.
- the processor 402 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of the present disclosure.
- the processor 402 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
- the communication interface 403 is used to connect with other devices through a communication network.
- the communication network can be Ethernet, wireless access network, wireless local area network (WLAN), etc.
- the memory 401 may exist independently of the processor 402, and the memory 401 may be connected to the processor 402 via a bus 404 to store instructions or program codes.
- the processor 402 calls and executes the instructions or program codes stored in the memory 401, the time synchronization method provided in the embodiment of the present disclosure can be implemented.
- the memory 401 may also be integrated with the processor 402 .
- the bus 404 may be an extended industry standard architecture (EISA) bus, etc.
- the bus 404 may be divided into an address bus, a data bus, a control bus, etc.
- FIG. 7 only uses one thick solid line, but does not mean that there is only one bus or one type of bus.
- the disclosed embodiment also provides a computer-readable storage medium. All or part of the processes in the above method embodiments can be completed by computer instructions to instruct the relevant hardware, and the program can be stored in the above computer-readable storage medium. When the program is executed, it can include the processes of the above method embodiments.
- the computer-readable storage medium can be an internal storage unit of the time synchronization device provided in any of the above embodiments, such as the memory of a computer device.
- the above computer-readable storage medium can also be an external storage device of the above time synchronization device, such as a plug-in hard disk, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, a flash card (flash card), etc. equipped on the above time synchronization device.
- the above computer-readable storage medium can also include both the internal storage unit of the above time synchronization device and an external storage device.
- the above computer-readable storage medium is used to store the above computer program and other programs and data required by the above time synchronization device.
- the above computer-readable storage medium can also be used to temporarily store data that has been output or is to be output.
- the above computer-readable storage medium includes a non-transitory computer-readable storage medium.
- the embodiments of the present disclosure further provide a computer program product, which includes a computer program.
- the computer program product When the computer program product is run on a computer, the computer is enabled to execute any one of the time synchronization methods provided in the above embodiments.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
La présente divulgation concerne un procédé de synchronisation temporelle, un dispositif et un support de stockage. Le procédé de synchronisation temporelle consiste à : recevoir des premières informations de synchronisation temporelle envoyées par un premier nœud d'un réseau sensible au temps (TSN) ; et en réponse aux premières informations de synchronisation temporelle, envoyer des secondes informations de synchronisation temporelle à un convertisseur TSN côté dispositif, les secondes informations de synchronisation temporelle contenant un écart temporel entre une source d'horloge TSN et une source d'horloge d'un réseau de communication où se trouve un convertisseur TSN côté réseau.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310304598.2A CN118677558A (zh) | 2023-03-20 | 2023-03-20 | 时间同步方法、设备及存储介质 |
| CN202310304598.2 | 2023-03-20 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024193302A1 true WO2024193302A1 (fr) | 2024-09-26 |
Family
ID=92727767
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2024/078736 Ceased WO2024193302A1 (fr) | 2023-03-20 | 2024-02-27 | Procédé de synchronisation temporelle, dispositif et support de stockage |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN118677558A (fr) |
| WO (1) | WO2024193302A1 (fr) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119316371B (zh) * | 2024-10-28 | 2025-09-09 | 天翼物联科技有限公司 | 基于终端侧tsn转换器的数据处理方法和装置、设备及介质 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2020220747A1 (fr) * | 2019-04-29 | 2020-11-05 | 华为技术有限公司 | Procédé, appareil et système de traitement de service tsn |
| CN114050884A (zh) * | 2021-11-08 | 2022-02-15 | 重庆邮电大学 | 一种面向工业无线与tsn融合的跨网时间同步方法 |
| US20220174625A1 (en) * | 2020-03-23 | 2022-06-02 | Tencent Technology (Shenzhen) Company Limited | Method for implementing time synchronization and related device |
| CN114827056A (zh) * | 2022-04-13 | 2022-07-29 | 华南理工大学 | 基于5g移动通信中时间敏感网络传输的系统及方法 |
| WO2022176026A1 (fr) * | 2021-02-16 | 2022-08-25 | 三菱電機株式会社 | Traducteur de réseau et traducteur de dispositif |
-
2023
- 2023-03-20 CN CN202310304598.2A patent/CN118677558A/zh active Pending
-
2024
- 2024-02-27 WO PCT/CN2024/078736 patent/WO2024193302A1/fr not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2020220747A1 (fr) * | 2019-04-29 | 2020-11-05 | 华为技术有限公司 | Procédé, appareil et système de traitement de service tsn |
| US20220174625A1 (en) * | 2020-03-23 | 2022-06-02 | Tencent Technology (Shenzhen) Company Limited | Method for implementing time synchronization and related device |
| WO2022176026A1 (fr) * | 2021-02-16 | 2022-08-25 | 三菱電機株式会社 | Traducteur de réseau et traducteur de dispositif |
| CN114050884A (zh) * | 2021-11-08 | 2022-02-15 | 重庆邮电大学 | 一种面向工业无线与tsn融合的跨网时间同步方法 |
| CN114827056A (zh) * | 2022-04-13 | 2022-07-29 | 华南理工大学 | 基于5g移动通信中时间敏感网络传输的系统及方法 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN118677558A (zh) | 2024-09-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110324889B (zh) | 时钟同步方法、通信装置及通信设备 | |
| EP2429105B1 (fr) | Noued dans un système sans fil avec synchronisation du temps et de la fréquence d'horloge et procédé correspondant | |
| CN102013931B (zh) | 时间同步方法及系统、从属定时设备及主定时设备 | |
| US12445897B2 (en) | Communication method, apparatus, and computer-readable storage medium | |
| US12167353B2 (en) | Network entities and methods for a wireless network system for determining time information | |
| EP4072187B1 (fr) | Procédé et appareil de synchronisation temporelle de réseau sensible au temps | |
| WO2015180188A1 (fr) | Procédé de synchronisation, dispositif de synchronisation, et station de base | |
| EP2005652A2 (fr) | Raccordement rapide à un réseau local sans fil (wlan) | |
| WO2022027666A1 (fr) | Procédé et appareil de synchronisation temporelle | |
| WO2013178148A1 (fr) | Procédé de synchronisation d'horloge et dispositif pour réseau de communication | |
| WO2024193302A1 (fr) | Procédé de synchronisation temporelle, dispositif et support de stockage | |
| WO2012068848A1 (fr) | Procédé et système de synchronisation de temps | |
| CN102857315B (zh) | 主时钟服务从时钟的方法及系统 | |
| WO2010102565A1 (fr) | Procédé, appareil et système pour une synchronisation temporelle | |
| WO2025148448A1 (fr) | Procédé et dispositif de synchronisation temporelle et support de stockage | |
| US20250267087A1 (en) | Method and apparatus for determining phase difference, storage medium, and electronic device | |
| CN103117845A (zh) | 一种透明时钟驻留时间的修正方法、装置及系统 | |
| CN111884751A (zh) | 一种基于ptp的智能电网时间同步方法和装置 | |
| US12395333B2 (en) | Method and apparatus for blockchain-aware mobile vehicle communication | |
| WO2012055289A1 (fr) | Procédé, station de base et système pour synchroniser des numéros de trame | |
| WO2022067639A1 (fr) | Procédé et appareil de synchronisation de temps | |
| CN116456444A (zh) | 传播时延补偿方法及装置 | |
| CN118972475B (zh) | 传输延时时间的确定方法及装置、存储介质、电子装置、计算机程序产品 | |
| CN121645444A (zh) | 一种基于5g网络空口不对称补偿的tsn时间同步方法及系统 | |
| CN121056991A (zh) | 时钟同步方法、装置、设备及存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 24773870 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 24773870 Country of ref document: EP Kind code of ref document: A1 |