WO2012071910A1 - Method and device for achieving time synchronization - Google Patents

Method and device for achieving time synchronization Download PDF

Info

Publication number
WO2012071910A1
WO2012071910A1 PCT/CN2011/078863 CN2011078863W WO2012071910A1 WO 2012071910 A1 WO2012071910 A1 WO 2012071910A1 CN 2011078863 W CN2011078863 W CN 2011078863W WO 2012071910 A1 WO2012071910 A1 WO 2012071910A1
Authority
WO
WIPO (PCT)
Prior art keywords
clock
address
port
communication
slave
Prior art date
Application number
PCT/CN2011/078863
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 WO2012071910A1 publication Critical patent/WO2012071910A1/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/0641Change of the master or reference, e.g. take-over or failure of the master

Definitions

  • the technical problem to be solved by the present invention is to provide a method and device for realizing time synchronization, which solves Due to the repeated operation of the clock chip, the clock chip is unstable, easily necrotic or cannot operate normally.

Abstract

Disclosed are a method and device for achieving time synchronization. The method includes: configuring a clock private address for the clock chip of a slave clock device; the clock chip regarding the clock private address as the address of the slave clock port of the slave clock device and performing message interaction with a master clock device using the address of the slave clock port when performing time synchronization. In the present invention, by way of configuring a clock private address on the clock chip and packaging the PTP message using the clock private address, frequent update of the port information on the clock chip caused by the switching of clock sources can be avoided, making the operation of the clock chip more stable and prolonging the service life of the clock chip.

Description

