CN112187393A - PON bus time synchronization method and device, computer equipment and storage medium - Google Patents

PON bus time synchronization method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN112187393A
CN112187393A CN202011062090.9A CN202011062090A CN112187393A CN 112187393 A CN112187393 A CN 112187393A CN 202011062090 A CN202011062090 A CN 202011062090A CN 112187393 A CN112187393 A CN 112187393A
Authority
CN
China
Prior art keywords
time synchronization
message
clock node
time
equipment
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.)
Granted
Application number
CN202011062090.9A
Other languages
Chinese (zh)
Other versions
CN112187393B (en
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.)
Beijing Tasson Science and Technology Co Ltd
Original Assignee
Beijing Tasson Science and Technology 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 Beijing Tasson Science and Technology Co Ltd filed Critical Beijing Tasson Science and Technology Co Ltd
Priority to CN202011062090.9A priority Critical patent/CN112187393B/en
Publication of CN112187393A publication Critical patent/CN112187393A/en
Application granted granted Critical
Publication of CN112187393B publication Critical patent/CN112187393B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • 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/0682Clock or time synchronisation in a network by delay compensation, e.g. by compensation of propagation delay or variations thereof, by ranging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects

Landscapes

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

Abstract

The application relates to a PON bus time synchronization method, a PON bus time synchronization device, a PON bus time synchronization computer device and a storage medium. The method comprises the following steps: sending a time synchronization request message to second equipment, wherein the first equipment is equipment where a slave clock node is located, and the second equipment is equipment where a master clock node is located; receiving a time synchronization message sent by second equipment, recording first timestamp information carried in the time synchronization message, and generating second timestamp information according to the current time of a slave clock node; sending a delay request message to the second device, wherein the delay request message carries third timestamp information; receiving a delayed response message sent by the second device, and recording fourth timestamp information carried in the delayed response message; and calculating the time deviation and the link delay between the slave clock node and the master clock node according to the first to fourth timestamp information, and adjusting the clock information of the slave clock node.

Description

PON bus time synchronization method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of network communication technologies, and in particular, to a PON bus time synchronization method, an apparatus, a computer device, and a storage medium.
Background
With the development of network communication technology, network clock synchronization is required for normal operation of services, a 1588v2 time synchronization protocol is commonly used for performing high-precision time synchronization between devices to which a master clock node and a slave clock node belong, time difference of the master clock node and the slave clock node is calculated according to a timestamp in an Event Message (Event Message) through the 1588v2 time synchronization protocol, time synchronization of the master clock node and the slave clock node is completed, and the devices to which the corresponding clock nodes belong are managed through a common Message.
In the 1588v2 time synchronization protocol, a master clock node is required to actively initiate an event message, and a slave clock node receives the event message to perform a corresponding subsequent time synchronization process, however, in a PON bus-type Network, only an OLT (Optical Line Terminal) device can actively initiate the event message, and an ONU (Optical Network Unit) device cannot actively initiate the event message, so that when the master clock node is in the ONU device, the 1588v2 time synchronization protocol cannot be applied to perform time synchronization.
Disclosure of Invention
In view of the above, it is necessary to provide a PON bus time synchronization method, apparatus, computer device and storage medium for solving the above technical problems.
A PON bus time synchronization method, the method comprising:
sending a time synchronization request message to second equipment, wherein the first equipment is equipment where a slave clock node is located, and the second equipment is equipment where a master clock node is located;
receiving a time synchronization message sent by the second device, recording first timestamp information carried in the time synchronization message, and generating second timestamp information according to the current time of the slave clock node, wherein the first timestamp information is the time information of the time synchronization message sent by the second device;
sending a delay request message to the second device, wherein the delay request message carries third timestamp information, and the third timestamp information is sending time information of the delay request message;
receiving a delayed response message sent by the second device, and recording fourth timestamp information carried in the delayed response message, wherein the fourth timestamp information is time information of the second device receiving the delayed request message;
and calculating the time deviation and the link delay of the slave clock node and the master clock node according to the first time stamp information, the second time stamp information, the third time stamp information and the fourth time stamp information, and adjusting the clock information of the slave clock node.
In one embodiment, the receiving a time synchronization packet sent by the second device, recording first timestamp information carried in the time synchronization packet, and generating second timestamp information according to a current time of the slave clock node includes:
receiving and analyzing a message sent by the second device, wherein a message frame header of the message carries a message type field;
determining the message as a time synchronization message according to the message type field, and recording first timestamp information carried in the time synchronization message;
and when the time synchronization message is received, reading the current time of the slave clock node, and generating second timestamp information according to the current time.
In one embodiment, the first device is an optical line device, and before the sending the time synchronization request message to the second device, the method further includes:
determining the clock node type of the first equipment according to the node identification information written into the register;
and if the clock node type is the slave clock node, sending a time synchronization request message to the second equipment.
In one embodiment, the method is applied to a second device in a PON bus-based network, and the method includes:
receiving a time synchronization request message sent by first equipment, wherein the first equipment is equipment where a slave clock node is located, and the second equipment is equipment where a master clock node is located;
sending a time synchronization message to the first device according to the time synchronization request message, wherein the time synchronization message carries first timestamp information, and the first timestamp information is the sending time information of the time synchronization message recorded by the master clock node;
receiving a delay request message sent by the first device, and generating fourth timestamp information according to the current time of the master clock node;
and sending a delayed response message to the first device, where the delayed response message carries the fourth timestamp information and indicates the slave clock node of the first device to adjust clock information.
In one embodiment, the second device is a fiber network unit, and before the receiving the time synchronization request message sent by the first device, the method further includes:
determining the clock node type of the second equipment according to the node identification information written into the register;
and if the clock node type is the master clock node, receiving a time synchronization request message sent by the first equipment.
In one embodiment, the receiving the time synchronization request message sent by the first device includes:
receiving and analyzing a message sent by the first device, wherein a message frame header of the message carries a message type field;
determining the message as a time synchronization request message according to the message type field;
the sending of the time synchronization packet to the first device according to the time synchronization request message includes:
generating a time synchronization message according to the triggering of the time synchronization request message;
and sending the time synchronization message to the first equipment, reading the current moment of the master clock node as first timestamp information, and embedding the first timestamp information into the time synchronization message.
A PON bus time synchronization apparatus applied to a first device in a PON bus-based network, the apparatus comprising:
the first sending module is used for sending a time synchronization request message to second equipment, wherein the first equipment is equipment where a slave clock node is located, and the second equipment is equipment where a master clock node is located;
a first receiving module, configured to receive a time synchronization packet sent by the second device, record first timestamp information carried in the time synchronization packet, and generate second timestamp information according to a current time of the slave clock node, where the first timestamp information is time information of the time synchronization packet sent by the second device;
a second sending module, configured to send a delay request packet to the second device, where the delay request packet carries third timestamp information, and the third timestamp information is sending time information of the delay request packet;
a second receiving module, configured to receive a delayed response message sent by the second device, and record fourth timestamp information carried in the delayed response message, where the fourth timestamp information is time information of the second device receiving the delayed request message;
and an adjusting module, configured to calculate a time deviation and a link delay between the slave clock node and the master clock node according to the first timestamp information, the second timestamp information, the third timestamp information, and the fourth timestamp information, and adjust clock information of the slave clock node.
A PON bus time synchronization apparatus applied to a second device in a PON bus-based network, the apparatus comprising:
the first receiving module is used for receiving a time synchronization request message sent by first equipment, wherein the first equipment is equipment where a slave clock node is located, and the second equipment is equipment where a master clock node is located;
a first sending module, configured to send a time synchronization packet to the first device according to the time synchronization request message, where the time synchronization packet carries first timestamp information, and the first timestamp information is sending time information of the time synchronization packet recorded by the master clock node;
a second receiving module, configured to receive a delay request packet sent by the first device, and generate fourth timestamp information according to the current time of the master clock node;
a second sending module, configured to send a delayed response packet to the first device, where the delayed response packet carries the fourth timestamp information and indicates the slave clock node of the first device to adjust clock information.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
sending a time synchronization request message to second equipment, wherein the first equipment is equipment where a slave clock node is located, and the second equipment is equipment where a master clock node is located;
receiving a time synchronization message sent by the second device, recording first timestamp information carried in the time synchronization message, and generating second timestamp information according to the current time of the slave clock node, wherein the first timestamp information is the time information of the time synchronization message sent by the second device;
sending a delay request message to the second device, wherein the delay request message carries third timestamp information, and the third timestamp information is sending time information of the delay request message;
receiving a delayed response message sent by the second device, and recording fourth timestamp information carried in the delayed response message, wherein the fourth timestamp information is time information of the second device receiving the delayed request message;
and calculating the time deviation and the link delay of the slave clock node and the master clock node according to the first time stamp information, the second time stamp information, the third time stamp information and the fourth time stamp information, and adjusting the clock information of the slave clock node.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
sending a time synchronization request message to second equipment, wherein the first equipment is equipment where a slave clock node is located, and the second equipment is equipment where a master clock node is located;
receiving a time synchronization message sent by the second device, recording first timestamp information carried in the time synchronization message, and generating second timestamp information according to the current time of the slave clock node, wherein the first timestamp information is the time information of the time synchronization message sent by the second device;
sending a delay request message to the second device, wherein the delay request message carries third timestamp information, and the third timestamp information is sending time information of the delay request message;
receiving a delayed response message sent by the second device, and recording fourth timestamp information carried in the delayed response message, wherein the fourth timestamp information is time information of the second device receiving the delayed request message;
and calculating the time deviation and the link delay of the slave clock node and the master clock node according to the first time stamp information, the second time stamp information, the third time stamp information and the fourth time stamp information, and adjusting the clock information of the slave clock node.
According to the PON bus time synchronization method, the PON bus time synchronization device, the computer equipment and the storage medium, the first equipment sends the time synchronization request message to the second equipment, the first equipment is the equipment where the slave clock node is located, and the second equipment is the equipment where the master clock node is located; the first equipment receives a time synchronization message sent by the second equipment, records first timestamp information carried in the time synchronization message, and generates second timestamp information according to the current time of the slave clock node, wherein the first timestamp information is the time information of the time synchronization message sent by the second equipment; then, the first device sends a delay request message to the second device, wherein the delay request message carries third timestamp information, and the third timestamp information is the sending time information of the delay request message; the first device receives a delayed response message sent by the second device, and records fourth timestamp information carried in the delayed response message, wherein the fourth timestamp information is time information of the second device receiving the delayed request message; and finally, the first device calculates the time deviation and the link delay between the slave clock node and the master clock node according to the first time stamp information, the second time stamp information, the third time stamp information and the fourth time stamp information, and adjusts the clock information of the slave clock node. By adopting the method, the defect of a time synchronization protocol is made up, and the time synchronization when the second equipment where the master clock node is positioned can not actively transmit the time synchronization message is realized.
Drawings
FIG. 1 is a flowchart illustrating a PON bus time synchronization method according to an embodiment;
FIG. 2 is a flowchart illustrating a step of parsing a time synchronization message according to an embodiment;
FIG. 3 is a flowchart illustrating the step of determining a device clock node type in one embodiment;
FIG. 4 is a flowchart illustrating a method for time synchronization in which a first device is a master clock node according to an embodiment;
FIG. 5 is a flowchart illustrating a PON bus time synchronization method according to another embodiment;
FIG. 6 is a flowchart illustrating the step of determining a device clock node type in another embodiment;
FIG. 7 is a flowchart illustrating the steps of parsing a time synchronization request message in another embodiment;
FIG. 8 is a flow diagram illustrating an example method for PON bus time synchronization in one embodiment;
FIG. 9 is a block diagram of an embodiment of a PON bus time synchronization apparatus;
fig. 10 is a block diagram of a PON bus time synchronization apparatus according to another embodiment;
FIG. 11 is a diagram illustrating an internal structure of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In the PON bus type network, there is no clear protocol related to time synchronization, and in order to solve the problem of time synchronization between devices in the PON bus type network, a 1588v2 protocol (time synchronization protocol) may be introduced to the PON bus type network to perform time synchronization. However, after the 1588v2 protocol is introduced into the PON bus network, because the first device may actively initiate a message, but the second device cannot actively initiate a message, when the device in which the master clock node defined in the 1588v2 protocol is located is the second device, it cannot be achieved that the master clock node needs to actively send a time synchronization packet according to the 1588v2 protocol, and further, it is still impossible to implement the barrier-free application of the 1588v2 protocol between the devices in the PON bus network to implement time synchronization. Based on this, the present application proposes a solution.
In an embodiment, as shown in fig. 1, a PON bus time synchronization method is provided, where the embodiment is described as applying the method to a first device in a PON bus-based network, and the method in the embodiment includes the following steps:
step 101, sending a time synchronization request message to a second device, where the first device is a device where a slave clock node is located, and the second device is a device where a master clock node is located.
In an implementation, in a PON bus-based network, the second device cannot actively initiate a message. The second device is a device where the master clock node is located, and the first device is a device where the slave clock node is located, so that when time synchronization is performed, a trigger condition is supplemented for a 1588v2 protocol, the first device sends a time synchronization request Message (Sync _ Req) to the second device in advance, the time synchronization request Message is only a General Message (General Message) and does not carry timestamp information, the value of the time synchronization request Message is defined as E, and other fields of a Message header of the Message are consistent with other messages in 1588v2 (time synchronization protocol).
And 102, receiving a time synchronization message sent by the second equipment, recording first timestamp information carried in the time synchronization message, and generating second timestamp information according to the current time of the slave clock node, wherein the first timestamp information is the time information of the time synchronization message sent by the second equipment.
In implementation, the first device receives a time synchronization Message (Sync) sent by the second device, where the time synchronization Message is an Event Message (Event Message), and the Event Message generates an accurate timestamp when being sent or received. Therefore, the first device records first timestamp information (T1) carried in the time synchronization message, and generates second timestamp information (T2) according to the current time of the slave time node, where the first timestamp information is time information of the second device sending the time synchronization message, and the second timestamp information is time information of the first device receiving the time synchronization message.
Step 103, sending a delay request message to the second device, where the delay request message carries third timestamp information, and the third timestamp information is sending time information of the delay request message.
In implementation, after receiving the time synchronization packet, the first device then sends a Delay request packet (Delay _ Req) to the second device, where the Delay request packet carries third timestamp information (T3), where the third timestamp information is time information when the first device sends the Delay request packet.
And 104, receiving a delay response message sent by the second device, and recording fourth timestamp information carried in the delay response message, wherein the fourth timestamp information is time information of the second device receiving the delay request message.
In implementation, the first device receives a Delay response message (Delay _ Resp) sent by the second device, and simultaneously records fourth timestamp information (T4) carried in the Delay response message, where the fourth timestamp information is time information when the second device receives the Delay request message.
Optionally, in an actual application process, a time sequence vacancy is reserved in a data field of a time synchronization message frame (including a time synchronization message, a delay request message, and a delay response message) of the time synchronization process, so that each time synchronization message frame can carry all filled time stamp information, that is, each time stamp information is sequentially filled into the reserved time sequence vacancy according to a time sequence. During the interactive transmission of each time synchronization message frame, the filled-in time stamp information can be always kept in the data field reserved time sequence vacant space of the message frame.
For example, after the second device fills the first time sequence vacancy reserved in the data field in the time synchronization message with the first time sequence information, according to the interaction of the time synchronization message between the second device and the first device, after the first device receives the time synchronization message, the first time sequence vacancy in the data field of the transmitted delay request message is also filled with the first time sequence information, meanwhile, the second time sequence vacancy is filled with the second time sequence information, the third time sequence vacancy is filled with the third time sequence information, and the delay request message is transmitted to the second device; after receiving the delay request message, the second device fills the first time stamp information, the second time stamp information, the third time stamp information and the fourth time stamp information in sequence in a reserved time sequence vacancy of a delay response message to be sent, and feeds back the delay response message to the first device.
And 105, calculating the time deviation and the link delay between the slave clock node and the master clock node according to the first time stamp information, the second time stamp information, the third time stamp information and the fourth time stamp information, and adjusting the clock information of the slave clock node.
In implementation, the first device calculates a time deviation and a link delay between a slave clock node of the first device and a master clock node of the second device according to first timestamp information, second timestamp information, third timestamp information and fourth timestamp information recorded in an interaction process with the second device, and further adjusts clock information of the slave clock node according to a calculation result.
Specifically, the second device may calculate the time offset and the link delay according to the following formulas:
T1+offset+Tms=T2
T3-offset+Tsm=T4
wherein, offset is a time deviation, Tms is a link delay from the first device to the second device, Tsm is a link delay from the second device to the first device, Tms ═ Tsm.
In the PON bus time synchronization method, a first device sends a time synchronization request message to a second device, where the first device is a device in which a slave clock node is located, and the second device is a device in which a master clock node is located; then, the first device receives a time synchronization message sent by the second device, records first timestamp information carried in the time synchronization message, and generates second timestamp information according to the current time of the slave clock node; the first device sends a delay request message to the second device, wherein the delay request message carries third timestamp information; the first equipment receives a delayed response message sent by the second equipment and records fourth timestamp information carried in the delayed response message; and finally, the first equipment calculates the time deviation and the link delay between the slave clock node and the master clock node according to the first time stamp information, the second time stamp information, the third time stamp information and the fourth time stamp information, and adjusts the clock information of the slave clock node. By adopting the method, the defect of a time synchronization protocol is made up, and the time synchronization process when the second equipment where the master clock node is located cannot actively transmit the time synchronization message is realized.
In one embodiment, as shown in FIG. 2, the specific process of step 102 is as follows:
step 1021, receiving and analyzing the message sent by the second device, wherein the message frame header of the message carries the message type field.
In implementation, message frame headers of various time synchronization messages sent in the interaction process of the first device and the second device all have message type field information capable of distinguishing the message types, so that after receiving a message sent by the second device, the first device can analyze the message frame header field of the message to obtain the message type of the message.
Specifically, the message types corresponding to the message header fields of the various time synchronization messages in the time synchronization process are shown in table 1 below (the determination of the message types mentioned below can query table 1 and will not be described again):
TABLE 1
Message type Message classification Value of
Sync Event (Event message) 0
Delay Req Event (Event message) 1
Pdelay Req Event (Event message) 2
Pdelay Resp Event (Event message) 3
Reserved -- 4-7
Follow Up General (common message) 8
Delay Req General (common message) 9
Pdelay Resp Follow Up General (common message) A
Announce General (common message) B
Signaling General (common message) C
Management General (common message) D
Sync Req General (common message) E
Reserved -- F
And step 1022, determining that the message is a time synchronization message according to the message type field, and recording first timestamp information carried in the time synchronization message.
In implementation, when determining that a received message is a time synchronization message (Sync) according to a message type field, the first device records first timestamp information carried in the time synchronization message.
And 1023, reading the current time of the slave clock node when the time synchronization message is received, and generating second timestamp information according to the current time.
In implementation, when the first device receives the time synchronization packet (Sync), the first device reads a current time of the slave clock node, and generates a second timestamp (T2) according to the current time, where the second timestamp is a time when the time synchronization packet is received.
In this embodiment, the first device determines the message type of the message by analyzing a message frame header of the message, and records a first timestamp in the time synchronization message and a second timestamp of the time information of the received time synchronization message when determining that the message is the time synchronization message, thereby obtaining a preparation condition for calculating the time deviation of the slave clock node and the link delay.
In an embodiment, as shown in fig. 3, the first device is an Optical Line device (OLT device), which may actively send a message, and before step 101, the PON bus time synchronization method further includes:
step 301, determining a clock node type of the first device according to the node identification information written into the register.
In implementation, the first device determines a clock node type of its own device according to the node identification information written in the register, where the clock node type includes: a master clock node and a slave clock node.
Step 302, if the clock node type is the slave clock node, a time synchronization request message is sent to the second device.
In an implementation, if the time node type of the first device is the slave clock node, the first device executes step 101, that is, sends a time synchronization request message to the second device.
Optionally, if the clock node type of the first device is a master clock node and the clock node type of the second device is a slave clock node, since the first device may actively transmit a message and the first device needs to actively transmit a time synchronization message for the master clock node, a trigger condition (time synchronization request message) is omitted, as shown in fig. 4, the first device (OLT) directly transmits a time synchronization message (Sync) to the slave clock node of the second device (ONU) as the device where the first device (OLT) is located, the time synchronization message carries first timestamp information (T1), the second device receives the time synchronization message, records second timestamp information (T2) corresponding to the first timestamp information and the reception time, and feeds back a Delay request message (Delay _ Req) to the first device, the Delay request message carries the time of the Delay request message (third timestamp information T3), the first device receives the Delay request message and records the time for receiving the message as fourth timestamp information (T4), the first device embeds the fourth timestamp information into a Delay response message (Delay _ Resp) and sends the Delay response message to the second device to instruct the second device to calculate the time deviation and the link Delay according to all the timestamp information (T1-T4), and the time synchronization content of the master-slave clock node in the embodiment is similar to that in the step 102 and 105, and is not described any more.
In this embodiment, before performing the time synchronization process, the first device determines the network clock type corresponding to the first device according to the node identification information in the register, and then performs a corresponding time synchronization interaction process according to the determined clock node type.
In another embodiment, as shown in fig. 5, a PON bus time synchronization method is provided, where the method is applied to a second device in a PON bus-based network, and the method specifically processes the following steps:
step 501, receiving a time synchronization request message sent by a first device, where the first device is a device where a slave clock node is located, and a second device is a device where a master clock node is located.
In implementation, the first device is a device where the slave clock node is located, the second device is a device where the master clock node is located, and the second device may not initiate a message actively. Thus, a trigger condition (time synchronization request message) is sent by the first device to the second device, which receives the time synchronization request message (Sync _ Req) for a subsequent time synchronization process.
Step 502, according to the time synchronization request message, sending a time synchronization message to the first device, where the time synchronization message carries first timestamp information, and the first timestamp information is sending time information of the time synchronization message recorded by the master clock node.
In implementation, the second device sends a time synchronization message (Sync) to the first device according to the trigger of the time synchronization request message, where the time synchronization message carries first timestamp information (T1), and the first timestamp information is the sending time information of the time synchronization message recorded by a master clock node in the second device.
Step 503, receiving the delay request packet sent by the first device, and generating fourth timestamp information according to the current time of the master clock node.
In implementation, the second device receives the Delay request packet (Delay _ Req) sent by the first device, and generates a fourth timestamp (T4) according to the current information of the master clock node of the second device, where the fourth timestamp is the time when the Delay request packet is received by the second device.
Step 504, a delayed response message is sent to the first device, where the delayed response message carries fourth timestamp information, and indicates the slave clock node of the first device to adjust clock information.
In implementation, the second device sends a Delay response message (Delay _ Resp) to the first device, where the Delay response message carries the fourth timestamp information, so that the second device sends the Delay response message to the first device to indicate the slave time node of the first device to adjust the clock information.
In an embodiment, as shown in fig. 6, the second device is an Optical Network Unit (ONU device), and the ONU device cannot actively send a message, before step 501, the PON bus time synchronization method further includes:
step 601, determining the clock node type of the second device according to the node identification information written into the register.
In implementation, the second device determines a clock node type of its own device according to the node identification information written in the register, where the clock node type includes: a master clock node and a slave clock node.
Step 602, if the clock node type is a master clock node, a time synchronization request message sent by the first device is received.
In an implementation, if the time node type of the second device is the master clock node, the second device performs step 501, that is, receives a time synchronization request condition (i.e., a trigger condition) sent by the first device.
In this embodiment, before the time synchronization process is performed, the second device determines the network clock type corresponding to the second device according to the node identification information in the register, and then performs a corresponding time synchronization interaction process according to the determined clock node type.
In one embodiment, as shown in fig. 7, the specific processing procedure of step 501 is as follows:
step 5011, receiving and analyzing the message sent by the first device, where a message frame header of the message carries a message type field.
In implementation, after receiving the message sent by the first device, the second device may parse the message frame header field in the message to obtain the message type of the message.
Step 5012, according to the message type field, determines the message as a time synchronization request message.
In implementation, the second device determines that the message is a time synchronization request message (Sync _ Req) according to the message type field.
The specific processing procedure of step 502 is as follows:
step 5021, generating a time synchronization message according to the triggering of the time synchronization request message.
In implementation, the second device generates a time synchronization packet (Sync) in the time synchronization process according to the trigger of the time synchronization request message.
Step 5022, sending a time synchronization message to the first device, reading the current time of the master clock node as first timestamp information, and embedding the first timestamp information into the time synchronization message.
In implementation, the second device sends the generated time synchronization packet to the first device, reads the current time of the corresponding master clock node in the second device (i.e., as the sending time of the time synchronization packet), correspondingly generates first timestamp information (T1), and embeds the first timestamp information in the time synchronization packet.
In this embodiment, the second device generates a time synchronization message according to the trigger of the received time synchronization request message, sends the time synchronization message to the first device, and embeds the sending time (T1) in the time synchronization message to start the time synchronization process.
It should be understood that although the various steps in the flowcharts of fig. 1-3, 5-7 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-3, 5-7 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 8, an example of PON bus time synchronization is provided, where a specific processing procedure is as follows:
in step 801, a first device (OLT) sends a time synchronization request message (Sync _ Req) to a second device (ONU).
Step 802, the second device receives the time synchronization request message, and sends a time synchronization message (Sync) to the first device, where the time synchronization message carries first timestamp information (T1), and the first timestamp information is sending time information of the time synchronization message.
Step 803, the second device receives the time synchronization packet, records the first timestamp information carried in the time synchronization packet, and records the time information of receiving the time synchronization packet, i.e. the second timestamp information (T2).
Step 804, the first device sends a Delay request message (Delay _ Req) to the second device, where the Delay request message carries third timestamp information (T3), and the third timestamp information records sending time information of the Delay request message.
Step 805, the second device receives the delay request message, records the third timestamp information carried in the delay request message, and records the time information of receiving the delay request message, that is, the fourth timestamp information (T4).
Step 806, the second device sends a Delay response message (Delay _ Resq) to the first device, where the Delay response message carries the fourth timestamp information.
And step 807, the first device receives the delayed response message, records fourth timestamp information in the delayed response message, and calculates the time deviation and link delay between the slave time node of the first device and the master time node of the second device according to all timestamp information (T1-T4), so as to adjust the time information of the slave clock node of the first device according to the time deviation and the link delay.
In one embodiment, as shown in fig. 9, there is provided a PON bus time synchronization apparatus 900, which is applied to a first device in a PON bus-based network, and includes: a first sending module 910, a first receiving module 920, a second sending module 930, a second receiving module 940 and an adjusting module 950, wherein:
the first sending module 910 is configured to send a time synchronization request message to a second device, where the first device is a device where a slave clock node is located, and the second device is a device where a master clock node is located.
The first receiving module 920 is configured to receive a time synchronization packet sent by the second device, record first timestamp information carried in the time synchronization packet, and generate second timestamp information according to the current time of the slave clock node, where the first timestamp information is time information of the time synchronization packet sent by the second device.
The second sending module 930 is configured to send the delay request packet to the second device, where the delay request packet carries third timestamp information, and the third timestamp information is sending time information of the delay request packet.
The second receiving module 940 is configured to receive the delayed response message sent by the second device, and record fourth timestamp information carried in the delayed response message, where the fourth timestamp information is time information of the second device receiving the delay request message.
The adjusting module 950 is configured to calculate a time deviation and a link delay between the slave clock node and the master clock node according to the first timestamp information, the second timestamp information, the third timestamp information, and the fourth timestamp information, and adjust the clock information of the slave clock node.
The PON bus time synchronization device is applied to first equipment, and sends a time synchronization request message to second equipment through the first equipment, wherein the first equipment is equipment where a slave clock node is located, and the second equipment is equipment where a master clock node is located; then, the first device receives a time synchronization message sent by the second device, records first timestamp information carried in the time synchronization message, and generates second timestamp information according to the current time of the slave clock node; the first device sends a delay request message to the second device, wherein the delay request message carries third timestamp information; the first equipment receives a delayed response message sent by the second equipment and records fourth timestamp information carried in the delayed response message; and finally, the first equipment calculates the time deviation and the link delay between the slave clock node and the master clock node according to the first time stamp information, the second time stamp information, the third time stamp information and the fourth time stamp information, and adjusts the clock information of the slave clock node. By adopting the method, the defect of a time synchronization protocol is made up, and the time synchronization process when the second equipment where the master clock node is located cannot actively transmit the time synchronization message is realized.
In an embodiment, the first receiving module 920 is specifically configured to receive and analyze a message sent by the second device, where a message frame header of the message carries a message type field;
determining the message as a time synchronization message according to the message type field, and recording first timestamp information carried in the time synchronization message;
and when the time synchronization message is received, reading the current time of the slave clock node, and generating second timestamp information according to the current time.
In one embodiment, the apparatus 900 further comprises:
the determining module is used for determining the clock node type of the first equipment according to the node identification information written into the register;
and the execution module is used for sending a time synchronization request message to the second equipment if the clock node type is the slave clock node.
In one embodiment, as shown in fig. 10, there is provided a PON bus time synchronization apparatus 1000, which is applied to a second device in a PON bus-based network, the apparatus including:
a first receiving module 1010, configured to receive a time synchronization request message sent by a first device, where the first device is a device in which a slave clock node is located, and a second device is a device in which a master clock node is located;
a first sending module 1020, configured to send a time synchronization packet to the first device according to the time synchronization request message, where the time synchronization packet carries first timestamp information, and the first timestamp information is sending time information of the time synchronization packet recorded by the master clock node;
a second receiving module 1030, configured to receive the delay request packet sent by the first device, and generate fourth timestamp information according to the current time of the master clock node;
the second sending module 1040 is configured to send a delayed response packet to the first device, where the delayed response packet carries fourth timestamp information and indicates a slave clock node of the first device to adjust clock information.
In one embodiment, the apparatus 1000 further comprises:
the determining module is used for determining the clock node type of the second equipment according to the node identification information written into the register;
and the execution module is used for receiving the time synchronization request message sent by the first equipment if the clock node type is the master clock node.
In an embodiment, the first receiving module 1010 is specifically configured to receive and analyze a message sent by a first device, where a message frame header of the message carries a message type field;
determining the message as a time synchronization request message according to the message type field;
the first sending module is specifically used for generating a time synchronization message according to the triggering of the time synchronization request message;
and sending a time synchronization message to the first equipment, reading the current moment of the master clock node as first timestamp information, and embedding the first timestamp information into the time synchronization message.
For specific limitations of the PON bus time synchronization apparatus, reference may be made to the above limitations of the PON bus time synchronization method, which is not described herein again. The modules in the PON bus time synchronization apparatus may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 11. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a PON bus time synchronization method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 11 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device (first device) is provided, comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the following steps when executing the computer program:
sending a time synchronization request message to second equipment, wherein the first equipment is equipment where a slave clock node is located, and the second equipment is equipment where a master clock node is located;
receiving a time synchronization message sent by second equipment, recording first timestamp information carried in the time synchronization message, and generating second timestamp information according to the current time of a slave clock node, wherein the first timestamp information is the time information of the time synchronization message sent by the second equipment;
sending a delay request message to the second device, wherein the delay request message carries third timestamp information, and the third timestamp information is sending time information of the delay request message;
receiving a delayed response message sent by the second device, and recording fourth timestamp information carried in the delayed response message, wherein the fourth timestamp information is time information of the second device receiving the delayed request message;
and calculating the time deviation and the link time delay of the slave clock node and the master clock node according to the first time stamp information, the second time stamp information, the third time stamp information and the fourth time stamp information, and adjusting the clock information of the slave clock node.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
receiving and analyzing a message sent by second equipment, wherein a message frame header of the message carries a message type field;
determining the message as a time synchronization message according to the message type field, and recording first timestamp information carried in the time synchronization message;
and when the time synchronization message is received, reading the current time of the slave clock node, and generating second timestamp information according to the current time.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
determining a clock node type of the first device according to the node identification information written into the register;
and if the clock node type is the slave clock node, sending a time synchronization request message to the second equipment.
In one embodiment, a computer device (second device) is provided, comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the following steps when executing the computer program:
receiving a time synchronization request message sent by first equipment, wherein the first equipment is equipment where a slave clock node is located, and the second equipment is equipment where a master clock node is located;
sending a time synchronization message to the first equipment according to the time synchronization request message, wherein the time synchronization message carries first timestamp information, and the first timestamp information is the sending time information of the time synchronization message recorded by the master clock node;
receiving a delay request message sent by first equipment, and generating fourth timestamp information according to the current time of a master clock node;
and sending a delayed response message to the first device, wherein the delayed response message carries fourth timestamp information and indicates a slave clock node of the first device to adjust clock information.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
determining the clock node type of the second equipment according to the node identification information written into the register;
and if the clock node type is the master clock node, receiving a time synchronization request message sent by the first equipment.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
receiving and analyzing a message sent by first equipment, wherein a message frame header of the message carries a message type field;
determining the message as a time synchronization request message according to the message type field;
sending a time synchronization message to the first device according to the time synchronization request message, including:
generating a time synchronization message according to the triggering of the time synchronization request message;
and sending a time synchronization message to the first equipment, reading the current moment of the master clock node as first timestamp information, and embedding the first timestamp information into the time synchronization message.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
sending a time synchronization request message to second equipment, wherein the first equipment is equipment where a slave clock node is located, and the second equipment is equipment where a master clock node is located;
receiving a time synchronization message sent by second equipment, recording first timestamp information carried in the time synchronization message, and generating second timestamp information according to the current time of a slave clock node, wherein the first timestamp information is the time information of the time synchronization message sent by the second equipment;
sending a delay request message to the second device, wherein the delay request message carries third timestamp information, and the third timestamp information is sending time information of the delay request message;
receiving a delayed response message sent by the second device, and recording fourth timestamp information carried in the delayed response message, wherein the fourth timestamp information is time information of the second device receiving the delayed request message;
and calculating the time deviation and the link time delay of the slave clock node and the master clock node according to the first time stamp information, the second time stamp information, the third time stamp information and the fourth time stamp information, and adjusting the clock information of the slave clock node.
In one embodiment, the computer program when executed by the processor further performs the steps of:
receiving and analyzing a message sent by second equipment, wherein a message frame header of the message carries a message type field;
determining the message as a time synchronization message according to the message type field, and recording first timestamp information carried in the time synchronization message;
and when the time synchronization message is received, reading the current time of the slave clock node, and generating second timestamp information according to the current time.
In one embodiment, the computer program when executed by the processor further performs the steps of:
determining a clock node type of the first device according to the node identification information written into the register;
and if the clock node type is the slave clock node, sending a time synchronization request message to the second equipment.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
receiving a time synchronization request message sent by first equipment, wherein the first equipment is equipment where a slave clock node is located, and the second equipment is equipment where a master clock node is located;
sending a time synchronization message to the first equipment according to the time synchronization request message, wherein the time synchronization message carries first timestamp information, and the first timestamp information is the sending time information of the time synchronization message recorded by the master clock node;
receiving a delay request message sent by first equipment, and generating fourth timestamp information according to the current time of a master clock node;
and sending a delayed response message to the first device, wherein the delayed response message carries fourth timestamp information and indicates a slave clock node of the first device to adjust clock information.
In one embodiment, the computer program when executed by the processor further performs the steps of:
determining the clock node type of the second equipment according to the node identification information written into the register;
and if the clock node type is the master clock node, receiving a time synchronization request message sent by the first equipment.
In one embodiment, the computer program when executed by the processor further performs the steps of:
receiving and analyzing a message sent by first equipment, wherein a message frame header of the message carries a message type field;
determining the message as a time synchronization request message according to the message type field;
sending a time synchronization message to the first device according to the time synchronization request message, including:
generating a time synchronization message according to the triggering of the time synchronization request message;
and sending a time synchronization message to the first equipment, reading the current moment of the master clock node as first timestamp information, and embedding the first timestamp information into the time synchronization message.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A PON bus time synchronization method applied to a first device in a PON bus-based network, the method comprising:
sending a time synchronization request message to second equipment, wherein the first equipment is equipment where a slave clock node is located, and the second equipment is equipment where a master clock node is located;
receiving a time synchronization message sent by the second device, recording first timestamp information carried in the time synchronization message, and generating second timestamp information according to the current time of the slave clock node, wherein the first timestamp information is the time information of the time synchronization message sent by the second device;
sending a delay request message to the second device, wherein the delay request message carries third timestamp information, and the third timestamp information is sending time information of the delay request message;
receiving a delayed response message sent by the second device, and recording fourth timestamp information carried in the delayed response message, wherein the fourth timestamp information is time information of the second device receiving the delayed request message;
and calculating the time deviation and the link delay of the slave clock node and the master clock node according to the first time stamp information, the second time stamp information, the third time stamp information and the fourth time stamp information, and adjusting the clock information of the slave clock node.
2. The method according to claim 1, wherein the receiving a time synchronization packet sent by the second device, recording first timestamp information carried in the time synchronization packet, and generating second timestamp information according to a current time of the slave clock node comprises:
receiving and analyzing a message sent by the second device, wherein a message frame header of the message carries a message type field;
determining the message as a time synchronization message according to the message type field, and recording first timestamp information carried in the time synchronization message;
and when the time synchronization message is received, reading the current time of the slave clock node, and generating second timestamp information according to the current time.
3. The method of claim 1, wherein the first device is an optical line device, and wherein before the sending the time synchronization request message to the second device, the method further comprises:
determining the clock node type of the first equipment according to the node identification information written into the register;
and if the clock node type is the slave clock node, sending a time synchronization request message to the second equipment.
4. A PON bus time synchronization method applied to a second device in a PON bus-based network, the method comprising:
receiving a time synchronization request message sent by first equipment, wherein the first equipment is equipment where a slave clock node is located, and the second equipment is equipment where a master clock node is located;
sending a time synchronization message to the first device according to the time synchronization request message, wherein the time synchronization message carries first timestamp information, and the first timestamp information is the sending time information of the time synchronization message recorded by the master clock node;
receiving a delay request message sent by the first device, and generating fourth timestamp information according to the current time of the master clock node;
and sending a delayed response message to the first device, where the delayed response message carries the fourth timestamp information and indicates the slave clock node of the first device to adjust clock information.
5. The method of claim 4, wherein the second device is a fiber network unit, and wherein before the receiving the time synchronization request message sent by the first device, the method further comprises:
determining the clock node type of the second equipment according to the node identification information written into the register;
and if the clock node type is the master clock node, receiving a time synchronization request message sent by the first equipment.
6. The method of claim 4, wherein the receiving the time synchronization request message sent by the first device comprises:
receiving and analyzing a message sent by the first device, wherein a message frame header of the message carries a message type field;
determining the message as a time synchronization request message according to the message type field;
the sending of the time synchronization packet to the first device according to the time synchronization request message includes:
generating a time synchronization message according to the triggering of the time synchronization request message;
and sending the time synchronization message to the first equipment, reading the current moment of the master clock node as first timestamp information, and embedding the first timestamp information into the time synchronization message.
7. A PON bus time synchronization apparatus, applied to a first device in a PON bus-based network, the apparatus comprising:
the first sending module is used for sending a time synchronization request message to second equipment, wherein the first equipment is equipment where a slave clock node is located, and the second equipment is equipment where a master clock node is located;
a first receiving module, configured to receive a time synchronization packet sent by the second device, record first timestamp information carried in the time synchronization packet, and generate second timestamp information according to a current time of the slave clock node, where the first timestamp information is time information of the time synchronization packet sent by the second device;
a second sending module, configured to send a delay request packet to the second device, where the delay request packet carries third timestamp information, and the third timestamp information is sending time information of the delay request packet;
a second receiving module, configured to receive a delayed response message sent by the second device, and record fourth timestamp information carried in the delayed response message, where the fourth timestamp information is time information of the second device receiving the delayed request message;
and an adjusting module, configured to calculate a time deviation and a link delay between the slave clock node and the master clock node according to the first timestamp information, the second timestamp information, the third timestamp information, and the fourth timestamp information, and adjust clock information of the slave clock node.
8. A PON bus time synchronization apparatus, applied to a second device in a PON bus-based network, the apparatus comprising:
the first receiving module is used for receiving a time synchronization request message sent by first equipment, wherein the first equipment is equipment where a slave clock node is located, and the second equipment is equipment where a master clock node is located;
a first sending module, configured to send a time synchronization packet to the first device according to the time synchronization request message, where the time synchronization packet carries first timestamp information, and the first timestamp information is sending time information of the time synchronization packet recorded by the master clock node;
a second receiving module, configured to receive a delay request packet sent by the first device, and generate fourth timestamp information according to the current time of the master clock node;
a second sending module, configured to send a delayed response packet to the first device, where the delayed response packet carries the fourth timestamp information and indicates the slave clock node of the first device to adjust clock information.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 3 or 4 to 6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 3 or 4 to 6.
CN202011062090.9A 2020-09-30 2020-09-30 PON bus time synchronization method and device, computer equipment and storage medium Active CN112187393B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011062090.9A CN112187393B (en) 2020-09-30 2020-09-30 PON bus time synchronization method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011062090.9A CN112187393B (en) 2020-09-30 2020-09-30 PON bus time synchronization method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112187393A true CN112187393A (en) 2021-01-05
CN112187393B CN112187393B (en) 2022-09-02

Family

ID=73948198

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011062090.9A Active CN112187393B (en) 2020-09-30 2020-09-30 PON bus time synchronization method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112187393B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113259038A (en) * 2021-04-29 2021-08-13 北京邮电大学 Time synchronization method, node, device and storage medium
CN113411153A (en) * 2021-06-07 2021-09-17 中国人民解放军国防科技大学 Centralized control time synchronization method for time sensitive network
CN113965488A (en) * 2021-09-10 2022-01-21 北京百度网讯科技有限公司 Method and device for delayed acquisition of data packets, electronic device and storage medium
CN116506330A (en) * 2023-06-30 2023-07-28 北京紫光芯能科技有限公司 CAN bus physical link propagation delay determining method and related device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120136956A1 (en) * 2010-11-29 2012-05-31 Spidercloud Wireless, Inc. Adaptive precision timing control in a communication system
CN105577349A (en) * 2014-10-31 2016-05-11 中国飞行试验研究院 Airborne network IEEE1588 protocol master-slave clock port synchronization method
CN105959076A (en) * 2012-12-17 2016-09-21 财团法人工业技术研究院 Device and method for making passive optical network possess ability of supporting time synchronization
CN110545153A (en) * 2018-09-14 2019-12-06 西北工业大学 Underwater wireless network time synchronization method capable of adapting to channel environment
CN111385048A (en) * 2018-12-29 2020-07-07 中兴通讯股份有限公司 Time synchronization method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120136956A1 (en) * 2010-11-29 2012-05-31 Spidercloud Wireless, Inc. Adaptive precision timing control in a communication system
CN105959076A (en) * 2012-12-17 2016-09-21 财团法人工业技术研究院 Device and method for making passive optical network possess ability of supporting time synchronization
CN105577349A (en) * 2014-10-31 2016-05-11 中国飞行试验研究院 Airborne network IEEE1588 protocol master-slave clock port synchronization method
CN110545153A (en) * 2018-09-14 2019-12-06 西北工业大学 Underwater wireless network time synchronization method capable of adapting to channel environment
CN111385048A (en) * 2018-12-29 2020-07-07 中兴通讯股份有限公司 Time synchronization method and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113259038A (en) * 2021-04-29 2021-08-13 北京邮电大学 Time synchronization method, node, device and storage medium
CN113411153A (en) * 2021-06-07 2021-09-17 中国人民解放军国防科技大学 Centralized control time synchronization method for time sensitive network
CN113411153B (en) * 2021-06-07 2022-07-26 中国人民解放军国防科技大学 Centralized control time synchronization method for time sensitive network
CN113965488A (en) * 2021-09-10 2022-01-21 北京百度网讯科技有限公司 Method and device for delayed acquisition of data packets, electronic device and storage medium
CN116506330A (en) * 2023-06-30 2023-07-28 北京紫光芯能科技有限公司 CAN bus physical link propagation delay determining method and related device

Also Published As

Publication number Publication date
CN112187393B (en) 2022-09-02

Similar Documents

Publication Publication Date Title
CN112187393B (en) PON bus time synchronization method and device, computer equipment and storage medium
CN112887045B (en) Message transmission method and device, FPGA (field programmable Gate array) and electronic equipment
CN109756566B (en) Block chain based data storage method, related equipment and storage medium
CN111148211A (en) Clock synchronization method and device, computer equipment and storage medium
CN111159233B (en) Distributed caching method, system, computer equipment and storage medium
CN105278413A (en) Communication method for upper computer and CAN equipment of same type
EP3720053B1 (en) Flexible ethernet delay measurement method and related device
CN113114533A (en) Network time consumption display method and device for distributed service invocation
CN114071487B (en) Interface delay measurement method, related network equipment and storage medium
CN111314221A (en) Service processing method, device, equipment and computer readable storage medium
CN112000850B (en) Method, device, system and equipment for processing data
CN102263672A (en) Institute of electrical and electronic engineers (IEEE) 1588 link detection method, system and IEEE 1588 link device
US20210382872A1 (en) Blockchain-based Data Storage Method, Related Device and Storage Medium
CN110519789B (en) Performance detection method, device, computer equipment and storage medium
CN114553895A (en) Data synchronization method, system, storage medium and electronic equipment
CN113259039A (en) Time synchronization method and device, computer equipment and storage medium
CN113014347A (en) Server time synchronization method and device, computer equipment and storage medium
CN113221151A (en) Data processing method and device based on block chain and storage medium
CN114328711A (en) Data processing method and device, computer equipment and storage medium
CN109995453B (en) Information processing method, device, equipment and computer readable storage medium
CN108712470B (en) Routing data synchronization method and device, computer device and storage medium
CN111538792B (en) Alliance link data processing method and device and electronic equipment
CN111625606A (en) Alliance link data processing method and device and electronic equipment
CN110213005B (en) Time synchronization method, device and system
CN110113187A (en) A kind of configuration update method, device, configuration server and configuration system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 701, 7th Floor, Building 6, Courtyard 8, Kegu 1st Street, Beijing Economic and Technological Development Zone, Daxing District, Beijing, 100176

Patentee after: Beijing Tasson Technology Ltd.

Address before: 100089 room 01, 11 / F, building 6, courtyard A2, Xisanhuan North Road, Haidian District, Beijing

Patentee before: BEIJING TASSON TECHNOLOGY Ltd.