WO2011012057A1 - 报文同步方法、装置及系统 - Google Patents

报文同步方法、装置及系统 Download PDF

Info

Publication number
WO2011012057A1
WO2011012057A1 PCT/CN2010/075413 CN2010075413W WO2011012057A1 WO 2011012057 A1 WO2011012057 A1 WO 2011012057A1 CN 2010075413 W CN2010075413 W CN 2010075413W WO 2011012057 A1 WO2011012057 A1 WO 2011012057A1
Authority
WO
WIPO (PCT)
Prior art keywords
link
packet
message
transmitted
packet transmitted
Prior art date
Application number
PCT/CN2010/075413
Other languages
English (en)
French (fr)
Inventor
蒋冰
张贻华
漆凯
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP10803890.2A priority Critical patent/EP2461487B1/en
Publication of WO2011012057A1 publication Critical patent/WO2011012057A1/zh
Priority to US13/361,457 priority patent/US9143584B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/28Timers or timing mechanisms used in protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/14Multichannel or multilink protocols

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a packet synchronization method, apparatus, and system. Background technique
  • IP Internet Protocol
  • 1588V2 protocol of the Institute of Electrical and Electronics Engineers (IEEE) is gradually adopted in carrier-class communication equipment because it can provide time synchronization with microsecond precision.
  • the 1588V2 protocol implements time synchronization of network elements at both ends of the communication link by transmitting 1588V2 packets on a single communication link. If the communication link is interrupted, the 1588V2 protocol is switched to another normal communication link by the source selection method. Keeping the time synchronized, but during the switching of the communication link, the system clock is in the hold phase because the system tracking clock is lost.
  • the object of the embodiments of the present invention is to provide a packet synchronization method, device and system, which perform packet synchronization processing on a message transmitted by a primary link and a backup link in a wireless communication system, thereby improving packet synchronization precision.
  • the embodiment of the invention provides a message synchronization method, which includes:
  • the embodiment of the invention further provides a packet synchronization method, including:
  • the message is provided with a byte for setting a time offset, where the time deviation is a second transmission time stamp when the sending end sends the second message on the backup link and the second time is sent on the primary link. a difference in the first transmission timestamp at the time of the message; obtaining a first reception timestamp when receiving the second message transmitted from the primary link, and acquiring the transmission on the standby link from the reception Second receiving time stamp at the second message;
  • the embodiment of the invention further provides a message synchronization device, comprising:
  • An acquiring module configured to acquire a first sending timestamp of the first packet transmitted on the primary link, and obtain a second sending timestamp of the first packet transmitted on the backup link;
  • a calculation module configured to calculate a time deviation between the first sending time stamp and the second sending time stamp according to the first sending time stamp and the second sending time stamp
  • a setting module configured to add a byte in the first packet transmitted on the primary link and the first packet transmitted on the backup link, and set the time offset in the byte, Forming a second packet transmitted on the primary link and a second packet transmitted on the backup link, respectively;
  • a sending module configured to send a second packet to the receiving end on the primary link and the standby link, respectively, so that the second packet sent by the receiving end on the primary link fails, and the secondary link is selected. And transmitting, by the second packet, the second received timestamp on the backup link by using the time offset in the second packet, and removing the added byte from the selected second packet to obtain the first packet.
  • the embodiment of the invention further provides a message synchronization device, comprising:
  • a receiving module configured to receive a second packet sent from the primary link, and receive a second packet sent from the backup link, where the second packet transmitted on the primary link is connected to the standby link
  • the second packet transmitted on the second packet is provided with a byte for setting a time offset, and the time offset is a second transmission time stamp when the transmitting end sends the second packet on the backup link and is in the main chain. The difference of the first transmission time stamp when the second message is sent on the road;
  • An acquiring module configured to acquire a first receiving timestamp when receiving a second message transmitted from the primary link, and acquire a second when receiving a second message transmitted from the backup link Receiving a time stamp; a selection module, configured to select a second packet transmitted on the primary link and a second packet transmitted on the backup link, if a second packet transmitted on the primary link occurs If the fault occurs, the second packet transmitted from the backup link is selected, and the second received time stamp on the backup link is corrected by the time offset in the second packet, and the selected second packet is removed.
  • the byte gets the first message.
  • the embodiment of the present invention further provides a packet synchronization system, including: a sending end and a receiving end, where the sending end is configured to acquire a first sending time stamp of a first packet transmitted on a primary link, And obtaining a second sending timestamp of the first packet transmitted on the backup link; calculating, according to the first sending timestamp and the second sending timestamp, the time of the first sending timestamp and the second sending timestamp Deviating; adding a byte in the first packet transmitted on the primary link and the first packet transmitted on the backup link, and setting the time offset in the byte, respectively forming a second packet transmitted on the primary link and a second packet transmitted on the backup link; and the second packet is sent to the receiving end on the primary link and the standby link respectively;
  • the receiving end is configured to receive a second packet sent from the primary link, and receive a second packet sent from the backup link, where the second packet transmitted on the primary link and the standby
  • the second packet transmitted on the link is provided with a byte for setting a time offset, and the time deviation is a second transmission time stamp when the transmitting end sends the second packet on the backup link, and the The first when the second packet is sent on the primary link Transmitting a difference in time stamps; acquiring a first received timestamp when receiving a second message transmitted from the primary link, and obtaining a second message when receiving the second message transmitted from the backup link a second receiving time stamp; selecting a second packet transmitted on the primary link and a second packet transmitted on the backup link, and if the second packet transmitted on the primary link fails, Selecting a second packet transmitted from the backup link, correcting the second receiving time stamp on the standby link by using the time offset in the second packet, and removing the added byte from the selected second packet Get the first message.
  • the message synchronization method, device and system provided by the embodiment of the present invention, by adding a byte in the first message, and setting the time deviation of the first transmission time stamp and the second transmission time stamp in the byte,
  • the second packet with the byte is transmitted on the primary link and the backup link. If the second packet transmitted on the primary link fails, the second packet transmitted from the backup link is selected.
  • the time offset in the second packet is corrected on the second receiving timestamp on the backup link, and the added packet is removed from the selected second packet to obtain the first packet, so that the packet is synchronized; Because the time deviation is the difference between the first transmission time stamp and the second transmission time stamp, the difference accurately acquires the difference in the time of sending the message, so the accuracy of the message synchronization is improved by the deviation of the time.
  • FIG. 1 is a schematic flowchart of an embodiment of a message synchronization method according to the present invention
  • FIG. 2 is a schematic flowchart of still another embodiment of a message synchronization method according to the present invention.
  • FIG. 3 is a schematic structural diagram of a second form formed by adding bytes in the embodiment shown in FIG. 2.
  • FIG. 4 is a schematic flowchart diagram of another embodiment of a message synchronization method according to the present invention.
  • FIG. 5 is a schematic flowchart diagram of still another embodiment of a message synchronization method according to the present invention.
  • FIG. 6 is a schematic structural diagram of an embodiment of a message synchronization apparatus according to the present invention.
  • FIG. 7 is a schematic structural diagram of still another embodiment of a message synchronization apparatus according to the present invention.
  • FIG. 8 is a schematic structural diagram of an embodiment of a message synchronization system according to the present invention.
  • FIG. 9 is a schematic structural diagram of still another application embodiment of a text synchronization system according to the present invention.
  • FIG. 10 is a schematic diagram of a time stamp relationship in the embodiment shown in FIG. 9.
  • FIG. detailed description is a schematic diagram of a time stamp relationship in the embodiment shown in FIG. 9.
  • the two links of the primary link and the backup link respectively receive Forward Error Correction (FEC) to obtain two error-corrected data streams and irreversible indications.
  • FEC Forward Error Correction
  • the degree of error correction of the same segment of data on the primary link and the backup link is not the same. Specifically, at a certain time, the data of the primary link is completely correct, but the data of the standby link cannot be corrected; or, the data of the primary link is uncorrectable, and the data of the standby link is completely correct.
  • the HSM Since the probability that the same segment of data is simultaneously erroneous on the primary link and the backup link is very small, the HSM performs two alternatives according to the error correction of each segment of data, thereby improving the quality of service of the entire communication link. In addition, since the delays of the primary link and the backup link are different, the HSM performs delay compensation through First In First Out (FIFO) to align the primary link and the backup before performing the second selection. The delay of the link is delayed, and the aligned data is selected according to the HSM.
  • FIFO First In First Out
  • FIG. 1 is a schematic flowchart of an embodiment of a method for synchronizing a text according to the present invention. As shown in FIG. 1, the embodiment includes the following steps:
  • Step 101 The sending end acquires a first sending timestamp of the first packet transmitted on the primary link, and acquires a second sending timestamp of the first packet transmitted on the backup link.
  • Step 102 The sending end calculates, according to the first sending timestamp and the second sending timestamp, a time deviation between the first sending timestamp and the second sending timestamp.
  • Step 103 Add a byte in the first packet transmitted by the transmitting end on the primary link and the first packet transmitted on the backup link, and set the time offset in the byte to form a transmission on the primary link.
  • Step 104 The sending end sends a second packet to the receiving end on the primary link and the standby link respectively, so that when the second packet transmitted by the receiving end on the primary link fails, the transmitting end selects the transmission on the secondary link.
  • the second packet is modified by the time offset in the second packet to the second received timestamp on the backup link, and the added packet is removed from the selected second packet to obtain the first packet.
  • the first packet in the embodiment of the present invention may be the original 1588V2 packet.
  • the message synchronization method provided by the embodiment of the present invention adds a byte in the first packet, and The time difference between a transmission timestamp and the second transmission timestamp is set in a byte.
  • the receiving end selects the second message transmitted from the backup link. Correcting the second received timestamp on the backup link by using the time offset in the second packet, and removing the added byte from the selected second message transmitted on the backup link to obtain the first packet,
  • the synchronization processing of the message is implemented; and, because the time deviation is the difference between the first transmission time stamp and the second transmission time stamp, the difference accurately acquires the difference in the time of sending the message, so the deviation by the time is improved.
  • the accuracy of message synchronization is implemented.
  • FIG. 2 is a schematic flowchart of still another embodiment of a packet synchronization method according to the present invention.
  • FIG. 3 is a schematic structural diagram of a second text formed after adding a byte in the embodiment shown in FIG. 2, as shown in FIG. Including the following steps:
  • Step 201 The sending end acquires a first sending timestamp of the first packet transmitted on the primary link, and acquires a second sending timestamp of the first packet transmitted on the standby link.
  • Step 202 The sender calculates a difference between the second sending timestamp and the first sending timestamp, and uses the difference as the time offset.
  • Step 203 The first message transmitted by the sending end on the primary link and the tail added field of the first message transmitted on the backup link form a byte, and the time offset is set in the byte, respectively formed in the main chain. a second message transmitted on the road and a second message transmitted on the backup link;
  • Step 204 The sending end sends a second packet to the receiving end on the primary link and the standby link respectively, so that when the second packet transmitted by the receiving end on the primary link fails, the transmitting end selects the transmission on the secondary link.
  • the second packet is modified by the time offset in the second packet to the second received timestamp on the backup link, and the added packet is removed from the selected second packet to obtain the first packet.
  • the first packet may be the original 1588V2 packet.
  • the 1588V2 packet is transmitted through the primary link and the backup link, the 1588V2 packet is sent on the primary link and the standby link respectively.
  • the timestamp of the transmission that is, the first transmission timestamp tl on the primary link, and the second transmission timestamp on the backup link are recorded, and the first transmission timestamp tl and the standby link on the primary link are obtained.
  • the difference is used as the time offset.
  • the second transmission time stamp T1 obtained when the 1588 V2 packet is sent on the backup link is Main link
  • the first transmission time stamp tl obtained when the 1588V2 message is sent is delayed, that is, the second transmission time stamp T1 is greater than the first transmission time stamp tl, so the first transmission time stamp tl and the second transmission time stamp are passed.
  • the second text may be a 1588 2"3 ⁇ 4 file with a byte added to the tail. Specifically, when the first transmission time stamp is obtained, the 1588V2 message is only sent in the packet header, and the 1588V2 message is sent.
  • the tail is still waiting to be sent, so the sender uses the first transmission timestamp tl of the primary link as the transmission time of the event message, and adds bytes at the end of the original 1588V2 message, as shown in Figure 3, the original The first transmission timestamp tl has been set in the 1588V2 message, and the byte for setting the time offset is added at the end of the original 1588V2 message, so that the receiving end adds the byte in the tail through the primary link and the standby link.
  • the time offset tdiff can be obtained by extracting the tail information of the 1588V2 packet.
  • the 1588V2 packet with the time offset tdiff is sent to the receiving end through the primary link and the standby link respectively.
  • the 1588V2 packet transmitted on the primary link is faulty.
  • the 1588V2 packet transmitted on the backup link is the same as the 1588V2 packet transmitted on the primary link.
  • the receiver can also receive the same 1588V2 packet as the 1588V2 packet transmitted on the primary link.
  • the 1588 V2 packet carries the first transmission timestamp tl on the primary link.
  • the time offset tdiff is not placed at the end of the 1588V2 packet, the 1588V2 packet on the primary link may be incorrect.
  • the receiving end receives the 1588V2 packet with the trailing byte added by the standby link, and the receiving end receives the second receiving timestamp T2 of the packet on the backup link and the first receiving of the received message on the primary link.
  • the packet synchronization method provided by the embodiment of the present invention adds a byte at the end of the first packet, and sets a time offset of the first transmission timestamp and the second transmission timestamp in the byte, and is respectively in the main chain.
  • the second packet with the byte set is transmitted on the path and the backup link respectively. If the packet on the primary link has an error and cannot be corrected, the receiving end can receive the packet on the secondary link according to the time deviation.
  • the receiving timestamp is adjusted to obtain the same receiving timestamp as the first receiving timestamp when receiving the message from the primary link, so that the message transmitted on the backup link is synchronized with the message transmitted on the primary link. Because the time deviation is the first transmission The difference between the time stamp tl and the second transmission time stamp T1, which accurately obtains the difference in the time of transmitting the message, so that the accuracy of the message synchronization is improved by the deviation tdiff at the time.
  • FIG. 4 is a schematic flowchart of another embodiment of a message synchronization method according to the present invention. As shown in FIG. 4, the embodiment includes the following steps:
  • Step 401 The receiving end receives the second packet transmitted from the primary link, and receives the second packet transmitted from the backup link, where the second packet transmitted on the primary link is transmitted on the backup link.
  • the second packet is provided with a byte for setting the time offset, and the time deviation is the second transmission timestamp when the transmitting end sends the second message on the backup link and the second message is sent on the primary link. a difference between the first transmission timestamps;
  • Step 403 The receiving end selects the second packet transmitted on the primary link and the second packet transmitted on the backup link. If the second packet transmitted on the primary link fails, the secondary link is selected. Transmitting the second packet, correcting the second receiving timestamp on the standby link by using the time offset in the second packet, and removing the added byte from the selected second packet to obtain the first packet .
  • the receiving end acquires the first receiving time stamp when receiving the second packet transmitted from the primary link, and acquires the second report transmitted on the receiving secondary link. If the second packet transmitted on the primary link is incorrect and cannot be corrected, the second packet transmitted from the backup link is selected, and the time offset in the second packet is passed.
  • FIG. 5 is a schematic flowchart of still another embodiment of the method for synchronizing the text according to the present invention. As shown in FIG. 5, the embodiment includes the following steps:
  • Step 501 The receiving end receives the second packet transmitted from the primary link, and receives the second packet transmitted from the backup link, where the second packet transmitted on the primary link is transmitted on the backup link.
  • the second packet is provided with a byte for setting the time offset, and the time deviation is the second transmission timestamp when the transmitting end sends the second message on the backup link and the second message is sent on the primary link. a difference between the first transmission timestamps;
  • Step 503 The receiving end selects the second packet transmitted on the primary link and the second packet transmitted on the backup link.
  • the secondary link is selected. Transmitting the second packet, correcting the second receiving timestamp on the standby link by using the time offset in the second packet, and removing the added byte from the selected second packet to obtain the first packet If the second packet transmitted on the primary link does not fail, the second packet transmitted from the primary link is selected, and the time deviation word set in the second packet transmitted on the primary link is selected. The section is removed, and the first message is obtained.
  • the second packet may be a 1588V2 packet with a byte for setting a time offset at the tail of the sending end, and the time offset tdiff is the first when the sending end sends the second packet on the standby link.
  • the receiving timestamp is obtained, that is, the first receiving timestamp t2
  • the receiving end receives the 1588V2 packet transmitted on the secondary link.
  • Obtaining the receiving time stamp that is, the second receiving time stamp T2.
  • the receiving time stamp of the 1588V2 packet is received on the primary link and the standby link, respectively, and the first time on the primary link is obtained.
  • the time stamp t2 is received and the second received time stamp T2 on the standby link.
  • the receiving end selects the second packet transmitted from the primary link and the backup link without error, and selects the 1588V2 packet transmitted from the primary link
  • the first receiving time stamp t2 is used as Synchronize the timestamp, and remove the byte with the time offset set in the second packet transmitted on the primary link, and obtain the first and cannot be corrected
  • the receiving end acquires the first receiving time stamp when receiving the second packet transmitted from the primary link, and acquires the second report transmitted on the receiving secondary link.
  • the second receiving time stamp of the text time if the second message transmitted from the primary link is selected, the first receiving time stamp is used as the synchronization time stamp, and if the message on the primary link is uncorrectable, the receiving is received.
  • the terminal selects the second message transmitted from the backup link, and then corrects the second receiving time stamp according to the time offset to obtain a synchronization time stamp.
  • the packet transmitted on the backup link is synchronized with the packet transmitted on the primary link.
  • the time difference is the difference between the first transmission time stamp ti and the second transmission time stamp T1, and the difference is accurately obtained and sent. The difference in message time, so the accuracy of message synchronization is improved by the deviation tdiff at this time.
  • FIG. 6 is a schematic structural diagram of an apparatus for synchronizing a message according to an embodiment of the present invention. As shown in FIG. 6, the embodiment includes: an obtaining module 61, a calculating module 62, a setting module 63, and a sending module 64.
  • the obtaining module 61 acquires the first sending timestamp of the first packet transmitted on the primary link, and acquires the second sending timestamp of the first packet transmitted on the backup link.
  • the calculating module 62 is configured according to the obtaining module 61. Obtaining a first transmission timestamp and a second transmission timestamp of the obtained time difference between the first transmission timestamp and the second transmission timestamp; setting the first message transmitted by the module 63 on the primary link and the active link Adding a byte in the first packet to be transmitted, and setting a time offset calculated by the calculation module 62 in the byte, respectively forming a second packet transmitted on the primary link and transmitting the second packet on the backup link.
  • the second packet is sent to the receiving end on the primary link and the standby link, so that the second packet transmitted by the receiving end on the primary link fails, and the secondary link is selected. Transmitting the second packet, correcting the second receiving time stamp on the standby link by using the time offset in the second packet, and removing the added byte from the selected second packet to obtain the first "3 ⁇ 4 text" .
  • the first packet may be an original 1588V2 packet
  • the second packet may be a packet with a byte added at the end of the original 1588V2.
  • the setting module 63 adds a byte in the first packet, and sets the time deviation of the first transmission time stamp and the second transmission time stamp in the byte, because Transmitting a second packet with a byte set on the primary link and the backup link, so that the receiving end receiving the second packet corrects the second receiving timestamp on the road according to the time offset in the second packet, when the primary When the link is faulty and the second packet transmitted on the primary link is incorrect, the receiving end can receive the second packet through the backup link, and the time difference on the standby link in the second packet is used.
  • the second receiving time stamp is corrected, so that the receiving end can obtain the same receiving time stamp on the primary link and the standby link to implement synchronization processing of the message; and, because the time deviation is the first transmission time stamp and the first The difference between the two transmission time stamps, the difference accurately obtains the difference in the time of transmitting the message, so the accuracy of the message synchronization is improved by the deviation of the time.
  • the calculating module 62 may further include: a difference calculating unit, where the difference calculating unit calculates a difference between the first sending time stamp and the second sending time stamp, The difference is used as the time deviation.
  • the setting module 63 may further include: an adding unit and a setting unit; wherein the adding unit is configured to transmit the first packet and the standby link on the primary link The tail increasing field of the transmitted first message forms a byte; the setting unit sets the time offset in the byte to form a second message transmitted on the primary link and a second message transmitted on the standby link respectively Message. By setting the time offset to the end of the second message, the receiving end can obtain the time offset directly by extracting the tail information of the message after receiving the second message.
  • FIG. 7 is a schematic structural diagram of another embodiment of a message synchronization apparatus according to the present invention. As shown in FIG. 7, the embodiment includes: a receiving module 71, an obtaining module 72, and a selecting module 73.
  • the receiving module 71 receives the second packet transmitted from the primary link, and receives the second packet transmitted from the backup link, where the second packet transmitted on the primary link is transmitted on the backup link.
  • the second packet is provided with a byte for setting the time offset, and the time deviation is the second transmission timestamp when the transmitting end sends the second message on the backup link and the second message is sent on the primary link.
  • the first packet may be a 1588 V2 packet
  • the second packet may be a byte that is added with a byte at the end of 1588V2.
  • the packet synchronization device acquires the first reception time stamp when receiving the second message transmitted from the primary link, and acquires the second transmission on the receiving secondary link.
  • the second receiving time stamp at the time of the message if the primary link fails such that the second message transmitted on the primary link is incorrect and cannot be corrected, the selecting module 73 selects the second message transmitted from the standby link.
  • FIG. 8 is a schematic structural diagram of an embodiment of a message synchronization system according to the present invention.
  • the embodiment includes: a transmitting end 81 and a receiving end 82.
  • the sending end 81 acquires a first sending timestamp of the first packet transmitted on the primary link, and acquires a second sending timestamp of the first packet transmitted on the standby link; according to the first sending timestamp and The second transmission timestamp calculates a time deviation between the first transmission timestamp and the second transmission timestamp; adding a byte in the first message transmitted on the primary link and the first message transmitted on the backup link, Setting the time offset in the byte, respectively forming a second message transmitted on the primary link and a second message transmitted on the backup link; sending a second report to the receiving end 82 on the primary link and the path respectively Text
  • the receiving end 82 receives the second message transmitted from the transmitting end 81 from the autonomous link, and receives the second message transmitted from the transmitting end 81 on the secondary link; and acquires the second transmitted on the receiving from the primary link. a first received timestamp at the time of the message, and a second received timestamp when the second message transmitted on the secondary link is received; transmitting on the second message and the backup link transmitted on the primary link.
  • the second packet is selected, and if the second packet transmitted on the primary link is faulty, the second packet transmitted from the backup link is selected, and the time offset on the backup link is used in the second packet.
  • the second receiving time stamp is corrected, and the added message is removed from the selected second message to obtain the first message.
  • the first packet may be a 1588 V2 packet
  • the second packet may be a byte that is added with a byte at the end of 1588V2.
  • the sending end 81 adds a byte in the first message, and sets the time deviation of the first sending time stamp and the second sending time stamp in the byte, because A second packet with a byte is transmitted on the primary link and the backup link, so that the receiving end 82 receiving the second packet can obtain the second transmission on the backup link according to the time offset in the second packet.
  • the receiving end 82 can receive the second packet through the backup link and pass the time offset in the second packet to the second link.
  • the second receiving time stamp is corrected, so that the receiving end 82 can obtain the same receiving time stamp on the main link and the ⁇ road, thereby realizing the synchronization processing of the message; and, because the time deviation is the first sending time stamp and the second sending The difference of the time stamp, which accurately obtains the difference in the time of sending the message, so the accuracy of the message synchronization is improved by the deviation of the time.
  • the receiving terminal 82 selects the second packet transmitted from the primary link, and the primary packet is transmitted on the primary link.
  • the byte of the time offset set in the transmitted second message is removed, and the first >3 ⁇ 4 text is obtained.
  • FIG. 9 is a schematic structural diagram of an application embodiment of a packet synchronization system according to the present invention.
  • FIG. 10 is a schematic diagram of a time stamp relationship in the embodiment shown in FIG. 9. The embodiment uses a 1588V2 packet as an example for detailed description.
  • receiving is performed on both sides of the primary link and the standby link respectively.
  • the transmitting end is composed of a first main board 91 and a first standby board 92
  • the receiving end is composed of a second main board 93 and a second standby board 94.
  • the first main board 91 obtains the first transmission time stamp t1 through the main link sending module 911, and the first standby board 92 obtains the second sending time stamp T1 through the backup link sending module 921, and the first sending time is
  • the 1588V2 message with the time offset is sent from the primary link sending module 911 of the first main board 91 and the standby link sending module 921 of the first standby board 92 to the receiving end via the primary link and the standby link, respectively.
  • the primary link receiving module 931 on the second main board 93 receives the 1588V2 message transmitted from the primary link and is provided with the time offset
  • the standby link receiving module 941 on the second standby board 94 receives the secondary link.
  • the setting transmitted on the road has a 1588V2 message with a time offset.
  • the second standby board 94 sends the 1588V2 message received by the backup link receiving module 941 and set the time offset to the second main board 93, and the second HSM932 on the second main board 93 according to the slave main line receiving module 931 and
  • the 1588V2 packet received by the backup link receiving module 941 and having the time offset is selected according to the packet error condition.
  • the selected primary link receiving module 931 receives the received or received link receiving module 941.
  • the received 1588V2 packet with the time offset is sent to the 1588 port for 1588V2 packet processing.
  • the first main board 91 acquires the first transmission time stamp t1 through the main link transmission module 911, and the first standby board 92 acquires the second transmission time stamp T1 through the backup link transmission module 921;
  • the second main board 93 obtains the first receiving time stamp t2 through the primary link receiving module 931, and the second standby board 94 obtains the receiving signal through the standby link receiving module 941.
  • the delay of the primary link is: t2-tl
  • the delay of the standby link is: T2-T1. The delay of transmitting the 1588V2 packet on the primary link and the backup link is the same.
  • t2-tl T2-T1
  • Tl-tl T2-t2
  • tdiff T2-t2
  • the first received timestamp T2 is corrected to obtain the same received first connection as the 1588V2 message transmitted from the primary link.
  • the 1588V2 packet is used as an example, and the method is not limited to the 1588V2 packet, and the packet passing is protected by the embodiment of the present invention.
  • the foregoing program may be stored in a computer readable storage medium, and when executed, the program includes The foregoing steps of the method embodiment; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

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

