WO2011072442A1 - Method and system for communication between master clock and slave clock - Google Patents

Method and system for communication between master clock and slave clock Download PDF

Info

Publication number
WO2011072442A1
WO2011072442A1 PCT/CN2009/075639 CN2009075639W WO2011072442A1 WO 2011072442 A1 WO2011072442 A1 WO 2011072442A1 CN 2009075639 W CN2009075639 W CN 2009075639W WO 2011072442 A1 WO2011072442 A1 WO 2011072442A1
Authority
WO
WIPO (PCT)
Prior art keywords
clock
message
master
slave
slave clock
Prior art date
Application number
PCT/CN2009/075639
Other languages
French (fr)
Chinese (zh)
Inventor
曹海萍
陈伟
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to PCT/CN2009/075639 priority Critical patent/WO2011072442A1/en
Publication of WO2011072442A1 publication Critical patent/WO2011072442A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/14Monitoring arrangements
    • 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

Abstract

A method and system for communication between a master clock and a slave clock are disclosed in the present invention. The method includes the following steps: A server authenticates the slave clock and determines the master clock for the slave clock after judging that the slave clock is legal; The slave clock performs time synchronization with the master clock. The invention introduces the server to authenticate the slave clock and to determine the master clock for the slave clock after judging that the slave clock is legal and then enables the slave clock to perform time synchronization with the master clock, so as to save the network resources, prevent the slave clock from frequently changing the master clock, and solve the problem that the master clock provides a clock message to an unexpected slave clock simultaneously. In the process of synchronizing the slave clock with the master clock, the master clock accomplishes the unicast request of the announce message, the sync message and the delay measurement response message in by a unicast negotiation, thus the effectiveness of the unicast negotiation can be further improved.

Description

