WO2012149736A1 - 一种时间同步的方法和系统及节点设备 - Google Patents

一种时间同步的方法和系统及节点设备 Download PDF

Info

Publication number
WO2012149736A1
WO2012149736A1 PCT/CN2011/079530 CN2011079530W WO2012149736A1 WO 2012149736 A1 WO2012149736 A1 WO 2012149736A1 CN 2011079530 W CN2011079530 W CN 2011079530W WO 2012149736 A1 WO2012149736 A1 WO 2012149736A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
node
packet
sending
message
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2011/079530
Other languages
English (en)
French (fr)
Inventor
申新宇
张建梅
李从奇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CA2843201A priority Critical patent/CA2843201C/en
Priority to AU2011367139A priority patent/AU2011367139B2/en
Priority to CN201180002188.8A priority patent/CN103210690B/zh
Priority to PCT/CN2011/079530 priority patent/WO2012149736A1/zh
Priority to EP11864604.1A priority patent/EP2568756B1/en
Publication of WO2012149736A1 publication Critical patent/WO2012149736A1/zh
Priority to US13/691,232 priority patent/US9184860B2/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • 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

Definitions

  • the present invention relates to network communication technologies, and in particular, to a method and system for time synchronization and a node device. Background technique
  • TD-SCDMA Time Division - Synchronous Code Division Multiple Access
  • LTE Long Term Evolution
  • Wimax Worldwide Interoperability for Microwave Access
  • TDD Time Division Duplexing
  • the common time transmission scheme in the bearer network is the 1588 protocol, which can realize time synchronization and transparent transmission through the 1588 protocol, and is considered as a universal time transfer solution.
  • the 1588 protocol calculates the path delay and absolute time offset between the master and slave devices by using the timestamps generated when the master and slave devices exchange time packets, and implements time synchronization between the master and slave devices.
  • the premise of implementing network time synchronization using the 1588 protocol is that the two-way path delay is consistent. However, in the actual network, it is a common situation that the two-way path delay is inconsistent. The two-way path delay is inconsistent, resulting in an error in the absolute time deviation calculated by the 1588 protocol. In this regard, it is also necessary to accurately measure the path delay of sending and receiving bidirectional and perform corresponding time compensation to meet the time precision required by the mobile network.
  • the method of measuring the bidirectional path delay of transmitting and receiving is to use an optical time domain reflectometer (Optical Time) Domain Reflectometer (OTDR), manually measures the length of the fiber of the transceiver line between the devices through OTDR, calculates the time synchronization error, and corrects the time after the 1588 protocol is synchronized.
  • OTDR optical Time domain reflectometer
  • This method of measuring and calculating 1588 time synchronization error through OTDR and then performing manual compensation to achieve time synchronization requires measuring the length of the fiber of the bidirectional line point by point when the network equipment engineering start, deployment or network maintenance causes the transmission path to change. , measurement accuracy is poor.
  • Embodiments of the present invention provide a time synchronization method and system, and a node device, which can implement accurate time synchronization between nodes, and solve the problem of time synchronization error caused by inconsistent bidirectional path delay in the prior art.
  • Embodiments of the present invention provide a method for time synchronization, including:
  • the first node sends the first time at the first working wavelength at the first time, and the second node receives the first time at the second time;
  • the first node sends a second time message at a second working wavelength at a third time, and the second node receives the second time message at a fourth time;
  • Embodiments of the present invention provide another method of time synchronization, including:
  • the first node sends the first time at the first working wavelength at the first time, and the second node receives the first time in the second time;
  • the first node sends a second time message at a second working wavelength at a third time, and the second node receives the second time message at a fourth time; Determining, according to the first time, the second time, the third time, the fourth time, a first signal transmission rate corresponding to the first working wavelength, and a second signal corresponding to the second working wavelength a transmission rate, a signal transmission rate of a wavelength used by the 1588 protocol message when transmitting in the direction from the first node to the second node, and a relationship between the first node and the second node obtained by the 1588 protocol
  • Another embodiment of the present invention provides a time synchronization method, where the method includes:
  • the first node sends the first time packet at the first working wavelength, the first time packet carries the first time, and the second node receives the first time packet at the second time. And then extracting the first time;
  • the second node sends a third time message at a third working wavelength at a fifth time, and the first node receives the third time message at a sixth time;
  • the second node sends a fourth time message at a fourth working wavelength at a seventh time, and the first node receives the fourth time message at an eighth time;
  • the second node according to the first time, the second time, the third time, the fourth time, the fifth time, the sixth time, the seventh time, The eighth time, the first signal transmission rate corresponding to the first working wavelength, the second signal transmission rate corresponding to the second working wavelength, the third signal transmission rate corresponding to the third working wavelength, and the fourth a fourth signal transmission rate corresponding to the working wavelength, a signal transmission rate of the wavelength used when the 1588 protocol message is transmitted in the direction from the first node to the second node, and a 1588 protocol message in the second node to Calculating a signal transmission rate of the wavelength used in the first node direction, calculating a time synchronization error between the second node and the first node, and synchronizing the first node and the second node The local time of the point.
  • the embodiment of the invention provides a node device, including:
  • a line processing module configured to receive a first time message sent by the first node at the first working wavelength and a second time message sent by the first node at the second working wavelength;
  • a packet processing module configured to record a receiving time of the first time packet and a receiving time of the second time packet, and configured to parse the first time packet and the second time packet, And a sending time of the first time packet carried in the first time packet and a sending time of the second time packet carried in the second time packet;
  • a time calculation module configured to: according to the sending time of the first time message and the sending time of the second time message, the receiving time of the first time message, and the second time Receiving time, and a first signal transmission rate corresponding to the first working wavelength and a second signal transmission rate corresponding to the second working wavelength, calculating an absolute time deviation between itself and the first node; a local time module, And the receiving time of the first time message and the receiving time of the second time are sent to the message processing module; and is further used to subtract the absolute time deviation from the local time of the message processing module.
  • the local time synchronized with the first node local time.
  • a line processing module configured to send a first time message to the second node at a first working wavelength, to send a second time message to the second node at a second working wavelength, and to receive the second node to send Third time message;
  • a packet processing module configured to encapsulate the first time packet and the second time packet, where the first time packet carries a sending time of the first time packet, and the second time packet And carrying the sending time of the second time packet; and being used for parsing the third time packet, and extracting an absolute time offset between the self and the second node carried by the third time packet;
  • the absolute time deviation is determined by the second node according to the sending time of the first time packet a sending time of the second time, a receiving time of the first time, a receiving time of the second time, and a first signal transmission rate corresponding to the first working wavelength Calculating and obtaining a second signal transmission rate corresponding to the second working wavelength;
  • a local time module configured to send, to the packet processing module, a sending time of the first time packet and a sending time of the second time message; and further, adding the local time to the absolute time Time deviation, obtaining the local time synchronized with the local time of the second node.
  • An embodiment of the present invention provides another node device, including:
  • a line processing module configured to send a first time message to the second node at a first working wavelength, and send a second time message to the second node at a second working wavelength; Four time message;
  • a packet processing module configured to encapsulate the first time message and the second time message, and record a sending time of the first time and a sending time of the second time; For parsing the fourth time, extracting the receiving time of the first time and the receiving time of the second time carried by the fourth time;
  • a time calculation module configured to: according to the sending time of the first time message and the sending time of the second time message, the receiving time of the first time message, and the second time Receiving time, and a first signal transmission rate corresponding to the first working wavelength and a second signal transmission rate corresponding to the second working wavelength, calculating an absolute time offset between itself and the second node; a local time module, And a sending time of the first time packet and a sending time of the second time to the packet processing module; and is further configured to add the local time to the absolute time offset to obtain The local time synchronized with the second node local time.
  • the embodiment of the invention provides another node device, including:
  • a line processing module configured to receive a first time message sent by the first node at the first working wavelength, and a second time message sent by the first node by using the second working wavelength
  • a packet processing module configured to record a receiving time of the first time packet and a receiving time of the second time packet, and configured to parse the first time packet and the second time packet, And a sending time of the first time packet carried in the first time packet and a sending time of the second time packet carried in the second time packet;
  • a 1588 protocol module configured to execute a 1588 protocol, obtain a sum of a bidirectional path delay between the first node and the second node; and is also used to synchronize its local time to a local time of the first node by using the 1588 protocol ;
  • a time calculation module configured to: according to the sending time of the first time message and the sending time of the second time message, the receiving time of the first time message, and the second time a receiving time, and a first signal transmission rate corresponding to the first working wavelength and a second signal transmission rate corresponding to the second working wavelength, and a 1588 protocol in the first node to the second node Calculating a time synchronization error between itself and the first node by a signal transmission rate of a wavelength used in the direction of transmission and a sum of the bidirectional path delays;
  • a local time module configured to provide the packet processing module with the receiving time of the first time packet and the receiving time of the second time packet; and further configured to provide the local time to the 1588 protocol module;
  • the time synchronization error is added to the local time after the 1588 protocol is time synchronized.
  • the embodiment of the invention provides another node device, including:
  • a line processing module configured to send a first time message to the second node at a first working wavelength, to send a second time message to the second node at a second working wavelength, and to receive the second node to send Sixth time message;
  • a packet processing module configured to encapsulate the first time packet and the second time packet, where the first time packet carries a sending time of the first time packet, and the second time packet And carrying the sending time of the second time packet; and the method is further configured to parse the sixth time packet, and extract the first node calculated by the second node that is carried by the sixth time packet to the first The line distance in the direction of the two nodes or the path delay of the 1588 protocol message in the direction from the first node to the second node; The line distance from the first node to the second node is sent by the second node according to the sending time of the first time and the sending time of the second time, the first The receiving time of the time frame and the receiving time of the second time, and the first signal transmission rate corresponding to the first working wavelength and the second signal transmission rate corresponding to the second working wavelength are calculated and obtained pay;
  • the path delay of the 1588 protocol packet in the direction from the first node to the second node is sent by the second node according to the sending time of the first time packet and the second time packet.
  • a time, a receiving time of the first time, a receiving time of the second time, a first signal transmission rate corresponding to the first working wavelength, and a second corresponding to the second working wavelength a signal transmission rate, and a signal transmission rate of a wavelength used by the 1588 protocol to transmit in the direction from the first node to the second node, obtained by calculation;
  • a 1588 protocol module configured to execute a 1588 protocol, obtain a sum of a bidirectional path delay between the first node and the second node; and is further configured to synchronize its local time to the second node by using a 1588 protocol local time;
  • a time calculation module or a signal transmission used for transmitting a wavelength according to the line distance from the first node to the second node and the 1588 protocol message being transmitted in the direction from the first node to the second node a rate, and a sum of a bidirectional path delay between the first node and the second node; or a path for the direction from the first node to the second node according to the 1588 protocol a delay, and a sum of a bidirectional path delay between the first node and the second node, calculating a time synchronization error between the second node and the first node;
  • a local time module configured to provide the packet processing module with a sending time of the first time packet and a sending time of the second time packet; and configured to provide a local time to the 1588 protocol module;
  • the time synchronization error is subtracted from the local time of the 1588 protocol after time synchronization.
  • the embodiment of the invention provides another node device, including:
  • a line processing module configured to receive a first time packet sent by the first node at the first working wavelength And a second time period that is sent by the first node at the second working wavelength; and is further configured to send, by using the third working wavelength, the third time to the first node, to the fourth working wavelength
  • the first node sends a fourth time message; and is further configured to receive the eighth time message sent by the first node;
  • a packet processing module configured to record a receiving time of the first time packet and a receiving time of the second time packet, and configured to parse the first time packet and the second time packet, And a sending time of the first time packet carried in the first time packet and a sending time of the second time packet carried in the second time packet;
  • the time of the fourth time and the fourth time, the third time 4 ⁇ carries the sending time of the third time 4,
  • the fourth time 4 ⁇ carries the fourth time 4
  • the sending time of the text is further used to parse the eighth time, and extract the 1588 protocol that is calculated by the first node carried in the eighth time. a path delay from the second node to the direction of the first node;
  • the path delay of the 1588 protocol packet in the direction from the second node to the first node is sent by the first node according to the sending time of the third time packet and the fourth time packet.
  • the 1588 protocol module is configured to execute the 1588 protocol, and synchronize the local time of the local time to the local time of the first node by using the 1588 protocol;
  • a time calculation module configured to: according to the sending time of the first time message and the sending time of the second time message, the receiving time of the first time message, and the second time a receiving time, a first signal transmission rate corresponding to the first working wavelength, and a second signal transmission rate corresponding to the second working wavelength, where the 1588 protocol packet is in the second node to the first node direction a path delay, a signal transmission rate of a wavelength used by the 1588 protocol message when transmitting in the direction from the first node to the second node, and calculating a time synchronization error between the second node and the first node ; a local time module, configured to provide, to the packet processing module, a receiving time of the first time packet, a receiving time of the second time, a sending time of the third time, and a sending time of the third time
  • the sending time of the fourth time packet is further used to provide the local time for the 1588 protocol module; and is also used to add the time synchronization error to the local time after the 1588 protocol time
  • a first node device configured to send, by using a first working wavelength, a first time packet to the second node device, where the first time carries the sending time of the first time, and the second working wavelength Sending, to the second node device, a second time packet, where the second time packet carries a sending time of the second time packet;
  • the second node device is configured to receive, by the first node device, the first time message sent by the first working wavelength and the first node device sending the second working wavelength Recording a time of the first time message and a time of receiving the second time message; and extracting a time and a time of sending the first time message carried by the first time message
  • the absolute time offset between the two-node device and the first node device subtracts the absolute time offset from its local time to obtain a local time synchronized with the local time of the first node device.
  • Another embodiment of the present invention provides another time synchronization system, where the system includes at least two node devices, where:
  • a first node device configured to send, by using a first working wavelength, a first time packet to the second node device, where the first time carries the sending time of the first time, and the second working wavelength Xiangshou
  • the second node device sends a second time packet, where the second time packet carries the sending time of the second time packet, and receives the third time packet sent by the second node device, and extracts the An absolute time offset between the second node device and the first node device carried in the three-time packet; adding the local time to the absolute time offset to obtain a local time synchronized with the second node local time time;
  • the second node device is configured to receive, by the first node device, the first time message sent by the first working wavelength and the first node device sending the second working wavelength Recording a time of the first time message and a time of receiving the second time message; and extracting a time and a time of sending the first time message carried by the first time message
  • An absolute time offset between the two-node device and the first node device transmitting, to the first node device, a third time period carrying the absolute time offset.
  • An embodiment of the present invention provides a time synchronization system, where the system includes at least two node devices, where:
  • a first node device configured to send a first time message to the second node device at a first working wavelength; send a second time message to the second node device at a second working wavelength; and record the first time Receiving the time of sending the message and the sending time of the second time packet; receiving the fourth time packet sent by the second node device, and extracting the first time packet carried by the fourth time packet Receiving time and the receiving time of the second time; receiving the time according to the first time and the sending time of the second time, and receiving the first time Calculating the second node device by using a time, a receiving time of the second time, and a first signal transmission rate corresponding to the first working wavelength and a second signal transmission rate corresponding to the second working wavelength With the first An absolute time offset between the node devices; adding the local time to the absolute time offset to obtain a local time synchronized with the local time of the second node device;
  • the second node device is configured to receive, by the first node device, the first time message sent by the first working wavelength and the first node device sending the second working wavelength Sending a fourth time message to the first node device, where the fourth time message carries the receiving time of the first time and the receiving time of the second time .
  • Another embodiment of the present invention provides a time synchronization system, where the system includes at least two node devices, where:
  • a first node device configured to send, by using a first working wavelength, a first time packet to the second node device, where the first time carries the sending time of the first time, and the second working wavelength Sending, to the second node device, a second time packet, where the second time packet carries a sending time of the second time packet;
  • the second node device is configured to receive, by the first node device, the first time message sent by the first working wavelength and the first node device sending the second working wavelength Recording a time of the first time message and a time of receiving the second time message; and extracting a time and a time of sending the first time message carried by the first time message a sending time of the second time packet carried in the second time packet; obtaining a sum of a bidirectional path delay between the first node device and the second node device by using a 1588 protocol; The sending time of the time message and the sending time of the second time, the receiving time of the first time, the receiving time of the second time, and the first working wavelength a first signal transmission rate and a second signal transmission rate corresponding to the second operating wavelength, and a signal of a wavelength used by the 1588 protocol to transmit in the direction from the first node device to the second node device Transmission rate a sum of a bidirectional path delay between the first node device and the second node device, calculating a time synchronization error between the
  • a first node device configured to send, by using a first working wavelength, a first time packet to the second node device, where the first time carries the sending time of the first time, and the second working wavelength Sending a second time packet to the second node device, where the second time packet carries the sending time of the second time packet; receiving the sixth time packet sent by the second node device, and extracting the a line distance from the first node device to the second node device or a 1588 protocol packet calculated by the second node that is carried by the second node in the sixth time packet to the second node Path delay of the device direction; obtaining a sum of bidirectional path delays between the first node device and the second node device by using a 1588 protocol; or according to a line distance from the first node to the second node direction And a signal transmission rate of the wavelength used by the 1588 protocol packet in the direction of the first node to the second node, and a sum of the bidirectional path delays, or according to the 1588 protocol.
  • the second node device is configured to receive, by the first node device, the first time message sent by the first working wavelength and the first node device sending the second working wavelength Recording a time of the first time message and a time of receiving the second time message; and extracting a time and a time of sending the first time message carried by the first time message Transmitting the second time ⁇ ⁇ ⁇ text of the second time ⁇ ⁇ ⁇ text transmission time;
  • Another embodiment of the present invention provides a time synchronization system, where the system includes at least two node devices, where:
  • a first node device configured to send, by using a first working wavelength, a first time packet to the second node device, where the first time carries the sending time of the first time, and the second working wavelength Sending a second time packet to the second node device, where the second time packet carries a sending time of the second time packet; and receiving a third time that the second node device sends the third working wavelength And a fourth time message sent by the second node device at the fourth working wavelength; recording a receiving time of the third time message and a receiving time of the fourth time message; extracting the third The sending time of the third time message carried by the time message and the sending time of the fourth time message carried by the fourth time message; according to the sending time of the third time message a sending time of the fourth time packet, a receiving time of the third time, a receiving time of the fourth time, a third transmission rate corresponding to the third working wavelength, and the Fourth corresponding to the fourth working wavelength a transmission rate, and a signal transmission rate of the wavelength used by the 1588 protocol packet when
  • the second node device is configured to receive the first time information sent by the first node device at the first working wavelength, and the second time that the first node sends the second working wavelength a time message; a receiving time of the first time message and a receiving time of the second time message; and a sending time of the first time message carried in the first time message and the Sending, by the second time, the third time packet to the first node device, where the third time packet is carried And sending, by the fourth working wavelength, the fourth time packet to the first node device, where the fourth time carries the fourth time 4 ⁇ Receiving an eighth time packet sent by the first node device, and extracting the 1588 protocol packet carried in the eighth time packet from the second node device to the first node device Path delay in the direction; according to the first And a sending time of the second time, a receiving time of the first time, a receiving time of the second time, and a receiving time of the second time, the first working wavelength Corresponding first signal transmission rate and second signal transmission rate corresponding to the second working wavelength
  • the time synchronization method and system and the node device provided by the embodiments of the present invention can implement accurate time synchronization between nodes, and solve the problem of time synchronization error caused by inconsistent bidirectional path delay in the prior art, and the technical solution realizes the single program. , high measurement accuracy and good implementability.
  • FIG. 1 is a schematic flowchart of a time synchronization method according to an embodiment of the present invention
  • FIG. 1B is a schematic flowchart of a time synchronization method according to still another embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a time synchronization method according to still another embodiment of the present invention
  • FIG. 2 is a time synchronization method according to Embodiment 1 of the present invention
  • FIG. 3 is a flowchart of a time synchronization method according to Embodiment 2 of the present invention.
  • FIG. 5 is a flowchart of a time synchronization method according to Embodiment 4 of the present invention.
  • FIG. 6 is a flowchart of a time synchronization method according to Embodiment 5 of the present invention.
  • FIG. 7 is a flowchart of a time synchronization method according to Embodiment 6 of the present invention.
  • FIG. 8 is a flowchart of a time synchronization method according to Embodiment 7 of the present invention.
  • FIG. 9 is a schematic diagram of a node relationship according to Embodiments 8 and 9 of the present invention.
  • FIG. 10 is a flowchart of a time synchronization method according to Embodiment 8 of the present invention.
  • FIG. 11 is a flowchart of a time synchronization method according to Embodiment 9 of the present invention.
  • FIG. 12 is a structural block diagram of a node device according to Embodiments 10 and 12 of the present invention.
  • FIG. 13 is a structural block diagram of a node device according to Embodiment 11 of the present invention.
  • FIG. 14 is a structural block diagram of a node device according to Embodiment 13 of the present invention.
  • FIG. 15 is a structural block diagram of a node device according to Embodiment 14 of the present invention.
  • FIG. 16 is a structural block diagram of a node device according to Embodiment 15 of the present invention.
  • Figure 17 is a schematic diagram of a time synchronization system of the sixteenth, seventeenth, eighteenth, nineteenth, twentyth, and twenty-firstth embodiments of the present invention. detailed description
  • the local time between the time synchronization master node and the time synchronization slave node is not synchronized in the initial state.
  • a flow of a time synchronization method is shown in FIG. la, and the method includes the following steps:
  • Step SlOla the first node sends the first time at the first working wavelength at the first time, and the second node receives the first time in the second time;
  • Step S102a the first node sends the second time at the second working wavelength at the third time, and the second node receives the second time in the fourth time.
  • Step S103a Calculate the second node according to the first time, the second time, the third time, the fourth time, and the first signal transmission rate corresponding to the first working wavelength and the second signal transmission rate corresponding to the second working wavelength. Absolute time offset between the first nodes;
  • Step S104a Synchronize the local time of the second node with the first node.
  • a flow synchronization method is shown in FIG. 1b, and the method includes the following steps:
  • Step SlOlb the first node sends the first time at the first working wavelength at the first time, and the second node receives the first time in the second time;
  • Step S102b The first node sends the second time at the second working time, and the second node receives the second time in the fourth time.
  • Step S103b according to the first time, the second time, the third time, the fourth time, the first signal transmission rate corresponding to the first working wavelength, and the second signal transmission rate corresponding to the second working wavelength, the 1588 protocol message is in the first The signal transmission rate of the wavelength used in the transmission from one node to the second node, and the sum of the bidirectional path delays between the first node and the second node obtained by the 1588 protocol, Calculating a time synchronization error between the second node and the first node;
  • Step S104b Synchronize the local time of the second node with the first node.
  • a flow of a time synchronization method is shown in FIG. 1c, and the method includes the following steps:
  • Step S10c the first node sends the first time 4 ⁇ at the first working wavelength, the first time 4 ⁇ carries the first time, and the second node receives the first time 4 ⁇ in the second time, Then extract the first time;
  • the first node sends the second time at the second working time at the second time, the second time carries the third time, and the second node receives the second time in the fourth time, and then extracts the first Three times
  • Step S102c The second node sends the third time at the third working time at the third time, and the first node receives the third time in the sixth time;
  • the second node sends the fourth time message at the fourth working wavelength at the seventh time, and the first node receives the fourth time message at the eighth time;
  • Step S103c The first node according to the first time, the second time, the third time, the fourth time, the fifth time, the sixth time, the seventh time, the eighth time, and the first working wavelength corresponding to the first signal transmission rate a second signal transmission rate corresponding to the second working wavelength, a third signal transmission rate corresponding to the third working wavelength, and a fourth signal transmission rate corresponding to the fourth working wavelength, and the 1588 protocol is in the first node to the second node Calculating the signal transmission rate of the wavelength used in the direction transmission, and the signal transmission rate of the wavelength used when the 1588 protocol message is transmitted in the direction from the second node to the first node, and calculating the time synchronization error between the second node and the first node ;
  • Step S104c Synchronize the local time of the first node and the second node.
  • Tl represents the local time of the first node
  • T2 represents the local time of the second node
  • indicates the local time synchronized with the second node local time when the first node is a slave node
  • T2' indicates the local time synchronized with the first node local time when the second node is a slave node
  • Tl 1588 indicates that the first node is When the slave node is in the local time after the time synchronization of the 1588 protocol
  • ⁇ 2 1588 indicates the local time after the time synchronization of the 1588 protocol when the second node is the slave node; and indicates that the 1588 protocol packet is transmitted in the direction from the first node to the second node.
  • V 24 represents a signal transmission rate of a wavelength used when the 1588 protocol packet is transmitted in the direction from the second node to the first node;
  • L24 represents the line distance from the second node to the first node direction
  • d 24 represents the path delay of the 1588 protocol packet in the direction from the second node to the first node
  • D represents the sum of the bidirectional path delays between the first node and the second node, that is, the sum of (1 24 ;
  • Offset represents the absolute time deviation between the second node and the first node;
  • represents the time synchronization error between the second node and the first node.
  • Embodiment 1 is a time synchronization method, and the method flow is as shown in FIG. 2.
  • the first node is a master node, and the second node is a slave node.
  • the method specifically includes the following steps:
  • Step S201 The first node sends the first time packet to the second node as the working wavelength.
  • the first node sends the first time to the second node for the working wavelength, and the first time is the transmission time tn of the message
  • the second node Receiving the first time message when the local time is t 12 , and then extracting the first time message in the first time message Send time t n .
  • Step S202 the first node Sending a second time to the second node with ⁇ 2 as the operating wavelength.
  • the first node sends the second time packet to the second node with the ⁇ 2 as the working wavelength
  • the second time packet carries the packet sending time t 21
  • the second time receives the second time 4 when the local time is t 22 , and then extracts the transmission time t 21 of the second time 4 in the second time.
  • the signal transmission rate corresponding to a certain working wavelength is determined.
  • Step S203 The second node calculates an absolute time offset between the second node and the first node.
  • the second node is configured according to the sending time t n of the first time message and the sending time t 21 of the second time message, the receiving time t 12 of the first time message, and the second time 4 Receiving time t 22 , first signal transmission rate ⁇ and second signal transmission rate v 2 , and calculating an absolute time offset Offset between the second node and the first node according to formulas (1), (2):
  • Step S204 the second node synchronizes its own local time to the local time of the first node according to the absolute time deviation.
  • the second node compensates its local time according to the calculated absolute time offset Offset, and synchronizes its local time to the local time of the first node.
  • Embodiment 2 is a time synchronization method, and the method flow is as shown in FIG. 3, where the first node is a slave node and the second node is a master node, and the method specifically includes the following steps:
  • Steps S301, S302, and S303 in this embodiment are similar to the implementation methods of steps S201, S202, and S203 in the first embodiment, and are not described herein again.
  • Step S304 The second node sends a third time packet carrying an absolute time offset to the first node.
  • the second node sends a third time packet to the first node, and the third time packet carries an absolute time offset Offset between the second node and the first node calculated by the second node.
  • the format of the third time and the working wavelength thereof are not limited in this embodiment.
  • Step S305 The first node receives the third time packet, and synchronizes its local time to the local time of the second node according to the absolute time offset.
  • the first node receives the third time packet sent by the second node, and then extracts the absolute time offset Offset carried by the third time packet, compensates the local time according to the absolute time offset, and synchronizes its local time to the first node. Local time.
  • Embodiment 3 is a time synchronization method, and the method flow is as shown in FIG. 4, where the first node is a slave node and the second node is a master node, and the method specifically includes the following steps:
  • Step S401 The first node sends the first time packet to the second node for the working wavelength.
  • the first node sends the first time to the second node for the working wavelength
  • the second node receives the first time when the local time is t 12 .
  • the signal transmission rate corresponding to a certain working wavelength is determined, and the transmission rate of the signal having the working wavelength is on the line, and the same formula (1) as in the first step S201 of the first embodiment can be obtained.
  • Step S402 the first node sends a second time message to the second node with ⁇ 2 as the working wavelength.
  • the first node sends the second time to the second node with the ⁇ 2 as the working wavelength
  • the second node receives the second time when the local time is t 22 ⁇ Yan Wen.
  • the signal transmission rate corresponding to a certain working wavelength is determined, and the transmission rate of the signal having the working wavelength ⁇ 2 on the line is v 2 , and the same formula (2) as in the first step S202 of the first embodiment can be obtained.
  • Step S403 The second node sends, to the first node, a fourth time period of carrying the first message receiving time and the second message receiving time.
  • the second node after receiving the first time and the second time, the second node sends a fourth time message to the first node, where the fourth time message carries the first time message in the second node.
  • the receiving time t 12 and the second time are the receiving time t 22 at the second node.
  • the format of the fourth time and the working wavelength thereof are not limited in this embodiment.
  • Step S404 The first node receives the fourth time packet, and calculates an absolute time offset between the second node and the first node.
  • the first node receives the fourth time packet sent by the second node, and then extracts the receiving time t 12 and the second time of the first time message carried by the fourth time message.
  • the receiving time t 22 is combined with the sending time t n of the first time message and the sending time t 21 of the second time message, the first signal transmission rate ⁇ and the second signal transmission rate v 2 according to the formula (1), ( 2) Calculate the absolute time offset Offset between the second node and the first node:
  • Offset (tl2 " tll) x Vl " (t22 “ t2l) x V2 ( 3 )
  • Step S405 The first node synchronizes its local time to the local time of the second node according to the absolute time deviation.
  • the first node compensates its local time according to the calculated absolute time offset Offset, and synchronizes its local time to the local time of the second node.
  • T1' T1 + Offset
  • the automatic real-time real time deviation between the master and the slave nodes is completed by transmitting the time 4 ⁇ text on at least two wavelengths of the unidirectional path. Measurement, realizing precise time synchronization between nodes, solving the problem of time synchronization error caused by inconsistent bidirectional path delay in the prior art.
  • the technical solution realizes the single order, has high measurement accuracy and good implementability.
  • Embodiment 4 is a time synchronization method, which implements time synchronization between nodes in combination with the 1588 protocol.
  • the method flow is shown in Figure 5.
  • the first node is the master node and the second node is the slave node.
  • the method specifically includes the following steps:
  • Step S501 The first node sends the first time packet to the second node as the working wavelength.
  • the first node sends the first time to the second node for the working wavelength, and the sending time tn of the first time is carried.
  • the two nodes receive the first time message when the local time is t 12 , and then the sending time t n of the first time message is extracted in the first time message.
  • the signal transmission rate corresponding to a certain working wavelength is determined, and the transmission rate of the signal at the working wavelength is V1 , and the following formula can be obtained:
  • Step S502 The first node sends the second time packet to the second node by using ⁇ 2 as the working wavelength.
  • the first node sends the second time packet to the second node with the ⁇ 2 as the working wavelength, and the second time packet carries the packet sending time t 21 , the second time
  • the node receives the second time 4 when the local time is t 22 , and then extracts the transmission time t 21 of the second time 4 in the second time.
  • Step S503 the second node obtains a sum of bidirectional path delays, and calculates a time synchronization error between the second node and the first node.
  • the 1588 protocol is based on the premise that the two-way path delay is consistent, which results in an error in the unidirectional path delay and absolute time offset calculated according to the 1588 protocol, but the exact bidirectional path delay can be obtained according to the 1588 protocol.
  • the second node obtains the sum of the bidirectional path delays D between the first node and the second node through the 1588 protocol.
  • the signal transmission rate V ⁇ used when transmitting the 1588 protocol text in the direction from the first node to the second node is used to obtain a calculation formula (5) of the path delay of the 1588 protocol message in the direction from the first node to the second node:
  • the second node is configured according to the sending time t n of the first time _t text and the sending time t 21 of the second time 4, the receiving time t 12 of the first time message, and the receiving time t 22 of the second time message.
  • a first signal transmission rate V1 and a second signal transmission rate v 2 a sum of two-way path delays between the first node and the second node obtained by the 1588 protocol, and calculating the second node and the first node according to formula (6)
  • Step S504 the second node synchronizes its local time to the local time of the first node according to the time synchronization error.
  • the second node synchronizes the local time of the second node with the first node by using the 1588 protocol. Since the 1588 protocol is consistent with the bidirectional path delay, the local time of the second node after synchronization may be different from the local time of the first node.
  • the second node corrects the local time after the synchronization of the 1588 protocol according to the calculated time synchronization error ⁇ , and accurately synchronizes its local time to the local time of the first node.
  • Embodiment 5 is a time synchronization method, which implements time synchronization between nodes in combination with the 1588 protocol. The method flow is shown in Figure 6.
  • the first node is a slave node and the second node is a master node. The method specifically includes the following steps:
  • Steps S601 and S602 in this embodiment are similar to the implementation methods of steps S501 and S502 in the fourth embodiment, and are not described herein again.
  • Step S603 the second node obtains a sum of bidirectional path delays, and calculates a time synchronization error between the second node and the first node.
  • the second node obtains the sum of the bidirectional path delays D between the first node and the second node through the 1588 protocol.
  • the second node is configured according to the sending time t n of the first time _t text and the sending time t 21 of the second time 4, the receiving time t 12 of the first time message, and the receiving time t 22 of the second time message.
  • the first signal transmission rate V1 and the second signal transmission rate v 2 the sum of the bidirectional path delays between the first node and the second node obtained by the 1588 protocol, and the second is obtained according to the formula (6) in the fourth embodiment.
  • Step S604 The second node sends a fifth time packet carrying a time synchronization error to the first node.
  • the second node sends a fifth time message to the first node, and the fifth time carries the time synchronization error ⁇ between the second node calculated by the second node and the first node.
  • the format of the fifth time packet and the working wavelength thereof are not limited in this embodiment.
  • Step S605 The first node receives the fifth time packet, and synchronizes its local time to the local time of the second node according to the time synchronization error.
  • the first node synchronizes the local time of the second node with the first node through the 1588 protocol. Because the 1588 protocol is consistent with the bidirectional path delay, there may be an error between the local time of the first node and the local time of the second node after synchronization.
  • the first node receives the fifth time packet sent by the second node, and then extracts the time synchronization error ⁇ carried by the fifth time packet, and corrects the local time after synchronization by the 1588 protocol according to the time synchronization error. , accurately synchronizes its local time to the local time of the second node.
  • Embodiment 6 is a time synchronization method, which implements time synchronization between nodes in combination with the 1588 protocol. The method flow is shown in Figure 7.
  • the first node is a slave node and the second node is a master node. The method specifically includes the following steps:
  • Steps S701 and S702 in this embodiment are similar to the implementation methods of steps S501 and S502 in the fourth embodiment, and are not described herein again.
  • Step S703 The second node sends, to the first node, a sixth time packet carrying a line distance from the first node to the second node or a path delay of the 1588 protocol in the direction from the first node to the second node.
  • the second node sends a sixth time packet to the first node, where the sixth time report Calculated message carries a second node the first node to the second node from the direction of line Li_ 2; sixth time or the packet carries the node 1588 calculates the packet delay in the path of the first node to the second node direction When du.
  • the format of the sixth time packet and the working wavelength thereof are not limited in this embodiment.
  • the second node may receive the time t 12 and the second time message receiving time t 22 according to the first time message, the sending time t n of the first time message, and the sending time t 21 of the second time message.
  • the first signal transmission rate V1 and the second signal transmission rate v 2 are calculated according to the formula (4) in the fourth embodiment: the line distance L of the first node to the second node direction is calculated:
  • the second node may receive the time t 12 and the second time message receiving time t 22 according to the first time message, the sending time t n of the first time, the sending time of the second time, and the sending time of the second time t 21 , the first signal transmission rate V1 and the second signal transmission rate v 2 , the signal transmission rate Vw used by the 1588 protocol message when transmitting in the direction from the first node to the second node, according to the formula in the fourth embodiment ( 5) Calculate the path delay from the first node to the second node direction du: d _ L t _ 2 _ ((tiz -tii) - (t 22 -tzi )) xvi xv 2 ( 5 )
  • Step S704 the first node obtains a sum of bidirectional path delays, and calculates a time synchronization error between the second node and the first node.
  • the second node obtains the sum of the bidirectional path delays D between the first node and the second node through the 1588 protocol.
  • the first node receives the sixth time message sent by the second node, and then:
  • Step S705 the first node synchronizes its local time to the local time of the second node according to the time synchronization error.
  • the first node corrects the local time after synchronization by the 1588 protocol according to the time synchronization error, and accurately synchronizes its local time to the local time of the second node.
  • Embodiment 7 is a time synchronization method, which implements time synchronization between nodes in combination with the 1588 protocol. The method flow is shown in Figure 8.
  • the first node is a slave node and the second node is a master node. The method specifically includes the following steps:
  • Step S801 The first node sends the first time packet to the second node as the signal wavelength.
  • the first node sends the first time to the second node, and the second node receives the first time at the local time t 12 .
  • the signal transmission rate corresponding to a certain working wavelength is determined, and the transmission rate of the signal at the working wavelength is V1 on the line .
  • Step S802 the first node sends a second time message to the second node by using ⁇ 2 as a signal wavelength.
  • the first node sends the second time to the second node with the ⁇ 2 as the signal wavelength, and the second node receives the second time when the local time is t 22 .
  • Step S803 the second node sends a seventh time message carrying the first message receiving time and the second message receiving time to the first node.
  • the second node sends a seventh time message to the first node, where the seventh time message carries the first time message at the receiving time t 12 of the second node and the second time message is in the first time.
  • the receiving time of the two nodes is t 22 .
  • the format of the seventh time and the operating wavelength thereof are not limited in this embodiment.
  • Step S804 the first node obtains a sum of bidirectional path delays, and calculates a time synchronization error between the second node and the first node.
  • the second node obtains the sum of the bidirectional path delays D between the first node and the second node through the 1588 protocol.
  • a first node to a second node receiving a seventh transmission time message extracts the received time of the first time seventh Gen 4 carried by the packet reception time t 12 packets and the second time t 4 the text 22 is Burgundy, binding of The sending time t n of the first message and the sending time t 21 of the second time message, the first signal transmission rate ⁇ and the second signal transmission rate v 2 , 1588 protocol messages are uploaded in the direction from the first node to the second node.
  • the sum of the bidirectional path delays between the first node and the second node obtained by the signal transmission rate of the wavelength used in the transmission V ⁇ 1588 protocol, and the second node and the first node are calculated according to the formula (6) in the fourth embodiment.
  • Time synchronization error ⁇ is
  • Step S805 the first node synchronizes its local time to the local time of the second node according to the time synchronization error.
  • Step S805 in this embodiment is similar to the implementation method of step S705 in the sixth embodiment, and details are not described herein again.
  • the local time after synchronization realizes accurate time synchronization between nodes, which solves the problem of time synchronization error caused by the inconsistent bidirectional path delay in the prior art, and avoids manual measurement and setting time synchronization error in the time synchronization network deployment process.
  • the technical solution realizes the single unit, has high measurement accuracy and good implementability.
  • the first node is a master node
  • the second node is a slave node
  • the first node uses a sum of 2 as a signal wavelength to the second node.
  • the first node obtains the sum of the bidirectional path delays between the first node and the second node, and sends the time D message to the second node, where the second node calculates The time synchronization error ⁇ between the two nodes and the first node, and then the second node corrects the local time after synchronization by the 1588 protocol according to the time synchronization error, and obtains the local time accurately synchronized with the local time of the first node;
  • a node, the second node is a master node, and the first node sends the first time message and the second time message to the second node with the signal wavelength of 2 and the second node respectively, and the second node obtains the first node and the second node
  • the sum of the two-way path delays D is sent to the first node through the time message, and the first node calculates the time synchronization error ⁇ between the second node and the first node, and then the first node according to the time Synchronization error correction
  • Embodiment 8 is a time synchronization method, which implements time synchronization between nodes in combination with the 1588 protocol.
  • the method flow is shown in FIG. 10, and as shown in FIG. 9, the first node is a master node, and the second node is a slave node.
  • the method specifically includes the following steps: Step S1001: The first node sends the first time message to the second node for the working wavelength, and sends the second time message to the second node with the ⁇ 2 as the working wavelength; the second node takes the ⁇ 3 as the working wavelength to the first time.
  • the node sends the third time 4 ⁇ , and sends the fourth time to the first node with ⁇ 4 as the working wavelength.
  • the first node when the local time is t n , the first node sends the first time to the second node for the working wavelength, and the first time is the transmission time tn of the message, the second node Receiving the first time message when the local time is t 12 , and then extracting the sending time t n of the first time message in the first time message;
  • the first node When the local time is t 21 , the first node sends the second time to the second node with the ⁇ 2 as the working wavelength, the second time packet carries the sending time t 21 of the packet, and the second node is in the local time.
  • the second node when the local time t 31 to the operating wavelength is ⁇ 3; T 22 receives the second time message, and then extracts the second packet transmission time of the second time t 21 to the packet
  • the first node sends a third time message, the third time message carries the message transmission time t 31 , and the first node receives the third time message when the local time is t 32 , and then the third time message extracting a third time text message transmission time t 31;
  • the second node when the local time t 41, to the operating wavelength [lambda] 4 is a fourth time transmission packets to the first node Gen 4, the fourth time packet carries The sending time t 41 of the message, the first node receives the fourth time message when the
  • the signal transmission rate corresponding to a certain working wavelength is determined.
  • the transmission rate of the signal at the working wavelength is V1 ;
  • the transmission rate of the signal with the working wavelength ⁇ 2 is v 2 on the line ;
  • the signal with the working wavelength is ⁇ 3
  • the transmission rate on the line is v 3 ;
  • the transmission rate of the signal with the operating wavelength ⁇ 4 on the line is ⁇ 4 , then the following formula can be obtained:
  • Step S1002 The first node sends, to the second node, an eighth time packet carrying a line distance from the second node to the first node direction or a path delay of the 1588 protocol message in the second node to the first node direction.
  • the first node sends an eighth time to the second node, where the eighth time carries the line distance L ⁇ of the second node to the first node direction calculated by the first node, or carries the first The path delay d 24 of the 1588 protocol message calculated by a node in the direction from the first node to the second node.
  • the format of the eighth time packet and the working wavelength thereof are not limited in this embodiment.
  • the line distance L 24 from the second node to the first node direction may be received by the first node according to the transmission time t 31 of the third time text and the transmission time t 41 of the fourth time 4, and the third time 4
  • the receiving time t 42 of the time t 32 and the fourth time message, the third signal transmission rate v 3 and the fourth signal transmission rate v 4 are calculated according to the formulas (7), (8):
  • 1588 Burgundy packet delay path 4 the first node to the second node d 24 direction can be transmitted by the first node according to the time of the third time t 31 4 Burgundy packets and the fourth time-message is sent Gen ⁇ t 41 , 4 reception time of the third time Gen text reception time t 32 and the fourth time packets t 42, the signal transmission rate v 3 of the third and the fourth signal transmission rate v 4, 1588 * ⁇ gen protocol packets at the second node
  • the signal transmission rate V 24 of the wavelength used when transmitting in the direction of the first node and is calculated according to the formula (9):
  • Step S1003 The second node receives the eighth time packet, and calculates a time synchronization error between the second node and the first node.
  • the second node receives the eighth time packet sent by the first node, and then: or extracts the line distance from the second node to the first node carried in the eighth time packet, and combines the first time packet.
  • the rate v 2 and the 1588 protocol are transmitted in the direction from the first node to the second node
  • the signal transmission rate of the wavelength Vw, 1588 protocol is transmitted in the direction from the second node to the first node.
  • Step S1004 The second node synchronizes its local time to the local time of the first node according to the time synchronization error.
  • the second node corrects the local time after synchronization by the 1588 protocol according to the time synchronization error, and accurately synchronizes its local time to the local time of the first node.
  • Embodiment 9 is a time synchronization method, which implements time synchronization between nodes in combination with the 1588 protocol. The method flow is shown in FIG. 11, and combined with FIG. 9, the first node is a master node, and the second node is a slave node. The method specifically includes the following steps:
  • Step S1101 The first node sends the first time to the second node for the working wavelength, Sending a second time to the second node with ⁇ 2 as the working wavelength; the second node sends the third time to the first node with ⁇ 3 as the working wavelength, and sends the ⁇ 4 as the working wavelength to the first node.
  • the fourth time is 4 essays.
  • the first node when the local time is t n , the first node sends the first time to the second node for the working wavelength, and the first time is the transmission time tn of the message, the second node Receiving the first time message when the local time is t 12 , and then extracting the sending time t n of the first time message in the first time message;
  • the first node When the local time is t 21 , the first node sends the second time to the second node with the ⁇ 2 as the working wavelength, the second time packet carries the sending time t 21 of the packet, and the second node is in the local time.
  • the second node when the local time t 31 to the operating wavelength is ⁇ 3;
  • T 22 receives the second time message, and then extracts the second packet transmission time of the second time t 21 to the packet the first node sending a third message Gen 4 times, the first time point of receiving the third message 4 Gen 32 local time t;
  • the second node When the local time is t 41 , the second node sends the fourth time to the first node with ⁇ 4 as the working wavelength, and the first node receives the fourth time when the local time is t 42 .
  • the signal transmission rate corresponding to a certain working wavelength is determined.
  • the transmission rate of the signal at the working wavelength is V1 ;
  • the transmission rate of the signal with the working wavelength ⁇ 2 is v 2 on the line ;
  • the signal with the working wavelength is ⁇ 3
  • the transmission rate on the line is v 3 ;
  • the transmission rate of the signal with the operating wavelength ⁇ 4 is ⁇ 4 on the line .
  • Step S1102 The first node sends, to the second node, a ninth time packet carrying a receiving time of the third time message and a receiving time of the fourth time message.
  • the first node sends a ninth time ⁇ ⁇ gen packet to the second node, the message carrying the ninth time Gen 4 reception time of the third time ⁇ gen above in the first node and the fourth time t 32 4 Gen
  • the text is connected to the first node at time t 42 .
  • Step S1103 The second node receives the ninth time packet, and calculates a time synchronization error between the second node and the first node.
  • the second node receives the ninth time message sent by the first node, extracting the ninth time message carried in the third time message reception time and the reception time t 32 packets fourth time t 42 Knot
  • the receiving time t 12 of the first time message and the receiving time t 22 of the second time message, the sending time t n of the first time message, and the sending time t 21 and the second time 4 of the second time 4 The transmission time t 31 of the message and the transmission time t 41 of the fourth time message, the first signal transmission rate V1 and the second signal transmission rate v 2 , the third signal transmission rate v 3 and the fourth signal transmission rate v 4 ,
  • the signal transmission rate of the wavelength used by the signal transmission rate Vu, 1588 protocol message transmitted by the 1588 protocol in the direction from the first node to the second node is transmitted in the direction from the second node to the first node.
  • V 24 calculating the time synchronization error ⁇ between the second node and the first node according to the formula (4) in the fourth embodiment and
  • Step S1104 the second node synchronizes its local time to the locality of the first node according to the time synchronization error time.
  • Step S1104 in this embodiment is similar to the implementation method of step S1004 in the eighth embodiment, and details are not described herein again.
  • the specific implementation process of the 1588 protocol mentioned in the above-mentioned Embodiments 8 and 9 follows the existing 1588 protocol, and details are not described in the embodiment.
  • Embodiments 8 and 9 combine the 1588 protocol to complete the automatic real-time measurement of the 1588 time synchronization error by transmitting the time 4 ⁇ text on at least two wavelengths in each direction of the bidirectional path, and correct the 1588 time synchronization. After the local time, the precise time synchronization between the nodes is realized, which solves the problem of time synchronization error caused by the inconsistent bidirectional path delay in the prior art, and avoids manual measurement and setting time synchronization error in the time synchronization network deployment process.
  • the technical scheme of the invention realizes the single order, has high measurement accuracy and good implementability.
  • the first node is a master node
  • the second node is a slave node
  • the first node transmits the first node to the second node at a working wavelength of 2 and 2 , respectively.
  • the second node sends the third time and the fourth time to the second node with ⁇ 3 and ⁇ 4 as working wavelengths.
  • the first node sends the time synchronization error ⁇ between the second node calculated by the first node and the first node to the second node, and the second node corrects the synchronization by the 1588 protocol according to the time synchronization error.
  • the local time is obtained, and the local time is accurately synchronized with the local time of the first node.
  • the second node calculates the line distance from the second node to the first node direction or the 1588 protocol packet is in the second node to the first node.
  • the path delay in one node direction is sent to the first node through the time message, and the first node calculates the time synchronization error ⁇ between the second node and the first node, and sends the time synchronization error ⁇ to the second through time and text.
  • the node, the second node corrects the local time after synchronization by the 1588 protocol according to the time synchronization error, and obtains the local time that is accurately synchronized with the local time of the first node.
  • the wavelength tunable optical module can be used to realize the dynamic adjustment of the working wavelength, so that the message is transmitted at different wavelengths on the line.
  • V (comprising: a transmission rate of the signal on the line wavelength of the Vl, wavelength transmission rate of the signal on the line ⁇ 2 is ⁇ 2, the wavelength of the transmission rate [lambda] signal on the line 3 ⁇ 3, a wavelength [lambda] signal line 4
  • the signal transmission rate of the wavelength V 24 can be replaced by the reciprocal of the delay coefficient K introduced by the corresponding unit length fiber to calculate the absolute time deviation or the time synchronization error to complete the precise time synchronization between the nodes.
  • the line operation can be set to perform measurement in multiple wavelength modes, thereby obtaining a plurality of measurement results: Offset ⁇ Offset 2 , 0ffset 3 ... 0ffset n or AT ⁇ , ⁇ 2 , ⁇ 3 ... ⁇ ⁇ , and average the ⁇ ( ⁇ > 1) results, and synchronize the local time between the nodes according to their average values.
  • Embodiment 10 a node device, as shown in FIG. 12, includes:
  • the line processing module 1201 is configured to receive a first time message sent by the first node at the first working wavelength and a second time message sent by the first node at the second working wavelength ⁇ 2 ;
  • the message processing module 1202 is configured to record the receiving time t 12 of the first time message and the receiving time t 22 of the second time message;
  • the method is further configured to parse the first time packet and the second time packet, and extract a sending time t n of the first time carried in the first time message and a second time carried in the second time.
  • the sending time t 21 of the text; the time calculating module 1203 is configured to: according to the sending time t n of the first time message and the sending time t 21 of the second time message, the receiving time t 12 and the first time of the first time message.
  • the receiving time t 22 of the second time and the first signal transmission rate Vi corresponding to the first working wavelength and the second signal transmission rate v 2 corresponding to the second working wavelength are calculated by the following formula (3). Absolute time offset between the first nodes Offset:
  • the local time module 1204 is configured to provide the message processing module 1202 with the receiving time t 12 of the first time message and the receiving time t 22 of the second time message; and also for subtracting the local time from the time calculation module 1203 The calculated absolute time offset gives the local time synchronized with the local time of the first node.
  • a node device as shown in FIG. 13, includes:
  • the line processing module 1301 is configured to send the first time message to the second node by using the first working wavelength, and send the second time to the second node by using the second working wavelength ⁇ 2 ;
  • the method is further configured to receive a third time packet sent by the second node;
  • the packet processing module 1302 is configured to encapsulate the first time packet and the second time packet, where the first time packet carries the sending time t n of the first time packet, and the second time packet carries the second time packet
  • the sending time of the text is t 21 ;
  • the method is further configured to parse the third time packet, and extract an absolute time offset Offset between the self and the second node carried by the third time packet;
  • the absolute time deviation Offset is determined by the second node according to the sending time t n of the first time message and the sending time t 21 of the second time message, the receiving time t 12 of the first time message, and the receiving time of the second time message.
  • t 22 the first working wavelength and the signal transmission rate corresponding to a first wavelength and a second work signal corresponding to the second transmission rate v 2, using the following equation (3) obtained by calculation:
  • Offset (tl2 " tll) x Vl " (t22 “ t2l) x V2 ( 3 )
  • the local time module 1303 is configured to provide the message processing module 1302 with the sending time t n of the first time message and the sending time t 21 of the second time message; and also used to add its own local time to the ⁇
  • the absolute time offset Offset extracted by the text processing module 1302 obtains the local time synchronized with the second node local time.
  • Embodiment 12 A node device, as shown in FIG. 12, includes:
  • the line processing module 1201 is configured to send the first time to the second node by using the first working wavelength, and send the second time to the second node by using the second working wavelength ⁇ 2 ;
  • the method is further configured to receive a fourth time packet sent by the second node
  • the message processing module 1202 is configured to encapsulate the first time message and the second time message, and record the sending time t n of the first time and the sending time t 21 of the second time.
  • the fourth time packet is parsed, and the receiving time t 12 of the first time packet carried by the fourth time packet and the receiving time t 22 of the second time 4 ⁇ text are extracted;
  • the time calculation module 1203 is configured to receive according to the sending time t n of the first time message and the sending time t 21 of the second time message, the receiving time t 12 of the first time 4, and the receiving time of the second time 4 a time t 22 , and a first signal transmission rate Vi corresponding to the first working wavelength and a second signal corresponding to the second working wavelength
  • the transmission rate v 2 is calculated by the following formula (3), and the absolute time deviation Offset between itself and the second node is calculated:
  • Offset (tl2 " tll) x Vl " (t22 “ t2l) x V2 ( 3 )
  • the local time module 1204 is configured to provide the message processing module 1202 with the sending time t n of the first time message and the sending time t 21 of the second time message;
  • a node device as shown in FIG. 14, includes:
  • the line processing module 1401 is configured to receive a first time message sent by the first node at the first working wavelength and a second time message sent by the first node at the second working wavelength ⁇ 2 ;
  • a first time message processing module 1402 used to record the message reception time and the reception time t 12 packets a second time t 22;
  • the method is further configured to parse the first time packet and the second time packet, and extract a sending time t n of the first time carried in the first time message and a second time carried in the second time.
  • the sending time of the text is t 21 ;
  • the 1588 protocol module 1405 is configured to execute the 1588 protocol, and obtain a sum D of bidirectional path delays between the first node and the second node; and is also used to synchronize the local time of the first node to the local time of the first node by using the 1588 protocol;
  • the time calculation module 1403 is configured to receive according to the sending time t n of the first time message and the sending time t 21 of the second time message, the receiving time t 12 of the first time 4, and the receiving time of the second time 4
  • the time t 22 , and the first signal transmission rate corresponding to the first working wavelength and the second signal transmission rate v 2 and 1588 corresponding to the second working wavelength are transmitted in the direction from the first node to the second node.
  • the signal transmission rate Vw and the sum D of the bidirectional path delays between the first node and the second node obtained by the 1588 protocol module 1405, and the time between the second node and the first node is calculated according to the formula (6) in the fourth embodiment.
  • the local time module 1404 is configured to provide the message processing module 1402 with the receiving time t 12 and the second time of the first time message. Receiving time t 22 ;
  • Embodiment 14 is a node device, as shown in FIG. 15, including:
  • the line processing module 1501 is configured to send the first time message to the second node at the first working wavelength, and send the second time to the second node at the second working wavelength ⁇ 2 ;
  • the method is further configured to receive a sixth time packet sent by the second node
  • the packet processing module 1502 is configured to encapsulate the first time packet and the second time packet, where the first time packet carries the sending time t n of the first time packet, and the second time packet carries the second time packet.
  • the method is further configured to parse the sixth time packet, and extract a line distance from the first node to the second node calculated by the second node carried in the sixth time packet or a path of the 1588 protocol packet in the direction from the first node to the second node. Delay d ⁇ ;
  • the line distance from the first node to the second node is determined by the second node according to the transmission time t n of the first time message and the transmission time t 21 of the second time 4, and the reception time t 12 of the first time 4
  • the second signal transmission rate v 2 corresponding to the second operating wavelength is calculated by the following formula (4):
  • the path delay of the 1588 protocol packet in the direction from the first node to the second node is determined by the second node according to the sending time t u of the first time packet and the sending time t 21 of the second time packet, and the first time packet.
  • the 1588 protocol module 1505 is configured to execute the 1588 protocol, and obtain a sum D of bidirectional path delays between the first node and the second node;
  • time calculation module 1503 Also used to synchronize its local time to the local time of the second node through the 1588 protocol; time calculation module 1503,
  • Equation (6) in calculating the time synchronization error ⁇ between the second node and the first node: ⁇ / 2
  • the local time module 1504 is configured to provide the message processing module 1502 with the sending time t n of the first time message and the sending time t 21 of the second time message;
  • a node device includes: The line processing module 1601 is configured to receive a first time message sent by the first node at the first working wavelength and a second time message sent by the first node at the second working wavelength ⁇ 2 ;
  • the third time is further sent to the first node by using the third working wavelength ⁇ 3
  • the fourth time is sent to the first node by the fourth working wavelength ⁇ 4 ;
  • the method is further configured to receive an eighth time packet sent by the first node;
  • the message processing module 1602 is configured to: record the receiving time t 12 of the first time message and the receiving time t 22 of the second time message; and further, parse the first time message and the second time message, and extract the first The sending time t n of the first time packet carried by the time message and the sending time t 21 of the second time message carried by the second time message;
  • the third time 4 ⁇ text carries the third time ⁇ text transmission time t 31
  • the fourth time 4 ⁇ text carries the fourth time ⁇ ⁇ ⁇ text Transmission time t 41 ;
  • the method is further configured to parse the eighth time packet, and extract a path delay d 24 of the 1588 protocol packet calculated by the first node that is carried by the first node in the direction of the second node to the first node.
  • the path delay d 24 of the 1588 protocol message in the direction from the second node to the first node is determined by the first node according to the transmission time t 31 of the third time and the transmission time t 41 of the fourth time.
  • the receiving time t 32 of the third time 4 and the receiving time t 42 of the fourth time 4, the third signal transmission rate v 3 corresponding to the third working wavelength, and the fourth signal transmission rate v corresponding to the fourth working wavelength 4 , and the signal transmission rate V 24 used by the 1588 protocol to transmit in the direction from the second node to the first node is calculated by using the formula (10) in the eighth embodiment:
  • 1588 Protocol Module 1605 Used to execute the 1588 protocol, and synchronize its own local time to the local time of the first node through the 1588 protocol.
  • the time calculation module 1603 is configured to: according to the sending time t n of the first time message and the sending time t 21 of the second time message, the receiving time t 12 of the first time 4, and the receiving of the second time 4 a time t 22 , a first signal transmission rate V1 corresponding to the first working wavelength, and a second signal transmission corresponding to the second working wavelength Transmission rate v 2, 1588 node protocol packets computed paths to the second node to the first node direction delay d 24, 1588 packet protocol used when transmitting wavelength to the first node to the second node direction
  • the signal transmission rate Vw calculates the time synchronization error ⁇ between itself and the first node:
  • the local time module 1604 is configured to provide the message processing module 1602 with the receiving time t 12 of the first time message, the receiving time t 22 of the second time 4, the sending time t 31 of the third time 4
  • the transmission time of the four-time message is t 41 ;
  • the first node device 1701 is referred to as a first node 1701
  • the second node device 1702 is referred to as a second.
  • Embodiment 16 is a time synchronization system, including at least two node devices, where: the first node 1701 includes:
  • a line processing module configured to send a first time to the second node 1702 at a first working wavelength and a second time to the second node 1702 at a second working wavelength ⁇ 2 ;
  • the packet processing module is configured to encapsulate the first time packet and the second time packet, where the first time packet carries the sending time t n of the first time, and the second time ⁇ text carries the second time. ⁇ 's sending time t 21 ;
  • the local time module is configured to provide the packet processing module with the sending time t n of the first time message and the sending time t 21 of the second time message.
  • the second node 1702 includes: a line processing module, a message processing module, a time calculation module, and a local time module.
  • Embodiment 17 is a time synchronization system, which includes at least two node devices, where: the first node 1701 includes: a line processing module, a message processing module, and a local time module.
  • the module 1301, the message processing module 1302, and the local time module 1303 are not described herein.
  • the second node 1702 includes:
  • a line processing module configured to receive a first time message sent by the first node 1701 at a first working wavelength and a second time message sent by the first node 1701 at a second working wavelength ⁇ 2 ; 1701 sends a third time message;
  • a first time message processing module configured to record the message reception time and the reception time t 12 packets a second time t 22; further configured to parse a first packet and a second time period packet, a first time extraction The sending time t u of the first time carried in the message and the sending time t 21 of the second time carried in the second time 4; the third time message is also encapsulated, and the third time report is used.
  • the file carries an absolute time offset Offset; a time calculation module, configured to: according to the sending time t u of the first time message and the sending time t 21 of the second time message, the receiving time t 12 and the second time of the first time message.
  • the receiving time t 22 of the time 4 ⁇ , and the first signal transmission rate ⁇ 1 corresponding to the first working wavelength and the second signal transmission rate v 2 corresponding to the second working wavelength, the second node is calculated by the following formula (3) Absolute time offset Offset between 1702 and first node 1701:
  • Offset (tl2 " tll) x Vl " (t22 “ t2l) x V2 ( 3 )
  • the local time module is configured to provide the message processing module with the receiving time t 12 of the first time message and the receiving time t 22 of the second time message.
  • Embodiment 18 A time synchronization system, comprising at least two node devices, wherein: the first node 1701 includes: a line processing module, a message processing module, a time calculation module, and a local time module.
  • the first node 1701 includes: a line processing module, a message processing module, a time calculation module, and a local time module.
  • the line processing module 1201, the message processing module 1202, the time calculation module 1203, and the local time module 1204 are not described herein.
  • the second node 1702 includes:
  • a line processing module configured to receive a first time message sent by the first node 1701 at a first working wavelength and a second time message sent by the first node 1701 at a second working wavelength ⁇ 2 ; 1701 sends a fourth time message;
  • the local time module is configured to provide the message processing module with the receiving time t 12 of the first time message and the receiving time t 22 of the second time message.
  • Embodiment 19 A time synchronization system, comprising at least two node devices, where: the first node 1701 includes:
  • a line processing module configured to send a first time message to the second node 1702 at a first working wavelength, and send a second time message to the second node 1702 at a second working wavelength ⁇ 2 ;
  • the packet processing module is configured to encapsulate the first time packet and the second time packet, where the first time packet carries the sending time t u of the first time, and the second time carries the second time 4 ⁇ Text transmission time t 2 i;
  • a 1588 protocol module configured to execute the 1588 protocol, to synchronize the local time of the second node 1702 to the local time of the first node 1701 by using the 1588 protocol;
  • the local time module is configured to provide the packet processing module with the sending time t n of the first time message and the sending time t 21 of the second time message; and is also used to provide the local time to the 1588 protocol module.
  • the second node 1702 includes: a line processing module, a message processing module, and a 1588 protocol module.
  • the time calculation module and the local time module are described in detail. For details, refer to the line processing module 1401, the message processing module 1402, the 1588 protocol module 1405, the time calculation module 1403, and the local time module 1404.
  • Embodiment 20 is a time synchronization system, including at least two node devices, where: the first node 1701 includes: a line processing module, a message processing module, a 1588 protocol module, a time calculation module, and a local time module, and specific content.
  • the second node 1702 includes:
  • a line processing module configured to receive a first time message sent by the first node 1701 at a first working wavelength and a second time message sent by the first node 1701 at a second working wavelength ⁇ 2 ;
  • Message processing module a first time for recording the packet reception time t 12 and the time of the second reception time of packets t 22; further configured to parse a first time message packet and the second time, extracting the first transmission of the first time period of 4 4 Burgundy Burgundy packets carrying text ⁇ i of the second time and sending a second message carrying time Gen 4 packets t 21;
  • the sixth time packet is also used to encapsulate the line distance from the first node to the second node or the path delay of the 1588 protocol message in the direction from the first node 1701 to the second node 1702 ( ⁇ 2 ;
  • the time calculation module is configured to receive according to the sending time t u of the first time message and the sending time t 21 of the second time message, the receiving time t 12 of the first time message, and the receiving time of the second time 4
  • the time t 22 , and the first signal transmission rate Vi corresponding to the first working wavelength and the second signal transmission rate v 2 corresponding to the second working wavelength calculate the line from the first node to the second node by using the following formula (4) Distance - 2 : Or for the sending time t n of the first time message and the sending time t 21 of the second time message, the receiving time t 12 of the first time message, and the receiving time t 22 of the second time message, the first The first signal transmission rate V1 corresponding to the working wavelength and the second signal transmission rate v 2 corresponding to the second working wavelength, and the wavelength used by the 1588 protocol in the direction of the first node 1701 to the second node 1702
  • the signal transmission rate Vw is calculated by the following formula (5): the path delay d of
  • a 1588 protocol module configured to execute the 1588 protocol, to synchronize the local time of the first node 1701 to the local time of the second node 1702 by using the 1588 protocol;
  • the local time module is configured to provide the packet processing module with the receiving time t 12 of the first time message and the receiving time t 22 of the second time message; and is also used to provide the local time to the 1588 protocol module.
  • Embodiment 21 A time synchronization system includes at least two node devices, where: the first node 1701 includes:
  • a line processing module configured to send a first time message to the second node 1702 at a first working wavelength, and send a second time message to the second node 1702 at a second working wavelength ⁇ 2 ;
  • the packet processing module is configured to encapsulate the first time packet and the second time packet, where the first time packet carries the sending time t u of the first time, and the second time carries the second time 4 ⁇ Text transmission time t 2 i;
  • the eighth time packet is also used to encapsulate the path delay d 24 of the 1588 protocol message in the direction from the second node 1702 to the first node 1701;
  • the time calculation module is configured to: according to the sending time t 31 of the third time message and the sending time t 41 of the fourth time message, the receiving time t 32 of the third time 4, and the receiving time of the fourth time 4 t 42, the third operating wavelength corresponding to the third transmission rate v 3 and a fourth operating wavelength corresponding to a fourth transmission rate v 4, and 1588 when transmitting packets to the second node 1702 to node 1701 using direction
  • the signal transmission rate V 24 of the wavelength is calculated by the following formula (10): the path delay d 24 of the 1588 protocol in the direction from the second node 1702 to the first node 1701:
  • the 1588 protocol module is configured to execute the 1588 protocol, and synchronize the local time of the second node 1702 to the local time of the first node 1701 by using the 1588 protocol;
  • the local time module is configured to provide, to the packet processing module, a sending time t n of the first time message, a sending time t21 of the second time message, a receiving time t 32 of the third time message, and a fourth time message Receive time t 42 ; also used to provide local time to the 1588 protocol module.
  • the second node 1702 includes: a line processing module, a message processing module, a 1588 protocol module, a time calculation module, and a local time module.
  • the technical solution provided by the embodiment of the invention can complete the automatic time measurement of the absolute time deviation between the primary and secondary nodes or the 1588 time synchronization error, and achieve accurate time synchronization between the nodes.
  • the technical solution of the invention realizes a single cylinder, has high measurement accuracy, and has good implementability.
  • the storage medium may be a ROM/RAM, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Electric Clocks (AREA)

Description

一种时间同步的方法和系统及节点 i殳备 技术领域
本发明涉及网络通信技术, 尤其涉及一种时间同步的方法和系统及节点 设备。 背景技术
目前, 随着第三代移动通信技术(3rd Generation , 3G )的推广, 移动面 临运营时分-同步码分多址存取 ( Time Division - Synchronous Code Division Multiple Access, TD-SCDMA ) 网络, TD-SCDMA除了一般无线蜂窝通信所 需要的频率同步外, 还需要精确的时间同步, 精确的时间同步精度要求端到 端 +/-lus。 同时, 未来 3G的长期演进(Long Term Evolution, LTE )、 全球微 波互联接入 ( Worldwide Interoperability for Microwave Access , Wimax )等也 会采用和 TD-SCDMA—样的时分双工 (Time Division Duplexing, TDD )模 式, 同样有相位和时间同步需求。 因此, 利用现有承载网络实现精确的时间 传送成为一种迫切的需求。
承载网络中通用的时间传送方案是 1588协议, 通过 1588协议可以实现 时间的同步和透传功能, 被认为是一种通用的时间传递解决方案。 1588协议 通过主从设备之间交换时间报文时产生的时间戳, 计算主从设备间的路径延 时和绝对时间偏差, 实现主从设备间的时间同步。
采用 1588协议实现网络时间同步所基于的前提是收发双向的路径延时一 致。 但在实际网络中, 收发双向的路径延时不一致是常见的情况, 双向路径 延时不一致导致通过 1588协议计算出的绝对时间偏差存在误差。 对此, 还需 要准确测量出收发双向的路径延时并进行相应的时间补偿, 才能够满足移动 网络所要求的时间精度。
目前测量收发双向路径延时的方法是采用光时域反射仪 ( Optical Time Domain Reflectometer , OTDR ), 通过 OTDR人工测量出设备之间收发线路的 光纤长度, 计算出时间同步误差, 对 1588协议同步后的时间进行修正。
这种通过 OTDR测量并计算 1588时间同步误差,继而进行人工补偿实现 时间同步的方法, 在网络设备工程开局、 部署或网络维护导致传送路径变化 时, 需要逐点测量双向线路的光纤长度, 方法复杂、 测量准确性差。 发明内容
本发明的实施例提供了一种时间同步的方法和系统及节点设备, 能够实 现节点间的精确时间同步, 解决现有技术中由于双向路径延时不一致带来的 时间同步误差问题。
本发明的实施例采用如下技术方案:
本发明的实施例提供了一种时间同步的方法, 包括:
第一节点在第一时间以第一工作波长发送第一时间 4艮文, 第二节点在第 二时间接收到所述第一时间 4艮文;
所述第一节点在第三时间以第二工作波长发送第二时间 ^艮文, 所述第二 节点在第四时间接收到所述第二时间报文;
根据所述第一时间、 所述第二时间、 所述第三时间、 所述第四时间、 以 及所述第一工作波长对应的第一信号传输速率和所述第二工作波长对应的第 二信号传输速率, 计算所述第二节点与所述第一节点间的绝对时间偏差, 同 步所述第二节点与所述第一节点的本地时间。 本发明的实施例提供了另一种时间同步的方法, 包括:
第一节点在第一时间以第一工作波长发送第一时间 4艮文, 第二节点在 二时间接收到所述第一时间 4艮文;
所述第一节点在第三时间以第二工作波长发送第二时间 ^艮文, 所述第 节点在第四时间接收到所述第二时间报文; 根据所述第一时间、 所述第二时间、 所述第三时间、 所述第四时间、 所 述第一工作波长对应的第一信号传输速率和所述第二工作波长对应的第二信 号传输速率、 1588协议报文在所述第一节点至所述第二节点方向上传送时所 采用波长的信号传输速率、 以及通过 1588协议获得的所述第一节点与所述第 二节点间的双向路径延时之和, 计算所述第二节点与所述第一节点间的时间 同步误差, 同步所述第二节点与所述第一节点的本地时间。 本发明实施例提供了再一种时间同步方法, 该方法包括:
第一节点在第一时间以第一工作波长发送第一时间 ^艮文, 所述第一时间 报文携带所述第一时间, 第二节点在第二时间接收到所述第一时间报文, 继 而提取所述第一时间;
所述第一节点在第三时间以第二工作波长发送第二时间 ^艮文, 所述第二 时间报文携带所述第三时间, 所述第二节点在第四时间接收到所述第二时间 报文, 继而提取所述第三时间;
所述第二节点在第五时间以第三工作波长发送第三时间 4艮文, 所述第一 节点在第六时间接收到所述第三时间报文;
所述第二节点在第七时间以第四工作波长发送第四时间 4艮文, 所述第一 节点在第八时间接收到所述第四时间报文;
所述第二节点根据所述第一时间、 所述第二时间、 所述第三时间、 所述 第四时间、 所述第五时间、 所述第六时间、 所述第七时间、 所述第八时间、 所述第一工作波长对应的第一信号传输速率和所述第二工作波长对应的第二 信号传输速率、 所述第三工作波长对应的第三信号传输速率和所述第四工作 波长对应的第四信号传输速率、 1588协议报文在所述第一节点至所述第二节 点方向上传送时所采用波长的信号传输速率、 以及 1588协议报文在所述第二 节点至所述第一节点方向上传送时所采用波长的信号传输速率, 计算所述第 二节点与所述第一节点间的时间同步误差, 同步所述第一节点与所述第二节 点的本地时间。 本发明实施例提供了一种节点设备, 包括:
线路处理模块, 用于接收第一节点以第一工作波长发送的第一时间报文 和所述第一节点以第二工作波长发送的第二时间 ^艮文;
报文处理模块, 用于记录所述第一时间报文的接收时间和所述第二时间 报文的接收时间; 还用于解析所述第一时间报文和所述第二时间报文, 提取 所述第一时间报文携带的所述第一时间报文的发送时间和所述第二时间报文 携带的所述第二时间 4艮文的发送时间;
时间计算模块, 用于根据所述第一时间报文的发送时间和所述第二时间 艮文的发送时间、 所述第一时间 4艮文的接收时间和所述第二时间 4艮文的接收 时间、 以及所述第一工作波长对应的第一信号传输速率和所述第二工作波长 对应的第二信号传输速率, 计算自身与所述第一节点间的绝对时间偏差; 本地时间模块, 用于向所述报文处理模块提供所述第一时间报文的接收 时间和所述第二时间 4艮文的接收时间; 还用于将自身的本地时间减去所述绝 对时间偏差, 得到与所述第一节点本地时间同步的本地时间。 本发明实施例提供了另一种节点设备, 包括:
线路处理模块, 用于以第一工作波长向第二节点发送第一时间报文, 以 第二工作波长向所述第二节点发送第二时间报文; 还用于接收所述第二节点 发送的第三时间报文;
报文处理模块, 用于封装所述第一时间报文和所述第二时间报文, 所述 第一时间报文携带所述第一时间报文的发送时间, 所述第二时间报文携带所 述第二时间报文的发送时间; 还用于解析所述第三时间报文, 提取所述第三 时间报文携带的自身与所述第二节点间的绝对时间偏差;
所述绝对时间偏差由所述第二节点根据所述第一时间报文的发送时间和 所述第二时间 4艮文的发送时间、 所述第一时间 4艮文的接收时间和所述第二时 间 4艮文的接收时间、 以及所述第一工作波长对应的第一信号传输速率和所述 第二工作波长对应的第二信号传输速率, 计算获得;
本地时间模块, 用于向所述报文处理模块提供所述第一时间报文的发送 时间和所述第二时间 4艮文的发送时间; 还用于将自身的本地时间加上所述绝 对时间偏差, 得到与所述第二节点本地时间同步的本地时间。 本发明实施例提供了再一种节点设备, 包括:
线路处理模块, 用于以第一工作波长向第二节点发送第一时间报文, 以 第二工作波长向第二节点发送第二时间报文; 还用于接收所述第二节点发送 的第四时间报文;
报文处理模块, 用于封装所述第一时间报文和所述第二时间报文, 记录 所述第一时间 4艮文的发送时间和所述第二时间 4艮文的发送时间; 还用于解析 所述第四时间 4艮文, 提取所述第四时间 4艮文携带的所述第一时间 4艮文的接收 时间和所述第二时间 4艮文的接收时间;
时间计算模块, 用于根据所述第一时间报文的发送时间和所述第二时间 艮文的发送时间、 所述第一时间 4艮文的接收时间和所述第二时间 4艮文的接收 时间、 以及所述第一工作波长对应的第一信号传输速率和所述第二工作波长 对应的第二信号传输速率, 计算自身与所述第二节点间的绝对时间偏差; 本地时间模块, 用于向所述报文处理模块提供所述第一时间报文的发送 时间和所述第二时间 4艮文的发送时间; 还用于将自身的本地时间加上所述绝 对时间偏差, 得到与所述第二节点本地时间同步的本地时间。 本发明实施例提供了又一种节点设备, 包括:
线路处理模块, 用于接收第一节点以第一工作波长发送的第一时间报文 和所述第一节点以第二工作波长发送的第二时间 ^艮文; 报文处理模块, 用于记录所述第一时间报文的接收时间和所述第二时间 报文的接收时间; 还用于解析所述第一时间报文和所述第二时间报文, 提取 所述第一时间报文携带的所述第一时间报文的发送时间和所述第二时间报文 携带的所述第二时间 4艮文的发送时间;
1588协议模块, 用于执行 1588协议, 获得所述第一节点与所述第二节点 间的双向路径延时之和; 还用于通过 1588协议将自身的本地时间同步到第一 节点的本地时间;
时间计算模块, 用于根据所述第一时间报文的发送时间和所述第二时间 艮文的发送时间、 所述第一时间 4艮文的接收时间和所述第二时间 4艮文的接收 时间、 以及所述第一工作波长对应的第一信号传输速率和所述第二工作波长 对应的第二信号传输速率、 1588协议 ·^艮文在所述第一节点至所述第二节点方 向上传送时所采用波长的信号传输速率、 以及所述双向路径延时之和, 计算 自身与所述第一节点间的时间同步误差;
本地时间模块, 用于向所述报文处理模块提供所述第一时间报文的接收 时间和所述第二时间报文的接收时间; 还用于向所述 1588协议模块提供本地 时间;还用于将 1588协议时间同步后的自身本地时间加上所述时间同步误差。 本发明实施例提供了又一种节点设备, 包括:
线路处理模块, 用于以第一工作波长向第二节点发送第一时间报文, 以 第二工作波长向所述第二节点发送第二时间报文; 还用于接收所述第二节点 发送的第六时间报文;
报文处理模块, 用于封装所述第一时间报文和所述第二时间报文, 所述 第一时间报文携带所述第一时间报文的发送时间, 所述第二时间报文携带所 述第二时间报文的发送时间; 还用于解析所述第六时间报文, 提取所述第六 时间报文携带的所述第二节点计算的所述第一节点至所述第二节点方向的线 路距离或者 1588协议报文在所述第一节点至所述第二节点方向的路径延时; 所述第一节点至所述第二节点方向的线路距离由所述第二节点根据所述 第一时间 4艮文的发送时间和所述第二时间 4艮文的发送时间、 所述第一时间 艮 文的接收时间和所述第二时间 4艮文的接收时间、 以及所述第一工作波长对应 的第一信号传输速率和所述第二工作波长对应的第二信号传输速率, 计算获 付;
所述 1588协议报文在所述第一节点至所述第二节点方向的路径延时由所 述第二节点根据所述第一时间报文的发送时间和所述第二时间报文的发送时 间、 所述第一时间 4艮文的接收时间和所述第二时间 4艮文的接收时间、 所述第 一工作波长对应的第一信号传输速率和所述第二工作波长对应的第二信号传 输速率、 以及 1588协议 ·^艮文在所述第一节点至所述第二节点方向上传送时所 采用波长的信号传输速率, 计算获得;
1588协议模块, 用于执行 1588协议, 获得所述第一节点与所述第二节点 间的双向路径延时之和; 还用于通过 1588协议将自身的本地时间同步到所述 第二节点的本地时间;
时间计算模块, 或者用于根据所述第一节点至所述第二节点方向的线路 距离、 1588协议报文在所述第一节点至所述第二节点方向上传送时所采用波 长的信号传输速率、 以及所述第一节点与所述第二节点间的双向路径延时之 和; 或者用于根据所述 1588协议 ·^艮文在所述第一节点至所述第二节点方向的 路径延时、 以及所述第一节点与所述第二节点间的双向路径延时之和, 计算 所述第二节点与所述第一节点间的时间同步误差;
本地时间模块, 用于向所述报文处理模块提供所述第一时间报文的发送 时间和所述第二时间报文的发送时间; 还用于向所述 1588协议模块提供本地 时间;还用于将 1588协议时间同步后的自身本地时间减去所述时间同步误差。 本发明实施例提供了又一种节点设备, 包括:
线路处理模块, 用于接收第一节点以第一工作波长发送的第一时间报文 和所述第一节点以第二工作波长发送的第二时间 ^艮文; 还用于以第三工作波 长向所述第一节点发送第三时间 4艮文, 以第四工作波长向所述第一节点发送 第四时间 4艮文; 还用于接收所述第一节点发送的第八时间 4艮文;
报文处理模块, 用于记录所述第一时间报文的接收时间和所述第二时间 报文的接收时间; 还用于解析所述第一时间报文和所述第二时间报文, 提取 所述第一时间报文携带的所述第一时间报文的发送时间和所述第二时间报文 携带的所述第二时间 4艮文的发送时间; 还用于封装所述第三时间 4艮文和所述 第四时间 4艮文, 所述第三时间 4艮文携带所述第三时间 4艮文的发送时间, 所述 第四时间 4艮文携带所述第四时间 4艮文的发送时间; 还用于所述解析所述第八 时间 ·^艮文, 提取所述第八时间 4艮文携带的所述第一节点计算的 1588协议 ·^艮文 在所述第二节点至所述第一节点方向的路径延时;
所述 1588协议报文在所述第二节点至所述第一节点方向的路径延时由所 述第一节点根据所述第三时间报文的发送时间和所述第四时间报文的发送时 间、 所述第三时间报文的接收时间和所述第四时间报文的接收时间、 所述第 三工作波长对应的第三传送速率和所述第四工作波长对应点第四传输速率、 以及 1588协议 4艮文在所述第二节点至所述第一节点方向上传送时所采用波长 的信号传输速率, 计算获得;
1588协议模块, 用于执行 1588协议, 通过 1588协议将自身的本地时间 同步到所述第一节点的本地时间;
时间计算模块, 用于根据所述第一时间报文的发送时间和所述第二时间 艮文的发送时间、 所述第一时间 4艮文的接收时间和所述第二时间 4艮文的接收 时间、 所述第一工作波长对应的第一信号传输速率和所述第二工作波长对应 的第二信号传输速率、 所述 1588协议报文在所述第二节点至所述第一节点方 向的路径延时、 1588协议报文在所述第一节点至所述第二节点方向上传送时 所采用波长的信号传输速率, 计算所述第二节点与所述第一节点间的时间同 步误差; 本地时间模块, 用于向所述报文处理模块提供所述第一时间报文的接收 时间、 所述第二时间 4艮文的接收时间、 所述第三时间 4艮文的发送时间和所述 第四时间报文的发送时间; 还用于提供所述 1588协议模块提供本地时间; 还 用于将 1588协议时间同步后的自身本地时间加上所述时间同步误差。 本发明实施例提供了一种时间同步系统, 所述系统至少包括两个节点设 备, 其中:
第一节点设备, 用于以第一工作波长向第二节点设备发送第一时间报文, 所述第一时间 4艮文携带所述第一时间 4艮文的发送时间; 以第二工作波长向所 述第二节点设备发送第二时间报文, 所述第二时间报文携带所述第二时间报 文的发送时间;
所述第二节点设备, 用于接收所述第一节点设备以所述第一工作波长发 送的所述第一时间 ^艮文和所述第一节点设备以第二工作波长发送的所述第二 时间报文; 记录所述第一时间报文的接收时间和所述第二时间报文的接收时 间; 提取所述第一时间报文携带的所述第一时间报文的发送时间和所述第二 时间报文携带的所述第二时间报文的发送时间; 根据所述第一时间报文的发 送时间和所述第二时间 4艮文的发送时间、 所述第一时间 4艮文的接收时间和所 述第二时间 4艮文的接收时间、 以及所述第一工作波长对应的第一信号传输速 率和所述第二工作波长对应的第二信号传输速率, 计算所述第二节点设备与 所述第一节点设备间的绝对时间偏差, 将自身的本地时间减去所述绝对时间 偏差, 得到与所述第一节点设备本地时间同步的本地时间。 本发明实施例提供了另一种时间同步系统, 所述系统至少包括两个节点 设备, 其中:
第一节点设备, 用于以第一工作波长向第二节点设备发送第一时间报文, 所述第一时间 4艮文携带所述第一时间 4艮文的发送时间; 以第二工作波长向所 述第二节点设备发送第二时间报文, 所述第二时间报文携带所述第二时间报 文的发送时间; 接收所述第二节点设备发送的第三时间报文, 提取所述第三 时间报文携带的所述第二节点设备与所述第一节点设备间的绝对时间偏差; 将自身的本地时间加上所述绝对时间偏差, 得到与所述第二节点本地时间同 步的本地时间;
所述第二节点设备, 用于接收所述第一节点设备以所述第一工作波长发 送的所述第一时间 ^艮文和所述第一节点设备以第二工作波长发送的所述第二 时间报文; 记录所述第一时间报文的接收时间和所述第二时间报文的接收时 间; 提取所述第一时间报文携带的所述第一时间报文的发送时间和所述第二 时间报文携带的所述第二时间报文的发送时间; 根据所述第一时间报文的发 送时间和所述第二时间 4艮文的发送时间、 所述第一时间 4艮文的接收时间和所 述第二时间 4艮文的接收时间、 以及所述第一工作波长对应的第一信号传输速 率和所述第二工作波长对应的第二信号传输速率, 计算所述第二节点设备与 所述第一节点设备间的绝对时间偏差; 向所述第一节点设备发送携带所述绝 对时间偏差的第三时间 4艮文。 本发明实施例提供了再一种时间同步系统, 所述系统至少包括两个节点 设备, 其中:
第一节点设备, 用于以第一工作波长向第二节点设备发送第一时间报文; 以第二工作波长向所述第二节点设备发送第二时间 4艮文; 记录所述第一时间 报文的发送时间和所述第二时间报文的发送时间; 接收所述第二节点设备发 送的第四时间报文, 提取所述第四时间报文携带的所述第一时间报文的接收 时间和所述第二时间 4艮文的接收时间; 根据所述第一时间 4艮文的发送时间和 所述第二时间 4艮文的发送时间、 所述第一时间 4艮文的接收时间和所述第二时 间 4艮文的接收时间、 以及所述第一工作波长对应的第一信号传输速率和所述 第二工作波长对应的第二信号传输速率, 计算所述第二节点设备与所述第一 节点设备间的绝对时间偏差; 将自身的本地时间加上所述绝对时间偏差, 得 到与所述第二节点设备本地时间同步的本地时间;
所述第二节点设备, 用于接收所述第一节点设备以所述第一工作波长发 送的所述第一时间 ^艮文和所述第一节点设备以第二工作波长发送的所述第二 时间报文; 向所述第一节点设备发送第四时间报文, 所述第四时间报文携带 所述第一时间 4艮文的接收时间和所述第二时间 4艮文的接收时间。 本发明实施例提供了又一种时间同步系统, 所述系统至少包括两个节点 设备, 其中:
第一节点设备, 用于以第一工作波长向第二节点设备发送第一时间报文, 所述第一时间 4艮文携带所述第一时间 4艮文的发送时间; 以第二工作波长向所 述第二节点设备发送第二时间报文, 所述第二时间报文携带所述第二时间报 文的发送时间;
所述第二节点设备, 用于接收所述第一节点设备以所述第一工作波长发 送的所述第一时间 ^艮文和所述第一节点设备以第二工作波长发送的所述第二 时间报文; 记录所述第一时间报文的接收时间和所述第二时间报文的接收时 间; 提取所述第一时间报文携带的所述第一时间报文的发送时间和所述第二 时间报文携带的所述第二时间报文的发送时间; 通过 1588协议获得所述第一 节点设备与所述第二节点设备间的双向路径延时之和; 根据所述第一时间报 文的发送时间和所述第二时间 4艮文的发送时间、 所述第一时间 4艮文的接收时 间和所述第二时间 4艮文的接收时间、 所述第一工作波长对应的第一信号传输 速率和所述第二工作波长对应的第二信号传输速率、 1588协议 ·^艮文在所述第 一节点设备至所述第二节点设备方向上传送时所采用波长的信号传输速率、 以及所述第一节点设备与所述第二节点设备间的双向路径延时之和, 计算所 述第二节点设备与所述第一节点设备之间的时间同步误差; 将 1588协议时间 同步后的自身本地时间加上所述时间同步误差。 本发明实施例提供了又一种时间同步系统, 所述系统至少包括两个节点 设备, 其中:
第一节点设备, 用于以第一工作波长向第二节点设备发送第一时间报文, 所述第一时间 4艮文携带所述第一时间 4艮文的发送时间; 以第二工作波长向所 述第二节点设备发送第二时间报文, 所述第二时间报文携带所述第二时间报 文的发送时间; 接收所述第二节点设备发送的第六时间报文, 提取所述第六 时间报文携带的所述第二节点计算的所述第一节点设备至所述第二节点设备 方向的线路距离或者 1588协议报文在所述第一节点设备至所述第二节点设备 方向的路径延时; 通过 1588协议获得所述第一节点设备与所述第二节点设备 间的双向路径延时之和; 或者根据所述第一节点至所述第二节点方向的线路 距离、 1588协议报文在所述第一节点至所述第二节点方向上传送时所采用波 长的信号传输速率、 以及所述双向路径延时之和, 或者根据所述 1588协议报 文在所述第一节点设备至所述第二节点设备方向的路径延时、 以及所述双向 路径延时之和, 计算所述第二节点设备与所述第一节点设备间的时间同步误 差; 将 1588时间同步后的自身本地时间减去所述时间同步误差。
所述第二节点设备, 用于接收所述第一节点设备以所述第一工作波长发 送的所述第一时间 ^艮文和所述第一节点设备以第二工作波长发送的所述第二 时间报文; 记录所述第一时间报文的接收时间和所述第二时间报文的接收时 间; 提取所述第一时间报文携带的所述第一时间报文的发送时间和所述第二 时间 ·^艮文携带的所述第二时间 ·^艮文的发送时间;
或者根据所述第一时间 4艮文的发送时间和所述第二时间 4艮文的发送时间、 所述第一时间报文的接收时间和所述第二时间报文的接收时间、 以及所述第 一工作波长对应的第一信号传输速率和所述第二工作波长对应的第二信号传 输速率, 计算所述第一节点至所述第二节点方向的线路距离; 或者根据所述 第一时间 4艮文的发送时间和所述第二时间 4艮文的发送时间、 所述第一时间 4艮 文的接收时间和所述第二时间 4艮文的接收时间、 所述第一工作波长对应的第 一信号传输速率和所述第二工作波长对应的第二信号传输速率、 以及 1588协 议报文在所述第一节点设备至所述第二节点设备方向上传送时所采用波长的 信号传输速率, 计算所述 1588协议报文在所述第一节点设备至所述第二节点 设备方向的路径延时;
向所述第一节点设备发送第六时间报文, 所述第六时间报文携带所述第 一节点至所述第二节点方向的线路距离或者所述 1588协议 ·^艮文在所述第一节 点设备至所述第二节点设备方向的路径延时。 本发明实施例提供了又一种时间同步系统, 所述系统至少包括两个节点 设备, 其中:
第一节点设备, 用于以第一工作波长向第二节点设备发送第一时间报文, 所述第一时间 4艮文携带所述第一时间 4艮文的发送时间; 以第二工作波长向所 述第二节点设备发送第二时间报文, 所述第二时间报文携带所述第二时间报 文的发送时间; 接收所述第二节点设备以第三工作波长发送的第三时间报文 和所述第二节点设备以第四工作波长发送的第四时间报文; 记录所述第三时 间报文的接收时间和所述第四时间报文的接收时间; 提取所述第三时间报文 携带的所述第三时间 4艮文的发送时间和所述第四时间 4艮文携带的所述第四时 间报文的发送时间; 根据所述第三时间报文的发送时间和所述第四时间报文 的发送时间、 所述第三时间 4艮文的接收时间和所述第四时间 4艮文的接收时间、 所述第三工作波长对应的第三传送速率和所述第四工作波长对应的第四传输 速率、 以及 1588协议报文在所述第二节点设备至所述第一节点设备方向上传 送时所采用波长的信号传输速率, 计算 1588协议报文在所述第二节点设备至 所述第一节点设备方向上的路径延时; 向所述第二节点发送第八时间报文, 所述第八时间报文携带所述 1588协议报文在所述第二节点设备至所述第一节 点设备方向上的路径延时。 所述第二节点设备, 用于接收第一节点设备以所述第一工作波长发送的 所述第一时间 4艮文和所述第一节点以所述第二工作波长发送的所述第二时间 报文; 记录所述第一时间报文的接收时间和所述第二时间报文的接收时间; 提取所述第一时间报文携带的所述第一时间报文的发送时间和所述第二时间 艮文携带的所述第二时间 4艮文的发送时间; 以所述第三工作波长向所述第一 节点设备发送所述第三时间报文, 所述第三时间报文携带所述第三时间报文 的发送时间; 以所述第四工作波长向所述第一节点设备发送所述第四时间报 文, 所述第四时间 4艮文携带所述第四时间 4艮文的发送时间; 接收所述第一节 点设备发送的第八时间报文, 提取所述第八时间报文携带的所述 1588协议报 文在所述第二节点设备至所述第一节点设备方向上的路径延时; 根据所述第 一时间 4艮文的发送时间和所述第二时间 4艮文的发送时间、 所述第一时间 4艮文 的接收时间和所述第二时间 4艮文的接收时间、 所述第一工作波长对应的第一 信号传输速率和所述第二工作波长对应的第二信号传输速率、 所述 1588协议 报文在所述第二节点设备至所述第一节点设备方向上的路径延时、 1588协议 报文在所述第一节点设备至所述第二节点设备方向上传送时所采用波长的信 号传输速率, 计算所述第二节点设备与所述第一节点设备间的时间同步误差; 将 1588时间同步后的自身本地时间加上所述时间同步误差。 本发明实施例提供的一种时间同步方法和系统及节点设备, 可以实现节 点间的精确时间同步, 解决现有技术中由于双向路径延时不一致带来的时间 同步误差问题, 技术方案实现筒单, 测量准确性高, 具备较好的可实施性。 附图说明
为了更清楚地说明本发明实施例, 下面将对实施例中所需要使用的附图 作筒单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根 据这些附图获得其它的附图。
图 la为本发明实施例, 一种时间同步方法的流程示意图;
图 lb为本发明又一实施例, 一种时间同步方法的流程示意图; 图 lc为本发明再一实施例, 一种时间同步方法的流程示意图; 图 2为本发明实施例一的时间同步方法流程图;
图 3为本发明实施例二的时间同步方法流程图;
图 4为本发明实施例三的时间同步方法流程图;
图 5为本发明实施例四的时间同步方法流程图;
图 6为本发明实施例五的时间同步方法流程图;
图 7为本发明实施例六的时间同步方法流程图;
图 8为本发明实施例七的时间同步方法流程图;
图 9为本发明实施例八、 九的节点关系示意图;
图 10为本发明实施例八的时间同步方法流程图;
图 11为本发明实施例九的时间同步方法流程图;
图 12为本发明实施例十、 十二的节点设备的结构框图;
图 13为本发明实施例十一的节点设备的结构框图;
图 14为本发明实施例十三的节点设备的结构框图;
图 15为本发明实施例十四的节点设备的结构框图;
图 16为本发明实施例十五的节点设备的结构框图;
图 17为本发明实施例十六、 十七、 十八、 十九、 二十、 二十一的时间同 步系统示意图。 具体实施方式
下面结合附图对本发明实施例一种时间同步的方法和系统及节点设备进 行进一步详细描述。
应当明确, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的 实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造性劳 动前提下所获得的所有其它实施例, 都属于本发明保护的范围。
载网络中, 初始状态下时间同步主节点与时间同步从节点之间的本地 时间并不同步。 本发明实施例, 一种时间同步方法的流程如图 la所示, 该方法包括以 下步骤:
步骤 SlOla, 第一节点在第一时间以第一工作波长发送第一时间 4艮文, 第 二节点在第二时间接收到第一时间 ^艮文;
步骤 S102a, 第一节点在第三时间以第二工作波长发送第二时间 ·^艮文, 第 二节点在第四时间接收到第二时间 ^艮文;
步骤 S103a, 根据第一时间、 第二时间、 第三时间、 第四时间、 以及第一 工作波长对应的第一信号传输速率和第二工作波长对应的第二信号传输速率 , 计算第二节点与第一节点间的绝对时间偏差;
步骤 S104a, 同步第二节点与第一节点的本地时间。 本发明又一实施例, 一种时间同步方法的流程如图 lb所示, 该方法包 括以下步骤:
步骤 SlOlb, 第一节点在第一时间以第一工作波长发送第一时间 4艮文, 第 二节点在第二时间接收到第一时间 ^艮文;
步骤 S102b, 第一节点在第三时间以第二工作波长发送第二时间 4艮文, 第 二节点在第四时间接收到第二时间 ^艮文;
步骤 S103b, 根据第一时间、 第二时间、 第三时间、 第四时间、 第一工作 波长对应的第一信号传输速率和第二工作波长对应的第二信号传输速率、 1588协议报文在第一节点至第二节点方向上传送时所采用波长的信号传输速 率、 以及通过 1588协议获得的第一节点与第二节点间的双向路径延时之和, 计算第二节点与第一节点间的时间同步误差;
步骤 S 104b , 同步第二节点与第一节点的本地时间。 本发明再一实施例, 一种时间同步方法的流程如图 lc所示, 该方法包 括以下步骤:
步骤 SlOlc , 第一节点在第一时间以第一工作波长发送第一时间 4艮文, 第 一时间 4艮文携带第一时间, 第二节点在第二时间接收到第一时间 4艮文, 继而 提取第一时间;
第一节点在第三时间以第二工作波长发送第二时间 ^艮文, 第二时间 4艮文 携带第三时间, 第二节点在第四时间接收到第二时间 ^艮文, 继而提取第三时 间;
步骤 S 102c , 第二节点在第五时间以第三工作波长发送第三时间 4艮文, 第 一节点在第六时间接收到第三时间 4艮文;
第二节点在第七时间以第四工作波长发送第四时间 4艮文, 第一节点在第 八时间接收到第四时间报文;
步骤 S103c, 第二节点根据第一时间、 第二时间、 第三时间、 第四时间、 第五时间、 第六时间、 第七时间、 第八时间、 第一工作波长对应的第一信号 传输速率和第二工作波长对应的第二信号传输速率、 第三工作波长对应的第 三信号传输速率和第四工作波长对应的第四信号传输速率、 1588协议 4艮文在 第一节点至第二节点方向上传送时所采用波长的信号传输速率、 以及 1588协 议报文在第二节点至第一节点方向上传送时所采用波长的信号传输速率, 计 算第二节点与第一节点间的时间同步误差;
步骤 S104c , 同步第一节点与第二节点的本地时间。 为便于下述实施例的理解, 下面列出在下述多个实施例中用到的符号含 Tl表示第一节点的本地时间;
T2表示第二节点的本地时间;
ΊΤ表示第一节点为从节点时, 与第二节点本地时间同步的本地时间; T2'表示第二节点为从节点时, 与第一节点本地时间同步的本地时间; Tl1588表示第一节点为从节点时, 1588协议时间同步后的本地时间; Τ21588表示第二节点为从节点时, 1588协议时间同步后的本地时间; 表示 1588协议报文在第一节点至第二节点方向上传送时所采用波长 的信号传输速率;
V24表示 1588协议报文在第二节点至第一节点方向上传送时所采用波长 的信号传输速率;
表示第一节点至第二节点方向的线路距离;
L24表示第二节点至第一节点方向的线路距离;
表示 1588协议报文在第一节点至第二节点方向的路径延时; d24表示 1588协议报文在第二节点至第一节点方向的路径延时;
D表示第一节点与第二节点间的双向路径延时之和, 即 与 (124之和; Offset表示第二节点与第一节点间的绝对时间偏差;
ΔΤ表示第二节点与第一节点间的时间同步误差。
在此需要说明的是, 在运行 1588协议的节点上, 和 V24为已知, 以 接收或发送 1588协议 ^艮文。 实施例一, 一种时间同步方法, 其方法流程如图 2所示, 第一节点为主节 点, 第二节点为从节点, 该方法具体包括以下步骤:
步骤 S201 , 第一节点以 为工作波长向第二节点发送第一时间报文。 本实施例中, 第一节点在本地时间为 tn时, 以 为工作波长向第二节点发 送第一时间 ·^艮文,该第一时间 4艮文携带艮文的发送时间 tn ,第二节点在本地时 间为 t12时接收到第一时间报文, 继而在第一时间报文中提取第一时间报文的 发送时间 tn
某一工作波长所对应的信号传输速率是确定的,工作波长为 的信号在线 路上的传输速率为 Vl, 则可以得到下述公式: ti2-tu = ^ + Offset (1) 步骤 S202 , 第一节点以 λ2为工作波长向第二节点发送第二时间 ·^艮文。 本实施例中, 第一节点在本地时间为 t21时, 以 λ2为工作波长向第二节点发 送第二时间报文, 该第二时间报文携带报文的发送时间 t21, 第二节点在本地 时间为 t22时接收到第二时间 4艮文, 继而在第二时间 4艮文中提取第二时间 4艮文 的发送时间 t21
某一工作波长所对应的信号传输速率是确定的,工作波长为 λ2的信号在线 路上的传输速率为 ν2, 则可以得到下述公式: t22-t2i = ― + Offset (2)
V2
步骤 S203 , 第二节点计算第二节点与第一节点间的绝对时间偏差。
本实施例中, 第二节点根据第一时间报文的发送时间 tn和第二时间报文 的发送时间 t21、 第一时间 4艮文的接收时间 t12和第二时间 4艮文的接收时间 t22、 第 一信号传输速率^和第二信号传输速率 v2, 并根据公式(1)、 (2)计算出第二 节点与第一节点间的绝对时间偏差 Offset:
Offset = (tl2"tll)xVl"(t22"t2l)xV2 (3) 步骤 S204, 第二节点根据绝对时间偏差, 将自身的本地时间同步到第一 节点的本地时间。
本实施例中, 第二节点根据计算得到的绝对时间偏差 Offset补偿其本地时 间, 将自身的本地时间同步到第一节点的本地时间。
同步后的第二节点本地时间为: T2' = T2 -Offset , 即第二节点将自身的 本地时间 T2减去绝对时间偏差 Offset,得到与第一节点本地时间同步的本地时 间 T2'。 实施例二, 一种时间同步方法, 其方法流程如图 3所示, 第一节点为从节 点, 第二节点为主节点, 该方法具体包括以下步骤:
本实施例中步骤 S301、 S302、 S303与实施例一中步骤 S201、 S202、 S203 的实施方法相类似, 此处不再赘述。
步骤 S304 , 第二节点向第一节点发送携带绝对时间偏差的第三时间报文。 本实施例中, 第二节点向第一节点发送第三时间报文, 第三时间报文携 带第二节点计算的第二节点与第一节点间的绝对时间偏差 Offset。 第三时间 4艮 文的格式及其承载于何种工作波长上, 本实施例不做限制。
步骤 S305 , 第一节点接收第三时间报文, 根据绝对时间偏差, 将自身的 本地时间同步到第二节点的本地时间。
第一节点接收到第二节点发送的第三时间报文, 继而提取第三时间报文 携带的绝对时间偏差 Offset, 根据该绝对时间偏差补偿其本地时间, 将自身的 本地时间同步到第一节点的本地时间。
同步后的第一节点本地时间为: T1' = T1 + Offset , 即第一节点将自身 的本地时间 T1加上绝对时间偏差 Offset,得到与第二节点本地时间同步的本地 时间 ΤΓ。 实施例三, 一种时间同步方法, 其方法流程如图 4所示, 第一节点为从节 点, 第二节点为主节点, 该方法具体包括以下步骤:
步骤 S401 , 第一节点以 为工作波长向第二节点发送第一时间报文。 本实施例中, 第一节点在本地时间为 tn时, 以 为工作波长向第二节点发 送第一时间 4艮文, 第二节点在本地时间为 t12时接收到第一时间 4艮文。
某一工作波长所对应的信号传输速率是确定的,工作波长为 的信号在线 路上的传输速率为 ^, 则可以得出与实施例一步骤 S201中相同的公式(1 )。
步骤 S402 , 第一节点以 λ2为工作波长向第二节点发送第二时间报文。 本实施例中, 第一节点在本地时间为 t21时, 以 λ2为工作波长向第二节点发 送第二时间 ^艮文, 第二节点在本地时间为 t22时接收到第二时间 ^艮文。
某一工作波长所对应的信号传输速率是确定的,工作波长为 λ2的信号在线 路上的传输速率为 v2, 则可以得出与实施例一步骤 S202中相同的公式(2 )。
步骤 S403 , 第二节点向第一节点发送携带第一报文接收时间和第二报文 接收时间的第四时间 4艮文。
本实施例中, 第二节点接收到第一时间 4艮文和第二时间 4艮文之后向第一 节点发送第四时间报文, 第四时间报文携带第一时间报文在第二节点的接收 时间 t12和第二时间 ^艮文在第二节点的接收时间 t22。第四时间 ^艮文的格式及其承 载于何种工作波长上, 本实施例不做限制。
步骤 S404, 第一节点接收第四时间报文, 计算第二节点与第一节点间的 绝对时间偏差。
本实施例中, 第一节点接收到第二节点发送的第四时间报文, 继而提取 第四时间 ^艮文携带的第一时间 ^艮文的接收时间 t12和第二时间 4艮文的接收时间 t22, 结合第一时间报文的发送时间 tn和第二时间报文的发送时间 t21、 第一信号 传输速率^和第二信号传输速率 v2, 根据公式(1 )、 (2 )计算出第二节点与第 一节点间的绝对时间偏差 Offset:
Offset = (tl2 " tll) x Vl " (t22 " t2l) x V2 ( 3 )
步骤 S405 , 第一节点根据绝对时间偏差, 将自身的本地时间同步到第二 节点的本地时间。
本实施例中, 第一节点根据计算得到的绝对时间偏差 Offset补偿其本地时 间, 将自身的本地时间同步到第二节点的本地时间。
同步后的第一节点本地时间为: T1' = T1 + Offset , 即第一节点将自身 的本地时间 T1加上绝对时间偏差 Offset,得到与第二节点本地时间同步的本地 时间 ΤΓ。 上述实施例一、 二、 三提供的技术方案, 不依赖于 1588协议, 通过在单 向路径的至少两个波长上发送时间 4艮文的方式, 完成主、 从节点间绝对时间 偏差的自动实时测量, 实现节点间的精确时间同步, 解决现有技术中由于双 向路径延时不一致带来的时间同步误差问题。 技术方案实现筒单, 测量准确 性高, 具备较好的可实施性。 实施例四, 一种时间同步方法, 结合 1588协议实现节点间时间同步。 其 方法流程如图 5所示, 第一节点为主节点, 第二节点为从节点。 该方法具体包 括以下步骤:
步骤 S501 , 第一节点以 为工作波长向第二节点发送第一时间报文。 本实施例中, 第一节点在本地时间为 tn时, 以 为工作波长向第二节点发 送第一时间 ·^艮文,该第一时间 4艮文携带 ·^艮文的发送时间 tn ,第二节点在本地时 间为 t12时接收到第一时间报文, 继而在第一时间报文中提取第一时间报文的 发送时间 tn
某一工作波长所对应的信号传输速率是确定的,工作波长为 的信号在线 路上的传输速率为 Vl, 则可以得到下述公式:
ti2 - tu + Offset ( 1 )
步骤 S502 , 第一节点以 λ2为工作波长向第二节点发送第二时间报文。 本实施例中, 第一节点在本地时间为 t21时, 以 λ2为工作波长向第二节点发 送第二时间报文, 该第二时间报文携带报文的发送时间 t21 , 第二节点在本地 时间为 t22时接收到第二时间 4艮文, 继而在第二时间 4艮文中提取第二时间 4艮文 的发送时间 t21
某一工作波长所对应的信号传输速率是确定的,工作波长为 λ2的信号在线 路上的传输速率为 ν2, 则可以得到下述公式: 步骤 S503 , 第二节点获得双向路径延时之和, 计算第二节点与第一节点 间的时间同步误差。
1588协议基于的前提是收发双向的路径延时一致, 因此导致根据 1588协 议计算的单向路径延时和绝对时间偏差有误差, 但根据 1588协议计算能够得 到精确的双向路径延时之和。
本实施例中, 第二节点通过 1588协议得到精确的第一节点与第二节点间 的双向路径延时之和 D。
根据公式(1 )、 ( 2 ), 得到第一节点至第二节点间方向的线路距离 的 计算公式( 4 ):
T ((tl2 "til) - (t22 -t2l)) XVi X V2
Lx_2 = ^ ( 4 )
Z 2 -Vi
结合 1588协议 文在第一节点至第二节点方向上传送时所采用的信号传 输速率 V^, 得到 1588协议报文在第一节点至第二节点方向的路径延时 的 计算公式( 5 ):
d _ Lt_2 _ ((tiz -tii) - (t22 -tzi)) xvi xv2 ( 5 )
1- 2 Vl-2 (v2 -Vi) Vt_2
因此, 得到第二节点与第一节点间的时间同步误差 ΔΤ的计算公式(6 ): ΔΤ = Ί2' -了 2
Figure imgf000025_0001
第二节点根据第一时间 _t艮文的发送时间 tn和第二时间 4艮文的发送时间 t21、 第一时间报文的接收时间 t12和第二时间报文的接收时间 t22、 第一信号传输速 率 Vl和第二信号传输速率 v2、 1588协议获得的第一节点与第二节点间的双向 路径延时之和 D, 根据公式(6 )计算第二节点与第一节点间的时间同步误差 ΔΤ。
步骤 S504, 第二节点根据时间同步误差, 将自身的本地时间同步到第一 节点的本地时间。 第二节点通过 1588协议同步第二节点与第一节点的本地时间,由于 1588 协议以双向路径延时一致为前提, 因此同步后第二节点的本地时间与第一节 点的本地时间可能存在误差。
本实施例中, 第二节点根据计算得到的时间同步误差 ΔΤ修正通过 1588协 议同步后的自身本地时间, 将自身的本地时间精确同步到第一节点的本地时 间。
修正后的第二节点本地时间为: T2' = T21S88 + ΔΤ , 即第二节点将 1588 协议时间同步后的自身本地时间 T21588加上时间同步误差 ΔΤ, 得到与第一节 点本地时间精确同步的本地时间 T2'。 实施例五, 一种时间同步方法, 结合 1588协议实现节点间时间同步。 其 方法流程如图 6所示, 第一节点为从节点, 第二节点为主节点。 该方法具体包 括以下步骤:
本实施例中步骤 S601、 S602与实施例四中步骤 S501、 S502的实施方法相 类似, 此处不再赘述。
步骤 S603 , 第二节点获得双向路径延时之和, 计算第二节点与第一节点 间的时间同步误差。
本实施例中, 第二节点通过 1588协议得到精确的第一节点与第二节点间 的双向路径延时之和 D。
第二节点根据第一时间 _t艮文的发送时间 tn和第二时间 4艮文的发送时间 t21、 第一时间报文的接收时间 t12和第二时间报文的接收时间 t22、 第一信号传输速 率 Vl和第二信号传输速率 v2、 1588协议获得的第一节点与第二节点间的双向 路径延时之和 D, 根据实施例四中的公式(6 )得到第二节点与第一节点间的 时间同步误差 ΔΤ:
ΔΤ = d 2 - = - (ά2_χ - = - (ΤΙ' - T1進) _ ((ti2 -in) - (t22 -t2i)) xv i 2 D .
(v2 -v X Vt_2 2 ,
步骤 S604 , 第二节点向第一节点发送携带时间同步误差的第五时间报文。 本实施例中, 第二节点向第一节点发送第五时间 4艮文, 第五时间 4艮文携 带第二节点计算的第二节点与第一节点间的时间同步误差 ΔΤ。 第五时间报文 的格式及其承载于何种工作波长上, 本实施例不做限制。
步骤 S605 , 第一节点接收第五时间报文, 根据时间同步误差, 将自身的 本地时间同步到第二节点的本地时间。
第一节点通过 1588协议同步第二节点与第一节点的本地时间, 由于 1588 协议以双向路径延时一致为前提, 因此同步后第一节点的本地时间与第二节 点的本地时间可能存在误差。
本实施例中, 第一节点接收到第二节点发送的第五时间报文, 继而提取 第五时间报文携带的时间同步误差 ΔΤ, 根据该时间同步误差修正通过 1588协 议同步后的自身本地时间, 将自身的本地时间精确同步到第二节点的本地时 间。
修正后的第一节点本地时间为: T1' = T11S88— ΔΤ , 即第一节点将 1588 协议时间同步后的自身本地时间 Tl1588减去时间同步误差 ΔΤ, 得到与第二节 点本地时间精确同步的本地时间 T1 '。 实施例六, 一种时间同步方法, 结合 1588协议实现节点间时间同步。 其 方法流程如图 7所示, 第一节点为从节点, 第二节点为主节点。 该方法具体包 括以下步骤:
本实施例中步骤 S701、 S702与实施例四中步骤 S501、 S502的实施方法相 类似, 此处不再赘述。
步骤 S703 , 第二节点向第一节点发送携带第一节点至第二节点方向的线 路距离或者 1588协议 4艮文在第一节点至第二节点方向的路径延时的第六时间 报文。 本实施例中, 第二节点向第一节点发送第六时间报文, 该第六时间报 文携带第二节点计算的第一节点至第二节点方向的线路距离 Li_2; 或者该第六 时间报文携带第二节点计算的 1588协议报文在第一节点至第二节点方向的路 径延时 du。 第六时间报文的格式及其承载于何种工作波长上, 本实施例不做 限制。
第二节点可以根据第一时间报文接收时间 t12和第二时间报文接收时间 t22、 第一时间 ·^艮文的发送时间 tn和第二时间 ·^艮文的发送时间 t21、 第一信号传输速 率 Vl和第二信号传输速率 v2, 根据实施例四中的公式(4 )计算第一节点至第 二节点方向的线路距离 L :
T ((tl2 "til) - (t22 -t2 l)) XVi X V2
Lx_2 = ^ ( 4 )
Z 2 -Vi
或者, 第二节点可以根据第一时间报文接收时间 t12和第二时间报文接收 时间 t22、 第一时间 ·^艮文的发送时间 tn和第二时间 ·^艮文的发送时间 t21、 第一信 号传输速率 Vl和第二信号传输速率 v2、 1588协议报文在第一节点至第二节点 方向上传送时所采用的信号传输速率 Vw, 根据实施例四中的公式(5 )计算 第一节点至第二节点方向的路径延时 du: d _ Lt_2 _ ((tiz -tii) - (t22 -tzi )) xvi xv2 ( 5 )
1- 2 Vl-2 (v2 -Vi) Vt_2
步骤 S704, 第一节点获得双向路径延时之和, 计算第二节点与第一节点 间的时间同步误差。
本实施例中, 第二节点通过 1588协议得到精确的第一节点与第二节点间 的双向路径延时之和 D。
第一节点接收到第二节点发送的第六时间报文, 继而:
或者提取第六时间报文携带的第一节点至第二节点方向的线路距离 结合 1588协议 ·^艮文在第一节点至第二节点方向上传送时所采用的信号传输速 率 Vw、 1588协议获得的第一节点与第二节点间的双向路径延时之和 D, 根据 实施例四中的公式(6 )计算第二节点与第一节点间的时间同步误差 ΔΤ:
ΔΤ = 2 = - ίά2_! - ^) = - (ΤΙ'― T1進) =
2 丄 2/ 、 V 或者提取第六时间报文携带的 1588协议报文在第一节点至第二节点方向 的路径延时 du, 结合 1588协议获得的第一节点与第二节点间的双向路径延时 之和 D, 根据实施例四中的公式(6 )计算第二节点与第一节点间的时间同步 误差 ΔΤ:
ΔΤ = d 2 - = ~ (d2_! - ) = - (T1' - T1進) ;
步骤 S705, 第一节点根据时间同步误差, 将自身的本地时间同步到第二 节点的本地时间。
本实施例中, 第一节点根据时间同步误差修正通过 1588协议同步后的自 身本地时间, 将自身的本地时间精确同步到第二节点的本地时间。
修正后的第一节点本地时间为: Tl' = T11S88— ΔΤ , 即第一节点将 1588 协议时间同步后的自身本地时间 Tl1588减去时间同步误差 ΔΤ,得到与第二节点 本地时间精确同步的本地时间 T1 '。 实施例七, 一种时间同步方法, 结合 1588协议实现节点间时间同步。 其 方法流程如图 8所示, 第一节点为从节点, 第二节点为主节点。 该方法具体包 括以下步骤:
步骤 S801 , 第一节点以 为信号波长向第二节点发送第一时间报文。 本实施例中, 第一节点在本地时间为 tn时, 以 为信号波长向第二节点发 送第一时间 ^艮文, 第二节点在本地时间 t12时接收到第一时间 4艮文。
某一工作波长所对应的信号传输速率是确定的,工作波长为 的信号在线 路上的传输速率为 Vl
步骤 S802, 第一节点以 λ2为信号波长向第二节点发送第二时间报文。 本实施例中, 第一节点在本地时间为 t21时, 以 λ2为信号波长向第二节点发 送第二时间 ^艮文, 第二节点在本地时间为 t22时接收到第二时间 4艮文。
某一工作波长所对应的信号传输速率是确定的,工作波长为 λ2的信号在线 路上的传输速率为 ν2。 步骤 S803 , 第二节点向第一节点发送携带第一报文接收时间和第二报文 接收时间的第七时间 4艮文。
本实施例中, 第二节点向第一节点发送第七时间 4艮文, 该第七时间 4艮文 携带第一时间报文在第二节点的接收时间 t12和第二时间报文在第二节点的接 收时间 t22。 第七时间 4艮文的格式及其承载于何种工作波长上, 本实施例不做 限制。
步骤 S804, 第一节点获得双向路径延时之和, 计算第二节点与第一节点 间的时间同步误差。
本实施例中, 第二节点通过 1588协议得到精确的第一节点与第二节点间 的双向路径延时之和 D。
第一节点接收到第二节点发送第七时间报文, 继而提取第七时间报文携 带的第一时间 4艮文的接收时间 t12和第二时间 4艮文的接收时间 t22 ,结合第一时间 报文的发送时间 tn和第二时间报文的发送时间 t21、第一信号传输速率 ^和第二 信号传输速率 v2、 1588协议报文在第一节点至第二节点方向上传送时所使用波 长的信号传输速率 V^ 1588协议获得的第一节点与第二节点间的双向路径延 时之和 D, 根据实施例四中的公式(6 )计算第二节点与第一节点间的时间同 步误差 ΔΤ:
ΔΤ = d _2 - = - (d2_ - ) = - (ΤΪ - Tl進)
_ L!_2 D _ ((tl2 -til) - (t22 -t2l)) XVl ^2 D .
― Vt_2 2 ― (v2 -Vi) x Vt_2 2 ,
步骤 S805 , 第一节点根据时间同步误差, 将自身的本地时间同步到第二 节点的本地时间。
本实施例中步骤 S805与实施例六中步骤 S705的实施方法相类似, 此处不 再赘述。 上述实施例四、 五、 六、 七中提及的 1588协议, 其具体实现过程遵循现 有 1588协议, 实施例中不再赘述。
上述实施例四、 五、 六、 七提供的技术方案, 结合 1588协议, 通过在单 向路径的至少两个波长上发送时间报文的方式, 完成 1588时间同步误差的自 动实时测量,修正 1588时间同步后的本地时间,实现节点间的精确时间同步, 解决现有技术中由于双向路径延时不一致带来的时间同步误差问题, 避免时 间同步网络部署过程中需要人工测量并设置时间同步误差。 技术方案实现筒 单, 测量准确性高, 具备较好的可实施性。
除上述实施例四、 五、 六、 七外, 还可能有其它实施例, 例如: 第一节 点为主节点, 第二节点为从节点, 第一节点分别以 和 2为信号波长向第二节 点发送第一时间报文和第二时间报文, 第一节点将其获得第一节点与第二节 点间的双向路径延时之和 D通过时间报文发送给第二节点,第二节点计算第二 节点与第一节点间的时间同步误差 ΔΤ , 继而第二节点根据时间同步误差修正 通过 1588协议同步后的自身本地时间, 得到与第一节点本地时间精确同步的 本地时间; 第一节点为从节点, 第二节点为主节点, 第一节点分别以 和 2 为信号波长向第二节点发送第一时间报文和第二时间报文, 第二节点将其获 得第一节点与第二节点间的双向路径延时之和 D通过时间报文发送给第一节 点, 第一节点计算第二节点与第一节点间的时间同步误差 ΔΤ, 继而第一节点 根据时间同步误差修正通过 1588协议同步后的自身本地时间, 得到与第二节 点本地时间精确同步的本地时间。
上述例举的两个实施例, 以及本领域普通技术人员在没有作出创造性劳 动前提下均可获得的其它未例举的实施例, 也都属于本发明保护的范围, 此 处不再——赘述。 实施例八, 一种时间同步方法, 结合 1588协议实现节点间时间同步。 其 方法流程如图 10所示, 并结合图 9所示, 第一节点为主节点, 第二节点为从节 点。 该方法具体包括以下步骤: 步骤 S1001 ,第一节点以 为工作波长向第二节点发送第一时间 4艮文,以 λ2 为工作波长向第二节点发送第二时间报文;第二节点以 λ3为工作波长向第一节 点发送第三时间 4艮文, 以 λ4为工作波长向第一节点发送第四时间 4艮文。
本实施例中, 第一节点在本地时间为 tn时, 以 为工作波长向第二节点发 送第一时间 ·^艮文,该第一时间 4艮文携带艮文的发送时间 tn ,第二节点在本地时 间为 t12时接收到第一时间报文, 继而在第一时间报文中提取第一时间报文的 发送时间 tn ;
第一节点在本地时间为 t21时,以 λ2为工作波长向第二节点发送第二时间 4艮 文,该第二时间报文携带报文的发送时间 t21 ,第二节点在本地时间为 t22时接收 到第二时间报文, 继而在第二时间报文中提取第二时间报文的发送时间 t21; 第二节点在本地时间为 t31时,以 λ3为工作波长向第一节点发送第三时间 4艮 文,该第三时间报文携带报文的发送时间 t31 ,第一节点在本地时间为 t32时接收 到第三时间报文, 继而在第三时间报文中提取第三时间报文的发送时间 t31; 第二节点在本地时间为 t41时,以 λ4为工作波长向第一节点发送第四时间 4艮 文,该第四时间报文携带报文的发送时间 t41 ,第一节点在本地时间为 t42时接收 到第四时间报文, 继而在第四时间报文中提取第四时间报文的发送时间 t41
某一工作波长所对应的信号传输速率是确定的,工作波长为 的信号在线 路上的传输速率为 Vl; 工作波长为 λ2的信号在线路上的传输速率为 v2; 工作波 长为 λ3的信号在线路上的传输速率为 v3; 工作波长为 λ4的信号在线路上的传输 速率为 ν4, 则可以得到下述公式:
t32 - t3i = 1 - Offset ( 7 )
t42 - t41 = ^ - Offset ( 8 )
步骤 S1002, 第一节点向第二节点发送携带第二节点至第一节点方向的线 路距离或者 1588协议 4艮文在第二节点至第一节点方向的路径延时的第八时间 报文。 本实施例中, 第一节点向第二节点发送第八时间 ^艮文, 该第八时间 4艮文 携带第一节点计算的第二节点至第一节点方向的线路距离 L^ , 或者携带第一 节点计算的 1588协议报文在第一节点至第二节点方向的路径延时 d24。 第八时 间报文的格式及其承载于何种工作波长上, 本实施例不做限制。
第二节点至第一节点方向的线路距离 L24可以由第一节点根据第三时间 艮文的发送时间 t31和第四时间 4艮文的发送时间 t41、第三时间 4艮文的接收时间 t32 和第四时间报文的接收时间 t42、 第三信号传输速率 v3和第四信号传输速率 v4 , 并根据公式(7 ) 、 ( 8 )计算:
_ (fez - t3i) - (t42 ~t4i)) xv3 x v4 ( .
v4 -v3
1588协议 4艮文在第一节点至第二节点方向的路径延时 d24可以由第一节点 根据第三时间 4艮文的发送时间 t31和第四时间 ·^艮文的发送时间 t41、第三时间 4艮文 的接收时间 t32和第四时间报文的接收时间 t42、第三信号传输速率 v3和第四信号 传输速率 v4、 1588协议 ·^艮文在第二节点至第一节点方向上传送时所采用波长的 信号传输速率 V24 , 并根据公式(9 )计算:
Figure imgf000033_0001
步骤 S1003 , 第二节点接收第八时间报文, 计算第二节点与第一节点间的 时间同步误差。
本实施例中, 第二节点接收到第一节点发送的第八时间报文, 继而: 或者提取第八时间报文携带的第二节点至第一节点方向的线路距离 , 结合第一时间报文的接收时间 t12和第二时间报文的接收时间 t22、第一时间报文 的发送时间 tn和第二时间报文的发送时间 t21、第一信号传输速率^和第二信号 传输速率 v2、 1588协议 ·^艮文在第一节点至第二节点方向上传送时所采用波长的 信号传输速率 Vw、 1588协议 ·^艮文在第二节点至第一节点方向上传送时所采用 波长的信号传输速率 V24 , 以及实施例四中的公式(4 )计算第二节点与第一 节点间的时间同步误差 ΔΤ: ΔΤ = T2' - Τ2
Figure imgf000034_0001
或者提取第八时间报文携带的 1588协议报文在第二节点至第一节点方向 的路径延时 , 结合第一时间报文的接收时间 t12和第二时间报文的接收时间 t22、 第一时间报文的发送时间 tn和第二时间报文的发送时间 t21、 第一信号传输 速率 Vl和第二信号传输速率 v2、 1588协议 ·^艮文在第一节点至第二节点方向上传 送时所采用波长的信号传输速率 Vw, 以及实施例四中的公式(4 )计算第二 节点与第一节点间的时间同步误差 ΔΤ:
Figure imgf000034_0002
步骤 S1004, 第二节点根据时间同步误差,将自身的本地时间同步到第一 节点的本地时间。
本实施例中, 第二节点根据时间同步误差修正通过 1588协议同步后的自 身本地时间, 将自身的本地时间精确同步到第一节点的本地时间。
修正后的第二节点本地时间为: T2' = T21S88 + ΔΤ , 即第二节点将 1588 协议时间同步后的自身本地时间 T21588加上时间同步误差 ΔΤ,得到与第一节点 本地时间精确同步的本地时间 T2'。 实施例九, 一种时间同步方法, 结合 1588协议实现节点间时间同步。 其 方法流程如图 11所示, 并结合图 9所示, 第一节点为主节点, 第二节点为从节 点。 该方法具体包括以下步骤:
步骤 S1101 , 第一节点以 为工作波长向第二节点发送第一时间 ·^艮文, 以 λ2为工作波长向第二节点发送第二时间 ^艮文; 第二节点以 λ3为工作波长向 第一节点发送第三时间 4艮文,以 λ4为工作波长向第一节点发送第四时间 4艮文。
本实施例中, 第一节点在本地时间为 tn时, 以 为工作波长向第二节点发 送第一时间 ·^艮文,该第一时间 4艮文携带艮文的发送时间 tn ,第二节点在本地时 间为 t12时接收到第一时间报文, 继而在第一时间报文中提取第一时间报文的 发送时间 tn ;
第一节点在本地时间为 t21时,以 λ2为工作波长向第二节点发送第二时间 4艮 文,该第二时间报文携带报文的发送时间 t21 ,第二节点在本地时间为 t22时接收 到第二时间报文, 继而在第二时间报文中提取第二时间报文的发送时间 t21; 第二节点在本地时间为 t31时,以 λ3为工作波长向第一节点发送第三时间 4艮 文, 第一节点在本地时间为 t32时接收到第三时间 4艮文;
第二节点在本地时间为 t41时,以 λ4为工作波长向第一节点发送第四时间 4艮 文, 第一节点在本地时间为 t42时接收到第四时间 4艮文。
某一工作波长所对应的信号传输速率是确定的,工作波长为 的信号在线 路上的传输速率为 Vl; 工作波长为 λ2的信号在线路上的传输速率为 v2; 工作波 长为 λ3的信号在线路上的传输速率为 v3; 工作波长为 λ4的信号在线路上的传输 速率为 ν4
步骤 S1102, 第一节点向第二节点发送携带第三时间报文的接收时间和第 四时间报文的接收时间的第九时间报文。
本实施例中, 第一节点向第二节点发送第九时间 ·^艮文, 该第九时间 4艮文 携带第三时间 ^艮文在第一节点的接收时间 t32和第四时间 4艮文在第一节点的接 时间 t42
步骤 S1103 , 第二节点接收第九时间报文, 计算第二节点与第一节点间的 时间同步误差。
本实施例中, 第二节点接收到第一节点发送的第九时间报文, 提取第九 时间报文携带的第三时间报文的接收时间 t32和第四时间报文的接收时间 t42 ,结 合第一时间报文的接收时间 t12和第二时间报文的接收时间 t22、第一时间报文的 发送时间 tn和第二时间 4艮文的发送时间 t21、第三时间 4艮文的发送时间 t31和第四 时间报文的发送时间 t41、 第一信号传输速率 Vl和第二信号传输速率 v2、 第三信 号传输速率 v3和第四信号传输速率 v4、 1588协议 ·^艮文在第一节点至第二节点方 向上传送时所采用波长的信号传输速率 Vu、 1588协议报文在第二节点至第一 节点方向上传送时所采用波长的信号传输速率 V24 ,根据实施例四中的公式( 4 ) 和实施例八中的公式(9 )计算第二节点与第一节点间的时间同步误差 ΔΤ:
ΔΤ = T2' - T21588 = d1_2 - ^ = dl-2 -d2-1
Li-
2 XV, _2 2 XV
_ ((tiz -tii) - (t22 -tzi)) x vi xv2 _ (fez - t3i) - (t42 - t4i)) x v3 xv4 ( 1 3 )
2 x (v2— ν]_) xVt_2 2 x (v4 -V3) XV2_! 步骤 S1104, 第二节点根据时间同步误差,将自身的本地时间同步到第一 节点的本地时间。
本实施例中步骤 S1104与实施例八中步骤 S1004的实施方法相类似, 此处 不再赘述。 上述实施例八、 九中提及的 1588协议, 其具体实现过程遵循现有 1588协 议, 实施例中不再赘述。
上述实施例八、 九提供的技术方案, 结合 1588协议, 通过在双向路径每 个方向的至少两个波长上发送时间 4艮文的方式, 完成 1588时间同步误差的自 动实时测量,修正 1588时间同步后的本地时间,实现节点间的精确时间同步, 解决现有技术中由于双向路径延时不一致带来的时间同步误差问题, 避免时 间同步网络部署过程中需要人工测量并设置时间同步误差。 本发明的技术方 案实现筒单, 测量准确性高, 具备较好的可实施性。
除上述实施例八、 九外, 还可能有其它实施例, 例如: 第一节点为主节 点, 第二节点为从节点, 第一节点以 和 2为工作波长分别向第二节点发送第 一时间 ^艮文和第二时间 4艮文, 第二节点以 λ3和 λ4为工作波长分别向第二节点发 送第三时间 ·^艮文和第四时间 4艮文。 可选地, 第一节点将其计算的第二节点与 第一节点间的时间同步误差 ΔΤ通过时间 ·^艮文发送给第二节点, 第二节点根据 时间同步误差修正通过 1588协议同步后的自身本地时间, 得到与第一节点本 地时间精确同步的本地时间; 还可选地, 第二节点将其计算第二节点至第一 节点方向的线路距离 或者 1588协议报文在第二节点至第一节点方向的路 径延时 通过时间报文发送给第一节点, 第一节点计算第二节点与第一节点 间的时间同步误差 ΔΤ, 通过时间 ·^艮文将时间同步误差 ΔΤ发送给第二节点, 第 二节点根据时间同步误差修正通过 1588协议同步后的自身本地时间, 得到与 第一节点本地时间精确同步的本地时间。
上述例举的两个实施例, 以及本领域普通技术人员在没有作出创造性劳 动前提下均可获得的其它未例举的实施例, 都属于本发明保护的范围, 此处 不再——赘述。 上述实施例一至九中, 可采用波长可调谐光模块实现工作波长的动态调 节, 实现在线路上以不同波长发送报文。
某波长信号在单位长度光纤引入的延时系数 K, 为相应波长信号在光纤 中的传输速率 V的倒数, 即 K = -„ 因此上述实施例一至九中出现的传输速率
V
V (包括: 波长为 的信号在线路上的传输速率 Vl, 波长为 λ2的信号在线路 上的传输速率 ν2 , 波长为 λ3的信号在线路上的传输速率 ν3 , 波长为 λ4的信号 在线路上的传输速率 ν4; 1588协议报文在第一节点至第二节点方向上传送时 所采用波长的信号传输速率 Vw, 1588协议报文在第二节点至第一节点方向 上传送时所采用波长的信号传输速率 V24 ), 可以由相应的单位长度光纤引入 的延时系数 K的倒数代替, 用以计算绝对时间偏差或时间同步误差, 以完成 节点间的精确时间同步。
为了更精确的获取主从节点之间的绝对时间偏差或时间同步误差, 减少 测量误差, 在上述实施例一至九中可以设定线路工作在多个波长模式下进行 测量,从而得到多个测量结果: Offset^ Offset2、 0ffset3...0ffsetn或 AT\、 ΔΤ2、 ΔΤ3...ΔΤη, 并对 η (η> 1)个结果取平均值, 根据其平均值同步节点间的本地 时间。 实施例十, 一种节点设备, 如图 12所示, 包括:
线路处理模块 1201 , 用于接收第一节点以第一工作波长 发送的第一时 间 4艮文和第一节点以第二工作波长 λ2发送的第二时间 ^艮文;
报文处理模块 1202, 用于记录第一时间报文的接收时间 t12和第二时间报 文的接收时间 t22;
还用于解析第一时间报文和第二时间报文, 提取第一时间报文携带的第 一时间 4艮文的发送时间 tn和第二时间 4艮文携带的第二时间 ·^艮文的发送时间 t21; 时间计算模块 1203, 用于根据第一时间报文的发送时间 tn和第二时间报 文的发送时间 t21、第一时间 4艮文的接收时间 t12和第二时间 4艮文的接收时间 t22、 以及第一工作波长对应的第一信号传输速率 Vi和第二工作波长对应的第二信 号传输速率 v2, 采用下述公式(3), 计算自身与第一节点间的绝对时间偏差 Offset:
Offset = (tl2"tll)xVl"(t22"t2l)xV2 (3)
本地时间模块 1204,用于向报文处理模块 1202提供第一时间报文的接收 时间 t12和第二时间报文的接收时间 t22; 还用于将自身的本地时间减去时间计 算模块 1203计算的绝对时间偏差,得到与第一节点本地时间同步的本地时间。 实施例十一, 一种节点设备, 如图 13所示, 包括:
线路处理模块 1301, 用于以第一工作波长 向第二节点发送第一时间报 文; 以第二工作波长 λ2向第二节点发送第二时间 ·^艮文;
还用于接收第二节点发送的第三时间报文; 报文处理模块 1302, 用于封装第一时间报文和第二时间报文, 第一时间 报文携带第一时间报文的发送时间 tn , 第二时间报文携带所述第二时间报文 的发送时间 t21
还用于解析第三时间报文, 提取第三时间报文携带的自身与第二节点间 的绝对时间偏差 Offset;
绝对时间偏差 Offset由第二节点根据第一时间报文的发送时间 tn和第二 时间报文的发送时间 t21、 第一时间报文的接收时间 t12和第二时间报文的接收 时间 t22、 以及第一工作波长对应的第一信号传输速率 和第二工作波长对应 的第二信号传输速率 v2, 采用下述公式(3 )计算获得:
Offset = (tl2 " tll) x Vl " (t22 " t2l) x V2 ( 3 )
本地时间模块 1303 ,用于向报文处理模块 1302提供第一时间报文的发送 时间 tn和第二时间 ·^艮文的发送时间 t21; 还用于将自身的本地时间加上 ·^艮文处 理模块 1302提取的绝对时间偏差 Offset, 得到与所述第二节点本地时间同步 的本地时间。 实施例十二, 一种节点设备, 如图 12所示, 包括:
线路处理模块 1201 , 用于以第一工作波长 向第二节点发送第一时间 4艮 文, 以第二工作波长 λ2向第二节点发送第二时间 ·^艮文;
还用于接收第二节点发送的第四时间报文;
报文处理模块 1202, 用于封装第一时间报文和第二时间报文, 记录第一 时间 ·^艮文的发送时间 tn和第二时间 ·^艮文的发送时间 t21
还用于解析第四时间报文, 提取第四时间报文携带的第一时间报文的接 收时间 t12和第二时间 4艮文的接收时间 t22;
时间计算模块 1203 , 用于根据第一时间报文的发送时间 tn和第二时间报 文的发送时间 t21、第一时间 4艮文的接收时间 t12和第二时间 4艮文的接收时间 t22、 以及第一工作波长对应的第一信号传输速率 Vi和第二工作波长对应的第二信 号传输速率 v2, 采用下述公式(3 ), 计算自身与第二节点间的绝对时间偏差 Offset:
Offset = (tl2 " tll) x Vl " (t22 " t2l) x V2 ( 3 )
本地时间模块 1204,用于向报文处理模块 1202提供所述第一时间报文的 发送时间 tn和第二时间 4艮文的发送时间 t21
还用于将自身的本地时间加上时间计算模块 1203 计算的绝对时间偏差 Offset, 得到与第二节点本地时间同步的本地时间。 实施例十三, 一种节点设备, 如图 14所示, 包括:
线路处理模块 1401 , 用于接收第一节点以第一工作波长 发送的第一时 间 4艮文和第一节点以第二工作波长 λ2发送的第二时间 ^艮文;
报文处理模块 1402, 用于记录第一时间报文的接收时间 t12和第二时间报 文的接收时间 t22;
还用于解析第一时间报文和第二时间报文, 提取第一时间报文携带的第 一时间 4艮文的发送时间 tn和第二时间 4艮文携带的第二时间 ·^艮文的发送时间 t21
1588协议模块 1405 , 用于执行 1588协议, 获得第一节点与第二节点间 的双向路径延时之和 D; 还用于通过 1588协议将自身的本地时间同步到第一 节点的本地时间;
时间计算模块 1403 , 用于根据第一时间报文的发送时间 tn和第二时间报 文的发送时间 t21、第一时间 4艮文的接收时间 t12和第二时间 4艮文的接收时间 t22、 以及第一工作波长对应的第一信号传输速率 和第二工作波长对应的第二信 号传输速率 v2、 1588协议报文在第一节点至第二节点方向上传送时所采用的 信号传输速率 Vw、以及 1588协议模块 1405获得的第一节点与第二节点间的 双向路径延时之和 D, 根据实施例四中的公式(6 )计算第二节点与第一节点 间的时间同步误差 ΔΤ: Α ΓΤ , D LT _2 D ((ti2 -til) - (t22 -t2i)) x i xv2 D △T = d-,_2 - - = - —— = ;
丄 2 Vt_2 2 (v2 -Vl) X Vt_2 2 本地时间模块 1404,用于向报文处理模块 1402提供第一时间报文的接收 时间 t12和第二时间 4艮文的接收时间 t22;
还用于向 1588协议模块 1405提供本地时间;
还用于将 1588协议时间同步后的自身本地时间加上时间计算模块 1403 计算的时间同步误差 ΔΤ, 修正通过 1588协议同步后的本地时间。 实施例十四, 一种节点设备, 如图 15所示, 包括:
线路处理模块 1501 , 用于以第一工作波长 向第二节点发送第一时间报 文, 以第二工作波长 λ2向第二节点发送第二时间 ·^艮文;
还用于接收第二节点发送的第六时间报文;
报文处理模块 1502, 用于封装第一时间报文和第二时间报文, 第一时间 报文携带第一时间报文的发送时间 tn , 第二时间报文携带第二时间报文的发 送时间 t21
还用于解析第六时间报文, 提取第六时间报文携带的第二节点计算的第 一节点至第二节点方向的线路距离 或者 1588协议报文在第一节点至第二 节点方向的路径延时 d^;
第一节点至第二节点方向的线路距离 由第二节点根据第一时间报文 的发送时间 tn和第二时间 4艮文的发送时间 t21、 第一时间 4艮文的接收时间 t12 和第二时间报文的接收时间 t22、 以及第一工作波长对应的第一信号传输速率 V!和第二工作波长对应的第二信号传输速率 v2 ,采用下述公式( 4 )计算获得:
Figure imgf000041_0001
1588协议报文在第一节点至第二节点方向的路径延时 由第二节点根据 第一时间报文的发送时间 tu和第二时间报文的发送时间 t21、第一时间报文的接 收时间 t12和第二时间报文的接收时间 t22、第一工作波长对应的第一信号传输速 率¥1和第二工作波长对应的第二信号传输速率 v2、 以及 1588协议 4艮文在第一节 点至第二节点方向上传送时所采用的信号传输速率 ^, 采用下述公式( 5 ) 计算获得:
d _ Lt_2 _ ((tiz -tii) - (t22 -tzi)) xvi xv2 ( 5 )
1_ 2 Vl-2 (V2 -Vt) X Vt_2
1588协议模块 1505 , 用于执行 1588协议, 获得第一节点与第二节点间的 双向路径延时之和 D;
还用于通过 1588协议将自身的本地时间同步到所述第二节点的本地时间; 时间计算模块 1503 ,
或者用于根据第一节点至第二节点方向的线路距离 Lw、 1588协议报文 在第一节点至第二节点方向上传送时所采用波长的信号传输速率 Vw、 以及 1588协议模块获得的第一节点与第二节点间的双向路径延时之和 D, 根据实 施例四中的公式(6 )计算第二节点与第一节点间的时间同步误差 ΔΤ:
或者用于根据 1588协议报文在第一节点至第二节点方向的路径延时 du 以及 1588协议模块 1505获得的第一节点与第二节点间的双向路径延时之和 D , 根据实施例四中的公式(6 )计算第二节点与所述第一节点间的时间同步误差 ΔΤ: 丄 / 2
本地时间模块 1504,用于向报文处理模块 1502提供第一时间报文的发送 时间 tn和第二时间 4艮文的发送时间 t21
还用于向 1588协议模块 1505提供本地时间;
还用于将 1588协议时间同步后的自身本地时间减去时间计算模块计算的 时间同步误差 ΔΤ, 修正通过 1588协议同步后的本地时间。 实施例十五, 一种节点设备, 如图 16所示, 包括: 线路处理模块 1601 : 用于接收第一节点以第一工作波长 发送的第一时 间 4艮文和第一节点以第二工作波长 λ2发送的第二时间 ^艮文;
还用于以第三工作波长 λ3向第一节点发送第三时间 4艮文, 以第四工作波 长 λ4向第一节点发送第四时间 4艮文;
还用于接收第一节点发送的第八时间报文;
报文处理模块 1602: 用于记录第一时间报文的接收时间 t12和第二时间报 文的接收时间 t22; 还用于解析第一时间报文和第二时间报文, 提取第一时间 报文携带的第一时间报文的发送时间 tn和第二时间报文携带的第二时间报文 的发送时间 t21
还用于封装第三时间 4艮文和第四时间 4艮文, 第三时间 4艮文携带第三时间 艮文的发送时间 t31 , 第四时间 4艮文携带第四时间 ·^艮文的发送时间 t41
还用于解析第八时间报文, 提取第八时间报文携带的第一节点计算的 1588协议报文在第二节点至第一节点方向的路径延时 d24
1588协议报文在第二节点至第一节点方向的路径延时 d24由第一节点根 据第三时间 ·^艮文的发送时间 t31和第四时间 ·^艮文的发送时间 t41、 第三时间 4艮文 的接收时间 t32和第四时间 4艮文的接收时间 t42、 第三工作波长对应的第三信号 传输速率 v3和第四工作波长对应的第四信号传输速率 v4、以及 1588协议 4艮文 在第二节点至第一节点方向上传送时所采用的信号传输速率 V24 ,采用实施例 八中的公式(10 )计算获得:
Figure imgf000043_0001
1588协议模块 1605: 用于执行 1588协议, 通过 1588协议将自身的本地 时间同步到第一节点的本地时间。 时间计算模块 1603: 用于根据第一时间报文的发送时间 tn和第二时间报 文的发送时间 t21、第一时间 4艮文的接收时间 t12和第二时间 4艮文的接收时间 t22、 第一工作波长对应的第一信号传输速率 Vl和第二工作波长对应的第二信号传 输速率 v2、 第一节点计算的 1588协议报文在第二节点至第一节点方向上的路 径延时 d24、 1588协议报文在第一节点至第二节点方向上传送时所采用波长的 信号传输速率 Vw, 根据实施例八中的公式( 12 )计算自身与第一节点间的时 间同步误差 ΔΤ:
ΔΤ = T2' - T2進 = ά,_2 - = dl- 2 2_d2- 1
Li_2 d2_i
2XV!_2 2
((tiz -tii) - (t22 -t2i)) x Vi x 2 d
( 12 )
2 x (v2 -vt) x t-2 2
本地时间模块 1604:用于向报文处理模块 1602提供第一时间报文的接收 时间 t12、 第二时间 4艮文的接收时间 t22、 第三时间 4艮文的发送时间 t31和第四时 间报文的发送时间 t41
还用于提供所述 1588协议模块 1605提供本地时间;
还用于将 1588协议时间同步后的自身本地时间加上时间计算模块 1603 计算的时间同步误差 ΔΤ, 修正通过 1588协议同步后的本地时间。 下面结合图 17, 对本发明用于时间同步系统进行说明, 为筒化描述, 下 述实施例中将第一节点设备 1701筒称为第一节点 1701 ,将第二节点设备 1702 筒称为第二节点 1702。 实施例十六, 一种时间同步系统, 至少包括两个节点设备, 其中: 第一节点 1701 , 包括:
线路处理模块,用于以第一工作波长 向第二节点 1702发送第一时间 4艮 文和以第二工作波长 λ2向第二节点 1702发送第二时间 ^艮文;
报文处理模块, 用于封装第一时间报文和第二时间报文, 第一时间报文 携带第一时间 ^艮文的发送时间 tn , 第二时间 ·^艮文携带第二时间 ·^艮文的发送时 间 t21; 本地时间模块, 用于向报文处理模块提供第一时间报文的发送时间 tn和 第二时间 ·^艮文的发送时间 t21
第二节点 1702, 包括: 线路处理模块、 报文处理模块、 时间计算模块、 本地时间模块, 具体内容参见实施例十的线路处理模块 1201、 报文处理模块 1202、 时间计算模块 1203、 本地时间模块 1204, 此处不再赘述。 实施例十七, 一种时间同步系统, 至少包括两个节点设备, 其中: 第一节点 1701 , 包括: 线路处理模块、 报文处理模块、 本地时间模块, 具体内容参见实施例十一的线路处理模块 1301、 报文处理模块 1302、 本地时 间模块 1303 , 此处不再赘述。
第二节点 1702, 包括:
线路处理模块,用于接收第一节点 1701以第一工作波长 发送的第一时间 报文和第一节点 1701以第二工作波长 λ2发送的第二时间报文;还用于向第一节 点 1701发送第三时间报文;
报文处理模块, 用于记录第一时间报文的接收时间 t12和第二时间报文的 接收时间 t22; 还用于解析第一时间报文和第二时间报文, 提取第一时间报文 携带的第一时间 ^艮文的发送时间 tu和第二时间 4艮文携带的第二时间 4艮文的发 送时间 t21;还用于封装第三时间报文,第三时间报文携带绝对时间偏差 Offset; 时间计算模块, 用于根据第一时间报文的发送时间 tu和第二时间报文的 发送时间 t21、 第一时间 4艮文的接收时间 t12和第二时间 4艮文的接收时间 t22、 以及 第一工作波长对应的第一信号传输速率¥1和第二工作波长对应的第二信号传 输速率 v2, 采用下述公式(3 )计算第二节点 1702与第一节点 1701间的绝对时 间偏差 Offset:
Offset = (tl2 " tll) x Vl " (t22 " t2l) x V2 ( 3 )
本地时间模块, 用于向报文处理模块提供第一时间报文的接收时间 t12和 第二时间 4艮文的接收时间 t22。 实施例十八, 一种时间同步系统, 至少包括两个节点设备, 其中: 第一节点 1701 , 包括: 线路处理模块、 报文处理模块、 时间计算模块、 本地时间模块, 具体内容参见实施例十二的线路处理模块 1201、 报文处理模 块 1202、 时间计算模块 1203、 本地时间模块 1204, 此处不再赘述。
第二节点 1702, 包括:
线路处理模块 ,用于接收第一节点 1701以第一工作波长 发送的第一时间 报文和第一节点 1701以第二工作波长 λ2发送的第二时间报文;还用于向第一节 点 1701发送第四时间报文;
报文处理模块, 用于封装第四时间报文, 第四时间报文携带第一时间报 文的接收时间 t12和第二时间 4艮文的接收时间 t22;
本地时间模块, 用于向报文处理模块提供第一时间报文的接收时间 t12和 第二时间 4艮文的接收时间 t22。 实施例十九, 一种时间同步系统, 至少包括两个节点设备, 其中: 第一节点 1701 , 包括:
线路处理模块,用于以第一工作波长 向第二节点 1702发送第一时间报文, 以第二工作波长 λ2向第二节点 1702发送第二时间报文;
报文处理模块, 用于封装第一时间报文和第二时间报文, 第一时间报文 携带第一时间 ^艮文的发送时间 tu , 第二时间 4艮文携带第二时间 4艮文的发送时 间 t2i;
1588协议模块, 用于执行 1588协议, 通过 1588协议将第二节点 1702的本 地时间同步到第一节点 1701的本地时间;
本地时间模块, 用于向报文处理模块提供第一时间报文的发送时间 tn和 第二时间 ·^艮文的发送时间 t21; 还用于向 1588协议模块提供本地时间。
第二节点 1702, 包括: 线路处理模块、 报文处理模块、 1588协议模块、 时间计算模块、本地时间模块,具体内容参见实施例十三的线路处理模块 1401、 报文处理模块 1402、 1588协议模块 1405、 时间计算模块 1403、 本地时间模 块 1404, 此处不再赘述。 实施例二十, 一种时间同步系统, 至少包括两个节点设备, 其中: 第一节点 1701 , 包括: 线路处理模块、 报文处理模块、 1588协议模块、 时间计算模块、本地时间模块,具体内容参见实施例十四的线路处理模块 1501、 报文处理模块 1502、 1588协议模块 1505、 时间计算模块 1503、 本地时间模块 1504, 此处不再赘述。
第二节点 1702, 包括:
线路处理模块 ,用于接收第一节点 1701以第一工作波长 发送的第一时间 报文和第一节点 1701以第二工作波长 λ2发送的第二时间报文;
还用于向第一节点 1701发送第六时间 4艮文;
报文处理模块, 用于记录所述第一时间报文的接收时间 t12和所述第二时 间报文的接收时间 t22; 还用于解析第一时间报文和第二时间报文, 提取第一 时间 4艮文携带的第一时间 4艮文的发送时间 ^ i和第二时间 4艮文携带的第二时间 报文的发送时间 t21
还用于封装第六时间报文, 第六时间报文携带第一节点至第二节点方向 的线路距离 或者 1588协议报文在第一节点 1701至第二节点 1702方向的路 径延时 (^― 2
时间计算模块, 或者用于根据第一时间报文的发送时间 tu和第二时间报 文的发送时间 t21、 第一时间 4艮文的接收时间 t12和第二时间 4艮文的接收时间 t22、 以及第一工作波长对应的第一信号传输速率 Vi和第二工作波长对应的第二信 号传输速率 v2, 采用下述公式(4 )计算第一节点至第二节点方向的线路距离 —2 : 或者用于根据第一时间报文的发送时间 tn和第二时间报文的发送时间 t21、 第一时间报文的接收时间 t12和第二时间报文的接收时间 t22、 第一工作波长对 应的第一信号传输速率 Vl和第二工作波长对应的第二信号传输速率 v2、 以及 1588协议 ·^艮文在第一节点 1701至第二节点 1702方向上传送时所采用波长的 信号传输速率 Vw, 采用下述公式(5 )计算 1588协议报文在第一节点 1701 至第二节点 1702方向的路径延时 d : d _ Lt_2 _ ((tiz -tii) - (t22 -tzi)) xvi xv2 ( 5 )
1_ 2 Vl-2 (V2 -Vt) X Vt_2
1588协议模块, 用于执行 1588协议, 通过 1588协议将第一节点 1701的 本地时间同步到第二节点 1702的本地时间;
本地时间模块, 用于向报文处理模块提供第一时间报文的接收时间 t12和 第二时间报文的接收时间 t22; 还用于向 1588协议模块提供本地时间。 实施例二十一, 一种时间同步系统, 至少包括两个节点设备, 其中: 第一节点 1701 , 包括:
线路处理模块,用于以第一工作波长 向第二节点 1702发送第一时间报文, 以第二工作波长 λ2向第二节点 1702发送第二时间报文;
还用于接收第二节点 1702以第三工作波长 λ3发送的第三时间 ^艮文和第二 节点 1702以第四工作波长 λ4发送的第四时间报文;
还用于向第二节点 1702发送第八时间 4艮文;
报文处理模块, 用于封装第一时间报文和第二时间报文, 第一时间报文 携带第一时间 ^艮文的发送时间 tu , 第二时间 4艮文携带第二时间 4艮文的发送时 间 t2i;
还用于记录所述第三时间报文的接收时间 t32和所述第四时间报文的接收 时间 t42; 还用于解析第三时间报文和第四时间报文, 提取第三时间报文携带 的第三时间 4艮文的发送时间 t31和第四时间 4艮文携带的第四时间 4艮文的发送时 间 t4i; 还用于封装第八时间报文, 第八时间报文携带 1588协议报文在第二节点 1702至第一节点 1701方向上的路径延时 d24
时间计算模块, 用于根据第三时间报文的发送时间 t31和第四时间报文的 发送时间 t41、 第三时间 4艮文的接收时间 t32和第四时间 4艮文的接收时间 t42、 第三 工作波长对应的第三传送速率 v3和第四工作波长对应的第四传输速率 v4、以及 1588协议报文在第二节点 1702至第一节点 1701方向上传送时所采用波长的信 号传输速率 V24 , 采用下述公式(10 )计算 1588协议 ·^艮文在第二节点 1702至第 一节点 1701方向上的路径延时 d24:
Figure imgf000049_0001
1588协议模块, 用于执行 1588协议,通过 1588协议将第二节点 1702的 本地时间同步到第一节点 1701的本地时间;
本地时间模块, 用于向报文处理模块提供第一时间报文的发送时间 tn、 第二时间报文的发送时间 t21、 第三时间报文的接收时间 t32和第四时间报文的 接收时间 t42; 还用于向 1588协议模块提供本地时间。
第二节点 1702, 包括: 线路处理模块、 报文处理模块、 1588协议模块、 时间计算模块、本地时间模块,具体内容参见实施例十五的线路处理模块 1601、 报文处理模块 1602、 1588协议模块 1605、 时间计算模块 1603、 本地时间模 块 1604, 此处不再赘述。 采用本发明实施例提供的技术方案, 可以完成主、 从节点间的绝对时间 偏差或 1588时间同步误差的自动实时测量, 实现节点间的精确时间同步。 解 决现有技术中由于双向路径延时不一致带来的时间同步误差问题, 避免时间 同步网络部署过程中需要人工测量并设置双向线路距离和时间同步误差。 本 发明的技术方案实现筒单、 测量准确性高, 具备较好的可实施性。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤, 是可以通过程序来指令相关的硬件完成, 所述的程序可以存储于计算机可读 取存储介质中, 该程序在执行时, 可包括如上述各方法的实施例的流程。 所 述存储介质可以是 ROM/RAM, 磁盘或光盘等。
以上所述, 仅为本发明较佳的具体实施方式, 但本发明的保护范围并不 局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可 轻易想到的变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明 的保护范围应以权利要求的保护范围为准。

Claims

权利要求 书
1、 一种时间同步方法, 其特征在于, 该方法包括:
第一节点在第一时间以第一工作波长发送第一时间 4艮文, 第二节点在第二 时间接收到所述第一时间 4艮文;
所述第一节点在第三时间以第二工作波长发送第二时间 4艮文, 所述第二节 点在第四时间接收到所述第二时间 4艮文;
根据所述第一时间、 所述第二时间、 所述第三时间、 所述第四时间、 以及 所述第一工作波长对应的第一信号传输速率和所述第二工作波长对应的第二信 号传输速率, 计算所述第二节点与所述第一节点间的绝对时间偏差, 同步所述 第二节点与所述第一节点的本地时间。
2、 根据权利要求 1所述的方法, 其特征在于, 所述绝对时间偏差通过下述 公式菝得:
Offset = (^ - tiQ x vi - fez - x vz , 其中,
i - v2 '
Offset表示所述绝对时间偏差;
tn表示所述第一时间;
t12表示所述第二时间;
t21表示所述第三时间;
t22表示所述第四时间;
^表示所述第一信号传输速率;
V2表示所述第二信号传输速率。
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述方法还包括: 所述第二节点提取所述第一时间报文携带的所述第一时间和所述第二时间 报文携带的所述第三时间;
所述计算所述第二节点与所述第一节点间的绝对时间偏差, 同步所述第二 节点与所述第一节点的本地时间, 具体包括: 所述第二节点计算所述绝对时间 偏差, 将自身的本地时间减去所述绝对时间偏差, 得到与所述第一节点本地时 间同步的本地时间。
4、 根据权利要求 1或 2所述的方法, 其特征在于, 所述方法还包括: 所述第二节点提取所述第一时间 4艮文携带的所述第一时间和所述第二时间 报文携带的所述第三时间;
所述计算所述第二节点与所述第一节点间的绝对时间偏差, 同步所述第二 节点与所述第一节点的本地时间, 具体包括:
所述第二节点计算所述绝对时间偏差, 向所述第一节点发送携带所述绝对 时间偏差的第三时间 4艮文;
所述第一节点接收所述第三时间报文, 继而提取所述绝对时间偏差, 将自 身的本地时间加上所述绝对时间偏差, 得到与所述第二节点本地时间同步的本 地时间。
5、 根据权利要求 1或 2所述方法, 其特征在于, 所述第二节点在接收到所 述第一时间 4艮文和所述第二时间 4艮文之后, 所述方法还包括:
所述第一节点接收所述第二节点发送的第四时间 ^艮文, 继而提取所述第四 时间 4艮文携带的所述第二时间和所述第四时间;
所述计算所述第二节点与所述第一节点间的绝对时间偏差, 同步所述第二 节点与所述第一节点的本地时间, 具体包括: 所述第一节点计算所述绝对时间 偏差, 将自身的本地时间加上所述绝对时间偏差, 得到与所述第二节点本地时 间同步的本地时间。
6、 一种时间同步方法, 其特征在于, 该方法包括:
第一节点在第一时间以第一工作波长发送第一时间 4艮文, 第二节点在第二 时间接收到所述第一时间 4艮文;
所述第一节点在第三时间以第二工作波长发送第二时间 4艮文, 所述第二节 点在第四时间接收到所述第二时间 4艮文;
根据所述第一时间、 所述第二时间、 所述第三时间、 所述第四时间、 所述 第一工作波长对应的第一信号传输速率和所述第二工作波长对应的第二信号传 输速率、 1588协议 ·^艮文在所述第一节点至所述第二节点方向上传送时所采用波 长的信号传输速率、 以及通过 1588协议获得的所述第一节点与所述第二节点间 的双向路径延时之和, 计算所述第二节点与所述第一节点间的时间同步误差, 同步所述第二节点与所述第一节点的本地时间。
7、 根据权利要求 6所述的方法, 其特征在于, 所述时间同步误差通过下述 公式菝得:
ΔΤ = d 2 ― , 其中,
ΔΤ表示所述时间同步误差;
D表示所述双向路径延时之和;
表示所述 1588协议报文在所述第一节点至所述第二节点方向的路径延 时, 通过下述公式获得:
((tiz -tii) - (t22 -t2i)) xvi x 2
=
Figure imgf000053_0001
(:V2 -Vl:) X Vt_2 , 其中,
tn表示所述第一时间;
t12表示所述第二时间;
t21表示所述第三时间;
t22表示所述第四时间;
^表示所述第一信号传输速率;
v2表示所述第二信号传输速率;
表示所述第一节点至所述第二节点方向的线路距离; 表示所述 1588协议报文在所述第一节点至所述第二节点方向上传 送时所采用波长的信号传输速率。
8、 根据权利要求 6或 7所述的方法, 其特征在于, 所述方法还包括: 所述第二节点提取所述第一时间报文携带的所述第一时间和所述第二时间 报文携带的所述第三时间;
所述计算所述第二节点与所述第一节点间的时间同步误差, 同步所述第二 节点与所述第一节点的本地时间, 具体包括: 所述第二节点获得所述双向路径 延时之和, 计算所述时间同步误差, 将 1588协议时间同步后的自身本地时间加 上所述时间同步误差。
9、 根据权利要求 6或 7所述的方法, 其特征在于, 所述方法还包括: 所述第二节点提取所述第一时间 4艮文携带的所述第一时间和所述第二时间 报文携带的所述第三时间;
所述第一节点接收所述第二节点发送的第六时间报文, 继而提取所述第六 时间报文携带的所述第二节点计算的所述第一节点至所述第二节点方向的线路 距离或者所述 1588协议报文在所述第一节点至所述第二节点方向的路径延时; 所述计算所述第二节点与所述第一节点间的时间同步误差, 同步所述第二 节点与所述第一节点的本地时间, 具体包括: 所述第一节点获得所述双向路径 延时之和, 计算所述时间同步误差, 将 1588时间同步后的自身本地时间减去所 述时间同步误差。
10、 一种时间同步方法, 其特征在于, 该方法包括:
第一节点在第一时间以第一工作波长发送第一时间 4艮文, 所述第一时间 4艮 文携带所述第一时间, 第二节点在第二时间接收到所述第一时间报文, 继而提 取所述第一时间;
所述第一节点在第三时间以第二工作波长发送第二时间 ^艮文, 所述第二时 间报文携带所述第三时间, 所述第二节点在第四时间接收到所述第二时间报文, 继而提取所述第三时间;
所述第二节点在第五时间以第三工作波长发送第三时间 4艮文, 所述第一节 点在第六时间接收到所述第三时间 4艮文;
所述第二节点在第七时间以第四工作波长发送第四时间 4艮文, 所述第一节 点在第八时间接收到所述第四时间报文;
所述第二节点根据所述第一时间、 所述第二时间、 所述第三时间、 所述第 四时间、 所述第五时间、 所述第六时间、 所述第七时间、 所述第八时间、 所述 第一工作波长对应的第一信号传输速率和所述第二工作波长对应的第二信号传 输速率、 所述第三工作波长对应的第三信号传输速率和所述第四工作波长对应 的第四信号传输速率、 1588协议 ·^艮文在所述第一节点至所述第二节点方向上传 送时所采用波长的信号传输速率、 以及 1588协议报文在所述第二节点至所述第 一节点方向上传送时所采用波长的信号传输速率, 计算所述第二节点与所述第 一节点间的时间同步误差, 同步所述第一节点与所述第二节点的本地时间。
11、 根据权利要求 10所述的方法, 其特征在于, 所述时间同步误差通过下 述公式菝得:
ΔΤ = dt_2 -d2_t = (fti2 -tii) - (t22 -tzi)) x i x 2 d2_t 立中
— 2 — 2 x (v2 -v-i xVi_2 2 , 、 T ,
ΔΤ表示所述时间同步误差;
tn表示所述第一时间;
t12表示所述第二时间;
t21表示所述第三时间;
t22表示所述第四时间;
^表示所述第一信号传输速率;
v2表示所述第二信号传输速率;
表示所述 1588协议报文在所述第一节点至所述第二节点方向上传送时 所采用波长的信号传输速率;
d24表示所述 1588协议报文在所述第二节点至所述第一节点方向的路径延 时, 通过下述公式获得:
j ((t32 -t3i) - (t42 -t4i)) x 3 v4 ^ ,
d = , 其中,
(V4 -V3) X V2_!
t31表示所述第五时间
t32表示所述第六时间
t41表示所述第七时间
t42表示所述第八时间 V3表示所述第三信号传输速率;
v4表示所述第四信号传输速率;
V24表示所述 1588协议报文在所述第二节点至所述第一节点方向上传 送时所采用波长的信号传输速率。
12、 根据权利要求 10或 11所述的方法, 其特征在于, 所述方法还包括: 所述第一节点提取所述第三时间 4艮文携带的所述第五时间和所述第四时间 报文携带的所述第七时间;
所述第二节点接收所述第一节点发送的第八时间报文, 提取所述第八时间 艮文携带的所述第一节点计算的 1588协议 ·^艮文在所述第二节点至所述第一节点 方向的路径延时;
所述计算所述第二节点与所述第一节点间的时间同步误差, 同步第一节点 与第二节点的本地时间, 具体包括: 所述第二节点计算所述时间同步误差, 将 1588时间同步后的自身本地时间加上所述时间同步误差。
13、 一种节点设备, 其特征在于, 包括:
线路处理模块, 用于接收第一节点以第一工作波长发送的第一时间报文和 所述第一节点以第二工作波长发送的第二时间 4艮文;
报文处理模块, 用于记录所述第一时间报文的接收时间和所述第二时间报 文的接收时间; 还用于解析所述第一时间报文和所述第二时间报文, 提取所述 第一时间报文携带的所述第一时间报文的发送时间和所述第二时间报文携带的 所述第二时间 4艮文的发送时间;
时间计算模块, 用于根据所述第一时间报文的发送时间和所述第二时间报 文的发送时间、 所述第一时间 4艮文的接收时间和所述第二时间 4艮文的接收时间、 以及所述第一工作波长对应的第一信号传输速率和所述第二工作波长对应的第 二信号传输速率, 计算自身与所述第一节点间的绝对时间偏差;
本地时间模块, 用于向所述报文处理模块提供所述第一时间报文的接收时 间和所述第二时间报文的接收时间; 还用于将自身的本地时间减去所述绝对时 间偏差, 得到与所述第一节点本地时间同步的本地时间。
14、 一种节点设备, 其特征在于, 包括:
线路处理模块, 用于以第一工作波长向第二节点发送第一时间报文, 以第 二工作波长向所述第二节点发送第二时间报文; 还用于接收所述第二节点发送 的第三时间 4艮文;
报文处理模块, 用于封装所述第一时间报文和所述第二时间报文, 所述第 一时间 4艮文携带所述第一时间 4艮文的发送时间, 所述第二时间 4艮文携带所述第 二时间报文的发送时间; 还用于解析所述第三时间报文, 提取所述第三时间报 文携带的自身与所述第二节点间的绝对时间偏差;
所述绝对时间偏差由所述第二节点根据所述第一时间报文的发送时间和所 述第二时间 4艮文的发送时间、 所述第一时间 4艮文的接收时间和所述第二时间 4艮 文的接收时间、 以及所述第一工作波长对应的第一信号传输速率和所述第二工 作波长对应的第二信号传输速率, 计算获得;
本地时间模块, 用于向所述报文处理模块提供所述第一时间报文的发送时 间和所述第二时间 4艮文的发送时间; 还用于将自身的本地时间加上所述绝对时 间偏差, 得到与所述第二节点本地时间同步的本地时间。
15、 一种节点设备, 其特征在于, 包括:
线路处理模块, 用于以第一工作波长向第二节点发送第一时间报文, 以第 二工作波长向第二节点发送第二时间报文; 还用于接收所述第二节点发送的第 四时间 4艮文;
报文处理模块, 用于封装所述第一时间报文和所述第二时间报文, 记录所 述第一时间 4艮文的发送时间和所述第二时间 4艮文的发送时间; 还用于解析所述 第四时间报文, 提取所述第四时间报文携带的所述第一时间报文的接收时间和 所述第二时间报文的接收时间; 时间计算模块, 用于根据所述第一时间报文的 发送时间和所述第二时间 4艮文的发送时间、 所述第一时间 4艮文的接收时间和所 述第二时间 4艮文的接收时间、 以及所述第一工作波长对应的第一信号传输速率 和所述第二工作波长对应的第二信号传输速率, 计算自身与所述第二节点间的 绝对时间偏差;
本地时间模块, 用于向所述报文处理模块提供所述第一时间报文的发送时 间和所述第二时间 4艮文的发送时间; 还用于将自身的本地时间加上所述绝对时 间偏差, 得到与所述第二节点本地时间同步的本地时间。
16、 一种节点设备, 其特征在于, 包括:
线路处理模块, 用于接收第一节点以第一工作波长发送的第一时间报文和 所述第一节点以第二工作波长发送的第二时间 4艮文;
报文处理模块, 用于记录所述第一时间报文的接收时间和所述第二时间报 文的接收时间; 还用于解析所述第一时间报文和所述第二时间报文, 提取所述 第一时间报文携带的所述第一时间报文的发送时间和所述第二时间报文携带的 所述第二时间 4艮文的发送时间;
1588协议模块, 用于执行 1588协议, 获得所述第一节点与所述第二节点间 的双向路径延时之和; 还用于通过 1588协议将自身的本地时间同步到第一节点 的本地时间;
时间计算模块, 用于根据所述第一时间报文的发送时间和所述第二时间报 文的发送时间、 所述第一时间 4艮文的接收时间和所述第二时间 4艮文的接收时间、 以及所述第一工作波长对应的第一信号传输速率和所述第二工作波长对应的第 二信号传输速率、 1588协议报文在所述第一节点至所述第二节点方向上传送时 所采用波长的信号传输速率、 以及所述双向路径延时之和, 计算自身与所述第 一节点间的时间同步误差;
本地时间模块, 用于向所述报文处理模块提供所述第一时间报文的接收时 间和所述第二时间报文的接收时间;还用于向所述 1588协议模块提供本地时间; 还用于将 1588协议时间同步后的自身本地时间加上所述时间同步误差。
17、 一种节点设备, 其特征在于, 包括:
线路处理模块, 用于以第一工作波长向第二节点发送第一时间报文, 以第 二工作波长向所述第二节点发送第二时间报文; 还用于接收所述第二节点发送 的第六时间 4艮文;
报文处理模块, 用于封装所述第一时间报文和所述第二时间报文, 所述第 一时间 4艮文携带所述第一时间 4艮文的发送时间, 所述第二时间 4艮文携带所述第 二时间 4艮文的发送时间; 还用于解析所述第六时间 4艮文, 提取所述第六时间 4艮 文携带的所述第二节点计算的所述第一节点至所述第二节点方向的线路距离或 者 1588协议报文在所述第一节点至所述第二节点方向的路径延时;
所述第一节点至所述第二节点方向的线路距离由所述第二节点根据所述第 一时间 4艮文的发送时间和所述第二时间 4艮文的发送时间、 所述第一时间 4艮文的 接收时间和所述第二时间 4艮文的接收时间、 以及所述第一工作波长对应的第一 信号传输速率和所述第二工作波长对应的第二信号传输速率, 计算获得;
所述 1588协议报文在所述第一节点至所述第二节点方向的路径延时由所述 第二节点根据所述第一时间报文的发送时间和所述第二时间报文的发送时间、 所述第一时间 4艮文的接收时间和所述第二时间 4艮文的接收时间、 所述第一工作 波长对应的第一信号传输速率和所述第二工作波长对应的第二信号传输速率、 以及 1588协议 ·^艮文在所述第一节点至所述第二节点方向上传送时所采用波长的 信号传输速率, 计算获得;
1588协议模块, 用于执行 1588协议, 获得所述第一节点与所述第二节点间 的双向路径延时之和; 还用于通过 1588协议将自身的本地时间同步到所述第二 节点的本地时间;
时间计算模块, 或者用于根据所述第一节点至所述第二节点方向的线路距 离、 1588协议报文在所述第一节点至所述第二节点方向上传送时所采用波长的 信号传输速率、 以及所述第一节点与所述第二节点间的双向路径延时之和; 或 者用于根据所述 1588协议报文在所述第一节点至所述第二节点方向的路径延时、 以及所述第一节点与所述第二节点间的双向路径延时之和, 计算所述第二节点 与所述第一节点间的时间同步误差; 本地时间模块, 用于向所述报文处理模块提供所述第一时间报文的发送时 间和所述第二时间 4艮文的发送时间;还用于向所述 1588协议模块提供本地时间;
18、 一种节点设备, 其特征在于, 包括:
线路处理模块, 用于接收第一节点以第一工作波长发送的第一时间报文和 所述第一节点以第二工作波长发送的第二时间 4艮文; 还用于以第三工作波长向 所述第一节点发送第三时间报文, 以第四工作波长向所述第一节点发送第四时 间报文; 还用于接收所述第一节点发送的第八时间报文;
报文处理模块, 用于记录所述第一时间报文的接收时间和所述第二时间报 文的接收时间; 还用于解析所述第一时间报文和所述第二时间报文, 提取所述 第一时间报文携带的所述第一时间报文的发送时间和所述第二时间报文携带的 所述第二时间报文的发送时间; 还用于封装所述第三时间报文和所述第四时间 报文, 所述第三时间报文携带所述第三时间报文的发送时间, 所述第四时间报 文携带所述第四时间报文的发送时间; 还用于所述解析所述第八时间报文, 提 取所述第八时间报文携带的所述第一节点计算的 1588协议报文在所述第二节点 至所述第一节点方向的路径延时;
所述 1588协议报文在所述第二节点至所述第一节点方向的路径延时由所述 第一节点根据所述第三时间 4艮文的发送时间和所述第四时间 4艮文的发送时间、 所述第三时间报文的接收时间和所述第四时间报文的接收时间、 所述第三工作 波长对应的第三传送速率和所述第四工作波长对应点第四传输速率、 以及 1588 协议报文在所述第二节点至所述第一节点方向上传送时所采用波长的信号传输 速率, 计算获得;
1588协议模块, 用于执行 1588协议, 通过 1588协议将自身的本地时间同 步到所述第一节点的本地时间;
时间计算模块, 用于根据所述第一时间报文的发送时间和所述第二时间报 文的发送时间、 所述第一时间 4艮文的接收时间和所述第二时间 4艮文的接收时间、 所述第一工作波长对应的第一信号传输速率和所述第二工作波长对应的第二信 号传输速率、 所述 1588协议报文在所述第二节点至所述第一节点方向的路径延 时、 1588协议 ·^艮文在所述第一节点至所述第二节点方向上传送时所采用波长的 信号传输速率, 计算所述第二节点与所述第一节点间的时间同步误差;
本地时间模块, 用于向所述报文处理模块提供所述第一时间报文的接收时 间、 所述第二时间 4艮文的接收时间、 所述第三时间 4艮文的发送时间和所述第四 时间报文的发送时间; 还用于提供所述 1588协议模块提供本地时间; 还用于将 1588协议时间同步后的自身本地时间加上所述时间同步误差。
19、 一种时间同步系统, 其特征在于, 所述系统至少包括两个节点设备, 其中:
第一节点设备, 用于以第一工作波长向第二节点设备发送第一时间报文, 所述第一时间 4艮文携带所述第一时间 4艮文的发送时间; 以第二工作波长向所述 第二节点设备发送第二时间报文, 所述第二时间报文携带所述第二时间报文的 发送时间;
所述第二节点设备, 用于接收所述第一节点设备以所述第一工作波长发送 的所述第一时间 4艮文和所述第一节点设备以第二工作波长发送的所述第二时间 报文; 记录所述第一时间报文的接收时间和所述第二时间报文的接收时间; 提 取所述第一时间报文携带的所述第一时间报文的发送时间和所述第二时间报文 携带的所述第二时间报文的发送时间; 根据所述第一时间报文的发送时间和所 述第二时间 4艮文的发送时间、 所述第一时间 4艮文的接收时间和所述第二时间 4艮 文的接收时间、 以及所述第一工作波长对应的第一信号传输速率和所述第二工 作波长对应的第二信号传输速率, 计算所述第二节点设备与所述第一节点设备 间的绝对时间偏差, 将自身的本地时间减去所述绝对时间偏差, 得到与所述第 一节点设备本地时间同步的本地时间。
20、 一种时间同步系统, 其特征在于, 所述系统至少包括两个节点设备, 其中: 第一节点设备, 用于以第一工作波长向第二节点设备发送第一时间报文, 所述第一时间 4艮文携带所述第一时间 4艮文的发送时间; 以第二工作波长向所述 第二节点设备发送第二时间报文, 所述第二时间报文携带所述第二时间报文的 发送时间; 接收所述第二节点设备发送的第三时间报文, 提取所述第三时间报 文携带的所述第二节点设备与所述第一节点设备间的绝对时间偏差; 将自身的 本地时间加上所述绝对时间偏差, 得到与所述第二节点本地时间同步的本地时 间;
所述第二节点设备, 用于接收所述第一节点设备以所述第一工作波长发送 的所述第一时间 4艮文和所述第一节点设备以第二工作波长发送的所述第二时间 报文; 记录所述第一时间报文的接收时间和所述第二时间报文的接收时间; 提 取所述第一时间报文携带的所述第一时间报文的发送时间和所述第二时间报文 携带的所述第二时间报文的发送时间; 根据所述第一时间报文的发送时间和所 述第二时间 4艮文的发送时间、 所述第一时间 4艮文的接收时间和所述第二时间 艮 文的接收时间、 以及所述第一工作波长对应的第一信号传输速率和所述第二工 作波长对应的第二信号传输速率, 计算所述第二节点设备与所述第一节点设备 间的绝对时间偏差; 向所述第一节点设备发送携带所述绝对时间偏差的第三时 间报文。
21、 一种时间同步系统, 其特征在于, 所述系统至少包括两个节点设备, 其中:
第一节点设备, 用于以第一工作波长向第二节点设备发送第一时间报文; 以第二工作波长向所述第二节点设备发送第二时间报文; 记录所述第一时间报 文的发送时间和所述第二时间报文的发送时间; 接收所述第二节点设备发送的 第四时间报文, 提取所述第四时间报文携带的所述第一时间报文的接收时间和 所述第二时间 4艮文的接收时间; 根据所述第一时间 4艮文的发送时间和所述第二 时间 4艮文的发送时间、 所述第一时间 4艮文的接收时间和所述第二时间 4艮文的接 收时间、 以及所述第一工作波长对应的第一信号传输速率和所述第二工作波长 对应的第二信号传输速率, 计算所述第二节点设备与所述第一节点设备间的绝 对时间偏差; 将自身的本地时间加上所述绝对时间偏差, 得到与所述第二节点 设备本地时间同步的本地时间;
所述第二节点设备, 用于接收所述第一节点设备以所述第一工作波长发送 的所述第一时间 4艮文和所述第一节点设备以第二工作波长发送的所述第二时间 报文; 向所述第一节点设备发送第四时间报文, 所述第四时间报文携带所述第 一时间 ^艮文的接收时间和所述第二时间 ^艮文的接收时间。
22、 一种时间同步系统, 其特征在于, 所述系统至少包括两个节点设备, 其中:
第一节点设备, 用于以第一工作波长向第二节点设备发送第一时间报文, 所述第一时间 4艮文携带所述第一时间 4艮文的发送时间; 以第二工作波长向所述 第二节点设备发送第二时间报文, 所述第二时间报文携带所述第二时间报文的 发送时间;
所述第二节点设备, 用于接收所述第一节点设备以所述第一工作波长发送 的所述第一时间 4艮文和所述第一节点设备以第二工作波长发送的所述第二时间 报文; 记录所述第一时间报文的接收时间和所述第二时间报文的接收时间; 提 取所述第一时间报文携带的所述第一时间报文的发送时间和所述第二时间报文 携带的所述第二时间报文的发送时间; 通过 1588协议获得所述第一节点设备与 所述第二节点设备间的双向路径延时之和; 根据所述第一时间报文的发送时间 和所述第二时间 4艮文的发送时间、 所述第一时间 4艮文的接收时间和所述第二时 间 4艮文的接收时间、 所述第一工作波长对应的第一信号传输速率和所述第二工 作波长对应的第二信号传输速率、 1588协议报文在所述第一节点设备至所述第 二节点设备方向上传送时所采用波长的信号传输速率、 以及所述第一节点设备 与所述第二节点设备间的双向路径延时之和, 计算所述第二节点设备与所述第 一节点设备之间的时间同步误差; 将 1588协议时间同步后的自身本地时间加上 所述时间同步误差。
23、 一种时间同步系统, 其特征在于, 所述系统至少包括两个节点设备, 其中:
第一节点设备, 用于以第一工作波长向第二节点设备发送第一时间报文, 所述第一时间 4艮文携带所述第一时间 4艮文的发送时间; 以第二工作波长向所述 第二节点设备发送第二时间报文, 所述第二时间报文携带所述第二时间报文的 发送时间; 接收所述第二节点设备发送的第六时间报文, 提取所述第六时间报 文携带的所述第二节点计算的所述第一节点设备至所述第二节点设备方向的线 路距离或者 1588协议报文在所述第一节点设备至所述第二节点设备方向的路径 延时; 通过 1588协议获得所述第一节点设备与所述第二节点设备间的双向路径 延时之和; 或者根据所述第一节点至所述第二节点方向的线路距离、 1588协议 报文在所述第一节点至所述第二节点方向上传送时所采用波长的信号传输速率、 以及所述双向路径延时之和, 或者根据所述 1588协议报文在所述第一节点设备 至所述第二节点设备方向的路径延时、 以及所述双向路径延时之和, 计算所述 第二节点设备与所述第一节点设备间的时间同步误差; 将 1588时间同步后的自 身本地时间减去所述时间同步误差。
所述第二节点设备, 用于接收所述第一节点设备以所述第一工作波长发送 的所述第一时间 4艮文和所述第一节点设备以第二工作波长发送的所述第二时间 报文; 记录所述第一时间报文的接收时间和所述第二时间报文的接收时间; 提 取所述第一时间报文携带的所述第一时间报文的发送时间和所述第二时间报文 携带的所述第二时间 4艮文的发送时间;
或者根据所述第一时间 4艮文的发送时间和所述第二时间 4艮文的发送时间、 所述第一时间报文的接收时间和所述第二时间报文的接收时间、 以及所述第一 工作波长对应的第一信号传输速率和所述第二工作波长对应的第二信号传输速 率, 计算所述第一节点至所述第二节点方向的线路距离; 或者根据所述第一时 间 4艮文的发送时间和所述第二时间 4艮文的发送时间、 所述第一时间 4艮文的接收 时间和所述第二时间 4艮文的接收时间、 所述第一工作波长对应的第一信号传输 速率和所述第二工作波长对应的第二信号传输速率、 以及 1588协议 4艮文在所述 第一节点设备至所述第二节点设备方向上传送时所采用波长的信号传输速率, 计算所述 1588协议报文在所述第一节点设备至所述第二节点设备方向的路径延 时;
向所述第一节点设备发送第六时间报文, 所述第六时间报文携带所述第一 节点至所述第二节点方向的线路距离或者所述 1588协议报文在所述第一节点设 备至所述第二节点设备方向的路径延时。
24、 一种时间同步系统, 其特征在于, 所述系统至少包括两个节点设备, 其中:
第一节点设备, 用于以第一工作波长向第二节点设备发送第一时间报文, 所述第一时间 4艮文携带所述第一时间 4艮文的发送时间; 以第二工作波长向所述 第二节点设备发送第二时间报文, 所述第二时间报文携带所述第二时间报文的 发送时间; 接收所述第二节点设备以第三工作波长发送的第三时间报文和所述 第二节点设备以第四工作波长发送的第四时间 4艮文; 记录所述第三时间 4艮文的 接收时间和所述第四时间 4艮文的接收时间; 提取所述第三时间 4艮文携带的所述 第三时间报文的发送时间和所述第四时间报文携带的所述第四时间报文的发送 时间; 根据所述第三时间 4艮文的发送时间和所述第四时间 4艮文的发送时间、 所 述第三时间报文的接收时间和所述第四时间报文的接收时间、 所述第三工作波 长对应的第三传送速率和所述第四工作波长对应的第四传输速率、 以及 1588协 议报文在所述第二节点设备至所述第一节点设备方向上传送时所采用波长的信 号传输速率, 计算 1588协议报文在所述第二节点设备至所述第一节点设备方向 上的路径延时; 向所述第二节点发送第八时间报文, 所述第八时间报文携带所 述 1588协议报文在所述第二节点设备至所述第一节点设备方向上的路径延时。
所述第二节点设备, 用于接收第一节点设备以所述第一工作波长发送的所 述第一时间报文和所述第一节点以所述第二工作波长发送的所述第二时间报文; 记录所述第一时间报文的接收时间和所述第二时间报文的接收时间; 提取所述 第一时间报文携带的所述第一时间报文的发送时间和所述第二时间报文携带的 所述第二时间报文的发送时间; 以所述第三工作波长向所述第一节点设备发送 所述第三时间 4艮文, 所述第三时间 4艮文携带所述第三时间 4艮文的发送时间; 以 所述第四工作波长向所述第一节点设备发送所述第四时间报文, 所述第四时间 报文携带所述第四时间报文的发送时间; 接收所述第一节点设备发送的第八时 间报文, 提取所述第八时间报文携带的所述 1588协议报文在所述第二节点设备 至所述第一节点设备方向上的路径延时; 根据所述第一时间报文的发送时间和 所述第二时间 4艮文的发送时间、 所述第一时间 4艮文的接收时间和所述第二时间 报文的接收时间、 所述第一工作波长对应的第一信号传输速率和所述第二工作 波长对应的第二信号传输速率、 所述 1588协议 ·^艮文在所述第二节点设备至所述 第一节点设备方向上的路径延时、 1588协议报文在所述第一节点设备至所述第 二节点设备方向上传送时所采用波长的信号传输速率, 计算所述第二节点设备 与所述第一节点设备间的时间同步误差; 将 1588时间同步后的自身本地时间加 上所述时间同步误差。
PCT/CN2011/079530 2011-09-09 2011-09-09 一种时间同步的方法和系统及节点设备 Ceased WO2012149736A1 (zh)

Priority Applications (6)

Application Number Priority Date Filing Date Title
CA2843201A CA2843201C (en) 2011-09-09 2011-09-09 Time synchronization method and system, and node device
AU2011367139A AU2011367139B2 (en) 2011-09-09 2011-09-09 Time synchronization method and system, and node device
CN201180002188.8A CN103210690B (zh) 2011-09-09 2011-09-09 一种时间同步的方法和系统及节点设备
PCT/CN2011/079530 WO2012149736A1 (zh) 2011-09-09 2011-09-09 一种时间同步的方法和系统及节点设备
EP11864604.1A EP2568756B1 (en) 2011-09-09 2011-09-09 Time synchronization method and system, and node device
US13/691,232 US9184860B2 (en) 2011-09-09 2012-11-30 Time synchronization method and system, and node device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/079530 WO2012149736A1 (zh) 2011-09-09 2011-09-09 一种时间同步的方法和系统及节点设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/691,232 Continuation US9184860B2 (en) 2011-09-09 2012-11-30 Time synchronization method and system, and node device

Publications (1)

Publication Number Publication Date
WO2012149736A1 true WO2012149736A1 (zh) 2012-11-08

Family

ID=47107756

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/079530 Ceased WO2012149736A1 (zh) 2011-09-09 2011-09-09 一种时间同步的方法和系统及节点设备

Country Status (6)

Country Link
US (1) US9184860B2 (zh)
EP (1) EP2568756B1 (zh)
CN (1) CN103210690B (zh)
AU (1) AU2011367139B2 (zh)
CA (1) CA2843201C (zh)
WO (1) WO2012149736A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108270500A (zh) * 2016-12-30 2018-07-10 中国移动通信有限公司研究院 一种时间同步方法及装置

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932905B (zh) * 2011-08-10 2017-06-16 中兴通讯股份有限公司 自动补偿1588链路非对称性时延的实现方法及系统
WO2014175665A2 (en) * 2013-04-23 2014-10-30 Lg Electronics Inc. Method and apparatus for transmitting inactivity indication in wireless communication system
US9226253B2 (en) * 2013-12-04 2015-12-29 Mitsubishi Electric Research Laboratories, Inc. Passive synchronization in wireless networks
CN104199280B (zh) * 2014-09-23 2017-12-15 中国电子科技集团公司第二十九研究所 一种基于差分gps的时间同步误差测量方法
CN104320240B (zh) * 2014-11-03 2016-08-17 武汉数字派特科技有限公司 一种提供系统内全局时钟的方法和装置
JP6674171B2 (ja) * 2016-02-10 2020-04-01 国立研究開発法人情報通信研究機構 通信局間の同期ずれ検出方法
CN106249584B (zh) * 2016-09-30 2019-10-01 四川九洲电器集团有限责任公司 一种时间同步方法
CN108337063A (zh) * 2017-01-20 2018-07-27 华为技术有限公司 时间同步方法及装置
WO2018191977A1 (zh) * 2017-04-21 2018-10-25 华为技术有限公司 应用数据迁移方法及网络设备
CN110100397B (zh) * 2017-05-31 2021-06-08 江苏舒茨测控设备股份有限公司 时延测量方法及站点
CN109120469B (zh) * 2017-06-26 2021-11-30 华为技术有限公司 一种线路传输延时计算方法及装置
CN107786294B (zh) * 2017-09-22 2019-04-30 烽火通信科技股份有限公司 一种集中式1588的实现系统及方法
JP7302192B2 (ja) * 2019-02-14 2023-07-04 日本電信電話株式会社 伝送装置、時刻伝送システム、および、遅延補正方法
JP7568720B2 (ja) * 2019-11-25 2024-10-16 ソリッド インコーポレイテッド 通信ノード、通信システム、及びその動作方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050232633A1 (en) * 2004-04-16 2005-10-20 Haxell Penelope E Time-domain wavelength interleaved network with communications via hub node
CN102098121A (zh) * 2010-12-29 2011-06-15 华为技术有限公司 时间同步的监测方法和装置
CN102104572A (zh) * 2009-12-22 2011-06-22 华为技术有限公司 传输系统中的时间同步方法、设备及系统
CN102143571A (zh) * 2010-02-02 2011-08-03 华为技术有限公司 时间同步方法、dsl设备和宽带接入网络系统

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6418150B1 (en) * 1998-02-20 2002-07-09 Apple Computer, Inc. Method and apparatus for calibrating an IEEE-1394 cycle master
EP1705620A1 (de) * 2005-03-24 2006-09-27 ista Shared Services GmbH Verfahren zur Synchronisation von Netzknoten und zugehöriges Netzwerk
KR20070070299A (ko) * 2005-07-06 2007-07-04 삼성전자주식회사 레지덴셜 이더넷 시스템에서의 시간 동기화 방법
US7602873B2 (en) * 2005-12-23 2009-10-13 Agilent Technologies, Inc. Correcting time synchronization inaccuracy caused by asymmetric delay on a communication link
US7711009B2 (en) * 2006-09-29 2010-05-04 Agere Systems Inc. Methods and apparatus for timing synchronization in packet networks
US8902932B2 (en) * 2008-10-02 2014-12-02 Cortina Systems, Inc. Systems and methods for a network device to update timing packets to reflect delay
BR112012021206A2 (pt) * 2010-07-23 2016-05-17 Huawei Tech Co Ltd método e dispositivo para sincronização de tempo

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050232633A1 (en) * 2004-04-16 2005-10-20 Haxell Penelope E Time-domain wavelength interleaved network with communications via hub node
CN102104572A (zh) * 2009-12-22 2011-06-22 华为技术有限公司 传输系统中的时间同步方法、设备及系统
CN102143571A (zh) * 2010-02-02 2011-08-03 华为技术有限公司 时间同步方法、dsl设备和宽带接入网络系统
CN102098121A (zh) * 2010-12-29 2011-06-15 华为技术有限公司 时间同步的监测方法和装置

Non-Patent Citations (1)

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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108270500A (zh) * 2016-12-30 2018-07-10 中国移动通信有限公司研究院 一种时间同步方法及装置
CN108270500B (zh) * 2016-12-30 2019-11-08 中国移动通信有限公司研究院 一种时间同步方法及装置

Also Published As

Publication number Publication date
EP2568756A4 (en) 2013-08-14
CA2843201C (en) 2015-12-15
US20130094523A1 (en) 2013-04-18
EP2568756A1 (en) 2013-03-13
AU2011367139A1 (en) 2014-02-20
AU2011367139B2 (en) 2015-06-11
CN103210690A (zh) 2013-07-17
CA2843201A1 (en) 2012-11-08
CN103210690B (zh) 2014-12-31
US9184860B2 (en) 2015-11-10
EP2568756B1 (en) 2016-05-11

Similar Documents

Publication Publication Date Title
WO2012149736A1 (zh) 一种时间同步的方法和系统及节点设备
CN102111258A (zh) 时钟同步方法、设备和系统
JP5576747B2 (ja) 通信システム及び時刻同期方法
EP2675102B1 (en) Communication system time synchronization method, slave station apparatus, master station apparatus, control apparatus, and program
US8750356B2 (en) Method, apparatus, and system for measuring asymmetric delay of communication path
EP2288070B1 (en) Time synchronizing method, device and system of master clock side and slave clock side in synchronous network
CN103168440B (zh) 时间路径补偿方法和装置
WO2011076051A1 (zh) 时间同步的方法、设备及系统
CN102843620B (zh) 一种实现时间同步传送的otn设备及方法
CN105187275B (zh) 一种测量光纤传输链路非对称时延的方法及装置
CN102412955B (zh) 光纤不对称时主从设备间的时间偏差获取方法和通信系统
WO2012065334A1 (zh) 在时分复用网络中实现时间同步的方法、设备和系统
WO2010000190A1 (zh) 无源光网络同步时间的计算方法、系统及光网络设备
CN113259038A (zh) 时间同步方法、节点、装置及存储介质
JP2013017104A (ja) 通信システム
US11963123B2 (en) Transmission management
WO2015109819A1 (zh) 光突发传送网节点时隙同步的训练方法、节点设备和网络
CN104601269A (zh) 主从时钟同步方法及系统
WO2013155944A1 (zh) 一种时钟传输方法、边界时钟及透传时钟
CN101765199B (zh) 一种通信网络系统及系统内时间同步方法和otn设备
WO2011074529A1 (ja) 時刻同期システム、スレーブノード、時刻同期方法及び時刻同期用プログラム
JP4853625B2 (ja) 伝搬遅延時間測定方法、同期方法、及び無線lanシステム
CN105873207B (zh) 空口同步系统及其方法
Han et al. First national high-precision time synchronization network with sub-microsecond accuracy over commercial optical networks for wireless applications
CN102137483A (zh) 一种时间同步方法、装置及系统

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 2011864604

Country of ref document: EP

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11864604

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2843201

Country of ref document: CA

ENP Entry into the national phase

Ref document number: 2011367139

Country of ref document: AU

Date of ref document: 20110909

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE