WO2013091240A1 - Method, device and system for data synchronization processing of external clock - Google Patents

Method, device and system for data synchronization processing of external clock Download PDF

Info

Publication number
WO2013091240A1
WO2013091240A1 PCT/CN2011/084541 CN2011084541W WO2013091240A1 WO 2013091240 A1 WO2013091240 A1 WO 2013091240A1 CN 2011084541 W CN2011084541 W CN 2011084541W WO 2013091240 A1 WO2013091240 A1 WO 2013091240A1
Authority
WO
WIPO (PCT)
Prior art keywords
clock data
verification result
external clock
verification
updated
Prior art date
Application number
PCT/CN2011/084541
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 华为技术有限公司
Priority to PCT/CN2011/084541 priority Critical patent/WO2013091240A1/en
Priority to CN2011800030270A priority patent/CN102549951A/en
Publication of WO2013091240A1 publication Critical patent/WO2013091240A1/en

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/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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control

Definitions

  • the present invention relates to communication technologies, and in particular, to an external clock data synchronization processing method, device and system. Background technique
  • the Network Time Protocol has the ability to improve the timing synchronization between network devices.
  • NTP Network Time Protocol
  • the synchronization time of the protocol can reach 200us, but it still cannot meet the accuracy required for measuring instruments and industrial control. degree.
  • IEEE 1588 The full name of the IEEE1588 protocol can be: Precision clock synchronization protocol standard for measurement and control systems.
  • the IEEE1588 protocol is widely used in the field of communications for time synchronization and frequency synchronization within the network.
  • the IEEE1588 protocol can adopt the inband mode and the outband mode.
  • the inband mode can be specifically the IEEE1588 protocol.
  • the outband mode can be specifically a single line per second.
  • Pulse (Pulse Per Second; PPS) external clock mode For the single-line PPS external clock mode, it is mainly used between devices with non-Ethernet interfaces, that is, the master device transmits PPS pulses to the slave device through a single line in seconds, so that the slave device realizes time synchronization according to the PPS pulse.
  • PPS Pulse Per Second
  • a first aspect of the present invention provides a method for synchronizing an external clock data, including: receiving, by a first device, first external clock data sent by a second device, where the first external clock data includes updated clock data and a first calibration Test result
  • the first device uses an FEC algorithm to check the updated clock data to obtain a second Checking the result, and determining whether the first verification result and the second verification result are the same; if the first device determines that the first verification result and the second verification result are the same,
  • the second external clock data sent by the second device, synchronizing the clock of the first device according to the updated clock data in the first external clock data; wherein, the second outer The clock data is the latter outer clock data of the first outer clock data.
  • an external clock data synchronization processing device including: a receiving module, configured to receive first external clock data sent by a second device, where the first external clock data includes updated clock data and a first Calibration result
  • a verification module configured to perform verification on the updated clock data by using an FEC algorithm, obtain a second verification result, and determine whether the first verification result and the second verification result are the same;
  • a first synchronization processing module configured to: when the verification module determines that the first verification result and the second verification result are the same, receive, by the receiving module, the second And synchronizing the clock of the first device according to the updated clock data in the first external clock data; wherein the second external clock data is after the first external clock data An external clock data.
  • Another aspect of the present invention provides an external clock data synchronization processing system including a first device and a second device;
  • the first device uses a forward error correction FEC algorithm to check the updated clock data, obtain a second verification result, and determine whether the first verification result and the second verification result are the same. If the first device determines that the first verification result and the second verification result are the same, when receiving the second external clock data sent by the second device, according to the first external clock
  • the clock of the first device is synchronized with the updated clock data in the data; wherein the second external clock data is the latter external clock data of the first external clock data.
  • the technical effect of the present invention is: the first device uses the FEC algorithm to check the updated clock data of the first external clock data sent by the second device, obtains the second verification result, and determines the first external clock data. Whether the first verification result and the second verification result are the same, if the same, when the second external clock data sent by the second device is received, synchronizing the clock of the first device according to the updated clock data , because the first check result is added to the first outer clock data, and
  • the FEC algorithm is used in a device, which increases the FEC check function of self-checking and self-correcting. Therefore, the reliability of the synchronous clock using the single-wire PPS external clock mode can be effectively improved, and the first device is effectively reduced.
  • FIG. 1 is a flowchart of an embodiment of an external clock data synchronization processing method according to the present invention
  • FIG. 2 is a schematic diagram of a format of a first external clock data according to the present invention
  • FIG. 3 is a schematic diagram of another embodiment of an external clock data synchronization processing method according to the present invention
  • FIG. 4 is a schematic structural diagram of an external clock data synchronization processing device according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of an embodiment of an external clock data synchronization processing system according to the present invention.
  • 1 is a flowchart of an embodiment of an external clock data synchronization processing method according to the present invention. As shown in FIG. 1, the method in this embodiment includes:
  • Step 101 The first device receives first external clock data sent by the second device, where the first external clock data includes updated clock data and a first verification result.
  • FIG. 2 is a schematic diagram of a format of a first external clock data according to the present invention.
  • the first external clock data is borrowed from a Building Integrated Timing Supply (BITS) department.
  • a serial transmission protocol is defined, that is, the first external clock data is 16 bytes of data, and each byte uses the start bit of the Ibit and the stop bit of the Ibit.
  • the first external clock data is mainly composed of five data segments, including: a data segment (PPS segment), b data segment (wait segment), c data segment (serial information segment), d data segment (idle segment) And an FEC data segment, wherein the c data segment includes update clock data, and the FEC data segment includes a check result for the c data segment.
  • the second device is a Building Integrated Timing Supply (BITS) device, which is a clock source device with high maintenance level and high precision, and can be used to provide a stable clock in a certain area.
  • Reference source The first device is a slave clock device connected to the second device, and is a timing device that maintains a local clock through a timing process with a clock source.
  • Step 102 The first device uses a Forward Error Correction (FEC) algorithm to check the updated clock data, obtain a second verification result, and determine the first verification result and the second Check if the results are the same.
  • FEC Forward Error Correction
  • Step 103 If the first device determines that the first verification result is the same as the second verification result, when receiving the second external clock data sent by the second device, according to the first external clock data The clock data is updated, and the clock of the first device is synchronized.
  • the second outer clock data is the next outer clock data of the first outer clock data.
  • the format of the second outer clock data is the same as the format of the first outer clock data, that is, as shown in FIG. 2, and details are not described herein again.
  • the first device uses the FEC algorithm to check the updated clock data of the first external clock data sent by the second device, obtain the second verification result, and determine the first external clock data. Whether the first verification result and the second verification result are the same, if the same, when the second external clock data sent by the second device is received, synchronizing the clock of the first device according to the updated clock data.
  • the first check result is added to the first outer clock data, and the FEC algorithm is used in the first device, that is, the self-checking and self-correcting FEC check function is added, so that the single line can be effectively improved.
  • the PPS external clock mode synchronizes the reliability of the clock and effectively reduces the jitter deviation between the clock of the first device and the clock of the second device.
  • FIG. 3 is a flowchart of another embodiment of an external clock data synchronization processing method according to the present invention.
  • the method may further include the following steps. :
  • Step 104 If the first device determines that the first verification result is different from the second verification result, the FEC algorithm is used to perform error correction processing on the updated clock data according to the first verification result.
  • the first verification result may be obtained according to the first verification result (required error and error correction).
  • Performance index using the FEC algorithm, performing error correction processing on the updated clock data, thereby implementing error correction on the first outer clock data multi-bit.
  • Step 105 The first device uses the FEC algorithm to check the updated clock data after the error correction processing, and obtain a third verification result.
  • Step 106 The first device determines whether the third verification result and the first verification result are the same.
  • Step 107 If the first device determines that the third verification result is the same as the first verification result, Then, when receiving the second external clock data, the clock of the first device is synchronized according to the updated clock data after the error correction processing.
  • the method may further include:
  • Step 108 If the first device determines that the third verification result is different from the first verification result, deleting the first external clock data.
  • the first device uses the FEC algorithm to check the updated clock data of the first external clock data sent by the second device, obtain the second verification result, and determine the first external clock data. Whether the first verification result and the second verification result are the same. If not, the FEC algorithm is used to perform error correction processing on the updated clock data, and the updated clock data after the error correction processing is verified and obtained.
  • a third verification result determining whether the third verification result is the same as the first verification result, and if the same, receiving the second external clock data sent by the second device, according to the error correction processing Clock data, synchronizing the clock of the first device, adding a first check result in the first outer clock data, and adopting an FEC algorithm in the first device, that is, adding self-checking and self-correcting
  • the FEC check function can effectively improve the reliability of the synchronous clock using the single-wire PPS external clock mode, and effectively reduce the clock of the first device and the second device. Deviation between the clock jitter.
  • the device in this embodiment includes: a receiving module 11, a verification module 12, and a first synchronization processing module 13, where The receiving module 11 is configured to receive the first external clock data sent by the second device, where the first external clock data includes the updated clock data and the first verification result; the verification module 12 is configured to adopt an FEC algorithm, and the update clock is used. The data is verified, the second verification result is obtained, and the first verification result is determined to be the same as the second verification result.
  • the first synchronization processing module 13 is configured to determine the first school if the verification module 12 determines And the second verification result is the same as the second verification result, when the receiving module 11 receives the second external clock data sent by the second device, according to the updated clock data in the first external clock data, the first device The clock is synchronized; wherein the second external clock data is the next external clock data of the first external clock data.
  • the external clock data synchronization processing device of this embodiment can perform the technical solution of the method embodiment shown in FIG. 1, and the principles are similar, and are not described herein.
  • the first device uses the FEC algorithm to check the updated clock data of the first external clock data sent by the second device, obtain the second verification result, and determine the first outer time. Whether the first verification result and the second verification result in the clock data are the same, and if they are the same, when receiving the second external clock data sent by the second device, according to the updated clock data, the first device is Synchronizing the clock, because the first check result is added to the first outer clock data, and the FEC algorithm is used in the first device, that is, the self-checking and self-correcting FEC check function is added, so The reliability of the synchronous clock using the single-wire PPS external clock mode is improved, and the jitter deviation between the clock of the first device and the clock of the second device is effectively reduced.
  • the external clock data synchronization processing device further includes: error correction
  • the module 14 and the second synchronization processing module 15 are configured to: if the verification module 14 determines that the difference is not the same, the FEC algorithm is used to correct the updated clock data according to the first verification result.
  • the error check processing is further configured to: use the FEC algorithm to perform verification on the updated clock data after the error correction processing, obtain a third check result, and determine the third check result and the first check Whether the result is the same; the second synchronization processing module 15 is configured to: when the verification module 12 determines that the third verification result is the same as the first verification result, when the receiving module 11 receives the second external clock data And synchronizing the clock of the first device according to the updated clock data after the error correction processing.
  • the device further includes: deleting the module 16, configured to delete the first external clock data if the verification module 12 determines that the third verification result is different from the first verification result.
  • the external clock data synchronization processing device of this embodiment can perform the technical solution of the method embodiment shown in FIG. 3, and the principle is similar, and details are not described herein.
  • FIG. 6 is a schematic structural diagram of an embodiment of an external clock data synchronization processing system according to the present invention, the system including a first device 61 and a second device 62.
  • the first device and the second device may perform the above described FIG. 1 or FIG.
  • the technical solution of the method embodiment shown in FIG. 3 is similar in principle, and is not described here.
  • the first device 61 may be an external clock data synchronization processing device shown in FIG. 4 or FIG. 5; the second device 62 is a building integrated clock supply device.
  • the first device uses the FEC algorithm to check the updated clock data of the first external clock data sent by the second device, obtain the second verification result, and determine the first external clock data. Whether the first verification result and the second verification result are the same. If not, the FEC algorithm is used to perform error correction processing on the updated clock data, and the number of updated clocks after error correction processing is used. According to the verification, the third verification result is obtained, and it is determined whether the third verification result is the same as the first verification result. If the same, the second external clock data sent by the second device is received, according to After the error correction processing, the clock data is synchronized, and the clock of the first device is synchronized.
  • the self-calibration is added.
  • the self-correcting FEC check function can effectively improve the reliability of the synchronous clock using the single-wire PPS external clock mode, and effectively reduce the jitter deviation between the clock of the first device and the clock of the second device. .
  • the aforementioned program can be stored in a computer readable storage medium.
  • the program when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Abstract

