WO2013029453A1 - 穿越第三方同步网络的同步方法和系统 - Google Patents

穿越第三方同步网络的同步方法和系统 Download PDF

Info

Publication number
WO2013029453A1
WO2013029453A1 PCT/CN2012/079493 CN2012079493W WO2013029453A1 WO 2013029453 A1 WO2013029453 A1 WO 2013029453A1 CN 2012079493 W CN2012079493 W CN 2012079493W WO 2013029453 A1 WO2013029453 A1 WO 2013029453A1
Authority
WO
WIPO (PCT)
Prior art keywords
edge device
egress
ingress
network
synchronization
Prior art date
Application number
PCT/CN2012/079493
Other languages
English (en)
French (fr)
Inventor
张君辉
曲延锋
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to EP12828422.1A priority Critical patent/EP2750339A4/en
Publication of WO2013029453A1 publication Critical patent/WO2013029453A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • H04J3/0667Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0673Clock or time synchronisation among packet nodes using intermediate nodes, e.g. modification of a received timestamp before further transmission to the next packet node, e.g. including internal delay time or residence time into the packet

Definitions

  • the present invention relates to the field of 1588 protocol technologies, and in particular, to a synchronization method and system for traversing a third-party synchronization network.
  • the 1588 time synchronization protocol has received more and more attention and wide application in the communication network. Domestic and foreign operators continue to use the 1588 protocol for time synchronization and gradually replace the use of Global Positioning System (GPS) for time synchronization.
  • GPS Global Positioning System
  • the concept of the packet synchronization network management domain is proposed in ITU-G G.8265. That is, the packet synchronization network is divided into different management domains. Different management domains have different clocks, the master clock (Master) and the slave clock.
  • the Precision Timing Protocol (PTP) message between (Slave) allows synchronization across third-party synchronous network management domains of other operators.
  • the intermediate device of other carriers may not support PTP. As a result, the PTP packet traverses the third-party synchronization network. If the jitter is too large, the clock recovery performance of the slave device will be affected. Therefore, how to filter the packet delay variation (PDV) caused by the intermediate network equipment is an urgent problem to be solved.
  • PTP Packet Transfer Protocol
  • a synchronization method that traverses a third-party synchronization network including:
  • TC transparent transmission
  • the fine time protocol (PTP) packet that needs to traverse the third-party synchronization network is transparently transmitted in the third-party synchronization network.
  • PTP fine time protocol
  • the step of transparently transmitting the PTP packet that needs to traverse the third-party synchronization network in the third-party synchronization network includes:
  • the ingress edge device When receiving the PTP packet from the ingress port of the ingress edge device, the ingress edge device identifies, according to the configuration of the user, whether the received PTP packet needs to traverse the third network, and if yes, The ingress edge device records an entry timestamp of the PTP packet to the ingress port of the ingress edge device, and adds the entry timestamp to the PTP packet, and then performs the third-party synchronization network. Penetrate;
  • the correction field of the PTP packet is corrected according to the delay inside the network, and is sent from the egress edge device to the next
  • the steps of the level device include:
  • the egress edge device determines that the received PTP packet is a transparent PTP packet, records the egress timestamp of the PTP packet reaching the egress edge device, and subtracts the recorded egress timestamp from the recorded
  • the entry timestamp in the PTP packet obtains a delay inside the network, and corrects the correctionField according to the obtained delay inside the network.
  • the step of delaying the correction of the correction field of the PTP packet, and the sending from the egress edge device to the next-level device further includes:
  • the egress edge device deletes the entry timestamp in the transparent PTP packet, and sends the entry timestamp from the egress port of the egress edge device to the next-level device.
  • the correction field of the PTP packet is corrected according to the delay inside the network, and is sent from the egress edge device to the next
  • the steps of the primary equipment include:
  • the correction edge field is modified according to the delay inside the egress edge device, and then sent from the egress port of the egress edge device to the next-level device.
  • the step of synchronizing between the ingress edge device and the egress edge device includes:
  • the ingress edge device and the egress edge device are synchronized by means of PTP, Network Time Protocol ( ) or a local clock source.
  • a synchronization system traversing a third-party synchronization network where the synchronization system includes an ingress edge device and an egress edge device of a third-party synchronization network, and the ingress edge device includes an ingress 1588 transparent transmission (TC) traversal module and an ingress synchronization module.
  • the export edge device includes an outlet 1588 TC traversing module and an exit synchronization module, where:
  • the ingress synchronization module is configured to: synchronize with the egress synchronization module to implement the ingress edge device and the egress edge device;
  • the ingress 1588 TC traversal module is configured to: transparently transmit the received precision time protocol ( ⁇ ) message in the third-party synchronization network;
  • the egress 1588 TC traversal module is configured to: when the transparently transmitted packet reaches the egress edge device, correct a correction field according to a delay inside the network, and send the correction field from the egress edge device to the next-level device. .
  • the ingress 1588 TC traversal module is configured to transparently receive the received PTP 4 in the third-party synchronization network according to the following manner:
  • the device determines whether the received PTP packet needs to traverse the third network network according to the configuration of the user, and if yes, records the PTP packet.
  • the packet arrives at the ingress timestamp of the ingress port of the ingress edge device, and after the entry timestamp is added to the PTP packet, transparently transmits the packet in the third-party synchronization network.
  • the egress 1588 TC traversal module is configured to, when the transparent transmission reaches the egress edge device, correct the correctionField according to the delay inside the network in the following manner, and send from the egress edge device to the next Level equipment:
  • the port is sent to the next level device
  • the correctionField is modified according to the delay inside the egress edge device, and then sent from the egress port of the egress edge device to the next device.
  • the ingress synchronization module is configured to synchronize the ingress edge device and the egress edge device with the egress synchronization module:
  • the synchronization of the ingress edge device and the egress edge device is implemented by the egress synchronization module by means of a PTP, a network time protocol ( ⁇ ) or a local clock source.
  • An ingress edge device is located in a third-party synchronization network, and the ingress edge device includes an ingress 1588 transparent transmission (TC) traversal module and an ingress synchronization module, where:
  • the ingress synchronization module is configured to: synchronize the entrance edge device and the egress edge device with an egress synchronization module of the egress edge device;
  • the ingress 1588 TC traversal module is configured to: transparently transmit the received precision time protocol ( ⁇ ) message in the third-party synchronization network.
  • the ingress 1588 TC traversal module is configured to receive the following manner PTP ⁇ is transparently transmitted in the third-party synchronous network:
  • the ingress synchronization module is configured to synchronize the ingress edge device and the egress edge device with an egress synchronization module of the egress edge device:
  • network time protocol
  • An egress edge device is located in a third-party synchronization network, where the egress edge device includes an egress 1588 TC traversal module and an egress synchronization module, where:
  • the egress synchronization module is configured to: synchronize with the ingress edge device and the egress edge device with an ingress synchronization module of the ingress edge device;
  • the egress 1588 TC traversal module is configured to: when the transparently transmitted packet reaches the egress edge device, correct a correction field according to a delay inside the network, and send the correction field from the egress edge device to the next Level equipment.
  • the egress 1588 TC traversal module is configured to: when the transparent PTP packet arrives at the egress edge device, correct the correction field according to the delay inside the network in the following manner, and send the correction field from the egress edge device to the next-level device. :
  • the port is sent to the next level device
  • the egress synchronization module is configured to synchronize the ingress edge device and the egress edge device with an ingress synchronization module of the ingress edge device:
  • Synchronization of the ingress edge device and the egress edge device is implemented by the ingress synchronization module by means of a network time protocol (() or a local clock source.
  • the transparent transmission problem of the 1588 traversing the third-party synchronous network is solved, and only the third-party network edge device needs to be synchronized, and the intermediate network device does not need to identify and process the ⁇ message, and does not need to perform synchronization;
  • the solution of the present invention is simple to implement, does not require the extension of the routing protocol, and does not require the intermediate network device to support the TC capability, thereby greatly reducing the complexity and operating cost of the implementation.
  • FIG. 1 is a schematic diagram of a 1588 clock synchronization implemented by traversing a third-party network according to the related art
  • FIG. 2 is a schematic diagram of implementing 1588 transparent transmission through a third-party network according to an embodiment of the present invention
  • FIG. 3 is a cross-over management according to another embodiment of the present invention
  • FIG. 4 is a schematic block diagram of a synchronization system traversing a third-party synchronization network according to an embodiment of the present invention.
  • the present embodiment provides a time/clock synchronization scheme, which regards a third-party synchronization network as a logical transparent transmission (TC) device, and two edge devices of a third-party synchronization network are regarded as entrances and exits of logical TCs, respectively. Only the edge devices of the third-party synchronization network need to synchronize, and no intermediate network devices are needed for synchronization.
  • TC logical transparent transmission
  • the present embodiment provides a synchronization method for traversing a third-party synchronization network, which is used as follows.
  • the PTP packet that needs to traverse the third-party synchronization network is transparently transmitted in the third-party synchronization network.
  • the transparently transmitted PTP packet reaches the egress edge device, the PTP packet is modified according to the delay inside the network. (correctionField) is corrected and sent from the egress edge device to the next level device.
  • the ingress edge device and the egress edge device can be synchronized through other methods such as PTP, Network Time Protocol (NTP), or local clock source.
  • PTP Packet Transfer Protocol
  • NTP Network Time Protocol
  • the step of configuring the 1588 TC traversal mode on the ingress edge device and the egress edge device includes:
  • the ingress edge device When receiving a PTP packet from the ingress port of the ingress edge device, the ingress edge device identifies whether the received PTP packet needs to traverse the third network. For example, the received PTP packet is required according to the configuration of the user. The traversed packet is a normal packet. If yes, the internal timestamp of the ingress edge device (that is, the time when the PTP packet reaches the ingress port of the ingress edge device) is recorded as the entry timestamp, and After the entry timestamp is added to the PTP packet, transparent transmission is performed in the third-party synchronization network;
  • the egress edge device determines that the received PTP packet is a transparent PTP packet, records an egress timestamp of the PTP packet reaching the egress edge device, and subtracts the recorded egress timestamp from the egress timestamp.
  • the entry timestamp in the PTP message after obtaining the delay inside the network, corrects the correctionField according to the delay inside the network.
  • the exit edge device deletes the transparent transmission after correcting the correction field
  • the entry timestamp in the PTP packet is sent from the egress port of the egress edge device to the next-level device.
  • the correction edge is corrected according to the delay inside the egress edge device, and the exit edge is The outbound port of the device is sent to the next device.
  • the specific process of clock synchronization across the third-party synchronization network in this embodiment mainly includes the following steps:
  • Step 1 Perform time synchronization on the edge devices (assuming device A and device B) at both ends of the third-party synchronization network (also referred to as a third-party network in this document);
  • Step 2 Configure a special 1588 TC traversal mode on the PTP ingress port of device A on the network edge to distinguish it from the normal 1588 TC.
  • Step 3 When the PTP packet enters the PTP port of the device A, the device A identifies the PTP packet, and adds the internal timestamp TS1 of the device A to the PTP packet.
  • the PTP plain text becomes the PTP extension.
  • Step 4 The PTP packet is transparently processed in the third-party network, that is, the intermediate network device does not need to identify the PTP packet, and does not need to perform timestamp correction, and can directly forward the packet; in addition, the intermediate network device does not need to be synchronized;
  • Step 5 When the PTP packet arrives at the egress device B, it needs to identify an ordinary PTP packet or an extended PTP packet. For a normal PTP packet, correct the correctionField according to the delay inside the device B.
  • Step 6 For the extended PTP packet, correct the correctionField according to the delay inside the network; that is, record the egress timestamp TS2 on the PTP egress port, and subtract the TS1 to obtain the delay introduced internally by the network; and finally correct the PTP. CorrectionField;
  • Step 7 After correcting the correction field, delete the timestamp in the PTP extension packet, and change it to a PTP common packet, and send it out from the egress port to the next-level device for processing.
  • the PTP packet format is extended, and a field is added to record the timestamp of the PTP packet arriving at the third-party synchronization network ingress device.
  • the packet network is divided into different management domains.
  • the divided management domains include Carrier A, Carrier B, and Carrier C.
  • Each management domain has a local independent reference source and is synchronized.
  • the master clock of the network operator A needs to transmit the scheduled flow to the operator C network Slave device through the carrier B network, and the operator B network is regarded as a logical TC device;
  • the PTP packet is processed according to the relevant standard process.
  • the carrier B network is regarded as the logical TC device.
  • the PTP packet is related.
  • the standard process is processed.
  • the slave device of the carrier C receives the PTP packet, and the PTP packet is processed according to the relevant standard process, thereby implementing PTP synchronization of multiple management domains.
  • the solution of the present invention does not need to be extended by related routing protocols, and does not need to upgrade the intermediate devices of the related third-party synchronous network, the implementation manner is simple, the cost is lower, and the network device is upgraded conveniently.
  • the embodiment of the present invention further provides a synchronization system that traverses a third-party synchronization network, where the system includes an ingress edge device and an egress edge device of a third-party synchronization network, and the ingress edge device includes an ingress 1588 TC traversal module. And the ingress synchronization module, the egress edge device includes an egress 1588 TC traversal module and an egress synchronization module, where:
  • the ingress synchronization module is configured to: synchronize with the egress synchronization module to implement the ingress edge device and the egress edge device;
  • the ingress 1588 TC traversal module is configured to: transparently transmit the received PTP packet in the third-party synchronization network;
  • the egress 1588 TC traversal module is configured to: when the transparent PTP packet arrives at the egress edge device, correct the correctionField according to the delay inside the network, and send the correctionField from the egress edge device Go to the next level of equipment.
  • the ingress 1588 TC traversal module is configured to transparently receive the received PTP packet in the third-party synchronization network according to the following manner: when receiving the PTP packet from the ingress port of the ingress edge device And determining, according to the configuration of the user, whether the received PTP packet needs to traverse the third network, and if yes, recording an entry timestamp of the PTP packet reaching the ingress port of the ingress edge device, and After the entry timestamp is added to the PTP packet, the transparent transmission is performed in the third-party synchronization network.
  • the egress 1588 TC traversal module is configured to correct the correction field according to the delay inside the network in the following manner, and send from the egress edge device to the next level device:
  • the egress timestamp of the PTP packet is sent to the egress edge device, and the recorded egress timestamp is subtracted from the entry timestamp in the PTP packet. a delay inside the network, and correcting the correction field according to the obtained delay in the network; after correcting the correction field, deleting the entry timestamp in the transparent PTP packet, and sending it from the egress port of the egress edge device to the next Primary equipment;
  • the correctionField is modified according to the delay inside the egress edge device, and then sent from the egress port of the egress edge device to the next device.
  • the ingress synchronization module is configured to synchronize the ingress edge device and the egress edge device with the egress synchronization module by means of a PTP, a local clock source.
  • the embodiment of the present invention further provides an ingress edge device, as shown in FIG. 4, located in a third-party synchronization network, where the ingress edge device includes an ingress 1588 transparent transmission (TC) traversal module and an ingress synchronization module, where:
  • the ingress synchronization module is configured to: synchronize the ingress edge device and the egress edge device with an egress synchronization module of the egress edge device;
  • the ingress 1588 TC traversal module is configured to: transparently transmit the received precision time protocol ( ⁇ ) message in the third-party synchronization network.
  • the ingress 1588 TC traversal module is configured to receive the following manner PTP ⁇ is transparently transmitted in the third-party synchronous network:
  • the ingress synchronization module is configured to synchronize the ingress edge device and the egress edge device with an egress synchronization module of the egress edge device:
  • network time protocol
  • the embodiment of the present invention further provides an egress edge device, as shown in FIG. 4, located in a third-party synchronization network, where the egress edge device includes an egress 1588 TC traversal module and an egress synchronization module, where:
  • the egress synchronization module is configured to: synchronize with the ingress edge device and the egress edge device with an ingress synchronization module of the ingress edge device;
  • the egress 1588 TC traversal module is configured to: when the transparently transmitted packet reaches the egress edge device, correct a correction field according to a delay inside the network, and send the correction field from the egress edge device to the next Level equipment.
  • the egress 1588 TC traversal module is configured to: when the transparent PTP packet arrives at the egress edge device, correct the correction field according to the delay inside the network in the following manner, and send the correction field from the egress edge device to the next-level device. :
  • the port is sent to the next level device; If it is a normal PTP packet, the correctionField is modified according to the delay inside the egress edge device, and then sent from the egress port of the egress edge device to the next device.
  • the egress synchronization module is configured to synchronize the ingress edge device and the egress edge device with an ingress synchronization module of the ingress edge device:
  • the synchronization of the ingress edge device and the egress edge device is implemented by the ingress synchronization module by means of a PTP, a network time protocol ( ) or a local clock source.
  • modules or steps of the present invention can be implemented by a general computing system, which can be concentrated on a single computing system or distributed in a network composed of multiple computing systems. Alternatively, they may be implemented by program code executable by the computing system, such that they may be stored in the storage system by the computing system and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
  • the invention is not limited to any particular combination of hardware and software.
  • the transparent transmission problem of the 1588 traversing the third-party synchronous network is solved, and only the third-party network edge device needs to be synchronized, and the intermediate network device does not need to identify and process the ⁇ message, and does not need to perform synchronization;
  • the solution of the present invention is simple to implement, does not require the extension of the routing protocol, and does not require the intermediate network device to support the TC capability, thereby greatly reducing the complexity and operating cost of the implementation. Therefore, the present invention has strong industrial applicability.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

一种穿越第三方同步网络的同步方法及系统,在第三方同步网络的入口边缘设备和出口边缘设备配置1588透传TC穿越模式,并在入口边缘设备和出口边缘设备之间进行同步;将需要穿越第三方同步网络的精密时间协议PTP报文在所述第三方同步网络中进行透传,当透传的PTP报文到达出口边缘设备时,根据网络内部的延迟对PTP报文的修正域correctionField进行修正,并从出口边缘设备发送到下一级设备。上述技术方案解决了1588穿越第三方同步网络的透传问题,只需要在第三方网络边缘设备实现同步,不需要路由协议的扩展,也不需要中间网络设备支持TC能力,大大降低了实现的复杂性和运营成本。

Description

穿越第三方同步网络的同步方法和系统
技术领域
本发明涉及 1588协议技术领域,尤其涉及一种穿越第三方同步网络的同 步方法和系统。
背景技术
随着第三代移动通信技术(3G, 3rd Generation ) 网络的高速发展, 1588 时间同步协议在通讯网络中得到越来越多的重视和广泛的应用。 国内外运营 商不断的使用 1588协议进行时间同步, 逐步替换使用全球定位系统(GPS, Global Position System )进行时间同步的方式。
如图 1所示,在 ITU-G G.8265提出了分组同步网管理域概念, 即分组同 步网分为不同的管理域, 不同的管理域拥有不同的时钟, 主时钟(Master ) 和从时钟(Slave )之间的精密时间协议(PTP, Precision Timing Protocol )消 息允许跨越其它运营商的第三方同步网络管理域实现同步。 但由于其它运营 商网络中间设备可能不支持 PTP, 导致 PTP分组报文穿越第三方同步网络时 存在抖动, 如果抖动过大, 将影响 Slave设备的时钟恢复性能。 因此, 如何 过滤中间网络设备引起的分组延迟变化( PDV, Packet Delay Variation )噪声, 是个急需解决的问题。
在 IETF TICTOC工作组中, draft-davari-tictoc-1588overmpls这篇草案描 述了 1588 over MPLS的应用场景及实现技术,它提出扩展路由协议进行 1588 能力通告, 并选择出基于 PTP的标签交换路径( LSP, Label Switching Path ) 转发路径。 但这个方案需要修改相关路由协议来建立专用的 PTP LSP, 另外 还需要中间网络设备识别 PTP报文以修正时间戳,导致这种方案的实现技术 复杂, 升级成本高; 另外此方案也破坏了多协议标签交换 (MPLS , Multi-Protocol Label Switching ) 网络的层次结构。 发明内容 本发明实施例要解决的技术问题是提供一种穿越第三方同步网络的同步 方法和系统, 以实现 1588透传时钟。
为解决上述技术问题, 本发明实施例釆用如下技术方案:
一种穿越第三方同步网络的同步方法, 包括:
在第三方同步网络的入口边缘设备和出口边缘设备配置 1588透传( TC ) 穿越模式, 并在所述入口边缘设备和所述出口边缘设备之间进行同步;
将需要穿越所述第三方同步网络的精密时间协议(PTP )报文在所述第 三方同步网络中进行透传, 当透传的所述 PTP报文到达出口边缘设备时, 根 据网络内部的延迟对所述 PTP报文的修正域( correctionField )进行修正 , 并 从所述出口边缘设备发送到下一级设备。
可选地,将需要穿越所述第三方同步网络的 PTP报文在所述第三方同步 网络中进行透传的步骤包括:
从所述入口边缘设备的入端口接收到所述 PTP报文时,所述入口边缘设 备根据用户的配置识别接收到的所述 PTP报文是否需要穿越所述第三网网络, 如果是,则所述入口边缘设备记录所述 PTP报文到达所述入口边缘设备的入 端口的入口时间戳, 并在所述 PTP报文中增加所述入口时间戳后, 在所述第 三方同步网络中进行透传;
所述出口边缘设备接收到所述 PTP报文时,根据所述 PTP报文中是否增 加有所述入口时间戳,判断所述 PTP报文是普通的 PTP报文还是透传的 PTP 报文。
可选地, 当透传的所述 PTP报文到达出口边缘设备时, 根据网络内部的 延迟对所述 PTP报文的修正域 (correctionField)进行修正, 并从所述出口边缘 设备发送到下一级设备的步骤包括:
所述出口边缘设备判断出接收到的 PTP报文是透传的 PTP报文时,记录 所述 PTP报文到达所述出口边缘设备的出口时间戳, 并将记录的出口时间戳 减去所述 PTP报文中的入口时间戳, 得到所述网络内部的延迟, 并根据得到 的所述网络内部的延迟修正 correctionField。
可选地, 当透传的所述 PTP报文到达出口边缘设备时, 根据网络内部的 延迟对所述 PTP报文的修正域 (correctionField)进行修正, 并从所述出口边缘 设备发送到下一级设备的步骤还包括:
所述出口边缘设备在修正 correctionField后, 删除所述透传的 PTP报文 中的入口时间戳, 从所述出口边缘设备的出端口发送到下一级设备。
可选地, 当透传的所述 PTP才艮文到达出口边缘设备时, 根据网络内部的 延迟对所述 PTP报文的修正域 (correctionField)进行修正, 并从所述出口边缘 设备发送到下一级设备的步骤包括:
所述出口边缘设备判断出接收到的 PTP报文是普通的 PTP报文时,根据 所述出口边缘设备内部的延迟修正 correctionField后, 从所述出口边缘设备 的出端口发送到下一级设备。
可选地, 在所述入口边缘设备和所述出口边缘设备之间进行同步的步骤 包括:
所述入口边缘设备和出口边缘设备通过 PTP、 网络时间协议( ΝΤΡ )或 本地时钟源的方式进行同步。
一种穿越第三方同步网络的同步系统, 所述同步系统包括第三方同步网 络的入口边缘设备和出口边缘设备, 所述入口边缘设备包括入口 1588 透传 ( TC )穿越模块和入口同步模块, 所述出口边缘设备包括出口 1588 TC穿越 模块和出口同步模块, 其中:
所述入口同步模块设置成: 与所述出口同步模块实现所述入口边缘设备 和出口边缘设备的同步;
所述入口 1588 TC穿越模块设置成: 将接收到的精密时间协议(ΡΤΡ ) 报文在所述第三方同步网络中进行透传;
所述出口 1588 TC穿越模块设置成: 当透传的所述 ΡΤΡ报文到达出口边 缘设备时, 根据网络内部的延迟修正修正域 (correctionField), 并从所述出口 边缘设备发送到下一级设备。
可选地, 所述入口 1588 TC 穿越模块设置成按照以下方式将接收到的 PTP 4艮文在所述第三方同步网络中进行透传: 从所述入口边缘设备的入端口接收到所述 PTP报文时 ,根据用户的配置 识别接收到的所述 PTP报文是否需要穿越所述第三网网络, 如果是, 则记录 所述 PTP报文到达所述入口边缘设备的入端口的入口时间戳, 并在所述 PTP 报文中增加所述入口时间戳后, 在所述第三方同步网络中进行透传。
可选地,所述出口 1588 TC穿越模块设置成当透传的 ΡΤΡ · ^艮文到达出口 边缘设备时,按照以下方式根据网络内部的延迟修正 correctionField , 并从所 述出口边缘设备发送到下一级设备:
接收到所述 PTP报文时,根据所述 PTP报文中是否增加有所述入口时间 戳, 判断所述 PTP报文是普通的 PTP报文还是透传的 PTP报文:
如果是透传的 PTP报文,则记录所述 PTP报文到达所述出口边缘设备的 出口时间戳,并将记录的出口时间戳减去所述 PTP报文中的所述入口时间戳, 得到所述网络内部的延迟, 并根据得到的所述网络内部的延迟修正 correctionField; 在修正 correctionField后, 删除所述透传的 PTP报文中的所 述入口时间戳, 从所述出口边缘设备的出端口发送到下一级设备;
如果是普通的 PTP 报文时, 根据所述出口边缘设备内部的延迟修正 correctionField后, 从所述出口边缘设备的出端口发送到下一级设备。
可选地, 所述入口同步模块设置成与所述出口同步模块实现所述入口边 缘设备和出口边缘设备的同步:
与所述出口同步模块通过 PTP、 网络时间协议(ΝΤΡ )或本地时钟源的 方式实现所述入口边缘设备和所述出口边缘设备的同步。
一种入口边缘设备, 位于第三方同步网络中, 所述入口边缘设备包括入 口 1588透传(TC ) 穿越模块和入口同步模块, 其中:
所述入口同步模块设置成: 与出口边缘设备的出口同步模块实现所述入 口边缘设备和出口边缘设备的同步;
所述入口 1588 TC穿越模块设置成: 将接收到的精密时间协议(ΡΤΡ ) 报文在所述第三方同步网络中进行透传。
可选地, 所述入口 1588 TC 穿越模块设置成按照以下方式将接收到的 PTP ^艮文在所述第三方同步网络中进行透传:
从所述入口边缘设备的入端口接收到所述 ΡΤΡ报文时,根据用户的配置 识别接收到的所述 ΡΤΡ报文是否需要穿越所述第三网网络, 如果是, 则记录 所述 ΡΤΡ报文到达所述入口边缘设备的入端口的入口时间戳, 并在所述 ΡΤΡ "^文中增加所述入口时间戳后, 在所述第三方同步网络中进行透传。
可选地, 所述入口同步模块设置成与出口边缘设备的出口同步模块实现 所述入口边缘设备和出口边缘设备的同步:
与所述出口同步模块通过 ΡΤΡ、 网络时间协议(ΝΤΡ )或本地时钟源的 方式实现所述入口边缘设备和所述出口边缘设备的同步。
一种出口边缘设备, 位于第三方同步网络中, 所述出口边缘设备包括出 口 1588 TC穿越模块和出口同步模块, 其中:
所述出口同步模块设置成: 与入口边缘设备的入口同步模块实现所述入 口边缘设备和出口边缘设备的同步;
所述出口 1588 TC穿越模块设置成: 当透传的所述 ΡΤΡ报文到达所述出 口边缘设备时, 根据网络内部的延迟修正修正域 (correctionField) , 并从所述 出口边缘设备发送到下一级设备。
可选地,所述出口 1588 TC穿越模块设置成当透传的 PTP报文到达出口 边缘设备时,按照以下方式根据网络内部的延迟修正 correctionField , 并从所 述出口边缘设备发送到下一级设备:
接收到所述 PTP报文时,根据所述 PTP报文中是否增加有所述入口时间 戳, 判断所述 PTP报文是普通的 PTP报文还是透传的 PTP报文:
如果是透传的 PTP报文,则记录所述 PTP报文到达所述出口边缘设备的 出口时间戳,并将记录的出口时间戳减去所述 PTP报文中的所述入口时间戳, 得到所述网络内部的延迟, 并根据得到的所述网络内部的延迟修正 correctionField; 在修正 correctionField后, 删除所述透传的 PTP报文中的所 述入口时间戳, 从所述出口边缘设备的出端口发送到下一级设备;
如果是普通的 PTP 报文时, 根据所述出口边缘设备内部的延迟修正 correctionField后, 从所述出口边缘设备的出端口发送到下一级设备。
可选地, 所述出口同步模块设置成与入口边缘设备的入口同步模块实现 所述入口边缘设备和出口边缘设备的同步:
与所述入口同步模块通过 ΡΤΡ、 网络时间协议( ΝΤΡ )或本地时钟源的 方式实现所述入口边缘设备和所述出口边缘设备的同步。
釆用上述技术方案,解决了 1588穿越第三方同步网络的透传问题,只需 要在第三方网络边缘设备实现同步, 中间网络设备不需要识别和处理 ΡΤΡ报 文, 也不需要进行同步; 与相关技术相比较, 本发明方案实现简单, 不需要 路由协议的扩展, 也不需要中间网络设备支持 TC能力, 大大降低了实现的 复杂性和运营成本。 附图概述
此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中:
图 1为相关技术的穿越第三方网络实现 1588时钟同步的示意图; 图 2为本发明实施例的穿越第三方网络实现 1588透传的示意图; 图 3为本发明另一实施例的穿越多个管理域实现 1588透传的示意图; 图 4为本发明实施例的穿越第三方同步网络的同步系统的示意框图。
本发明的较佳实施方式
本实施方式提出一种时间 /时钟的同步方案,将第三方同步网络看作一个 逻辑透传(TC, Transparent Clock )设备, 第三方同步网络的两个边缘设备 分别视作逻辑 TC的入口和出口; 只需要第三方同步网络的边缘设备实现同 步即可, 不需要中间网络设备实现同步。
其中, 本实施方式提供一种穿越第三方同步网络的同步方法, 釆用如下 技术方案:
在第三方同步网络的入口边缘设备和出口边缘设备配置 1588 TC穿越模 式, 并在所述入口边缘设备和出口边缘设备之间进行同步;
将需要穿越所述第三方同步网络的 PTP报文在所述第三方同步网络中进 行透传, 当透传的 PTP报文到达出口边缘设备时, 根据网络内部的延迟对 PTP报文的修正域(correctionField )进行修正, 并从所述出口边缘设备发送 到下一级设备。
其中, 入口边缘设备和出口边缘设备之间可以通过 PTP、 网络时间协议 ( NTP, Network Time Protocol )或者本地时钟源等其他方式进行同步。
可选地, 在入口边缘设备和出口边缘设备配置 1588 TC穿越模式的步骤 包括:
从入口边缘设备的入端口接收到 PTP报文时,入口边缘设备识别接收到 的 PTP报文是否需要穿越所述第三网网络(例如可根据用户的配置, 识别接 收到的 PTP报文是需要穿越的报文, 还是普通的报文) , 如果是, 将所述入 口边缘设备的内部时间戳(即 PTP报文到达所述入口边缘设备的入端口的时 间)记录为入口时间戳, 并在所述 PTP报文中增加所述入口时间戳后, 在所 述第三方同步网络中进行透传;
所述出口边缘设备接收到 PTP报文时,根据所述 PTP报文中是否增加有 所述入口时间戳, 判断所述 PTP报文是普通的 PTP报文还是透传的 PTP报 文。
可选地,所述出口边缘设备判断接收到的 PTP报文是透传的 PTP报文时, 记录 PTP报文到达所述出口边缘设备的出口时间戳, 并将记录的出口时间戳 减去所述 PTP报文中的入口时间戳, 得到所述网络内部的延迟后, 根据所述 网络内部的延迟修正 correctionField。
可选地, 所述出口边缘设备在修正 correctionField后, 删除所述透传的
PTP报文中的入口时间戳,从所述出口边缘设备的出端口发送到下一级设备。
可选地,所述出口边缘设备判断接收到的 PTP报文是普通的 PTP报文时, 根据所述出口边缘设备内部的延迟修正 correctionField后, 从所述出口边缘 设备的出端口发送到下一级设备。
为使本发明的目的、 技术方案和优点更加清楚明白, 下文中将结合附图 对本发明的实施例进行详细说明。 需要说明的是, 在不冲突的情况下, 本申 请中的实施例及实施例中的特征可以相互任意组合。
实施例一
如图 2所示, 本实施例的穿越第三方同步网络的时钟同步的具体流程主 要包括以下步骤:
步骤 1、 在第三方同步网络(本文中也简称作第三方网络) 两端的边缘 设备 (假定为入设备 A和出设备 B )进行时间同步;
步骤 2、在网络边缘设备 A的 PTP入端口配置特殊的 1588 TC穿越模式, 以与普通的 1588 TC区分开来;
步骤 3、 当 PTP报文从设备 A的这个 PTP端口进入时, 设备 A识别出 PTP报文, 并在 PTP报文中附加设备 A的内部时间戳 TS1 , 此时 PTP普通 文成为 PTP扩展 ^艮文;
步骤 4、 PTP报文在第三方网络内部做透传处理, 即中间网络设备不需 要识别 PTP报文, 也不需要进行时间戳修正, 直接转发即可; 另外, 中间网 络设备也不需要同步;
步骤 5、 当 PTP报文到达出口设备 B时, 需要识别是普通的 PTP报文还 是扩展的 PTP 报文; 对普通 PTP 报文, 根据设备 B 内部的延迟修正 correctionField;
步骤 6、 对扩展 PTP报文, 根据网络内部的延迟修正 correctionField; 即 在 PTP出端口记录出口时间戳 TS2, 并和 TS1相减, 得到网络内部引入的延 迟; 最后再爹正 PTP才艮文的 correctionField;
步骤 7、 修正 correctionField后, 删除 PTP扩展报文中的时间戳, 使变 为 PTP普通报文, 并从出端口发送出去, 交给下一级设备进行处理。
本实施例中, 扩展了 PTP报文格式, 通过增加一个字段, 用于记录 PTP 报文到达第三方同步网络入口设备的时间戳。 实施例二
本实施例中描述了穿越多个中间网络设备实现 1588透传的处理。如图 3 所示, 其处理过程描述如下:
分组网络分为不同的管理域, 分成的管理域包括运营商 A、 运营商 B、 运营商 C, 每个管理域具有本地独立的参考源, 并实现了同步;
网络运营商 A的 Master时钟需要通过运营商 B网络传递定时流到运营 商 C网络 Slave设备, 运营商 B网络看作一个逻辑 TC设备;
对运营商 A的 TC1设备, PTP报文按相关标准流程进行处理; 运营商 B网络看作逻辑 TC设备, 具体穿越流程参考前述实施例一; 对运营商 C的 TC2设备, PTP报文按相关标准流程进行处理; 运营商 C的 Slave设备收到 PTP报文, PTP报文按相关标准流程进行处 理, 从而实现了多个管理域的 PTP同步。
根据以上描述可以看出, 本发明方案不需要相关路由协议的扩展, 也不 要对相关第三方同步网络的中间设备进行升级换代, 实现方式简单, 成本更 低, 网络设备升级方便。
如图 4所示, 本发明实施例中还提供了一种穿越第三方同步网络的同步 系统, 该系统包括第三方同步网络的入口边缘设备和出口边缘设备, 入口边 缘设备包括入口 1588 TC穿越模块和入口同步模块, 出口边缘设备包括出口 1588 TC穿越模块和出口同步模块, 其中:
所述入口同步模块设置成: 与所述出口同步模块实现所述入口边缘设备 和出口边缘设备的同步;
所述入口 1588 TC穿越模块设置成:将接收到的 PTP报文在所述第三方 同步网络中进行透传;
所述出口 1588 TC穿越模块设置成: 当透传的 PTP报文到达出口边缘设 备时,根据网络内部的延迟修正 correctionField, 并从所述出口边缘设备发送 到下一级设备。
可选地, 所述入口 1588 TC 穿越模块设置成按照以下方式将接收到的 PTP报文在所述第三方同步网络中进行透传: 从所述入口边缘设备的入端口 接收到 PTP报文时,根据用户的配置识别接收到的 PTP报文是否需要穿越所 述第三网网络, 如果是, 则记录所述 PTP报文到达所述入口边缘设备的入端 口的入口时间戳, 并在所述 PTP报文中增加所述入口时间戳后, 在所述第三 方同步网络中进行透传。
可选地, 所述出口 1588 TC穿越模块设置成按照以下方式根据网络内部 的延迟爹正 correctionField, 并从所述出口边缘设备发送到下一级设备:
接收到 PTP报文时, 根据所述 PTP报文中是否增加有所述入口时间戳, 判断所述 PTP报文是普通的 PTP报文还是透传的 PTP报文:
如果是透传的 PTP报文,则记录所述 PTP报文到达所述出口边缘设备的 出口时间戳, 并将记录的出口时间戳减去所述 PTP报文中的入口时间戳, 得 到所述网络内部的延迟, 并根据得到的所述网络内部的延迟修正 correctionField; 在修正 correctionField后, 删除所述透传的 PTP报文中的入 口时间戳, 从所述出口边缘设备的出端口发送到下一级设备;
如果是普通的 PTP 报文时, 根据所述出口边缘设备内部的延迟修正 correctionField后, 从所述出口边缘设备的出端口发送到下一级设备。
可选地,所述入口同步模块设置成:与所述出口同步模块通过 PTP、 ΝΤΡ 或本地时钟源的方式实现所述入口边缘设备和出口边缘设备的同步。
本发明实施例还提供了一种入口边缘设备, 如图 4所示, 位于第三方同 步网络中, 所述入口边缘设备包括入口 1588透传(TC ) 穿越模块和入口同 步模块, 其中: 所述入口同步模块设置成: 与出口边缘设备的出口同步模块实现所述入 口边缘设备和出口边缘设备的同步;
所述入口 1588 TC穿越模块设置成: 将接收到的精密时间协议(ΡΤΡ ) 报文在所述第三方同步网络中进行透传。
可选地, 所述入口 1588 TC 穿越模块设置成按照以下方式将接收到的 PTP ^艮文在所述第三方同步网络中进行透传:
从所述入口边缘设备的入端口接收到所述 ΡΤΡ报文时,根据用户的配置 识别接收到的所述 ΡΤΡ报文是否需要穿越所述第三网网络, 如果是, 则记录 所述 ΡΤΡ报文到达所述入口边缘设备的入端口的入口时间戳, 并在所述 ΡΤΡ "^文中增加所述入口时间戳后, 在所述第三方同步网络中进行透传。
可选地, 所述入口同步模块设置成与出口边缘设备的出口同步模块实现 所述入口边缘设备和出口边缘设备的同步:
与所述出口同步模块通过 ΡΤΡ、 网络时间协议(ΝΤΡ )或本地时钟源的 方式实现所述入口边缘设备和所述出口边缘设备的同步。
本发明实施例还提供了一种出口边缘设备, 如图 4所示, 位于第三方同 步网络中, 所述出口边缘设备包括出口 1588 TC穿越模块和出口同步模块, 其中:
所述出口同步模块设置成: 与入口边缘设备的入口同步模块实现所述入 口边缘设备和出口边缘设备的同步;
所述出口 1588 TC穿越模块设置成: 当透传的所述 ΡΤΡ报文到达所述出 口边缘设备时, 根据网络内部的延迟修正修正域 (correctionField) , 并从所述 出口边缘设备发送到下一级设备。
可选地,所述出口 1588 TC穿越模块设置成当透传的 PTP报文到达出口 边缘设备时,按照以下方式根据网络内部的延迟修正 correctionField , 并从所 述出口边缘设备发送到下一级设备:
接收到所述 PTP报文时,根据所述 PTP报文中是否增加有所述入口时间 戳, 判断所述 PTP报文是普通的 PTP报文还是透传的 PTP报文:
如果是透传的 PTP报文,则记录所述 PTP报文到达所述出口边缘设备的 出口时间戳,并将记录的出口时间戳减去所述 PTP报文中的所述入口时间戳, 得到所述网络内部的延迟, 并根据得到的所述网络内部的延迟修正 correctionField; 在修正 correctionField后, 删除所述透传的 PTP报文中的所 述入口时间戳, 从所述出口边缘设备的出端口发送到下一级设备; 如果是普通的 PTP 报文时, 根据所述出口边缘设备内部的延迟修正 correctionField后, 从所述出口边缘设备的出端口发送到下一级设备。
可选地, 所述出口同步模块设置成与入口边缘设备的入口同步模块实现 所述入口边缘设备和出口边缘设备的同步:
与所述入口同步模块通过 PTP、 网络时间协议( ΝΤΡ )或本地时钟源的 方式实现所述入口边缘设备和所述出口边缘设备的同步。
以上仅为本发明的优选实施案例而已, 并不用于限制本发明, 本发明还 可有其他多种实施例, 在不背离本发明精神及其实质的情况下, 熟悉本领域 的技术人员可根据本发明做出各种相应的改变和变形, 但这些相应的改变和 变形都应属于本发明所附的权利要求的保护范围。
显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可 以用通用的计算系统来实现, 它们可以集中在单个的计算系统上, 或者分布 在多个计算系统所组成的网络上, 可选地, 它们可以用计算系统可执行的程 序代码来实现, 从而, 可以将它们存储在存储系统中由计算系统来执行, 并 且在某些情况下, 可以以不同于此处的顺序执行所示出或描述的步骤, 或者 将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制作 成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和软件 结合。
工业实用性
釆用上述技术方案,解决了 1588穿越第三方同步网络的透传问题,只需 要在第三方网络边缘设备实现同步, 中间网络设备不需要识别和处理 ΡΤΡ报 文, 也不需要进行同步; 与相关技术相比较, 本发明方案实现简单, 不需要 路由协议的扩展, 也不需要中间网络设备支持 TC能力, 大大降低了实现的 复杂性和运营成本。 因此本发明具有很强的工业实用性。

Claims

权 利 要 求 书
1、 一种穿越第三方同步网络的同步方法, 包括:
在第三方同步网络的入口边缘设备和出口边缘设备配置 1588透传( TC ) 穿越模式, 并在所述入口边缘设备和所述出口边缘设备之间进行同步;
将需要穿越所述第三方同步网络的精密时间协议(PTP )报文在所述第 三方同步网络中进行透传, 当透传的所述 PTP报文到达出口边缘设备时, 根 据网络内部的延迟对所述 PTP报文的修正域( correctionField )进行修正 , 并 从所述出口边缘设备发送到下一级设备。
2、如权利要求 1所述的同步方法, 其中, 将需要穿越所述第三方同步网 络的 ΡΤΡ · ^艮文在所述第三方同步网络中进行透传的步骤包括:
从所述入口边缘设备的入端口接收到所述 PTP报文时,所述入口边缘设 备根据用户的配置识别接收到的所述 PTP报文是否需要穿越所述第三网网络, 如果是,则所述入口边缘设备记录所述 PTP报文到达所述入口边缘设备的入 端口的入口时间戳, 并在所述 PTP报文中增加所述入口时间戳后, 在所述第 三方同步网络中进行透传;
所述出口边缘设备接收到所述 PTP报文时,根据所述 PTP报文中是否增 加有所述入口时间戳,判断所述 PTP报文是普通的 PTP报文还是透传的 PTP 报文。
3、 如权利要求 2所述的同步方法, 其中, 当透传的所述 PTP报文到达 出口边缘设备时, 根据网络内部的延迟对所述 PTP 才艮文的修正域
(correctionField)进行修正, 并从所述出口边缘设备发送到下一级设备的步骤 包括:
所述出口边缘设备判断出接收到的 PTP报文是透传的 PTP报文时,记录 所述 PTP报文到达所述出口边缘设备的出口时间戳, 并将记录的出口时间戳 减去所述 PTP报文中的入口时间戳, 得到所述网络内部的延迟, 并根据得到 的所述网络内部的延迟修正 correctionField。
4、 如权利要求 2或 3所述的同步方法, 其中, 当透传的所述 PTP报文 到达出口边缘设备时, 根据网络内部的延迟对所述 PTP 报文的修正域 (correctionField)进行修正, 并从所述出口边缘设备发送到下一级设备的步骤 还包括:
所述出口边缘设备在修正 correctionField后, 删除所述透传的 PTP报文 中的入口时间戳, 从所述出口边缘设备的出端口发送到下一级设备。
5、 如权利要求 2所述的同步方法, 其中, 当透传的所述 PTP报文到达 出口边缘设备时, 根据网络内部的延迟对所述 PTP 报文的修正域 (correctionField)进行修正, 并从所述出口边缘设备发送到下一级设备的步骤 包括:
所述出口边缘设备判断出接收到的 PTP报文是普通的 PTP报文时,根据 所述出口边缘设备内部的延迟修正 correctionField后, 从所述出口边缘设备 的出端口发送到下一级设备。
6、如权利要求 1所述的同步方法, 其中, 在所述入口边缘设备和所述出 口边缘设备之间进行同步的步骤包括:
所述入口边缘设备和出口边缘设备通过 PTP、 网络时间协议( ΝΤΡ )或 本地时钟源的方式进行同步。
7、一种穿越第三方同步网络的同步系统,所述同步系统包括第三方同步 网络的入口边缘设备和出口边缘设备,所述入口边缘设备包括入口 1588透传
( TC )穿越模块和入口同步模块, 所述出口边缘设备包括出口 1588 TC穿越 模块和出口同步模块, 其中:
所述入口同步模块设置成: 与所述出口同步模块实现所述入口边缘设备 和出口边缘设备的同步;
所述入口 1588 TC穿越模块设置成: 将接收到的精密时间协议(ΡΤΡ ) 报文在所述第三方同步网络中进行透传;
所述出口 1588 TC穿越模块设置成: 当透传的所述 ΡΤΡ报文到达出口边 缘设备时, 根据网络内部的延迟修正修正域 (correctionField), 并从所述出口 边缘设备发送到下一级设备。
8、 如权利要求 7所述的同步系统, 其中, 所述入口 1588 TC穿越模块 设置成按照以下方式将接收到的 PTP报文在所述第三方同步网络中进行透传: 从所述入口边缘设备的入端口接收到所述 PTP报文时 ,根据用户的配置 识别接收到的所述 PTP报文是否需要穿越所述第三网网络, 如果是, 则记录 所述 PTP报文到达所述入口边缘设备的入端口的入口时间戳, 并在所述 PTP 报文中增加所述入口时间戳后, 在所述第三方同步网络中进行透传。
9、 如权利要求 8所述的同步系统, 其中, 所述出口 1588 TC穿越模块 设置成当透传的 PTP报文到达出口边缘设备时,按照以下方式根据网络内部 的延迟爹正 correctionField, 并从所述出口边缘设备发送到下一级设备:
接收到所述 PTP报文时,根据所述 PTP报文中是否增加有所述入口时间 戳, 判断所述 PTP报文是普通的 PTP报文还是透传的 PTP报文:
如果是透传的 PTP报文,则记录所述 PTP报文到达所述出口边缘设备的 出口时间戳,并将记录的出口时间戳减去所述 PTP报文中的所述入口时间戳, 得到所述网络内部的延迟, 并根据得到的所述网络内部的延迟修正 correctionField; 在修正 correctionField后, 删除所述透传的 PTP报文中的所 述入口时间戳, 从所述出口边缘设备的出端口发送到下一级设备;
如果是普通的 PTP 报文时, 根据所述出口边缘设备内部的延迟修正 correctionField后, 从所述出口边缘设备的出端口发送到下一级设备。
10、 如权利要求 7所述的同步系统, 其中, 所述入口同步模块设置成与 所述出口同步模块实现所述入口边缘设备和出口边缘设备的同步:
与所述出口同步模块通过 PTP、 网络时间协议(ΝΤΡ )或本地时钟源的 方式实现所述入口边缘设备和所述出口边缘设备的同步。
11、 一种入口边缘设备, 位于第三方同步网络中, 所述入口边缘设备包 括入口 1588透传 (TC ) 穿越模块和入口同步模块, 其中:
所述入口同步模块设置成: 与出口边缘设备的出口同步模块实现所述入 口边缘设备和出口边缘设备的同步;
所述入口 1588 TC穿越模块设置成: 将接收到的精密时间协议(ΡΤΡ ) 报文在所述第三方同步网络中进行透传。
12、 如权利要求 11所述的入口边缘设备, 其中, 所述入口 1588 TC穿 越模块设置成按照以下方式将接收到的 ΡΤΡ报文在所述第三方同步网络中进 行透传:
从所述入口边缘设备的入端口接收到所述 PTP报文时,根据用户的配置 识别接收到的所述 PTP报文是否需要穿越所述第三网网络, 如果是, 则记录 所述 PTP报文到达所述入口边缘设备的入端口的入口时间戳, 并在所述 PTP "^文中增加所述入口时间戳后, 在所述第三方同步网络中进行透传。
13、 如权利要求 11或 12所述的入口边缘设备, 其中, 所述入口同步模 块设置成与出口边缘设备的出口同步模块实现所述入口边缘设备和出口边缘 设备的同步:
与所述出口同步模块通过 PTP、 网络时间协议(ΝΤΡ )或本地时钟源的 方式实现所述入口边缘设备和所述出口边缘设备的同步。
14、 一种出口边缘设备, 位于第三方同步网络中, 所述出口边缘设备包 括出口 1588 TC穿越模块和出口同步模块, 其中:
所述出口同步模块设置成: 与入口边缘设备的入口同步模块实现所述入 口边缘设备和出口边缘设备的同步;
所述出口 1588 TC穿越模块设置成: 当透传的所述 ΡΤΡ报文到达所述出 口边缘设备时, 根据网络内部的延迟修正修正域 (correctionField) , 并从所述 出口边缘设备发送到下一级设备。
15、 如权利要求 14所述的出口边缘设备, 其中, 所述出口 1588 TC穿 越模块设置成当透传的 PTP报文到达出口边缘设备时,按照以下方式根据网 络内部的延迟修正 correctionField ,并从所述出口边缘设备发送到下一级设备: 接收到所述 PTP报文时,根据所述 PTP报文中是否增加有所述入口时间 戳, 判断所述 PTP报文是普通的 PTP报文还是透传的 PTP报文:
如果是透传的 PTP报文,则记录所述 PTP报文到达所述出口边缘设备的 出口时间戳,并将记录的出口时间戳减去所述 PTP报文中的所述入口时间戳, 得到所述网络内部的延迟, 并根据得到的所述网络内部的延迟修正 correctionField; 在修正 correctionField后, 删除所述透传的 PTP报文中的所 述入口时间戳, 从所述出口边缘设备的出端口发送到下一级设备;
如果是普通的 PTP 报文时, 根据所述出口边缘设备内部的延迟修正 correctionField后, 从所述出口边缘设备的出端口发送到下一级设备。
16、 如权利要求 14或 15所述的出口边缘设备, 其中, 所述出口同步模 块设置成与入口边缘设备的入口同步模块实现所述入口边缘设备和出口边缘 设备的同步:
与所述入口同步模块通过 ΡΤΡ、 网络时间协议( ΝΤΡ )或本地时钟源的 方式实现所述入口边缘设备和所述出口边缘设备的同步。
PCT/CN2012/079493 2011-08-26 2012-08-01 穿越第三方同步网络的同步方法和系统 WO2013029453A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP12828422.1A EP2750339A4 (en) 2011-08-26 2012-08-01 SYNCHRONIZATION PROCESS AND SYSTEM FOR CONTINUING THROUGH A SYNCHRONOUS THIRD-PARTY NETWORK

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110249242.0 2011-08-26
CN201110249242.0A CN102957528B (zh) 2011-08-26 2011-08-26 穿越第三方同步网络的同步方法和系统

Publications (1)

Publication Number Publication Date
WO2013029453A1 true WO2013029453A1 (zh) 2013-03-07

Family

ID=47755296

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/079493 WO2013029453A1 (zh) 2011-08-26 2012-08-01 穿越第三方同步网络的同步方法和系统

Country Status (3)

Country Link
EP (1) EP2750339A4 (zh)
CN (1) CN102957528B (zh)
WO (1) WO2013029453A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104348568A (zh) * 2013-07-23 2015-02-11 中兴通讯股份有限公司 时间同步处理方法及装置
CN104506296B (zh) * 2014-12-08 2018-02-27 盛科网络(苏州)有限公司 一种保证ptp报文路径对称的实现方法
WO2016095099A1 (zh) 2014-12-16 2016-06-23 华为技术有限公司 一种时间同步方法及装置
CN104602141A (zh) * 2015-01-16 2015-05-06 深圳市中兴微电子技术有限公司 一种otn网络中实现时间同步的方法、设备和系统
TWI612831B (zh) 2016-03-01 2018-01-21 財團法人工業技術研究院 時脈同步方法、行動網路系統、網路控制器與網路交換器

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005086414A1 (fr) * 2004-03-08 2005-09-15 Huawei Technologies Co., Ltd. Controleur de reseautage en mode de transfert asynchrone et systeme de reseau de communication
CN101494613A (zh) * 2009-02-24 2009-07-29 华为技术有限公司 时钟报文隧道传输的方法、网络节点和通信系统
CN101594673A (zh) * 2009-06-29 2009-12-02 中兴通讯股份有限公司 一种分布式处理1588时间戳的方法及系统

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232457B (zh) * 2008-02-22 2011-04-27 浙江大学 一种基于ieee1588协议的高精度实时同步方法
KR101336360B1 (ko) * 2009-04-21 2013-12-04 알까뗄 루슨트 Ntp 온-패스-서포트를 위한 add 및 drop 엘리먼트 및 ntp와 ieee-1588 프로토콜 도메인들 사이에 상호 운용을 위한 방법
ATE550839T1 (de) * 2010-01-05 2012-04-15 Alcatel Lucent Übertragung einer synchronisierungsnachricht durch ein paketfunknetzwerk

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005086414A1 (fr) * 2004-03-08 2005-09-15 Huawei Technologies Co., Ltd. Controleur de reseautage en mode de transfert asynchrone et systeme de reseau de communication
CN101494613A (zh) * 2009-02-24 2009-07-29 华为技术有限公司 时钟报文隧道传输的方法、网络节点和通信系统
CN101594673A (zh) * 2009-06-29 2009-12-02 中兴通讯股份有限公司 一种分布式处理1588时间戳的方法及系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2750339A4 *

Also Published As

Publication number Publication date
CN102957528A (zh) 2013-03-06
CN102957528B (zh) 2018-03-02
EP2750339A4 (en) 2015-01-14
EP2750339A1 (en) 2014-07-02

Similar Documents

Publication Publication Date Title
Nasrallah et al. Ultra-low latency (ULL) networks: The IEEE TSN and IETF DetNet standards and related 5G ULL research
KR102077241B1 (ko) 네트워크에서 레지던스 시간 정보의 송신
CN102104476B (zh) 时钟同步装置及方法
CN102017652B (zh) 用于在媒体网络中使用的网络设备、方法和/或系统
US20130145041A1 (en) Optimizing Timing Packet Transport
KR101488233B1 (ko) 패킷-스위칭된 네트워크의 마스터 및 슬레이브 클록들을 동기화하기 위한 비-간섭적인 방법, 및 연관된 동기화 디바이스들
US20130121347A1 (en) Communication apparatus
US20090190589A1 (en) Flexible time stamping
EP2541815B1 (en) Clock synchronization network
WO2017012486A1 (zh) 一种otn网元设备、otn时钟和时间的同步方法及系统
Garner et al. Synchronization of audio/video bridging networks using IEEE 802.1 AS
CN102938676A (zh) 时间同步处理方法、装置及系统
WO2013029453A1 (zh) 穿越第三方同步网络的同步方法和系统
US10355799B2 (en) Pseudowire clock recovery
CN102013931A (zh) 时间同步方法及系统、从属定时设备及主定时设备
KR20130090920A (ko) 투명한 클록을 위한 터널 팔로우-업 메시지
CN105553595B (zh) 一种分布式系统中的设备及其同步方法
Striffler et al. Time-sensitive networking in 5th generation cellular networks-current state and open topics
CN103051439B (zh) 一种选择时钟源的方法及装置
CN113424466B (zh) 时钟同步的方法和装置
EP2713626A1 (en) Method and system for providing an external optical data packet to a destination node of a packet optical network
CN102342051B (zh) 用于通过经由至少一个时间分发协议分开传输第一和第二数据来同步时钟的方法和相关的系统及模块
WO2012041142A1 (zh) 一种建立和拆除双向点到多点标签转发路径的方法及系统
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
WO2016184225A1 (zh) 一种时间同步消息发送方法和装置

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE