WO2016112666A1 - Otn网络中实现时间同步的方法、设备、***及存储介质 - Google Patents

Otn网络中实现时间同步的方法、设备、***及存储介质 Download PDF

Info

Publication number
WO2016112666A1
WO2016112666A1 PCT/CN2015/083984 CN2015083984W WO2016112666A1 WO 2016112666 A1 WO2016112666 A1 WO 2016112666A1 CN 2015083984 W CN2015083984 W CN 2015083984W WO 2016112666 A1 WO2016112666 A1 WO 2016112666A1
Authority
WO
WIPO (PCT)
Prior art keywords
time synchronization
message
time
timestamp
request message
Prior art date
Application number
PCT/CN2015/083984
Other languages
English (en)
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 US15/543,386 priority Critical patent/US20180026735A1/en
Priority to KR1020177022817A priority patent/KR20170105573A/ko
Priority to EP15877581.7A priority patent/EP3247069B1/en
Publication of WO2016112666A1 publication Critical patent/WO2016112666A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0075Arrangements for synchronising receiver with transmitter with photonic or optical means
    • 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/0647Synchronisation among TDM nodes
    • H04J3/065Synchronisation among TDM nodes using timestamps
    • 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/067Details of the timestamp structure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J2203/00Aspects of optical multiplex systems other than those covered by H04J14/05 and H04J14/07
    • H04J2203/0001Provisions for broadband connections in integrated services digital network using frames of the Optical Transport Network [OTN] or using synchronous transfer mode [STM], e.g. SONET, SDH
    • H04J2203/0073Services, e.g. multimedia, GOS, QOS
    • H04J2203/0082Interaction of SDH with non-ATM protocols
    • H04J2203/0085Support of Ethernet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J2203/00Aspects of optical multiplex systems other than those covered by H04J14/05 and H04J14/07
    • H04J2203/0001Provisions for broadband connections in integrated services digital network using frames of the Optical Transport Network [OTN] or using synchronous transfer mode [STM], e.g. SONET, SDH
    • H04J2203/0089Multiplexing, e.g. coding, scrambling, SONET