一种实现时间同步的方法及装置  Method and device for realizing time synchronization
技术领域 Technical field
本发明涉及通讯技术领域, 尤其涉及一种实现时间同步的方法及装置。  The present invention relates to the field of communications technologies, and in particular, to a method and apparatus for implementing time synchronization.
背景技术 Background technique
在时分同步码分多址 ( Time Division- Synchronous Code Division Multiple Access, TD-SCDMA )移动网路中, 基站之间不仅要求时钟同步即频率同步, 而且要求实现严格的时间同步及频率与相位均同步。 目前业界使用最多的时 间同步技术是 IEEE1588 (精确时钟同步协议) 。 IEEE1588 的基本功能是使 分布式网络内的其他时钟与最精确时钟保持同步, 它定义了一种精确时间协 议( Precision Time Protocol, PTP ) , 用于对标准以太网和其他釆用多播技术 的分布式总线系统中的传感器、 执行器以及其他终端设备中的时钟进行亚微 秒级时间同步。  In Time Division-Synchronous Code Division Multiple Access (TD-SCDMA) mobile networks, not only clock synchronization but also frequency synchronization is required between base stations, and strict time synchronization and frequency and phase synchronization are required. . The most widely used time synchronization technology in the industry is IEEE1588 (Accurate Clock Synchronization Protocol). The basic function of IEEE1588 is to keep other clocks in the distributed network synchronized with the most accurate clock. It defines a Precision Time Protocol (PTP) for standard Ethernet and other multicast technologies. Sub-microsecond time synchronization of sensors in sensors, actuators, and other terminal devices in a distributed bus system.
ΡΤΡ协议的功能包括两个方面的内容:  The function of the protocol includes two aspects:
(一 )通过最佳时钟算法( Best Master Clock Algorithm, BMC ) , 对端 口状态进行选择, 确定全网的组网拓朴结构。 首先, 根据设备上 PTP的优先 级设置, 确定组网中的 GM ( GrandMaster, 祖父时钟)设备; 然后通过端口 的状态选择算法, 确定组网中设备的端口角色, 其中, 设备上的端口选举为 slave角色的设备为从时钟, 与 slave直连的上游 master端口对应的时钟为主 时钟。  (1) Selecting the state of the port through the Best Master Clock Algorithm (BMC) to determine the topology of the entire network. First, determine the GM (Grandmaster) device in the network according to the PTP priority setting on the device. Then, determine the port role of the device in the network through the port state selection algorithm. The port election on the device is The slave device is the slave clock. The clock corresponding to the upstream master port directly connected to the slave is the master clock.
(二)通过 PTP报文的收发处理, 进行时间偏差校验等的计算, 完成全 网的时间同步, 并保证校验误差。  (2) Through the transmission and reception of PTP messages, the calculation of time offset check, etc., completes the time synchronization of the whole network, and guarantees the verification error.
用于时间偏差校验计算的 PTP报文消息类型, 主要包括两大类: 事件消 息报文和通用消息报文。 事件消息报文包括: Sync (同步报文) 、 Delay— Req (延时请求报文 ) 、 Pdelay_Req (点到点延时请求报文 )和 Pdelay_Resp (点 到点延时响应报文)。通用消息报文包括: Announce (通告报文)、 Follow— Up ( 艮随 4艮文 ) 、 Delay Resp (延时响应 4艮文 ) 、 Pdelay—Resp— Follow— Up (点 到点延时响应跟随报文)、 Management (管理消息)和 Signaling (信号消息)。 上述事件消息报文主要用于发送和交互需要同步的普通和边缘时钟信 息, 使用 "延迟请求响应机制" 。 通用消息报文主要用于测量时钟端口之间 的链路延迟, 使用 "对等体延迟机制" 。 Announce 用于使能同步分层。 Management在管理结点和时钟之间 ,用于询问和升级时钟维护的 PTP数据设 置, 也可用于定制 PTP系统和初始化以及错误管理。 Signaling用于在时钟之 间完成其它目的的交互, 如协商单播消息速率等。 The PTP message type used for the time offset check calculation mainly includes two types: event message and general message. The event message includes: Sync (synchronous message), Delay_Req (delay request message), Pdelay_Req (point-to-point delay request message) and Pdelay_Resp (point-to-point delay response message). Common message messages include: Announce (announce message), Follow-Up (艮 艮 4艮), Delay Resp (delay response 4艮), Pdelay-Resp- Follow-Up (point The point delay response follows the message), Management (Management Message) and Signaling (Signal Message). The above event message message is mainly used to send and exchange common and edge clock information that needs to be synchronized, and uses a "delay request response mechanism". The general message is mainly used to measure the link delay between clock ports, using the "peer delay mechanism". Announce is used to enable synchronous layering. Management is used between the management node and the clock to query and upgrade the PTP data settings for clock maintenance. It can also be used to customize the PTP system and initialization and error management. Signaling is used to perform other purposes of interaction between clocks, such as negotiating unicast message rates.
PTP报文的封装格式, 支持 IEEE802.13、 IPV4和 IPV6等类型, 其中, IEEE802.13协议的封装格式, 为二层报文封装, 以二层组播的方式发送。 此 种封装, 对设备的 VLAN (虚拟局域网) 配置没有要求, 当设备发出的报文 为 Ethernet (以太网)格式时, 不加 tag (标签)信息。 IPV4报文封装格式, 为三层报文封装, 包括三层单播和三层组播两种格式。 此种封装要求设备的 端口要添加到三层的支持 PTP的 VLAN中, 如果是三层单播格式, 要求设备 间三层路由打通;如果是三层组播格式,则要求组网内的设备在同一个 VLAN 内组播。  The PTP packet encapsulation format supports IEEE802.13, IPV4, and IPV6. The encapsulation format of the IEEE802.13 protocol is Layer 2 packet encapsulation and is transmitted in Layer 2 multicast mode. In this kind of encapsulation, there is no requirement for the VLAN (Virtual Local Area Network) configuration of the device. When the message sent by the device is in Ethernet (Ethernet) format, no tag information is added. The IPV4 packet encapsulation format is encapsulated in Layer 3 packets, including Layer 3 unicast and Layer 3 multicast. The port of the device is required to be added to the Layer 3 PTP-enabled VLAN. If the Layer 3 unicast format is required, the Layer 3 routing between devices is required. If the Layer 3 multicast format is used, the device in the network is required. Multicast in the same VLAN.
目前, 可以通过频率恢复来实现时间同步功能, 在实现时间同步时, 需 要借助于时钟芯片实现对时钟源的频率恢复, 再通过 CPU发送协议报文及 FPGA (现场可编程门阵列 )加载的报文时间戳来完成对从时钟的时间修正。 目前针对三层单播报文的实现方式,需要将启用 PTP协议的端口(PTP端口) 的配置写到时钟芯片中, 端口的配置包括 "^文的源、 目的 IP地址信息, 时钟 芯片根据获取到的 IP地址信息进行报文的封装。  At present, the time synchronization function can be realized by frequency recovery. When time synchronization is implemented, the clock source is required to recover the frequency of the clock source by means of the clock chip, and then the protocol message and the FPGA (field programmable gate array) loaded report are sent by the CPU. Time stamp to complete the time correction of the slave clock. Currently, for the implementation of Layer 3 unicast packets, the configuration of the PTP-enabled port (PTP port) needs to be written to the clock chip. The configuration of the port includes the source and destination IP address information of the ^^ message. The IP address information is used to encapsulate the packet.
由于 PTN (分组传送网)设备本身端口资源比较丰富, 根据组网的需要, 一台设备上的 PTP端口也可能有多个, 当组网中设备为多台, 并且从时钟的 时钟源存在保护倒换时, 在时钟源发生切换时, 需要釆用改变后的时钟源端 口的信息更新时钟芯片中保存的相应信息, 这就^容易导致时钟芯片工作的 不稳定, 或者由于对芯片的反复操作导致芯片坏死或无法正常运行。 发明内容  Because the PTN (Packet Transport Network) device has a lot of port resources, there may be multiple PTP ports on one device according to the needs of the networking. When there are multiple devices in the network, and the clock source of the slave clock is protected. During the switching, when the clock source is switched, it is necessary to update the corresponding information stored in the clock chip by using the information of the changed clock source port, which may easily lead to unstable operation of the clock chip or due to repeated operation of the chip. The chip is necrotic or does not function properly. Summary of the invention
本发明要解决的技术问题是提供一种实现时间同步的方法及装置, 解决 由于对时钟芯片反复进行操作, 导致时钟芯片工作不稳定、 容易坏死或无法 正常运行的问题。 The technical problem to be solved by the present invention is to provide a method and device for realizing time synchronization, which solves Due to the repeated operation of the clock chip, the clock chip is unstable, easily necrotic or cannot operate normally.
为解决上述技术问题, 本发明的一种实现时间同步的方法, 包括: 为从时钟设备的时钟芯片配置时钟专用地址; 行时间同步时, 釆用该从时钟端口的地址与主时钟设备进行 ^艮文交互。  In order to solve the above technical problem, a method for implementing time synchronization according to the present invention includes: configuring a clock dedicated address for a clock chip from a clock device; and performing time synchronization, using the address of the slave clock port with the master clock device. Intertextual interaction.
可选地, 该方法还包括:  Optionally, the method further includes:
在为从时钟设备的时钟芯片配置时钟专用地址时, 还为主时钟设备上的 主时钟端口配置 ^艮文目的地址, 并为主时钟端口配置通信地址, ^艮文目的地 址为时钟专用地址。  When the clock dedicated address is configured for the clock chip of the slave clock device, the master clock port on the master clock device is also configured with a destination address, and the master clock port is configured with a communication address, and the destination address is a clock-specific address.
可选地, 该方法还包括:  Optionally, the method further includes:
在为从时钟设备的时钟芯片配置时钟专用地址后, 还在主时钟设备和从 时钟设备上建立时钟专用地址到主时钟端口的通信地址之间的通信路由。  After configuring the clock-specific address for the clock chip from the clock device, a communication route between the clock-specific address and the communication address of the master clock port is also established between the master clock device and the slave clock device.
可选地, 建立时钟专用地址到主时钟端口的通信地址之间的通信路由的 步骤包括:  Optionally, the step of establishing a communication route between the clock-specific address and the communication address of the master clock port includes:
在主时钟设备上启用路由, 将为主时钟端口配置的通信地址添加到路由 域中;  Enable routing on the primary clock device to add the communication address configured for the primary clock port to the routing domain;
在从时钟设备上启用路由, 为从时钟设备的通信端口配置通信地址, 将 时钟专用地址和为该从时钟设备的通信端口配置的通信地址添加到路由域 中。  Routing is enabled on the slave clock device, a communication address is configured for the slave port of the slave clock device, and a clock private address and a communication address configured for the slave port of the slave clock device are added to the routing domain.
可选地, 釆用该从时钟端口的地址与主时钟设备进行报文交互的步骤包 括:  Optionally, the step of using the address of the slave clock port to perform packet interaction with the master clock device includes:
主时钟设备构造第一报文,该第一报文的目的地址为从时钟端口的地址, 第一报文的源地址为主时钟端口的通信地址, 根据通信路由, 将第一报文发 送给从时钟设备;  The master clock device constructs a first packet, and the destination address of the first packet is an address of the slave clock port, and the source address of the first packet is a communication address of the master clock port, and the first packet is sent according to the communication route. Slave clock device
从时钟设备的时钟芯片接收到第一报文后, 构造第二报文, 该第二报文 的源地址为从时钟端口的地址, 第二 ^艮文的目的地址为主时钟端口的通信地 址, 根据通信路由, 将第二报文发送给主时钟设备。 After receiving the first packet from the clock chip of the clock device, constructing a second packet, where the source address of the second packet is the address of the slave clock port, and the destination address of the second packet is the communication site of the master clock port. The address, according to the communication route, sends the second message to the master clock device.
可选地, 为主时钟端口配置的通信地址和为从时钟设备的通信端口配置 通信地址为在端口上添加的虚拟局域网的虚拟局域网接口地址。  Optionally, the communication address configured for the primary clock port and the communication address configured for the slave clock device are the virtual local area network interface addresses of the virtual local area network added on the port.
可选地, 上述主时钟设备为祖父时钟设备。  Optionally, the master clock device is a grandfather clock device.
一种实现时间同步的装置, 包括: 配置模块和时钟芯片, 其中: 配置模块设置为: 为时钟芯片配置时钟专用地址;  A device for implementing time synchronization, comprising: a configuration module and a clock chip, wherein: the configuration module is configured to: configure a clock dedicated address for the clock chip;
时钟芯片设置为: 将时钟专用地址作为从时钟设备上的从时钟端口的地 址, 在进行时间同步时, 釆用该从时钟端口的地址与主时钟设备进行 ^艮文交 互。  The clock chip is set to: use the clock private address as the address of the slave clock port on the slave clock device. When time synchronization is performed, the address of the slave clock port is used to communicate with the master clock device.
可选地, 配置模块还设置为: 为主时钟设备上的主时钟端口配置报文目 的地址, 并为主时钟端口配置通信地址, 报文目的地址为时钟专用地址。  Optionally, the configuration module is further configured to: configure a message address of the primary clock port on the primary clock device, and configure a communication address for the primary clock port, where the destination address of the packet is a clock-specific address.
可选地, 该装置还包括路由处理模块, 其中:  Optionally, the device further includes a routing processing module, where:
配置模块还设置为: 将时钟专用地址、 所述从时钟设备的通信端口的通 信地址和主时钟端口的通信地址添加到路由处理模块;  The configuration module is further configured to: add a clock private address, a communication address of the communication port of the slave clock device, and a communication address of the master clock port to the routing processing module;
路由处理模块设置为: 建立时钟专用地址到主时钟端口的通信地址之间 的通信路由。  The routing processing module is configured to: establish a communication route between the clock-specific address and the communication address of the primary clock port.
可选地, 时钟芯片是设置为以如下方式釆用该从时钟端口的地址与主时 钟设备进行报文交互:  Optionally, the clock chip is configured to perform message exchange with the primary clock device by using the address of the slave clock port as follows:
接收主时钟设备发送的第一报文, 并构造第二报文, 该第二报文的源地 址为从时钟端口的地址, 第二报文的目的地址为主时钟端口的通信地址, 将 该第二报文发送给路由处理模块;  Receiving a first packet sent by the master clock device, and constructing a second packet, where the source address of the second packet is an address of the slave clock port, and the destination address of the second packet is a communication address of the master clock port, The second packet is sent to the routing processing module;
路由处理模块, 还设置为: 根据通信路由, 将第二报文发送给主时钟设 备;  The routing processing module is further configured to: send the second packet to the primary clock device according to the communication route;
其中, 第一 文的目的地址为从时钟端口的地址, 第一 文的源地址为 主时钟端口的通信地址。  The destination address of the first text is the address of the slave clock port, and the source address of the first text is the communication address of the master clock port.
可选地, 上述主时钟设备为祖父时钟设备。  Optionally, the master clock device is a grandfather clock device.
综上所述, 通过在时钟芯片上设置一个时钟专用地址, 釆用该时钟专用 地址进行 PTP报文的封装, 避免因时钟源的切换, 引起的对时钟芯片上的端 口信息的频繁更新, 使时钟芯片工作更加稳定, 并可以延长时钟芯片的使用 寿命。 附图概述 In summary, by setting a clock-specific address on the clock chip, the clock is dedicated. The address encapsulates the PTP packet to avoid frequent update of the port information on the clock chip caused by the switching of the clock source, which makes the clock chip work more stable and can prolong the service life of the clock chip. BRIEF abstract
图 1为本实施方式的实现时间同步的方法的组网模型图;  1 is a networking model diagram of a method for implementing time synchronization according to an embodiment of the present invention;
图 2为本实施方式的实现时间同步的装置的架构图;  2 is an architectural diagram of an apparatus for implementing time synchronization according to an embodiment of the present invention;
图 3为本实施方式的实现时间同步的方法中的配置流程的流程图; 图 4为本实施方式的实现时间同步的方法中的 文交互的流程图。  FIG. 3 is a flowchart of a configuration flow in a method for implementing time synchronization according to an embodiment of the present invention; FIG. 4 is a flowchart of text interaction in a method for implementing time synchronization according to an embodiment of the present invention.
本发明的较佳实施方式 Preferred embodiment of the invention
本实施方式涉及的组网模型如图 1所示, 组网中存在主用主时钟设备和 备用主时钟设备, 主备二者可能是同源, 也可能不同源, 但要求二者的时钟 备进行时钟同步。 为了避免主用主时钟设备的重启、 死机问题, 或者由于从 时钟(SLAVE )设备与主用主时钟设备之间的链路断链, 从时钟设备可通过 与备用主时钟设备的时间同步, 来确保时间源的稳定切换。 本实施方式中的 土 1"钟设 -备可 '以为 i 父 卜钟设备。  The networking model involved in this embodiment is shown in Figure 1. The active primary clock device and the standby primary clock device exist in the networking. The active and standby devices may be the same source or different sources. Perform clock synchronization. In order to avoid the restart or crash of the primary master clock device, or because the link between the slave clock (SLAVE) device and the master master clock device is broken, the slave clock device can synchronize with the time of the standby master clock device. Ensure a stable switch of the time source. In the present embodiment, the soil 1 "clock set - ready" is considered to be the i parent clock device.
本实施方式通过为从时钟设备的时钟芯片配置一个时钟专用地址, 在进 行报文封装时, 将此时钟专用地址作为从时钟端口的地址, 以避免在主时钟 设备切换导致从时钟端口的地址改变时, 修改时钟芯片配置引起的对时钟芯 片的反复操作。  In this embodiment, by configuring a clock dedicated address for the clock chip of the slave clock device, when the message is encapsulated, the clock private address is used as the address of the slave clock port to avoid the address change of the slave clock port caused by the master clock device switching. When the clock chip configuration is modified, the repeated operation of the clock chip is performed.
请参考图 1 ,从时钟设备有两个通信端口 P1和 P2, 当釆用主用主时钟设 备对从时钟设备进行时间同步时, P1为从时钟端口, 当釆用备用主时钟设备 对从时钟设备进行时间同步时, P2为从时钟端口。 现有技术中在主、 备用主 时钟设备发生切换时, 进行报文交互的从时钟端口的配置发生了改变, 需要 对时钟芯片更新从时钟端口的配置, 对时钟芯片的反复操作, 导致了时钟芯 片工作不稳定, 本实施方式将配置的时钟专用地址作为从时钟端口的地址, 避免了由于主、 备用主时钟设备的切换, 导致的对时钟芯片的频繁操作。 为实现本实施方式的方法, 需要进行如下的配置过程, 包括: Referring to Figure 1, the slave clock device has two communication ports P1 and P2. When the master clock device is used for time synchronization of the slave clock device, P1 is the slave clock port, and when the slave master clock device is used, the slave clock is used. When the device synchronizes time, P2 is the slave clock port. In the prior art, when the primary and backup master clock devices are switched, the configuration of the slave clock port for packet exchange is changed, and the clock chip needs to be updated from the clock port configuration, and the clock chip is repeatedly operated, resulting in a clock. The chip works unstable. In this embodiment, the configured clock private address is used as the address of the slave clock port. Frequent operation of the clock chip due to switching of the primary and backup master clock devices is avoided. To implement the method in this embodiment, the following configuration process is required, including:
( 1 )为主时钟设备上的主时钟端口配置在进行 PTP报文封装时所需的 才艮文目的地址和通信地址;  (1) The primary clock port on the primary clock device is configured with the destination address and communication address required for PTP packet encapsulation;
如图 1所示, 主用主时钟设备上的主时钟端口 P11上需要指定 PTP协议 报文的报文目的地址, 配置报文目的地址为从时钟设备的时钟专用地址。 同 时, P11端口上需添加用于 PTP路由通信的 VLAN, 并配置 VLAN接口地址 为 Ipl。  As shown in Figure 1, the destination address of the PTP packet is specified on the primary clock port P11 of the master clock device. The destination address of the packet is the clock-specific address of the slave clock device. At the same time, the VLAN for PTP routing communication needs to be added to the P11 port, and the VLAN interface address is Ipl.
还可以为主时钟设备配置时钟专用地址 Zipl , 主时钟设备的时钟专用地 址是在主时钟设备与从时钟设备发生角色变换时, 用于对角色变换后的从时 钟设备进行时间同步。  The clock-specific address Zipl can also be configured for the master clock device. The clock-specific address of the master clock device is used to time synchronize the time-switched slave clock device when the master clock device and the slave clock device have a role change.
( 2 )为从时钟设备配置在进行 PTP报文封装时所需的时钟专用地址; 如图 1所示,在从时钟设备上为时钟芯片配置时钟专用地址 Zip2, 同时, 需要配置 P1和 P2端口上用于 PTP路由通信的 VLAN,并配置 P2端口的 VLAN 接口地址为 Ip2, PI端口的 VLAN接口地址为 Ip3 , 要求 Ip2与 Ip3在同一网 段。 为 P1和 P2配置的 IP地址, 是为了形成三层单播通信路由。  (2) Configure the clock-specific address required for PTP packet encapsulation from the clock device. As shown in Figure 1, configure the clock-specific address Zip2 for the clock chip on the slave clock device. At the same time, you need to configure the P1 and P2 ports. The VLAN used for PTP routing communication is configured with the IP address of the P2 port as Ip2, and the VLAN interface address of the PI port is Ip3. Ip2 and Ip3 are required to be on the same network segment. The IP addresses configured for P1 and P2 are used to form a Layer 3 unicast communication route.
本实施方式中实现时间同步的过程中, 主时钟设备和从时钟设备需要进 行 PTP协议报文的通信, 下面以组网中的时钟节点均釆用 E2E延时机制来说 明报文的通信过程, 包括: In the process of implementing the time synchronization in the embodiment, the master clock device and the slave clock device need to communicate with the PTP protocol packet. The clock nodes in the networking use the E2E delay mechanism to describe the communication process of the packet. Includes:
步骤一, 主用主时钟设备发送 Sync报文到 SLAVE设备, Sync报文釆用 三层单播报文的格式封装,三层单播报文的目的地址为 SLAVE设备上配置的 时钟专用地址 Zip2 , 源地址为 Ip 1;  Step 1: The primary master clock device sends a Sync message to the SLAVE device, and the Sync message is encapsulated in a format of three layers of unicast packets. The destination address of the layer 3 unicast message is the clock dedicated address Zip2 configured on the SLAVE device. The address is Ip 1;
步骤二, SLAVE设备在收到主用主时钟设备发送的 Sync报文后, 发送 Delay— request报文给主用主时钟设备, Delay— request报文釆用三层单播报文 的格式封装, 此三层单播报文的目的地址为 Ipl , 源地址为 Zip2;  Step 2: After receiving the Sync message sent by the active primary clock device, the SLAVE device sends a Delay_request message to the active primary clock device, and the Delay-request message is encapsulated in a format of the Layer 3 unicast message. The destination address of the Layer 3 unicast packet is Ipl and the source address is Zip2.
步骤三,主用主时钟设备收到 Delay— request报文后,回复 Delay— response 报文给 SLAVE设备, Delay— response报文釆用三层单播报文的格式封装, 此 三层单播 ^文的目的地址为 Zip2, 源地址为 Ipl。 Step 3: After receiving the Delay_request message, the active primary clock device replies to the Delay- response message to the SLAVE device, and the Delay-response message is encapsulated in the format of the Layer 3 unicast message. The destination address of the Layer 3 unicast message is Zip2, and the source address is Ipl.
播通信进行 的路由处理步骤, 包括: The routing processing steps performed by the broadcast communication include:
步骤一, 主时钟设备上启用 ospf (即开放式最短路径优先)路由, 并添 力口网段 Zipl和网段 Ipl到 ospf路由域内;  Step 1: Enable ospf (that is, open shortest path first) routing on the primary clock device, and add the Zipl network segment and the network segment Ipl to the ospf routing domain.
步骤二, SLAVE设备上启用 ospf路由, 并添加网段 Zip2和网段 Ip2和 Ip3到 ospf路由域,从而建立主时钟设备和 SLAVE设备上的时钟专用地址和 端口通信地址之间的通信路由 , 以通过该通信路由进行通信;  Step 2: Enable ospf routing on the SLAVE device, and add the network segment Zip2 and the network segments Ip2 and Ip3 to the ospf routing domain, thereby establishing a communication route between the clock dedicated address and the port communication address on the primary clock device and the SLAVE device, Communicate through the communication route;
这里的 ospf路由也可以用 isis ( Intermediate System-Intermediate System, 中间系统-中间系统)路由或者静态路由等实现。 在时钟设备上完成路由相关 配置后, 设备上会产生子网路由表和主机路由表。 在主时钟设备和 SLAVE 设备进行报文发送时, 会通过查看时钟设备上产生的子网路由表和主机路由 表, 查找到路由出接口, 主用主时钟设备查找到的路由出接口为 P11端口, SLAVE设备查找到的路由出接口为 P1端口。  The ospf route here can also be implemented by using an isis (Intermediate System-Intermediate System) route or a static route. After the routing configuration is complete on the clock device, the subnet routing table and host routing table are generated on the device. When the primary clock device and the SLAVE device send packets, the outbound routing table and the host routing table generated on the clock device are used to find the outbound interface. The outgoing interface of the primary master clock device is the P11 port. The outgoing interface of the route discovered by the SLAVE device is the P1 port.
本实施方式在提出通过在时钟芯片上配置一个时钟专用地址封装 PTP报 文, 以避免因主时钟设备的频繁切换导致对时钟芯片的反复操作的同时, 也 提出了一种实现此方法的装置, 如图 2所示, 包括: 配置模块、 时钟芯片处 理模块和路由处理模块, 其中: In this embodiment, a PTP packet is encapsulated by configuring a clock dedicated address on a clock chip to avoid repeated operations on the clock chip caused by frequent switching of the master clock device, and a device for implementing the method is also proposed. As shown in FIG. 2, the method includes: a configuration module, a clock chip processing module, and a routing processing module, where:
配置模块,设置为:对 SLAVE设备上的时钟专用地址和主时钟设备上的 时钟专用地址进行配置, 在主时钟设备上配置用于 PTP 文封装 "^文目的地 址和通信地址, 并添加用于 PTP路由通信的 VLAN, 配置 VLAN接口地址, 在 SLAVE设备上添加 PTP路由通信的 VLAN , 并配置 VLAN接口地址, 在 主时钟设备上的路由处理模块上添加网段 Zipl和网段 Ipl到 ospf路由域内, 在 SLAVE设备上的路由处理模块上添加网段 Zip2和网段 Ip2和 Ip3到 ospf 路由域,从而建立主时钟设备和 SLAVE设备上的时钟专用地址和端口通信地 址之间的通信路由, 以通过该通信路由进行通信。 时钟芯片, 设置为: 将时钟专用地址作为从时钟设备上的从时钟端口的 地址, 釆用时钟专用地址与主时钟设备进行报文交互, 在接收到主时钟设备 发送的报文(第一报文)后, 构造返回的报文(第二报文) , 该第二报文的 源地址为从时钟端口的地址, 目的地址为主时钟端口的通信地址, 将该第二 报文发送给路由处理模块; The configuration module is configured to: configure a clock private address on the SLAVE device and a clock private address on the primary clock device, configure a PTP text encapsulation address and a communication address on the primary clock device, and add PTP routing communication VLAN, configuring the VLAN interface address, adding the PTP routing communication VLAN to the SLAVE device, and configuring the VLAN interface address. Add the network segment Zipl and the network segment Ipl to the ospf routing domain on the routing processing module on the primary clock device. Adding the network segment Zip2 and the network segments Ip2 and Ip3 to the ospf routing domain on the routing processing module on the SLAVE device, thereby establishing a communication route between the clock dedicated address and the port communication address on the primary clock device and the SLAVE device, to pass The communication route communicates. The clock chip is set to: use the clock private address as the address of the slave clock port on the slave clock device, and use the clock private address to exchange packets with the master clock device, and receive the message sent by the master clock device (first report) After the message, the returned message (the second message) is constructed, and the source address of the second packet is the address of the slave clock port, and the destination address is the communication address of the master clock port, and the second packet is sent to the route. Processing module
路由处理模块, 设置为: 启用 ospf、 Isls等路由, 建立时钟专用地址到主 时钟端口的通信地址之间的通信路由, 实现对 PTP协议报文发送时路由出端 口的查找功能, 以对 PTP报文进行发送。  The routing processing module is configured to: enable routings such as ospf and Isls, and establish a communication route between the clock-specific address and the communication address of the primary clock port, and implement the function of searching for the outgoing port of the PTP protocol packet to the PTP packet. The text is sent.
如图 3所示, 配置模块主要完成 PTP接口和协议的配置、 时钟专用地址 的配置和通信路由的配置三部分, 包括: As shown in Figure 3, the configuration module mainly completes the configuration of the PTP interface and protocol, the configuration of the clock-specific address, and the configuration of the communication route, including:
步骤 301 ,进行 PTP接口和 PTP协议相关的配置, 添加 PTP接口, 同时, 在接口下进行 PTP协议的相关配置;  Step 301: Perform PTP interface and PTP protocol-related configuration, add a PTP interface, and perform PTP protocol configuration on the interface.
步骤 302, 进行时钟芯片的时钟专用地址的配置;  Step 302, performing clock IP address configuration of the clock chip;
步骤 303 , 对 PTP接口添力。 VLAN, 并配置 VLAN接口地址;  Step 303, adding force to the PTP interface. VLAN, and configure the VLAN interface address;
步骤 304, 为主时钟设备上的主时钟端口配置报文目的地址和通信地址, 报文目的地址为 SLAVE设备的时钟专用地址;  Step 304: Configure a destination address and a communication address of the primary clock port on the primary clock device, and the destination address of the packet is a clock dedicated address of the SLAVE device.
步骤 305 ,进行路由配置,保证主时钟设备和 SLAVE从时钟设备的 VLAN 接口地址与时钟专用地址间路由是打通的。  Step 305: Perform routing configuration to ensure that the routing between the VLAN interface address and the clock private address of the primary clock device and the SLAVE slave clock device is open.
在配置模块的相关配置完成后, 通过 BMC算法进行 PTP端口状态的选 择和 1588的时间同步功能, 时间同步的实施流程如图 4所示, 包括: After the configuration of the configuration module is complete, the BMC algorithm performs the PTP port status selection and the 1588 time synchronization function. The time synchronization implementation process is as shown in Figure 4, including:
步骤 401 , 时钟设备的 PTP端口发送 announce报文, 并通过 BMC算法 计算 PTP端口的状态;  Step 401: The PTP port of the clock device sends an announce message, and calculates a state of the PTP port by using a BMC algorithm.
步骤 402, 时钟设备根据对 PTP端口状态的判断决定端口上 PTP报文的 发送, 如果 PTP端口状态为 master (主) , 则转到步骤 403; 否则, 转到步 骤 406; 步骤 403 , master端口发送 Sync报文, Sync报文釆用三层单播报文的格 式, 此三层单播 文的目的地址封装为 SLAVE设备上配置的时钟专用地址, 源地址封装为 PTP接口所在 VLAN的 ip地址; Step 402, the clock device determines the PTP packet transmission on the port according to the judgment of the state of the PTP port. If the PTP port status is master (main), go to step 403; otherwise, go to step 406; Step 403: The master port sends a Sync message, and the Sync message uses a format of a Layer 3 unicast message. The destination address of the Layer 3 unicast message is encapsulated into a clock-specific address configured on the SLAVE device, and the source address is encapsulated as a PTP interface. IP address of the VLAN;
步骤 404 , master端口接收 slave端口发送的 Delay— req报文;  Step 404: The master port receives the Delay-req packet sent by the slave port.
步骤 405 , master端口回复 Delay— resp 4艮文给 slave端口, 结束; 步骤 406 , 非 master端口接收 master端口过来的 Sync报文, 判断端口状 态是否为 slave, 如果是, 转到步骤 408, 如果不是, 转到步骤 407;  In step 405, the master port replies to the slave port to the slave port, and ends. Step 406: The non-master port receives the Sync message from the master port, and determines whether the port status is a slave. If yes, go to step 408, if not Go to step 407;
步骤 407 , 如果端口不是 slave端口, 则为 passive状态, passive端口只 收 PTP协议包但不外发任何 PTP报文, 结束;  Step 407: If the port is not a slave port, the port is in a passive state, and the passive port only receives the PTP protocol packet but does not send any PTP packet, and ends;
步骤 408, slave端口发送 Delay— request报文, Delay— request报文釆用三 层单播报文的格式, 此三层单播报文用的目的地址为 Sync报文的源 ip地址, 源地址为 slave端口所在时钟设备配置的时钟专用地址;  Step 408: The slave port sends a Delay-request message, and the Delay-request message uses a format of a Layer 3 unicast message. The destination address of the Layer 3 unicast message is the source IP address of the Sync message, and the source address is slave. The clock-specific address configured by the clock device where the port is located;
步骤 409, slave端口收到 master过来的 Delay— response报文后, 提取报 文的时间戳, slave端口完成时间校验, 完成与 master的时间同步。  Step 409: After receiving the Delay-response packet from the master, the slave port extracts the timestamp of the packet, completes the check of the slave port, and completes time synchronization with the master.
显然, 本领域的技术人员应该明白, 上述各模块、 各步骤可以用通用的 计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算 装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实 现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 或者将它们分 别制作成各个集成电路模块, 或者将它们的多个模块或者步骤制作成单个集 成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和软件结合。 Obviously, those skilled in the art should understand that the above modules and steps can be implemented by using a general-purpose computing device, which can be concentrated on a single computing device or distributed on a network composed of multiple computing devices. They may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device, or they may be fabricated into individual integrated circuit modules, or multiple modules thereof or The steps are made into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的实施例而已, 并不用于限制本发明, 对于本领域 的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则 之内, 所做的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围 之内。  The above is only the embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. All modifications, equivalents, improvements, etc., made within the spirit and scope of the invention are intended to be included within the scope of the invention.
工业实用性 Industrial applicability
上述实施方式通过在时钟芯片上设置一个时钟专用地址, 釆用该时钟专 用地址进行 PTP报文的封装, 避免因时钟源的切换, 引起的对时钟芯片上的 端口信息的频繁更新, 使时钟芯片工作更加稳定, 并可以延长时钟芯片的使 用寿命。 The above embodiment adopts a clock dedicated address on the clock chip, and uses the clock The PTP packet is encapsulated by the address to avoid frequent update of the port information on the clock chip caused by the switching of the clock source, which makes the clock chip work more stable and can prolong the service life of the clock chip.

