WO2021004005A1 - Timestamp jitter compensation method and system - Google Patents

Timestamp jitter compensation method and system Download PDF

Info

Publication number
WO2021004005A1
WO2021004005A1 PCT/CN2019/124990 CN2019124990W WO2021004005A1 WO 2021004005 A1 WO2021004005 A1 WO 2021004005A1 CN 2019124990 W CN2019124990 W CN 2019124990W WO 2021004005 A1 WO2021004005 A1 WO 2021004005A1
Authority
WO
WIPO (PCT)
Prior art keywords
receiving
time interval
message
sending
time
Prior art date
Application number
PCT/CN2019/124990
Other languages
French (fr)
Chinese (zh)
Inventor
陈驰
吴倩
Original Assignee
烽火通信科技股份有限公司
武汉飞思灵微电子技术有限公司
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 烽火通信科技股份有限公司, 武汉飞思灵微电子技术有限公司 filed Critical 烽火通信科技股份有限公司
Publication of WO2021004005A1 publication Critical patent/WO2021004005A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • H04J3/0667Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements

Definitions

  • the invention relates to the field of time synchronization, in particular to a time stamp jitter compensation method and system.
  • the PTP protocol (Precision Time Protocol) or the 1588 protocol provides a mechanism for time synchronization in Ethernet. It uses the symmetry and delay measurement of the network to achieve master control between nodes. The synchronization of the slave time allows the slave device and the master device to have a consistent clock frequency and phase.
  • the slave clock of the slave station can calculate the time offset and link delay between it and the master clock of the master station according to the four time stamps t1, t2, t3, and t4 obtained, namely:
  • Time offset Offset [(t2-t1)-(t4-t3)]/2
  • 5G technology puts forward higher requirements for the accuracy of time synchronization in the bearer network. Furthermore, the ultimate performance of time synchronization is highly sensitive to link delay jitter, requiring more accurate recording of message timestamps, that is, the location is closer to the actual physical port, and the processing clock frequency of message timestamps is further improved.
  • the message will go through a series of operations such as non-fixed buffering or AM codeword insertion and deletion from the time stamping to the physical link port.
  • There is jitter in the link delay (see Figure 2), which leads to jitter in time synchronization.
  • the location of the time stamp record is located at the physical link port
  • the existing time synchronization method can only achieve the time error between the sender and the receiver within ⁇ 200ns, which does not meet the time synchronization requirements of 5G technology (error within ⁇ 5ns) Within)
  • the technical problem solved by the present invention is: how to improve the time synchronization accuracy without improving the hardware.
  • the present invention provides a time stamp jitter compensation method, which is suitable for messages with time stamps.
  • the method includes the following steps: the receiving end according to the sending time interval between this message and the last message, And the time interval between the current message and the last message received, to compensate the timestamp of the current message.
  • the specific steps of the method include: the sending end sends the sending time interval to the receiving end along with this message; the receiving end subtracts the sending time interval from the receiving time interval to obtain the sending and receiving time interval If the difference ⁇ t is normal, the receiving end adds the receiving timestamp of the current message to the receiving and sending ⁇ t to obtain the compensated receiving timestamp, and marks the timestamp as the receiving timestamp of the current message.
  • the method for judging that the transmission and reception time interval difference ⁇ t is normal is to determine whether the absolute value of the transmission and reception time interval difference ⁇ t is greater than the preset value of link delay jitter; if so, determine the transmission and reception time interval difference If ⁇ t is abnormal, otherwise, it is determined that the difference ⁇ t between the transmission and reception time intervals is normal; the preset value of the link delay jitter is at least greater than the maximum value of the transmission and reception time interval difference.
  • the packet is a PTP packet
  • the transmitting end transmits the packet with the current time last sent packet interval t, with the flow receiving end of the packet sent to this include:
  • the sender replaces the reserved field in the PTP message with t sent .
  • the prerequisite for implementing the method is that the clock frequency of the sending end and the receiving end are synchronized.
  • the time stamp jitter compensation system provided by the present invention is suitable for messages with time stamps.
  • the system includes a time stamp compensation module arranged on the receiving end, which is used for: according to the current message and the last message Compensate the time stamp of the current message with the sending time interval of the current message and the time interval of receiving the last message.
  • the system further comprises at the transmitting end of the transmission time interval of a transmission module configured to: send a transmission time interval t with the current packet to the receiving end; the time stamp compensation module work
  • the process includes: after receiving the message, the receiving end calculates the receiving time interval t receive , and calculates the sending and receiving time interval difference ⁇ t based on t sending and t receiving .
  • the method for the time stamp compensation module to determine whether the transmission and reception time interval difference ⁇ t is normal is to determine whether the absolute value of the transmission and reception time interval difference ⁇ t is greater than the preset value of link delay jitter; If yes, it is determined that the transmission and reception time interval difference ⁇ t is abnormal; otherwise, it is determined that the transmission and reception time interval difference ⁇ t is normal.
  • the packet is a PTP packet
  • the transmission time interval to the transmission module of this packet transmission time interval t last packet sent, with this packet to the receiving end
  • the process includes: replacing the reserved field in the PTP message with t sending .
  • the system also includes local time counters respectively arranged at the sending end and the receiving end and synchronized with the clock frequency, which are used to record the time stamp of sending or receiving messages.
  • the present invention compensates and corrects the time stamp of this message through the sending time interval and receiving time interval of two adjacent messages; that is, the time delay jitter and the time synchronization jitter are avoided by the sending time interval and the receiving time interval, It not only significantly improves the clock synchronization accuracy, but also effectively reduces the impact of link delay jitter on synchronization stability; and there is no need to consider the location of the time stamp recording and the clock frequency, that is, no hardware improvement is required.
  • the above method is not only different from the prior art, but it is also very difficult for those of ordinary skill in the art to think of the above method.
  • the conventional improvement concept is: Physical link ports, or increase the clock frequency of the sender and receiver, thereby reducing the jitter range of time synchronization.
  • Figure 1 is a schematic diagram of the principle of time synchronization in the background art
  • Figure 2 is a schematic diagram of a time synchronization implementation model in the background art
  • FIG. 3 is a schematic flowchart of a time stamp jitter compensation method in an embodiment of the present invention
  • FIG. 4 is a schematic diagram of the description of the fields of the PTP message common header in the 1588v2 protocol defined by ITU-T in the embodiment of the present invention
  • Figure 5 is a schematic diagram of a time synchronization implementation model in an embodiment of the present invention.
  • the time stamp jitter compensation method in the embodiment of the present invention is suitable for messages with time stamps, and the method includes the following steps:
  • the receiving end compensates for the time stamp of the current message according to the time interval between the current message and the last message and the time interval between the current message and the last message.
  • the present invention compensates and corrects the time stamp of this message through the transmission time interval and the reception time interval of the two adjacent messages; that is, the transmission time interval and the reception time interval are used to avoid delay jitter and delay.
  • Time synchronization jitter not only significantly improves the clock synchronization accuracy, but also effectively reduces the impact of link delay jitter on synchronization stability; it does not need to consider the location of the time stamp recording and the clock frequency, that is, there is no need to improve the hardware.
  • the step of compensating the time stamp of the current message according to the sending time interval between the current message and the last message and the receiving time interval between the current message and the last message includes:
  • the transmitting side transmits this packet to the time the last packet sent interval t, with this message to the receiving end;
  • the receiving end adds the receiving time stamp of the current message to the sending and receiving time interval difference ⁇ t to obtain the compensated receiving time stamp, and mark the time stamp as the receiving time of the current message stamp.
  • the packet is a PTP packet
  • the transmitting end transmits the packet with the current time last sent packet interval t, with this packet to the receiving end the process comprising: the transmitting side in the PTP message the reserved field is replaced with t hair, so basically the design of the software will not change, and the rational use of resources.
  • the method for judging that the transmission and reception time interval difference ⁇ t is normal is: judging whether the absolute value of the transmission and reception time interval difference ⁇ t is greater than the preset value of link delay jitter; if so, it is determined that the transmission and reception time interval difference ⁇ t is abnormal , Otherwise it is determined that the transmission and reception time interval difference ⁇ t is normal.
  • the principle of this design is to effectively avoid the error time data caused by other abnormal reasons such as software or hardware. If the interval difference ⁇ t is 500ns, it is obvious that the time data this time is the wrong data obtained due to abnormal reasons (such as data packet loss, etc.), and subsequent compensation with this data will only make mistakes.
  • the preset value of link delay jitter is set according to specific scenarios and experience
  • Setting according to specific scenarios means: In order to effectively avoid the wrong time data caused by other abnormal reasons such as software or hardware, the preset value of link delay jitter should be at least greater than the maximum value of the difference between the transmission and reception time, and the transmission time interval is poor The maximum value is determined according to different scenarios;
  • Setting based on experience refers to determining based on experience how much the preset value of link delay jitter is greater than the maximum value of the difference between the transmission and reception time intervals, generally about 10ns.
  • the frequency of the local time counter that records the time stamp on the sending end and the receiving end is synchronized.
  • both are 32 bits.
  • the advantage of such a design is that the sending interval of a typical PTP message is usually less than 1 second/time, and the local time
  • the 32-bit counter can count from 0 to 4.3s, which satisfies typical application scenarios; a continuous 32-bit reserved field is defined in the common header of the PTP message, which can just pass a 32-bit counter.
  • S1 The receiving end and the sending end synchronize the clock frequency through SyncE, and a 32-bit local real-time time counter is maintained at the receiving end and the sending end.
  • the sender records the 32-bit local real-time time corresponding to each message sent. When sending the message, it obtains the 32-bit local real-time time interval between the current message and the previous message (there is no previous message when the message is sent for the first time). A message, so the time interval is 0), that is, the sending time interval t is sent .
  • S4 The receiving end compares the receiving real-time time of the current received message with the previous received message to obtain the receiving time interval t received .
  • S6 The receiving end judges whether the absolute value of the difference ⁇ t between the sending and receiving time interval is greater than the preset value of the link delay jitter, if it is, it means that the time data is wrong, and the difference is treated as 0 and ends; otherwise, the difference between the sending and receiving time interval ⁇ t is obtained and transferred To S7.
  • the receiving end adds the receiving timestamp of the current message to the difference ⁇ t of the sending and receiving time to obtain the compensated receiving timestamp, and marks the timestamp as the receiving timestamp of the current message.
  • the two upward solid arrows on the right side of Fig. 5 represent the receiving time interval t received without using the method of the present invention. It can be seen that the jitter of the link delay results in the receiving time of the message at the receiving end. packet interval is not equal to the transmitting side transmission time interval; the right side in the broken line arrow in FIG. 5 up to the solid line arrows represent the present invention up to the time stamp corrected received after reception time interval t, it can be seen reception time interval after the correction The time interval between t receiving and sending t is equal.
  • the time stamp jitter compensation system in the embodiment of the present invention includes a time stamp compensation module arranged on the receiving end, which is used for: according to the sending time interval of this message and the last message, and the current message and the previous message.
  • the time interval for receiving the second message compensates for the time stamp of the current message.
  • the method for the time-stamp compensation module to determine whether the difference ⁇ t between the transmission and reception time intervals is normal is to determine whether the absolute value of the difference between the transmission and reception time intervals ⁇ t is greater than the preset value of the link delay jitter; if so, determine the difference between the transmission and reception time intervals ⁇ t is abnormal, otherwise it is determined that the time difference ⁇ t between sending and receiving is normal.
  • the transmission time interval module transmits the transmission packet with the current time last sent packet interval t, with this packet to the receiving end the process comprising: replacing the message field reserved t hair.
  • the system also includes 32-bit local time counters respectively set on the sending end and the receiving end, which are used to record the time stamp of sending or receiving messages.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to the field of time synchronization, and disclosed are a timestamp jitter compensation method and system. The method is applicable to a packet that has a timestamp. The method comprises the step of: a receiving end compensates for the timestamp of a current packet according to a sending time interval between the current packet and a previous packet and a receiving time interval between the current packet and the previous packet. In the present invention, the timestamp of the current packet is compensated and corrected by means of the sending time interval and the receiving time interval of two adjacent packets. That is, delay jitter and time synchronization jitter are prevented by means of the sending time interval and receiving time interval, which not only significantly improves clock synchronization accuracy and effectively reduces the impact of link delay jitter on synchronization stability, but also does not need to take into consideration the location and clock frequency of a timestamp record, i.e. hardware does not need to be improved.

Description

时间戳抖动补偿方法及系统Time stamp jitter compensation method and system 技术领域Technical field
本发明涉及时间同步领域,具体涉及一种时间戳抖动补偿方法及系统。The invention relates to the field of time synchronization, in particular to a time stamp jitter compensation method and system.
背景技术Background technique
PTP协议(Precision Time Protocol,高精度时间同步协议)或者1588协议,提供了一种用于以太网进行时间同步的一种机制,利用网络的对称性和延时测量等,实现各节点间的主从时间的同步,使得从设备与主设备之间具有一致的时钟频率和相位。The PTP protocol (Precision Time Protocol) or the 1588 protocol provides a mechanism for time synchronization in Ethernet. It uses the symmetry and delay measurement of the network to achieve master control between nodes. The synchronization of the slave time allows the slave device and the master device to have a consistent clock frequency and phase.
参见图1所示,现有的时间同步方法为:假定主从站之间的链路时延是对称的,即主站到从站的链路时延Tms=从站到主站的链路时延Tsm。As shown in Figure 1, the existing time synchronization method is: assuming that the link delay between the master and slave stations is symmetric, that is, the link delay between the master station and the slave station Tms = the link from the station to the master station Time delay Tsm.
从站从时钟可以根据获取的四个时戳t1,t2,t3,t4计算出其与主站主时钟之间的时间偏移量和链路时延,即:The slave clock of the slave station can calculate the time offset and link delay between it and the master clock of the master station according to the four time stamps t1, t2, t3, and t4 obtained, namely:
时间偏移量Offset=[(t2-t1)-(t4-t3)]/2Time offset Offset=[(t2-t1)-(t4-t3)]/2
链路时延Delay=[(t2-t1)+(t4-t3)]/2。Link delay Delay=[(t2-t1)+(t4-t3)]/2.
随着移动互联网迅猛发展,物联网、车联网等多种新型应用的需求激增,数据流量的爆炸性增长和海量的接入设备,第五代移动通信(5G)技术应运而生。5G技术对承载网对时间同步的精度提出了更高的要求。进而,时间同步的最终性能对链路时延抖动的敏感程度凸显,要求报文时间戳的记录更加准确,即位置更加接近实际物理端口,报文时间戳的处理时钟频率进一步提高。With the rapid development of the mobile Internet, the demand for various new applications such as the Internet of Things and the Internet of Vehicles has soared, the explosive growth of data traffic and the massive amount of access devices, the fifth generation of mobile communications (5G) technology has emerged. 5G technology puts forward higher requirements for the accuracy of time synchronization in the bearer network. Furthermore, the ultimate performance of time synchronization is highly sensitive to link delay jitter, requiring more accurate recording of message timestamps, that is, the location is closer to the actual physical port, and the processing clock frequency of message timestamps is further improved.
目前,由于时间戳记录的位置不能位于物理链路端口,因此报文从打时间戳开始到经过物理链路端口期间会经过不固定的缓存或AM码字插入删除等一些系列操作,进而使得测量链路时延存在抖动(参见图2所示),随之导致时间同步出现抖动。At present, because the location of the time stamp record cannot be located on the physical link port, the message will go through a series of operations such as non-fixed buffering or AM codeword insertion and deletion from the time stamping to the physical link port. There is jitter in the link delay (see Figure 2), which leads to jitter in time synchronization.
为了解决上述问题,业界人士想到了以下2种方式:In order to solve the above problems, people in the industry have thought of the following two ways:
1、将时间戳记录的位置位于物理链路端口;1. The location of the time stamp record is located at the physical link port;
2、提高发送端和接收端的时钟频率,进而降低时间同步的抖动范围。2. Increase the clock frequency of the sender and receiver, thereby reducing the jitter range of time synchronization.
但是上述2种方式都由于硬件的限制难以实现;经测试得到,现有的时间同步方法只能实现发送端与接收端的时间误差在±200ns,不满足5G技术的时间同步要求(误差在±5ns以内)However, the above two methods are difficult to implement due to hardware limitations; after testing, the existing time synchronization method can only achieve the time error between the sender and the receiver within ±200ns, which does not meet the time synchronization requirements of 5G technology (error within ±5ns) Within)
发明内容Summary of the invention
针对现有技术中存在的缺陷,本发明解决的技术问题为:如何在不对硬件进行改进的基础上提高时间同步精度。In view of the defects in the prior art, the technical problem solved by the present invention is: how to improve the time synchronization accuracy without improving the hardware.
为达到以上目的,本发明提供的时间戳抖动补偿方法,该方法适用于带有时间戳的报文,该方法包括以下步骤:接收端根据本次报文与上次报文的发送时间间隔、以及本次报文与上次报文的接收时间间隔,对本次报文的时间戳进行补偿。In order to achieve the above objectives, the present invention provides a time stamp jitter compensation method, which is suitable for messages with time stamps. The method includes the following steps: the receiving end according to the sending time interval between this message and the last message, And the time interval between the current message and the last message received, to compensate the timestamp of the current message.
在上述技术方案的基础上,该方法的具体步骤包括:发送端将所述发送时间间隔随本次报文发送至接收端;接收端将发送时间间隔减去所述接收时间间隔得到收发时间间隔差Δt,若Δt正常,则接收端将本次报文的接收时间戳加上收发Δt,得到补偿后的接收时间戳,并将该时间戳标记为本次报文的接收时间戳。Based on the above technical solution, the specific steps of the method include: the sending end sends the sending time interval to the receiving end along with this message; the receiving end subtracts the sending time interval from the receiving time interval to obtain the sending and receiving time interval If the difference Δt is normal, the receiving end adds the receiving timestamp of the current message to the receiving and sending Δt to obtain the compensated receiving timestamp, and marks the timestamp as the receiving timestamp of the current message.
在上述技术方案的基础上,所述收发时间间隔差Δt正常的判断方法为:判断收发时间间隔差Δt的绝对值,是否大于链路时延抖动 预设值;若是,则确定收发时间间隔差Δt异常,否则确定收发时间间隔差Δt正常;所述链路时延抖动预设值至少大于收发时间间隔差的最大值。On the basis of the above technical solution, the method for judging that the transmission and reception time interval difference Δt is normal is to determine whether the absolute value of the transmission and reception time interval difference Δt is greater than the preset value of link delay jitter; if so, determine the transmission and reception time interval difference If Δt is abnormal, otherwise, it is determined that the difference Δt between the transmission and reception time intervals is normal; the preset value of the link delay jitter is at least greater than the maximum value of the transmission and reception time interval difference.
在上述技术方案的基础上,所述报文为PTP报文,所述发送端将本次报文与上次报文的发送时间间隔t ,随本次报文发送至接收端的流程包括:发送端将PTP报文中的保留字段替换为t Based on the above technical solution, the packet is a PTP packet, the transmitting end transmits the packet with the current time last sent packet interval t, with the flow receiving end of the packet sent to this include: The sender replaces the reserved field in the PTP message with t sent .
在上述技术方案的基础上,实现该方法的前提为发送端和接收端的时钟频率同步。On the basis of the above technical solution, the prerequisite for implementing the method is that the clock frequency of the sending end and the receiving end are synchronized.
本发明提供的时间戳抖动补偿系统,该系统适用于带有时间戳的报文,该系统包括设置于接收端上的时间戳补偿模块,其用于:根据本次报文与上次报文的发送时间间隔、以及本次报文与上次报文的接收时间间隔,对本次报文的时间戳进行补偿。The time stamp jitter compensation system provided by the present invention is suitable for messages with time stamps. The system includes a time stamp compensation module arranged on the receiving end, which is used for: according to the current message and the last message Compensate the time stamp of the current message with the sending time interval of the current message and the time interval of receiving the last message.
在上述技术方案的基础上,该系统还包括设置于发送端的发送时间间隔传输模块,其用于:将发送时间间隔t 随本次报文发送至接收端;所述时间戳补偿模块的工作流程包括:接收端收到报文后,计算所述接收时间间隔t ,根据t 和t 计算收发时间间隔差Δt,计算公式为:Δt=t -t ;若Δt正常,则将本次报文的接收时间戳加上Δt,得到补偿后的接收时间戳,并将该时间戳标记为本次报文的接收时间戳。 Based on the above technical solution, the system further comprises at the transmitting end of the transmission time interval of a transmission module configured to: send a transmission time interval t with the current packet to the receiving end; the time stamp compensation module work The process includes: after receiving the message, the receiving end calculates the receiving time interval t receive , and calculates the sending and receiving time interval difference Δt based on t sending and t receiving . The calculation formula is: Δt=t sending- t receiving ; if Δt is normal, then Add Δt to the receiving timestamp of this message to obtain the compensated receiving timestamp, and mark this timestamp as the receiving timestamp of this message.
在上述技术方案的基础上,所述时间戳补偿模块判断收发时间间隔差Δt是否正常的方法为:判断收发时间间隔差Δt隔差值的绝对值,是否大于链路时延抖动预设值;若是,则确定收发时间间隔差Δt异常,否则确定收发时间间隔差Δt正常。On the basis of the above technical solution, the method for the time stamp compensation module to determine whether the transmission and reception time interval difference Δt is normal is to determine whether the absolute value of the transmission and reception time interval difference Δt is greater than the preset value of link delay jitter; If yes, it is determined that the transmission and reception time interval difference Δt is abnormal; otherwise, it is determined that the transmission and reception time interval difference Δt is normal.
在上述技术方案的基础上,所述报文为PTP报文,所述发送时间间隔传输模块将本次报文与上次报文的发送时间间隔t ,随本次 报文发送至接收端的流程包括:将PTP报文中的保留字段替换为t Based on the above technical solution, the packet is a PTP packet, the transmission time interval to the transmission module of this packet transmission time interval t last packet sent, with this packet to the receiving end The process includes: replacing the reserved field in the PTP message with t sending .
在上述技术方案的基础上,该系统还包括分别设置于发送端和接收端、且时钟频率同步的本地时间计数器,其用于:记录发送或接收报文的时间戳。On the basis of the above technical solution, the system also includes local time counters respectively arranged at the sending end and the receiving end and synchronized with the clock frequency, which are used to record the time stamp of sending or receiving messages.
与现有技术相比,本发明的优点在于:Compared with the prior art, the advantages of the present invention are:
本发明通过相邻2次报文的发送时间间隔和接收时间间隔,对本次报文的时间戳进行补偿和修正;即通过发送时间间隔和接收时间间隔来规避时延抖动和时间同步抖动,不仅显著提高了时钟同步精度,可有效降低链路时延抖动对同步稳定性带来的影响;而且不需要考虑时间戳记录的位置和时钟频率,即不需要对硬件进行改进。The present invention compensates and corrects the time stamp of this message through the sending time interval and receiving time interval of two adjacent messages; that is, the time delay jitter and the time synchronization jitter are avoided by the sending time interval and the receiving time interval, It not only significantly improves the clock synchronization accuracy, but also effectively reduces the impact of link delay jitter on synchronization stability; and there is no need to consider the location of the time stamp recording and the clock frequency, that is, no hardware improvement is required.
经测试得到,采用本发明进行补偿后的接收端时间戳与发送端对应的时间戳的误差在±5ns以内。It is obtained through testing that the error between the time stamp of the receiving end and the time stamp corresponding to the transmitting end after compensation by the present invention is within ±5ns.
与此同时,上述方式不仅与现有技术不同,而且本领域普通技术人员也非常难以想到上述方式,其原因在于:背景技术中已经提到,常规的改进理念为:将时间戳记录的位置位于物理链路端口、或者提高发送端和接收端的时钟频率,进而降低时间同步的抖动范围。此外,也没有任何文献公开或者提到了上述方式的具体实现或者构思。At the same time, the above method is not only different from the prior art, but it is also very difficult for those of ordinary skill in the art to think of the above method. The reason is that as mentioned in the background art, the conventional improvement concept is: Physical link ports, or increase the clock frequency of the sender and receiver, thereby reducing the jitter range of time synchronization. In addition, there is no document that discloses or mentions the specific realization or idea of the above-mentioned method.
附图说明Description of the drawings
图1为背景技术中时间同步原理的原理示意图;Figure 1 is a schematic diagram of the principle of time synchronization in the background art;
图2为背景技术中时间同步实现模型的示意图;Figure 2 is a schematic diagram of a time synchronization implementation model in the background art;
图3为本发明实施例中的时间戳抖动补偿方法的流程示意图;FIG. 3 is a schematic flowchart of a time stamp jitter compensation method in an embodiment of the present invention;
图4为本发明实施例中ITU-T定义的1588v2协议中的PTP报文公共头的字段描述示意图;4 is a schematic diagram of the description of the fields of the PTP message common header in the 1588v2 protocol defined by ITU-T in the embodiment of the present invention;
图5为本发明实施例中的时间同步实现模型的示意图。Figure 5 is a schematic diagram of a time synchronization implementation model in an embodiment of the present invention.
具体实施方式Detailed ways
以下结合附图及实施例对本发明作进一步详细说明。The present invention will be further described in detail below in conjunction with the drawings and embodiments.
本发明实施例中的时间戳抖动补偿方法,适用于带有时间戳的报文,该方法包括以下步骤:The time stamp jitter compensation method in the embodiment of the present invention is suitable for messages with time stamps, and the method includes the following steps:
接收端根据本次报文与上次报文的发送时间间隔、以及本次报文与上次报文的接收时间间隔,对本次报文的时间戳进行补偿。The receiving end compensates for the time stamp of the current message according to the time interval between the current message and the last message and the time interval between the current message and the last message.
由此可知,本发明通过相邻2次报文的发送时间间隔和接收时间间隔,对本次报文的时间戳进行补偿和修正;即通过发送时间间隔和接收时间间隔来规避时延抖动和时间同步抖动,不仅显著提高了时钟同步精度,可有效降低链路时延抖动对同步稳定性带来的影响;而且不需要考虑时间戳记录的位置和时钟频率,即不需要对硬件进行改进。It can be seen from this that the present invention compensates and corrects the time stamp of this message through the transmission time interval and the reception time interval of the two adjacent messages; that is, the transmission time interval and the reception time interval are used to avoid delay jitter and delay. Time synchronization jitter not only significantly improves the clock synchronization accuracy, but also effectively reduces the impact of link delay jitter on synchronization stability; it does not need to consider the location of the time stamp recording and the clock frequency, that is, there is no need to improve the hardware.
经测试得到,采用本发明进行补偿后的接收端时间戳与发送端对应的时间戳的误差在±5ns以内。It is obtained through testing that the error between the time stamp of the receiving end and the time stamp corresponding to the transmitting end after compensation by the present invention is within ±5ns.
优选的,所述根据本次报文与上次报文的发送时间间隔、以及本次报文与上次报文的接收时间间隔,对本次报文的时间戳进行补偿的步骤包括:Preferably, the step of compensating the time stamp of the current message according to the sending time interval between the current message and the last message and the receiving time interval between the current message and the last message includes:
发送端将本次报文与上次报文的发送时间间隔t ,随本次报文发送至接收端; The transmitting side transmits this packet to the time the last packet sent interval t, with this message to the receiving end;
接收端收到本次报文后,计算本次报文与上次报文的接收时间间隔t ,根据t 和t 计算收发时间间隔差Δt,计算公式为:Δt=t -t After receiving this message, the receiving end calculates the receiving time interval between this message and the last message t receive , and calculates the difference Δt between the sending and receiving time according to t sending and t receiving , the calculation formula is: Δt = t sending- t Receive
若收发时间间隔差Δt正常,则接收端将本次报文的接收时间戳加上收发时间间隔差Δt,得到补偿后的接收时间戳,并将该时间戳标记为本次报文的接收时间戳。If the difference between the sending and receiving time interval Δt is normal, the receiving end adds the receiving time stamp of the current message to the sending and receiving time interval difference Δt to obtain the compensated receiving time stamp, and mark the time stamp as the receiving time of the current message stamp.
优选的,所述报文为PTP报文,发送端将本次报文与上次报文的发送时间间隔t ,随本次报文发送至接收端的流程包括:发送端将PTP报文中的保留字段替换为t ,如此设计基本上对软件不会改动,而且合理利用了资源。 Preferably, the packet is a PTP packet, the transmitting end transmits the packet with the current time last sent packet interval t, with this packet to the receiving end the process comprising: the transmitting side in the PTP message the reserved field is replaced with t hair, so basically the design of the software will not change, and the rational use of resources.
优选的,所述收发时间间隔差Δt正常的判断方法为:判断收发时间间隔差Δt隔差值的绝对值,是否大于链路时延抖动预设值;若是,则确定收发时间间隔差Δt异常,否则确定收发时间间隔差Δt正常,如此设计的原理在于:有效规避因软件或硬件等其他异常原因造成的错误时间数据,例如收发时间间隔差Δt最大只有可能为±200ns,但是本次收发时间间隔差Δt为500ns,则很明显,本次时间数据是因为异常原因(例如数据丢包等)得到的错误数据,用该数据进行后续补偿只会出错。Preferably, the method for judging that the transmission and reception time interval difference Δt is normal is: judging whether the absolute value of the transmission and reception time interval difference Δt is greater than the preset value of link delay jitter; if so, it is determined that the transmission and reception time interval difference Δt is abnormal , Otherwise it is determined that the transmission and reception time interval difference Δt is normal. The principle of this design is to effectively avoid the error time data caused by other abnormal reasons such as software or hardware. If the interval difference Δt is 500ns, it is obvious that the time data this time is the wrong data obtained due to abnormal reasons (such as data packet loss, etc.), and subsequent compensation with this data will only make mistakes.
在实际应用中,链路时延抖动预设值根据具体场景和经验设置;In practical applications, the preset value of link delay jitter is set according to specific scenarios and experience;
根据具体场景设置是指:为了有效规避因软件或硬件等其他异常原因造成的错误时间数据,链路时延抖动预设值至少要比收发时间间隔差的最大值大,而收发时间间隔差的最大值是多少则根据不同的场景确定;Setting according to specific scenarios means: In order to effectively avoid the wrong time data caused by other abnormal reasons such as software or hardware, the preset value of link delay jitter should be at least greater than the maximum value of the difference between the transmission and reception time, and the transmission time interval is poor The maximum value is determined according to different scenarios;
根据经验设置是指:根据经验确定链路时延抖动预设值比收发时间间隔差的最大值具体大多少,一般情况下大10ns左右。Setting based on experience refers to determining based on experience how much the preset value of link delay jitter is greater than the maximum value of the difference between the transmission and reception time intervals, generally about 10ns.
优选的,发送端与接收端的记录时间戳的本地时间计数器的频率同步,本实施例中均为32bit,如此设计的好处为:通常典型的PTP报文的发送间隔小于1秒/次,本地时间计数器为32bit可以计数的时间范围为0~4.3s,满足典型应用场景;PTP报文的公共头中定义有连续的32bit保留字段,可以刚好传递32bit的计数器。Preferably, the frequency of the local time counter that records the time stamp on the sending end and the receiving end is synchronized. In this embodiment, both are 32 bits. The advantage of such a design is that the sending interval of a typical PTP message is usually less than 1 second/time, and the local time The 32-bit counter can count from 0 to 4.3s, which satisfies typical application scenarios; a continuous 32-bit reserved field is defined in the common header of the PTP message, which can just pass a 32-bit counter.
为了便于全面的理解,参见图3所示,下面通过一个完整的实施 例说明本发明的方法。In order to facilitate a comprehensive understanding, referring to Fig. 3, the method of the present invention will be described through a complete embodiment below.
S1:接收端和发送端通过SyncE进行时钟频率同步,在接收端和发送端各自维护一个32bit的本地实时时间计数器。S1: The receiving end and the sending end synchronize the clock frequency through SyncE, and a 32-bit local real-time time counter is maintained at the receiving end and the sending end.
S2:发送端记录每次发送报文对应的32bit本地实时时间,在发送报文时,获取当前报文与前一报文之间的32bit本地实时时间间隔(第一次发送报文时没有前一报文,所以时间间隔为0),即发送时间间隔t S2: The sender records the 32-bit local real-time time corresponding to each message sent. When sending the message, it obtains the 32-bit local real-time time interval between the current message and the previous message (there is no previous message when the message is sent for the first time). A message, so the time interval is 0), that is, the sending time interval t is sent .
S3:发送端在发送当前报文的同时,将报文中的保留字段进行替换为32bit的发送时间间隔t ;本实施例的报文为PTP报文,参见图4所示,本实施例重定义了报文中的32bit保留字段(Offset=16),该字段将用于传送发送时间间隔t S3: the transmission side while transmitting the current packet, the packet is replaced with a reserved field for a transmission time interval t 32bit hair; packets embodiment according to the present embodiment is a PTP message, see FIG. 4, the present embodiment redefined 32bit reserved field (Offset = 16) packets, this field for transmitting the transmission time interval t hair.
S4:接收端将当前接收报文与前一接收报文的接收实时时间进行比较,得到接收时间间隔t S4: The receiving end compares the receiving real-time time of the current received message with the previous received message to obtain the receiving time interval t received .
S5:接收端从PTP报文中的保留字段取出该报文对应的发送时间间隔t ,用t 减去t 得到收发时间间隔差Δt。 S5: Remove the receiving end corresponding to the packet transmission time from the PTP message reserved field hair interval t, with t t yield obtained by subtracting the hair transceiver difference interval Δt.
S6:接收端判断收发时间间隔差Δt的绝对值是否大于链路时延抖动预设值,若是,则说明时间数据错误,将差值作为0处理,结束;否则获取收发时间间隔差Δt,转到S7。S6: The receiving end judges whether the absolute value of the difference Δt between the sending and receiving time interval is greater than the preset value of the link delay jitter, if it is, it means that the time data is wrong, and the difference is treated as 0 and ends; otherwise, the difference between the sending and receiving time interval Δt is obtained and transferred To S7.
S7:接收端将本次报文的接收时间戳加上收发时间间隔差Δt,得到补偿后的接收时间戳,并将该时间戳标记为本次报文的接收时间戳。S7: The receiving end adds the receiving timestamp of the current message to the difference Δt of the sending and receiving time to obtain the compensated receiving timestamp, and marks the timestamp as the receiving timestamp of the current message.
参见图5所示,图5右侧2个向上的实线箭头代表未采用本发明方法的接收时间间隔t ,可以看出由于链路时延的抖动,导致了在接收端的接收报文时间间隔不等于报文在发送端的发送时间间隔;图5中右侧虚线向上箭头至实线向上箭头代表采用本发明对时间戳修正 的后接收时间间隔t ,可以看出修正后的接收时间间隔t 和发送时间间隔t 相等。 As shown in Fig. 5, the two upward solid arrows on the right side of Fig. 5 represent the receiving time interval t received without using the method of the present invention. It can be seen that the jitter of the link delay results in the receiving time of the message at the receiving end. packet interval is not equal to the transmitting side transmission time interval; the right side in the broken line arrow in FIG. 5 up to the solid line arrows represent the present invention up to the time stamp corrected received after reception time interval t, it can be seen reception time interval after the correction The time interval between t receiving and sending t is equal.
本发明实施例中的时间戳抖动补偿系统,包括设置于接收端上的时间戳补偿模块,其用于:根据本次报文与上次报文的发送时间间隔、以及本次报文与上次报文的接收时间间隔,对本次报文的时间戳进行补偿。The time stamp jitter compensation system in the embodiment of the present invention includes a time stamp compensation module arranged on the receiving end, which is used for: according to the sending time interval of this message and the last message, and the current message and the previous message. The time interval for receiving the second message compensates for the time stamp of the current message.
该系统还包括设置于发送端的发送时间间隔传输模块,其用于:将本次报文与上次报文的发送时间间隔t ,随本次报文发送至接收端;所述时间戳补偿模块的工作流程包括:接收端收到报文后,计算本次报文与上次报文的接收时间间隔t ,根据t 和t 计算收发时间间隔差Δt,计算公式为:Δt=t -t ;若收发时间间隔差Δt正常,则将本次报文的接收时间戳加上收发时间间隔差Δt,得到补偿后的接收时间戳,并将该时间戳标记为本次报文的接收时间戳。 The system further includes a transmission time interval of the transmission side disposed in transmission module configured to: send the packet and the current time last sent packet interval t, with this message to the receiving terminal; the time stamp compensation workflow module comprising: the receiver receives the packet, this packet is calculated with the last reception time t received packet interval t according to the calculated transceiver send and receive time interval t difference [Delta] t, is calculated as follows: Δt = t send- t receive ; if the difference between the sending and receiving time interval Δt is normal, add the receiving timestamp of this message to the sending and receiving time interval difference Δt to obtain the compensated receiving timestamp, and mark the timestamp as the current report The timestamp of the receipt of the document.
所述时间戳补偿模块判断收发时间间隔差Δt是否正常的方法为:判断收发时间间隔差Δt隔差值的绝对值,是否大于链路时延抖动预设值;若是,则确定收发时间间隔差Δt异常,否则确定收发时间间隔差Δt正常。The method for the time-stamp compensation module to determine whether the difference Δt between the transmission and reception time intervals is normal is to determine whether the absolute value of the difference between the transmission and reception time intervals Δt is greater than the preset value of the link delay jitter; if so, determine the difference between the transmission and reception time intervals Δt is abnormal, otherwise it is determined that the time difference Δt between sending and receiving is normal.
所述发送时间间隔传输模块将本次报文与上次报文的发送时间间隔t ,随本次报文发送至接收端的流程包括:将报文中的保留字段替换为t The transmission time interval module transmits the transmission packet with the current time last sent packet interval t, with this packet to the receiving end the process comprising: replacing the message field reserved t hair.
该系统还包括分别设置于发送端和接收端上的32bit的本地时间计数器,其用于记录发送或接收报文的时间戳。The system also includes 32-bit local time counters respectively set on the sending end and the receiving end, which are used to record the time stamp of sending or receiving messages.
需要说明的是:本发明实施例提供的系统在进行模块间通信时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将系统的内部结构划 分成不同的功能模块,以完成以上描述的全部或者部分功能。It should be noted that when the system provided by the embodiment of the present invention performs inter-module communication, only the division of the above-mentioned functional modules is used as an example for illustration. In actual applications, the above-mentioned functions can be allocated by different functional modules as required. That is, the internal structure of the system is divided into different functional modules to complete all or part of the functions described above.
进一步,本发明不局限于上述实施方式,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也视为本发明的保护范围之内。本说明书中未作详细描述的内容属于本领域专业技术人员公知的现有技术。Further, the present invention is not limited to the above-mentioned embodiments. For those of ordinary skill in the art, without departing from the principle of the present invention, several improvements and modifications can be made, and these improvements and modifications are also regarded as the present invention. Within the scope of protection. The content not described in detail in this specification belongs to the prior art known to those skilled in the art.

