WO2012155663A1 - Method and network apparatus for adjusting frequency based on ieee 1588 protocol - Google Patents

Method and network apparatus for adjusting frequency based on ieee 1588 protocol Download PDF

Info

Publication number
WO2012155663A1
WO2012155663A1 PCT/CN2012/072761 CN2012072761W WO2012155663A1 WO 2012155663 A1 WO2012155663 A1 WO 2012155663A1 CN 2012072761 W CN2012072761 W CN 2012072761W WO 2012155663 A1 WO2012155663 A1 WO 2012155663A1
Authority
WO
WIPO (PCT)
Prior art keywords
frequency
frequency difference
ieee
protocol
clock
Prior art date
Application number
PCT/CN2012/072761
Other languages
French (fr)
Chinese (zh)
Inventor
庞贺
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012155663A1 publication Critical patent/WO2012155663A1/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
    • 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/0673Clock or time synchronisation among packet nodes using intermediate nodes, e.g. modification of a received timestamp before further transmission to the next packet node, e.g. including internal delay time or residence time into the packet

Definitions

  • the present invention relates to the field of data communications, and in particular to a method and network device for adjusting frequency based on the IEEE 1588 protocol.
  • the present invention is particularly applicable to the IEEE 1588 V1 protocol and the IEEE 1588 V2 protocol, and is applicable to one step (single-step clock) and two step (two Step clock) mode.
  • the IEEE 1588 protocol is a precision clock synchronization protocol standard for network measurement and control systems. It uses the PTP (Precision Clock Synchronization) protocol with an accuracy of microseconds.
  • the intermediate devices in the network of the IEEE 1588 protocol are BC (Border Clock) devices and TC (transparent clock) devices.
  • the TC devices are relatively simple in design, convenient in application, and have a small CPU load on the intermediate devices. The majority of digital communication manufacturers use.
  • the TC device mainly implements the transparent transmission of the IEEE 1588 protocol in the IEEE 1588 protocol network, and the resident time of the IEEE 1588 protocol packet in the TC device is hit into the packet to ensure the final OC (Ordinary clock) or The accuracy of BC's time synchronization, so the accuracy of the TC dwell time is related to the accuracy of the entire network clock.
  • the technical problem to be solved by the embodiments of the present invention is to provide an adjustment frequency based on the IEEE 1588 protocol. Rate method and network device to effectively improve the frequency accuracy of the TC device.
  • an embodiment of the present invention provides a method for adjusting a frequency based on an IEEE 1588 protocol, including:
  • the transparent clock device calculates the frequency difference of the device relative to the main clock device according to the received master clock information and the local stamping time information carried in the IEEE 1588 protocol packet.
  • the frequency of the local stamp is adjusted to be the same frequency as the main clock information carried by the IEEE 1588 protocol packet by using the frequency difference.
  • the transparent transmission clock device calculates the frequency difference of the device relative to the main clock device by the following formula: ((Tt2-Tt 1 )-(Tm2-Tml )) / (Tm2-Tml ) ,
  • Tml and Tm2 are the main clock information carried in the first and second IEEE1588 protocol messages, respectively, and Ttl and Tt2 are the devices that the first and second IEEE1588 protocol messages are received. Time information.
  • the transparent transmission clock device is an intermediate-level transparent transmission clock device that is not directly connected to the main clock device, the transparent transmission clock device calculates a frequency difference between the device and the main clock device. Previously, it also included:
  • the time information of the local stamp is corrected according to the dwell time carried by the IEEE 1588 protocol message.
  • the step of the transparent transmission clock device determining that the frequency difference satisfies a predetermined condition comprises:
  • the IEEE 1588 protocol packet is a synchronization packet or a follow-up packet.
  • the present invention further provides a network device as a transparent transmission clock device, including:
  • a clock source module configured to provide frequency information to the time stamp module; and after receiving the frequency difference output by the micro control module, adjusting the frequency information to the IEEE 1588 by using the frequency difference
  • the main clock information carried in the protocol packet is the same frequency
  • the timestamp module is configured to timestamp the IEEE 1588 protocol packet according to the frequency information provided by the clock source module after receiving the IEEE 1588 protocol packet;
  • the above network device also has the following features:
  • the micro control module calculates the frequency difference of the device relative to the main clock device by the following formula:
  • Tml and Tm2 are the main clock information carried in the first and second IEEE1588 protocol messages, respectively, and Ttl and Tt2 are the devices that the first and second IEEE1588 protocol messages are received. Time information.
  • the above network device also has the following features:
  • the micro control module when the network device is an intermediate-level transparent transmission clock device that is not directly connected to the main clock device, is used for calculating a frequency difference of the device relative to the main clock device, according to the The resident time carried in the IEEE 1588 protocol packet corrects the time information of the local stamping.
  • the above network device also has the following features:
  • the micro control module determines that the frequency difference satisfies the predetermined condition, specifically: determining that the frequency difference is greater than a threshold, or determining that the frequency difference is continuously preset to be greater than a threshold.
  • the above network device also has the following features:
  • the IEEE 1588 protocol packet is a synchronization packet or a follow-up packet.
  • the embodiments of the present invention provide a method and a network device for adjusting a frequency based on the IEEE 1588 protocol, which can effectively improve the frequency accuracy of the TC device and reduce the cost.
  • 1 is a schematic diagram of a network device as a TC device according to an embodiment of the present invention
  • 2 is a flowchart of a method for adjusting a frequency based on an IEEE 1588 protocol according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a network topology according to an embodiment of the present invention.
  • FIG. 1 is a schematic diagram of a network device as a TC device according to an embodiment of the present invention. As shown in the figure, the following modules are included:
  • the clock source module is configured to provide frequency information to the TC device.
  • the frequency information is provided to the timestamp module. After receiving the frequency difference output by the micro control module, the frequency information is adjusted to be the frequency information by using the frequency difference. The same frequency as the main clock information carried in the IEEE 1588 protocol text;
  • a timestamp module configured to timestamp the IEEE 1588 protocol packet according to the frequency information provided by the clock source module, and also to send the IEEE 1588 protocol packet to the TC device after receiving the IEEE 1588 protocol packet The dwell time Ti is hit in the message and then transmitted out;
  • the micro control module is configured to calculate a frequency difference of the device relative to the main clock device according to the main clock information carried in the IEEE 1588 protocol message and the time information of the local punctuation, and if it is determined that the frequency difference satisfies a predetermined condition, The frequency difference is output to the clock source module.
  • micro control module calculates the frequency difference of the device relative to the main clock device by the following formula:
  • Tml and Tm2 are the main clock information carried in the first and second IEEE1588 protocol messages, respectively, and Ttl and Tt2 are the devices that the first and second IEEE1588 protocol messages are received. Time information.
  • the micro control module is further used to calculate a frequency difference between the device and the main clock device before the network device is an intermediate-level transparent transmission clock device directly connected to the main clock device.
  • the time information of the local stamping is corrected according to the dwell time carried by the IEEE 1588 protocol message.
  • the IEEE 1588 protocol message is a SYNC (sync) message or a FOLLOWJJP (follow) message.
  • the clock source module of this embodiment can use a crystal oscillator that does not require high precision performance.
  • the device that sends the IEEE1588 protocol packet to the next-level device has two models, BC and TC.
  • the TC device in this embodiment may be a PTN. (Packet Transport Network), switch, router, base station, etc. Network node device that can transparently transmit IEEE1588 protocol packets.
  • PTN Packet Transport Network
  • FIG. 2 is a flow chart of a method for adjusting a frequency based on an IEEE 1588 protocol according to an embodiment of the present invention. As shown in FIG. 2, the method includes:
  • the TC device calculates a frequency difference between the master clock information and the master clock device according to the received master clock information and the local stamping time information carried in the IEEE 1588 protocol packet.
  • the frequency of the local puncture is adjusted to be the same frequency as the main clock information carried in the IEEE 1588 protocol packet by using the frequency difference.
  • the method utilizes the SYNC and FOLLOW-UP protocols of the original IEEE1588 protocol, and does not require the TC device to transmit redundant messages without modifying the protocol, and can correct the frequency of the TC device while reducing the redundant packets of the link.
  • FIG. 3 is a schematic diagram of a network topology according to an embodiment of the present invention, as shown in the figure,
  • the master clock device transmits the IEEE1588 message to the node in the network that needs to be timed through the TC device.
  • the main clock device sends a SYNC message or a FOLLOW-UP message at the time of Tmi, and the Tmi time stamp is carried in the SYNC message or the FOLLOW-UP message.
  • the first-level TC1 device (the TC device directly connected to the main clock) receives the SYNC message, hits the local timestamp Tti, and simultaneously puts the dwell time Ti in the SYNC message, and records the SYNC message or the FOLLOWJJP message. Time Tmi.
  • the first level TC1 device calculates the frequency error of the local TC through the collected Tmi and Tti. The calculation formula is as follows:
  • the frequency offset of the TC device relative to the main clock device per unit time is obtained, and then the local frequency is adjusted to be the same frequency as the main clock.
  • the second-level TC2 device receives the TC1 device
  • the synchronous Ethernet is turned on, and the frequency of the TC device is recovered through the Ethernet.
  • Step 101 The TC device receives the IEEE1588 protocol.
  • Step 102 The TC device determines whether the IEEE1588 protocol packet is a SYNC packet or
  • Step 103 The TC device calculates a calculated frequency offset of the device relative to the main clock device according to the received master clock information carried by the IEEE 1588 protocol packet and the local stamping time information.
  • Step 104 The TC device determines whether the frequency deviation of the continuous N times is greater than a threshold. If yes, the process proceeds to step 105. If not, the synchronization trust is set, the detection is continued, and the process returns to step 101.
  • Step 105 the frequency deviation is continuously greater than the threshold for N times, and the frequency of the synchronous Ethernet recovery is abnormal, and the synchronous Ethernet untrusted mode is set, and then step 106 is performed;
  • step 101 If the current port frequency is abnormal, you can try other ports that are synchronized with Ethernet recovery. Return to step 101. If all the ports are abnormal, go to step 106.
  • Step 106 The TC device starts a frequency recovery mechanism, and uses the frequency difference to adjust the frequency of the local stamping to be the same frequency as the main clock information carried in the IEEE 1588 protocol.
  • Compensate the frequency of TC realize the function of TC high-precision time stamping.
  • the invention has the advantages that the network device is not required to support the synchronous Ethernet, and the high frequency stability can be ensured without using the high-precision constant temperature crystal oscillator, and the quality of the Ethernet recovery clock is detected for the network TC device using the synchronous Ethernet. When the synchronous Ethernet clock quality is not available, switch to the frequency adjustment state to ensure the accuracy and stability of the TC timestamp.
  • the embodiment of the invention provides a method and a network device for adjusting a frequency based on the IEEE 1588 protocol, which can effectively improve the frequency precision of the TC device and reduce the cost.

