WO2013020499A1 - 自动补偿1588链路非对称性时延的实现方法及系统 - Google Patents

自动补偿1588链路非对称性时延的实现方法及系统 Download PDF

Info

Publication number
WO2013020499A1
WO2013020499A1 PCT/CN2012/079778 CN2012079778W WO2013020499A1 WO 2013020499 A1 WO2013020499 A1 WO 2013020499A1 CN 2012079778 W CN2012079778 W CN 2012079778W WO 2013020499 A1 WO2013020499 A1 WO 2013020499A1
Authority
WO
WIPO (PCT)
Prior art keywords
delay
asymmetric
uplink
downlink
asymmetry
Prior art date
Application number
PCT/CN2012/079778
Other languages
English (en)
French (fr)
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 中兴通讯股份有限公司
Priority to US14/234,247 priority Critical patent/US9491728B2/en
Priority to RU2014101397/07A priority patent/RU2574859C2/ru
Priority to EP12822332.8A priority patent/EP2731303B1/en
Priority to BR112014002909A priority patent/BR112014002909A2/pt
Publication of WO2013020499A1 publication Critical patent/WO2013020499A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/004Synchronisation arrangements compensating for timing error of reception due to propagation delay
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/0055Synchronisation arrangements determining timing error of reception due to propagation delay
    • H04W56/0065Synchronisation arrangements determining timing error of reception due to propagation delay using measurement of signal travel time