Definitions

  • the present invention relates to an optical transport network (OTN) transmission technology, and in particular, to a method, device, system and computer storage medium for implementing time synchronization in an OTN network.
  • OTN optical transport network
  • OTN has become the mainstream of transmission networks, and OTN networks have become platforms for various services.
  • Many services have high requirements for time synchronization, and the OTN network, as the bearer of the service, also needs to ensure the correct transmission of the time synchronization protocol.
  • the IEEE1588 protocol can provide time synchronization and frequency synchronization in a unified manner, and can be adapted to inter-office time-frequency transmission methods of different transmission platforms.
  • the core idea is to use the master-slave clock method to encode time information, and utilize network symmetry and delay measurement.
  • the technology realizes the synchronization of the master-slave time through the two-way interaction of the message. It can be seen that to achieve high-precision 1588 pairs, two conditions must be met: one is that the transmission path is symmetrical, and the other is that the time deviation of the master-slave node is stable and no change is allowed. If either of these two conditions is not met, it will have a great impact on the accuracy of the synchronization.
  • the transmission time of the OTN network is not a stable value due to various encapsulation, mapping, and encoding processes. Therefore, to achieve high-precision 1588 time synchronization in the OTN network, it is necessary to solve the problem of asymmetric and unstable transmission delay.
  • embodiments of the present invention are directed to a method, device, system, and computer storage medium for implementing time synchronization in an OTN network, which can eliminate the influence of delay asymmetry of the OTN network and improve the accuracy of the 1588 time alignment.
  • An embodiment of the present invention provides a method for implementing time synchronization in an OTN network, where the method includes:
  • the master device generates a time synchronization message, and performs a first modification on the correction field of the time synchronization message, and sends a time synchronization message to the slave device, where the time synchronization message carries the first timestamp T1;
  • the master device receives the delay request message that is subjected to the third modification and carries the third timestamp T3, performs a fourth modification on the correction field of the delay request message, and adds a fourth timestamp T4 to send the fourth device to the slave device.
  • the corrected delay request message and the fourth timestamp T4 delay response message.
  • the master device generates a time synchronization packet, and performs a first modification on the modified domain of the time synchronization packet, and sends a time synchronization packet to the slave device, where the time synchronization packet carries the first timestamp T1, including :
  • the primary device includes a first time synchronization device and a first service delivery device, wherein the first time synchronization device generates a time synchronization message, and writes the first timestamp T1 when the time synchronization message is generated into the time synchronization message. And adding, to the correction field of the time synchronization message, the time synchronization message is added to the correction field of the time synchronization message of the first time synchronization device, and the first service transmission device receives the time synchronization message sent by the first time synchronization device, and The time synchronization message is sent out to the correction field in the time synchronization message by the local counting time t2 of the first service transmitting device, and the time synchronization message is transmitted.
  • the fourth modification is performed on the correction domain of the delay request message, and the fourth timestamp T4 is added, and the correction domain and the fourth time of carrying the fourth modified delay request message are sent to the slave device.
  • Paging the delay response message of T4 including:
  • the first service transmitting device sends the local counting time t3 when receiving the delay request message to the first time synchronization device together with the delay request message, and the first time synchronization device determines the local counting time when receiving the delay request message.
  • T4 adding the difference between t4 and t3 to the correction domain of the delay request message And generating a delay response message, adding a fourth timestamp T4 when the delay response message is generated and a correction field of the delay request message to the delayed response message, and transmitting to the slave through the first service transmitting device
  • the device sends the delay response message.
  • the sending the time synchronization message to the slave device includes: after the time synchronization message is encapsulated by the general framing program GFP-F of the frame mapping, inserted into the reserved overhead of the OTN frame, and time is used by using the OTN frame.
  • the synchronization message is transmitted to the slave device.
  • the embodiment of the invention further provides a method for implementing time synchronization in an OTN network, the method comprising:
  • the slave device generates a delay request message, and performs a third modification on the correction field of the delay request message, and sends a delay request message to the master device, where the delay request message carries a third timestamp T3;
  • the correction domain carrying the fourth modified delay request message and the delay response message of the fourth timestamp T4 according to T1, T2, T3, T4, the correction domain of the time synchronization message, and the delay request
  • the correction domain of the message is synchronized with the time of the master device.
  • the slave device receives the time synchronization message that is subjected to the first modification and carries the first timestamp T1, performs a second modification on the correction field of the time synchronization message, and adds the second timestamp T2, including:
  • the slave device includes a second time synchronization device and a second service delivery device, wherein the second service delivery device receives the time synchronization message that passes the first correction and carries the first timestamp T1, and compares the local counting time t5 at the time of reception with time
  • the synchronization message is sent to the second time synchronization device together, and the second time synchronization device determines the local counting time t6 when receiving the time synchronization message, and adds the difference between t6 and t5 to the correction domain of the time synchronization message, and
  • the second timestamp T2 when receiving the time synchronization message is added to the time synchronization message.
  • the slave device generates a delay request message, and corrects the delay request message.
  • the third modification is performed by the domain, and the delay request packet is sent to the primary device, where the delayed request packet carries the third timestamp T3, including:
  • the second time synchronization device generates a delay request message, writes a third timestamp T3 when the delay request message is generated, into the delay request message, and sends the delayed request message to the second time synchronization device.
  • the complement of the local counting time t7 is added to the modified domain of the delay request message, and the second service transmitting device receives the delayed request message sent by the second time synchronization device, and sends the delayed request message to the second service transmitting device.
  • the local count time t8 is added to the correction domain in the time synchronization message, and the delay request message is transmitted.
  • the embodiment of the invention further provides a method for implementing time synchronization in an OTN network, the method comprising:
  • the master device generates a time synchronization message, and performs a first modification on the correction field of the time synchronization message, and sends a time synchronization message to the slave device, where the time synchronization message carries the first timestamp T1;
  • the slave device performs a second modification on the correction domain of the time synchronization message, and adds a second timestamp T2;
  • the slave device generates a delay request message, and performs a third modification on the correction field of the delay request message, and sends a delay request message to the master device, where the delay request message carries a third timestamp T3;
  • the master device performs a fourth modification on the modified domain of the delay request packet, and adds a fourth timestamp T4 to send the delay field carrying the fourth modified delay request message and the delay of the fourth timestamp T4 to the slave device.
  • Time response message ;
  • the slave device performs time synchronization with the master device according to T1, T2, T3, T4, the correction domain of the time synchronization message, and the correction domain of the delay request message.
  • the embodiment of the present invention further provides a master device, where the master device includes: a first time synchronization device and a first service delivery device, where
  • the first time synchronization device is configured to generate a time synchronization message, write the first timestamp when the time synchronization message is generated into the time synchronization message, and output the time synchronization message to the local time counting device of the first time synchronization device.
  • the complement of time t1 is added to the correction domain of the time synchronization message; it is also configured to Determining the local counting time t4 when receiving the delay request message, adding the difference between t4 and the local counting time t3 when the first service transmitting device receives the delay request message to the correction domain of the delay request message, and Generating a delay response message, adding a fourth timestamp T4 when the delay response message is generated and a correction field of the delay request message to the delay response message, and transmitting the message to the slave device by using the first service transmission device Delay response message;
  • the first service transmitting device is configured to receive the time synchronization message sent by the first time synchronization device 41, and accumulate the local synchronization time t2 of the time synchronization message from the first service transmission device into the correction domain in the time synchronization message.
  • the time synchronization message is sent out; the delay time request message received by the slave device and carrying the third timestamp T3 is received, and the local counting time t3 at the time of receiving is sent together with the delay request message to the first time. Synchronization device.
  • the first time synchronization device and the first service delivery device each include a local time counter configured to respectively generate a local counting time t1 of the first time synchronization device, a local counting time t4, and a first service transmission.
  • An embodiment of the present invention further provides a slave device, where the slave device includes: a second time synchronization device and a second service delivery device, where
  • the second service transmitting device is configured to receive the time synchronization message that is corrected by the master device and carries the first timestamp T1, and send the local counting time t5 at the time of receiving together with the time synchronization message to the second time synchronization device, and further configured And receiving the delay request message sent by the second time synchronization device, and accumulating the delay request message from the local counting time t8 of the second service transmitting device to the correction domain in the time synchronization message, and delaying the request message Transmitting, and receiving a correction domain carrying the delayed request message corrected by the master device and a delay response message of the fourth timestamp T4;
  • the second time synchronization device is configured to determine a local counting time t6 when receiving the time synchronization message, add the difference between t6 and t5 to the correction domain of the time synchronization message, and receive the second time when the time synchronization message is received.
  • the timestamp T2 is added to the time synchronization message, and is also configured to generate a delay request message.
  • the third timestamp T3 when the delay request message is generated is written into the delay request message, and the delay request message is added to the delay request of the local time counting time t7 of the second time synchronization device.
  • T1, T2, T3, T4 the correction domain of the time synchronization message and the correction domain of the delay request message, the time synchronization with the master device is performed.
  • the second time synchronization device and the second service transmission device each include a local time counter configured to respectively generate a local time t6 of the second time synchronization device, a local counting time t7, and a second service transmission.
  • An embodiment of the present invention provides a system for implementing time synchronization in an OTN network, where the system includes: a master device and a slave device;
  • the master device is configured to generate a time synchronization packet, perform a first modification on the correction domain of the time synchronization packet, and send a time synchronization packet to the slave device, where the time synchronization packet carries the first timestamp T1; After the third modification and carrying the delay request message of the third timestamp T3, the fourth modification of the correction domain of the delay request message is performed, and the fourth timestamp T4 is added, and the fourth modified version is carried to the slave device. a correction domain of the delay request message and a delay response message of the fourth timestamp T4;
  • the slave device is configured to receive the time synchronization message with the first modification and carrying the first timestamp T1, perform a second modification on the correction field of the time synchronization message, and add a second timestamp T2; Requesting a packet, performing a third modification on the correction field of the delay request message, and sending a delay request message to the primary device, where the delayed request message carries a third timestamp T3; and receiving the fourth corrected
  • the correction domain of the delay request message and the delay response message of the fourth timestamp T4 are performed with the master device according to T1, T2, T3, T4, the correction domain of the time synchronization message, and the correction domain of the delay request message. Time synchronization.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores a computer program, wherein the computer program is used to implement the implementation in the OTN network described above. Time synchronization method.
  • the master device generates a time synchronization message, performs first modification on the correction domain of the time synchronization message, and sends the modified domain to the slave device.
  • the time synchronization message carries a first timestamp T1
  • the slave device performs a second modification on the correction domain of the time synchronization message, and adds a second timestamp T2
  • the slave device generates a delay request message, Performing a third modification to the correction field of the delay request packet, and sending a delay request message to the master device, where the delay request message carries a third timestamp T3, and the master device performs the correction field of the delay request message.
  • the fourth modification, and adding the fourth timestamp T4 sending a delay response message carrying the modified domain of the fourth modified delay request message and the fourth timestamp T4 to the slave device; the slave device according to T1, T2 T3, T4, the correction domain of the time synchronization message and the correction domain of the delay request message are time synchronized with the master device; thus, the influence of the delay asymmetry of the OTN network can be eliminated, and the accuracy of the 1588 time alignment is improved.
  • FIG. 1 is a schematic flowchart of a method for implementing time synchronization in an OTN network according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic flowchart of a method for implementing time synchronization in an OTN network according to Embodiment 2 of the present invention
  • FIG. 3 is a schematic flowchart of a method for implementing time synchronization in an OTN network according to Embodiment 3 of the present invention
  • FIG. 4 is a schematic structural diagram of a master device according to Embodiment 4 of the present invention.
  • FIG. 5 is a schematic structural diagram of a slave device according to Embodiment 5 of the present invention.
  • FIG. 6 is a schematic structural diagram of a system for implementing time synchronization in an OTN network according to Embodiment 6 of the present invention.
  • the master device generates a time synchronization message, performs a first modification on the correction field of the time synchronization message, and sends a time synchronization message to the slave device, where the time synchronization message carries the first timestamp T1.
  • the device performs a second modification on the correction field of the time synchronization message, and adds a second timestamp T2.
  • the slave device generates a delay request message, performs a third modification on the correction domain of the delay request message, and sends a delay to the primary device.
  • the request message, the delay request message carries a third timestamp T3, and the master device performs a fourth modification on the correction field of the delay request message, and adds a fourth timestamp T4, and sends the fourth time to the slave device.
  • the modified delay domain request message correction domain and the fourth timestamp T4 delay response message; the slave device according to T1, T2, T3, T4, the time domain synchronization message correction domain and the delay request message correction The domain synchronizes with the time of the primary device.
  • the embodiment of the invention implements a method for implementing time synchronization in an OTN network. As shown in FIG. 1 , the method includes the following steps:
  • Step 101 The master device generates a time synchronization message, and performs a first modification on the correction field of the time synchronization message, and sends a time synchronization message to the slave device, where the time synchronization message carries the first timestamp T1;
  • the master device includes a first time synchronization device and a first service delivery device, wherein the first time synchronization device generates a time synchronization message, and writes the first timestamp T1 when the time synchronization message is generated to In the time synchronization message, the complement of the time synchronization message out of the local time synchronization device t1 is added to the correction field of the time synchronization message, and the first service transmission device receives the first time synchronization device.
  • the time synchronization message is sent to the correction field in the time synchronization message by the local synchronization time t2 of the first service delivery device, and the time synchronization message is transmitted; where the local counting time t1 is The time of the local time counter in the first time synchronization device, the local counting time t2 being the first service transmitting device The time of the local time counter.
  • the sending the time synchronization message to the slave device may be after the time synchronization message is encapsulated by the general framing procedure (GFP-F) of the frame mapping, inserted into the reserved overhead of the OTN frame, and the time is synchronized by using the OTN frame.
  • the message is transmitted to the slave device.
  • GFP-F general framing procedure
  • Step 102 The master device receives the delay request message that is subjected to the third modification and carries the third timestamp T3, performs a fourth modification on the correction field of the delay request message, and adds a fourth timestamp T4 to send to the slave device. Carrying a modified domain of the fourth modified delay request message and a delayed response message of the fourth timestamp T4;
  • the first service transmitting device receives the delay request message that has passed the third modification and carries the third timestamp T3, and sends the local counting time t3 at the time of receiving together with the delay request message to the first time.
  • the synchronization device, the first time synchronization device determines the local counting time t4 when receiving the delay request message, adds the difference between t4 and t3 to the correction domain of the delay request message, and generates a delayed response message, which will The fourth timestamp T4 when the delay response message is generated and the correction field of the delay request message are added to the delay response message, and the delayed response message is sent to the slave device by the first service transmitting device.
  • the local counting time t3 is the time of the local time counter in the first service transmitting device
  • the local counting time t4 is the time of the local time counter of the first time synchronizing device.
  • the first timestamp T1 and the fourth timestamp T4 may be the GPS time of the external device, or the time of other precise time source, or the synchronization time in the OTN network.
  • the third timestamp T3 may be the slave device itself. Clock time.
  • the embodiment of the invention implements a method for implementing time synchronization in an OTN network. As shown in FIG. 2, the method includes the following steps:
  • Step 201 The slave device receives a time synchronization message that is subjected to the first modification and carries the first timestamp T1, performs a second modification on the correction field of the time synchronization message, and adds a second timestamp T2.
  • the slave device includes a second time synchronization device and a second service delivery device, wherein the second service delivery device receives the time synchronization message that passes the first modification and carries the first timestamp T1, and is to be received.
  • the local counting time t5 is sent to the second time synchronization device together with the time synchronization message, the second time synchronization device determines the local counting time t6 when receiving the time synchronization message, and adds the difference between t6 and t5 to the time synchronization message.
  • the domain is modified and the second timestamp T2 when the time synchronization message is received is added to the time synchronization message.
  • the local count time t5 is the time of the local time counter in the second service transmitting device
  • the local count time t6 is the time of the local time counter of the second time synchronization device.
  • Step 202 The slave device generates a delay request message, and performs a third modification on the correction field of the delay request message, and sends a delay request message to the master device, where the delay request message carries a third timestamp T3;
  • the second time synchronization device generates a delay request message, and writes a third timestamp T3 when the delay request message is generated into the delay request message, and sends the delay request message
  • the complement of the local counting time t7 of the second time synchronization device is added to the correction field of the delay request message, and the second service transmitting device receives the delay request message sent by the second time synchronization device, and the delay request message is sent.
  • the local counting time t8 of the second service transmitting device is added to the correction field in the time synchronization message, and the delay request message is transmitted; where the local counting time t7 is the local time in the second time synchronization device The time of the counter, the local count time t8 is the time of the local time counter in the second service transmitting device.
  • Step 203 The slave device receives a delay response message carrying a modified domain of the fourth modified delay request message and a fourth timestamp T4.
  • Step 204 The slave device performs time synchronization with the master device according to T1, T2, T3, T4, the correction domain of the time synchronization message, and the correction domain of the delay request message.
  • the slave device is based on:
  • the time deviation between the slave device and the master device is obtained, and the time offset is added to the time of the slave device to synchronize the time of the slave device with the master device.
  • the correction field of the time synchronization message is a correction field of the second modified time synchronization message
  • the correction field of the delay request message is a correction field of the fourth modified delay request message.
  • the embodiment of the invention implements a method for implementing time synchronization in an OTN network. As shown in FIG. 3, the method includes the following steps:
  • Step 301 The master device generates a time synchronization message, and performs a first modification on the correction field of the time synchronization message, and sends a time synchronization message to the slave device, where the time synchronization message carries the first timestamp T1;
  • Step 302 The slave device performs a second modification on the correction domain of the time synchronization message, and adds a second timestamp T2.
  • Step 303 The slave device generates a delay request message, and performs a third modification on the correction field of the delay request message, and sends a delay request message to the master device, where the delay request message carries a third timestamp T3;
  • Step 304 The master device performs a fourth modification on the modified domain of the delay request message, and adds a fourth timestamp T4, and sends the modified domain and the fourth timestamp carrying the fourth modified delay request message to the slave device.
  • Step 305 The slave device performs time synchronization with the master device according to T1, T2, T3, T4, the correction domain of the time synchronization message, and the correction domain of the delay request message.
  • the embodiment of the present invention implements a master device, as shown in FIG. 4, the master device includes: a first time synchronization device 41 and a first service delivery device 42, wherein
  • the first time synchronization device 41 is configured to generate a time synchronization message, and write the first timestamp T1 when the time synchronization message is generated into the time synchronization message, and when the time synchronization message is first
  • the complement of the local counting time t1 of the inter-synchronization device 41 is added to the correction domain of the time synchronization message; it is further configured to determine the local counting time t4 when receiving the delay request message, and receive t4 with the first service transmitting device 42
  • the difference of the local counting time t3 when the request packet is delayed is added to the correction field of the delay request message, and a delay response message is generated, and the fourth timestamp T4 and the delay when the delay response message is generated are generated.
  • the correction field of the request message is added to the delay response message, and the delay response message is sent by the first service transmitting device 42 to the slave device;
  • the first service transmitting device 42 is configured to receive the time synchronization message sent by the first time synchronization device 41, and accumulate the local synchronization time t2 of the time synchronization message from the first service transmission device 42 to the correction field in the time synchronization message.
  • the time synchronization message is sent out; the delay time request message received by the slave device and carrying the third timestamp T3 is received, and the local counting time t3 at the time of receiving is sent together with the delay request message.
  • the first time synchronization device 41 and the first service delivery device 42 each include a local time counter configured to generate a local counting time t1 of the first time synchronization device 41, a local counting time t4, and a first service transmitting device, respectively. 42 local count time t2, local count time t3.
  • the first timestamp T1 and the fourth timestamp T4 may be the GPS time of the external device, or the time of other precise time source, or the synchronization time in the OTN network.
  • the third timestamp T3 may be the slave device itself. Clock time.
  • the first time synchronization device 41 and the first service transmission device 42 may each be a central processing unit (CPU, Central Processing Unit) and a microprocessor (MPU, Micro Processor Unit) located in the main device. ), digital signal processor (DSP, Digital Signal Processor), or Field Programmable Gate Array (FPGA) implementation.
  • CPU Central Processing Unit
  • MPU Micro Processor Unit
  • DSP Digital Signal Processor
  • FPGA Field Programmable Gate Array
  • the embodiment of the invention implements a slave device, as shown in FIG. 5, the slave device includes: Inter-synchronization device 51 and second service transmission device 52, wherein
  • the second service transmitting device 52 is configured to receive the time synchronization message that is corrected by the master device and carries the first timestamp T1, and sends the local counting time t5 at the time of receiving to the second time synchronization device 51 together with the time synchronization message. It is further configured to receive the delay request message sent by the second time synchronization device 51, and accumulate the delay time request message out of the local counting time t8 of the second service transmitting device 52 into the correction domain in the time synchronization message, which will be extended. And requesting the message to be sent out, and receiving the modified domain of the delayed request message modified by the primary device and the delayed response message of the fourth timestamp T4;
  • the second time synchronization device 51 is configured to determine the local counting time t6 when receiving the time synchronization message, add the difference between t6 and t5 to the correction domain of the time synchronization message, and receive the time synchronization message
  • the second timestamp T2 is added to the time synchronization message, and is further configured to generate a delay request message, and the third timestamp T3 when the delay request message is generated is written into the delay request message, and the delay is
  • the complement of the local counting time t7 of the request message outputting the second time synchronizing device 51 is added to the correction domain of the delay request message, and the correction domain and delay according to T1, T2, T3, T4, time synchronization message
  • the correction domain of the request message performs time synchronization with the master device;
  • the second time synchronization device 51 and the second service delivery device 52 each include a local time counter configured to generate a local counting time t6 of the second time synchronization device 51, a local counting time t7, and a second service transmitting device, respectively. 52 local count time t5, local count time t8.
  • the first timestamp T1 and the fourth timestamp T4 may be the GPS time of the external device, or the time of other precise time source, or the synchronization time in the OTN network, the second timestamp T2, and the third timestamp.
  • T3 can be the clock time of the slave device itself.
  • the second time synchronization device 51 and the second service delivery device 52 may be implemented by a CPU, an MPU, a DSP, an FPGA, or the like located in the slave device.
  • the embodiment of the invention implements a system for implementing time synchronization in an OTN network, as shown in FIG. 6 .
  • the system includes: a master device 61 and a plurality of slave devices 62; wherein
  • the master device 61 is configured to generate a time synchronization message, perform a first modification on the correction field of the time synchronization message, and send a time synchronization message to the slave device 62, where the time synchronization message carries the first timestamp T1; To receive the delay request message that is subjected to the third modification and carries the third timestamp T3, perform a fourth modification on the correction field of the delay request message, and add a fourth timestamp T4 to send the fourth device to the slave device 62. a modified delay field of the delayed request message and a delayed response message of the fourth timestamp T4;
  • the slave device 62 is configured to receive the time synchronization message that is subjected to the first modification and carries the first timestamp T1, perform a second modification on the correction domain of the time synchronization message, and add a second timestamp T2;
  • the request packet is subjected to a third modification to the correction field of the delay request message, and the delay request message is sent to the master device, the delay request message carries the third timestamp T3;
  • the delay domain of the delay request message and the delay response message of the fourth timestamp T4 are performed according to T1, T2, T3, T4, the correction domain of the time synchronization message, and the correction domain of the delay request message. Time synchronization of the device.
  • the specific structure of the main device 61 is as shown in FIG. 4, and includes: a first time synchronization device 41 and a first service transmission device 42.
  • the specific structure of the slave device 62 is as shown in FIG. 5, and includes: a second time synchronization device 51 and a second service transmission device 52.
  • the present invention performs time synchronization between the slave device and the master device by determining the time synchronization message and the delay request message entering and leaving the OTN network time of the master device and the slave device, thereby eliminating the influence of the delay asymmetry of the OTN network. , improve the accuracy of 1588 pairs.
  • the embodiment of the present invention further describes a computer storage medium, where the computer storage medium stores a computer program for executing the OTN network shown in FIG. 1 or FIG. 2 or FIG. 3 in the embodiment of the present invention.
  • embodiments of the present invention can be provided as a method, system, Or a computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the master device generates a time synchronization message, performs a first modification on the correction field of the time synchronization message, and sends a time synchronization message to the slave device, carrying the first timestamp T1, and the slave device synchronizes the time synchronization message.
  • the correction domain performs a second modification, and adds a second timestamp T2;
  • the slave device generates a delay request message, performs a third modification on the correction domain of the delay request message, and sends a delay request message to the master device.
  • the delay request message carries the third timestamp T3, and the master device performs a fourth modification on the correction field of the delay request message, and adds a fourth timestamp T4 to send the fourth modified delay request to the slave device.
  • Time synchronization in this way, the effect of delay asymmetry of the OTN network can be eliminated, and the accuracy of 1588 pairs is improved.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