Abstract

Disclosed are a method and network apparatus for adjusting the frequency based on IEEE 1588 protocol. The method comprises: a transparent clock(TC) device, according to the master clock information and locally stamped time information which are carried by a received IEEE 1588 protocol packet, calculates the frequency difference between itself and the master clock device; if the frequency difference satisfies the predetermined condition, the locally stamped frequency will be adjusted to the same frequency with the master clock information carried by the IEEE 1588 protocol packet using the frequency difference. The present invention improves frequency accuracy of TC device efficiently, and reduces cost at the same time.

Description

基于 IEEE 1588协议调整频率的方法及网络装置  Method and network device for adjusting frequency based on IEEE 1588 protocol
技术领域 Technical field
本发明涉及数据通信领域, 特别是涉及了一种基于 IEEE 1588协议调整 频率的方法及网络装置,本发明尤其适用于 IEEE1588V1协议和 IEEE1588V2 协议, 适用于 one step (单步时钟)和 two step (两步时钟)模式。  The present invention relates to the field of data communications, and in particular to a method and network device for adjusting frequency based on the IEEE 1588 protocol. The present invention is particularly applicable to the IEEE 1588 V1 protocol and the IEEE 1588 V2 protocol, and is applicable to one step (single-step clock) and two step (two Step clock) mode.
背景技术 Background technique
IEEE 1588 协议是网络测量和控制系统的精密时钟同步协议标准, 釆用 PTP (精密时钟同步 )协议, 精度可以达到微秒级。 目前 IEEE 1588协议的网 络中的中间设备为 BC ( boundary clock, 边界时钟)设备和 TC ( transparent clock, 透传时钟)设备, TC设备相对设计简单、应用方便, 中间设备的 CPU 负担小等优点被广大数通厂商釆用。 TC设备在 IEEE 1588协议的网络中主要 实现透传 IEEE 1588协议,将 IEEE 1588协议报文在 TC设备中的驻留时间打 到该报文中, 保证末级 OC ( Ordinary clock , 普通时钟)或 BC的时间同步的 准确性, 所以 TC驻留时间的准确性关系到整个网络时钟的精度。  The IEEE 1588 protocol is a precision clock synchronization protocol standard for network measurement and control systems. It uses the PTP (Precision Clock Synchronization) protocol with an accuracy of microseconds. At present, the intermediate devices in the network of the IEEE 1588 protocol are BC (Border Clock) devices and TC (transparent clock) devices. The TC devices are relatively simple in design, convenient in application, and have a small CPU load on the intermediate devices. The majority of digital communication manufacturers use. The TC device mainly implements the transparent transmission of the IEEE 1588 protocol in the IEEE 1588 protocol network, and the resident time of the IEEE 1588 protocol packet in the TC device is hit into the packet to ensure the final OC (Ordinary clock) or The accuracy of BC's time synchronization, so the accuracy of the TC dwell time is related to the accuracy of the entire network clock.
为了保证 TC驻留时间的精度, 目前主要有两种方式: 1、 整个网络使用 同步以太网技术, TC通过以太网恢复频率, 作为打驻留时间的驱动时钟。 只 要线路没有断链, 可以一直保证恢复稳定的时钟。 2、 给 TC设备打戳硬件提 供稳定的频率输入, 以高等级的恒温晶振作为输入。 但是这两种方式有其不 足: 第一种方法需要主钟支持同步以太网, 给整个网络提供稳定的频率输出。 主钟的 1588协议输出口必须支持同步以太网,将自己稳定的频率驱动自己的 交换芯片或 PHY ( Physical Layer, 物理层) , 保证线路输出的频率稳定。 在 网络中的某一个 TC设备如果线路恢复时钟选择错误, 会导致后面的节点的 TC设备都锁在错误的频率上, 而且不容易发现。 第二种方法存在成本问题。  In order to ensure the accuracy of the TC dwell time, there are two main ways: 1. The entire network uses synchronous Ethernet technology, and the TC recovers the frequency through the Ethernet as the drive clock for the dwell time. As long as the line is not broken, you can always guarantee a stable clock. 2. The TC device is stamped with hardware to provide a stable frequency input, with a high-level crystal oscillator as input. But these two methods have their shortcomings: The first method requires the main clock to support synchronous Ethernet, providing a stable frequency output for the entire network. The 1588 protocol output port of the main clock must support synchronous Ethernet, and drive its own switching chip or PHY (Physical Layer) to ensure the frequency of the line output is stable. If a TC device in the network incorrectly selects the line recovery clock, it will cause the TC devices of the following nodes to lock at the wrong frequency and is not easy to find. The second method has a cost problem.
发明内容 Summary of the invention
本发明实施例要解决的技术问题是提供一种基于 IEEE 1588协议调整频 率的方法及网络装置, 以有效提高 TC设备的频率精度。 The technical problem to be solved by the embodiments of the present invention is to provide an adjustment frequency based on the IEEE 1588 protocol. Rate method and network device to effectively improve the frequency accuracy of the TC device.
为了解决上述技术问题, 本发明实施例提供了一种基于 IEEE 1588协议 调整频率的方法, 包括:  In order to solve the above technical problem, an embodiment of the present invention provides a method for adjusting a frequency based on an IEEE 1588 protocol, including:
透传时钟设备根据接收到的 IEEE 1588协议报文携带的主钟信息和本地 打戳的时间信息, 计算本设备相对于主钟设备的频率差;  The transparent clock device calculates the frequency difference of the device relative to the main clock device according to the received master clock information and the local stamping time information carried in the IEEE 1588 protocol packet.
若判断所述频率差满足预定条件, 则利用所述频率差将本地打戳的频率 调整为与所述 IEEE 1588协议报文携带的主钟信息同频。  If it is determined that the frequency difference satisfies a predetermined condition, the frequency of the local stamp is adjusted to be the same frequency as the main clock information carried by the IEEE 1588 protocol packet by using the frequency difference.
上述方法还具有下面特点: 所述透传时钟设备通过下式计算本设备相对 于主钟设备的频率差: ((Tt2-Tt 1 )-(Tm2-Tml ))/(Tm2-Tml ) ,  The above method also has the following features: The transparent transmission clock device calculates the frequency difference of the device relative to the main clock device by the following formula: ((Tt2-Tt 1 )-(Tm2-Tml )) / (Tm2-Tml ) ,
其中, Tml和 Tm2分别是第一个和第二个 IEEE1588协议报文中携带的 主钟信息, Ttl和 Tt2分别是本设备对接收到的第一个和第二个 IEEE1588协 议报文打戳的时间信息。  Tml and Tm2 are the main clock information carried in the first and second IEEE1588 protocol messages, respectively, and Ttl and Tt2 are the devices that the first and second IEEE1588 protocol messages are received. Time information.
上述方法还具有下面特点: 若所述透传时钟设备为非与所述主钟设备直 接连接的中间级透传时钟设备, 则所述透传时钟设备计算本设备相对于主钟 设备的频率差之前, 还包括:  The above method further has the following features: if the transparent transmission clock device is an intermediate-level transparent transmission clock device that is not directly connected to the main clock device, the transparent transmission clock device calculates a frequency difference between the device and the main clock device. Previously, it also included:
根据所述 IEEE 1588协议报文携带的驻留时间对本地打戳的时间信息进 行修正。  The time information of the local stamp is corrected according to the dwell time carried by the IEEE 1588 protocol message.
上述方法还具有下面特点: 所述透传时钟设备判断所述频率差满足预定 条件的步骤包括:  The above method further has the following features: the step of the transparent transmission clock device determining that the frequency difference satisfies a predetermined condition comprises:
判断所述频率差大于门限值, 或者  Determining that the frequency difference is greater than a threshold, or
判断所述频率差连续预设次数大于门限值。  Determining that the frequency difference is continuously preset a number of times greater than a threshold value.
上述方法还具有下面特点: 所述 IEEE 1588协议报文为同步报文或跟随 报文。  The foregoing method has the following features: The IEEE 1588 protocol packet is a synchronization packet or a follow-up packet.
为了解决上述问题,本发明还提供了一种作为透传时钟设备的网络装置, 包括:  In order to solve the above problems, the present invention further provides a network device as a transparent transmission clock device, including:
时钟源模块, 设置为向时间戳模块提供频率信息; 用于接收到微控模块 输出的频率差后, 利用所述频率差将所述频率信息调整为与所述 IEEE 1588 协议报文携带的主钟信息同频; a clock source module, configured to provide frequency information to the time stamp module; and after receiving the frequency difference output by the micro control module, adjusting the frequency information to the IEEE 1588 by using the frequency difference The main clock information carried in the protocol packet is the same frequency;
时间戳模块, 设置为接收到 IEEE 1588协议报文后, 根据所述时钟源模 块提供的频率信息对所述 IEEE 1588协议报文打时间戳;  The timestamp module is configured to timestamp the IEEE 1588 protocol packet according to the frequency information provided by the clock source module after receiving the IEEE 1588 protocol packet;
所述微控模块, 设置为根据 IEEE 1588协议报文携带的主钟信息和本地 打戳的时间信息, 计算本设备相对于主钟设备的频率差, 若判断所述频率差 满足预定条件, 则将所述频率差输出给所述时钟源模块。  The micro control module is configured to calculate a frequency difference of the device relative to the main clock device according to the main clock information carried in the IEEE 1588 protocol message and the time information of the local punctuation, and if it is determined that the frequency difference satisfies a predetermined condition, The frequency difference is output to the clock source module.
上述网络装置还具有下面特点:  The above network device also has the following features:
所述微控模块 , 是通过下式计算本设备相对于主钟设备的频率差的: The micro control module calculates the frequency difference of the device relative to the main clock device by the following formula:
((Tt2-Ttl)-(Tm2-Tml))/(Tm2-Tml), ((Tt2-Ttl)-(Tm2-Tml))/(Tm2-Tml),
其中, Tml和 Tm2分别是第一个和第二个 IEEE1588协议报文中携带的 主钟信息, Ttl和 Tt2分别是本设备对接收到的第一个和第二个 IEEE1588协 议报文打戳的时间信息。  Tml and Tm2 are the main clock information carried in the first and second IEEE1588 protocol messages, respectively, and Ttl and Tt2 are the devices that the first and second IEEE1588 protocol messages are received. Time information.
上述网络装置还具有下面特点:  The above network device also has the following features:
所述微控模块, 在所述网络装置为非与所述主钟设备直接连接的中间级 透传时钟设备的情况下, 计算本设备相对于主钟设备的频率差之前还用于, 根据所述 IEEE 1588协议报文携带的驻留时间对本地打戳的时间信息进行修 正。  The micro control module, when the network device is an intermediate-level transparent transmission clock device that is not directly connected to the main clock device, is used for calculating a frequency difference of the device relative to the main clock device, according to the The resident time carried in the IEEE 1588 protocol packet corrects the time information of the local stamping.
上述网络装置还具有下面特点:  The above network device also has the following features:
所述微控模块, 判断所述频率差满足预定条件具体为: 判断所述频率差 大于门限值, 或者判断所述频率差连续预设次数大于门限值。  The micro control module determines that the frequency difference satisfies the predetermined condition, specifically: determining that the frequency difference is greater than a threshold, or determining that the frequency difference is continuously preset to be greater than a threshold.
上述网络装置还具有下面特点:  The above network device also has the following features:
所述 IEEE 1588协议报文为同步报文或跟随报文。  The IEEE 1588 protocol packet is a synchronization packet or a follow-up packet.
综上, 本发明实施例提供一种基于 IEEE 1588协议调整频率的方法及网 络装置, 能够实现有效提高 TC设备的频率精度, 同时降低成本。 附图概述  In summary, the embodiments of the present invention provide a method and a network device for adjusting a frequency based on the IEEE 1588 protocol, which can effectively improve the frequency accuracy of the TC device and reduce the cost. BRIEF abstract
图 1为本发明实施例的作为 TC设备的网络装置的示意图; 图 2为本发明实施例的一种基于 IEEE 1588协议调整频率的方法的流程 图; 1 is a schematic diagram of a network device as a TC device according to an embodiment of the present invention; 2 is a flowchart of a method for adjusting a frequency based on an IEEE 1588 protocol according to an embodiment of the present invention;
图 3为本发明实施例的网络拓朴示意图;  3 is a schematic diagram of a network topology according to an embodiment of the present invention;
图 4为本发明应用示例的同步以太网频率恢复质量的监控的流程图。 本发明的较佳实施方式  4 is a flow chart of monitoring the quality of synchronous Ethernet frequency recovery according to an application example of the present invention. Preferred embodiment of the invention
下文中将结合附图对本发明的实施例进行详细说明。 需要说明的是, 在 不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互任意组合。  Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
图 1为本发明实施例的作为 TC设备的网络装置的示意图, 如图所示, 包括下面模块:  FIG. 1 is a schematic diagram of a network device as a TC device according to an embodiment of the present invention. As shown in the figure, the following modules are included:
时钟源模块, 设置为为本 TC设备提供频率信息, 本实施例中, 向时间 戳模块提供频率信息; 接收到微控模块输出的频率差后, 利用所述频率差将 所述频率信息调整为与所述 IEEE 1588协议 文携带的主钟信息同频;  The clock source module is configured to provide frequency information to the TC device. In this embodiment, the frequency information is provided to the timestamp module. After receiving the frequency difference output by the micro control module, the frequency information is adjusted to be the frequency information by using the frequency difference. The same frequency as the main clock information carried in the IEEE 1588 protocol text;
时间戳模块, 设置为接收到 IEEE 1588协议报文后, 根据所述时钟源模 块提供的频率信息对所述 IEEE 1588协议报文打时间戳,同时也将 IEEE 1588 协议报文在该 TC设备的驻留时间 Ti打在该报文, 然后透传出去;  a timestamp module, configured to timestamp the IEEE 1588 protocol packet according to the frequency information provided by the clock source module, and also to send the IEEE 1588 protocol packet to the TC device after receiving the IEEE 1588 protocol packet The dwell time Ti is hit in the message and then transmitted out;
所述微控模块, 设置为根据 IEEE 1588协议报文携带的主钟信息和本地 打戳的时间信息, 计算本设备相对于主钟设备的频率差, 若判断所述频率差 满足预定条件, 则将所述频率差输出给所述时钟源模块。  The micro control module is configured to calculate a frequency difference of the device relative to the main clock device according to the main clock information carried in the IEEE 1588 protocol message and the time information of the local punctuation, and if it is determined that the frequency difference satisfies a predetermined condition, The frequency difference is output to the clock source module.
其中,所述微控模块是通过下式计算本设备相对于主钟设备的频率差的: Wherein, the micro control module calculates the frequency difference of the device relative to the main clock device by the following formula:
((Tt2-Ttl)-(Tm2-Tml))/(Tm2-Tml), ((Tt2-Ttl)-(Tm2-Tml))/(Tm2-Tml),
其中, Tml和 Tm2分别是第一个和第二个 IEEE1588协议报文中携带的 主钟信息, Ttl和 Tt2分别是本设备对接收到的第一个和第二个 IEEE1588协 议报文打戳的时间信息。  Tml and Tm2 are the main clock information carried in the first and second IEEE1588 protocol messages, respectively, and Ttl and Tt2 are the devices that the first and second IEEE1588 protocol messages are received. Time information.
其中, 所述微控模块, 在所述网络装置为非与所述主钟设备直接连接的 中间级透传时钟设备的情况下, 计算本设备相对于主钟设备的频率差之前还 用于, 根据所述 IEEE 1588协议报文携带的驻留时间对本地打戳的时间信息 进行修正。 所述 IEEE 1588协议报文为 SYNC (同步)报文或 FOLLOWJJP (跟随) 报文。 The micro control module is further used to calculate a frequency difference between the device and the main clock device before the network device is an intermediate-level transparent transmission clock device directly connected to the main clock device. The time information of the local stamping is corrected according to the dwell time carried by the IEEE 1588 protocol message. The IEEE 1588 protocol message is a SYNC (sync) message or a FOLLOWJJP (follow) message.
本实施例的时钟源模块可以釆用精度性能方面要求不高的晶振。  The clock source module of this embodiment can use a crystal oscillator that does not require high precision performance.
一般在组网中, 整个网络中只有一两个主钟, 在网络中节点将 IEEE1588 协议报文给下一级设备的设备有 BC和 TC两种模型, 本实施例中的 TC设备 可以是 PTN ( Packet Transport Network, 分组传送网)、 交换机、 路由器、 基 站等可以透传 IEEE1588协议报文的网络节点设备。  Generally, in the networking, there are only one or two master clocks in the entire network. In the network, the device that sends the IEEE1588 protocol packet to the next-level device has two models, BC and TC. The TC device in this embodiment may be a PTN. (Packet Transport Network), switch, router, base station, etc. Network node device that can transparently transmit IEEE1588 protocol packets.
图 2为本发明实施例的一种基于 IEEE 1588协议调整频率的方法的流程 图, 如图 2所示, 本方法包括:  2 is a flow chart of a method for adjusting a frequency based on an IEEE 1588 protocol according to an embodiment of the present invention. As shown in FIG. 2, the method includes:
S10、 TC设备根据接收到的 IEEE 1588协议报文携带的主钟信息和本地 打戳的时间信息, 计算本设备相对于主钟设备的频率差;  S10. The TC device calculates a frequency difference between the master clock information and the master clock device according to the received master clock information and the local stamping time information carried in the IEEE 1588 protocol packet.
S20、 TC设备若判断所述频率差满足预定条件, 则利用所述频率差将本 地打戳的频率调整为与所述 IEEE 1588协议报文携带的主钟信息同频。  S20. If the TC device determines that the frequency difference satisfies a predetermined condition, the frequency of the local puncture is adjusted to be the same frequency as the main clock information carried in the IEEE 1588 protocol packet by using the frequency difference.
本方法利用原有 IEEE1588协议的 SYNC和 FOLLOW— UP协议, 不需要 修改协议不需要 TC设备发送多余的消息, 在减少链路多余报文的同时, 可 以校正 TC设备的频率。  The method utilizes the SYNC and FOLLOW-UP protocols of the original IEEE1588 protocol, and does not require the TC device to transmit redundant messages without modifying the protocol, and can correct the frequency of the TC device while reducing the redundant packets of the link.
图 3为本发明实施例的网络拓朴示意图, 如图所示,  FIG. 3 is a schematic diagram of a network topology according to an embodiment of the present invention, as shown in the figure,
主钟设备通过 TC设备将 IEEE1588报文传递给网络中需要授时的节点 中。 主钟设备在 Tmi时刻发送 SYNC报文或 FOLLOW— UP报文, Tmi的时间 戳承载在 SYNC报文或 FOLLOW— UP报文中。  The master clock device transmits the IEEE1588 message to the node in the network that needs to be timed through the TC device. The main clock device sends a SYNC message or a FOLLOW-UP message at the time of Tmi, and the Tmi time stamp is carried in the SYNC message or the FOLLOW-UP message.
第一级 TC1设备 (与主钟直接连接的 TC设备 )收到 SYNC报文, 打本 地时间戳 Tti, 同时将驻留时间 Ti打在 SYNC报文中, 记录 SYNC报文或 FOLLOWJJP报文携带的时间 Tmi。第一级 TC1设备通过收集到的 Tmi和 Tti 计算本地 TC的频率误差, 计算公式如下:  The first-level TC1 device (the TC device directly connected to the main clock) receives the SYNC message, hits the local timestamp Tti, and simultaneously puts the dwell time Ti in the SYNC message, and records the SYNC message or the FOLLOWJJP message. Time Tmi. The first level TC1 device calculates the frequency error of the local TC through the collected Tmi and Tti. The calculation formula is as follows:
((Tt2-Ttl)-(Tm2-Tml))/(Tm2-Tml),  ((Tt2-Ttl)-(Tm2-Tml))/(Tm2-Tml),
得到单位时间内 TC设备相对主钟设备的频率偏移, 然后将本地的频率 调整为与主钟同频。  The frequency offset of the TC device relative to the main clock device per unit time is obtained, and then the local frequency is adjusted to be the same frequency as the main clock.
第二级 TC2设备(非与主钟直接连接的中间级 TC设备)收到 TC1设备 透传过来的 SYNC报文, 同样打时间戳 Ttti, 用 SYNC报文的驻留时间 Ti修 正 Ttti时间, 修正后的 Ttti=Ttti-Ti, 通过收集到的 Tmi和修正后的 Ttti计算 本地 TC的频率误差, 进行频率调整。 The second-level TC2 device (intermediate TC device not directly connected to the main clock) receives the TC1 device The transparent SYNC message is also time-stamped Ttti, the Ttti time is corrected by the dwell time Ti of the SYNC message, the corrected Ttti=Ttti-Ti, and the local TC is calculated by the collected Tmi and the corrected Ttti. Frequency error, frequency adjustment.
以此类推第三级以后的所有 TC。  And so on, all TCs after the third level.
图 4为本发明应用示例的同步以太网频率恢复质量的监控的流程图, 如 图 4所示: 4 is a flow chart of monitoring the quality of synchronous Ethernet frequency recovery according to an application example of the present invention, as shown in FIG. 4:
首先, 开启同步以太网, TC设备的频率通过以太网恢复出来。  First, the synchronous Ethernet is turned on, and the frequency of the TC device is recovered through the Ethernet.
步骤 101 , TC设备接收 IEEE1588协议 4艮文;  Step 101: The TC device receives the IEEE1588 protocol.
步骤 102 , TC 设备判断 IEEE1588 协议报文是否是 SYNC 报文或 Step 102: The TC device determines whether the IEEE1588 protocol packet is a SYNC packet or
FOLLOW— UP报文, 若是, 则转向步骤 103 , 若都不是, 则转向步骤 101 ; FOLLOW - UP message, if yes, then go to step 103, if not, then go to step 101;
步骤 103 , TC设备根据接收到的 IEEE 1588协议报文携带的主钟信息和 本地打戳的时间信息, 计算本设备相对于主钟设备的计算出频率偏差;  Step 103: The TC device calculates a calculated frequency offset of the device relative to the main clock device according to the received master clock information carried by the IEEE 1588 protocol packet and the local stamping time information.
步骤 104, TC设备判断连续 N次的频率偏差是否大于门限, 如果是, 则 转向步骤 105, 如果否, 则设置同步以太信任, 继续检测, 跳回步骤 101。  Step 104: The TC device determines whether the frequency deviation of the continuous N times is greater than a threshold. If yes, the process proceeds to step 105. If not, the synchronization trust is set, the detection is continued, and the process returns to step 101.
如果整个网络比较稳定, N的取值可以设置大一点; 如果网络非常不稳 定, N的取值可以设置小一点。  If the entire network is stable, the value of N can be set larger; if the network is very unstable, the value of N can be set smaller.
步骤 105, 频率偏差连续 N次大于门限, 认为同步以太恢复的频率异常, 设置同步以太非信任模式, 然后执行步骤 106;  Step 105, the frequency deviation is continuously greater than the threshold for N times, and the frequency of the synchronous Ethernet recovery is abnormal, and the synchronous Ethernet untrusted mode is set, and then step 106 is performed;
若检测当前的端口频率异常, 可以尝试其他的同步以太网恢复的端口返 回步骤 101 , 若所有端口都频率异常, 则执行步骤 106。  If the current port frequency is abnormal, you can try other ports that are synchronized with Ethernet recovery. Return to step 101. If all the ports are abnormal, go to step 106.
步骤 106, TC设备启动频率恢复机制, 利用所述频率差将本地打戳的频 率调整为与所述 IEEE 1588协议 文携带的主钟信息同频。  Step 106: The TC device starts a frequency recovery mechanism, and uses the frequency difference to adjust the frequency of the local stamping to be the same frequency as the main clock information carried in the IEEE 1588 protocol.
在 TC设备启动频率恢复机制的过程中, 可以通过定时自动切换回同步 以太流程, 或手动切换到同步以太流程, 再检测同步以太的精度是否符合要 求。 继续检测同步以太, 在频率稳定度低的情况下, 继续设置频率恢复机制, 设置同步以太非信任模式。 本发明实施例通过 SYNC (同步)报文或 FOLLOWJJP (跟随)报文计 算出主钟时间间隔, 通过 TC接收到得主钟时间戳, 计算本地时间间隔, 通 过算法计算出 TC与主钟的频率差, 补偿 TC的频率, 实现 TC高精度打时间 戳的功能。 本发明的优点是不需要网络设备支持同步以太, 不釆用高精度恒 温晶振一样能保证很高的频率稳定度, 同时对于釆用同步以太的网络 TC设 备, 检测以太网恢复时钟的质量, 在同步以太时钟质量不可用的时候, 切换 到频率调整状态, 保证 TC时间戳的精度和稳定度。 During the process of starting the frequency recovery mechanism of the TC device, the synchronous Ethernet process can be automatically switched back to the synchronous Ethernet process by timing, or manually switched to the synchronous Ethernet process, and then the accuracy of the synchronous Ethernet is checked to meet the requirements. Continue to detect the synchronous Ethernet. In the case of low frequency stability, continue to set the frequency recovery mechanism and set the synchronous Ethernet untrusted mode. In the embodiment of the present invention, the time interval of the main clock is calculated by using the SYNC (synchronization) message or the FOLLOWJJP (following) message, the time stamp of the winner clock is received by the TC, the local time interval is calculated, and the frequency difference between the TC and the main clock is calculated by an algorithm. , Compensate the frequency of TC, realize the function of TC high-precision time stamping. The invention has the advantages that the network device is not required to support the synchronous Ethernet, and the high frequency stability can be ensured without using the high-precision constant temperature crystal oscillator, and the quality of the Ethernet recovery clock is detected for the network TC device using the synchronous Ethernet. When the synchronous Ethernet clock quality is not available, switch to the frequency adjustment state to ensure the accuracy and stability of the TC timestamp.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任 何特定形式的硬件和软件的结合。 One of ordinary skill in the art will appreciate that all or a portion of the above steps may be accomplished by a program instructing the associated hardware, such as a read-only memory, a magnetic disk, or an optical disk. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware or in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software.
以上仅为本发明的优选实施例, 当然, 本发明还可有其他多种实施例, 在不背离本发明精神及其实质的情况下, 熟悉本领域的技术人员当可根据本 发明作出各种相应的改变和变形, 但这些相应的改变和变形都应属于本发明 所附的权利要求的保护范围。 The above is only a preferred embodiment of the present invention, and of course, the present invention may be embodied in various other embodiments without departing from the spirit and scope of the invention. Corresponding changes and modifications are intended to be included within the scope of the appended claims.
工业实用性 Industrial applicability
本发明实施例提供一种基于 IEEE 1588协议调整频率的方法及网络装置, 能够实现有效提高 TC设备的频率精度, 同时降低成本。  The embodiment of the invention provides a method and a network device for adjusting a frequency based on the IEEE 1588 protocol, which can effectively improve the frequency precision of the TC device and reduce the cost.