Definitions

  • the present invention relates to the field of 1588 clock network technologies, and in particular, to a method and system for automatically compensating 1588 link asymmetric delay. Background technique
  • 3G Third generation mobile communication technology
  • 1588 time synchronization protocol to get more and more attention and application in the communication network.
  • domestic and foreign operators continue to use the 1588 protocol for time synchronization and gradually replace the use of GPS (Global Positioning System) for time synchronization.
  • GPS Global Positioning System
  • the synchronization method is as follows:
  • the above formula assumes that the uplink and downlink delays are equal.
  • the basis of 1588 time synchronization is to require uplink and downlink transmission delay symmetry. If the uplink and downlink transmissions are asymmetric, that is, the transmission delays of the uplink and downlink are not equal, as shown in Figure 2, in this case, the time offset is calculated using the 1588 protocol, and the error value is half of the asymmetry. The deviation value is not calculated, so that the time deviation is not corrected correctly, and the time synchronization quality is reduced. In the case of severe asymmetry delays, it may even cause time to be substantially unsynchronized.
  • a dedicated test instrument is basically used to measure the delay of the 1588 uplink and downlink, and the actual value of the asymmetric delay is measured, and then the delay is asymmetric by the 1588 asymmetric delay compensation method.
  • Sexual compensation But this method not only consumes manpower and resources, but also when the link is sent When the change occurs, the device cannot automatically measure the true asymmetric delay, which reduces the quality of time synchronization.
  • the technical problem solved by the present invention is to provide an implementation method and system for automatically compensating 1588 link asymmetric delay, which can automatically correct asymmetric delay and ensure the quality of 1588 time synchronization.
  • the present invention provides an implementation method for compensating 1588 link asymmetry delay.
  • the asymmetric delay compensation is performed; if the value of the asymmetric delay does not exceed the set synchronous deviation range, the 1588 is continued normally. Time synchronization; automatic compensation of 1588 link asymmetry delay.
  • the value of the uplink and downlink asymmetry delay of the 1588 link is measured, including: starting 1588 time synchronization calculation;
  • the time delay is calculated and corrected, and the 1588 time synchronization timestamp is recorded, including: T1 timestamp sent by Sync message, T2 timestamp received by Sync message, T3 timestamp sent by Delay-req message, Delay— The T4 timestamp received by the req packet;
  • D1 is the downlink delay and D2 is the uplink delay.
  • the difference is corrected, which means:
  • Offset ((T2-Tl)-(T4-T3))/2;
  • Offset ((T2-T 1 )-(T4-T3))/2+(D2-D 1 )12;
  • the performing asymmetric delay compensation means performing asymmetric delay compensation by using an asymmetric correction method of the 1588 protocol.
  • the value of the uplink and downlink asymmetry delay of the 1588 link is calculated according to the configured asymmetry measurement period.
  • the present invention also provides an implementation system for compensating 1588 link asymmetry delay, the system comprising:
  • the asymmetry measurement module is configured to: detect and calculate a value of the 1588 uplink and downlink asymmetric delay;
  • the asymmetry compensation module is configured to: perform asymmetric delay compensation when the value of the asymmetric delay exceeds the set synchronous deviation range; and implement automatic compensation of 1588 link asymmetry delay.
  • the system further comprises:
  • the device synchronization precision configuration module is configured to: Configure the 1588 time synchronization deviation range of the device, that is, the time synchronization accuracy of the device without the 1588 uplink and downlink asymmetric delay;
  • the 1588 protocol processing module is configured to: 1588 protocol configuration, transmission, reception, and timestamp processing, and time offset calculation.
  • the 1588 protocol processing module is configured to: after starting the 1588 time synchronization calculation, performing the first time offset calculation, and correcting the time offset according to the actual delay of the uplink and downlink of the 1588 link; The time delay is calculated and corrected, and the 1588 time synchronization timestamp is recorded, including: T1 timestamp sent by Sync message, T2 timestamp received by Sync message, T3 timestamp sent by Delay_req message, Delay— The T4 timestamp received by the req packet;
  • the system further comprises:
  • the asymmetry measurement period configuration module is configured to: configure an asymmetry measurement period; the asymmetry measurement module is configured to: configure a module according to the asymmetry measurement period Set the asymmetry measurement period, and periodically measure the value of the 1588 uplink and downlink asymmetry delay.
  • the embodiment of the present invention proposes a simple and effective calculation method based on the existing 1588 time synchronization algorithm, and automatically measures the uplink and downlink asymmetric delay of 1588 time synchronization, and solves the problem. It is manually detected by a special test instrument, and when the link changes, it is necessary to re-measure.
  • Figure 1 is a schematic flow chart of calculating the time deviation of the 1588 protocol
  • FIG. 2 is a schematic diagram of the 1588 protocol time synchronization deviation caused by the asymmetric delay
  • FIG. 3 is a flow chart of automatically measuring 1588 uplink and downlink asymmetric delay in the embodiment of the present invention.
  • the automatic compensation method for implementing 1588 uplink and downlink delay asymmetry in the embodiment includes the following steps:
  • Step A Configure the device time synchronization deviation threshold.
  • Step B Start the 1588 time synchronization calculation.
  • Step C Calculate the time offset value (Offset) of the first synchronization, and correct the time deviation according to the actual link delay, and pause the calculation and correction of the 1588 time synchronization deviation.
  • Step D Record 1588 time synchronization timestamp.
  • Step F When the asymmetric delay (D1-D2) is found to exceed the device time synchronization deviation range, use
  • the 1588 asymmetric delay compensation method automatically completes the compensation of the asymmetric delay. Otherwise, go to Step 11.
  • Step H If there is no asymmetric delay, continue with 1588 normal time synchronization, wait for the next An asymmetry measurement cycle.
  • the assumption of this formula is that the uplink and downlink delays are equal. of.
  • the method for automatically compensating for the 1588 uplink and downlink delay asymmetry mainly includes the following steps:
  • Step 1 Configure the time synchronization deviation range
  • Step 2 Configure the 1588 slave clock to synchronize the master clock time.
  • Step 3 Run the 1588 Time Synchronization Protocol to calculate the time offset Offset.
  • Step 4 Correct the slave clock time based on the time offset Offset value.
  • Step 5 Stop the time offset value to correct the slave clock time, save the T1 time stamp sent by the Sync 4 message, and receive the T2 time stamp. Save the T3 timestamp sent by the Delay-req message and the received T4 timestamp.
  • T2-T 1 (3D1 - D2)/2
  • T4-T3 (3D2-D 1 )12.
  • Step 8 considering the limitation of the hardware, according to the synchronization precision of the device itself, when the values of the asymmetric delays D1-D2 differ by more than the set synchronization deviation range, the asymmetric delay is considered to be utilized.
  • the asymmetric correction method in the 1588 protocol performs asymmetric delay compensation.
  • an implementation system for automatically compensating 1588 uplink and downlink asymmetric delays mainly includes the following modules:
  • Device synchronization precision configuration module It is mainly responsible for configuring the 1588 time synchronization deviation range of the device, that is, the time synchronization accuracy of the device without the 1588 uplink and downlink asymmetric delay.
  • Asymmetry measurement period configuration module responsible for configuring the asymmetry measurement period.
  • 1588 Protocol Processing Module Mainly responsible for the configuration, transmission, reception and timestamp processing of the 1588 protocol, as well as the calculation of time offset and link delay.
  • Asymmetry measurement module mainly responsible for the asymmetric measurement period according to the configuration, periodic detection
  • Asymmetric compensation module It is mainly responsible for configuring the asymmetric delay of 1588 uplink and downlink.
  • An asymmetry measurement module configured to detect a value of an uplink delay of the 1588 uplink and downlink; and an asymmetry compensation module, configured to: when the value of the asymmetric delay exceeds a set synchronization delay range, Perform asymmetric delay compensation.
  • the 1588 protocol processing module is configured to: after starting the 1588 time synchronization calculation, correct the inter-row deviation; calculate and correct the pause time deviation, and record the 1588 time synchronization timestamp, including: the T1 timestamp sent by the Sync message.
  • the automatic compensation 1588 uplink and downlink asymmetric delay of the embodiment is implemented as follows:
  • Step 301 Configure a time synchronization precision range of the device without an asymmetric delay by using a device synchronization precision configuration module.
  • Step 302 Configure an asymmetry measurement period by using an asymmetry measurement period configuration module.
  • Step 303 Calculate a time offset by using a 1588 protocol processing module.
  • Step 304 Calculate 1588 time synchronization uplink and downlink asymmetric delay by using an asymmetry measurement module.
  • Step 305 Automatically compensate for the asymmetric delay by using the asymmetry compensation module.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
  • the invention is not limited to any particular combination of hardware and software.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

一种补偿1588链路非对称性时延的实现方法及系统,该方法包括:测量计算1588链路的上下行链路非对称性时延的值;当非对称性时延的值超出设定的同步偏差范围时,则进行非对称性时延补偿;如果所述非对称性时延的值未超出设定的同步偏差范围,继续1588正常时间同步;实现自动补偿1588链路非对称性时延。上述方案能够自动修正非对称时延,确保1588时间同步的质量。

Description

自动补偿 1588链路非对称性时延的实现方法及系统
技术领域
本发明涉及 1588时钟网络技术领域, 尤其涉及一种自动补偿 1588链路 非对称性时延的实现方法及系统。 背景技术
随着 3G ( 3M Generation, 第三代移动通信技术) 网络的高速发展, 1588 时间同步协议在通讯网络中得到越来越多的重视和应用。 国内外运营商不断 的使用 1588 协议进行时间同步, 逐步替换使用 GPS ( Global Positioning System, 全球定位系统)进行时间同步。
如图 1所示, 1588时间同步中, 同步方法如下:
由图 1中可以得出下式:
A=ti-t0=Delay+Offset; (1) B=t3-t2=Delay-Offset; (2) 进而根据上式 (1)和 (2), 可以得出:
延时(Delay ) 的计算公式: Delay =(Α+Β)/2=((^4。)+ 342))/2;
时间偏差 (Offset)的计算公式: Offset =(Α-Β)/2=((^4。)-(ί342))/2。
其中,上述公式是假设上下行链路时延是相等的。 1588时间同步的基础, 是要求上下行链路传输延时对称。 如果上下行链路传输有非对称性, 即上下 行链路的传输延时不相等时, 如图 2所示, 在这种情况下, 使用 1588协议计 算时间偏差, 非对称性一半的误差值没有计算到偏差值中去, 使得时间偏差 得不到正确的修正, 降低时间同步质量。 在非对称性延时严重情况下, 甚至 会导致时间基本上无法同步。
目前, 已有技术中基本上都是使用专用测试仪器测量 1588上下行链路的 时延, 测量出非对称性时延的实际值, 然后通过 1588非对称时延补偿方法, 进行时延非对称性进行补偿。 但这种方法不但耗费人力物力, 并且当链路发 生变化时, 设备无法自动测量出真实的非对称时延, 从而降低了时间同步的 质量。 发明内容
本发明解决的技术问题是提供一种自动补偿 1588链路非对称性时延的 实现方法及系统, 能够自动修正非对称时延, 确保 1588时间同步的质量。
为解决上述技术问题,本发明提供了一种补偿 1588链路非对称性时延的 实现方法,
测量计算 1588链路的上下行链路非对称性时延的值;
当所述非对称性时延的值超出设定的同步偏差范围时, 则进行非对称性 时延补偿;如果所述非对称性时延的值未超出设定的同步偏差范围,继续 1588 正常时间同步; 实现自动补偿 1588链路非对称性时延。
优选地, 测量计算 1588链路的上下行链路非对称性时延的值, 包括: 启动 1588时间同步计算;
第一次计算时间偏差,并根据所述 1588链路的上下行链路的实际时延对 所述时间偏差进行修正;
暂停时间偏差的计算和修正, 并记录 1588时间同步时间戳, 包括: Sync 报文发送的 T1时间戳, Sync报文接收的的 T2时间戳, Delay— req报文发送 的 T3时间戳, Delay— req报文接收的 T4时间戳;
根据公式: Dl-D2=((T2-Tl)-(T4-T3))/2计算非对称时延;
其中, D1为下行链路时延, D2为上行链路时延。 差进行修正, 是指:
1588协议中的时间偏差的计算公式为: Offset=((T2-Tl)-(T4-T3))/2;
Offset=((T2-T 1 )-(T4-T3))/2+(D2-D 1 )12;
根据上述两式, 即可得到第一次修正时间偏差后的时间偏差为: Offset=-(D2-D 1 )/2=(D 1 -D2)/2。
优选地, 所述进行非对称性时延补偿, 是指: 利用 1588协议的非对称修 正方法, 进行非对称时延补偿。
优选地, 根据配置的非对称性测量周期, 周期性测量计算所述 1588链路 的上下行链路非对称性时延的值。
本发明还提供了一种补偿 1588链路非对称性时延的实现系统,所述系统 包括:
非对称性测量模块, 其设置为: 检测计算 1588上下行链路非对称性时延 的值;
非对称性补偿模块, 其设置为: 当所述非对称性时延的值超出设定的同 步偏差范围时, 进行非对称性时延补偿; 实现自动补偿 1588链路非对称性时 延。
优选地, 所述系统还包括:
设备同步精度配置模块, 设置为: 配置设备的 1588时间同步偏差范围, 即在无 1588上下行链路非对称性时延情况下, 设备的时间同步精度;
1588协议处理模块, 设置为: 1588协议的配置、 发送、 接收和时间戳处 理, 以及时间偏差的计算。
优选地, 所述 1588协议处理模块设置为: 在启动 1588时间同步计算后 , 进行第一次时间偏差计算,并根据 1588链路的上下行链路的实际时延对所述 时间偏差进行修正; 暂停时间偏差的计算和修正, 并记录 1588时间同步时间 戳,包括: Sync报文发送的 T1时间戳, Sync报文接收的的 T2时间戳, Delay— req 报文发送的 T3时间戳, Delay— req报文接收的 T4时间戳;
所述非对称性测量模块设置为: 根据公式: Dl-D2=((T2-Tl)-(T4-T3))/2 计算非对称时延; 其中, D1为下行链路时延, D2为上行链路时延。
优选地, 所述系统还包括:
非对称性测量周期配置模块, 设置为: 配置非对称性测量周期; 所述非对称性测量模块设置为: 根据所述非对称性测量周期配置模块配 置的非对称性测量周期, 周期性测量计算 1588 上下行链路非对称性时延的 值。
与现有技术相比较, 本发明实施例在现有 1588时间同步算法的基础上, 提出一种简单有效的计算方法, 自动测量出 1588时间同步的上下行链路非对 称性时延, 解决了人工通过特殊测试仪器检测, 并且在链路发生变化时, 又 要重新进行测量等问题。 附图概述
此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中:
图 1是 1588协议计算时间偏差的流程示意图;
图 2是受非对称性时延影响的 1588协议时间同步出现偏差的示意图; 图 3是本发明实施例自动测量 1588上下行链路非对称时延的流程图。 本发明的较佳实施方式
本实施方式的自动补偿 1588上下行链路时延非对称性的实现方法,包括 以下步骤:
步骤 A. 配置设备时间同步偏差门限。
步骤 B. 启动 1588时间同步计算。
步骤 C. 计算出第一次同步的时间偏差值(Offset ) , 并根据实际的链路 时延修正时间偏差, 同时暂停 1588时间同步偏差的计算和修正。
步骤 D. 记录 1588时间同步时间戳。
步骤 E. 根据公式 Dl-D2=((T2-Tl)-(T4-T3))/2计算出非对称时延。
步骤 F.当发现非对称时延 (D1-D2)超出设备时间同步偏差范围时, 利用
1588非对称时延补偿方法, 自动完成非对称时延的补偿, 否则, 执行步骤11。
步骤 H.如果无非对称时延情况下, 则继续 1588正常时间同步, 等待下 一个非对称性测量周期。
为使本发明的目的、 技术方案和优点更加清楚明白, 下文中将结合附图 对本发明的实施例进行详细说明。 需要说明的是, 在不冲突的情况下, 本申 请中的实施例及实施例中的特征可以相互任意组合。
实施例一
结合图 2 所示, 1588 时间同步协议中, 时间偏差的计算公式为: Offset=((T2-Tl)-(T4-T3))/2 , 这个公式的假设是上下行链路时延是相等的。
如果考虑上行链路时延 (D2)和下行链路时延 (D1), 则实际的计算公式为: Offset=((T2-T 1 )-(T4-T3))/2+(D2-D 1 )12。
因此, 二者计算出来的时间偏差相差了(D2-Dl)/2。
结合以上内容,本实施例提供的自动补偿 1588上下行链路时延非对称性 的实现方法, 主要包括如下步骤:
步骤 1.配置时间同步偏差范围;
即在无非对称时延情况下, 设备时间同步的精度, 单位纳秒。
步骤 2.配置 1588从时钟, 同步主时钟时间。
步骤 3.运行 1588时间同步协议, 计算出时间偏差 Offset。
步骤 4.根据时间偏差 Offset值修正从时钟时间。
步骤 5.停止时间偏差值修正从时钟时间, 保存 Sync 4艮文发送的 T1时间 戳, 接收的 T2时间戳。 保存 Delay— req报文发送的 T3时间戳, 接收的 T4时 间戳。
步骤 6.根据 1588时间同步公式: T2-Tl=Dl+Offset, T4-T3=D2-Offset。 第一次修正时间偏差之后, Offset=-(D2-Dl)/2=(Dl-D2)/2。 将该式代入上 述公式中:
T2-T 1=(3D1 -D2)/2 , T4-T3=(3D2-D 1 )12。
步骤 7.从上述公式中, 可以推导出, Dl-D2=((T2-Tl)-(T4-T3))/2。
步骤 8, 考虑到硬件的限制, 根据设备本身的同步精度, 当非对称时延 D1-D2的值相差超过设定的同步偏差范围时, 则认为存在非对称时延, 利用 1588协议中的非对称修正方法, 进行非对称时延补偿。
实施例二
如图 3所示,本发明实施例中提供的一种自动补偿 1588上下行链路非对 称性时延的实现系统, 主要包括以下模块:
设备同步精度配置模块: 主要负责配置设备的 1588时间同步偏差范围, 即在无 1588上下行链路非对称性时延情况下, 设备的时间同步精度。
非对称性测量周期配置模块: 负责配置非对称性测量周期。
1588协议处理模块: 主要负责 1588协议的配置, 发送, 接收和时间戳 处理, 以及时间偏差和链路延迟的计算。
非对称性测量模块: 主要负责根据配置的非对称测量周期, 周期性检测
1588上下行链路非对称性时延的大小。
非对称性补偿模块: 主要负责配置补偿 1588上下行链路的非对称时延。 非对称性测量模块, 用于检测计算 1588上下行链路非对称性时延的值; 非对称性补偿模块, 用于当所述非对称性时延的值超出设定的同步偏差 范围时, 进行非对称性时延补偿。
进一步地, 1588协议处理模块用于, 在启动 1588时间同步计算后, 进 间偏差进行修正;暂停时间偏差的计算和修正,并记录 1588时间同步时间戳, 包括: Sync报文发送的 T1时间戳, Sync报文接收的的 T2时间戳, Delay— req 报文发送的 T3时间戳, Delay— req报文接收的 T4时间戳;
非对称性测量模块用于, 根据公式: Dl-D2=((T2-Tl)-(T4-T3))/2计算非 对称时延。
具体地, 本实施例的自动补偿 1588 上下行链路非对称性时延的实现如 下:
步骤 301 , 通过设备同步精度配置模块, 配置设备在无非对称时延情况 下的时间同步精度范围。
步骤 302, 通过非对称性测量周期配置模块, 配置非对称性测量周期。 步骤 303 , 通过 1588协议处理模块, 计算出时间偏差。
步骤 304 , 通过非对称性测量模块, 定时计算 1588时间同步上下行链路 非对称时延。
步骤 305 , 通过非对称性补偿模块, 自动补偿非对称时延。
以上仅为本发明的优选实施案例而已, 并不用于限制本发明, 本发明还 可有其他多种实施例, 在不背离本发明精神及其实质的情况下, 熟悉本领域 的技术人员可根据本发明做出各种相应的改变和变形, 但这些相应的改变和 变形都应属于本发明所附的权利要求的保护范围。
显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可 以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布 在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程 序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 并 且在某些情况下, 可以以不同于此处的顺序执行所示出或描述的步骤, 或者 将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制作 成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和软件 结合。
工业实用性 由于本发明实施例是在现有的硬件设备基础上实现的, 不增加额外的成 本, 对软件的成本增加也不大, 但却有效的达到有效的解决了 1588时间同步 的非对称性问题, 大大节约了开通 1588时间同步工程上的人力物力成本。

Claims

权 利 要 求 书
1、 一种补偿 1588链路非对称性时延的实现方法, 包括:
测量计算 1588链路的上下行链路非对称性时延的值;
当所述非对称性时延的值超出设定的同步偏差范围时, 则进行非对称性 时延补偿;如果所述非对称性时延的值未超出设定的同步偏差范围,继续 1588 正常时间同步; 实现自动补偿 1588链路非对称性时延。
2、 如权利要求 1所述的方法, 其中, 所述测量计算 1588链路的上下行 链路非对称性时延的值, 包括:
启动 1588时间同步计算;
第一次计算时间偏差,并根据所述 1588链路的上下行链路的实际时延对 所述时间偏差进行修正;
暂停时间偏差的计算和修正, 并记录 1588时间同步时间戳, 包括: Sync 报文发送的 T1时间戳, Sync报文接收的的 T2时间戳,延时请求( Delay— req ) 报文发送的 T3时间戳, Delay— req报文接收的 T4时间戳;
根据公式: Dl-D2=((T2-Tl)-(T4-T3))/2计算非对称时延;
其中, D1为下行链路时延, D2为上行链路时延。
3、 如权利要求 1或 2所述的方法, 其中, 所述根据所述 1588链路的上 下行链路的实际时延对所述时间偏差进行修正, 是指:
1588协议中的时间偏差的计算公式为: Offset=((T2-Tl)-(T4-T3))/2;
Offset=((T2-T 1 )-(T4-T3))/2+(D2-D 1 )12;
根据上述两式, 即可得到第一次修正时间偏差后的时间偏差为: Offset=-(D2-D 1 )/2=(D 1 -D2)/2。
4、 如权利要求 1所述的方法, 其中,
所述进行非对称性时延补偿, 是指: 利用 1588协议的非对称修正方法, 进行非对称时延补偿。
5、 如权利要求 1所述的方法, 其中, 根据配置的非对称性测量周期,周期性测量计算所述 1588链路的上下行 链路非对称性时延的值。
6、 一种补偿 1588链路非对称性时延的实现系统, 所述系统包括: 非对称性测量模块, 其设置为: 检测计算 1588上下行链路非对称性时延 的值;
非对称性补偿模块, 其设置为: 当所述非对称性时延的值超出设定的同 步偏差范围时, 进行非对称性时延补偿;
实现自动补偿 1588链路非对称性时延。
7、 如权利要求 6所述的系统, 其中, 所述系统还包括:
设备同步精度配置模块, 设置为: 配置设备的 1588时间同步偏差范围, 即在无 1588上下行链路非对称性时延情况下, 设备的时间同步精度;
1588协议处理模块, 设置为: 1588协议的配置、 发送、 接收和时间戳处 理, 以及时间偏差的计算。
8、 如权利要求 7所述的系统, 其中,
所述 1588协议处理模块设置为: 在启动 1588时间同步计算后, 进行第 差进行修正; 暂停时间偏差的计算和修正, 并记录 1588时间同步时间戳, 包 括: Sync报文发送的 T1时间戳, Sync报文接收的的 T2时间戳, Delay— req 报文发送的 T3时间戳, Delay— req报文接收的 T4时间戳;
所述非对称性测量模块设置为: 根据公式: Dl-D2=((T2-Tl)-(T4-T3))/2 计算非对称时延; 其中, D1为下行链路时延, D2为上行链路时延。
9、 如权利要求 6或 7所述的系统, 其中, 所述系统还包括:
非对称性测量周期配置模块, 设置为: 配置非对称性测量周期; 所述非对称性测量模块设置为: 根据所述非对称性测量周期配置模块配 置的非对称性测量周期, 周期性测量计算 1588 上下行链路非对称性时延的 值。
PCT/CN2012/079778 2011-08-10 2012-08-07 自动补偿1588链路非对称性时延的实现方法及系统 WO2013020499A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
US14/234,247 US9491728B2 (en) 2011-08-10 2012-08-07 Method and device for implementing automatic compensation for asymmetric delay of 1588 link
RU2014101397/07A RU2574859C2 (ru) 2011-08-10 2012-08-07 Способ и устройство для реализации автоматической компенсации асимметричной задержки линии связи, соответствующей стандарту 1588
EP12822332.8A EP2731303B1 (en) 2011-08-10 2012-08-07 Method and device for implementing automatic compensation for asymmetric delay of 1588 link
BR112014002909A BR112014002909A2 (pt) 2011-08-10 2012-08-07 método e sistema para a implementação de uma compensação para um atraso de assimetria de uma ligação 1588

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110228386.8 2011-08-10
CN201110228386.8A CN102932905B (zh) 2011-08-10 2011-08-10 自动补偿1588链路非对称性时延的实现方法及系统

Publications (1)

Publication Number Publication Date
WO2013020499A1 true WO2013020499A1 (zh) 2013-02-14

Family

ID=47647565

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/079778 WO2013020499A1 (zh) 2011-08-10 2012-08-07 自动补偿1588链路非对称性时延的实现方法及系统

Country Status (5)

Country Link
US (1) US9491728B2 (zh)
EP (1) EP2731303B1 (zh)
CN (1) CN102932905B (zh)
BR (1) BR112014002909A2 (zh)
WO (1) WO2013020499A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10389645B2 (en) * 2015-04-30 2019-08-20 Huawei Technologies Co., Ltd. Communications network delay variation smoothing method, apparatus, and system

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5768624B2 (ja) * 2011-09-26 2015-08-26 富士通株式会社 中継装置及び中継方法
CN103401813B (zh) * 2013-08-20 2016-08-10 北京华为数字技术有限公司 一种非对称延迟补偿方法及交换机
US9760114B1 (en) * 2014-01-03 2017-09-12 Juniper Networks, Inc. Systems and methods for improving clock synchronization between master and slave devices
KR20160014157A (ko) * 2014-07-28 2016-02-11 주식회사 오이솔루션 광 트랜시버
EP3068076A1 (en) * 2015-03-10 2016-09-14 Alcatel Lucent Automatic determination of asymmetrical delay in transmission networks
CN106301646B (zh) * 2015-05-21 2019-08-23 中兴通讯股份有限公司 一种时间同步消息发送方法和装置
CN106921456B (zh) * 2015-12-24 2018-06-19 中国科学院沈阳自动化研究所 基于ptp协议的多跳无线回程网络时间同步误差补偿方法
US10341083B2 (en) * 2016-09-09 2019-07-02 Huawei Technologies Co., Ltd. System and methods for network synchronization
CN108023723B (zh) * 2016-11-04 2021-07-09 华为技术有限公司 频率同步的方法以及从时钟
EP3659362B1 (en) * 2017-07-26 2023-09-13 Aviat Networks, Inc. Airframe timestamping technique for point-to-point radio links
WO2019127447A1 (zh) * 2017-12-29 2019-07-04 华为技术有限公司 用于时间同步的方法、装置和系统
JP6523497B1 (ja) * 2018-01-17 2019-06-05 三菱電機株式会社 マスタ制御装置およびこれを用いた同期通信システム
CN110858811B (zh) 2018-08-24 2022-01-18 华为技术有限公司 测量时延的方法和网络设备
CN109005557B (zh) * 2018-09-26 2021-12-07 中兴通讯股份有限公司 一种时延对称性测量方法、装置和系统
EP3917043A4 (en) * 2019-02-25 2022-03-02 Huawei Technologies Co., Ltd. TIME SYNCHRONIZATION METHOD, DEVICE AND SYSTEM
CN109787704A (zh) * 2019-03-01 2019-05-21 燕山大学 一种基于非对称链路的时间偏差补偿方法
EP3709726B1 (en) * 2019-03-14 2023-06-28 Hitachi Energy Switzerland AG Method and system of wireless tdma communication for industrial machine-to-machine communication
CN110213005B (zh) * 2019-05-17 2021-04-16 厦门网宿有限公司 一种时间同步方法、设备及系统
CN110995387B (zh) * 2019-11-28 2021-05-25 广东邮电职业技术学院 一种gpon网络承载高精度时钟的实现方法
CN112491489B (zh) 2020-11-27 2022-07-29 清华大学 基于带内遥测进行时间同步的方法、装置和系统
CN113180698B (zh) * 2021-04-30 2024-03-01 西安臻泰智能科技有限公司 一种脑电装置的无线自动补偿偏差方法及脑电装置
CN114222360B (zh) * 2021-12-21 2023-09-12 南京欧珀软件科技有限公司 时间同步方法、系统及相关装置
CN114422069B (zh) * 2022-01-04 2023-12-05 烽火通信科技股份有限公司 FlexE业务的时延处理方法、装置、设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090016475A1 (en) * 2005-12-09 2009-01-15 Rockwell Automation Technologies, Inc. Step time change compensation in an industrial automation network
CN101594673A (zh) * 2009-06-29 2009-12-02 中兴通讯股份有限公司 一种分布式处理1588时间戳的方法及系统
CN101834712A (zh) * 2010-04-19 2010-09-15 浙江大学 利用ieee1588协议实现精确时间同步的方法
CN102006157A (zh) * 2010-11-26 2011-04-06 中兴通讯股份有限公司 一种时间同步的方法和系统

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070147435A1 (en) * 2005-12-23 2007-06-28 Bruce Hamilton Removing delay fluctuation in network time synchronization
US7602873B2 (en) * 2005-12-23 2009-10-13 Agilent Technologies, Inc. Correcting time synchronization inaccuracy caused by asymmetric delay on a communication link
US8325767B2 (en) * 2006-09-29 2012-12-04 Agilent Technologies, Inc. Enhancement of IEEE 1588 synchronization using out-of-band communication path
EP2153663B1 (en) * 2007-06-12 2012-12-26 Thomson Licensing Automatic compensation of a delay of a synchronization signal in a packet switching network
US7821958B2 (en) * 2007-12-21 2010-10-26 Belair Networks Inc. Method for estimating and monitoring timing errors in packet data networks
CN101615963B (zh) * 2008-06-23 2012-12-12 华为技术有限公司 修正域信息的处理方法及系统
CN101447861B (zh) * 2008-12-29 2011-10-26 中兴通讯股份有限公司 Ieee 1588时间同步系统及其实现方法
CN101795423A (zh) * 2009-02-04 2010-08-04 中兴通讯股份有限公司 无源光网络系统的时间同步方法及其同步系统
US8295312B2 (en) * 2009-06-08 2012-10-23 Broadcom Corporation Method and system for compensated time stamping for time-sensitive network communications
US8018972B2 (en) 2009-06-30 2011-09-13 Alcatel Lucent Timing over packet performance
US20110035511A1 (en) * 2009-08-07 2011-02-10 Cisco Technology, Inc. Remote Hardware Timestamp-Based Clock Synchronization
CN102111380B (zh) * 2009-12-25 2014-05-07 华为技术有限公司 一种时间同步的方法、设备及系统
WO2011079460A1 (en) * 2009-12-31 2011-07-07 Abb Research Ltd. Method and apparatus for detecting communication channel delay asymmetry
US8630314B2 (en) * 2010-01-11 2014-01-14 Faro Technologies, Inc. Method and apparatus for synchronizing measurements taken by multiple metrology devices
US8837530B2 (en) * 2010-03-12 2014-09-16 University Of Maryland Method and system for adaptive synchronization of timing information generated by independently clocked communication nodes
EP2424136B1 (en) * 2010-08-24 2013-10-02 Siemens Aktiengesellschaft System and method for time synchronization in a communication network
EP2434674B1 (de) * 2010-09-24 2013-10-30 Siemens Aktiengesellschaft Verfahren zur Zeitsynchronisation in einem Kommunikationsnetz
US20120099432A1 (en) * 2010-10-20 2012-04-26 Ceragon Networks Ltd. Decreasing jitter in packetized communication systems
US8917663B2 (en) * 2010-11-29 2014-12-23 Spidercloud Wireless, Inc. Method and apparatus for timing and/or frequency offset monitoring and handling
CN102098155B (zh) * 2011-03-18 2013-11-13 北京国智恒电力管理科技有限公司 基于ptp协议实现亚微秒级同步精度的方法
CA2843201C (en) * 2011-09-09 2015-12-15 Huawei Technologies Co., Ltd. Time synchronization method and system, and node device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090016475A1 (en) * 2005-12-09 2009-01-15 Rockwell Automation Technologies, Inc. Step time change compensation in an industrial automation network
CN101594673A (zh) * 2009-06-29 2009-12-02 中兴通讯股份有限公司 一种分布式处理1588时间戳的方法及系统
CN101834712A (zh) * 2010-04-19 2010-09-15 浙江大学 利用ieee1588协议实现精确时间同步的方法
CN102006157A (zh) * 2010-11-26 2011-04-06 中兴通讯股份有限公司 一种时间同步的方法和系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10389645B2 (en) * 2015-04-30 2019-08-20 Huawei Technologies Co., Ltd. Communications network delay variation smoothing method, apparatus, and system

Also Published As

Publication number Publication date
US20140146811A1 (en) 2014-05-29
RU2014101397A (ru) 2015-09-20
EP2731303A1 (en) 2014-05-14
US9491728B2 (en) 2016-11-08
CN102932905B (zh) 2017-06-16
EP2731303A4 (en) 2015-01-14
CN102932905A (zh) 2013-02-13
BR112014002909A2 (pt) 2017-03-01
EP2731303B1 (en) 2019-06-05

Similar Documents

Publication Publication Date Title
WO2013020499A1 (zh) 自动补偿1588链路非对称性时延的实现方法及系统
CN106488550B (zh) 确定终端与基站时钟时间偏差的方法与装置
US9923656B2 (en) Methods, systems, and computer readable media for testing recovered clock quality
US9252902B2 (en) Precision timing in a data over cable service interface specification (DOCSIS) system
CN103929293B (zh) 非对称延迟的时间同步方法及系统
US20140355628A1 (en) Recursive time synchronization protocol method for wireless sensor networks
WO2017101528A1 (zh) 一种时钟链路切换方法、装置及基站
WO2017063450A1 (zh) 一种时间戳过滤的方法及装置
WO2013023530A1 (zh) 自动侦测1588链路非对称性时延的实现方法及装置
WO2018006686A1 (zh) 一种通信网络设备间时间同步的优化方法、装置及设备
US9955447B2 (en) Clock synchronization method, mobile network system, network controller and network switch
KR20090032306A (ko) 네트워크상의 타임 동기화 시스템 및 방법
WO2017032113A1 (zh) 一种时间同步偏差检测方法和装置
CN105577349A (zh) 一种机载网络ieee1588协议主从时钟端口同步方法
CN108650050A (zh) 一种分布式网络时钟同步方法
CN104158647A (zh) 一种无线传感网络时钟同步方法
WO2009043299A1 (en) A determining method and device for the synchronization port of a transparent clock equipment
CN104836630A (zh) Ieee1588时钟同步系统及其实现方法
WO2013086959A1 (zh) 线路非对称性补偿方法、设备及系统
WO2012163172A1 (zh) 一种时钟同步方法及设备
WO2011143973A1 (zh) 一种设备之间进行时钟同步的方法和装置
CN104836654B (zh) 一种基于Ethernet POWERLINK的时钟同步方法
CN113965288B (zh) 提高精确时间协议ptp时间同步精度的方法和装置
WO2013107174A1 (zh) 光纤对称性检测方法及设备
CN105634715A (zh) 一种机载网络ieee1588协议透明时钟端口同步方法

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

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14234247

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 2012822332

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2014101397

Country of ref document: RU

Kind code of ref document: A

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112014002909

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 112014002909

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20140206