Claims (10)

  1. 一种时间戳抖动补偿方法,该方法适用于带有时间戳的报文,其特征在于,该方法包括以下步骤:接收端根据本次报文与上次报文的发送时间间隔、以及本次报文与上次报文的接收时间间隔,对本次报文的时间戳进行补偿。A time stamp jitter compensation method, which is suitable for messages with time stamps, is characterized in that the method includes the following steps: the receiving end according to the sending time interval of this message and the last message, and this time The time interval between the message and the last message received is compensated for the time stamp of this message.
  2. 如权利要求1所述的时间戳抖动补偿方法,其特征在于:该方法的具体步骤包括:发送端将所述发送时间间隔随本次报文发送至接收端;接收端将发送时间间隔减去所述接收时间间隔得到收发时间间隔差Δt,若Δt正常,则接收端将本次报文的接收时间戳加上收发Δt,得到补偿后的接收时间戳,并将该时间戳标记为本次报文的接收时间戳。The time stamp jitter compensation method according to claim 1, wherein the specific steps of the method include: the sending end sends the sending time interval to the receiving end along with this message; the receiving end subtracts the sending time interval The receiving time interval obtains the sending and receiving time interval difference Δt. If the Δt is normal, the receiving end adds the receiving timestamp of the current message to the receiving and sending Δt to obtain the compensated receiving timestamp, and mark the timestamp as the current time The timestamp of the message received.
  3. 如权利要求2所述的时间戳抖动补偿方法,其特征在于:所述收发时间间隔差Δt正常的判断方法为:判断收发时间间隔差Δt的绝对值,是否大于链路时延抖动预设值;若是,则确定收发时间间隔差Δt异常,否则确定收发时间间隔差Δt正常;所述链路时延抖动预设值至少大于收发时间间隔差的最大值。3. The time stamp jitter compensation method according to claim 2, wherein the method for judging that the transmission and reception time interval difference Δt is normal is to determine whether the absolute value of the transmission and reception time interval difference Δt is greater than the preset value of link delay jitter If yes, it is determined that the sending and receiving time interval difference Δt is abnormal, otherwise it is determined that the sending and receiving time interval difference Δt is normal; the preset value of the link delay jitter is at least greater than the maximum value of the sending and receiving time interval difference.
  4. 如权利要求2所述的时间戳抖动补偿方法,其特征在于:所述报文为PTP报文,所述发送端将本次报文与上次报文的发送时间间隔t ,随本次报文发送至接收端的流程包括:发送端将PTP报文中的保留字段替换为t Timestamp shake compensation method according to claim 2, wherein: the packet is a PTP packet, the transmitting end transmits the packet with the current time last sent packet interval t, with this The process of sending the message to the receiving end includes: the sending end replaces the reserved field in the PTP message with t sending .
  5. 如权利要求1至4任一项所述的时间戳抖动补偿方法,其特征在于:实现该方法的前提为发送端和接收端的时钟频率同步。The time stamp jitter compensation method according to any one of claims 1 to 4, wherein the premise of implementing the method is that the clock frequency of the sending end and the receiving end are synchronized.
  6. 一种时间戳抖动补偿系统,该系统适用于带有时间戳的报文,其特征在于:该系统包括设置于接收端上的时间戳补偿模块,其用于:根据本次报文与上次报文的发送时间间隔、以及本次报文与上次报文 的接收时间间隔,对本次报文的时间戳进行补偿。A time stamp jitter compensation system, which is suitable for messages with time stamps, is characterized in that: the system includes a time stamp compensation module arranged on the receiving end, which is used for: according to the current message and the last time The time interval between sending messages and the time between receiving this message and the last message are compensated for the time stamp of this message.
  7. 如权利要求6所述的时间戳抖动补偿系统,其特征在于:该系统还包括设置于发送端的发送时间间隔传输模块,其用于:将发送时间间隔t 随本次报文发送至接收端;所述时间戳补偿模块的工作流程包括:接收端收到报文后,计算所述接收时间间隔t ,根据t 和t 计算收发时间间隔差Δt,计算公式为:Δt=t -t ;若Δt正常,则将本次报文的接收时间戳加上Δt,得到补偿后的接收时间戳,并将该时间戳标记为本次报文的接收时间戳。 Stamp shake compensation system according to claim 6, wherein: the system further comprises a transmission time interval of the transmission side disposed in transmission module configured to: send a transmission time interval t with the current packet to the receiving end The working process of the time stamp compensation module includes: after receiving the message, the receiving end calculates the receiving time interval t received , and calculates the difference Δt of the sending and receiving time interval according to t sending and t receiving , the calculation formula is: Δt=t sending -t received ; if Δt is normal, add Δt to the receiving timestamp of the current message to obtain the compensated receiving timestamp, and mark the timestamp as the receiving timestamp of the current message.
  8. 如权利要求6所述的时间戳抖动补偿系统,其特征在于:所述时间戳补偿模块判断收发时间间隔差Δt是否正常的方法为:判断收发时间间隔差Δt隔差值的绝对值,是否大于链路时延抖动预设值;若是,则确定收发时间间隔差Δt异常,否则确定收发时间间隔差Δt正常。The time stamp jitter compensation system according to claim 6, wherein the method for the time stamp compensation module to determine whether the transmission and reception time interval difference Δt is normal is to determine whether the absolute value of the transmission and reception time interval difference Δt difference value is greater than The link delay jitter preset value; if it is, it is determined that the transmission and reception time interval difference Δt is abnormal, otherwise, it is determined that the transmission and reception time interval difference Δt is normal.
  9. 如权利要求6所述的时间戳抖动补偿系统,其特征在于:所述报文为PTP报文,所述发送时间间隔传输模块将本次报文与上次报文的发送时间间隔t ,随本次报文发送至接收端的流程包括:将PTP报文中的保留字段替换为t Stamp shake compensation system according to claim 6, wherein: the packet is a PTP packet, the transmission time interval module transmits the transmission packet with the current time of the last sent packet interval t, The process of sending this message to the receiving end includes: replacing the reserved field in the PTP message with t sending .
  10. 如权利要求6至9任一项所述的时间戳抖动补偿系统,其特征在于:该系统还包括分别设置于发送端和接收端、且时钟频率同步的本地时间计数器,其用于:记录发送或接收报文的时间戳。The time stamp jitter compensation system according to any one of claims 6 to 9, characterized in that: the system further comprises a local time counter which is respectively set at the sending end and the receiving end and synchronized with the clock frequency, which is used to record and send Or the timestamp of the received message.