The present invention provides a method, a device and a system for data synchronization processing of an external clock. The method comprises: a first device receiving a first external clock data sent by a second device, the first external clock data comprising update clock data and a first verification result; verifying the update clock data by using an FEC algorithm to obtain a second verification result, and determining whether the first verification result and the second verification result are the same; and if it is determined that the first verification result and the second verification result are the same, performing synchronization processing on the clock in the first device according to the update clock data in the first external clock data when a second external clock data sent by the second device is received, the second external clock data being external clock data next to the first external clock data.

Description

外时钟数据同步处理方法、 设备和系统  External clock data synchronization processing method, device and system
技术领域 Technical field
本发明涉及通信技术, 尤其涉及一种外时钟数据同步处理方法、 设备和 系统。 背景技术  The present invention relates to communication technologies, and in particular, to an external clock data synchronization processing method, device and system. Background technique
网络时间协议 ( Network Time Protocol; 简称: NTP )具有提高网络设备 之间的定时同步能力, 目前, 该协议同步时间的精度已经能够达到 200us, 但 是, 仍然不能满足测量仪器和工业控制所需的准确度。 为了解决测量和控制 应用的分布网络定时同步的需要, 提出了一种美国电气和电子工程师协会 ( Institute of Electrical and Electronics Engineers; 简称: IEEE ) 1588十办议 , 该 IEEE1588 协议的全称可以为: 网络测量和控制系统的精密时钟同步协议标 准。  The Network Time Protocol (NTP) has the ability to improve the timing synchronization between network devices. Currently, the synchronization time of the protocol can reach 200us, but it still cannot meet the accuracy required for measuring instruments and industrial control. degree. In order to solve the need of distributed network timing synchronization for measurement and control applications, a Institute of Electrical and Electronics Engineers (IEEE) 1588 is proposed. The full name of the IEEE1588 protocol can be: Precision clock synchronization protocol standard for measurement and control systems.
目前,该 IEEE1588协议广泛应用于通信领域,用于实现网内时间同步和 频率同步。 另外, 在具体的协议实现上, 该 IEEE1588协议可以采用带内方式 和带外方式这两种方式,其中,带内方式可以具体为 IEEE1588协议 4艮文方式, 带外方式可以具体为单线每秒脉冲(Pulse Per Second; 简称: PPS )外时钟方 式。 对于单线 PPS外时钟方式, 主要应用于非以太网接口的设备之间, 即主 设备以秒为时间间隔, 通过单线传输 PPS脉冲给从设备, 以实现从设备根据 该 PPS脉冲, 实现时间同步。但是,如果在单线上传递的 PPS脉冲出现错误, 将导致从设备时间同步出现错误, 从而造成了主设备时钟与从设备时钟之间 的抖动偏差加大。 发明内容  Currently, the IEEE1588 protocol is widely used in the field of communications for time synchronization and frequency synchronization within the network. In addition, in the specific protocol implementation, the IEEE1588 protocol can adopt the inband mode and the outband mode. The inband mode can be specifically the IEEE1588 protocol. The outband mode can be specifically a single line per second. Pulse (Pulse Per Second; PPS) external clock mode. For the single-line PPS external clock mode, it is mainly used between devices with non-Ethernet interfaces, that is, the master device transmits PPS pulses to the slave device through a single line in seconds, so that the slave device realizes time synchronization according to the PPS pulse. However, if an error occurs in the PPS pulse transmitted on a single line, an error will occur in the slave device time synchronization, resulting in an increased jitter deviation between the master device clock and the slave device clock. Summary of the invention
本发明的第一个方面是提供一种外时钟数据同步处理方法, 包括: 第一设备接收第二设备发送的第一外时钟数据, 所述第一外时钟数据包 括更新时钟数据和第一校验结果;  A first aspect of the present invention provides a method for synchronizing an external clock data, including: receiving, by a first device, first external clock data sent by a second device, where the first external clock data includes updated clock data and a first calibration Test result
所述第一设备采用 FEC算法, 对所述更新时钟数据进行校验, 获取第二 校验结果, 并判断所述第一校验结果和所述第二校验结果是否相同; 所述第一设备若判断出所述第一校验结果和所述第二校验结果相同, 则 在接收到所述第二设备发送的第二外时钟数据时, 根据所述第一外时钟数据 中的更新时钟数据, 对所述第一设备的时钟进行同步处理; 其中, 所述第二 外时钟数据为所述第一外时钟数据的后一个外时钟数据。 The first device uses an FEC algorithm to check the updated clock data to obtain a second Checking the result, and determining whether the first verification result and the second verification result are the same; if the first device determines that the first verification result and the second verification result are the same, When receiving the second external clock data sent by the second device, synchronizing the clock of the first device according to the updated clock data in the first external clock data; wherein, the second outer The clock data is the latter outer clock data of the first outer clock data.
本发明的另一个方面是提供一种外时钟数据同步处理设备, 包括: 接收模块, 用于接收第二设备发送的第一外时钟数据, 所述第一外时钟 数据包括更新时钟数据和第一校验结果;  Another aspect of the present invention provides an external clock data synchronization processing device, including: a receiving module, configured to receive first external clock data sent by a second device, where the first external clock data includes updated clock data and a first Calibration result
校验模块, 用于采用 FEC算法, 对所述更新时钟数据进行校验, 获取第 二校验结果, 并判断所述第一校验结果和所述第二校验结果是否相同;  a verification module, configured to perform verification on the updated clock data by using an FEC algorithm, obtain a second verification result, and determine whether the first verification result and the second verification result are the same;
第一同步处理模块, 用于若所述校验模块判断出所述第一校验结果和所 述第二校验结果相同, 则在所述接收模块接收到所述第二设备发送的第二外 时钟数据时, 根据所述第一外时钟数据中的更新时钟数据, 对所述第一设备 的时钟进行同步处理; 其中, 所述第二外时钟数据为所述第一外时钟数据的 后一个外时钟数据。  a first synchronization processing module, configured to: when the verification module determines that the first verification result and the second verification result are the same, receive, by the receiving module, the second And synchronizing the clock of the first device according to the updated clock data in the first external clock data; wherein the second external clock data is after the first external clock data An external clock data.
本发明的另一个方面是提供一种外时钟数据同步处理系统, 包括第一设 备和第二设备;  Another aspect of the present invention provides an external clock data synchronization processing system including a first device and a second device;
所述第一设备接收所述第二设备发送的第一外时钟数据, 所述第一外时 钟数据包括更新时钟数据和第一校验结果;  Receiving, by the first device, first external clock data sent by the second device, where the first external clock data includes updated clock data and a first verification result;
所述第一设备采用前向纠错 FEC算法, 对所述更新时钟数据进行校验, 获取第二校验结果,并判断所述第一校验结果和所述第二校验结果是否相同; 所述第一设备若判断出所述第一校验结果和所述第二校验结果相同, 则 在接收到所述第二设备发送的第二外时钟数据时, 根据所述第一外时钟数据 中的更新时钟数据, 对所述第一设备的时钟进行同步处理; 其中, 所述第二 外时钟数据为所述第一外时钟数据的后一个外时钟数据。  The first device uses a forward error correction FEC algorithm to check the updated clock data, obtain a second verification result, and determine whether the first verification result and the second verification result are the same. If the first device determines that the first verification result and the second verification result are the same, when receiving the second external clock data sent by the second device, according to the first external clock The clock of the first device is synchronized with the updated clock data in the data; wherein the second external clock data is the latter external clock data of the first external clock data.
本发明的技术效果是: 第一设备采用 FEC算法, 对第二设备发送的第一 外时钟数据的更新时钟数据进行校验, 获取第二校验结果, 并判断该第一外 时钟数据中的第一校验结果和该第二校验结果是否相同, 若相同, 则在接收 到第二设备发送的第二外时钟数据时, 根据该更新时钟数据, 对该第一设备 的时钟进行同步处理, 由于在第一外时钟数据中增加第一校验结果, 且在第 一设备中采用 FEC算法, 即增加了自校验和自纠错的 FEC校验功能, 因此, 可以有效地提高采用单线 PPS外时钟方式同步时钟的可靠性, 并有效地降低 了第一设备的时钟与第二设备的时钟之间的抖动偏差。 附图说明 图 1为本发明外时钟数据同步处理方法的一个实施例的流程图; 图 2为本发明第一外时钟数据的格式的示意图; The technical effect of the present invention is: the first device uses the FEC algorithm to check the updated clock data of the first external clock data sent by the second device, obtains the second verification result, and determines the first external clock data. Whether the first verification result and the second verification result are the same, if the same, when the second external clock data sent by the second device is received, synchronizing the clock of the first device according to the updated clock data , because the first check result is added to the first outer clock data, and The FEC algorithm is used in a device, which increases the FEC check function of self-checking and self-correcting. Therefore, the reliability of the synchronous clock using the single-wire PPS external clock mode can be effectively improved, and the first device is effectively reduced. The jitter deviation between the clock and the clock of the second device. BRIEF DESCRIPTION OF DRAWINGS FIG. 1 is a flowchart of an embodiment of an external clock data synchronization processing method according to the present invention; FIG. 2 is a schematic diagram of a format of a first external clock data according to the present invention;
图 3为本发明外时钟数据同步处理方法的另一个实施例的流程图; 图 4为本发明外时钟数据同步处理设备的一个实施例的结构示意图; 图 5为本发明外时钟数据同步处理设备的另一个实施例的结构示意图; 图 6为本发明外时钟数据同步处理系统的一个实施例的结构示意图。 具体实施方式 图 1 为本发明外时钟数据同步处理方法的一个实施例的流程图, 如图 1 所示, 本实施例的方法包括:  FIG. 3 is a schematic diagram of another embodiment of an external clock data synchronization processing method according to the present invention; FIG. 4 is a schematic structural diagram of an external clock data synchronization processing device according to an embodiment of the present invention; FIG. 6 is a schematic structural diagram of an embodiment of an external clock data synchronization processing system according to the present invention. 1 is a flowchart of an embodiment of an external clock data synchronization processing method according to the present invention. As shown in FIG. 1, the method in this embodiment includes:
步骤 101、 第一设备接收第二设备发送的第一外时钟数据, 该第一外时 钟数据包括更新时钟数据和第一校验结果。  Step 101: The first device receives first external clock data sent by the second device, where the first external clock data includes updated clock data and a first verification result.
在本实施例中, 图 2为本发明第一外时钟数据的格式的示意图, 如图 2 所示, 该第一外时钟数据借鉴楼宇集成时钟供给 ( Building Integrated Timing Supply; 简称: BITS )部门自定义的一种串行传输协议, 即该第一外时钟数 据为 16字节数据, 每个字节使用 Ibit的起始位和 Ibit的停止位。 另外, 该第 一外时钟数据主要由五个数据段组成, 包括: a数据段(PPS段) 、 b数据段 (等待段) 、 c数据段(串口信息段) 、 d数据段(空闲段)和 FEC数据段, 其中, 该 c数据段包括更新时钟数据, 该 FEC数据段包括对 c数据段的校验 结果。  In this embodiment, FIG. 2 is a schematic diagram of a format of a first external clock data according to the present invention. As shown in FIG. 2, the first external clock data is borrowed from a Building Integrated Timing Supply (BITS) department. A serial transmission protocol is defined, that is, the first external clock data is 16 bytes of data, and each byte uses the start bit of the Ibit and the stop bit of the Ibit. In addition, the first external clock data is mainly composed of five data segments, including: a data segment (PPS segment), b data segment (wait segment), c data segment (serial information segment), d data segment (idle segment) And an FEC data segment, wherein the c data segment includes update clock data, and the FEC data segment includes a check result for the c data segment.
另夕卜, 第二设备为楼宇集成时钟供给 ( Building Integrated Timing Supply; 简称: BITS )设备, 是一个可以自身维护等级和精度较高的时钟源设备, 可 以用于在一定区域内提供稳定的时钟参考源; 第一设备为与第二设备相连的 从时钟设备, 是一个通过与时钟源的定时通过过程, 维护本地时钟的定时设 备。 步骤 102、第一设备采用前向纠错( Forward Error Correction; 简称: FEC ) 算法, 对该更新时钟数据进行校验, 获取第二校验结果, 并判断该第一校验 结果和该第二校验结果是否相同。 In addition, the second device is a Building Integrated Timing Supply (BITS) device, which is a clock source device with high maintenance level and high precision, and can be used to provide a stable clock in a certain area. Reference source; The first device is a slave clock device connected to the second device, and is a timing device that maintains a local clock through a timing process with a clock source. Step 102: The first device uses a Forward Error Correction (FEC) algorithm to check the updated clock data, obtain a second verification result, and determine the first verification result and the second Check if the results are the same.
步骤 103、 第一设备若判断出该第一校验结果和该第二校验结果相同, 则在接收到该第二设备发送的第二外时钟数据时, 根据该第一外时钟数据中 的更新时钟数据, 对该第一设备的时钟进行同步处理。  Step 103: If the first device determines that the first verification result is the same as the second verification result, when receiving the second external clock data sent by the second device, according to the first external clock data The clock data is updated, and the clock of the first device is synchronized.
其中, 该第二外时钟数据为该第一外时钟数据的后一个外时钟数据。 该 第二外时钟数据的格式与第一外时钟数据的格式相同, 即如图 2所示, 此处 不再赘述。  The second outer clock data is the next outer clock data of the first outer clock data. The format of the second outer clock data is the same as the format of the first outer clock data, that is, as shown in FIG. 2, and details are not described herein again.
在本实施例中, 通过第一设备采用 FEC算法, 对第二设备发送的第一外 时钟数据的更新时钟数据进行校验, 获取第二校验结果, 并判断该第一外时 钟数据中的第一校验结果和该第二校验结果是否相同, 若相同, 则在接收到 第二设备发送的第二外时钟数据时, 根据该更新时钟数据, 对该第一设备的 时钟进行同步处理, 由于在第一外时钟数据中增加第一校验结果, 且在第一 设备中采用 FEC算法, 即增加了自校验和自纠错的 FEC校验功能, 因此, 可 以有效地提高采用单线 PPS外时钟方式同步时钟的可靠性, 并有效地降低了 第一设备的时钟与第二设备的时钟之间的抖动偏差。  In this embodiment, the first device uses the FEC algorithm to check the updated clock data of the first external clock data sent by the second device, obtain the second verification result, and determine the first external clock data. Whether the first verification result and the second verification result are the same, if the same, when the second external clock data sent by the second device is received, synchronizing the clock of the first device according to the updated clock data The first check result is added to the first outer clock data, and the FEC algorithm is used in the first device, that is, the self-checking and self-correcting FEC check function is added, so that the single line can be effectively improved. The PPS external clock mode synchronizes the reliability of the clock and effectively reduces the jitter deviation between the clock of the first device and the clock of the second device.
图 3为本发明外时钟数据同步处理方法的另一个实施例的流程图, 在上 述图 1所示实施例的基础上, 如图 3所示, 在步骤 102之后, 该方法还可以 包括如下步骤:  FIG. 3 is a flowchart of another embodiment of an external clock data synchronization processing method according to the present invention. On the basis of the foregoing embodiment shown in FIG. 1, as shown in FIG. 3, after step 102, the method may further include the following steps. :
步骤 104、 第一设备若判断出该第一校验结果和该第二校验结果不相同, 则根据该第一校验结果, 采用 FEC算法, 对该更新时钟数据进行纠错处理。  Step 104: If the first device determines that the first verification result is different from the second verification result, the FEC algorithm is used to perform error correction processing on the updated clock data according to the first verification result.
在本实施例中, 当第一设备判断第一校验结果和第二校验结果不相同时, 说明第一外时钟数据异常, 则可以根据第一校验结果(要求的误码和纠错性 能指标) , 采用 FEC算法, 对该更新时钟数据进行纠错处理, 从而实现对第 一外时钟数据多 bit的纠错。  In this embodiment, when the first device determines that the first verification result and the second verification result are different, if the first external clock data is abnormal, the first verification result may be obtained according to the first verification result (required error and error correction). Performance index), using the FEC algorithm, performing error correction processing on the updated clock data, thereby implementing error correction on the first outer clock data multi-bit.
步骤 105、 第一设备采用 FEC算法, 对纠错处理后的更新时钟数据进行 校验, 获取第三校验结果。  Step 105: The first device uses the FEC algorithm to check the updated clock data after the error correction processing, and obtain a third verification result.
步骤 106、 第一设备判断该第三校验结果和该第一校验结果是否相同。 步骤 107、 第一设备若判断出第三校验结果和该第一校验结果相同, 则在接收到该第二外时钟数据时, 根据纠错处理后的更新时钟数据, 对该第 一设备的时钟进行同步处理。 Step 106: The first device determines whether the third verification result and the first verification result are the same. Step 107: If the first device determines that the third verification result is the same as the first verification result, Then, when receiving the second external clock data, the clock of the first device is synchronized according to the updated clock data after the error correction processing.
进一步的, 在步骤 105之后, 该方法还可以包括:  Further, after step 105, the method may further include:
步骤 108、 第一设备若判断出该第三校验结果和所述第一校验结果不相 同, 则删除该第一外时钟数据。  Step 108: If the first device determines that the third verification result is different from the first verification result, deleting the first external clock data.
在本实施例中, 通过第一设备采用 FEC算法, 对第二设备发送的第一外 时钟数据的更新时钟数据进行校验, 获取第二校验结果, 并判断该第一外时 钟数据中的第一校验结果和该第二校验结果是否相同, 若不相同, 则采用该 FEC算法, 对该更新时钟数据进行纠错处理, 并对纠错处理后的更新时钟数 据进行校验, 获取第三校验结果, 再判断该第三校验结果是否与该第一校验 结果相同, 若相同, 则在接收到第二设备发送的第二外时钟数据时, 根据纠 错处理后的更新时钟数据, 对该第一设备的时钟进行同步处理, 由于在第一 外时钟数据中增加第一校验结果, 且在第一设备中采用 FEC算法, 即增加了 自校验和自纠错的 FEC校验功能, 因此, 可以有效地提高采用单线 PPS外时 钟方式同步时钟的可靠性, 并有效地降低了第一设备的时钟与第二设备的时 钟之间的抖动偏差。  In this embodiment, the first device uses the FEC algorithm to check the updated clock data of the first external clock data sent by the second device, obtain the second verification result, and determine the first external clock data. Whether the first verification result and the second verification result are the same. If not, the FEC algorithm is used to perform error correction processing on the updated clock data, and the updated clock data after the error correction processing is verified and obtained. a third verification result, determining whether the third verification result is the same as the first verification result, and if the same, receiving the second external clock data sent by the second device, according to the error correction processing Clock data, synchronizing the clock of the first device, adding a first check result in the first outer clock data, and adopting an FEC algorithm in the first device, that is, adding self-checking and self-correcting The FEC check function can effectively improve the reliability of the synchronous clock using the single-wire PPS external clock mode, and effectively reduce the clock of the first device and the second device. Deviation between the clock jitter.
图 4为本发明外时钟数据同步处理设备的一个实施例的结构示意图, 如 图 4所示, 本实施例的设备包括: 接收模块 11、 校验模块 12和第一同步处 理模块 13 , 其中, 其中, 接收模块 11用于接收第二设备发送的第一外时钟 数据, 该第一外时钟数据包括更新时钟数据和第一校验结果; 校验模块 12用 于采用 FEC算法, 对该更新时钟数据进行校验, 获取第二校验结果, 并判断 该第一校验结果和该第二校验结果是否相同;第一同步处理模块 13用于若该 校验模块 12判断出该第一校验结果和该第二校验结果相同,则在该接收模块 11接收到该第二设备发送的第二外时钟数据时, 根据该第一外时钟数据中的 更新时钟数据, 对该第一设备的时钟进行同步处理; 其中, 该第二外时钟数 据为该第一外时钟数据的后一个外时钟数据。  4 is a schematic structural diagram of an embodiment of an external clock data synchronization processing device according to the present invention. As shown in FIG. 4, the device in this embodiment includes: a receiving module 11, a verification module 12, and a first synchronization processing module 13, where The receiving module 11 is configured to receive the first external clock data sent by the second device, where the first external clock data includes the updated clock data and the first verification result; the verification module 12 is configured to adopt an FEC algorithm, and the update clock is used. The data is verified, the second verification result is obtained, and the first verification result is determined to be the same as the second verification result. The first synchronization processing module 13 is configured to determine the first school if the verification module 12 determines And the second verification result is the same as the second verification result, when the receiving module 11 receives the second external clock data sent by the second device, according to the updated clock data in the first external clock data, the first device The clock is synchronized; wherein the second external clock data is the next external clock data of the first external clock data.
本实施例的外时钟数据同步处理设备可以执行图 1所示方法实施例的技 术方案, 其原理相类似, 此处不在赘述。  The external clock data synchronization processing device of this embodiment can perform the technical solution of the method embodiment shown in FIG. 1, and the principles are similar, and are not described herein.
在本实施例中, 通过第一设备采用 FEC算法, 对第二设备发送的第一外 时钟数据的更新时钟数据进行校验, 获取第二校验结果, 并判断该第一外时 钟数据中的第一校验结果和该第二校验结果是否相同, 若相同, 则在接收到 第二设备发送的第二外时钟数据时, 根据该更新时钟数据, 对该第一设备的 时钟进行同步处理, 由于在第一外时钟数据中增加第一校验结果, 且在第一 设备中采用 FEC算法, 即增加了自校验和自纠错的 FEC校验功能, 因此, 可 以有效地提高采用单线 PPS外时钟方式同步时钟的可靠性, 并有效地降低了 第一设备的时钟与第二设备的时钟之间的抖动偏差。 In this embodiment, the first device uses the FEC algorithm to check the updated clock data of the first external clock data sent by the second device, obtain the second verification result, and determine the first outer time. Whether the first verification result and the second verification result in the clock data are the same, and if they are the same, when receiving the second external clock data sent by the second device, according to the updated clock data, the first device is Synchronizing the clock, because the first check result is added to the first outer clock data, and the FEC algorithm is used in the first device, that is, the self-checking and self-correcting FEC check function is added, so The reliability of the synchronous clock using the single-wire PPS external clock mode is improved, and the jitter deviation between the clock of the first device and the clock of the second device is effectively reduced.
图 5为本发明外时钟数据同步处理设备的另一个实施例的结构示意图, 在上述图 4所示实施例的基础上, 如图 5所示, 该外时钟数据同步处理设备 还包括: 纠错模块 14和第二同步处理模块 15 , 其中, 该纠错模块 13用于若 该校验模块 14判断出不相同, 则根据该第一校验结果, 采用 FEC算法, 对 该更新时钟数据进行纠错处理; 该校验模块 12还用于采用该 FEC算法, 对 纠错处理后的更新时钟数据进行校验, 获取第三校验结果, 并判断该第三校 验结果和该第一校验结果是否相同;第二同步处理模块 15用于若该校验模块 12判断出该第三校验结果和该第一校验结果相同, 则在该接收模块 11接收 到该第二外时钟数据时, 根据纠错处理后的更新时钟数据, 对该第一设备的 时钟进行同步处理。  5 is a schematic structural diagram of another embodiment of an external clock data synchronization processing device according to the present invention. On the basis of the foregoing embodiment shown in FIG. 4, as shown in FIG. 5, the external clock data synchronization processing device further includes: error correction The module 14 and the second synchronization processing module 15 are configured to: if the verification module 14 determines that the difference is not the same, the FEC algorithm is used to correct the updated clock data according to the first verification result. The error check processing is further configured to: use the FEC algorithm to perform verification on the updated clock data after the error correction processing, obtain a third check result, and determine the third check result and the first check Whether the result is the same; the second synchronization processing module 15 is configured to: when the verification module 12 determines that the third verification result is the same as the first verification result, when the receiving module 11 receives the second external clock data And synchronizing the clock of the first device according to the updated clock data after the error correction processing.
进一步的, 该设备还包括: 删除模块 16, 用于若该校验模块 12判断出 该第三校验结果和该第一校验结果不相同, 则删除该第一外时钟数据。  Further, the device further includes: deleting the module 16, configured to delete the first external clock data if the verification module 12 determines that the third verification result is different from the first verification result.
本实施例的外时钟数据同步处理设备可以执行图 3所示方法实施例的技 术方案, 其原理相类似, 此处不在赘述。  The external clock data synchronization processing device of this embodiment can perform the technical solution of the method embodiment shown in FIG. 3, and the principle is similar, and details are not described herein.
图 6为本发明外时钟数据同步处理系统的一个实施例的结构示意图, 该 系统包括第一设备 61和第二设备 62所述第一设备和第二设备可以执行上文 描述的图 1或图 3所示方法实施例的技术方案, 其原理相类似, 此处不在赘 述。  6 is a schematic structural diagram of an embodiment of an external clock data synchronization processing system according to the present invention, the system including a first device 61 and a second device 62. The first device and the second device may perform the above described FIG. 1 or FIG. The technical solution of the method embodiment shown in FIG. 3 is similar in principle, and is not described here.
进一步的,所述第一设备 61可以是图 4或图 5所示的外时钟数据同步处 理设备; 所述第二设备 62为楼宇集成时钟供给设备。  Further, the first device 61 may be an external clock data synchronization processing device shown in FIG. 4 or FIG. 5; the second device 62 is a building integrated clock supply device.
在本实施例中, 通过第一设备采用 FEC算法, 对第二设备发送的第一外 时钟数据的更新时钟数据进行校验, 获取第二校验结果, 并判断该第一外时 钟数据中的第一校验结果和该第二校验结果是否相同, 若不相同, 则采用该 FEC算法, 对该更新时钟数据进行纠错处理, 并对纠错处理后的更新时钟数 据进行校验, 获取第三校验结果, 再判断该第三校验结果是否与该第一校验 结果相同, 若相同, 则在接收到第二设备发送的第二外时钟数据时, 根据纠 错处理后的更新时钟数据, 对该第一设备的时钟进行同步处理, 由于在第一 外时钟数据中增加第一校验结果, 且在第一设备中采用 FEC算法, 即增加了 自校验和自纠错的 FEC校验功能, 因此, 可以有效地提高采用单线 PPS外时 钟方式同步时钟的可靠性, 并有效地降低了第一设备的时钟与第二设备的时 钟之间的抖动偏差。 In this embodiment, the first device uses the FEC algorithm to check the updated clock data of the first external clock data sent by the second device, obtain the second verification result, and determine the first external clock data. Whether the first verification result and the second verification result are the same. If not, the FEC algorithm is used to perform error correction processing on the updated clock data, and the number of updated clocks after error correction processing is used. According to the verification, the third verification result is obtained, and it is determined whether the third verification result is the same as the first verification result. If the same, the second external clock data sent by the second device is received, according to After the error correction processing, the clock data is synchronized, and the clock of the first device is synchronized. Since the first verification result is added to the first external clock data, and the FEC algorithm is used in the first device, the self-calibration is added. The self-correcting FEC check function can effectively improve the reliability of the synchronous clock using the single-wire PPS external clock mode, and effectively reduce the jitter deviation between the clock of the first device and the clock of the second device. .
本领域普通技术人员可以理解: 实现上述各方法实施例的全部或部分步 骤可以通过程序指令相关的硬件来完成。 前述的程序可以存储于一计算机可 读取存储介质中。 该程序在执行时, 执行包括上述各方法实施例的步骤; 而 前述的存储介质包括: ROM, RAM, 磁碟或者光盘等各种可以存储程序代码 的介质。  One of ordinary skill in the art will appreciate that all or a portion of the steps to implement the various method embodiments described above can be accomplished by hardware associated with the program instructions. The aforementioned program can be stored in a computer readable storage medium. The program, when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
最后应说明的是: 以上各实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述各实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分或者全部技术特征进行等同替换; 而这些修改或者替换, 并 不使相应技术方案的本质脱离本发明各实施例技术方案的范围。  Finally, it should be noted that the above embodiments are only for explaining the technical solutions of the present invention, and are not intended to be limiting thereof; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present invention. range.