PCT/CN2015/083984 2015-01-16 2015-07-14 Otn网络中实现时间同步的方法、设备、***及存储介质 WO2016112666A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US15/543,386 US20180026735A1 (en) 2015-01-16 2015-07-14 Method, device, system, and storage medium for implementing time synchronization in optical transport network
KR1020177022817A KR20170105573A (ko) 2015-01-16 2015-07-14 Otn 네트워크에서의 시간 동기화 방법, 기기, 시스템 및 저장 매체
EP15877581.7A EP3247069B1 (en) 2015-01-16 2015-07-14 Method, device, system, and storage medium for implementing time synchronization in optical transport network

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510023621.6A CN104602141A (zh) 2015-01-16 2015-01-16 一种otn网络中实现时间同步的方法、设备和***
CN201510023621.6 2015-01-16

Publications (1)

Publication Number Publication Date
WO2016112666A1 true WO2016112666A1 (zh) 2016-07-21

Family

ID=53127574

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/083984 WO2016112666A1 (zh) 2015-01-16 2015-07-14 Otn网络中实现时间同步的方法、设备、***及存储介质

Country Status (5)

Country Link
US (1) US20180026735A1 (ko)
EP (1) EP3247069B1 (ko)
KR (1) KR20170105573A (ko)
CN (1) CN104602141A (ko)
WO (1) WO2016112666A1 (ko)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111970080A (zh) * 2020-08-28 2020-11-20 石家庄科林电气股份有限公司 一种主从设备的对时方法
CN112003668A (zh) * 2020-08-28 2020-11-27 石家庄科林电气股份有限公司 一种实时动态跟踪的对时方法

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104602141A (zh) * 2015-01-16 2015-05-06 深圳市中兴微电子技术有限公司 一种otn网络中实现时间同步的方法、设备和***
CN106211306B (zh) * 2015-04-30 2020-04-03 华为技术有限公司 一种通信网络延时抖动平滑方法、装置及***
CN106856422B (zh) * 2015-12-09 2020-06-16 深圳市中兴微电子技术有限公司 光传输网络中时间报文的时戳处理方法及装置
CN108023723B (zh) * 2016-11-04 2021-07-09 华为技术有限公司 频率同步的方法以及从时钟
KR102614829B1 (ko) * 2017-02-28 2023-12-20 한국전자통신연구원 클럭 동기화 장치 및 방법
CN107070576B (zh) * 2017-03-15 2019-03-01 烽火通信科技股份有限公司 一种在otn设备间实现1588时间同步的***及方法
CN109005557B (zh) * 2018-09-26 2021-12-07 中兴通讯股份有限公司 一种时延对称性测量方法、装置和***
CN111385049B (zh) * 2018-12-29 2022-09-27 中兴通讯股份有限公司 一种时间校正方法、装置、***及存储介质
CN112583477B (zh) * 2019-09-27 2023-08-04 深圳市中兴微电子技术有限公司 一种延时测量方法、***和存储介质
CN111478744B (zh) * 2020-03-27 2022-02-08 烽火通信科技股份有限公司 一种用于时间同步的误差调整方法及***
CN113810243B (zh) * 2020-06-17 2022-08-12 上海汽车集团股份有限公司 一种延时测试方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120275317A1 (en) * 2011-04-29 2012-11-01 Rad Data Communications Ltd. Timing over packet demarcation entity
CN102957528A (zh) * 2011-08-26 2013-03-06 中兴通讯股份有限公司 穿越第三方同步网络的同步方法和***
CN103078699A (zh) * 2012-12-28 2013-05-01 华为技术有限公司 基于精密时间协议进行时间同步的方法和网络设备
CN104602141A (zh) * 2015-01-16 2015-05-06 深圳市中兴微电子技术有限公司 一种otn网络中实现时间同步的方法、设备和***

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5373185B2 (ja) * 2009-04-21 2013-12-18 アルカテル−ルーセント Ntpオンパスサポートのためのアドおよびドロップエレメント、およびntpドメインとieee−1588プロトコルドメインの間の相互運用方法
CN101997669B (zh) * 2009-08-14 2015-10-21 中兴通讯股份有限公司 光传送网承载时间同步协议时的时间校正方法及***
JP5811794B2 (ja) * 2011-11-16 2015-11-11 富士通株式会社 通信装置
WO2013078100A1 (en) * 2011-11-23 2013-05-30 Vitesse Semiconductor Corporation Packet-based timing measurement

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120275317A1 (en) * 2011-04-29 2012-11-01 Rad Data Communications Ltd. Timing over packet demarcation entity
CN102957528A (zh) * 2011-08-26 2013-03-06 中兴通讯股份有限公司 穿越第三方同步网络的同步方法和***
CN103078699A (zh) * 2012-12-28 2013-05-01 华为技术有限公司 基于精密时间协议进行时间同步的方法和网络设备
CN104602141A (zh) * 2015-01-16 2015-05-06 深圳市中兴微电子技术有限公司 一种otn网络中实现时间同步的方法、设备和***

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111970080A (zh) * 2020-08-28 2020-11-20 石家庄科林电气股份有限公司 一种主从设备的对时方法
CN112003668A (zh) * 2020-08-28 2020-11-27 石家庄科林电气股份有限公司 一种实时动态跟踪的对时方法