PCT/CN2019/124990 2019-07-10 2019-12-13 Timestamp jitter compensation method and system WO2021004005A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910622297.8A CN112217588B (en) 2019-07-10 2019-07-10 Timestamp jitter compensation method and system
CN201910622297.8 2019-07-10

Publications (1)

Publication Number Publication Date
WO2021004005A1 true WO2021004005A1 (en) 2021-01-14

Family

ID=74047618

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/124990 WO2021004005A1 (en) 2019-07-10 2019-12-13 Timestamp jitter compensation method and system

Country Status (2)

Country Link
CN (1) CN112217588B (en)
WO (1) WO2021004005A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114157381A (en) * 2021-12-09 2022-03-08 福州大学 Network delay jitter-oriented dynamic delay estimation period adjustment method
CN114245411A (en) * 2021-11-08 2022-03-25 深圳震有科技股份有限公司 Method and device for testing message delay time, terminal equipment and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113180698B (en) * 2021-04-30 2024-03-01 西安臻泰智能科技有限公司 Wireless automatic deviation compensation method of electroencephalogram device and electroencephalogram device
CN117478561B (en) * 2023-11-08 2024-05-14 上海勃傲自动化系统有限公司 Ethernet industrial bus time delay analysis method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252429A (en) * 2008-02-22 2008-08-27 浙江大学 Method for enhancing clock synchronization accuracy in distributed network system
CN105680969A (en) * 2015-12-31 2016-06-15 浙江中控技术股份有限公司 Clock synchronization method and device
CN108632105A (en) * 2017-03-24 2018-10-09 中兴通讯股份有限公司 A kind of frame time delay detecting method and system
WO2019036943A1 (en) * 2017-08-23 2019-02-28 华为技术有限公司 Packet processing method and network device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7295642B2 (en) * 2005-06-30 2007-11-13 Teradyne, Inc. Jitter compensation and generation in testing communication devices
CN102244572B (en) * 2011-07-18 2017-06-06 中兴通讯股份有限公司 A kind of method and device for realizing that clock is synchronous

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252429A (en) * 2008-02-22 2008-08-27 浙江大学 Method for enhancing clock synchronization accuracy in distributed network system
CN105680969A (en) * 2015-12-31 2016-06-15 浙江中控技术股份有限公司 Clock synchronization method and device
CN108632105A (en) * 2017-03-24 2018-10-09 中兴通讯股份有限公司 A kind of frame time delay detecting method and system
WO2019036943A1 (en) * 2017-08-23 2019-02-28 华为技术有限公司 Packet processing method and network device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114245411A (en) * 2021-11-08 2022-03-25 深圳震有科技股份有限公司 Method and device for testing message delay time, terminal equipment and storage medium
CN114157381A (en) * 2021-12-09 2022-03-08 福州大学 Network delay jitter-oriented dynamic delay estimation period adjustment method

