WO2013078957A1 - 时间同步方法及装置 - Google Patents

时间同步方法及装置 Download PDF

Info

Publication number
WO2013078957A1
WO2013078957A1 PCT/CN2012/085078 CN2012085078W WO2013078957A1 WO 2013078957 A1 WO2013078957 A1 WO 2013078957A1 CN 2012085078 W CN2012085078 W CN 2012085078W WO 2013078957 A1 WO2013078957 A1 WO 2013078957A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
network
time difference
slave device
deviation
Prior art date
Application number
PCT/CN2012/085078
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 EP12852984.9A priority Critical patent/EP2787664B1/en
Publication of WO2013078957A1 publication Critical patent/WO2013078957A1/zh

Links

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/0685Clock or time synchronisation in a node; Intranode synchronisation

Definitions

  • the present invention relates to the field of communications, and in particular to a time synchronization method and apparatus.
  • time synchronization methods including: precise clock synchronization protocol (Precision Time)
  • PTP Network Time Protocol
  • GSM Global Positioning System
  • time synchronization is always accompanied by jitter caused by various reasons, such as: synchronization source switching, line switching, link delay jitter, synchronization frequency jitter, other environmental factors, and the like.
  • These disturbances all affect the calculation of the time synchronization deviation, and since the frequency correction of the digital electronic device itself has certain accuracy limits, these factors combine to eventually cause jitter or transients from the system time of the clock device.
  • the International Telecommunications Union (ITU) standard G812 specifies the phase output transient requirements of the frequency, but there is no corresponding standard specification for the phase output transient of 1588 time.
  • FIG. 1 is a schematic diagram showing measurement results of time-deviation jitter using simple filtering according to the related art. As shown in Figure 1, the time deviation of the output after simple filtering is still large in many places. In fact, a large part of these jitters are not real jitter, but the output caused by the error caused by the algorithm. The result is not good.
  • the correction method adopted by the existing network clock slave device is directly corrected according to the calculated time deviation of the slave device and the network time source, which may cause the time deviation correction range. Too large, affecting the synchronization effect.
  • the present invention provides a time synchronization method and apparatus, which at least solves the one-time correction of the time difference between the network clock slave device and the network time source in the related art, which may cause the time difference correction range to be too large. A problem that affects the results of the synchronization.
  • a time synchronization method is provided.
  • the time synchronization method includes: obtaining a time deviation of a network clock slave device from a network time source; and gradually adjusting a time offset of the network clock slave device from the network time source.
  • obtaining a time deviation between the network clock slave device and the network time source includes: calculating a time difference between the time of the network clock slave device and the time of the network time source; performing jitter suppression processing on the time difference value, and obtaining an effective time difference Value; the effective time difference is filtered by the filter to obtain the time deviation of the network clock slave device from the network time source.
  • the method before performing the jitter suppression process on the time difference to obtain the valid time difference, the method further includes: if the time difference is less than the preset first threshold, the current time of the network clock slave device is not needed to be adjusted.
  • performing jitter suppression processing on the time difference, and obtaining the valid time difference value includes: determining whether the time difference value is within a preset jitter range; when the time difference value is not within the preset jitter range , Performing the debounce processing on the time difference.
  • the effective time difference is subjected to filtering processing of the filter, and obtaining a time deviation of the network clock slave device from the network time source includes: determining whether the effective time difference exceeds a preset second threshold; if exceeded, The effective time difference is determined as the time deviation; if not, the effective time difference is filtered to obtain the time deviation.
  • gradually adjusting the time deviation of the network clock slave device from the network time source includes: determining a corresponding adjustment value according to the time deviation; and gradually adjusting the time deviation of the network clock slave device from the network time source by using the adjustment value.
  • gradually adjusting the time deviation of the network clock slave device from the network time source further includes: saving the time offset to the buffer; determining a corresponding adjustment value according to the value saved in the buffer; and feeding back the adjustment value after adjusting the time deviation Cache.
  • gradually adjusting the time deviation of the network clock slave device from the network time source further includes: feeding back the adjustment value to the filter; and modifying the current filter parameter in the filter according to the adjustment value.
  • the adjustment value includes at least one of the following: a correction step size and a slope.
  • the time synchronization device comprises: an acquisition module configured to acquire a time deviation of a network clock slave device from a network time source; and an adjustment module configured to gradually adjust a time offset of the network clock slave device from the network time source.
  • the acquiring module includes: a calculating unit, configured to calculate a time difference between a time of the network clock slave device and a time of the network time source; and an execution unit configured to perform a jitter suppression process on the time difference value to obtain an effective time
  • the difference unit is set to filter the effective time difference value through the filter to obtain the time deviation of the network clock slave device from the network time source.
  • the execution unit includes: a first determining subunit, configured to determine whether the time difference value is within a preset jitter range; and the first processing subunit is set to be when the time difference value is not preset When the jitter is within the range, the jitter reduction processing is performed on the time difference.
  • the filtering unit includes: a second determining subunit, configured to determine whether the effective time difference value exceeds a preset second threshold; the first determining subunit is set to be when the output of the second determining unit is YES Then, the effective time difference is determined as the time deviation; the obtaining subunit is set to filter the effective time difference to obtain the time deviation when the output of the second determining unit is negative.
  • the adjusting module includes: a determining unit configured to determine a corresponding adjustment value according to the time deviation; and an adjusting unit configured to gradually adjust a time deviation of the network clock slave device from the network time source by using the adjustment value.
  • the determining unit includes: a saving subunit configured to save a time offset; and a second determining subunit configured to determine a corresponding adjustment value according to the value stored in the buffer; the feedback subunit is set to adjust the time deviation The adjustment value is then fed back to the cache.
  • the adjusting module further includes: a feedback unit configured to feed back the adjustment value to the filter; and the obtaining module further includes: an updating unit configured to modify the current filtering parameter in the filter according to the adjustment value.
  • the time deviation of the network clock from the device and the network time source is gradually adjusted to replace the one-time direct correction used in the related art, and the time difference between the network clock slave device and the network time source is directly solved in the related art.
  • a one-time correction may cause the time difference correction range to be too large, affecting the synchronization result, and thus achieve the effect of improving the quality and stability of time synchronization.
  • FIG. 1 is a schematic diagram of measurement results of time-deviation jitter using simple filtering according to the related art
  • FIG. 2 is a flowchart of a time synchronization method according to an embodiment of the present invention
  • FIG. 3 is a preferred embodiment according to the present invention.
  • FIG. 4 is a block diagram showing the structure of a time synchronization apparatus according to an embodiment of the present invention
  • FIG. 5 is a structural block diagram of a time synchronization apparatus according to a preferred embodiment of the present invention;
  • Step S202 Obtain a time deviation of a network clock slave device from a network time source.
  • Step S204 Stepwise adjust a time offset of the network clock slave device from the network time source.
  • the time deviation of adjusting the network clock from the device to the network time source is generally performed in a one-time correction according to the calculated time deviation, which may cause the correction range to be too large, thereby affecting the time synchronization quality.
  • the adjusting operation S204 may be performed by an independent timing loop, or may be triggered by a sampling period of the time difference value input by S202. In either case, if the calculation of the time difference is not periodic, then the factors of the time interval are considered in the processing flow.
  • the sampling time interval of the time difference is 1 Seconds, the other is 2 seconds, the frequency domain information obtained by sampling is completely different.
  • the adjustment process needs to substitute the sampling time interval as a parameter into the processing flow to calculate the relevant parameters such as the jitter change rate.
  • the following processing steps may be included: (1) calculating a time difference between a time of the network clock slave device and a time of the network time source;
  • the effective time difference is filtered by the filter to obtain the time deviation of the network clock slave device from the network time source.
  • the debounce processing is added before the calculated time difference is corrected, and not only the abnormal jitter of the time difference can be discarded or filtered. It is also possible to suppress large jitter of the time difference, so that the clock device can be kept stable in the case of large interference, and the quality and stability of synchronization are improved.
  • the following operations may be further included: if the time difference is less than a preset dead zone range (ie, the first threshold), then The current time of the network clock slave device needs to be adjusted. It should be noted that not all time deviations have corresponding adjustment values. In some cases, the time deviation cannot be completely eliminated. The time deviation is allowed at this time, and no adjustment is needed, that is, the adjustment of time deviation. There is a dead zone, wherein the dead zone can be preset by the user with a threshold, and the time deviation less than the threshold is not corrected, that is, the system allows the existence of a certain error to avoid unnecessary repeated operations.
  • the jitter suppression process is performed on the time difference value, and obtaining the valid time difference value may further include the following processing steps:
  • the debounce processing is performed on the time difference value.
  • the jitter range is the range of variation of the input time difference during a number of samples over a period of time. Jitter suppression is mainly used to suppress rapid and large changes in the input time difference signal. Data with large jitter can be considered as abnormal data, and discarding abnormal data is a relatively simple way to achieve jitter suppression. The data remaining after the jitter suppression process is a valid time difference.
  • performing the debounce processing on the time difference may include, but is not limited to, the method of performing the jitter range discrimination described above and then processing the data exceeding the range.
  • the effective time difference is filtered by the filter, and obtaining the time deviation of the network clock slave device from the network time source may further include the following processing steps:
  • the filtering process is mainly for smoothing the time difference signal by the processing when the input effective time difference signal is within the smoothing correction threshold, and finally obtaining a relatively stable and reliable time offset signal.
  • the time difference value is directly used as the time deviation signal, which can be directly converted into an adjustment value, and the network clock is time-corrected from the device; or the time deviation can be directly sent
  • the adjustment value is determined by S204 and corrected. For example, the time needs to be adjusted from 1980 to 2010, and the time difference signal is stable in 2010 after this jump.
  • the data sampled during this transition is very jittery, and can be regarded as abnormal data in the jitter suppression section for discarding.
  • the amplitude of the sampled data is still large, but the jitter is small, and the jitter suppression link is regarded as the effective time difference.
  • a valid step value can be assigned directly to this valid time difference. If the step value is equal to the calculated effective time difference, the effect is immediate correction; if a large correction step size is selected, for example, 1 year, the synchronization can be completed after several corrections.
  • the following processing steps may be included:
  • the relationship of the adjustment value to the time offset may be a linear function or a non-linear function.
  • a nonlinear function For example, when the filtered output deviation is greater than 10us, the step size is infinity; when the deviation is between 10us and 500ns, the step size is 100ns; when the deviation is between 500ns and 5ns, the step size is 5ns; when the deviation is less than 5ns When the step size is 0, it is not corrected.
  • the above function consists of four non-linear segments, of which the value of 5 ns is defined as the dead zone.
  • Adjustment value is 0.
  • Step to adjust the system clock of the network clock slave device output each time according to a certain amplitude (step size), so that the deviation between the adjusted time and the input network time is gradually reduced, and tracking is maintained to realize synchronization between the slave device and the network time source. , and avoid a sudden change when the correction is large.
  • the adjustment value can be obtained by using a segmentation selection method or an adaptive calculation method. For large deviations, it can be directly corrected or with a large adjustment value for fast tracking. For smaller deviations, use smaller adjustment values for tracking.
  • the adjustment values used in different deviation ranges can be segmented as needed, or an adaptive algorithm can be used to perform automatic step calculation based on the rate of change of time deviation.
  • the adjustment value adopts the direct correction method except for the jump exceeding the predetermined amplitude. In other cases, the adjustment value is generally not too large.
  • the purpose is to limit the change of the equipment time not too fast and improve the stability.
  • the foregoing step S204 may further include the following processing steps:
  • the adjusting operation S204 may be performed by an independent timing loop, or may be triggered by a sampling period of the S202 input time difference value.
  • S204 repeats the correction according to the calculated step size until the offset buffer value tends to zero.
  • S202 has a new deviation.
  • the time deviation buffer value is refreshed.
  • the method of triggering the sampling period of the input time difference means that S202 and S204 work uniformly under the time deviation sampling period.
  • step S204 may further include the following processing steps:
  • the adjustment value is fed back to the filter processing each time the system time is adjusted.
  • some data filtering parameters are usually set, and the cached data stored in the filter can also be considered as part of the filter parameters.
  • the data and parameters stored in the filter actually reflect the change in the time offset before the adjustment.
  • the adjustment value is fed back to the filter for processing each time the system time is adjusted. Undergoing
  • the processed filter parameters improve the speed and performance of the time correction during a filter calculation. For example, for an average smoothing filter, the data currently stored in the filter buffer queue is deducted from the adjusted values that have been made, reducing the impact of historical data when the next time offset is added to the operation.
  • the above adjustment value may include, but is not limited to, at least one of the following: a correction step size, a slope.
  • 3 is a schematic diagram of jitter statistics for eliminating time offset after jitter processing using a time synchronization method in accordance with a preferred embodiment of the present invention. As shown in Fig. 3, the time deviation after the debounce processing is 0.93n S ⁇ 4.54n S , that is, the jitter of the time deviation is 3.61ns; and the time after the simple filtering in the related art shown in FIG.
  • the time synchronization method mainly includes the following processing steps: Step A. Calculate the difference between the sampling time of the network clock slave device and the network time source is 3 hundred nanoseconds; Step B. Set the jitter range to 0 nanoseconds to 5 hundred nanoseconds. , because 3 hundred nanoseconds is in the range of 0 nanoseconds to 5 hundred nanoseconds, so 3 hundred nanoseconds is not abnormal jitter filtering, continue to step C; step C.
  • Step D Select the correction step size to 10 nanoseconds according to the time deviation of 3 hundred nanoseconds, and use this correction step to determine the correction value as 10 nanoseconds;
  • Step E Correct the slave system clock according to the correction step size of 10 nanoseconds. And feedback the correction step size to the filter of step C;
  • Step F Reduce the influence of the filter buffer on the subsequent input by using the modified three-nanoseconds saved in the filter minus the feedback step of 10 nanoseconds.
  • Step E or A continues to execute, repeating the above process to gradually adjust the time offset to achieve smooth time synchronization.
  • the time synchronization device may include: an obtaining module 10 configured to acquire a time deviation of a network clock slave device from a network time source; and an adjustment module 20 configured to gradually adjust a time of the network clock slave device and the network time source deviation.
  • the adjustment module 20 gradually adjusts the time offset of the network clock slave device from the network time source.
  • the obtaining module 10 may include: a calculating unit 100 configured to calculate a time difference between a time of the network clock slave device and a time of the network time source; and an execution unit 102 configured to set the time difference value Performing a jitter suppression process to obtain a valid time difference; the filtering unit 104 is configured to filter the effective time difference through a filter to obtain a time offset between the network clock slave device and the network time source. .
  • a calculating unit 100 configured to calculate a time difference between a time of the network clock slave device and a time of the network time source
  • an execution unit 102 configured to set the time difference value Performing a jitter suppression process to obtain a valid time difference
  • the filtering unit 104 is configured to filter the effective time difference through a filter to obtain a time offset between the network clock slave device and the network time source.
  • the execution unit 102 may include: a first determining subunit 1020 configured to determine whether the time difference value is within a preset jitter range; the first processing subunit 1022 is configured to be When the time difference is not within the preset jitter range, the debounce processing is performed on the time difference.
  • a first determining subunit 1020 configured to determine whether the time difference value is within a preset jitter range
  • the first processing subunit 1022 is configured to be When the time difference is not within the preset jitter range, the debounce processing is performed on the time difference.
  • the filtering unit 104 may include: a second determining subunit 1040, configured to determine whether the valid time difference value exceeds a preset second threshold; the first determining subunit 1042 is configured to be When the output of the second determining unit is YES, the effective time difference value is determined as the time deviation; and the obtaining subunit 1044 is set to filter the effective time difference when the output of the second determining unit is NO, to obtain the time deviation.
  • a second determining subunit 1040 configured to determine whether the valid time difference value exceeds a preset second threshold
  • the first determining subunit 1042 is configured to be When the output of the second determining unit is YES, the effective time difference value is determined as the time deviation
  • the obtaining subunit 1044 is set to filter the effective time difference when the output of the second determining unit is NO, to obtain the time deviation.
  • the adjustment module 20 may include: a determining unit 200 configured to determine a corresponding adjustment value according to a time deviation, wherein the adjustment value is in an increasing function relationship with the time deviation; and the adjusting unit 202 is configured to The adjustment value is used to gradually adjust the time deviation of the network clock slave device from the network time source.
  • the determining unit 200 may include: a saving subunit 2000 configured to save a time offset; and a second determining subunit 2002 configured to determine a corresponding adjustment value according to the value stored in the cache; Unit 2004, is set to feed back the adjustment value to the cache after adjusting the time offset.
  • a saving subunit 2000 configured to save a time offset
  • a second determining subunit 2002 configured to determine a corresponding adjustment value according to the value stored in the cache
  • Unit 2004, is set to feed back the adjustment value to the cache after adjusting the time offset.
  • the adjustment module 20 may further include: a feedback unit 204, configured to feed back the adjustment value to the filter; the obtaining module 10 may further include: an update unit 106, configured to update according to the adjustment value
  • the current filter parameters in the filter may include, but is not limited to, at least one of the following: a correction step size, a slope.
  • the present invention also suppresses a large amount of abnormal jitter in the jitter suppression processing, so that the jitter abnormal data does not participate in the calculation of the final adjustment, and the stability of time synchronization is further improved.
  • 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.
  • 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.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Electric Clocks (AREA)

Abstract

本发明公开了一种时间同步方法及装置,在上述方法中,获取网络时钟从设备与网络时间源的时间偏差;逐步调整网络时钟从设备与网络时间源的时间偏差。根据本发明提供的技术方案,达到了提高了时间同步的可靠性与稳定性的效果。

Description

时间同步方法及装置 技术领域 本发明涉及通信领域, 具体而言, 涉及一种时间同步方法及装置。 背景技术 目前,常用的时间同步方法有很多,其中,包括:精确时钟同步协议(Precision Time
Protocol, 简称为 PTP), 网络时间协议 (Network Time Protocol, 简称为 NTP), 全球 定位系统 (Global Positioning System, 简称为 GPS) 等多种协议和方法, 其目的都是 为了使网络时间从设备的时间同步于网络时间源。 时间同步协议的同步结果最终都要在本设备上进行时间的下发修正, 修正本设备 的运行时间。 修正运行时间通常的办法都是将本设备的时间跟时间同步协议计算出的 时间进行比较, 然后使得本设备时间跟踪于协议计算出的时间, 使得两个时间之间的 偏差足够小。 然而, 在实际应用中, 时间同步总是伴随着各种原因引起的抖动, 例如: 同步源 切换、 线路切换、 链路延迟抖动、 同步频率抖动、 其他环境因素等等。 这些干扰都会 影响时间同步偏差的计算结果, 并且, 由于数字电子设备的频率修正本身有一定的精 度限制, 这些因素结合起来最终使得从时钟设备的系统时间产生抖动或瞬变。 目前, 国际电信联盟 (International Telecommunications Union, 简称为 ITU) 标准 G812规定 了频率的相位输出瞬变的要求,但对 1588时间的相位输出瞬变, 并没有相应的标准规 范。 在相关技术中, 消除抖动大多只对网络时钟从设备与网络时间源的时间偏差进行 普通的平滑处理或者直接采用普通的滤波方式抗干扰能力差, 尤其是在时间偏差的稳 定性上, 会发生抖动较大的情况。 图 1是根据相关技术的采用简单滤波后的时间偏差 抖动的测量结果示意图。 如图 1所示, 采用简单滤波后输出的时间偏差在多处抖动依 然很大, 其实, 这些抖动中很大一部分并不是真实存在的抖动, 而是由于算法的原因 产生的误动作造成输出, 使得结果反而不好。 除此之外, 更重要的是, 现有的网络时钟从设备所采取的修正方式是根据已经计 算出的该从设备与网络时间源的时间偏差直接一次性修正, 有可能造成时间偏差修正 幅度过大, 影响同步效果。 发明内容 本发明提供了一种时间同步方法及装置, 以至少解决相关技术中采用网络时钟从 设备与网络时间源的时间差值直接进行一次性修正, 有可能造成时间差值修正幅度过 大, 影响同步结果的问题。 根据本发明的一个方面, 提供了一种时间同步方法。 根据本发明的时间同步方法包括:获取网络时钟从设备与网络时间源的时间偏差; 逐步调整网络时钟从设备与网络时间源的时间偏差。 在上述方法中, 获取网络时钟从设备与网络时间源的时间偏差包括: 计算网络时 钟从设备的时间与网络时间源的时间的时间差值; 对时间差值执行抖动抑制处理, 获 取有效时间差值; 将有效时间差值经过滤波器的滤波处理, 获取网络时钟从设备与网 络时间源的时间偏差。 在上述方法中, 在对时间差值执行抖动抑制处理, 获取有效时间差值之前, 还包 括: 如果时间差值小于预先设定的第一阈值,则不需调整网络时钟从设备的当前时间。 在上述方法中, 对时间差值执行抖动抑制处理, 获取有效时间差值包括: 判断时 间差值是否在预先设定的抖动范围之内;当时间差值不在预先设定的抖动范围之内时, 对时间差值执行消除抖动处理。 在上述方法中, 将有效时间差值经过滤波器的滤波处理, 获取网络时钟从设备与 网络时间源的时间偏差包括: 判断有效时间差值是否超过预先设定的第二阈值; 如果 超过, 则将有效时间差值确定为时间偏差; 如果没有超过, 则对有效时间差值进行滤 波处理, 获取时间偏差。 在上述方法中, 逐步调整网络时钟从设备与网络时间源的时间偏差包括: 根据时 间偏差确定对应的调整值; 采用调整值逐步调整网络时钟从设备与网络时间源的时间 偏差。 在上述方法中, 逐步调整网络时钟从设备与网络时间源的时间偏差还包括: 将时 间偏差保存至缓存; 根据缓存中保存的数值确定对应的调整值; 在调整时间偏差后将 调整值反馈至缓存。 在上述方法中, 逐步调整网络时钟从设备与网络时间源的时间偏差还包括: 将调 整值反馈至滤波器中; 根据调整值修改滤波器中当前的滤波参数。 在上述方法中, 上述调整值包括以下至少之一: 修正步长、 斜率。 根据本发明的另一方面, 提供了一种时间同步装置。 根据本发明的时间同步装置包括: 获取模块, 设置为获取网络时钟从设备与网络 时间源的时间偏差; 调整模块, 设置为逐步调整网络时钟从设备与网络时间源的时间 偏差。 在上述装置中, 上述获取模块包括: 计算单元, 设置为计算网络时钟从设备的时 间与网络时间源的时间的时间差值; 执行单元, 设置为对时间差值执行抖动抑制处理, 获取有效时间差值; 滤波单元, 设置为将有效时间差值经过滤波器的滤波处理, 获取 网络时钟从设备与网络时间源的时间偏差。 在上述装置中, 上述执行单元包括: 第一判断子单元, 设置为判断时间差值是否 在预先设定的抖动范围之内; 第一处理子单元, 设置为当时间差值不在预先设定的抖 动范围之内时, 对时间差值执行消除抖动处理。 在上述装置中, 上述滤波单元包括: 第二判断子单元, 设置为判断有效时间差值 是否超过预先设定的第二阈值; 第一确定子单元, 设置为在第二判断单元输出为是时, 则将有效时间差值确定为时间偏差; 获取子单元, 设置为在第二判断单元输出为否时, 则对有效时间差值进行滤波处理, 获取时间偏差。 在上述装置中, 上述调整模块包括: 确定单元, 设置为根据时间偏差确定对应的 调整值; 调整单元, 设置为采用调整值逐步调整网络时钟从设备与网络时间源的时间 偏差。 在上述装置中, 上述确定单元包括: 保存子单元, 设置为保存时间偏差; 第二确 定子单元, 设置为根据缓存中保存的数值确定对应的调整值; 反馈子单元, 设置为在 调整时间偏差后将调整值反馈至缓存。 在上述装置中, 上述调整模块还包括: 反馈单元, 设置为将调整值反馈至滤波器 中; 获取模块还包括: 更新单元, 设置为根据调整值修改滤波器中当前的滤波参数。 通过本发明, 采用逐步调整网络时钟从设备与网络时间源的时间偏差以取代相关 技术中所采用的一次性直接修正, 解决了相关技术中采用网络时钟从设备与网络时间 源的时间差值直接进行一次性修正, 有可能造成时间差值修正幅度过大, 影响同步结 果的问题, 进而达到了提高时间同步的质量和稳定性的效果。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1是根据相关技术的采用简单滤波后的时间偏差抖动的测量结果示意图; 图 2是根据本发明实施例的时间同步方法的流程图; 图 3是根据本发明优选实施例的采用时间同步方法的消除抖动处理后时间偏差的 抖动统计示意图; 图 4是根据本发明实施例的时间同步装置的结构框图; 以及 图 5是根据本发明优选实施例的时间同步装置的结构框图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 图 2是根据本发明实施例的时间同步方法的流程图。 如图 2所示, 该方法可以包 括以下处理步骤: 步骤 S202: 获取网络时钟从设备与网络时间源的时间偏差; 步骤 S204: 逐步调整网络时钟从设备与网络时间源的时间偏差。 在相关技术中, 调整网络时钟从设备与网络时间源的时间偏差通常采用的方式是 根据计算出的时间偏差进行一次性修正, 有可能造成因修正幅度过大, 从而影响时间 同步质量。 采用如图 2所示的方法, 在调整网络时钟从设备与网络时间源的时间偏差 时, 采用逐步修正的方式以取代一次性修正, 解决了相关技术中采用网络时钟从设备 与网络时间源的时间差值直接进行一次性修正, 有可能造成时间差值修正幅度过大, 影响同步结果的问题, 从而提高了时间同步的质量和稳定性。 需要说明的是, 调整操作 S204可以是独立定时循环进行的, 也可以由 S202输入 时间差值的采样周期来触发。 无论哪种情况, 如果时间差值的计算不是周期性的, 那 么就要在处理流程中考虑时间间隔的因素。 比如: 时间差值的采样时间间隔一次是 1 秒, 另一次是 2秒, 采样得到的频域信息是完全不同的。 在这种情况下, 调整过程需 要将采样时间间隔作为一项参数代入处理流程中来进行抖动变化率等有关参数的计 算。 优选地, 在执行步骤 S202时, 可以包括以下处理步骤: ( 1 ) 计算网络时钟从设备的时间与网络时间源的时间的时间差值;
(2) 对时间差值执行抖动抑制处理, 获取有效时间差值;
(3 )将有效时间差值经过滤波器的滤波处理,获取网络时钟从设备与网络时间源 的时间偏差。 在本发明的优选实施例中, 为了使得本发明时间同步的效果更好, 在对计算出的 时间差值进行修正之前增加消抖处理, 不仅可以对时间差值的异常抖动进行丢弃或者 滤波, 还可以对时间差值的大幅度抖动进行抑制, 使得在干扰较大的情况下从时钟设 备能够保持稳定, 提高了同步的质量和稳定度。 在优选实施过程中, 在对时间差值执行抖动抑制处理, 获取时间差值之前, 还可 以包括以下操作: 如果时间差值小于预先设定的死区范围(即上述第一阈值), 则不需 调整网络时钟从设备的当前时间。 需要说明的是, 并不是所有的时间偏差都存在对应的调整值, 在有些情况下的时 间偏差不可能完全消除, 此时的时间偏差是允许的, 不需要再进行调整, 即时间偏差 的调整存在死区, 其中, 死区可由用户预先设定一个阈值, 小于阈值的时间偏差不予 修正, 即, 系统允许一定误差的存在, 以避免不必要的重复操作。 在优选实施过程中, 对时间差值执行抖动抑制处理, 获取有效时间差值可以进一 步包括以下处理步骤:
( 1 ) 判断时间差值是否在预先设定的抖动范围之内;
(2)当时间差值不在预先设定的抖动范围之内时,对时间差值执行消除抖动处理。 在优选实施例中,抖动范围是一段时间内数次采样期间输入时间差值的变化范围。 抖动抑制主要用来抑制输入时间差值信号迅速的、 大幅度的变化。 抖动大的数据可以 认为是异常数据, 丢弃异常数据是一种实现抖动抑制的较为简单的方式。 抖动抑制处 理后剩下的数据是有效的时间差值。 另外, 还需要说明的是, 对时间差值执行消除抖动处理可以包括但不限于上述这 种先进行抖动范围判别, 再对超过范围的数据进行处理的方法。 还可以包括采用增加 消抖滤波器, 对时间差值进行消抖滤波, 直接获得有效时间差值等其他方法。 在优选实施过程中, 有效时间差值通过滤波器进行滤波处理, 获得网络时钟从设 备与网络时间源的时间偏差可以进一步包括以下处理步骤:
( 1 ) 判断有效时间差值是否超过预先设定的平滑修正阈值 (即上述第二阈值);
(2) 如果超过, 则将有效时间差值确定为时间偏差;
(3 ) 如果没有超过, 则对有效时间差值进行滤波处理, 获取时间偏差。 在优选实施例中, 滤波处理主要是为了当输入的有效时间差值信号在平滑修正阈 值之内时, 通过该处理对时间差值信号进行平滑, 最终获取到一个较为稳定可靠的时 间偏差信号。 当输入的有效时间差值超过平滑修正阈值的情况下, 把这个时间差值直 接作为时间偏差信号, 可以直接转换成调整值,对网络时钟从设备进行时间修正; 也可 以直接把这个时间偏差送往 S204, 由 S204决定调整值并进行修正。 例如, 需要将时间从 1980年调整为 2010年, 时间差值信号在这次跳变之后就稳 定在 2010年了。这个跳变过程中采样的数据抖动很大,在抖动抑制环节可视为异常数 据进行丢弃。 几次采样后, 等到跳变完成后, 采样的数据幅值仍然很大, 但是抖动较 小, 经过抖动抑制环节视为有效时间差值。 可以直接为这个有效的时间差值赋予一个 修正步长值。 如果这个步长值等于计算出的有效时间差值, 其效果即为立即修正; 如 果选择一个很大的修正步长, 例如, 1年, 这样经过若干次修正后也可以完成同步。 优选地, 在执行步骤 S204时, 可以包括以下处理步骤:
( 1 ) 根据时间偏差确定对应的调整值;
(2) 采用调整值逐步调整网络时钟从设备与网络时间源的时间偏差。 在优选实施例中, 调整值与时间偏差的关系可以是线性函数, 也可以是非线性函 数。通常情况下为非线性函数。例如, 当滤波后输出的偏差大于 10us, 步长为无穷大; 当偏差介于 lOus到 500ns之间, 步长为 100ns; 当偏差介于 500ns到 5ns之间, 步长 为 5ns; 当偏差小于 5ns时, 步长为 0, 即不修正。 上述函数由 4个非线性段组成, 其 中 5ns这个值定义为死区。 小于这个值是不产生修正输出 (调整值为 0) 的。 另外, 在获取时间偏差以后, 就需要按照一定的周期和时间偏差对应调整值来逐 步调整网络时钟从设备的系统时钟, 每次按照一定的幅度 (步长) 输出, 使调整后的 时间与输入网络时间的偏差逐步减小,保持跟踪, 以实现从设备与网络时间源的同步, 并且避免修正幅度较大时产生突变的情况。 还有, 调整值的获得可以采用分段选择方式, 也可以采用自适应计算方式。 对于 较大的偏差可以直接修正或者采用较大的调整值进行快速跟踪。 对于较小的偏差采用 较小的调整值进行跟踪。 不同偏差范围采用的调整值可以按照需要进行分段选择, 也 可以采用自适应算法根据时间偏差的变化率进行自动步长计算。 调整值除了超过预定 幅度的跳变时采用直接修正的方式, 其他情况下一般都不能太大, 其目的是限制设备 时间改变的不要过快, 提高稳定性。 优选地, 上述步骤 S204还可以包括以下处理步骤:
( 1 ) 将时间偏差保存至缓存;
(2) 根据缓存中保存的数值确定对应的调整值;
( 3 ) 调整时间偏差后将调整值反馈至缓存。 在优选实施例中, 调整操作 S204可以是独立定时循环进行的, 也可以由 S202输 入时间差值的采样周期来触发。 独立定时循环方式, 是指 S202算出一次时间偏差后, S204根据计算的步长重复修正, 直到偏差缓存值趋向于 0。 过程中 S202有新的偏差 计算出来时会刷新时间偏差缓存值。 输入时间差值的采样周期触发的方式, 是指 S202 和 S204统一在时间偏差采样周期下工作, 时间偏差每采样计算一次,就触发一次完整 计算流程, 产生一次修正。 一般主要是在独立定时循环的工作方式下, 需要对 S204 输入的时间偏差进行缓存, 以维持 S204的独立定时循环操作。这种情况下, 每次调整 后都需要相应修改时间偏差缓存, 以确保多次修正的结果与期望保持一致。 优选地, 上述步骤 S204还可以包括以下处理步骤:
( 1 ) 将调整值反馈至滤波器中;
(2) 根据调整值修改滤波器中当前的滤波参数。 在优选实施例中, 每次调整系统时间后要将调整值反馈给滤波器处理。 在进行滤 波处理时, 通常会设置一些数据滤波参数, 滤波器中所存储的缓存数据也可以认为是 滤波器参数的一部分。 滤波器中所存储的数据和参数实际上反映的是调整前的时间偏 差变化情况。 每次调整系统时间后都要将调整值反馈到滤波器中进行处理。 在进行下 一次滤波计算的时候, 经过处理的滤波器参数能够提高时间修正的速度和性能。例如, 对于平均平滑滤波器来说,滤波器缓存队列中当前保存的数据扣除已经进行的调整值, 在下一次时间偏差加入运算的时候就减少了历史数据的影响。 当然, 也可以采取将滤 波器缓存清空并且复位滤波器, 重新获取当前时间差值以进行下一次调整。 优选地, 上述调整值可以包括但不限于以下至少之一: 修正步长、 斜率。 图 3是根据本发明优选实施例的采用时间同步方法的消除抖动处理后时间偏差的 抖动统计示意图。如图 3所示,经过消除抖动处理后的时间偏差范围为 0.93nS~4.54nS, 即时间偏差的抖动范围为 3.61ns; 而如图 1所示的相关技术中经过简单滤波后的时间 偏差抖动范围接近 10ns, 因此, 采用本发明的消除抖动处理效果更好。 下面以上述调整值为修正步长为例, 对上述优选实施过程做进一步的描述。 该时 间同步方法主要包括以下处理步骤: 步骤 A. 计算出网络时钟从设备与网络时间源的一次采样时间差值为 3百纳秒; 步骤 B . 设置抖动范围为 0纳秒〜 5百纳秒, 因为 3百纳秒在 0纳秒〜 5百纳秒的范 围内, 所以, 3百纳秒不属于异常抖动滤除, 继续执行步骤 C; 步骤 C. 选择平均平滑滤波器, 对时间差值 3百纳秒进行滤波处理后, 获取时间 偏差为 3百纳秒并保存在滤波器中; 在该优选实施例中, 可以根据不同协议的修正工作频率来选择不同的滤波参数。 步骤 D. 根据时间偏差 3百纳秒选择修正步长为 10纳秒,用这个修正步长确定修 正值为 10纳秒; 步骤 E. 按照修正步长为 10纳秒修正从设备的系统时钟。 并将修正步长反馈到步 骤 C的滤波器中; 步骤 F. 利用滤波器中保存的 3百纳秒减去反馈的修正步长 10纳秒, 减少滤波器 缓存对后续输入的影响, 返回至步骤 E或者 A继续执行, 重复上述过程逐步调整时间 偏差, 以实现平稳的时间同步。 图 4是根据本发明实施例的时间同步装置的结构框图。 如图 4所示, 该时间同步 装置可以包括: 获取模块 10, 设置为获取网络时钟从设备与网络时间源的时间偏差; 调整模块 20, 设置为逐步调整网络时钟从设备与网络时间源的时间偏差。 采用如图 4所示的装置,在获取模块 10获取到网络时钟从设备与网络时间源的时 间偏差之后, 调整模块 20逐步调整网络时钟从设备与网络时间源的时间偏差。 由此, 解决了相关技术中采用网络时钟从设备与网络时间源的时间差值直接进行一次性修 正, 有可能造成时间差值修正幅度过大, 影响同步结果的问题, 从而提高了时间同步 的质量和稳定性。 优选地, 如图 5所示, 上述获取模块 10可以包括: 计算单元 100, 设置为计算网 络时钟从设备的时间与网络时间源的时间的时间差值; 执行单元 102, 设置为对时间 差值执行抖动抑制处理, 获取有效时间差值; 滤波单元 104, 设置为将有效时间差值 经过滤波器的滤波处理, 获取网络时钟从设备与网络时间源的时间偏差。。 优选地, 如图 5所示, 上述执行单元 102可以包括: 第一判断子单元 1020, 设置 为判断时间差值是否在预先设定的抖动范围之内; 第一处理子单元 1022, 设置为当时 间差值不在预先设定的抖动范围之内时, 对时间差值执行消除抖动处理。 优选地, 如图 5所示, 上述滤波单元 104可以包括: 第二判断子单元 1040, 设置 为判断有效时间差值是否超过预先设定的第二阈值; 第一确定子单元 1042, 设置为在 第二判断单元输出为是时, 则将有效时间差值确定为时间偏差; 获取子单元 1044, 设 置为在第二判断单元输出为否时, 则对有效时间差值进行滤波处理, 获取时间偏差。 优选地, 如图 5所示, 上述调整模块 20可以包括: 确定单元 200, 设置为根据时 间偏差确定对应的调整值, 其中, 该调整值与时间偏差成增函数关系; 调整单元 202, 设置为采用调整值逐步调整网络时钟从设备与网络时间源的时间偏差。 优选地, 如图 5所示, 上述确定单元 200可以包括: 保存子单元 2000, 设置为保 存时间偏差;第二确定子单元 2002,设置为根据缓存中保存的数值确定对应的调整值; 反馈子单元 2004, 设置为在调整时间偏差后将调整值反馈至缓存。 优选地, 如图 5所示, 上述调整模块 20还可以包括: 反馈单元 204, 设置为将调 整值反馈至滤波器中; 上述获取模块 10还可以包括: 更新单元 106, 设置为根据调整 值更新滤波器中当前的滤波参数。 在优选实施过程中, 上述调整值可以包括但不限于以下至少之一: 修正步长、 斜 率。 从以上的描述中, 可以看出, 本发明实现了如下技术效果: 本发明通过逐步调整 时间偏差, 对输出相位瞬变进行抑制, 提高了时间同步的可靠性与稳定性。 同时, 本 发明还将调整值反馈到滤波器中参加下一次采样计算, 使得时间同步效果更加平稳可 靠。 本发明还在抖动抑制处理中对大幅度的异常抖动进行抑制, 使得抖动的异常数据 不参与最终调整的计算, 进一步提高了时间同步的稳定性。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任 何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权 利 要 求 书
1. 一种时间同步方法, 包括:
获取网络时钟从设备与网络时间源的时间偏差;
逐步调整所述网络时钟从设备与所述网络时间源的时间偏差。
2. 根据权利要求 1所述的方法, 其中, 获取网络时钟从设备与网络时间源的时间 偏差包括:
计算所述网络时钟从设备的时间与所述网络时间源的时间的时间差值; 对所述时间差值执行抖动抑制处理, 获取有效时间差值;
将所述有效时间差值经过滤波器的滤波处理, 获取所述网络时钟从设备与 所述网络时间源的时间偏差。
3. 根据权利要求 2所述的方法, 其中, 在对所述时间差值执行抖动抑制处理, 获 取所述有效时间差值之前, 还包括:
如果所述时间差值小于预先设定的第一阈值, 则不需调整所述网络时钟从 设备的当前时间。
4. 根据权利要求 2所述的方法, 其中, 对所述时间差值执行抖动抑制处理, 获取 所述有效时间差值包括:
判断所述时间差值是否在预先设定的抖动范围之内;
当所述时间差值不在预先设定的抖动范围之内时, 对所述时间差值执行消 除抖动处理。
5. 根据权利要求 2所述的方法, 其中, 将所述有效时间差值经过所述滤波器的滤 波处理, 获取所述网络时钟从设备与所述网络时间源的所述时间偏差包括: 判断所述有效时间差值是否超过预先设定的第二阈值;
如果超过, 则将所述有效时间差值确定为所述时间偏差;
如果没有超过,则对所述有效时间差值进行滤波处理,获取所述时间偏差。
6. 根据权利要求 2至 5中任一项所述的方法, 其中, 逐步调整所述网络时钟从设 备与所述网络时间源的所述时间偏差包括: 根据所述时间偏差确定对应的调整值;
采用所述调整值逐步调整所述网络时钟从设备与所述网络时间源的所述时 间偏差。
7. 根据权利要求 6所述的方法, 其中, 逐步调整所述网络时钟从设备与所述网络 时间源的所述时间偏差还包括:
将所述时间偏差保存至缓存;
根据所述缓存中保存的数值确定对应的调整值;
在调整所述时间偏差后将所述调整值反馈至所述缓存。
8. 根据权利要求 6所述的方法, 其中, 逐步调整所述网络时钟从设备与所述网络 时间源的所述时间偏差还包括:
将所述调整值反馈至所述滤波器中;
根据所述调整值修改所述滤波器中当前的滤波参数。
9. 根据权利要求 7所述的方法, 其中, 所述调整值包括以下至少之一: 修正步长、 斜率。
10. 一种时间同步装置, 包括:
获取模块, 设置为获取网络时钟从设备与网络时间源的时间偏差; 调整模块, 设置为逐步调整所述网络时钟从设备与所述网络时间源的时间 偏差。
11. 根据权利要求 10所述的装置, 其中, 所述获取模块包括:
计算单元, 设置为计算所述网络时钟从设备的时间与所述网络时间源的时 间的时间差值;
执行单元,设置为对所述时间差值执行抖动抑制处理,获取有效时间差值; 滤波单元, 设置为将所述有效时间差值经过滤波器的滤波处理, 获取所述 网络时钟从设备与所述网络时间源的时间偏差。
12. 根据权利要求 11所述的装置, 其中, 所述执行单元包括:
第一判断子单元, 设置为判断所述时间差值是否在预先设定的抖动范围之 内; 第一处理子单元,设置为当所述时间差值不在预先设定的抖动范围之内时, 对所述时间差值执行消除抖动处理。
13. 根据权利要求 11所述的装置, 其中, 所述滤波单元包括:
第二判断子单元, 设置为判断所述有效时间差值是否超过预先设定的第二 阈值;
第一确定子单元, 设置为在所述第二判断单元输出为是时, 则将所述有效 时间差值确定为所述时间偏差;
获取子单元, 设置为在所述第二判断单元输出为否时, 则对所述有效时间 差值进行滤波处理, 获取所述时间偏差。
14. 根据权利要求 11至 13中任一项所述的装置, 其中, 所述调整模块包括:
确定单元, 设置为根据所述时间偏差确定对应的调整值;
调整单元, 设置为采用所述调整值逐步调整所述网络时钟从设备与所述网 络时间源的所述时间偏差。
15. 根据权利要求 14所述的装置, 其中, 所述确定单元包括:
保存子单元, 设置为保存所述时间偏差;
第二确定子单元, 设置为根据所述缓存中保存的数值确定对应的调整值; 反馈子单元,设置为在调整所述时间偏差后将所述调整值反馈至所述缓存。
16. 根据权利要求 14所述的装置, 其中,
所述调整模块还包括:
反馈单元, 设置为将所述调整值反馈至所述滤波器中;
所述获取模块还包括:
更新单元, 设置为根据所述调整值修改所述滤波器中当前的滤波参数。
PCT/CN2012/085078 2011-12-01 2012-11-22 时间同步方法及装置 WO2013078957A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP12852984.9A EP2787664B1 (en) 2011-12-01 2012-11-22 Time synchronization method and apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2011103934279A CN103138863A (zh) 2011-12-01 2011-12-01 时间同步方法及装置
CN201110393427.9 2011-12-01