Claims

权 利 要 求 书 Claim
1、 一种实现时间同步的方法, 包括: 1. A method for implementing time synchronization, comprising:
为从时钟设备的时钟芯片配置时钟专用地址;  Configuring a clock-specific address for the clock chip from the clock device;
的地址, 在进行时间同步时, 釆用该从时钟端口的地址与主时钟设备进行报 文交互。 The address of the slave clock port is used to exchange messages with the master clock device during time synchronization.
2、 如权利要求 1所述的方法, 该方法还包括: 2. The method of claim 1 further comprising:
在所述为从时钟设备的时钟芯片配置时钟专用地址时, 还为所述主时钟 设备上的主时钟端口配置 文目的地址,并为所述主时钟端口配置通信地址, 所述 4艮文目的地址为所述时钟专用地址。  When the clock-specific address is configured from the clock chip of the clock device, the master clock port on the master clock device is configured with a text address, and the master clock port is configured with a communication address. The address is the clock dedicated address.
3、 如权利要求 2所述的方法, 该方法还包括: 3. The method of claim 2, further comprising:
在所述为从时钟设备的时钟芯片配置时钟专用地址后, 还在所述主时钟 设备和从时钟设备上建立所述时钟专用地址到所述主时钟端口的通信地址之 间的通信路由。  After the clock-specific address is configured from the clock chip of the clock device, a communication route between the clock-specific address and the communication address of the master clock port is also established on the master clock device and the slave clock device.
4、 如权利要求 3所述的方法, 其中, 所述建立所述时钟专用地址到所述 主时钟端口的通信地址之间的通信路由的步骤包括: 4. The method of claim 3, wherein the step of establishing a communication route between the clock-specific address and the communication address of the master clock port comprises:
在所述主时钟设备上启用路由, 将为所述主时钟端口配置的通信地址添 加到路由域中;  Enabling routing on the primary clock device to add a communication address configured for the primary clock port to the routing domain;
在所述从时钟设备上启用路由, 为所述从时钟设备的通信端口配置通信 地址, 将所述时钟专用地址和为该从时钟设备的通信端口配置的通信地址添 加到路由域中。  Routing is enabled on the slave clock device, a communication address is configured for the communication port of the slave clock device, and the clock private address and the communication address configured for the communication port of the slave clock device are added to the routing domain.
5、 如权利要求 3所述的方法, 其中, 所述釆用所述从时钟端口的地址与 所述主时钟端口进行 文交互的步骤包括: The method of claim 3, wherein the step of interacting with the master clock port by using the address of the slave clock port comprises:
所述主时钟设备构造第一报文, 该第一报文的目的地址为所述从时钟端 口的地址, 所述第一 ^艮文的源地址为所述主时钟端口的通信地址, 才艮据所述 通信路由, 将所述第一报文发送给所述从时钟设备; 所述从时钟设备的时钟芯片接收到所述第一报文后, 构造第二报文, 该 第二 文的源地址为所述从时钟端口的地址, 所述第二 ^艮文的目的地址为所 述主时钟端口的通信地址, 根据所述通信路由, 将所述第二报文发送给所述 主时钟设备。 The master clock device constructs a first packet, the destination address of the first packet is an address of the slave clock port, and the source address of the first packet is a communication address of the master clock port, Sending the first packet to the slave clock device according to the communication route; After receiving the first packet from the clock chip of the clock device, constructing a second packet, where a source address of the second text is an address of the slave clock port, and a destination address of the second packet Sending, by the communication address of the primary clock port, the second packet to the primary clock device according to the communication route.
6、 如权利要求 4所述的方法, 其中, 6. The method of claim 4, wherein
所述为所述主时钟端口配置的通信地址和为所述从时钟设备的通信端口 配置通信地址为在端口上添加的虚拟局域网的虚拟局域网接口地址。  The communication address configured for the primary clock port and the communication address configured for the communication port of the slave clock device are virtual local area network interface addresses of a virtual local area network added on the port.
7、如权利要求 1-6所述的方法,其中, 所述主时钟设备为祖父时钟设备。  7. The method of claims 1-6, wherein the master clock device is a grandfather clock device.
8、 一种实现时间同步的装置, 包括: 配置模块和时钟芯片, 其中: 所述配置模块设置为: 为所述时钟芯片配置时钟专用地址; 端口的地址, 在进行时间同步时, 釆用该从时钟端口的地址与主时钟设备进 行才艮文交互。 8. The device for implementing time synchronization, comprising: a configuration module and a clock chip, wherein: the configuration module is configured to: configure a clock-specific address for the clock chip; and address the port, when performing time synchronization, use the The address of the slave clock port interacts with the master clock device.
9、 如权利要求 8所述的装置, 其中: 9. Apparatus according to claim 8 wherein:
所述配置模块还设置为: 为所述主时钟设备上的主时钟端口配置报文目 的地址, 并为所述主时钟端口配置通信地址, 所述 ^艮文目的地址为所述时钟 专用地址。  The configuration module is further configured to: configure an address of a message for the master clock port on the master clock device, and configure a communication address for the master clock port, where the destination address is the clock-specific address.
10、 如权利要求 9所述的装置, 该装置还包括路由处理模块, 其中: 所述配置模块还设置为: 将所述时钟专用地址、 所述从时钟设备的通信 端口的通信地址和所述主时钟端口的通信地址添加到所述路由处理模块; 所述路由处理模块设置为: 建立所述时钟专用地址到所述主时钟端口的 通信地址之间的通信路由。 10. The apparatus of claim 9, further comprising a routing processing module, wherein: the configuration module is further configured to:: the clock dedicated address, a communication address of a communication port of the slave clock device, and the The communication address of the master clock port is added to the route processing module; the route processing module is configured to: establish a communication route between the clock-specific address and the communication address of the master clock port.
11、 如权利要求 9所述的装置, 其中, 所述时钟芯片是设置为以如下方 式釆用该从时钟端口的地址与主时钟设备进行报文交互: 11. The apparatus according to claim 9, wherein the clock chip is configured to perform message exchange with the master clock device by using an address of the slave clock port as follows:
接收主时钟设备发送的第一报文, 并构造第二报文, 该第二报文的源地 址为所述从时钟端口的地址, 所述第二 ^艮文的目的地址为所述主时钟端口的 通信地址, 将该第二报文发送给所述路由处理模块; Receiving a first packet sent by the master clock device, and constructing a second packet, where a source address of the second packet is an address of the slave clock port, and a destination address of the second packet is the master clock Port a communication address, the second packet is sent to the routing processing module;
所述路由处理模块还设置为: 根据所述通信路由, 将所述第二报文发送 给所述主时钟设备;  The routing processing module is further configured to: send the second packet to the primary clock device according to the communication route;
其中, 所述第一报文的目的地址为所述从时钟端口的地址, 所述第一报 文的源地址为所述主时钟端口的通信地址。  The destination address of the first packet is an address of the slave clock port, and the source address of the first packet is a communication address of the master clock port.
12、 如权利要求 8-11所述的装置, 其中, 所述主时钟设备为祖父时钟设 备。  12. Apparatus according to claims 8-11, wherein said master clock device is a grandfather clock device.
PCT/CN2011/078863 2010-12-02 2011-08-24 Method and device for achieving time synchronization WO2012071910A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010570492.XA CN102013969B (en) 2010-12-02 2010-12-02 Method and device for realizing time synchronization
CN201010570492.X 2010-12-02