Also Published As

Publication number Publication date
CN112217588A (en) 2021-01-12
CN112217588B (en) 2021-11-16

Similar Documents

Publication Publication Date Title
WO2021004005A1 (en) Timestamp jitter compensation method and system
US10056999B2 (en) Time synchronization error compensation method for multi-hop wireless backhaul network based on PTP
US9860004B2 (en) Network distributed packet-based synchronization
US8976778B2 (en) Time synchronization using packet-layer and physical-layer protocols
US8446896B2 (en) Time synchronization using packet-layer and physical-layer protocols
CN102098155B (en) Method for realizing sub-microsecond synchronization accuracy based on PTP (Precision Time Protocol)
US8750356B2 (en) Method, apparatus, and system for measuring asymmetric delay of communication path
CN104836630B (en) IEEE1588 clock synchronization system and implementation method therefor
CN100561904C (en) A kind ofly realize apparatus and method synchronous between the Ethernet chain-like network nodes
US9184860B2 (en) Time synchronization method and system, and node device
CN102843620B (en) A kind of OTN Apparatus and method for realizing time synchronized and transmit
US20120148248A1 (en) Transport device and clock and time synchronization method thereof
CN104918319B (en) Clock synchronization simplified information interaction method applied to wireless sensor network
CN109756290B (en) IEEE1588 protocol-based signal system accurate time synchronization method
US20220007321A1 (en) Network Entities and Methods for a Wireless Network System for Determining Time Information
WO2011074529A1 (en) Time synchronization system, slave node, time synchronization method, and program for time synchronization
CN111342926A (en) Method for optimizing time synchronization of PTP (precision time protocol) in asymmetric network
CN113965288A (en) Method and device for improving precision time protocol PTP time synchronization precision
CN114389735A (en) Clock synchronization method based on IEEE802.1AS redundant master clock
CN105634715A (en) Airborne network IEEE1588 protocol transparent clock port synchronization method
CN103581205B (en) Method and system for realizing precise timestamps in multiple MACs (media access controls)
EP3080933B1 (en) Method and devices for synchronization using linear programming
WO2022121996A1 (en) Method and apparatus for implementing network time synchronization
CN102710359A (en) Accurate clock frequency synchronizing method and device based on IEEE1588 (institute of electrical and electronics engineers)
Lam et al. An improved precision time protocol for industrial WLAN communication systems

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

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 19936906

Country of ref document: EP

Kind code of ref document: A1