Also Published As

Publication number Publication date
US20180026735A1 (en) 2018-01-25
CN104602141A (zh) 2015-05-06
EP3247069A4 (en) 2018-01-24
KR20170105573A (ko) 2017-09-19
EP3247069B1 (en) 2020-05-06
EP3247069A1 (en) 2017-11-22

Similar Documents

Publication Publication Date Title
WO2016112666A1 (zh) Otn网络中实现时间同步的方法、设备、***及存储介质
JP5518191B2 (ja) 光伝送網が時刻同期プロトコルをキャリングする方法及びシステム
KR102031268B1 (ko) 시간-인식 디바이스들 사이에 시간 정보를 통신하는 방법 및 장치
US9548833B2 (en) Method, apparatus and system for time distribution in a telecommunications network
US11689440B2 (en) Method and apparatus for transmit time timestamping
US10158441B1 (en) Securing time between nodes
US9491106B2 (en) Non-intrusive method for synchronizing master and slave clocks of a packet-switched network, and associated synchronization devices
CN103929293A (zh) 非对称延迟的时间同步方法及***
CN102833061A (zh) 基于无缝冗余环网的提高时钟精度的方法及节点
MX2015009550A (es) Metodo y sistema para utilizar un oyente de evento recursivo en un nodo en una estructura de datos jerarquica.
JP2017529806A (ja) Ieee 1588クロックのネットワークにおける動的精度情報の配信
US20220007321A1 (en) Network Entities and Methods for a Wireless Network System for Determining Time Information
WO2019128869A1 (zh) 一种灵活以太网时延测量方法及相关设备
CN113424466B (zh) 时钟同步的方法和装置
WO2018076651A1 (zh) 一种时间同步方法、设备及计算机存储介质
WO2016150021A1 (zh) 一种报文转发时延的测量方法、装置及***
WO2017097034A1 (zh) 光传输网络中时间报文的时戳处理方法及装置
JP7056570B2 (ja) 無線機器、無線機器の処理方法およびプログラム
CN106301642B (zh) 一种无源光网络***的时钟同步方法及装置
JP2018125768A (ja) データ伝送装置及びプログラム
Weibel et al. Media clock synchronization based on ptp
JP2013165326A (ja) 情報処理装置及び方法、プログラム、並びに情報処理システム
KR101694857B1 (ko) 시각 동기 패킷을 처리하기 위한 방법 및 장치
CN117544266A (zh) 时间同步端口增强的误差补偿方法
WO2013091240A1 (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: 15877581

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 20177022817

Country of ref document: KR

Kind code of ref document: A

REEP Request for entry into the european phase

Ref document number: 2015877581

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 15543386

Country of ref document: US