Description

报文同歩方法、 装置及系统
本申请要求于 2009 年 7 月 30 日提交中国专利局、 申请号为 200910089982.5、 发明名称为"报文同步方法、 装置及系统"的中国专利申请的 优先权, 其全部内容通过引用结合在本申请中。
技术领域
本发明实施例涉及通信技术领域,尤其是一种报文同步方法、装置及系统。 背景技术
随着因特网协议(Internet Protocol, 简称: IP )化在未来网络和业务中的 发展, IP 网络上进行时钟同步和时间同步的各种技术也在迅速发展。 在各种 分组时钟技术中, 电气和电子工程师协会 ( Institute of Electrical and Electronics Engineers, 简称: IEEE )的 1588V2协议由于能够提供微秒级精度的时间同步 从而在电信级通信设备中逐渐采用。 1588V2协议通过在单个通信链路上传送 1588V2报文实现了通信链路两端网元的时间同步, 若通信链路发生中断, 1588V2 协议通过选源方法倒换到另一个正常的通信链路上继续保持时间同 步,但在通信链路的倒换过程中, 由于系统跟踪时钟会丢失从而使系统时钟处 于保持阶段。 在有线连接系统中, 如光纤系统或者以太电缆系统, 由于通信链 路的倒换不会经常发生, 因此系统时钟短暂处于保持阶段对时间恢复并无影 响。 并且在现有的无线通信系统中, 由于通信信道不稳定以及多径干扰导致的 通信信道快衰落使得通信链路的保护倒换会频繁发生,此时通信链路的数据业 务可以通过无损伤切换模块 ( Hitless Switch Module, 简称: HSM )确保业务 无误码, 并确保服务质量无损伤。
发明人在实施本发明的过程中发现,现有技术至少存在如下缺陷: 由于在 无线通信系统中同一个报文在主链路和备链路上的发送时刻难以做到完全相 同, 致使同一个报文的接收时刻也不完全相同。 发明内容
本发明实施例的目的在于提供一种报文同步方法、装置及系统,在无线通 信系统中对主链路和备链路传输的报文进行报文同步处理, 提高报文同步精 度。 本发明实施例提供了一种报文同步方法, 包括:
获取在主链路上传输的第一报文的第一发送时戳,以及获取在备链路传输 的第一报文的第二发送时戳;
根据所述第一发送时戳和第二发送时戳计算得到所述第一发送时戳与第 二发送时戳的时刻偏差;
在所述主链路上传输的第一报文和在所述备链路上传输的第一报文中增 加字节,将所述时刻偏差设置于所述字节中,分别形成在主链路上传输的第二 报文和在备链路上传输的第二报文;
在主链路和备链路上分别向接收端发送第二报文,使所述接收端在主链路 上传输的第二报文出现故障时,选择从备链路上传输的第二报文,通过第二报 文中的时刻偏差对备链路上的第二接收时戳进行修正,并对选择后的第二报文 去除增加的字节得到第一>¾文。
本发明实施例还提供了一种报文同步方法, 包括:
接收来自主链路上传输的第二报文,以及接收来自备链路上传输的第二报 文,所述主链路上传输的第二报文与所述备链路上传输的第二报文均设有用于 设置时刻偏差的字节,所述时刻偏差为发送端在所述备链路上发送第二报文时 的第二发送时戳与在所述主链路上发送第二报文时的第一发送时戳的差值; 获取在接收从所述主链路上传输的第二报文时的第一接收时戳,以及获取 在接收从所述备链路上传输的第二报文时的第二接收时戳;
对所述主链路上传输的第二报文和所述备链路上传输的第二报文进行选 择,若主链路上传输的第二报文出现故障,则选择从备链路上传输的第二报文, 通过第二报文中的时刻偏差对备链路上的第二接收时戳进行修正,并对选择后 的第二报文去除增加的字节得到第一报文。
本发明实施例还提供了一种报文同步装置, 包括:
获取模块, 用于获取在主链路上传输的第一报文的第一发送时戳, 以及获 取在备链路传输的第一报文的第二发送时戳;
计算模块,用于根据所述第一发送时戳和第二发送时戳计算得到所述第一 发送时戳与第二发送时戳的时刻偏差; 设置模块,用于在所述主链路上传输的第一报文和在所述备链路上传输的 第一报文中增加字节,将所述时刻偏差设置于所述字节中,分别形成在主链路 上传输的第二报文和在备链路上传输的第二报文;
发送模块, 用于在主链路和备链路上分别向接收端发送第二报文,使所述 接收端在主链路上传输的第二报文出现故障时,选择从备链路上传输的第二报 文,通过第二报文中的时刻偏差对备链路上的第二接收时戳进行修正, 并对选 择后的第二报文去除增加的字节得到第一报文。
本发明实施例还提供了一种报文同步装置, 包括:
接收模块, 用于接收来自主链路上传输的第二报文, 以及接收来自备链路 上传输的第二报文,所述主链路上传输的第二报文与所述备链路上传输的第二 报文均设有用于设置时刻偏差的字节,所述时刻偏差为发送端在所述备链路上 发送第二报文时的第二发送时戳与在所述主链路上发送第二报文时的第一发 送时戳的差值;
获取模块,用于获取在接收从所述主链路上传输的第二报文时的第一接收 时戳, 以及获取在接收从所述备链路上传输的第二报文时的第二接收时戳; 选择模块,用于对所述主链路上传输的第二报文和所述备链路上传输的第 二报文进行选择,若主链路上传输的第二报文出现故障, 则选择从备链路上传 输的第二报文,通过第二报文中的时刻偏差对备链路上的第二接收时戳进行修 正, 并对选择后的第二报文去除增加的字节得到第一报文。
本发明实施例还提供了一种报文同步系统, 包括:发送端和接收端,其中, 所述发送端, 用于获取在主链路上传输的第一报文的第一发送时戳, 以及 获取在备链路传输的第一报文的第二发送时戳;根据所述第一发送时戳和第二 发送时戳计算得到所述第一发送时戳与第二发送时戳的时刻偏差;在所述主链 路上传输的第一报文和在所述备链路上传输的第一报文中增加字节,将所述时 刻偏差设置于所述字节中,分别形成在主链路上传输的第二报文和在备链路上 传输的第二报文; 在主链路和备链路上分别向接收端发送第二报文;
所述接收端, 用于接收来自主链路上传输的第二报文, 以及接收来自备链 路上传输的第二报文,所述主链路上传输的第二报文与所述备链路上传输的第 二报文均设有用于设置时刻偏差的字节,所述时刻偏差为发送端在所述备链路 上发送第二报文时的第二发送时戳与在所述主链路上发送第二报文时的第一 发送时戳的差值;获取在接收从所述主链路上传输的第二报文时的第一接收时 戳, 以及获取在接收从所述备链路上传输的第二报文时的第二接收时戳; 对所 述主链路上传输的第二报文和所述备链路上传输的第二报文进行选择,若主链 路上传输的第二报文出现故障, 则选择从备链路上传输的第二报文,通过第二 报文中的时刻偏差对备链路上的第二接收时戳进行修正,并对选择后的第二报 文去除增加的字节得到第一报文。
上述本发明实施例提供的报文同步方法、装置及系统,通过在第一报文中 增加字节, 并将第一发送时戳和第二发送时戳的时刻偏差设置在字节中, 由于 分别在主链路和备链路上传输设置有字节的第二报文,若主链路上传输的第二 报文出现故障, 则选择从备链路上传输的第二报文,通过第二报文中的时刻偏 差对备链路上的第二接收时戳进行修正,并对选择后的第二报文去除增加的字 节得到第一报文, 实现报文的同步处理; 并且, 由于时刻偏差为第一发送时戳 与第二发送时戳的差值,该差值精确的获取了发送报文时刻的差别, 因此通过 该时刻偏差提高了报文同步的精度。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付 出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。
图 1为本发明报文同步方法一个实施例的流程示意图;
图 2为本发明报文同步方法又一个实施例的流程示意图;
图 3为图 2所示实施例中的增加字节后形成的第二 文的结构示意图; 图 4为本发明报文同步方法另一个实施例的流程示意图;
图 5为本发明报文同步方法再一个实施例的流程示意图;
图 6为本发明报文同步装置一个实施例的结构示意图;
图 7为本发明报文同步装置又一个实施例的结构示意图;
图 8为本发明报文同步系统一个实施例的结构示意图;
图 9为本发明 文同步系统又一个应用实施例的结构示意图;
图 10为图 9所示实施例中时戳关系示意图。 具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
在 HSM保护倒换过程中, 主链路和备链路两个链路分别通过前向误码纠 错(Forward Error Correction, 简称: FEC )后得到两个纠错后的数据流和不可 纠指示。 由于主链路和^^路上的干扰不是同时发生的, 因此同一段数据在主 链路和备链路上的纠错程度并不相同。 具体地, 在某一时刻, 主链路的数据完 全正确, 但备链路的数据不可纠; 或者, 主链路的数据不可纠, 而备链路的数 据完全正确。 由于同一段数据在主链路和备链路上同时错误的概率非常小, HSM根据每一段数据的纠错情况进行二选一, 从而提高整个通信链路的服务 质量。 此外, 由于主链路和备链路的延时并不相同, HSM进行二选一之前还 要通过先进先出 ( First In First Out, 简称: FIFO )进行延时补偿以对齐主链路 和备链路的延时差, 对齐后数据根据 HSM进行选择。
图 1为本发明^¾文同步方法一个实施例的流程示意图,如图 1所示,本实施 例包括如下步骤:
步骤 101、 发送端获取在主链路上传输的第一报文的第一发送时戳, 以及 获取在备链路传输的第一报文的第二发送时戳;
步骤 102、 发送端根据第一发送时戳和第二发送时戳计算得到第一发送时 戳与第二发送时戳的时刻偏差;
步骤 103、 发送端在主链路上传输的第一报文和在备链路上传输的第一报 文中增加字节,将时刻偏差设置于字节中,分别形成在主链路上传输的第二报 文和在备链路上传输的第二报文;
步骤 104、 发送端在主链路和备链路上分别向接收端发送第二报文, 使接 收端在主链路上传输的第二报文出现故障时, 选择从备链路上传输的第二报 文,通过第二报文中的时刻偏差对备链路上的第二接收时戳进行修正, 并对选 择后的第二报文去除增加的字节得到第一报文。
本发明实施例中的第一报文具体可以为原始的 1588V2报文。
本发明实施例提供的报文同步方法,通过在第一报文中增加字节, 并将第 一发送时戳和第二发送时戳的时刻偏差设置在字节中,当在主链路上传输的第 二报文出现故障时,接收端选择从备链路上传输的第二报文,通过第二报文中 的时刻偏差对备链路上的第二接收时戳进行修正,并对选择后的在备链路上传 输的第二报文去除增加的字节得到第一报文, 实现了报文的同步处理; 并且, 由于时刻偏差为第一发送时戳与第二发送时戳的差值,该差值精确的获取了发 送报文时刻的差别, 因此通过该时刻偏差提高了报文同步的精度。
图 2为本发明报文同步方法又一个实施例的流程示意图, 图 3为图 2所示实 施例中的增加字节后形成的第二 文的结构示意图, 如图 2所示, 本实施例包 括如下步骤:
步骤 201、 发送端获取在主链路上传输的第一报文的第一发送时戳, 以及 获取在备链路传输的第一报文的第二发送时戳;
步骤 202、 发送端计算第二发送时戳和第一发送时戳的差值, 将该差值作 为时刻偏差;
步骤 203、 发送端在主链路上传输的第一报文和备链路上传输的第一报文 的尾部增加字段形成字节,将时刻偏差设置于该字节中,分别形成在主链路上 传输的第二报文和在备链路上传输的第二报文;
步骤 204、 发送端在主链路和备链路上分别向接收端发送第二报文, 使接 收端在主链路上传输的第二报文出现故障时, 选择从备链路上传输的第二报 文,通过第二报文中的时刻偏差对备链路上的第二接收时戳进行修正, 并对选 择后的第二报文去除增加的字节得到第一报文。
上述步骤 201中, 第一报文具体可以为原始的 1588V2报文, 具体地, 在通 过主链路和备链路传输 1588V2报文时, 分别获取 1588V2报文在主链路和备链 路发送时的发送时戳, 即主链路上的第一发送时戳 tl, 以及备链路上的第二发 时戳记录下来, 获取到主链路上的第一发送时戳 tl和备链路上的第二发送时戳 Tl。
上述步骤 202中, 发送端通过获取得到的的第一发送时戳 tl和第二发送时 戳 Tl, 计算得到第二发送时戳 Tl和第一发送时戳 tl的差值 tdiff=Tl-tl, 将该差 值作为时刻偏差; 此外, 由于在备链路上传输的 1588V2报文是通过主链路转 发的, 因此在备链路上发送 1588V2报文时获取的第二发送时戳 T1与在主链路 上发送 1588V2报文时获取得到的第一发送时戳 tl相比要有延迟,即第二发送时 戳 T1大于第一发送时戳 tl, 因此通过第一发送时戳 tl和第二发送时戳 Tl得到的 时刻偏差 tdiff=Tl-tl为正值。 当然,也可以通过 tdiff=tl-Tl得到为负值的时刻偏 差。
上述步骤 203中, 第二 文具体可以为尾部增加了字节的 1588 2"¾文。 具 体地, 由于在获取第一发送时戳时, 1588V2报文只是报文头部发送出去, 1588V2报文的尾部还在等待发送,因此发送端将主链路的第一发送时戳 tl作为 事件报文的发送时刻,同时在原始的 1588V2报文的尾部增加字节,如图 3所示, 原始的 1588V2报文中已经设置有第一发送时戳 tl, 通过在原始的 1588V2报文 的尾部增加用于设置时刻偏差的字节,使得接收端在通过主链路和备链路接收 尾部增加字节的 1588V2报文后可以直接通过提取 1588V2报文的尾部信息获取 到时刻偏差 tdiff。
上述步骤 204中, 由于设置有时刻偏差 tdiff的 1588V2报文通过主链路和备 链路分别发送给接收端, 当主链路发生故障从而使得在主链路上传输的 1588V2报文出现错误时, 使得通过备链路传输的 1588V2报文与在主链路上传 输的 1588V2报文相同, 则接收端同样可以通过备链路接收到与主链路上传输 的 1588V2报文内容相同的 1588V2报文; 由于 1588 V2报文中携带有主链路上的 第一发送时戳 tl, 当将该时刻偏差 tdiff没置在 1588V2报文的尾部后, 若主链路 上的 1588V2报文出现错误不可纠, 则接收端通过备链路接收到尾部增加字节 的 1588V2报文, 接收端在备链路上接收报文的第二接收时戳 T2与在主链路上 接收报文的第一接收时戳 t2具有关系式: T2 - t2 = tdiff, 接收端通过时刻偏差 可以实现对备链路上传输的报文与主链路上传输的报文同步; 并且, 由于时刻 偏差为第一发送时戳 tl与第二发送时戳 T 1的差值,该差值精确的获取了发送报 文时刻的差别, 因此通过该时刻偏差 tdiff提高了报文同步的精度。
本发明实施例提供的报文同步方法,通过在第一报文的尾部增加字节, 并 将第一发送时戳和第二发送时戳的时刻偏差设置在字节中,并分别在主链路和 备链路上分别传输设置有字节的第二报文, 若主链路上的报文出现错误不可 纠,则接收端根据时刻偏差能够对从备链路上接收报文时的第二接收时戳进行 调整从而得到与从主链路上接收报文时的第一接收时戳相同的接收时戳,实现 对备链路上传输的报文与主链路上传输的报文同步,由于时刻偏差为第一发送 时戳 tl与第二发送时戳 T1的差值, 该差值精确的获取了发送报文时刻的差别, 因此通过该时刻偏差 tdiff提高了报文同步的精度。
图 4为本发明报文同步方法另一个实施例的流程示意图,如图 4所示,本实 施例包括如下步骤:
步骤 401、 接收端接收来自主链路上传输的第二报文, 以及接收来自备链 路上传输的第二报文,其中, 主链路上传输的第二报文与备链路上传输的第二 报文均设有用于设置时刻偏差的字节,时刻偏差为发送端在备链路上发送第二 报文时的第二发送时戳与在主链路上发送第二报文时的第一发送时戳的差值; 步骤 402、 接收端获取在接收从主链路上传输的第二报文时的第一接收时 戳, 以及获取在接收从备链路上传输的第二报文时的第二接收时戳;
步骤 403、 接收端对主链路上传输的第二报文和备链路上传输的第二报文 进行选择,若主链路上传输的第二报文出现故障, 则选择从备链路上传输的第 二报文,通过第二报文中的时刻偏差对备链路上的第二接收时戳进行修正, 并 对选择后的第二报文去除增加的字节得到第一报文。
本发明实施例提供的报文同步方法,接收端通过获取在接收从主链路上传 输的第二报文时的第一接收时戳,以及获取在接收从备链路上传输的第二报文 时的第二接收时戳,若主链路上传输的第二报文出现错误并且不可以纠正, 则 选择从备链路上传输的第二报文,通过第二报文中的时刻偏差对备链路上的第 二接收时戳进行修正,从而使接收端在主链路和备链路上能得到相同的接收时 戳, 实现报文的同步处理; 并且, 由于时刻偏差为第一发送时戳与第二发送时 戳的差值,该差值精确的获取了发送报文时刻的差别, 因此通过该时刻偏差提 高了报文同步的精度。
图 5为本发明"¾文同步方法再一个实施例的流程示意图,如图 5所示,本实 施例包括如下步骤:
步骤 501、 接收端接收来自主链路上传输的第二报文, 以及接收来自备链 路上传输的第二报文,其中, 主链路上传输的第二报文与备链路上传输的第二 报文均设有用于设置时刻偏差的字节,时刻偏差为发送端在备链路上发送第二 报文时的第二发送时戳与在主链路上发送第二报文时的第一发送时戳的差值; 步骤 502、 接收端获取在接收从主链路上传输的第二报文时的第一接收时 戳, 以及获取在接收从备链路上传输的第二报文时的第二接收时戳; 步骤 503、 接收端对主链路上传输的第二报文和备链路上传输的第二报文 进行选择,若主链路上传输的第二报文出现故障, 则选择从备链路上传输的第 二报文,通过第二报文中的时刻偏差对备链路上的第二接收时戳进行修正, 并 对选择后的第二报文去除增加的字节得到第一报文;若主链路上传输的第二报 文未出现故障,选择从述主链路上传输的第二报文,将主链路上传输的第二报 文中设置的所述时刻偏差的字节去除, 得到第一报文。
上述步骤 501中, 第二报文具体可以为发送端发送的尾部设有用于设置时 刻偏差的字节的 1588V2报文,时刻偏差 tdiff为发送端在备链路上发送第二报文 时的第二发送时戳 T1与在主链路上发送第二报文时的第一发送时戳 tl的差值。
上述步骤 502中, 当接收端接收到从主链路上传输的 1588V2报文时获取该 接收时戳, 即第一接收时戳 t2,接收端在接收到从备链路上传输的 1588V2报文 时获取该接收时戳, 即第二接收时戳 T2, 具体地, 可以分别将 1588V2报文在 主链路和备链路接收时的接收时戳记录下来,获取到主链路上的第一接收时戳 t2和备链路上的第二接收时戳 T2。
上述步骤 503中, 若接收端对从主链路和备链路上传输的第二报文进行无 错误选择,选择从主链路上传输的 1588V2报文, 则将第一接收时戳 t2作为同步 时戳, 并将主链路上传输的第二报文中设置有时刻偏差的字节去除,得到第一 且不可以纠正, 则选择从备链路上传输的 1588V2报文, 由于第一接收时戳 t2 与第二接收时戳 T2存在如下关系: t2 = T2 - tdiff, 因此当选择将备链路上传输 的 1588V2报文作为接收报文时, 通过将第二接收时戳 T2进行修正, 得到了与 从主链路上传输的 1588V2报文相同的同步时戳,也即第一接收时戳 t2,从而实 现了主链路和备链路上的报文同步; 由于第二报文是发送端在原始的 1588V2 报文的尾部增加了字节后形成的, 因此在接收端获取 1588V2报文的尾部设置 的字节中的时刻偏差 tdiff后, 将该字节去除, 则得到了原始的 1588V2>^艮文。
本发明实施例提供的报文同步方法,接收端通过获取在接收从主链路上传 输的第二报文时的第一接收时戳,以及获取在接收从备链路上传输的第二报文 时的第二接收时戳,若选择从主链路上传输的第二报文, 则将第一接收时戳作 为同步时戳,若主链路上的报文出现错误不可纠, 则接收端选择从备链路上传 输的第二报文, 则将第二接收时戳根据时刻偏差进行修正, 得到同步时戳, 实 现对备链路上传输的报文与主链路上传输的报文同步,由于时刻偏差为第一发 送时戳 ti与第二发送时戳 T1的差值, 该差值精确的获取了发送报文时刻的差 别, 因此通过该时刻偏差 tdiff提高了报文同步的精度。
图 6为本发明报文同步装置一个实施例的结构示意图,如图 6所示,本实施 例包括: 获取模块 61、 计算模块 62、 设置模块 63、 发送模块 64。
其中,获取模块 61获取在主链路上传输的第一报文的第一发送时戳, 以及 获取在备链路传输的第一报文的第二发送时戳; 计算模块 62根据获取模块 61 获取的第一发送时戳和第二发送时戳计算得到第一发送时戳与第二发送时戳 的时刻偏差;设置模块 63在主链路上传输的第一报文和在备链路上传输的第一 报文中增加字节,将计算模块 62计算得到的时刻偏差设置于所述字节中,分别 形成在主链路上传输的第二报文和在备链路上传输的第二报文; 发送模块 64 在主链路和备链路上分别向接收端发送第二报文,使接收端在主链路上传输的 第二报文出现故障时,选择从备链路上传输的第二报文,通过第二报文中的时 刻偏差对备链路上的第二接收时戳进行修正,并对选择后的第二报文去除增加 的字节得到第一"¾文。
本发明实施例中, 第一报文具体可以为原始的 1588V2报文, 第二报文相 应地可以为在原始的 1588V2尾部增加了字节的报文。
本发明实施例提供的报文同步装置,设置模块 63通过在第一报文中增加字 节, 并将第一发送时戳和第二发送时戳的时刻偏差设置在字节中, 由于分别在 主链路和备链路上传输设置有字节的第二报文,从而使接收第二报文的接收端 根据第二报文中的时刻偏差对 路上的第二接收时戳进行修正,当主链路由 于故障使得主链路上传输的第二报文出现错误并不可纠时,接收端可以通过备 链路接收第二报文,并通过第二报文中的时刻偏差对备链路上的第二接收时戳 进行修正,从而使接收端在主链路和备链路上能得到相同的接收时戳, 实现报 文的同步处理; 并且, 由于时刻偏差为第一发送时戳与第二发送时戳的差值, 该差值精确的获取了发送报文时刻的差别,因此通过该时刻偏差提高了报文同 步的精度。
进一步地, 在上述图 6所示实施例的基 上, 计算模块 62还可以包括: 差 值计算单元, 差值计算单元计算得到第一发送时戳和第二发送时戳的差值,将 该差值作为时刻偏差。 进一步地, 在上述图 6所示实施例的基 上, 设置模块 63还可以包括: 增 加单元和设置单元; 其中,增加单元在主链路上传输的第一报文和所述备链路 上传输的第一报文的尾部增加字段形成字节;设置单元将时刻偏差设置于所述 字节中, 分别形成在主链路上传输的第二报文和在备链路上传输的第二报文。 通过将时刻偏差设置在第二报文的尾部,使得接收端在接收到第二报文后直接 通过提取报文的尾部信息即可获取到时刻偏差。
图 7为本发明报文同步装置又一个实施例的结构示意图,如图 7所示,本实 施例包括: 接收模块 71、 获取模块 72、 选择模块 73。
其中,接收模块 71接收来自主链路上传输的第二报文, 以及接收来自备链 路上传输的第二报文,其中, 主链路上传输的第二报文与备链路上传输的第二 报文均设有用于设置时刻偏差的字节,时刻偏差为发送端在备链路上发送第二 报文时的第二发送时戳与在主链路上发送第二报文时的第一发送时戳的差值; 获取模块 72获取接收模块 71在接收从主链路上传输的第二报文时的第一接收 时戳, 以及获取在接收从备链路上传输的第二报文时的第二接收时戳; 选择模 块 73对接收模块 71接收到的主链路上传输的第二报文和备链路上传输的第二 报文进行选择,若主链路上传输的第二报文出现故障, 则选择从备链路上传输 的第二报文,通过第二报文中的时刻偏差对备链路上的获取模块 72获取的第二 接收时戳进行修正, 并对选择后的第二报文去除增加的字节得到第一报文。
本发明实施例中, 第一报文具体可以为 1588 V2报文, 第二报文相应地可 以为在 1588V2尾部增加了字节的^艮文。
本发明实施例提供的报文同步装置,获取模块 72通过获取在接收从主链路 上传输的第二报文时的第一接收时戳,以及获取在接收从备链路上传输的第二 报文时的第二接收时戳,若主链路出现故障从而使得主链路上传输的第二报文 出现错误并且不可以纠正, 则选择模块 73选择从备链路上传输的第二报文,通 过第二报文中的时刻偏差对备链路上的第二接收时戳进行修正,从而使接收端 在主链路和备链路上能得到相同的接收时戳, 实现报文的同步处理; 并且, 由 于时刻偏差为第一发送时戳与第二发送时戳的差值,该差值精确的获取了发送 报文时刻的差别, 因此通过该时刻偏差提高了报文同步的精度。
图 8为本发明报文同步系统一个实施例的结构示意图,如图 8所示本实施例 包括: 发送端 81和接收端 82。 其中,发送端 81获取在主链路上传输的第一报文的第一发送时戳, 以及获 取在备链路传输的第一报文的第二发送时戳;根据第一发送时戳和第二发送时 戳计算得到第一发送时戳与第二发送时戳的时刻偏差;在主链路上传输的第一 报文和在备链路上传输的第一报文中增加字节,将时刻偏差设置于字节中, 分 别形成在主链路上传输的第二报文和在备链路上传输的第二报文;在主链路和 路上分别向接收端 82发送第二报文;
接收端 82接收来自发送端 81从自主链路上传输的第二报文,以及接收来自 发送端 81从备链路上传输的第二报文;获取在接收从主链路上传输的第二报文 时的第一接收时戳,以及获取在接收从备链路上传输的第二报文时的第二接收 时戳; 对主链路上传输的第二报文和备链路上传输的第二报文进行选择,若主 链路上传输的第二报文出现故障, 则选择从备链路上传输的第二报文,通过第 二报文中的时刻偏差对备链路上的第二接收时戳进行修正,并对选择后的第二 报文去除增加的字节得到第一报文。
本发明实施例中, 第一报文具体可以为 1588 V2报文, 第二报文相应地可 以为在 1588V2尾部增加了字节的^艮文。
本发明实施例提供的报文同步系统, 发送端 81过在第一报文中增加字节, 并将第一发送时戳和第二发送时戳的时刻偏差设置在字节中,由于分别在主链 路和备链路上传输设置有字节的第二报文, 从而使接收第二报文的接收端 82 根据第二报文中的时刻偏差能够获取到备链路上的第二发送时戳,当主链路上 的第二报文出现错误并不可纠时,接收端 82可以通过备链路接收第二报文, 并 通过第二报文中的时刻偏差对备链路上的第二接收时戳进行修正,从而使接收 端 82在主链路和^ ^路上能得到相同的接收时戳,实现报文的同步处理;并且, 由于时刻偏差为第一发送时戳与第二发送时戳的差值,该差值精确的获取了发 送报文时刻的差别, 因此通过该时刻偏差提高了报文同步的精度。
在上述图 8所示实施例的基石出上,若主链路上传输的第二报文未出现故障, 则接收端 82选择从主链路上传输的第二报文,将主链路上传输的第二报文中设 置的所述时刻偏差的字节去除, 得到第一>¾文。
图 9为本发明报文同步系统一个应用实施例的结构示意图,图 10为图 9所示 实施例中时戳关系示意图; 该实施例以 1588V2报文为例进行伴细说明。
如图 9所示, 在该报文同步系统中, 在主链路和备链路的两侧分别为接收 端和发送端, 其中, 发送端由第一主板 91和第一备板 92组成, 接收端由第二主 板 93和第二备板 94组成。 在发送端, 第一主板 91通过主链路发送模块 911获取 得到第一发送时戳 tl, 第一备板 92通过备链路发送模块 921获取得到第二发送 时戳 Tl, 将第一发送时戳 tl作为发送端的 1588V2报文的发送时戳设置在 1588V2报文中,将主链路和^ ^路的时刻偏差 tdiff=Tl-tl设置在 1588V2报文尾 部新增加的字节中; 将设置有时刻偏差的 1588V2报文同时从第一主板 91的主 链路发送模块 911和第一备板 92上的备链路发送模块 921分别经由主链路和备 链路发送到接收端。
在接收端, 第二主板 93上的主链路接收模块 931接收从主链路上传输的设 置有时刻偏差的 1588V2报文, 第二备板 94上的备链路接收模块 941接收从备链 路上传输的设置有时刻偏差的 1588V2报文。 第二备板 94将备链路接收模块 941 接收到的设置有时刻偏差的 1588V2报文发送到第二主板 93上, 由第二主板 93 上的第二 HSM932根据从主链路接收模块 931和备链路接收模块 941接收到的 设置有时刻偏差的 1588V2报文根据报文错误情况进行二选一, 选择完成后将 选择得到的主链路接收模块 931接收到的或者备链路接收模块 941接收到的设 置有时刻偏差的 1588V2报文送给 1588端口进行 1588V2报文处理。
如图 10所示, 第一主板 91通过主链路发送模块 911获取到第一发送时戳 tl, 第一备板 92通过备链路发送模块 921获取到第二发送时戳 T1; 发送端的 1588端 口将在主链路上传输的第一发送时戳 tl作为发送端的 1588V2报文的发送时戳, 将主链路和备链路的时刻偏差 tdiff=Tl-tl设置在 1588V2报文尾部新增加的字 节中。 1588V2报文通过主链路和备链路传输到达接收端后, 第二主板 93通过 主链路接收模块 931获取得到第一接收时戳 t2, 第二备板 94通过备链路接收模 块 941获取得到第二接收时戳 T2,则主链路延时为: t2-tl,备链路延时为: T2-T1, 由于 1588V2报文在主链路和备链路上传输的延时相同, 因此 t2-tl = T2-T1, 进 而 Tl-tl = T2-t2, 即 tdiff= T2-t2, 从而可以在接收端对备链路传输的第二接收 时戳 T2进行修正, 修正后的第二备板 84上的修正接收时戳为 T2 - tdiff, 当主链 正, 由于第一接收时戳 t2与第二接收时戳 T2存在如下关系: t2 = T2 - tdiff, 因 此当选择将备链路上传输的 1588V2报文作为接收报文时, 通过将第二接收时 戳 T2进行修正, 得到了与从主链路上传输的 1588V2报文相同的接收的第一接 收时戳 t2,从而实现了主链路和备链路上的报文同步;并且,由于时刻偏差 tdiff 为第一发送时戳 11与第二发送时戳 T2的差值,该差值精确的获取了发送报文时 刻的差别, 因此通过该时刻偏差 tdiff提高了报文同步的精度。
本发明实施例仅以 1588V2报文为例, 该方法并不限于 1588V2报文, 通过 该方法能够实现报文通过均为本发明实施例所保护的范围。
本领域普通技术人员可以理解:实现上述实施例的全部或部分步骤可以通 过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介 质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述的存储介质 包括: ROM、 RAM, 磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其限 制; 尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员 应当理解: 其依然可以对前述各实施例所记载的技术方案进行修改,或者对其 中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技术方案的 本质脱离本发明各实施例技术方案的精神和范围。

Claims

权 利 要 求
1、 一种报文同步方法, 其特征在于, 包括:
获取在主链路上传输的第一报文的第一发送时戳,以及获取在备链路传输 的第一报文的第二发送时戳;
根据所述第一发送时戳和第二发送时戳计算得到所述第一发送时戳与第 二发送时戳的时刻偏差;
在所述主链路上传输的第一报文和在所述备链路上传输的第一报文中增 加字节,将所述时刻偏差设置于所述字节中,分别形成在主链路上传输的第二 报文和在备链路上传输的第二报文;
在主链路和备链路上分别向接收端发送第二报文,使所述接收端在主链路 上传输的第二报文出现故障时, 通过^ ^路上传输的第二报文中的时刻偏差, 对备链路上的第二接收时戳进行修正, 并去除增加的字节得到第一报文。
2、 根据权利要求 1所述的方法, 其特征在于, 所述第一报文为 1588V2报 文。
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述根据所述第一发送 时戳和第二发送时戳计算得到所述第一发送时戳与第二发送时戳的时刻偏差 包括:
计算所述第一发送时戳与第二发送时戳的差值, 将所述差值作为时刻偏 差。
4、 根据权利要求 1或 2所述的方法, 其特征在于, 所述在主链路和备链路 上分别向接收端发送第二报文,使所述接收端在主链路上传输的第二报文出现 故障时,通过备链路上传输的第二报文中的时刻偏差,对备链路上的第二接收 时戳进行修正, 并去除增加的字节得到第一报文包括:
在所述主链路上传输的第一报文和所述备链路上传输的第一报文的尾部 增加字段形成字节,将所述时刻偏差设置于所述字节中,分别形成在主链路上 传输的第二报文和在备链路上传输的第二报文。
5、 一种报文同步方法, 其特征在于, 包括:
接收来自主链路上传输的第二报文,以及接收来自备链路上传输的第二报 文,所述主链路上传输的第二报文与所述备链路上传输的第二报文均设有用于 设置时刻偏差的字节,所述时刻偏差为发送端在所述备链路上发送第二报文时 的第二发送时戳与在所述主链路上发送第二报文时的第一发送时戳的差值; 获取在接收从所述主链路上传输的第二报文时的第一接收时戳,以及获取 在接收从所述备链路上传输的第二报文时的第二接收时戳;
对所述主链路上传输的第二报文和所述备链路上传输的第二报文进行选 择,若主链路上传输的第二报文出现故障,则选择从备链路上传输的第二报文, 通过第二报文中的时刻偏差对备链路上的第二接收时戳进行修正,并对选择后 的第二报文去除设置所述时刻偏差的字节得到第一报文。
6、 根据权利要求 5所述的方法, 其特征在于, 还包括:
若主链路上传输的第二报文未出现故障,选择从所述主链路上传输的第二 报文,将所述主链路上传输的第二报文中设置所述时刻偏差的字节去除,得到 第一报文。
7、 一种 文同步装置, 其特征在于, 包括:
获取模块, 用于获取在主链路上传输的第一报文的第一发送时戳, 以及获 取在备链路传输的第一报文的第二发送时戳;
计算模块,用于根据所述第一发送时戳和第二发送时戳计算得到所述第一 发送时戳与第二发送时戳的时刻偏差;
设置模块,用于在所述主链路上传输的第一报文和在所述备链路上传输的 第一报文中增加字节,将所述时刻偏差设置于所述字节中,分别形成在主链路 上传输的第二报文和在备链路上传输的第二报文;
发送模块, 用于在主链路和备链路上分别向接收端发送第二报文,使所述 接收端在主链路上传输的第二报文出现故障时,选择从备链路上传输的第二报 文,通过第二报文中的时刻偏差对备链路上的第二接收时戳进行修正, 并对选 择后的第二报文去除增加的字节得到第一报文。
8、 根据权利要求 7所述的装置, 其特征在于, 所述设置模块包括: 增加单元,用于在所述主链路上传输的第一报文和所述备链路上传输的第 一报文的尾部增加字段形成字节;
设置单元, 用于将所述时刻偏差设置于所述字节中,分别形成在主链路上 传输的第二报文和在备链路上传输的第二报文。
9、 一种 文同步装置, 其特征在于, 包括: 接收模块, 用于接收来自主链路上传输的第二报文, 以及接收来自备链路 上传输的第二报文,所述主链路上传输的第二报文与所述备链路上传输的第二 报文均设有用于设置时刻偏差的字节,所述时刻偏差为发送端在所述备链路上 发送第二报文时的第二发送时戳与在所述主链路上发送第二报文时的第一发 送时戳的差值;
获取模块,用于获取接收从所述主链路上传输的第二报文时的第一接收时 戳, 以及获取接收从所述备链路上传输的第二报文时的第二接收时戳;
选择模块,用于对所述主链路上传输的第二报文和所述备链路上传输的第 二报文进行选择,若主链路上传输的第二报文出现故障, 则选择从备链路上传 输的第二报文,通过第二报文中的时刻偏差对备链路上的第二接收时戳进行修 正, 并对选择后的第二报文去除增加的字节得到第一报文。
10、 一种报文同步系统, 其特征在于, 包括: 发送端和接收端, 所述发送端, 用于获取在主链路上传输的第一报文的第一发送时戳, 以及 获取在备链路传输的第一报文的第二发送时戳;根据所述第一发送时戳和第二 发送时戳计算得到所述第一发送时戳与第二发送时戳的时刻偏差;在所述主链 路上传输的第一报文和在所述备链路上传输的第一报文中增加字节,将所述时 刻偏差设置于所述字节中,分别形成在主链路上传输的第二报文和在备链路上 传输的第二报文; 在主链路和备链路上分别向接收端发送第二报文;
所述接收端, 用于接收来自主链路上传输的第二报文, 以及接收来自备链 路上传输的第二报文;获取接收从所述主链路上传输的第二报文时的第一接收 时戳, 以及获取接收从所述备链路上传输的第二报文时的第二接收时戳; 对所 述主链路上传输的第二报文和所述备链路上传输的第二报文进行选择,若主链 路上传输的第二报文出现故障, 则选择从备链路上传输的第二报文,通过第二 报文中的时刻偏差对备链路上的第二接收时戳进行修正,并对选择后的第二报 文去除增加的字节得到第一报文。
PCT/CN2010/075413 2009-07-30 2010-07-23 报文同步方法、装置及系统 WO2011012057A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP10803890.2A EP2461487B1 (en) 2009-07-30 2010-07-23 Message synchronization method, apparatus and system
US13/361,457 US9143584B2 (en) 2009-07-30 2012-01-30 Message synchronization method, apparatus and system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910089982.5 2009-07-30
CN2009100899825A CN101989906B (zh) 2009-07-30 2009-07-30 报文同步方法、装置及系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/361,457 Continuation US9143584B2 (en) 2009-07-30 2012-01-30 Message synchronization method, apparatus and system