Claims

权 利 要 求 书 Claim
1、 一种基于 IEEE 1588协议调整频率的方法, 其包括:  1. A method for adjusting a frequency based on an IEEE 1588 protocol, comprising:
透传时钟设备根据接收到的 IEEE 1588协议报文携带的主钟信息和本地 打戳的时间信息, 计算本透传时钟设备相对于主钟设备的频率差;  The transparent clock device calculates the frequency difference between the transparent clock device and the main clock device according to the received master clock information and the local stamping time information carried in the IEEE 1588 protocol packet.
当判断所述频率差满足预定条件, 利用所述频率差将本地打戳的频率调 整为与所述 IEEE 1588协议 文携带的主钟信息同频。  When it is judged that the frequency difference satisfies a predetermined condition, the frequency of the local stamp is adjusted by the frequency difference to be the same frequency as the main clock information carried in the IEEE 1588 protocol.
2、 如权利要求 1所述的方法, 其中, 所述透传时钟设备通过下式计算本 设备相对于主钟设备的频率差:  2. The method according to claim 1, wherein the transparent transmission clock device calculates a frequency difference of the device relative to the main clock device by:
((Tt2-Ttl)-(Tm2-Tml))/(Tm2-Tml),  ((Tt2-Ttl)-(Tm2-Tml))/(Tm2-Tml),
其中, Tml和 Tm2分别是第一个和第二个 IEEE1588协议报文中携带的 主钟信息, Ttl 和 Tt2 分别是本透传时钟设备对接收到的第一个和第二个 IEEE1588协议 4艮文打戳的时间信息。  Tml and Tm2 are the main clock information carried in the first and second IEEE1588 protocol messages respectively, and Ttl and Tt2 are respectively the first and second IEEE1588 protocols received by the transparent transmission clock device. Time stamping information.
3、 如权利要求 1或 2所述的方法, 其中, 若所述透传时钟设备为非与所 述主钟设备直接连接的中间级透传时钟设备, 则所述透传时钟设备计算本设 备相对于主钟设备的频率差之前, 所述方法还包括:  The method according to claim 1 or 2, wherein, if the transparent transmission clock device is an intermediate-level transparent transmission clock device that is not directly connected to the main clock device, the transparent transmission clock device calculates the device Before the frequency difference of the main clock device, the method further includes:
根据所述 IEEE 1588协议报文携带的驻留时间对本地打戳的时间信息进 行修正。  The time information of the local stamp is corrected according to the dwell time carried by the IEEE 1588 protocol message.
4、 如权利要求 1所述的方法, 其中, 所述透传时钟设备判断所述频率差 满足预定条件包括:  4. The method according to claim 1, wherein the transparent transmission clock device determines that the frequency difference satisfies a predetermined condition comprises:
判断所述频率差大于门限值, 或者  Determining that the frequency difference is greater than a threshold, or
判断所述频率差连续预设次数大于门限值。  Determining that the frequency difference is continuously preset a number of times greater than a threshold value.
5、 如权利要求 1或 2或 4所述的方法, 其中,  5. The method according to claim 1 or 2 or 4, wherein
所述 IEEE 1588协议报文为同步报文或跟随报文。  The IEEE 1588 protocol packet is a synchronization packet or a follow-up packet.
6、 一种作为透传时钟设备的网络装置, 其包括时钟源模块、 时间戳模块 和微控模块, 其中:  6. A network device as a transparent transmission clock device, comprising a clock source module, a time stamp module and a micro control module, wherein:
所述时钟源模块设置为: 向时间戳模块提供频率信息; 用于接收到微控 模块输出的频率差后, 利用所述频率差将所述频率信息调整为与所述 IEEE 1588协议报文携带的主钟信息同频; The clock source module is configured to: provide frequency information to the time stamp module; and after receiving the frequency difference output by the micro control module, adjust the frequency information to the IEEE by using the frequency difference The primary clock information carried in the 1588 protocol packet is the same as the frequency;
所述时间戳模块设置为: 接收到 IEEE 1588协议报文后, 根据所述时钟 源模块提供的频率信息对所述 IEEE 1588协议报文打时间戳;  The timestamp module is configured to: timestamp the IEEE 1588 protocol packet according to the frequency information provided by the clock source module after receiving the IEEE 1588 protocol packet;
所述所述微控模块设置为: 根据 IEEE 1588协议报文携带的主钟信息和 本地打戳的时间信息, 计算本透传时钟设备相对于主钟设备的频率差, 当判 断所述频率差满足预定条件, 将所述频率差输出给所述时钟源模块。  The micro control module is configured to: calculate a frequency difference of the transparent clock device relative to the main clock device according to the main clock information carried in the IEEE 1588 protocol packet and the time information of the local stamping, when determining the frequency difference The predetermined condition is satisfied, and the frequency difference is output to the clock source module.
7、 如权利要求 6所述的网络装置, 其中,  7. The network device according to claim 6, wherein
所述微控模块是设置为通过下式计算本透传时钟设备相对于主钟设备的 频率差:  The micro control module is configured to calculate a frequency difference of the transparent transmission clock device relative to the main clock device by:
((Tt2-Ttl)-(Tm2-Tml))/(Tm2-Tml),  ((Tt2-Ttl)-(Tm2-Tml))/(Tm2-Tml),
其中, Tml和 Tm2分别是第一个和第二个 IEEE1588协议报文中携带的 主钟信息, Ttl和 Tt2分别是本设备对接收到的第一个和第二个 IEEE1588协 议报文打戳的时间信息。  Tml and Tm2 are the main clock information carried in the first and second IEEE1588 protocol messages, respectively, and Ttl and Tt2 are the devices that the first and second IEEE1588 protocol messages are received. Time information.
8、 如权利要求 6或 7所述的网络装置, 其中,  8. The network device according to claim 6 or 7, wherein
所述微控模块还设置为: 在所述网络装置为非与所述主钟设备直接连接 的中间级透传时钟设备的情况下,计算本设备相对于主钟设备的频率差之前, 根据所述 IEEE 1588协议报文携带的驻留时间对本地打戳的时间信息进行修 正。  The micro control module is further configured to: before the network device is an intermediate-level transparent transmission clock device directly connected to the main clock device, before calculating a frequency difference between the device and the main clock device, according to the The resident time carried in the IEEE 1588 protocol packet corrects the time information of the local stamping.
9、 如权利要求 6所述的网络装置, 其中,  9. The network device according to claim 6, wherein
所述微控模块还设置为以如下方式判断所述频率差满足预定条件: 判断 所述频率差大于门限值, 或者判断所述频率差连续预设次数大于门限值。  The micro control module is further configured to determine that the frequency difference satisfies a predetermined condition in the following manner: determining that the frequency difference is greater than a threshold value, or determining that the frequency difference is continuously preset to be greater than a threshold value.
10、 如权利要求 6或 7或 9所述的网络装置, 其中,  10. The network device according to claim 6 or 7 or 9, wherein
所述 IEEE 1588协议报文为同步报文或跟随报文。  The IEEE 1588 protocol packet is a synchronization packet or a follow-up packet.
PCT/CN2012/072761 2011-05-16 2012-03-22 Method and network apparatus for adjusting frequency based on ieee 1588 protocol WO2012155663A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110125550.2 2011-05-16
CN201110125550.2A CN102185686B (en) 2011-05-16 2011-05-16 Method and the network equipment of frequency is adjusted based on IEEE 1588 agreement