Claims

权 利 要 求 书 Claim
1、 一种外时钟数据同步处理方法, 其特征在于, 包括 1. An external clock data synchronization processing method, characterized in that
第一设备接收第二设备发送的第一外时钟数据, 所述第一外时钟数据包 括更新时钟数据和第一校验结果;  The first device receives the first external clock data sent by the second device, where the first external clock data includes the updated clock data and the first verification result;
所述第一设备采用前向纠错 FEC算法, 对所述更新时钟数据进行校验, 获取第二校验结果,并判断所述第一校验结果和所述第二校验结果是否相同; 所述第一设备若判断出所述第一校验结果和所述第二校验结果相同, 则 在接收到所述第二设备发送的第二外时钟数据时, 根据所述第一外时钟数据 中的更新时钟数据, 对所述第一设备的时钟进行同步处理; 其中, 所述第二 外时钟数据为所述第一外时钟数据的后一个外时钟数据。  The first device uses a forward error correction FEC algorithm to check the updated clock data, obtain a second verification result, and determine whether the first verification result and the second verification result are the same. If the first device determines that the first verification result and the second verification result are the same, when receiving the second external clock data sent by the second device, according to the first external clock The clock of the first device is synchronized with the updated clock data in the data; wherein the second external clock data is the latter external clock data of the first external clock data.
2、 根据权利要求 1所述的外时钟数据同步处理方法, 其特征在于, 还包 括:  2. The external clock data synchronization processing method according to claim 1, further comprising:
所述第一设备若判断出所述第一校验结果和所述第二校验结果不相同 , 则根据所述第一校验结果, 采用 FEC算法, 对所述更新时钟数据进行纠错处 理;  If the first device determines that the first verification result and the second verification result are different, performing error correction processing on the updated clock data by using an FEC algorithm according to the first verification result. ;
所述第一设备采用所述 FEC算法, 对纠错处理后的更新时钟数据进行校 验, 获取第三校验结果, 并判断所述第三校验结果和所述第一校验结果是否 相同;  The first device uses the FEC algorithm to check the updated clock data after the error correction processing, obtains a third verification result, and determines whether the third verification result and the first verification result are the same. ;
所述第一设备若判断出所述第三校验结果和所述第一校验结果相同, 则 在接收到所述第二外时钟数据时, 根据纠错处理后的更新时钟数据, 对所述 第一设备的时钟进行同步处理。  If the first device determines that the third verification result is the same as the first verification result, when the second external clock data is received, according to the updated clock data after the error correction processing, The clock of the first device is synchronized.
3、 根据权利要求 2所述的外时钟数据同步处理方法, 其特征在于, 还包 括:  The external clock data synchronization processing method according to claim 2, further comprising:
所述第一设备若判断出所述第三校验结果和所述第一校验结果不相同 , 则删除所述第一外时钟数据。  If the first device determines that the third verification result is different from the first verification result, deleting the first external clock data.
4、 根据权利要求 1、 2或 3所述的外时钟数据同步处理方法, 其特征在 于, 所述第二设备为楼宇集成时钟供给设备。  The external clock data synchronization processing method according to claim 1, 2 or 3, wherein the second device is a building integrated clock supply device.
5、 一种外时钟数据同步处理设备, 其特征在于, 包括:  5. An external clock data synchronization processing device, comprising:
接收模块, 用于接收第二设备发送的第一外时钟数据, 所述第一外时钟 数据包括更新时钟数据和第一校验结果; 校验模块,用于采用前向纠错 FEC算法,对所述更新时钟数据进行校验, 获取第二校验结果,并判断所述第一校验结果和所述第二校验结果是否相同; 第一同步处理模块, 用于若所述校验模块判断出所述第一校验结果和所 述第二校验结果相同, 则在所述接收模块接收到所述第二设备发送的第二外 时钟数据时, 根据所述第一外时钟数据中的更新时钟数据, 对所述第一设备 的时钟进行同步处理; 其中, 所述第二外时钟数据为所述第一外时钟数据的 后一个外时钟数据。 a receiving module, configured to receive first external clock data sent by the second device, where the first external clock data includes updated clock data and a first verification result; a verification module, configured to perform a forward error correction FEC algorithm, perform verification on the updated clock data, obtain a second verification result, and determine whether the first verification result and the second verification result are the same a first synchronization processing module, configured to: when the verification module determines that the first verification result and the second verification result are the same, receive, by the receiving module, the second device And synchronizing the clock of the first device according to the updated clock data in the first outer clock data; wherein the second outer clock data is the first outer clock data The latter external clock data.
6、 根据权利要求 5所述的外时钟数据同步处理设备, 其特征在于, 还包 括: 纠错模块和第二同步处理模块, 其中,  The external clock data synchronization processing device according to claim 5, further comprising: an error correction module and a second synchronization processing module, wherein
所述纠错模块, 用于若所述校验模块判断出所述第一校验结果和所述第 二校验结果不相同, 则根据所述第一校验结果, 采用 FEC算法, 对所述更新 时钟数据进行纠错处理;  The error correction module is configured to: if the verification module determines that the first verification result is different from the second verification result, use an FEC algorithm according to the first verification result, Updating the clock data for error correction processing;
所述校验模块还用于采用所述 FEC算法, 对纠错处理后的更新时钟数据 进行校验, 获取第三校验结果, 并判断所述第三校验结果和所述第一校验结 果是否相同;  The verification module is further configured to: use the FEC algorithm to perform verification on the updated clock data after the error correction processing, obtain a third verification result, and determine the third verification result and the first verification Whether the results are the same;
所述第二同步处理模块, 用于若所述校验模块判断出所述第三校验结果 和所述第一校验结果相同,则在所述接收模块接收到所述第二外时钟数据时, 根据纠错处理后的更新时钟数据, 对所述第一设备的时钟进行同步处理。  The second synchronization processing module is configured to: when the verification module determines that the third verification result is the same as the first verification result, receiving, by the receiving module, the second outer clock data And synchronizing the clock of the first device according to the updated clock data after the error correction processing.
7、 根据权利要求 6所述的外时钟数据同步处理设备, 其特征在于, 还包 括:  7. The external clock data synchronization processing device according to claim 6, further comprising:
删除模块, 用于若所述校验模块判断出所述第三校验结果和所述第一校 验结果不相同, 则删除所述第一外时钟数据。  a deleting module, configured to delete the first external clock data if the verification module determines that the third verification result is different from the first verification result.
8、 一种外时钟数据同步处理系统, 其特征在于, 包括第一设备和第二设 备;  8. An external clock data synchronization processing system, comprising: a first device and a second device;
所述第一设备接收所述第二设备发送的第一外时钟数据, 所述第一外时 钟数据包括更新时钟数据和第一校验结果;  Receiving, by the first device, first external clock data sent by the second device, where the first external clock data includes updated clock data and a first verification result;
所述第一设备采用前向纠错 FEC算法, 对所述更新时钟数据进行校验, 获取第二校验结果,并判断所述第一校验结果和所述第二校验结果是否相同; 所述第一设备若判断出所述第一校验结果和所述第二校验结果相同, 则 在接收到所述第二设备发送的第二外时钟数据时, 根据所述第一外时钟数据 中的更新时钟数据, 对所述第一设备的时钟进行同步处理; 其中, 所述第二 外时钟数据为所述第一外时钟数据的后一个外时钟数据。 The first device uses a forward error correction FEC algorithm to check the updated clock data, obtain a second verification result, and determine whether the first verification result and the second verification result are the same. If the first device determines that the first verification result and the second verification result are the same, when receiving the second external clock data sent by the second device, according to the first external clock Data And updating the clock of the first device, wherein the second external clock data is the next external clock data of the first external clock data.
9、 根据权利要求 8所述的外时钟数据同步处理系统, 其特征在于, 所述 第一设备若判断出所述第一校验结果和所述第二校验结果不相同, 则根据所 述第一校验结果, 采用 FEC算法, 对所述更新时钟数据进行纠错处理; 所述第一设备采用所述 FEC算法, 对纠错处理后的更新时钟数据进行校 验, 获取第三校验结果, 并判断所述第三校验结果和所述第一校验结果是否 相同;  The external clock data synchronization processing system according to claim 8, wherein the first device determines that the first verification result and the second verification result are different, according to the The first verification result is performed by using an FEC algorithm to perform error correction processing on the updated clock data. The first device uses the FEC algorithm to verify the updated clock data after the error correction processing, and obtain a third check. a result, and determining whether the third verification result and the first verification result are the same;
所述第一设备若判断出所述第三校验结果和所述第一校验结果相同, 则 在接收到所述第二外时钟数据时, 根据纠错处理后的更新时钟数据, 对所述 第一设备的时钟进行同步处理。  If the first device determines that the third verification result is the same as the first verification result, when the second external clock data is received, according to the updated clock data after the error correction processing, The clock of the first device is synchronized.
10、 根据权利要求 9所述的外时钟数据同步处理系统, 其特征在于, 所述第一设备若判断出所述第三校验结果和所述第一校验结果不相同 , 则删除所述第一外时钟数据。  The external clock data synchronization processing system according to claim 9, wherein the first device deletes the first verification result if the third verification result is different from the first verification result. First external clock data.
PCT/CN2011/084541 2011-12-23 2011-12-23 Method, device and system for data synchronization processing of external clock WO2013091240A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2011/084541 WO2013091240A1 (en) 2011-12-23 2011-12-23 Method, device and system for data synchronization processing of external clock
CN2011800030270A CN102549951A (en) 2011-12-23 2011-12-23 Method, device and system for data synchronization treatment of external clock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/084541 WO2013091240A1 (en) 2011-12-23 2011-12-23 Method, device and system for data synchronization processing of external clock