Publications (1)

Publication Number Publication Date
WO2012071910A1 true WO2012071910A1 (en) 2012-06-07

Family

ID=43844001

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/078863 WO2012071910A1 (en) 2010-12-02 2011-08-24 Method and device for achieving time synchronization

Country Status (2)

Country Link
CN (1) CN102013969B (en)
WO (1) WO2012071910A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112769606A (en) * 2020-12-31 2021-05-07 网络通信与安全紫金山实验室 Method, device and storage medium for energy conservation of clock synchronization network
CN113704045A (en) * 2021-07-12 2021-11-26 新华三半导体技术有限公司 Clock synchronization test method, system and chip

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102013969B (en) * 2010-12-02 2015-06-03 中兴通讯股份有限公司 Method and device for realizing time synchronization
CN102821033B (en) * 2011-06-10 2017-04-12 中兴通讯股份有限公司 Message transmission method and device
CN102244573B (en) * 2011-07-18 2017-03-22 中兴通讯股份有限公司 clock reporting method and device
CN102412956B (en) * 2011-11-29 2014-12-10 中兴通讯股份有限公司 Protocol unicast manner synchronization method, devices and system
CN102647244B (en) * 2012-05-14 2015-03-11 哈尔滨工业大学 Method and system for realizing precise time synchronization under IPv6 (Internet Protocol version 6) protocol
CN102761407A (en) * 2012-07-16 2012-10-31 中兴通讯股份有限公司 Machine frame straddling system and implementation method and device of time and frequency passthrough thereof
CN103532970B (en) * 2013-10-23 2016-12-07 杭州华三通信技术有限公司 The transmission method of a kind of time synchronized message and equipment
CN106850175B (en) * 2015-12-07 2020-11-27 中兴通讯股份有限公司 Method and device for sharing IP address
CN110166279B (en) * 2019-04-09 2021-05-18 中南大学 Dynamic layout method of unstructured cloud data management system
CN111404628B (en) * 2019-06-05 2022-03-29 杭州海康威视系统技术有限公司 Time synchronization method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999061960A1 (en) * 1998-05-25 1999-12-02 Nanyang Polytechnic Wireless synchronous clock system
CN101051887A (en) * 2007-05-17 2007-10-10 中控科技集团有限公司 Clock synchronizing method, device and system in multiplex network
CN101170373A (en) * 2007-11-27 2008-04-30 上海自动化仪表股份有限公司 Clock synchronization realization method for loop network
CN101232457A (en) * 2008-02-22 2008-07-30 浙江大学 High-precision real-time synchronization method based on IEEE1588
CN102013969A (en) * 2010-12-02 2011-04-13 中兴通讯股份有限公司 Method and device for realizing time synchronization

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731703A (en) * 2004-08-05 2006-02-08 中兴通讯股份有限公司 Time synchronization method in third-generation mobile communication system
CN101436923B (en) * 2008-12-05 2012-01-25 华为技术有限公司 Method, equipment and network system for synchronizing clock

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999061960A1 (en) * 1998-05-25 1999-12-02 Nanyang Polytechnic Wireless synchronous clock system
CN101051887A (en) * 2007-05-17 2007-10-10 中控科技集团有限公司 Clock synchronizing method, device and system in multiplex network
CN101170373A (en) * 2007-11-27 2008-04-30 上海自动化仪表股份有限公司 Clock synchronization realization method for loop network
CN101232457A (en) * 2008-02-22 2008-07-30 浙江大学 High-precision real-time synchronization method based on IEEE1588
CN102013969A (en) * 2010-12-02 2011-04-13 中兴通讯股份有限公司 Method and device for realizing time synchronization

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112769606A (en) * 2020-12-31 2021-05-07 网络通信与安全紫金山实验室 Method, device and storage medium for energy conservation of clock synchronization network
CN112769606B (en) * 2020-12-31 2022-12-20 网络通信与安全紫金山实验室 Method, device and storage medium for energy conservation of clock synchronization network
CN113704045A (en) * 2021-07-12 2021-11-26 新华三半导体技术有限公司 Clock synchronization test method, system and chip
CN113704045B (en) * 2021-07-12 2024-03-19 新华三半导体技术有限公司 Clock synchronization test method, system and chip