Publications (1)

Publication Number Publication Date
WO2011012057A1 true WO2011012057A1 (zh) 2011-02-03

Family

ID=43528765

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/075413 WO2011012057A1 (zh) 2009-07-30 2010-07-23 报文同步方法、装置及系统

Country Status (4)

Country Link
US (1) US9143584B2 (zh)
EP (1) EP2461487B1 (zh)
CN (1) CN101989906B (zh)
WO (1) WO2011012057A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102137012A (zh) * 2011-02-21 2011-07-27 华为技术有限公司 一种保证tdm pwe3链路可靠性的方法、系统及设备

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BR112013009402B1 (pt) 2012-02-21 2022-04-26 Huawei Technologies Co., Ltd Método e dispositivo para compensação para um percurso de tempo
US10191509B2 (en) * 2016-04-01 2019-01-29 Fujitsu Limited Information processing device, information processing method, and computer readable storage medium
WO2018119705A1 (zh) * 2016-12-27 2018-07-05 华为技术有限公司 上行通道间的传输时延差检测方法、olt及系统
CA3078834A1 (en) 2017-10-13 2019-04-18 Huawei Technologies Co., Ltd. Method and apparatus for sending and receiving clock synchronization packet
CN113574826B (zh) * 2019-03-11 2023-06-02 华为技术有限公司 交互时钟同步报文的方法及装置
CN112713963A (zh) * 2020-12-16 2021-04-27 北京华环电子股份有限公司 信号无损保护方法、装置、信号接收器及可读存储介质
CN112822048B (zh) * 2021-01-04 2022-05-17 烽火通信科技股份有限公司 一种无损保护倒换实现方法与系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1491000A (zh) * 2002-10-15 2004-04-21 华为技术有限公司 实现主设备和备用设备倒换后rtp流连续性的方法
US20070076765A1 (en) * 2005-08-19 2007-04-05 Invensys Systems, Inc. Redundant time synchronization
WO2007098775A1 (de) * 2006-02-22 2007-09-07 Siemens Enterprise Communications Gmbh & Co. Kg. Verfahren und einrichtungen zum übermitteln von sendezeit- oder empfangszeitinformation einer gesendeten oder empfangenen nachricht
CN101459502A (zh) * 2007-12-13 2009-06-17 华为技术有限公司 一种网络时钟同步的方法与装置

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4416720C1 (de) * 1994-05-11 1995-03-23 Siemens Ag Verfahren und Schaltungsanordnung zum Synchronisieren von redundant übertragenen Nachrichtenzellenströmen
US5822317A (en) * 1995-09-04 1998-10-13 Hitachi, Ltd. Packet multiplexing transmission apparatus
DE69634769T2 (de) * 1996-02-16 2006-03-23 Alcatel Optischer Schalter mit Synchronisation
US5809397A (en) * 1996-02-29 1998-09-15 Motorola, Inc. Method and apparatus for system synchronization in a messaging system
WO2001020829A1 (en) * 1999-09-14 2001-03-22 Megaxess, Inc. Method and apparatus for prevention of congestion in atm networks through atm protection switching
US7274327B2 (en) * 2001-12-31 2007-09-25 Xm Satellite Radio, Inc. Method and apparatus for determining location in a satellite communication system
US7397825B2 (en) * 2004-03-10 2008-07-08 Scientific-Atlanta, Inc. Transport stream dejitterer
DE602005026482D1 (de) 2004-06-14 2011-04-07 Broadcom Corp Kompensation und Messung der Differentiellen Verzögerung in gebundenen Systemen
CN101009581A (zh) 2006-01-24 2007-08-01 北京畅通达通信技术有限公司 基于传输质量分析的线路无损伤自动切换方法与装置
US7876791B2 (en) * 2008-07-24 2011-01-25 Samsung Electronics Co., Ltd. Synchronizing apparatus and method in packet network
US8619594B2 (en) * 2009-07-31 2013-12-31 Avaya Inc. System and method for comparing packet traces for failed and successful communications

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1491000A (zh) * 2002-10-15 2004-04-21 华为技术有限公司 实现主设备和备用设备倒换后rtp流连续性的方法
US20070076765A1 (en) * 2005-08-19 2007-04-05 Invensys Systems, Inc. Redundant time synchronization
WO2007098775A1 (de) * 2006-02-22 2007-09-07 Siemens Enterprise Communications Gmbh & Co. Kg. Verfahren und einrichtungen zum übermitteln von sendezeit- oder empfangszeitinformation einer gesendeten oder empfangenen nachricht
CN101459502A (zh) * 2007-12-13 2009-06-17 华为技术有限公司 一种网络时钟同步的方法与装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SHEN, R. ET AL.: "Research of 1588 Time Synchronization Technology and Application Based on PIN Network.", MOBILE TELECOMMUNICATIONS., vol. 2, January 2009 (2009-01-01), pages 57 - 62, XP008150005 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102137012A (zh) * 2011-02-21 2011-07-27 华为技术有限公司 一种保证tdm pwe3链路可靠性的方法、系统及设备