Publications (1)

Publication Number Publication Date
WO2013078957A1 true WO2013078957A1 (zh) 2013-06-06

Family

ID=48498231

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/085078 WO2013078957A1 (zh) 2011-12-01 2012-11-22 时间同步方法及装置

Country Status (3)

Country Link
EP (1) EP2787664B1 (zh)
CN (1) CN103138863A (zh)
WO (1) WO2013078957A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10069839B2 (en) 2016-02-11 2018-09-04 Microsoft Technology Licensing, Llc Determine approximate current time on a client using secure protocol metadata

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105323086B (zh) * 2014-07-11 2020-03-10 中兴通讯股份有限公司 指示同步时间源选择的方法、装置及系统
CN104244399B (zh) * 2014-09-15 2018-04-17 歌尔股份有限公司 无线设备间时间同步的方法、无线设备和无线通信系统
CN105897394B (zh) * 2016-06-16 2019-02-15 桥弘数控科技(上海)有限公司 一种时钟同步调整方法和装置
CN107786319A (zh) * 2016-08-25 2018-03-09 南京中兴新软件有限责任公司 一种时间同步方法及装置
CN107017959B (zh) * 2017-03-22 2019-05-28 广州致远电子股份有限公司 一种利用对时提高守时精度的方法及装置
CN108958092B (zh) * 2017-05-23 2022-11-04 佛山市顺德海尔电器有限公司 单片机时钟异常检测方法及装置、计算机可读存储介质、设备
CN109426911B (zh) * 2017-08-31 2022-04-05 华为技术有限公司 一种设备的软件运行环境质量的评估方法及装置
CN108234057A (zh) * 2018-01-24 2018-06-29 郑州云海信息技术有限公司 基于bmc的服务器的时间同步方法、装置及存储介质
CN110784275B (zh) * 2018-07-29 2021-02-05 华为技术有限公司 时间同步偏差调整方法、装置、终端以及接入层设备
CN113574826B (zh) * 2019-03-11 2023-06-02 华为技术有限公司 交互时钟同步报文的方法及装置
CN110618604B (zh) * 2019-09-20 2022-03-04 上海东土远景工业科技有限公司 一种利用ntp辅助作源提高守时精度的方法及装置
CN110824237B (zh) * 2019-11-09 2021-09-14 许继集团有限公司 一种脉冲采样时间间隔调整方法及装置
CN113098565B (zh) * 2021-04-02 2022-06-07 甘肃工大舞台技术工程有限公司 基于深度网络的舞台载波通信自适应跳频抗干扰方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1933414A (zh) * 2005-09-13 2007-03-21 上海欣泰通信技术有限公司 一种电信领域中网络时间同步的时间调整算法
CN101217330A (zh) * 2008-01-02 2008-07-09 中兴通讯股份有限公司 一种用于时间同步校正的方法和装置
CN101478358A (zh) * 2008-01-02 2009-07-08 中兴通讯股份有限公司 一种优化时间同步校正的方法和装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0727887B1 (de) * 1995-02-16 2002-08-28 Alcatel Stopfeinrichtung für synchrones digitales Übertragungssystem
EP1198085B1 (en) * 2000-10-10 2011-06-08 Sony Deutschland GmbH Cycle synchronization between interconnected sub-networks
US7103072B1 (en) * 2002-12-19 2006-09-05 Occam Networks System and method for synchronization of devices across a packet network
CN1759553A (zh) * 2003-01-14 2006-04-12 霍尼韦尔国际公司 使通信网的系统时间和参考时钟同步的方法和装置
CN101455014B (zh) * 2006-02-22 2013-05-29 西门子企业通讯有限责任两合公司 传送所发送的或者所接收的消息的发送时间信息或者接收时间信息的方法和装置
US9094564B2 (en) * 2010-05-07 2015-07-28 Microsoft Technology Licensing, Llc Clock synchronization for shared media playback

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1933414A (zh) * 2005-09-13 2007-03-21 上海欣泰通信技术有限公司 一种电信领域中网络时间同步的时间调整算法
CN101217330A (zh) * 2008-01-02 2008-07-09 中兴通讯股份有限公司 一种用于时间同步校正的方法和装置
CN101478358A (zh) * 2008-01-02 2009-07-08 中兴通讯股份有限公司 一种优化时间同步校正的方法和装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
QUAN, YUJUAN ET AL.: "Fault tolerance for timestamp DPLL in clock drifting compensation", APPLICATION RESEARCH OF COMPUTERS, vol. 26, no. 11, 30 November 2009 (2009-11-30), XP055161150 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10069839B2 (en) 2016-02-11 2018-09-04 Microsoft Technology Licensing, Llc Determine approximate current time on a client using secure protocol metadata

Also Published As

Publication number Publication date
CN103138863A (zh) 2013-06-05
EP2787664B1 (en) 2019-05-15
EP2787664A1 (en) 2014-10-08
EP2787664A4 (en) 2015-08-05

Similar Documents

Publication Publication Date Title
WO2013078957A1 (zh) 时间同步方法及装置
US11272465B2 (en) Methods and apparatus for synchronization of media playback within a wireless network
CN101960770B (zh) 时钟同步系统、节点和时钟同步方法
US7940876B2 (en) USB frequency synchronizing apparatus and method of synchronizing frequencies
WO2010058831A1 (ja) パケットフィルタを用いたクロック同期システム、装置、方法およびそのプログラム
US9544078B2 (en) Method and system for optimizing short term stability of a clock pulse
JP2001186180A (ja) Ip端末装置、周波数誤差範囲推定方法、周波数差推定方法及び推定所要時間算出方法
JP2014238357A (ja) 受信装置、時刻差算出方法、およびプログラム
TWI332763B (en) Usb device, frequency auto-locking device and frequency auto-locking method
US20150156524A1 (en) Communication Device, Communication Program, and Communication Method
EP3598247B1 (en) Network time correction method and apparatus
WO2013163793A1 (en) Automatic time and frequency synchronization over an asynchronous network
CN114205045A (zh) 一种tte网络时钟校准方法及系统
CN102843339B (zh) 一种延时处理方法及装置
CN115038162B (zh) 一种蓝牙时钟快速同频同相调节方法及装置
US11736264B1 (en) Adaptive correction of network device clock timing errors
CN114520703B (zh) 用于工业网络设备间时间同步的时钟漂移补偿方法及电路
RU2687273C1 (ru) Способ генерирования значения cn посредством отображения параметров настройки gmp в оптической транспортной сети otn
CN109542083B (zh) 一种对数字控制系统的信号进行修正的方法、系统和终端
US6687223B1 (en) Delay-locked admission control scheme in communications networks
TW202203614A (zh) 電子裝置之接收端及時脈回復操作之相位閥值的設定方法
CN103227707A (zh) 同步处理装置、同步处理方法和程序
CN111273538B (zh) 一种动态适配时钟噪声方法、装置及可读存储介质
US20220083095A1 (en) Time synchronization method, service board, and network device
US8949490B2 (en) Data reception circuit, data reception apparatus, information processing system, and data reception method

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2012852984

Country of ref document: EP