Publications (1)

Publication Number Publication Date
WO2013091240A1 true WO2013091240A1 (en) 2013-06-27

Family

ID=46353967

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/084541 WO2013091240A1 (en) 2011-12-23 2011-12-23 Method, device and system for data synchronization processing of external clock

Country Status (2)

Country Link
CN (1) CN102549951A (en)
WO (1) WO2013091240A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103684736A (en) * 2013-11-21 2014-03-26 国网上海市电力公司 Clock synchronization method for high-speed communication

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6937613B1 (en) * 1999-06-14 2005-08-30 Lucent Technologies Inc. Method and apparatus for synchronization of high-bit-rate digital subscriber line signals
CN102006157A (en) * 2010-11-26 2011-04-06 中兴通讯股份有限公司 Time synchronization method and system
CN102013931A (en) * 2009-09-08 2011-04-13 中兴通讯股份有限公司 Time synchronization method and system, salve timing device and main timing device
CN102202386A (en) * 2010-03-24 2011-09-28 华为技术有限公司 Clock synchronization method, device and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207455B (en) * 2006-12-20 2010-12-15 华为技术有限公司 Method and apparatus for error detection and error correction of synchronizing frame
CN102083194B (en) * 2009-11-30 2014-12-03 电信科学技术研究院 Method, system and equipment for sending time information and synchronizing time
CN102237941B (en) * 2010-04-28 2015-06-03 中兴通讯股份有限公司 Time synchronization system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6937613B1 (en) * 1999-06-14 2005-08-30 Lucent Technologies Inc. Method and apparatus for synchronization of high-bit-rate digital subscriber line signals
CN102013931A (en) * 2009-09-08 2011-04-13 中兴通讯股份有限公司 Time synchronization method and system, salve timing device and main timing device
CN102202386A (en) * 2010-03-24 2011-09-28 华为技术有限公司 Clock synchronization method, device and system
CN102006157A (en) * 2010-11-26 2011-04-06 中兴通讯股份有限公司 Time synchronization method and system

Also Published As

Publication number Publication date
CN102549951A (en) 2012-07-04

Similar Documents

Publication Publication Date Title
JP5518191B2 (en) Method and system for optical transmission network carrying time synchronization protocol
US8675689B2 (en) Method of time synchronization of free running nodes in an avionics network
US11082141B2 (en) Wireless apparatus and wireless apparatus processing method
US10158441B1 (en) Securing time between nodes
US7596153B2 (en) Clock-state correction and/or clock-rate correction using relative drift-rate measurements
JP6343395B2 (en) Distribution of dynamic accuracy information in IEEE 1588 clock network
CN103929293A (en) Asymmetrically-delayed time synchronization method and system
Exel Mitigation of asymmetric link delays in IEEE 1588 clock synchronization systems
US11489604B2 (en) Maintaining synchronization in wireless networks
US20220248353A1 (en) Synchronization method and device
WO2013082901A1 (en) 1588 event message processing method and system
JP2012222833A (en) System and method to overcome wander accumulation to achieve precision clock distribution over large networks
JP2009182659A (en) Timing synchronizing method, synchronization device, synchronization system, and synchronization program
CN104144047A (en) Synchronization method of communication network system, intermediate node and slave node
WO2015089848A1 (en) Precision time protocol synchronization method and node
WO2013091240A1 (en) Method, device and system for data synchronization processing of external clock
CN103684736A (en) Clock synchronization method for high-speed communication
CN113794529A (en) Clock synchronization system
WO2020062225A1 (en) Mac device and time point estimation method
JP2015198399A (en) communication device
JP2023003969A (en) Slave device, time synchronization method, and time synchronization program
Lin et al. Research and implementation in synchronized system of data acquisition based on IEEE 1588
JP2019536379A (en) Preventing the propagation of inaccurate time information over the network

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180003027.0

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11877840

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11877840

Country of ref document: EP

Kind code of ref document: A1