Also Published As

Publication number Publication date
CN101989906B (zh) 2013-12-18
EP2461487A4 (en) 2013-01-16
EP2461487A1 (en) 2012-06-06
CN101989906A (zh) 2011-03-23
US20120131378A1 (en) 2012-05-24
US9143584B2 (en) 2015-09-22
EP2461487B1 (en) 2018-05-30

Similar Documents

Publication Publication Date Title
WO2011012057A1 (zh) 报文同步方法、装置及系统
US9860004B2 (en) Network distributed packet-based synchronization
US10623123B2 (en) Virtual HDBaseT link
US8923367B2 (en) Communication apparatus, communication system, and communication method
US9264213B2 (en) Time synchronization method for communication system, slave station apparatus, master station apparatus, control device, and program
US9256247B2 (en) Method and apparatus for communicating time information between time aware devices
US9548831B2 (en) Synchronizing system, synchronizing method, first synchronizing device, second synchronizing device, and computer program
US8953645B2 (en) Communication system, communication apparatus and time synchronization method
CN101455014B (zh) 传送所发送的或者所接收的消息的发送时间信息或者接收时间信息的方法和装置
WO2014032350A1 (zh) 基于无缝冗余环网的提高时钟精度的方法及节点
US20100054244A1 (en) Time sychronization method and relay apparatus
US8861668B2 (en) Transmission device, transmission method and computer program
JP2009253842A (ja) クロック同期システム
CN101510849A (zh) 获取传输路径上节点传输信息的方法和设备
JP2003298630A (ja) 時刻同期方法
WO2015125439A1 (ja) 通信システム、無線通信装置及び無線通信方法
CN103430471A (zh) 无源光网络中的错误处理
JP6481807B2 (ja) 時刻同期方法、ネットワークシステム、cpu、中継機器、およびユーザ機器
JP2011071869A (ja) クロック同期方法及びパケット通信システム
CN109150350B (zh) 设备延时补偿方法、系统及存储介质
WO2019149280A1 (zh) 同步报文的生成方法、同步设备及计算机可读存储介质
WO2017150306A1 (ja) 通信システム、予備通信装置、現用通信装置、時刻同期方法、及び非一時的なコンピュータ可読媒体
CN109525353A (zh) Sdh传输iec61588消除非对称误差的方法
WO2017033416A1 (ja) 中継装置、通信システム、及び障害検出方法
WO2022174672A1 (zh) 时延测量方法、装置、设备和计算机可读存储介质

Legal Events

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

Ref document number: 10803890

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2010803890

Country of ref document: EP