Also Published As

Publication number Publication date
CN102013969A (en) 2011-04-13
CN102013969B (en) 2015-06-03

Similar Documents

Publication Publication Date Title
WO2012071910A1 (en) Method and device for achieving time synchronization
EP2487819B1 (en) Network element for a packet-switched network
US20130227008A1 (en) Clock synchronization based on predefined grandmaster
WO2014101669A1 (en) Time synchronization method and system
KR101781763B1 (en) Method and apparatus for configuring onu as ieee 1588 master clock in pon
JPWO2008120267A1 (en) Edge node redundancy system
WO2014187369A1 (en) Method and apparatus for processing time synchronization
JP5373185B2 (en) Add and drop elements for NTP on-path support and interoperability method between NTP domain and IEEE-1588 protocol domain
CN102638389A (en) Redundancy backup method and system of TRILL (Transparent Interconnection over Lots of Links) network
WO2012068845A1 (en) Method and system for time synchronization
WO2012003746A1 (en) Method and device for realizing boundary clock
WO2011134371A1 (en) Method for synchronizing clocks and clock synchronization device
WO2018171529A1 (en) Method, device and computer storage medium for implementing double control plane
WO2017177751A1 (en) Time synchronization method and apparatus
JP2015122665A (en) Relay system and switch device
CN107852682B (en) Method and apparatus for determining synchronization reference
CN102342051B (en) For coming the method for synchronised clock and relevant system and module by separating transmission first and second data via at least one time distribution protocol
CN112929117B (en) Compatible definable deterministic communication Ethernet
US20160173216A1 (en) Apparatus and Method for Two-Way Timestamp Exchange
JP2014127887A (en) Communication control device
EP2458757B1 (en) A method for transmitting IEEE 1588V2 synchronization packets over ethernet in link-by-link mode, via network elements having a transparent clock, and associated help device
JP6805938B2 (en) Virtual LAN time synchronization method
JP2014032055A (en) Communication system
CN214627023U (en) Switching equipment compatible with definable deterministic communication Ethernet
WO2014086254A1 (en) Clock protection method and system and related ordinary clock 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: 11845439

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

Country of ref document: EP

Kind code of ref document: A1