Publications (1)

Publication Number Publication Date
WO2012155663A1 true WO2012155663A1 (en) 2012-11-22

Family

ID=44571760

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/072761 WO2012155663A1 (en) 2011-05-16 2012-03-22 Method and network apparatus for adjusting frequency based on ieee 1588 protocol

Country Status (2)

Country Link
CN (1) CN102185686B (en)
WO (1) WO2012155663A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185686B (en) * 2011-05-16 2016-09-21 南京中兴软件有限责任公司 Method and the network equipment of frequency is adjusted based on IEEE 1588 agreement
CN102447745B (en) * 2012-01-11 2018-10-26 南京中兴新软件有限责任公司 The processing method and processing device of message residence time in TC equipment
CN103117845A (en) * 2012-11-13 2013-05-22 华为技术有限公司 Modification method, device and system of transparent clock residence time
CN104144047B (en) * 2013-05-09 2017-09-29 华为技术有限公司 The synchronous method of communications network system, intermediate node and from node
CN104918268B (en) * 2014-03-10 2019-05-03 国基电子(上海)有限公司 Home eNodeB and its method for correcting frequency
CN105577348B (en) * 2014-10-08 2020-06-30 中兴通讯股份有限公司 Frequency deviation monitoring method and device based on time synchronization network
CN105553589B (en) * 2015-12-08 2018-03-06 中国联合网络通信集团有限公司 The method and device of time synchronized is realized in packet bearer network
CN105450491B (en) * 2016-01-04 2019-07-09 武汉虹信通信技术有限责任公司 A kind of time synchronization hardware structure and method for synchronizing time based on 1588 agreements
CN106357362B (en) * 2016-11-07 2019-05-17 瑞斯康达科技发展股份有限公司 A kind of method for synchronizing time, device and PTP system
CN109655917B (en) * 2019-01-03 2020-05-12 中国科学技术大学 Long-distance data synchronous acquisition system for marine seismic exploration towrope
CN113328823B (en) * 2021-07-06 2022-10-14 西门子电力自动化有限公司 Clock identification method and device based on PTP

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100074383A1 (en) * 2008-09-23 2010-03-25 Electronics And Telecommunications Research Institute Timestamping method and apparatus for precise network synchronization
CN101729180A (en) * 2008-10-21 2010-06-09 华为技术有限公司 Method and system for synchronizing precision clocks, and precision clock frequency/time synchronizing device
CN101834712A (en) * 2010-04-19 2010-09-15 浙江大学 Method for realizing accurate time synchronization by utilizing IEEE1588 protocol
CN102185686A (en) * 2011-05-16 2011-09-14 中兴通讯股份有限公司 Institute of electrical and electronic engineers (IEEE)-1588-protocol-based frequency regulation method and network device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101425890A (en) * 2008-11-21 2009-05-06 中兴通讯股份有限公司 Transmitted clock implementing apparatus and method
CN101494613B (en) * 2009-02-24 2012-04-04 华为技术有限公司 Method for clock message tunnel transmission, network node and communication system
CN102026364B (en) * 2009-09-17 2014-07-09 华为技术有限公司 Precise time protocol message processing method and clock equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100074383A1 (en) * 2008-09-23 2010-03-25 Electronics And Telecommunications Research Institute Timestamping method and apparatus for precise network synchronization
CN101729180A (en) * 2008-10-21 2010-06-09 华为技术有限公司 Method and system for synchronizing precision clocks, and precision clock frequency/time synchronizing device
CN101834712A (en) * 2010-04-19 2010-09-15 浙江大学 Method for realizing accurate time synchronization by utilizing IEEE1588 protocol
CN102185686A (en) * 2011-05-16 2011-09-14 中兴通讯股份有限公司 Institute of electrical and electronic engineers (IEEE)-1588-protocol-based frequency regulation method and network device

Also Published As

Publication number Publication date
CN102185686B (en) 2016-09-21
CN102185686A (en) 2011-09-14

Similar Documents

Publication Publication Date Title
WO2012155663A1 (en) Method and network apparatus for adjusting frequency based on ieee 1588 protocol
CN105680973B (en) The method for synchronizing time of free-running node in avionic device network
US9667370B2 (en) Communication device with peer-to-peer assist to provide synchronization
WO2010060294A1 (en) Time synchronization method and apparatus
CN104836630B (en) IEEE1588 clock synchronization system and implementation method therefor
CN102104475B (en) IEEE 1588-based synchronization system and synchronization method thereof
CN101977104A (en) IEEE1588 based accurate clock synchronization protocol system and synchronization method thereof
US8576883B2 (en) Measurement and adjustment of real-time values according to residence time in networking equipment without access to real time
US20100098111A1 (en) Method and system for precise-clock synchronization, and device for precise-clock frequency/time synchronization
CN108259109B (en) Network equipment in PTP domain and TOD synchronization method
Garner et al. Synchronization of audio/video bridging networks using IEEE 802.1 AS
CN102299788A (en) Method and device for controlling automatic transmission of IEEE1558 (Institute of Electrical and Electronic Engineers 1558) protocol message
WO2017063450A1 (en) Timestamp filtering method and apparatus
KR20140111011A (en) Method and apparatus for communicating time information between time-aware devices
EP3614586A1 (en) Method, node and system for detecting clock synchronization path
WO2023077760A1 (en) Industrial wireless network-and-tsn fusion-oriented cross-network time synchronization method
CN102983927B (en) Time compensation method for master-slave clock timing based on IEEE 1588 protocol
WO2018082665A1 (en) Frequency synchronization method and slave clock
WO2011160595A1 (en) Method, slave clock node and system for selecting master clock node based on precision time protocol (ptp) and link quality
WO2011134371A1 (en) Method for synchronizing clocks and clock synchronization device
WO2012163172A1 (en) Clock synchronization method and device
WO2017032113A1 (en) Method and apparatus for measuring time synchronization deviation
WO2008098450A1 (en) A method, a system and a device for implementing time synchronization in communication network
WO2012065402A1 (en) Ethernet passive optical network system and method for implementing end-to-end transparent clock in such system
WO2017071276A1 (en) Relay systems air interface time synchronization method and device

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

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

Country of ref document: EP

Kind code of ref document: A1