一种主从时钟通信的方法及系统  Method and system for master-slave clock communication
技术领域 Technical field
本发明涉及网络时间同步技术领域, 特别是涉及一种主从时钟通信的方 法及系统。 背景技术  The present invention relates to the field of network time synchronization technologies, and in particular, to a method and system for master-slave clock communication. Background technique
目前 IEEE1588 PTP ( Precision Time Protocol )协议给出了主从时钟建立 链接并进行同步的机制在从时钟侧看来可以分为两个阶段, 首先是选择主时 钟建立链接阶段, 然后是与选定的主时钟的同步阶段, 协议中的所有消息均 可统称为 PTP消息。 下面结合图 1进行说明。  At present, the IEEE1588 PTP (Precision Time Protocol) protocol gives the master-slave clock to establish a link and synchronize the mechanism. From the clock side, it can be divided into two phases. The first is to select the master clock to establish the link phase, and then the selected During the synchronization phase of the master clock, all messages in the protocol can be collectively referred to as PTP messages. The following description will be made with reference to Fig. 1.
主时钟上电后以组播方式周期性的下发通知 (Announce ) 消息, 同步消 息(Sync ) , 跟进消息(FollowUp ) , 跟进消息中带有同步消息的发送时间。  After the main clock is powered on, the announcement (Announce) message, the synchronization message (Sync), the follow-up message (FollowUp), and the sending time of the synchronization message in the follow-up message are periodically sent in a multicast manner.
选择主时钟建立链接阶段: 同一个网络中的从时钟上电后一直监听通知 消息, 收到通知消息后, 判断消息中携带的时钟质量指标, 如果时钟质量优 于自己的时钟质量则选择该时钟为自己的主时钟。  Select the master clock to establish the link phase: After the slave clock in the same network is powered on, the notification message is always monitored. After receiving the notification message, determine the clock quality indicator carried in the message. If the clock quality is better than the clock quality, select the clock. For your own master clock.
与选定的主时钟同步阶段: 从时钟选择主时钟后, 接收此选定的主时钟 以组播方式发送的同步消息, 跟进消息, 并在收到同步消息后立即向选定的 主时钟发送延迟测量消息(Delay-Req ) , 发送时记录下发送时间, 主时钟在 收到延迟测量消息后必须回复延迟响应消息 (Delay-Resp ) , 这个消息中携 带有接收延迟测量消息的时间, 这样一次同步消息交互就完成了, 从时钟此 时可以获知四个时间戳, tl:Sync 消息发送时间, t2:Sync 消息接收时间, t3: Delay-Req消息发送时间, t4:Delay-Req消息接收时间。 利用这些时间戳确 定此从时钟与与主时钟之间的时间偏差, 并进行本地时钟校正, 达到与主时 钟同步的目的。  Synchronization with the selected master clock: After the master clock is selected from the clock, the synchronization message sent by the selected master clock in multicast mode is received, the message is followed, and the selected master clock is received immediately after receiving the synchronization message. Sending a delay measurement message (Delay-Req), recording the transmission time, the main clock must reply to the delay response message (Delay-Resp) after receiving the delay measurement message, and the message carries the time of receiving the delay measurement message, so that A synchronization message interaction is completed. The slave clock can know four timestamps at this time, tl: Sync message transmission time, t2: Sync message reception time, t3: Delay-Req message transmission time, t4: Delay-Req message reception time. . These time stamps are used to determine the time offset between this slave clock and the master clock, and local clock correction is performed to synchronize with the master clock.
现有方法存在以下问题:  Existing methods have the following problems:
一, 主时钟上电后以组播方式周期性的下发通知 (Announce ) 消息, 同 一个网络中的从时钟上电后一直监听通知消息, 当收到后, 如果主时钟的时 钟质量好于自己的时钟质量, 就选择该时钟为自己的主时钟。 这种方式会导 致带宽浪费, 尤其是在网络中没有在线的从时钟并且网络中存在多个主时钟 时, 从时钟很可能频繁的更换自己的主时钟, 并且找到一个用户不能识别的 主时钟, 导致主从的同步不能得到有效的管理。 First, after the main clock is powered on, the Announce message is periodically sent in multicast mode. After the slave clock in the same network is powered on, the notification message is always monitored. When received, if the master clock is received. The clock quality is better than its own clock quality, and the clock is chosen as its own master clock. This method leads to wasted bandwidth. Especially when there is no online slave clock in the network and there are multiple master clocks in the network, the slave clock is likely to frequently change its master clock and find a master clock that the user cannot recognize. Synchronization that causes master-slave cannot be effectively managed.
二, 当前协议给出的通信机制是只要能够收到主时钟的通知消息和同步 消息, 就可以向该主时钟发送延迟测量消息, 而主时钟一旦收到从时钟的延 迟请求 (Delay-Req ) 消息, 就必须要回复延迟响应 (Delay-Resp ) , 当从时 钟不在该主时钟授权范围内, 则主时钟回复的延迟响应消息的发送频率比较 高, 因此浪费的带宽和网络资源不能忽视。 另外, 对于主时钟的安全性是一 个潜在的严重性问题, 比如网络中多个从时钟恶意多发很多延迟测量请求消 息, 而主时钟必须要对所有这些消息进行响应, 造成主时钟负担。 发明内容  Second, the communication mechanism given by the current protocol is that as long as the notification message and the synchronization message of the master clock can be received, the delay measurement message can be sent to the master clock, and the master clock receives the delay request from the slave clock (Delay-Req). For the message, the delay response (Delay-Resp) must be replied. When the slave clock is not within the master clock authorization range, the delay response message sent by the master clock is sent at a relatively high frequency, so the wasted bandwidth and network resources cannot be ignored. In addition, the security of the primary clock is a potential serious problem. For example, multiple slave clocks in the network maliciously send many delay measurement request messages, and the master clock must respond to all these messages, causing the master clock to bear. Summary of the invention
本发明要解决的技术问题是提供一种主从时钟通信的方法及系统, 实现 对从时钟合法性判别, 节省带宽资源, 提高主时钟与从时钟的可管理性和安 全性。  The technical problem to be solved by the present invention is to provide a method and system for master-slave clock communication, which realizes discriminating the validity of the slave clock, saves bandwidth resources, and improves manageability and security of the master clock and the slave clock.
为了解决上述问题, 本发明提供了一种主从时钟通信的方法, 其中, 包 括: 服务器对从时钟进行鉴权, 判定所述从时钟合法后为所述从时钟确定一 主时钟, 所述主时钟与所述从时钟进行时间同步。  In order to solve the above problem, the present invention provides a method for master-slave clock communication, which includes: a server authenticating a slave clock, determining that the slave clock is legal, and determining a master clock for the slave clock, the master The clock is time synchronized with the slave clock.
进一步地, 上述方法还具有以下特点:  Further, the above method has the following features:
所述从时钟向服务器发送查询主时钟的请求消息, 所述服务器收到所述 请求消息后对从时钟进行鉴权, 判定所述从时钟合法且为所述从时钟确定主 时钟后, 将所述请求消息转发至所述主时钟, 所述主时钟向所述从时钟发送 查询主时钟请求响应消息, 所述从时钟与所述主时钟进行单播协商, 协商成 功后所述主时钟与所述从时钟进行时间同步。  The slave clock sends a request message for querying the master clock to the server, and after the server receives the request message, the slave server authenticates the slave clock, determines that the slave clock is legal, and determines the master clock for the slave clock, The request message is forwarded to the master clock, and the master clock sends an inquiry master clock request response message to the slave clock, and the slave clock performs unicast negotiation with the master clock. After the negotiation succeeds, the master clock and the master clock The slave clock is time synchronized.
进一步地, 上述方法还具有以下特点:  Further, the above method has the following features:
所述从时钟向所述服务器发送的查询主时钟的请求消息中包括主时钟是 否支持多个类型的消息单播协商的查询; 所述主时钟支持多个类型的消息单 播协商时, 在向所述从时钟发送的所述查询主时钟请求响应消息中携带支持 多个类型的消息单播协商的指示, 所述主时钟在协商成功后以单播方式发送 通知消息、 同步消息和跟进消息。 The request message for querying the master clock sent from the clock to the server includes a query for whether the master clock supports multiple types of message unicast negotiation; the master clock supports multiple types of message lists. During the broadcast negotiation, the Query Master Clock Request Response message sent to the slave clock carries an indication that supports multiple types of message unicast negotiation, and the master clock sends the notification message in a unicast manner after the negotiation succeeds. Synchronize messages and follow up messages.
进一步地, 上述方法还具有以下特点:  Further, the above method has the following features:
所述从时钟与所述主时钟进行单播协商的过程为: 所述从时钟向所述主 时钟发送统一单播协商请求消息以请求主时钟以单播方式发送通知消息、 同 步消息和跟进消息;所述主时钟发送统一单播协商授予消息以表示协商成功, 并通知以单播方式发送消息的周期。 进一步地, 上述方法还具有以下特点:  The process of performing unicast negotiation between the slave clock and the master clock is: sending, by the slave clock, a unified unicast negotiation request message to the master clock, requesting the master clock to send the notification message, the synchronization message, and the follow-up in a unicast manner The primary clock sends a unified unicast negotiation grant message to indicate that the negotiation is successful, and notifies the period in which the message is sent in unicast mode. Further, the above method has the following features:
所述服务器在服务范围包含所述从时钟的各主时钟中选择时钟质量最好 的一个作为所述从时钟的主时钟。  The server selects one of the master clocks including the slave clock as the master clock of the slave clock in the service range.
进一步地, 上述方法还具有以下特点:  Further, the above method has the following features:
所述服务器根据所述从时钟的 IP地址判断所述从时钟是否合法。  The server determines whether the slave clock is legal according to the IP address of the slave clock.
进一步地, 上述方法还具有以下特点:  Further, the above method has the following features:
所述服务器鉴权所述从时钟非法后, 通知所述从时钟查询主时钟失败。  After the server authenticates the slave clock, the slave clock is notified that the master clock fails to be queried.
为了解决上述问题, 本发明还提供了一种主从时钟通信的系统, 包括: 主时钟、 从时钟、 服务器, 其中, 所述服务器, 用于对从时钟进行鉴权, 判 定所述从时钟合法后为所述从时钟确定一主时钟; 所述主时钟, 用于与所述 从时钟进行时间同步。 In order to solve the above problems, the present invention further provides a system for master-slave clock communication, including: a master clock, a slave clock, and a server, wherein the server is configured to authenticate a slave clock, and determine that the slave clock is legal. A master clock is determined for the slave clock; the master clock is used for time synchronization with the slave clock.
进一步地, 上述系统还具有以下特点:  Further, the above system also has the following features:
所述从时钟, 用于向所述服务器发送查询主时钟的请求消息, 所述请求 消息中包括主时钟是否支持多个类型的消息单播协商的查询; 所述主时钟, 用于向所述从时钟发送查询主时钟请求响应消息, 并在此消息中携带是否支 持多个类型的消息单播协商的指示; 并在与所述从时钟协商成功后, 以单播 方式发送通知消息、 同步消息和跟进消息; 所述服务器, 还用于收到所述请 求消息后对从时钟进行鉴权, 判定所述从时钟合法且为所述从时钟确定主时 钟后, 将所述请求消息转发至所述主时钟。 进一步地, 上述系统还具有以下特点: The slave clock is configured to send a request message for querying a master clock to the server, where the request message includes a query that the master clock supports multiple types of message unicast negotiation; the master clock is used to The slave clock sends an inquiry master clock request response message, and carries an indication of whether to support multiple types of message unicast negotiation; and after the negotiation with the slave clock succeeds, the notification message and the synchronization message are sent in a unicast manner. And the following information: the server is further configured to: after receiving the request message, authenticating the slave clock, determining that the slave clock is legal, and determining the master clock for the slave clock, forwarding the request message to The master clock. Further, the above system also has the following features:
所述服务器, 还用于在服务范围包含所述从时钟的各主时钟中选择时钟 质量最好的一个作为所述从时钟的主时钟; 还用于根据所述从时钟的 IP地址 判断所述从时钟是否合法。  The server is further configured to: select, as a master clock of the slave clock, one of the master clocks including the slave clock as a master clock of the slave clock; and further, determine, according to the IP address of the slave clock, the Whether the slave clock is legal.
本发明引入服务器为从时钟鉴权, 判定所述从时钟合法后为从时钟确定 一主时钟, 从时钟与此主时钟进行时间同步, 可节省网络资源, 并防止从时 钟频繁更换主时钟, 同时解决主时钟向不期望的从时钟提供时钟消息的问题。 从时钟与此主时钟进行时间同步的过程中, 主时钟以一次单播协商完成通知 消息, 同步消息, 延迟测量响应消息的单播请求, 可进一步提高单播协商的 有效性。 服务器在服务范围包含从时钟的各主时钟中选择时钟质量最好的一 个作为从时钟的主时钟, 以解决主时钟对不在授权范围内的从时钟进行同步 消息发送从而浪費带宽资源的问题。 附图概述 The invention introduces the server as the slave clock authentication, determines that the slave clock is legal, and determines a master clock for the slave clock, and the slave clock synchronizes time with the master clock, thereby saving network resources and preventing the slave clock from frequently changing the master clock. Addresses the problem of the master clock providing a clock message to an undesired slave clock. During the time synchronization between the clock and the master clock, the master clock completes the notification message, the synchronization message, and the unicast request of the delay measurement response message by one unicast negotiation, which can further improve the effectiveness of the unicast negotiation. The server selects one of the master clocks that are the best clock quality from the master clocks of the clock as the master clock of the slave clock to solve the problem that the master clock sends synchronous messages to the slave clocks that are not within the authorized range, thereby wasting bandwidth resources. BRIEF abstract
图 1是现有协议中的主从时钟建立链接过程示意图;  FIG. 1 is a schematic diagram of a master-slave clock establishing link process in an existing protocol;
图 2是实施例中的主从时钟通信的方法的流程图。 本发明的较佳实施方式  2 is a flow chart of a method of master-slave clock communication in an embodiment. Preferred embodiment of the invention
主从时钟通信的系统, 包括: 主时钟、 从时钟、 服务器。  The system of master-slave clock communication includes: master clock, slave clock, and server.
主时钟, 用于与从时钟进行时间同步; 还用于在支持多个类型的消息单 播协商时, 在向所述从时钟发送查询主时钟请求响应消息中携带支持多个类 型的消息单播协商的指示; 并在与所述从时钟协商成功后, 以单播方式发送 通知消息、 同步消息和跟进消息。  The master clock is used for time synchronization with the slave clock. It is also used to carry multiple types of message unicast in the query sending master clock request response message to the slave clock when supporting multiple types of message unicast negotiation. An indication of negotiation; and after successfully negotiating with the slave clock, sending a notification message, a synchronization message, and a follow-up message in a unicast manner.
从时钟, 用于向服务器发送查询主时钟的请求消息, 所述请求消息中包 括主时钟是否支持多个类型的消息单播协商的查询; 还用于收到通知消息后 确定所述主时钟为自己的主时钟, 并才艮据所述同步消息和所述跟进消息完成 与所述主时钟的时间同步。 服务器, 用于收到所述请求消息后, 对从时钟进行鉴权, 判定所述从时 钟合法后为所述从时钟确定一主时钟, 将所述请求消息转发至所述主时钟; 还用于在服务范围包含所述从时钟的各主时钟中选择时钟质量最好的一个作 为所述从时钟的主时钟; 还用于根据所述从时钟的 IP地址判断所述从时钟是 否合法。 The slave clock is configured to send a request message for querying the master clock to the server, where the request message includes a query for whether the master clock supports multiple types of message unicast negotiation, and is further configured to: after receiving the notification message, determine that the master clock is Its own master clock, and the time synchronization with the master clock is completed according to the synchronization message and the follow-up message. a server, after receiving the request message, authenticating the slave clock, determining that the slave clock is legal, determining a master clock for the slave clock, and forwarding the request message to the master clock; And selecting, as the master clock of the slave clock, one of the master clocks including the slave clock in the service range; and determining whether the slave clock is legal according to the IP address of the slave clock.
主从时钟通信的方法包括: 服务器对从时钟进行鉴权, 判定所述从时钟 合法后为此从时钟确定一主时钟, 此主时钟与所述从时钟进行时间同步。 The method for master-slave clock communication includes: the server authenticates the slave clock, determines that the slave clock is legal, and determines a master clock for the slave clock, and the master clock is time-synchronized with the slave clock.
如图 2所示, 主从时钟通信的方法具体包括:  As shown in FIG. 2, the method for master-slave clock communication specifically includes:
步骤 201 , 从时钟上电 (Power On )后, 向服务器发送查询主时钟的请 求消息 (Req_Master ) 并开始计时, 此请求消息中可包括: 主时钟信息的查 询, 主时钟是否支持单播协商的查询, 可以是以下参数中的一个: 主时钟是 否支持单一类型的消息单播协商 (即为每一个类型消息进行单播协商, 主时 钟收到某一类型消息的单播协商请求后, 对该类型消息进行单播消息发送); 主时钟是否支持多个类型的消息单播协商(主时钟收到一个单播协商消息后 , 对多个类型的消息进行单播消息发送, 具体指对通知消息、 同步消息和跟进 消息中两个或三个消息均进行单播) 。  Step 201: After the clock is powered on (Power On), send a request message (Req_Master) for querying the master clock to the server and start timing. The request message may include: query of the master clock information, whether the master clock supports unicast negotiation. The query can be one of the following parameters: Whether the primary clock supports a single type of message unicast negotiation (that is, unicast negotiation for each type of message, after the primary clock receives a unicast negotiation request for a certain type of message, The type of the message is sent by the unicast message. The master clock supports multiple types of message unicast negotiation. After receiving the unicast negotiation message, the master clock sends unicast messages to multiple types of messages. Two or three messages in the synchronization message and the follow-up message are unicast).
此请求消息中还可包括主时钟是否与祖母时钟锁定的查询 (祖母时钟一 般为全球定位时钟, 从时钟与主时钟同步的最终目的是达到与全球定位时钟 的同步。 主时钟未与祖母时钟同步时, 其提供的时钟是不稳定的, 从而影响 从时钟的准确性) 。  This request message may also include a query of whether the master clock is locked with the grandmother's clock (the grandmother's clock is generally a global positioning clock, and the final purpose of synchronizing the clock from the master clock is to achieve synchronization with the global positioning clock. The master clock is not synchronized with the grandmother's clock. When the clock it provides is unstable, it affects the accuracy of the slave clock).
查询主时钟的请求消息 ( Req_Master ) 的消息体格式如表 1所示:  The message body format of the request message (Req_Master) for querying the master clock is as shown in Table 1:
Figure imgf000007_0001
messageType Externd-messageType 1 4 unicastNegotiationEnable 1 5 unicastNegotiationUniform 1 6 各字段含义为:
Figure imgf000007_0001
messageType Externd-messageType 1 4 unicastNegotiationEnable 1 5 unicastNegotiationUniform 1 6 The meaning of each field is:
tlvType字段可以使用当前协议中 TLV TYPE的保留取值,用来标示当前 TLV是接入时查询主时钟的消息;  The tlvType field may use the reserved value of the TLV TYPE in the current protocol, and is used to indicate that the current TLV is a message for querying the master clock during access;
lengthField字段表示消息体也就是 messageType, Externd-messageType和 Reserved字段的总长度, 以 Byte为单位。  The lengthField field indicates the total length of the message body, ie MessageType, Externd-messageType, and Reserved fields, in Bytes.
messageType字段标示当前消息是查询主时钟消息。  The messageType field indicates that the current message is a query master clock message.
Externd-messageType字段只是为扩展消息使用, 一般可以不使用。  The Externd-messageType field is only used for extended messages and can generally not be used.
unicastNegotiationEnable 字段表示是否支持传统单播协商, 也就是 IEEE1588给出的协商方式, 如果希望某类消息单播, 则为该消息单播协商一 次, 如杲有 N类消息希望单播, 则单播协商 N次。  The unicastNegotiationEnable field indicates whether the traditional unicast negotiation is supported, that is, the negotiation mode given by IEEE1588. If a certain type of message is desired to be unicast, the message is unicast once. If there is a type N message that wants to be unicast, the unicast negotiation is performed. N times.
unicastNegotiationUniform字段表示是否支持一次单播协商完成 Annouce, Sync , Delay-Resp消息的单播请求。  The unicastNegotiationUniform field indicates whether a unicast request for unicast negotiation is completed to complete the unicast request for the Annouce, Sync, and Delay-Resp messages.
另外需要说明的是, 当该消息发送时, 需要在表 1所述的消息体前附加 IEEE1588协议规定的通用 PTP消息头, 此消息头的格式在协议中已有规定, 具体如表 2所示:  In addition, it should be noted that when the message is sent, the general PTP message header specified by the IEEE1588 protocol needs to be added in front of the message body described in Table 1. The format of the message header is specified in the protocol, as shown in Table 2. :
Figure imgf000008_0001
correctionField 8 8
Figure imgf000008_0001
correctionField 8 8
reserved 4 16 sourcePortldentity 10 20  Reserved 4 16 sourcePortldentity 10 20
sequenceld 2 30 controlField 1 32 logMessagelnterval 1 33 表 2中各字段含义如下:  Sequenceld 2 30 controlField 1 32 logMessagelnterval 1 33 The meanings of the fields in Table 2 are as follows:
transportSpecific字段表示 IEEE1588 PTP消息使用的传输协议编号,比如 PTP消息传输使用的是 UDP, 则此字段是 UDP协议的编号。  The transportSpecific field indicates the transport protocol number used by the IEEE1588 PTP message. For example, if the PTP message transmission uses UDP, this field is the number of the UDP protocol.
messageType字段表示 PTP消息的具体类型, 比如, 如果发送通知消息, 则此字段规定为^ PTP协议 V2.0版本中的消息类型有: 同步消息, 延迟测 量请求消息, 延迟测量响应消息, 通知消息, 跟进消息, 信令消息, 管理消 息, 对等延迟测量请求消息, 对等延迟测量相应消息, 对等跟进消息。 这些 消息中除信令消息和管理消息外, 都是指单一的一种消息, 而信令消息和管 理消息是两大类消息的统称。 比如当消息头中的消息类型是信令消息时, 还 需要规定信令消息的子消息类型, 管理消息类似。 但当消息头中的消息类型 是通知消息, 则就是通知消息这一种。  The messageType field indicates the specific type of the PTP message. For example, if a notification message is sent, this field specifies that the message types in the VTP version of the PTP protocol are: a synchronization message, a delay measurement request message, a delay measurement response message, a notification message, Follow-up messages, signaling messages, management messages, peer-to-peer delay measurement request messages, peer-to-peer delay measurement messages, peer-to-peer follow-up messages. In addition to signaling messages and management messages, these messages refer to a single message, and signaling messages and management messages are collectively referred to as two types of messages. For example, when the message type in the message header is a signaling message, the sub-message type of the signaling message needs to be specified, and the management message is similar. But when the message type in the message header is a notification message, it is the notification message.
versionPTP字段表示 PTP协议版本号。  The versionPTP field indicates the PTP protocol version number.
messageLength字段表示整个 PTP消息长度, 从 PTP消息头的第一个字 节开始到消息体的最后一个字节结束。  The messageLength field indicates the length of the entire PTP message, starting from the first byte of the PTP header to the end of the last byte of the message body.
domainNumber字段表示发送该消息的时钟所在的域号。  The domainNumber field indicates the domain number of the clock that sent the message.
flagField 字段表示该消息的发送方式是单播, 还是组播, 主从同步方式 是一步法还是两步法等信息。  The flagField field indicates whether the message is sent in unicast or multicast mode. The master-slave synchronization mode is one-step or two-step.
correctionField字段表示对该消息在透明时钟中的驻留时间, 只有用于同 步的消息才需要填此字段。  The correctionField field indicates the dwell time of the message in the transparent clock, and only the field used for synchronization needs to fill in this field.
sourcePortldentity字段表示发送该消息的时钟 Id。  The sourcePortldentity field indicates the clock Id that sent the message.
sequenceld 字段表示该消息在一个时钟发出的同类消息中的序号, 以同 步消息为例, 每发一个同步消息, 该字段加 1。 controlField字段消息类型的另外一种表示形式。 The sequenceld field indicates the sequence number of the message in the same type of message sent by one clock. Take the synchronous message as an example. For each synchronization message, this field is incremented by 1. Another representation of the controlField field message type.
logMessagelnterval字段表示消息发送周期的对数。  The logMessagelnterval field indicates the logarithm of the message transmission period.
在发送步骤 201所述的查询主时钟消息时, 消息类型字段应该表明是信 令消息, 也就是选将该字段置为(3。  When the primary clock message is queried as described in step 201, the message type field shall indicate a signaling message, i.e., the field is set to (3).
步骤 202, 服务器对从时钟进行鉴权, 判定从时钟是否合法; 服务器判 断从时钟非法时, 执行步骤 203 , 服务器判断从时钟合法时, 执行步骤 204; 具体的, 服务器可以根据从时钟的 IP地址判断是否合法, 还可以根据从 时钟的其它参数判断。 可判断从时钟的 IP地址是否指示在所述服务器管理的 所有主时钟的从时钟授权范围内,授权范围的设置可以由用户根据需要设置, 比如将该主时钟所在域设置为其从时钟的授权范围。  Step 202: The server authenticates the slave clock to determine whether the slave clock is legal. If the server determines that the slave clock is illegal, step 203 is performed, and the server determines that the slave clock is legal, step 204 is performed. Specifically, the server may be based on the IP address of the slave clock. Judging whether it is legal or not can also be judged based on other parameters of the slave clock. It can be determined whether the IP address of the slave clock indicates the slave clock authorization range of all the master clocks managed by the server, and the setting of the authorization range can be set by the user according to requirements, for example, the domain where the master clock is located is set as the slave clock authorization. range.
步骤 203 , 服务器通知从时钟查询主时钟失败;  Step 203: The server notifies the slave clock that the master clock fails to be queried;
通知从时钟查询主时钟失败的消息体格式可以如表 3所示:  The message body format for notifying the slave clock to query the master clock can be as shown in Table 3:
表 3:  table 3:
Figure imgf000010_0001
Figure imgf000010_0001
各字段含义:  The meaning of each field:
tlvType字段可以使用当前协议中 TLV TYPE的保留取值,与查询主时钟 消息的消息使用值相同。  The tlvType field can use the reserved value of the TLV TYPE in the current protocol, which is the same as the message usage value of the query master clock message.
lengthField字段表示消息体也就是 messageType, Externd-messageType和 Reserved字段的总长度, 以 Byte为单位。  The lengthField field indicates the total length of the message body, ie MessageType, Externd-messageType, and Reserved fields, in Bytes.
messageType字段标示当前消息是查询主时钟失败消息, accesstReq字段 标示是否允许与该服务器管理下的主时钟同步。 The messageType field indicates that the current message is the query master clock failure message, the accesstReq field Indicates whether it is allowed to synchronize with the master clock managed by this server.
Externd-messageType字段只是为扩展消息使用 , 一般可以不使用。 accesstReq字段表示请求主时钟失败还是成功。  The Externd-messageType field is only used for extended messages and can generally not be used. The accesstReq field indicates whether the requesting master clock failed or succeeded.
其中, 发送所述的查询主时钟失败消息时, 应该在表 3所述的消息体前 面附加表 2所述的 PTP通用消息头。  When the inquiry main clock failure message is sent, the PTP general message header described in Table 2 should be added in front of the message body described in Table 3.
步骤 204 , 服务器为从时钟确定一主时钟, 并将收到的请求消息转发至 j¾主时钟;  Step 204: The server determines a master clock for the slave clock, and forwards the received request message to the j3⁄4 master clock.
服务器在服务范围包含所述从时钟的各主时钟中选择时钟质量最好的一 个作为所述从时钟的主时钟。  The server selects one of the master clocks of the slave clock to be the master clock of the slave clock in the service range.
步骤 205 , 主时钟组建一查询主时钟请求响应消息, 并在此请求响应消 息中可以表示是否支持单播协商, 是否支持多个类型的消息单播、 是否与祖 请求响应消息的消息体格式可以如表 4所示:  Step 205: The master clock establishes a query master clock request response message, and in the request response message, it can indicate whether the unicast negotiation is supported, whether multiple types of message unicast are supported, and whether the message body format of the ancestor request response message can be As shown in Table 4:
表 4:  Table 4:
Figure imgf000011_0001
Figure imgf000011_0001
各字段含义为:  The meaning of each field is:
tlvType字段可以使用当前协议中 TLV TYPE的保留取值,与查询主时钟 消息的消息使用值相同。  The tlvType field can use the reserved value of the TLV TYPE in the current protocol, which is the same as the message usage value of the query master clock message.
lengthField字段表示消息体也就是 messageType, Externd-messageType , unicastNegotiationEnable, unicastNegotiationUniform和 Reserved字段的总长度 , 以 Byte为单位。 The lengthField field indicates that the message body is also messageType, Externd-messageType, The total length of the unicastNegotiationEnable, unicastNegotiationUniform, and Reserved fields, in Bytes.
messageType字段标示当前消息是响应查询主时钟消息。  The messageType field indicates that the current message is a response to the query master clock message.
Externd-messageType字段只是为扩展消息使用, 一般可以不使用。  The Externd-messageType field is only used for extended messages and can generally not be used.
unicastNegotiationEnable字段表示是否支持单播协商。  The unicastNegotiationEnable field indicates whether unicast negotiation is supported.
unicastNegotiationUniform是否支持一次单播协商完成所有消息的单播请 求。  Whether unicastNegotiationUniform supports a unicast negotiation to complete unicast requests for all messages.
步骤 206 , 从时钟获知主时钟支持多个类型的消息单播协商时 (即获知 unicastNegotiationUniform为 1 ) , 则从时钟向主时钟发起一次多类消息单播 协商,即发送统一单播协商请求消息以请求主时钟以单播方式发送通知消息、 同步消息和跟进消息。  Step 206: When the slave clock learns that the master clock supports multiple types of message unicast negotiation (that is, the unicastNegotiationUniform is 1), the slave clock initiates a multi-type message unicast negotiation to the master clock, that is, sends a unified unicast negotiation request message. The request master clock sends notification messages, synchronization messages, and follow-up messages in unicast mode.
统一单播协商请求消息的消息体格式如表 5所示:  The message body format of the unified unicast negotiation request message is shown in Table 5:
表 5:  table 5:
Figure imgf000012_0001
Figure imgf000012_0001
各字段含义为:  The meaning of each field is:
tlvType字段可以使用当前协议中 TLV TYPE的保留取值,与查询主时钟 消息的消息使用值相同。  The tlvType field can use the reserved value of the TLV TYPE in the current protocol, which is the same as the message usage value of the query master clock message.
lengthField 字段表示 消 息体也就是 messageType, reseved, loglnterAnnounceMessagePeriod , loglnterSyncMessagePeriod , loglnterDelayRespMessagePeriod和 durationField字段的总长度, 以 Byte为单 位。 The lengthField field represents the message body, which is the total length of the messageType, reseved, loglnterAnnounceMessagePeriod, loglnterSyncMessagePeriod, loglnterDelayRespMessagePeriod, and durationField fields. Bit.
message Type 字段标示当前请求单播的消息是 Announce , Sync , Delay-Res 消息全体,可以采用当前 IEEE1588协议中消息字段的保留取值 F。 也就是用 F表示是为 Announce, Sync, Delay-Res 三类消息协商请求单播。  The message Type field indicates that the currently requested unicast message is Announce, Sync, and Delay-Res messages. The value of the reserved value of the message field in the current IEEE1588 protocol can be used. That is to say, F is used to announce unicast for Announce, Sync, Delay-Res.
loglnterAnnounceMessagePeriod 字段表示当前协商请求主时钟以 The loglnterAnnounceMessagePeriod field indicates the current negotiation request master clock to
2AlogInterAnnounceMessagePeriod(其中八表示指数运算)为周期发送通知消息。 2 A logInterAnnounceMessagePeriod (where eight represents an exponential operation) sends a notification message for the period.
loglnterSyncMessagePeriod 字段表示 当 前协商请求主 时钟以 2AlogInterSyncMessagePeriod为周期发送同步消息。 The loglnterSyncMessagePeriod field indicates that the current negotiation request master clock sends a synchronization message with a period of 2 A logInterSyncMessagePeriod.
loglnterDelay espMessagePeriod 字段表示当前协商请求主时钟以 2AlogInterDelay espMessagePenod为周期发送延迟请求响应消息。 The loglnterDelay espMessagePeriod field indicates that the current negotiation request master clock sends a delayed request response message with a period of 2 A logInterDelay espMessagePenod.
durationField字段表示请求主时钟周期发送三类消息的期望持续时间,该 字段填 0表示无限长时间。  The durationField field indicates the expected duration of the request for the main clock cycle to send three types of messages, and the field is filled with 0 to indicate an infinite time.
需要说明的是, 发送该消息时的应该附加表 2所示的 PTP通用消息头, 消息头中的消息类型是< 。  It should be noted that the PTP general message header shown in Table 2 should be added when sending the message, and the message type in the message header is < .
步骤 207, 主时钟接收到步骤 206所述的统一单播协商请求消息后, 发 送统一单播协商授予消息以表示协商成功, 并通知以单播方式发送消息的周 期, 该消息的消息体格式如表 6所示:  Step 207: After receiving the unified unicast negotiation request message described in step 206, the master clock sends a unified unicast negotiation grant message to indicate that the negotiation is successful, and notifies the period in which the message is sent in a unicast manner, and the message body format of the message is as follows: Table 6 shows:
表 6:  Table 6:
Figure imgf000013_0001
Figure imgf000013_0001
消息各字段含义如下: tlvType字段同表 5对应字段。 The meaning of each field of the message is as follows: The tlvType field corresponds to the field in Table 5.
lengthField字段同表 5对应字段。  The lengthField field corresponds to the field in Table 5.
messageType字段同表 5对应字段。  The messageType field is the same as the field in Table 5.
loglnterAnnounceMessagePeriod 字段表示实际批准的单播通知消息周期 是 2AlogInterAmounceMessagePeriod。 也就是以后实际上以这个周期来发送 Announce消息; The loglnterAnnounceMessagePeriod field indicates that the actual approved unicast notification message period is 2 A logInterAmounceMessagePeriod. That is, in the future, the Announce message is actually sent in this cycle;
loglnterSyncMessagePeriod 字段表示实际批准的单播同步消息周期是 2AlogInterSyncMessagePeriod。 也就是以后实际上以这个周期来发送 Sync 消 息; The loglnterSyncMessagePeriod field indicates that the actual approved unicast synchronization message period is 2 A logInterSyncMessagePeriod. That is, the Sync message is actually sent in this cycle in the future;
loglnterDelay espMessagePenod 字段表示实际批准的单播延迟测量响应 消息的周期是 2AlogInterSyncMessagePenod。 也就是以后实际上以这个周期来 发送 Delay-Resp消息; The loglnterDelay espMessagePenod field indicates that the period of the actually approved unicast delay measurement response message is 2 A logInterSyncMessagePenod. That is, the Delay-Resp message is actually sent in this cycle;
durationField字段同表 5对应字段。  The durationField field corresponds to the field in Table 5.
步骤 208, 主时钟支持单播方式时通过单播方式以步骤 207所述周期向 从时钟发送通知消息、 同步消息和跟进消息;  Step 208: When the primary clock supports the unicast mode, the notification message, the synchronization message, and the follow-up message are sent to the slave clock in the unicast mode in the period of step 207;
步骤 209 , 从时钟收到通知消息后确定所述主时钟为自己的主时钟, 并 才艮据同步消息和跟进消息完成与主时钟的时间同步。  Step 209: After receiving the notification message from the clock, determine that the master clock is its own master clock, and complete synchronization with the master clock according to the synchronization message and the follow-up message.
具体的, 从时钟接收同步消息, 并组建延迟请求消息, 以单播模式发送 给主时钟; 主时钟收到延迟请求消息, 立即发延迟响应消息, 并将接收延迟 请求消息的时间放到延迟响应消息的某个字段中; 从时钟利用同步消息接收 时间 , 跟进消息中携带的同步消息发送时间和延迟请求发送时间 , 延迟响应 消息中携带的延迟测量接收时间, 计算时间偏差, 并进行本地时钟校正, 完 成与主时钟的同步。  Specifically, the synchronization message is received from the clock, and the delay request message is set up and sent to the master clock in the unicast mode; the master clock receives the delay request message, immediately sends the delay response message, and puts the time of receiving the delay request message into the delayed response. In a certain field of the message; the slave clock uses the synchronization message reception time, the synchronization message transmission time and the delay request transmission time carried in the follow-up message, the delay measurement reception time carried in the delay response message, the calculation time deviation, and the local clock Correction, complete synchronization with the master clock.
本发明引入服务器为从时钟鉴权, 判定所述从时钟合法后为从时钟确定 一主时钟, 从时钟与此主时钟进行时间同步, 可节省网络资源, 并防止从时 钟频繁更换主时钟, 同时解决主时钟向不期望的从时钟提供消息的问题。 从 时钟与此主时钟进行时间同步的过程中, 主时钟以单播方式发送消息, 可进 一步节省网络资源。 服务器在服务范围包含从时钟的各主时钟中选择时钟质 量最好的一个作为从时钟的主时钟, 可以解决现有技术中从时钟不能选择到 用户期望主时钟的问题, 以及主时钟对不在授权范围内的从时钟进行同步消 息发送从而浪费带宽资源的问题。 The invention introduces the server as the slave clock authentication, determines that the slave clock is legal, and determines a master clock for the slave clock, and the slave clock synchronizes time with the master clock, thereby saving network resources and preventing the slave clock from frequently changing the master clock. Addresses the issue of the master clock providing messages to the undesired slave clock. During the time synchronization of the clock from the master clock, the master clock sends the message in unicast mode. One step to save network resources. The server selects the best one of the clocks from the master clocks of the clock as the master clock of the slave clock, which can solve the problem that the slave clock cannot be selected to the user's desired master clock in the prior art, and the master clock pair is not authorized. The issue of synchronous message transmission from the slave clock in the range wastes bandwidth resources.
当然, 本发明还有其它多种实施方法, 在不背离本发明精神及其实质的 情况下, 本领域技术人员当可根据本发明作出各种相应的改变和变形, 但这 些相应的改变和变形都应属于本发明所附的权利要求的保护范围。 Of course, there are many other embodiments of the present invention, and various changes and modifications can be made by those skilled in the art without departing from the spirit and scope of the invention. All should fall within the scope of protection of the appended claims.
工业实用性 Industrial applicability
本发明可实现对从时钟合法性判别, 节省带宽资源, 提高主时钟与从时 钟的可管理性和安全性。  The invention can realize the discrimination of the slave clock legality, save bandwidth resources, and improve the manageability and security of the master clock and the slave clock.

Claims

权 利 要 求 书 Claim
1、 一种主从时钟通信的方法, 其中, 包括:  A method for master-slave clock communication, wherein:
服务器对从时钟进行鉴权, 判定所述从时钟合法后为所述从时钟确定一 主时钟, 所述主时钟与所述从时钟进行时间同步。  The server authenticates the slave clock, determines that the slave clock is legal, and determines a master clock for the slave clock, and the master clock synchronizes with the slave clock.
2、 如权利要求 1所述的方法, 其中,  2. The method of claim 1 wherein
所述从时钟向服务器发送查询主时钟的请求消息, 所述服务器收到所述 请求消息后对从时钟进行鉴权, 判定所述从时钟合法且为所述从时钟确定主 时钟后, 将所述请求消息转发至所述主时钟, 所述主时钟向所述从时钟发送 查询主时钟请求响应消息, 所述从时钟与所述主时钟进行单播协商, 协商成 功后所述主时钟与所述从时钟进行时间同步。  The slave clock sends a request message for querying the master clock to the server, and after the server receives the request message, the slave server authenticates the slave clock, determines that the slave clock is legal, and determines the master clock for the slave clock, The request message is forwarded to the master clock, and the master clock sends an inquiry master clock request response message to the slave clock, and the slave clock performs unicast negotiation with the master clock. After the negotiation succeeds, the master clock and the master clock The slave clock is time synchronized.
3、 如权利要求 2所述的方法, 其中,  3. The method of claim 2, wherein
所述从时钟向所述服务器发送的查询主时钟的请求消息中包括主时钟是 否支持多个类型的消息单播协商的查询; 所述主时钟支持多个类型的消息单 播协商时, 在向所述从时钟发送的所述查询主时钟请求响应消息中携带支持 多个类型的消息单播协商的指示, 所述主时钟在协商成功后以单播方式发送 通知消息、 同步消息和跟进消息。  The request message for querying the master clock sent from the clock to the server includes a query for whether the master clock supports multiple types of message unicast negotiation; when the master clock supports multiple types of message unicast negotiation, The querying the master clock request response message sent by the slave clock carries an indication that supports multiple types of message unicast negotiation, and the master clock sends the notification message, the synchronization message, and the follow-up message in a unicast manner after the negotiation succeeds. .
4、 如权利要求 3所述的方法, 其中,  4. The method of claim 3, wherein
所述从时钟与所述主时钟进行单播协商的过程为: 所述从时钟向所述主 时钟发送统一单播协商请求消息以请求主时钟以单播方式发送通知消息、 同 步消息和跟进消息;所述主时钟发送统一单播协商授予消息以表示协商成功, 并通知以单播方式发送消息的周期。  The process of performing unicast negotiation between the slave clock and the master clock is: sending, by the slave clock, a unified unicast negotiation request message to the master clock, requesting the master clock to send the notification message, the synchronization message, and the follow-up in a unicast manner The primary clock sends a unified unicast negotiation grant message to indicate that the negotiation is successful, and notifies the period in which the message is sent in unicast mode.
5、 如权利要求 1、 2、 3或 4所述的方法, 其中,  5. The method of claim 1, 2, 3 or 4, wherein
所述服务器在服务范围包含所述从时钟的各主时钟中选择时钟质量最好 的一个作为所述从时钟的主时钟。  The server selects one of the master clocks including the slave clock as the master clock of the slave clock in the service range.
6、 如权利要求 1、 2、 3或 4所述的方法, 其中,  6. The method of claim 1, 2, 3 or 4, wherein
所述服务器根据所述从时钟的 IP地址判断所述从时钟是否合法。  The server determines whether the slave clock is legal according to the IP address of the slave clock.
7、 如权利要求 1、 2、 3或 4所述的方法, 其中, 所述服务器鉴权所述从时钟非法后, 通知所述从时钟查询主时钟失败。 7. The method of claim 1, 2, 3 or 4, wherein After the server authenticates the slave clock, the slave clock is notified that the master clock fails to be queried.
8、 一种主从时钟通信的系统, 包括: 主时钟、 从时钟、 服务器, 其中, 所述服务器, 用于对从时钟进行鉴权, 判定所述从时钟合法后为所述从 时钟确定一主时钟;  A master-slave clock communication system, comprising: a master clock, a slave clock, and a server, wherein the server is configured to authenticate a slave clock, determine that the slave clock is legal, and determine the slave clock Master clock
所述主时钟, 用于与所述从时钟进行时间同步。  The master clock is used for time synchronization with the slave clock.
9、 如权利要求 8所述的系统, 其中,  9. The system of claim 8 wherein
所述从时钟, 用于向所述服务器发送查询主时钟的请求消息, 所述请求 消息中包括主时钟是否支持多个类型的消息单播协商的查询;  The slave clock is configured to send, to the server, a request message for querying a master clock, where the request message includes a query for whether the master clock supports multiple types of message unicast negotiation;
所述主时钟, 用于向所述从时钟发送查询主时钟请求响应消息, 并在此 消息中携带是否支持多个类型的消息单播协商的指示; 并在与所述从时钟协 商成功后, 以单播方式发送通知消息、 同步消息和跟进消息;  The master clock is configured to send an inquiry master clock request response message to the slave clock, and carry an indication of whether to support multiple types of message unicast negotiation in the message; and after successfully negotiating with the slave clock, Send notification messages, synchronization messages, and follow-up messages in unicast mode;
所述服务器, 还用于收到所述倚求消息后对从时钟进行鉴权, 判定所述 从时钟合法且为所述从时钟确定主时钟后, 将所述请求消息转发至所述主时 钟。  The server is further configured to: after receiving the request message, authenticating a slave clock, determining that the slave clock is legal, and determining a master clock for the slave clock, forwarding the request message to the master clock .
10、 如权利要求 8或 9所述的系统, 其中,  10. The system of claim 8 or 9, wherein
所述服务器, 还用于在服务范围包含所述从时钟的各主时钟中选择时钟 质量最好的一个作为所述从时钟的主时钟; 还用于根据所述从时钟的 IP地址 判断所述从时钟是否合法。  The server is further configured to: select, as a master clock of the slave clock, one of the master clocks including the slave clock as a master clock of the slave clock; and further, determine, according to the IP address of the slave clock, the Whether the slave clock is legal.
PCT/CN2009/075639 2009-12-16 2009-12-16 Method and system for communication between master clock and slave clock WO2011072442A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2009/075639 WO2011072442A1 (en) 2009-12-16 2009-12-16 Method and system for communication between master clock and slave clock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2009/075639 WO2011072442A1 (en) 2009-12-16 2009-12-16 Method and system for communication between master clock and slave clock

Publications (1)

Publication Number Publication Date
WO2011072442A1 true WO2011072442A1 (en) 2011-06-23

Family

ID=44166724

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/075639 WO2011072442A1 (en) 2009-12-16 2009-12-16 Method and system for communication between master clock and slave clock

Country Status (1)

Country Link
WO (1) WO2011072442A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355346A (en) * 2011-10-13 2012-02-15 中兴通讯股份有限公司 Validity judgment method of clock synchronous source device and device
CN106411446A (en) * 2016-08-29 2017-02-15 烽火通信科技股份有限公司 Self-adaptive method for realizing 1588 time synchronization in unicast mode
WO2022018727A1 (en) * 2020-07-24 2022-01-27 Essence Security International (E.S.I.) Ltd. Synchronisation of a device for authentication

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040165480A1 (en) * 2002-12-19 2004-08-26 Ilan Shemesh Master/slave clock system with automatic protocol detection and selection
US20050071703A1 (en) * 2001-12-20 2005-03-31 Dongik Lee Fault-tolerant clock synchronisation
CN101232457A (en) * 2008-02-22 2008-07-30 浙江大学 High-precision real-time synchronization method based on IEEE1588

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050071703A1 (en) * 2001-12-20 2005-03-31 Dongik Lee Fault-tolerant clock synchronisation
US20040165480A1 (en) * 2002-12-19 2004-08-26 Ilan Shemesh Master/slave clock system with automatic protocol detection and selection
CN101232457A (en) * 2008-02-22 2008-07-30 浙江大学 High-precision real-time synchronization method based on IEEE1588

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
IEEE STANDARD FOR A PRECISION CLOCK SYNCHRONIZATION PROTOCOL FOR NETWORK MEASUREMENT AND CONTROL SYSTEMS, 24 July 2008 (2008-07-24) *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355346A (en) * 2011-10-13 2012-02-15 中兴通讯股份有限公司 Validity judgment method of clock synchronous source device and device
CN106411446A (en) * 2016-08-29 2017-02-15 烽火通信科技股份有限公司 Self-adaptive method for realizing 1588 time synchronization in unicast mode
CN106411446B (en) * 2016-08-29 2018-08-31 烽火通信科技股份有限公司 A kind of adaptive approach for realizing 1588 time synchronizations under unicast mode
WO2022018727A1 (en) * 2020-07-24 2022-01-27 Essence Security International (E.S.I.) Ltd. Synchronisation of a device for authentication
GB2597506A (en) * 2020-07-24 2022-02-02 Essence Security International Esi Ltd Synchronisation of a device for authentication

Similar Documents

Publication Publication Date Title
JP6931376B2 (en) Transmission of residence time information in the network
US10158444B1 (en) Event-driven precision time transfer
JP6899378B2 (en) Network node
EP2523422A1 (en) Issuing method and system for configuration information
US9369224B2 (en) Clock synchronization method and device
WO2012122813A1 (en) Method, system and device for switching and selecting clock source device
TW201225583A (en) Peer-to-peer communication in ad HOC wireless network
JP4853625B2 (en) Propagation delay time measuring method, synchronization method, and wireless LAN system
WO2014117489A1 (en) Clock synchronization method and device
WO2011131006A1 (en) Time processing device and method for precision clock synchronization protocol
WO2010063242A1 (en) Clock synchronization method, device and network system
WO2009146611A1 (en) Processing method, device and system for a message with clock information
WO2013063943A1 (en) Coordinated processing method and system for northbound data configuration and self-organized network configuration
WO2011134371A1 (en) Method for synchronizing clocks and clock synchronization device
WO2023045881A1 (en) Time synchronization apparatus, system, and method
EP3496431B1 (en) Message transmission method and apparatus
WO2018085996A1 (en) Service discovery method, and service discovery device
JP6203821B2 (en) Message processing method and control node between nodes of radio access network
WO2011072442A1 (en) Method and system for communication between master clock and slave clock
JP2011091624A (en) Mesh network system and time synchronizing method thereof
WO2012100698A1 (en) Method, device, and system for transmitting precision clock synchronization protocol message
JP5891142B2 (en) Communications system
WO2011082634A1 (en) Peer node of resource locate and discovery peer to peer network and configuration update method and system thereof
JP4489684B2 (en) Time synchronization information or synchronous clock generation and supply method and apparatus
WO2014075472A1 (en) Information processing method and system for 6lowpan extension field

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

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

Country of ref document: EP

Kind code of ref document: A1