CN110138486B - Method for generating synchronous message, synchronous device and computer readable storage medium - Google Patents
Method for generating synchronous message, synchronous device and computer readable storage medium Download PDFInfo
- Publication number
- CN110138486B CN110138486B CN201810107668.4A CN201810107668A CN110138486B CN 110138486 B CN110138486 B CN 110138486B CN 201810107668 A CN201810107668 A CN 201810107668A CN 110138486 B CN110138486 B CN 110138486B
- Authority
- CN
- China
- Prior art keywords
- synchronization
- sync message
- message
- time
- sync
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
- H04J3/0658—Clock or time synchronisation among packet nodes
- H04J3/0661—Clock or time synchronisation among packet nodes using timestamps
- H04J3/0667—Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a method for generating a synchronous message, which comprises the following steps: when a synchronous Sync message is received, setting identification information of the Sync message in the Sync message, and sending the Sync message to first synchronous equipment; receiving the identification information fed back by the first synchronization equipment and time synchronization information corresponding to the Sync message; and when receiving a Followaup message corresponding to the Sync message is confirmed based on the identification information, setting the time synchronization information in the Followaup message. The invention also discloses a synchronization device and a computer readable storage medium, by implementing the scheme, the network communication device can carry time synchronization information in the Follogoup message according to the two-step PTP protocol standard, so that the network communication device can carry out time synchronization based on the two-step PTP protocol standard.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method for generating a synchronization packet, a synchronization device, and a computer-readable storage medium.
Background
In a communication network, the normal operation of many services requires that communication network devices be time synchronized to keep the time or frequency difference between devices within reasonable error throughout the communication network. PTP (Precision Time Protoco 1) is a network Time synchronization protocol with Time synchronization performance in the order of sub-microseconds.
The PTP protocol comprises two PTP protocol standards of a one-step method and a two-step method. Some current communication network devices are limited by hardware and/or software, cannot perform time synchronization according to a two-step PTP protocol standard, and only acquire a timestamp specified by the two-step PTP protocol standard in another manner and perform time synchronization according to the timestamp by using a time synchronization calculation formula specified by the two-step PTP protocol standard. Thus, the two-step PTP protocol standard is not widely applicable to devices in a communication network.
Disclosure of Invention
The invention aims to solve the technical problem that part of communication network equipment in the prior art cannot carry time synchronization information in a Folloowup message according to a two-step PTP (precision time protocol) standard.
The technical scheme adopted by the invention is to provide a method for generating a synchronous message, which comprises the following steps:
when a synchronous Sync message is received, setting identification information of the Sync message in the Sync message, and sending the Sync message to first synchronous equipment;
receiving the identification information fed back by the first synchronization equipment and time synchronization information corresponding to the Sync message;
and when receiving a Followaup message corresponding to the Sync message is confirmed based on the identification information, setting the time synchronization information in the Followaup message.
Optionally, the setting the time synchronization information in the Followup message includes:
under the condition that the time synchronization information is not received, sending the Folloowup message to the first synchronization equipment;
and when receiving the Followaup message and the time synchronization information fed back by the first synchronization device, setting the time synchronization information in the Followaup message, and stopping sending the Followaup message to the first synchronization device.
Optionally, when the Sync packet sent by the control plane is received, the time synchronization information includes: and the sending time of the Sync message sent to the next communication node by the first synchronization equipment.
Optionally, when the Sync packet sent by the previous communication node is received, the time synchronization information includes: a synchronization time difference; the synchronization time difference is a difference between the sending time of the first synchronization device sending the Sync message to a next communication node and the receiving time of the Sync message.
The invention also provides a second synchronization device comprising a processor and a memory;
the processor is configured to execute a program for generating a sync message stored in the memory, so as to implement the steps of the above-mentioned sync message generating method.
The invention also provides a method for generating the synchronous message, which comprises the following steps:
when the Sync message sent by the second synchronization equipment is received, the Sync message is sent to a next communication node;
acquiring time synchronization information corresponding to the Sync message according to the sending time of the Sync message sent to a next communication node;
and feeding back the identification information carried in the Sync message and the time synchronization information to the second synchronization equipment.
Optionally, before the identifier information and the time synchronization information carried in the Sync packet are fed back to the second synchronization device, the method further includes:
and when receiving a Folloowup message sent by the second synchronization device, feeding back the Folloowup message to the second synchronization device.
Optionally, the method further includes:
and when the number of the received Sync messages is larger than a first set threshold value, caching the Sync messages received next time.
Optionally, the method further includes:
and stopping feeding the Followaup message back to the second synchronization equipment when the frequency of feeding the Followaup message back to the second synchronization equipment is greater than a second set threshold value.
Optionally, the obtaining, according to the sending time of the Sync packet sent to the next communication node, time synchronization information corresponding to the Sync packet includes:
judging whether the Sync message received by the second synchronization equipment is sent by a control layer or a last communication node;
if the Sync message received by the second synchronization equipment is judged to be sent by a control layer, the time synchronization information is set as the sending time for sending the Sync message to the next communication node;
if the Sync message received by the second synchronization equipment is judged to be sent by the last communication node, the time synchronization information is set as a synchronization time difference; and the synchronization time difference is a difference value between the sending time of the Sync message sent to the next communication node and the receiving time of the Sync message received by the second synchronization equipment.
The present invention also provides a first synchronization device comprising a processor and a memory;
the processor is configured to execute a program for generating a sync message stored in the memory, so as to implement the steps of the above-mentioned sync message generating method.
The invention also provides a device for generating the synchronous message, which comprises:
the device comprises a setting module, a synchronization device and a synchronization processing module, wherein the setting module is used for setting identification information of a synchronization message in the synchronization message when the synchronization message is received and sending the synchronization message to a first synchronization device;
a receiving module, configured to receive the identification information fed back by the first synchronization device and time synchronization information corresponding to the Sync message;
and the synchronization module is used for setting the time synchronization information in the Followap message when the receipt of the Followap message corresponding to the Sync message is confirmed based on the identification information.
Optionally, the setting the time synchronization information in the Followup message includes:
under the condition that the time synchronization information is not received, sending the Folloowup message to the first synchronization equipment;
and when receiving the Followaup message and the time synchronization information fed back by the first synchronization device, setting the time synchronization information in the Followaup message, and stopping sending the Followaup message to the first synchronization device.
Optionally, when the Sync packet sent by the control plane is received, the time synchronization information includes: and the sending time of the Sync message sent to the next communication node by the first synchronization equipment.
Optionally, when the Sync packet sent by the previous communication node is received, the time synchronization information includes: a synchronization time difference; the synchronization time difference is a difference between the sending time of the first synchronization device sending the Sync message to a next communication node and the receiving time of the Sync message.
The invention also provides a device for generating the synchronous message, which comprises:
the sending module is used for sending the Sync message to a next communication node when receiving the Sync message sent by the second synchronization equipment;
the acquisition module is used for acquiring time synchronization information corresponding to the Sync message according to the sending time of the Sync message sent to the next communication node;
and the first feedback module is used for feeding back the identification information carried in the Sync message and the time synchronization information to the second synchronization equipment.
Optionally, the apparatus further comprises:
and a second feedback module, configured to, before feeding back the identification information and the time synchronization information carried in the Sync message to the second synchronization device, when receiving a congestion message sent by the second synchronization device, feed back the congestion message to the second synchronization device.
Optionally, the apparatus further comprises:
and the caching module is used for caching the next received Sync message when the number of the received Sync messages is larger than a first set threshold value.
Optionally, the apparatus further comprises:
and the termination module is used for stopping feeding the Followaup message back to the second synchronization equipment when the frequency of feeding the Followaup message back to the second synchronization equipment is greater than a second set threshold value.
Optionally, the obtaining, according to the sending time of the Sync packet sent to the next communication node, time synchronization information corresponding to the Sync packet includes:
judging whether the Sync message received by the second synchronization equipment is sent by a control layer or a last communication node;
if the Sync message received by the second synchronization equipment is judged to be sent by a control layer, the time synchronization information is set as the sending time for sending the Sync message to the next communication node;
if the Sync message received by the second synchronization equipment is judged to be sent by the last communication node, the time synchronization information is set as a synchronization time difference; and the synchronization time difference is a difference value between the sending time of the Sync message sent to the next communication node and the receiving time of the Sync message received by the second synchronization equipment.
The invention also provides a system for generating the synchronous message, which comprises:
the second synchronization equipment is used for setting the identification information of the Sync message in the Sync message and sending the Sync message to the first synchronization equipment when receiving the Sync message;
the first synchronization device is used for sending the Sync message to a next communication node when receiving the Sync message; acquiring time synchronization information corresponding to the Sync message according to the sending time of the Sync message sent to a next communication node; feeding back the identification information carried in the Sync message and the time synchronization information to the second synchronization equipment;
and the second synchronization device is further configured to set the time synchronization information in the follow message when it is determined, based on the identification information, that the follow message corresponding to the Sync message is received.
Optionally, the second synchronization device is further configured to, when it is determined, based on the identification information, that a congestion message corresponding to the Sync message is received, send the congestion message to the first synchronization device under the condition that the time synchronization information is not received;
the first synchronization device is further configured to feed back the follow message to the second synchronization device when receiving the follow message sent by the second synchronization device;
and the second synchronization device is further configured to set the time synchronization information in the foldup message when receiving the foldup message and the time synchronization information fed back by the first synchronization device, and stop sending the foldup message to the first synchronization device.
Optionally, the first synchronization device is further configured to:
and when the number of the received Sync messages is larger than a first set threshold value, caching the Sync messages received next time.
Optionally, the first synchronization device is further configured to:
and stopping feeding the Followaup message back to the second synchronization equipment when the frequency of feeding the Followaup message back to the second synchronization equipment is greater than a second set threshold value.
Optionally, the obtaining, according to the sending time of the Sync packet sent to the next communication node, time synchronization information corresponding to the Sync packet includes:
judging whether the Sync message received by the second synchronization equipment is sent by a control layer or a last communication node;
if the Sync message received by the second synchronization device is judged to be sent by a control layer, setting the time synchronization information as the sending time of the first synchronization device for sending the Sync message to the next communication node;
if the Sync message received by the second synchronization equipment is judged to be sent by the last communication node, the time synchronization information is set as a synchronization time difference; the synchronization time difference is a difference between the sending time of the Sync message sent by the first synchronization device to the next communication node and the receiving time of the Sync message received by the second synchronization device.
The present invention also provides a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps of the above-mentioned synchronization message generation method.
By adopting the technical scheme, the invention at least has the following advantages:
the generation method of the synchronization message, the synchronization device and the computer readable storage medium enable the network communication device to carry time synchronization information in the Followup message according to the two-step PTP protocol standard, so that the network communication device can carry out time synchronization based on the two-step PTP protocol standard; the control plane type selection is simplified, the complexity of the control plane implementation is reduced, and the design flow of the control plane is effectively simplified.
Drawings
Fig. 1 is a flowchart of a method for generating a sync message according to a first embodiment and a second embodiment of the present invention;
fig. 2 is a flowchart of a method for generating a synchronization packet according to a third embodiment of the present invention;
fig. 3 is a flowchart of a method for generating a synchronization packet according to a fourth embodiment of the present invention;
fig. 4 is a schematic structural diagram of a synchronization packet generation apparatus according to a fifth and sixth embodiments of the present invention;
fig. 5 is a schematic structural diagram of a synchronization packet generation apparatus according to a seventh embodiment of the present invention;
fig. 6 is a schematic structural diagram of a synchronization packet generation apparatus according to an eighth embodiment of the present invention;
fig. 7 is a schematic structural diagram of a system for generating a sync message according to the ninth and tenth embodiments of the present invention;
FIG. 8 is a schematic diagram of a synchronization apparatus according to an eleventh embodiment of the present invention;
fig. 9 is a schematic structural diagram of a synchronization apparatus according to a twelfth embodiment of the present invention.
Detailed Description
To further explain the technical means and effects of the present invention adopted to achieve the intended purpose, the present invention will be described in detail with reference to the accompanying drawings and preferred embodiments.
PTP time synchronization involves three clock devices including: an OC (Ordinary Clock), in which an OC Clock node only has one PTP port participating in time synchronization in the same PTP domain, and performs time synchronization with an upstream Clock node through the PTP port; a BC (Boundary Clock), wherein the BC Clock node has a plurality of PTP ports in the same PTP domain to participate in time synchronization, the BC Clock performs time synchronization from an upstream Clock node through one of the PTP ports, and performs time synchronization on a downstream Clock node through the other ports; and the TC (Transparent Clock) time node does not need to keep time synchronization with other Clock nodes, and the TC Clock only forwards the PTP protocol message and performs forwarding delay correction on the PTP protocol message without performing time synchronization through any port.
A first embodiment of the present invention provides a method for generating a sync message, as shown in fig. 1, including the following specific steps:
step S101, when a Sync (synchronization) message is received, setting identification information of the Sync message in the Sync message, and sending the Sync message to a first synchronization device.
Optionally, the manner of setting the identification information of the Sync message in the Sync message includes, but is not limited to:
and setting identification information of the Sync message in a message header of the Sync message.
The identification information of the Sync message at least comprises one of the following information:
information such as a destination IP (Internet Protocol, Protocol for interconnection between networks) address of the Sync message, a source IP address of the Sync message, a source Port number of the Sync message, a destination Port number of the Sync message, a Protocol number of the Sync message, a source Port identification of the Sync message, and a serial number of the Sync message.
Optionally, step S101 includes:
when a Sync message is received, acquiring identification information of the Sync message;
and setting identification information of the Sync message in the Sync message, and sending the Sync message carrying the identification information to the first synchronization equipment so that the first synchronization equipment can feed back the identification information carried in the Sync message based on the received Sync message.
Step S102, receiving the identification information fed back by the first synchronization device and the time synchronization information corresponding to the Sync message.
Optionally, when the Sync packet sent by the control layer is received, time synchronization information corresponding to the Sync packet includes: and the first synchronization equipment sends the sending time of the Sync message to the next communication node.
Optionally, when the Sync packet sent by the previous communication node is received, the time synchronization information corresponding to the Sync packet includes: a synchronization time difference; the synchronization time difference is a difference between the sending time of the first synchronization device sending the Sync message to the next communication node and the receiving time of the Sync message.
Step S103, when the received Followaup message corresponding to the Sync message is confirmed based on the identification information, time synchronization information is set in the Followaup message.
Optionally, the manner of setting the time synchronization information in the Followup message includes, but is not limited to:
and setting time synchronization information in a preset field of the Folloowup message.
The method for generating a synchronization message according to the first embodiment of the present invention enables a network communication device to carry time synchronization information in a Followup message according to a two-step PTP protocol standard, so as to implement time synchronization of the network communication device based on the two-step PTP protocol standard, and enable a wide range of network communication devices to be suitable for the two-step PTP protocol standard; the control plane type selection is simplified, the complexity of the control plane implementation is reduced, and the design flow of the control plane is effectively simplified.
A second embodiment of the present invention provides a method for generating a sync message, as shown in fig. 1, including the following steps:
step S101, when a Sync message is received, setting identification information of the Sync message in the Sync message, and sending the Sync message to a first synchronization device.
Optionally, the manner of setting the identification information of the Sync message in the Sync message includes, but is not limited to:
and setting identification information of the Sync message in a message header of the Sync message.
The identification information of the Sync message at least comprises one of the following information:
the destination IP address of the Sync message, the source Port number of the Sync message, the destination Port number of the Sync message, the protocol number of the Sync message, the source Port identification of the Sync message, the serial number of the Sync message and other information.
Optionally, step S101 includes:
when a Sync message is received, acquiring identification information of the Sync message;
and setting identification information of the Sync message in the Sync message, and sending the Sync message carrying the identification information to the first synchronization equipment so that the first synchronization equipment can feed back the identification information carried in the Sync message based on the received Sync message.
Step S102, receiving the identification information fed back by the first synchronization device and the time synchronization information corresponding to the Sync message.
Optionally, when the Sync packet sent by the control layer is received, time synchronization information corresponding to the Sync packet includes: and the first synchronization equipment sends the sending time of the Sync message to the next communication node.
Optionally, when the Sync packet sent by the previous communication node is received, the time synchronization information corresponding to the Sync packet includes: a synchronization time difference; the synchronization time difference is a difference between the sending time of the first synchronization device sending the Sync message to the next communication node and the receiving time of the Sync message.
Step S103, when the received Followaup message corresponding to the Sync message is confirmed based on the identification information, time synchronization information is set in the Followaup message.
Optionally, the manner of setting the time synchronization information in the Followup message includes, but is not limited to:
under the condition that the time synchronization information is not received, sending a Folloowup message to first synchronization equipment; and when receiving the Followaup message and the time synchronization information fed back by the first synchronization equipment, setting the time synchronization information in the Followaup message, and stopping sending the Followaup message to the first synchronization equipment.
Optionally, the manner of setting the time synchronization information in the Followup message includes, but is not limited to:
and setting time synchronization information in a preset field of the Folloowup message.
The method for generating a synchronization message according to the second embodiment of the present invention enables a network communication device to carry time synchronization information in a Followup message according to a two-step PTP protocol standard, so as to implement time synchronization of the network communication device based on the two-step PTP protocol standard, and enable a wide range of network communication devices to be suitable for the two-step PTP protocol standard; the control plane type selection is simplified, the complexity of the control plane implementation is reduced, and the design flow of the control plane is effectively simplified.
A third embodiment of the present invention provides a method for generating a sync message, as shown in fig. 2, including the following steps:
step S301, when receiving the Sync message sent by the second synchronization device, sending the Sync message to a next communication node.
Step S302, according to the sending time of sending the Sync message to the next communication node, obtaining the time synchronization information corresponding to the Sync message.
Optionally, step S302 includes:
judging whether the Sync message received by the second synchronization equipment is sent by a control layer or a last communication node;
if the Sync message received by the second synchronization equipment is judged to be sent by the control layer, the time synchronization information is set as the sending time of the Sync message sent to the next communication node;
if the Sync message received by the second synchronization equipment is judged to be sent by the last communication node, setting the time synchronization information as a synchronization time difference; the synchronization time difference is a difference between the sending time of the Sync message sent to the next communication node and the receiving time of the Sync message received by the second synchronization device.
Step S303, the identification information and the time synchronization information carried in the Sync message are fed back to the second synchronization device.
Optionally, step S303 includes:
and feeding back the identification information and the time synchronization information carried in the Sync message to second synchronization equipment so that the second synchronization equipment sets the time synchronization information in the Followap message when confirming that the Followap message corresponding to the Sync message is received based on the identification information.
The identification information of the Sync message at least comprises one of the following information:
the destination IP address of the Sync message, the source Port number of the Sync message, the destination Port number of the Sync message, the protocol number of the Sync message, the source Port identification of the Sync message, the serial number of the Sync message and other information.
The method for generating a synchronization message according to the third embodiment of the present invention enables a network communication device to carry time synchronization information in a Followup message according to a two-step PTP protocol standard, so as to implement time synchronization of the network communication device based on the two-step PTP protocol standard, and enable a wide range of network communication devices to be suitable for the two-step PTP protocol standard; the control plane type selection is simplified, the complexity of the control plane implementation is reduced, and the design flow of the control plane is effectively simplified.
A fourth embodiment of the present invention provides a method for generating a sync message, as shown in fig. 3, including the following steps:
step S401, when receiving the Sync message sent by the second synchronization device, sending the Sync message to a next communication node.
Optionally, step S401 further includes:
and when the number of the received Sync messages is larger than a first set threshold value, caching the Sync messages received next time.
In this embodiment, the first set threshold is not specifically limited, and may be set according to engineering experience of an engineer, or may be set according to an optimal threshold obtained through a limited number of experiments, or may be set according to an optimal threshold obtained through a limited number of computer simulations.
The received Sync message which is larger than the first set threshold value is cached, so that the overflow of the Sync message can be effectively avoided, and an overflow protection mechanism is provided for the Sync message.
Step S402, according to the sending time of sending the Sync message to the next communication node, obtaining the time synchronization information corresponding to the Sync message.
Optionally, step S402 includes:
judging whether the Sync message received by the second synchronization equipment is sent by a control layer or a last communication node;
if the Sync message received by the second synchronization equipment is judged to be sent by the control layer, the time synchronization information is set as the sending time of the Sync message sent to the next communication node;
if the Sync message received by the second synchronization equipment is judged to be sent by the last communication node, setting the time synchronization information as a synchronization time difference; the synchronization time difference is a difference between the sending time of the Sync message sent to the next communication node and the receiving time of the Sync message received by the second synchronization device.
Step S403, when receiving a congestion message sent by the second synchronization device, feeding back the congestion message to the second synchronization device.
Optionally, step S403 further includes:
and stopping feeding the Followaup message back to the second synchronization equipment when the frequency of feeding the Followaup message back to the second synchronization equipment is greater than a second set threshold value.
In this embodiment, the second setting threshold is not specifically limited, and may be set according to engineering experience of an engineer, or may be set according to an optimal threshold obtained through a limited number of experiments, or may be set according to an optimal threshold obtained through a limited number of computer simulations.
Step S404, feeding back the identification information and the time synchronization information carried in the Sync message to the second synchronization device.
Optionally, step S404 includes:
and feeding back the identification information and the time synchronization information carried in the Sync message to second synchronization equipment so that the second synchronization equipment sets the time synchronization information in the Followap message when confirming that the Followap message corresponding to the Sync message is received based on the identification information.
The identification information of the Sync message at least comprises one of the following information:
the destination IP address of the Sync message, the source Port number of the Sync message, the destination Port number of the Sync message, the protocol number of the Sync message, the source Port identification of the Sync message, the serial number of the Sync message and other information.
The method for generating a synchronization message according to the fourth embodiment of the present invention enables a network communication device to carry time synchronization information in a Followup message according to a two-step PTP protocol standard, so as to implement time synchronization of the network communication device based on the two-step PTP protocol standard, and enable a wide range of network communication devices to be suitable for the two-step PTP protocol standard; the control plane type selection is simplified, the complexity of the control plane implementation is reduced, and the design flow of the control plane is effectively simplified.
A fifth embodiment of the present invention provides a device for generating a sync message, as shown in fig. 4, including the following components:
the setting module 101 is configured to, when a Sync message is received, set identification information of the Sync message in the Sync message, and send the Sync message to a first synchronization device.
Optionally, the manner of setting the identification information of the Sync message in the Sync message includes, but is not limited to:
and setting identification information of the Sync message in a message header of the Sync message.
The identification information of the Sync message at least comprises one of the following information:
the destination IP address of the Sync message, the source Port number of the Sync message, the destination Port number of the Sync message, the protocol number of the Sync message, the source Port identification of the Sync message, the serial number of the Sync message and other information.
Optionally, the setting module 101 is specifically configured to:
when a Sync message is received, acquiring identification information of the Sync message;
and setting identification information of the Sync message in the Sync message, and sending the Sync message carrying the identification information to the first synchronization equipment so that the first synchronization equipment can feed back the identification information carried in the Sync message based on the received Sync message.
A receiving module 102, configured to receive the identification information fed back by the first synchronization device and time synchronization information corresponding to the Sync message.
Optionally, when the Sync packet sent by the control layer is received, time synchronization information corresponding to the Sync packet includes: and the first synchronization equipment sends the sending time of the Sync message to the next communication node.
Optionally, when the Sync packet sent by the previous communication node is received, the time synchronization information corresponding to the Sync packet includes: a synchronization time difference; the synchronization time difference is a difference between the sending time of the first synchronization device sending the Sync message to the next communication node and the receiving time of the Sync message.
And the synchronization module 103 is configured to set time synchronization information in the follow message when it is determined, based on the identification information, that the follow message corresponding to the Sync message is received.
Optionally, the manner of setting the time synchronization information in the Followup message includes, but is not limited to:
and setting time synchronization information in a preset field of the Folloowup message.
The device for generating a synchronization packet according to the fifth embodiment of the present invention enables a network communication device to carry time synchronization information in a Followup packet according to a two-step PTP protocol standard, so as to implement time synchronization of the network communication device based on the two-step PTP protocol standard, and enable a wide range of network communication devices to be suitable for the two-step PTP protocol standard; the control plane type selection is simplified, the complexity of the control plane implementation is reduced, and the design flow of the control plane is effectively simplified.
A sixth embodiment of the present invention provides a device for generating a sync message, as shown in fig. 4, including the following components:
the setting module 101 is configured to, when a Sync message is received, set identification information of the Sync message in the Sync message, and send the Sync message to a first synchronization device.
Optionally, the manner of setting the identification information of the Sync message in the Sync message includes, but is not limited to:
and setting identification information of the Sync message in a message header of the Sync message.
The identification information of the Sync message at least comprises one of the following information:
the destination IP address of the Sync message, the source Port number of the Sync message, the destination Port number of the Sync message, the protocol number of the Sync message, the source Port identification of the Sync message, the serial number of the Sync message and other information.
Optionally, the setting module 101 is specifically configured to:
when a Sync message is received, acquiring identification information of the Sync message;
and setting identification information of the Sync message in the Sync message, and sending the Sync message carrying the identification information to the first synchronization equipment so that the first synchronization equipment can feed back the identification information carried in the Sync message based on the received Sync message.
A receiving module 102, configured to receive the identification information fed back by the first synchronization device and time synchronization information corresponding to the Sync message.
Optionally, when the Sync packet sent by the control layer is received, time synchronization information corresponding to the Sync packet includes: and the first synchronization equipment sends the sending time of the Sync message to the next communication node.
Optionally, when the Sync packet sent by the previous communication node is received, the time synchronization information corresponding to the Sync packet includes: a synchronization time difference; the synchronization time difference is a difference between the sending time of the first synchronization device sending the Sync message to the next communication node and the receiving time of the Sync message.
And the synchronization module 103 is configured to set time synchronization information in the follow message when it is determined, based on the identification information, that the follow message corresponding to the Sync message is received.
Optionally, the manner of setting the time synchronization information in the Followup message includes, but is not limited to:
under the condition that the time synchronization information is not received, sending a Folloowup message to first synchronization equipment; and when receiving the Followaup message and the time synchronization information fed back by the first synchronization equipment, setting the time synchronization information in the Followaup message, and stopping sending the Followaup message to the first synchronization equipment.
Optionally, the manner of setting the time synchronization information in the Followup message includes, but is not limited to:
and setting time synchronization information in a preset field of the Folloowup message.
The device for generating a synchronization packet according to the sixth embodiment of the present invention enables a network communication device to carry time synchronization information in a Followup packet according to a two-step PTP protocol standard, so as to implement time synchronization of the network communication device based on the two-step PTP protocol standard, and enable a wide range of network communication devices to be suitable for the two-step PTP protocol standard; the control plane type selection is simplified, the complexity of the control plane implementation is reduced, and the design flow of the control plane is effectively simplified.
A seventh embodiment of the present invention provides a device for generating a sync message, as shown in fig. 5, including the following components:
the sending module 201 is configured to send a Sync message to a next communication node when receiving the Sync message sent by the second synchronization device.
The obtaining module 202 is configured to obtain time synchronization information corresponding to the Sync message according to sending time for sending the Sync message to a next communication node.
Optionally, the obtaining module 202 is specifically configured to:
judging whether the Sync message received by the second synchronization equipment is sent by a control layer or a last communication node;
if the Sync message received by the second synchronization equipment is judged to be sent by the control layer, the time synchronization information is set as the sending time of the Sync message sent to the next communication node;
if the Sync message received by the second synchronization equipment is judged to be sent by the last communication node, setting the time synchronization information as a synchronization time difference; the synchronization time difference is a difference between the sending time of the Sync message sent to the next communication node and the receiving time of the Sync message received by the second synchronization device.
The first feedback module 203 is configured to feed back the identification information and the time synchronization information carried in the Sync message to the second synchronization device.
Optionally, the first feedback module 203 is specifically configured to:
and feeding back the identification information and the time synchronization information carried in the Sync message to second synchronization equipment so that the second synchronization equipment sets the time synchronization information in the Followap message when confirming that the Followap message corresponding to the Sync message is received based on the identification information.
The identification information of the Sync message at least comprises one of the following information:
the destination IP address of the Sync message, the source Port number of the Sync message, the destination Port number of the Sync message, the protocol number of the Sync message, the source Port identification of the Sync message, the serial number of the Sync message and other information.
The device for generating a synchronization packet according to the seventh embodiment of the present invention enables a network communication device to carry time synchronization information in a Followup packet according to a two-step PTP protocol standard, so as to implement time synchronization of the network communication device based on the two-step PTP protocol standard, and enable a wide range of network communication devices to be suitable for the two-step PTP protocol standard; the control plane type selection is simplified, the complexity of the control plane implementation is reduced, and the design flow of the control plane is effectively simplified.
An eighth embodiment of the present invention provides a device for generating a sync message, as shown in fig. 6, including the following components:
the sending module 201 is configured to send a Sync message to a next communication node when receiving the Sync message sent by the second synchronization device.
Optionally, the apparatus for generating a synchronization packet further includes:
the caching module 204 is configured to cache a next received Sync message when the number of the received Sync messages is greater than a first set threshold.
In this embodiment, the first set threshold is not specifically limited, and may be set according to engineering experience of an engineer, or may be set according to an optimal threshold obtained through a limited number of experiments, or may be set according to an optimal threshold obtained through a limited number of computer simulations.
The received Sync message which is larger than the first set threshold value is cached, so that the overflow of the Sync message can be effectively avoided, and an overflow protection mechanism is provided for the Sync message.
The obtaining module 202 is configured to obtain time synchronization information corresponding to the Sync message according to sending time for sending the Sync message to a next communication node.
Optionally, the obtaining module 202 is specifically configured to:
judging whether the Sync message received by the second synchronization equipment is sent by a control layer or a last communication node;
if the Sync message received by the second synchronization equipment is judged to be sent by the control layer, the time synchronization information is set as the sending time of the Sync message sent to the next communication node;
if the Sync message received by the second synchronization equipment is judged to be sent by the last communication node, setting the time synchronization information as a synchronization time difference; the synchronization time difference is a difference between the sending time of the Sync message sent to the next communication node and the receiving time of the Sync message received by the second synchronization device.
The second feedback module 205 is configured to, when receiving a congestion message sent by the second synchronization device, feed back the congestion message to the second synchronization device.
Optionally, the apparatus for generating a synchronization packet further includes:
and a termination module 206, configured to stop feeding back the follow message to the second synchronization device when the number of times of feeding back the follow message to the second synchronization device is greater than a second set threshold.
In this embodiment, the second setting threshold is not specifically limited, and may be set according to engineering experience of an engineer, or may be set according to an optimal threshold obtained through a limited number of experiments, or may be set according to an optimal threshold obtained through a limited number of computer simulations.
The first feedback module 203 is configured to feed back the identification information and the time synchronization information carried in the Sync message to the second synchronization device.
Optionally, the first feedback module 203 is specifically configured to:
and feeding back the identification information and the time synchronization information carried in the Sync message to second synchronization equipment so that the second synchronization equipment sets the time synchronization information in the Followap message when confirming that the Followap message corresponding to the Sync message is received based on the identification information.
The identification information of the Sync message at least comprises one of the following information:
the destination IP address of the Sync message, the source Port number of the Sync message, the destination Port number of the Sync message, the protocol number of the Sync message, the source Port identification of the Sync message, the serial number of the Sync message and other information.
The device for generating a synchronization packet according to the eighth embodiment of the present invention enables a network communication device to carry time synchronization information in a Followup packet according to a two-step PTP protocol standard, so as to implement time synchronization of the network communication device based on the two-step PTP protocol standard, and enable a wide range of network communication devices to be suitable for the two-step PTP protocol standard; the control plane type selection is simplified, the complexity of the control plane implementation is reduced, and the design flow of the control plane is effectively simplified.
A ninth embodiment of the present invention provides a system for generating a sync message, as shown in fig. 7, including the following components:
the second synchronization device 301 is configured to, when receiving a synchronization Sync message, set identification information of the Sync message in the Sync message, and send the Sync message to the first synchronization device 302.
Optionally, the manner of setting the identification information of the Sync message in the Sync message includes, but is not limited to:
and setting identification information of the Sync message in a message header of the Sync message.
The identification information of the Sync message at least comprises one of the following information:
the destination IP address of the Sync message, the source Port number of the Sync message, the destination Port number of the Sync message, the protocol number of the Sync message, the source Port identification of the Sync message, the serial number of the Sync message and other information.
A first synchronization device 302, configured to send the Sync packet to a next communication node when receiving the Sync packet; acquiring time synchronization information corresponding to the Sync message according to the sending time of sending the Sync message to a next communication node; the identification information and the time synchronization information carried in the Sync message are fed back to the second synchronization device 301.
Optionally, the method for acquiring the time synchronization information corresponding to the Sync message according to the sending time of the Sync message sent to the next communication node includes, but is not limited to:
judging whether the Sync message received by the second synchronization device 301 is sent by the control layer or the previous communication node;
if the Sync message received by the second synchronization device 301 is determined to be sent by the control layer, setting the time synchronization information as the sending time of the Sync message sent by the first synchronization device 302 to the next communication node;
if the Sync message received by the second synchronization equipment is judged to be sent by the last communication node, the time synchronization information is set as the synchronization time difference; the synchronization time difference is a difference between the sending time of the Sync message sent by the first synchronization device 302 to the next communication node and the receiving time of the Sync message received by the second synchronization device 301.
The second synchronization device 301 is further configured to set time synchronization information in a follow message when it is determined, based on the identification information, that the follow message corresponding to the Sync message is received.
Optionally, the manner of setting the time synchronization information in the Followup message includes, but is not limited to:
and setting time synchronization information in a preset field of the Folloowup message.
The system for generating a synchronization packet according to the ninth embodiment of the present invention enables a network communication device to carry time synchronization information in a Followup packet according to a two-step PTP protocol standard, so as to implement time synchronization of the network communication device based on the two-step PTP protocol standard, and enable a wide range of network communication devices to be suitable for the two-step PTP protocol standard; the control plane type selection is simplified, the complexity of the control plane implementation is reduced, and the design flow of the control plane is effectively simplified.
A tenth embodiment of the present invention provides a system for generating a sync message, as shown in fig. 7, including the following components:
the second synchronization device 301 is configured to, when receiving a synchronization Sync message, set identification information of the Sync message in the Sync message, and send the Sync message to the first synchronization device 302.
Optionally, the manner of setting the identification information of the Sync message in the Sync message includes, but is not limited to:
and setting identification information of the Sync message in a message header of the Sync message.
The identification information of the Sync message at least comprises one of the following information:
the destination IP address of the Sync message, the source Port number of the Sync message, the destination Port number of the Sync message, the protocol number of the Sync message, the source Port identification of the Sync message, the serial number of the Sync message and other information.
A first synchronization device 302, configured to send the Sync packet to a next communication node when receiving the Sync packet; acquiring time synchronization information corresponding to the Sync message according to the sending time of sending the Sync message to a next communication node; the identification information and the time synchronization information carried in the Sync message are fed back to the second synchronization device 301.
Optionally, the method for acquiring the time synchronization information corresponding to the Sync message according to the sending time of the Sync message sent to the next communication node includes, but is not limited to:
judging whether the Sync message received by the second synchronization device 301 is sent by the control layer or the previous communication node;
if the Sync message received by the second synchronization device 301 is determined to be sent by the control layer, setting the time synchronization information as the sending time of the Sync message sent by the first synchronization device 302 to the next communication node;
if the Sync message received by the second synchronization equipment is judged to be sent by the last communication node, the time synchronization information is set as the synchronization time difference; the synchronization time difference is a difference between the sending time of the Sync message sent by the first synchronization device 302 to the next communication node and the receiving time of the Sync message received by the second synchronization device 301.
The second synchronization device 301 is further configured to set time synchronization information in a follow message when it is determined, based on the identification information, that the follow message corresponding to the Sync message is received.
Optionally, the manner of setting the time synchronization information in the Followup message includes, but is not limited to:
and setting time synchronization information in a preset field of the Folloowup message.
Optionally, the second synchronization device 301 is further configured to, when it is determined based on the identification information that the Followup packet corresponding to the Sync packet is received, send the Followup packet to the first synchronization device 302 under the condition that the time synchronization information is not received;
the first synchronization device 302 is further configured to feed back a follow message to the second synchronization device 301 when receiving the follow message sent by the second synchronization device 301;
the second synchronization device 301 is further configured to, when receiving the Followup message and the time synchronization information fed back by the first synchronization device 302, set the time synchronization information in the Followup message, and stop sending the Followup message to the first synchronization device 302.
Optionally, the first synchronization device 302 is further configured to cache the next received Sync message when the number of the received Sync messages is greater than a first set threshold.
Optionally, the first synchronization device 302 is further configured to stop feeding back the Followup message to the second synchronization device 301 when the number of times of feeding back the Followup message to the second synchronization device 301 is greater than a second set threshold.
The system for generating a synchronization packet according to the tenth embodiment of the present invention enables a network communication device to carry time synchronization information in a Followup packet according to a two-step PTP protocol standard, so as to implement time synchronization of the network communication device based on the two-step PTP protocol standard, and enable a wide range of network communication devices to be suitable for the two-step PTP protocol standard; the control plane type selection is simplified, the complexity of the control plane implementation is reduced, and the design flow of the control plane is effectively simplified.
An eleventh embodiment of the present invention, a synchronization apparatus, as shown in fig. 8, includes the following components:
a processor 501 and a memory 502. In some embodiments of the invention, the processor 501 and the memory 502 may be connected by a bus or other means.
a memory 502 for storing program code and transferring the program code to the processor 501. Memory 502 may include Volatile Memory (Volatile Memory), such as Random Access Memory (RAM); the Memory 502 may also include a Non-Volatile Memory (Non-Volatile Memory), such as a Read-Only Memory (ROM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, HDD), or a Solid-State Drive (SSD); the memory 502 may also comprise a combination of memories of the kind described above.
The processor 501 is configured to call the program code management code stored in the memory 502, and perform some or all of the steps in any of the first embodiment to the second embodiment of the present invention.
In this embodiment, the synchronization device may be provided in any network communication device.
The synchronization device according to the eleventh embodiment of the present invention enables the network communication device to carry time synchronization information in the follow message according to the two-step PTP protocol standard, so as to implement time synchronization of the network communication device based on the two-step PTP protocol standard, and enable a wide range of network communication devices to be suitable for the two-step PTP protocol standard; the control plane type selection is simplified, the complexity of the control plane implementation is reduced, and the design flow of the control plane is effectively simplified.
A twelfth embodiment of the present invention, a synchronization apparatus, as shown in fig. 9, includes the following components:
a processor 601 and a memory 602. In some embodiments of the invention, the processor 601 and the memory 602 may be connected by a bus or other means.
a memory 602 for storing the program code and transferring the program code to the processor 601. The Memory 602 may include Volatile Memory (Volatile Memory), such as Random Access Memory (RAM); the Memory 602 may also include a Non-Volatile Memory (Non-Volatile Memory), such as a Read-Only Memory (ROM), a flash Memory (flash Memory), a Hard Disk Drive (HDD), or a Solid-State Drive (SSD); the memory 602 may also comprise a combination of memories of the kind described above.
The processor 601 is configured to call the program code management code stored in the memory 602, and perform some or all of the steps in any of the third embodiment to the fourth embodiment of the present invention.
In this embodiment, the synchronization device may be provided in any network communication device.
The synchronization device according to the twelfth embodiment of the present invention enables the network communication device to carry time synchronization information in the Followup message according to the two-step PTP protocol standard, so as to implement time synchronization of the network communication device based on the two-step PTP protocol standard, and enable a wide range of network communication devices to be suitable for the two-step PTP protocol standard; the control plane type selection is simplified, the complexity of the control plane implementation is reduced, and the design flow of the control plane is effectively simplified.
A thirteenth embodiment of the present invention is a computer-readable storage medium.
The computer storage media may be RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage media known in the art.
The computer readable storage medium stores one or more programs which are executable by one or more processors to implement some or all of the steps in any of the first to second embodiments of the present invention and/or to implement some or all of the steps in any of the third to fourth embodiments of the present invention.
A computer-readable storage medium according to a thirteenth embodiment of the present invention stores one or more programs, where the one or more programs are executable by one or more processors, so that a network communication device can carry time synchronization information in a Followup packet according to a two-step PTP protocol standard, so as to implement time synchronization of the network communication device based on the two-step PTP protocol standard, and thus a wide range of network communication devices are suitable for the two-step PTP protocol standard; the control plane type selection is simplified, the complexity of the control plane implementation is reduced, and the design flow of the control plane is effectively simplified.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (6)
1. A method for generating a synchronization packet is applied to a second synchronization device, and the method comprises:
when a synchronous Sync message is received, setting identification information of the Sync message in the Sync message, and sending the Sync message to first synchronous equipment; the Sync message sent to the first synchronization device comprises the receiving time of the second synchronization device for receiving the Sync message;
receiving the identification information fed back by the first synchronization equipment and time synchronization information corresponding to the Sync message; wherein, in case of receiving the Sync message sent by the control plane, the time synchronization information includes: the sending time of the Sync message sent by the first synchronization equipment to a next communication node; when the Sync message sent by the previous communication node is received, the time synchronization information includes: a synchronization time difference; the synchronization time difference is a difference between the sending time of the first synchronization device sending the Sync message to a next communication node and the receiving time of the second synchronization device receiving the Sync message;
and when confirming that a Followaup message fed back by the first synchronization device is received based on the identification information, the Followaup message corresponds to the Sync message, and the time synchronization information is set in the Followaup message.
2. The method of claim 1, wherein the setting the time synchronization information in the Followup message comprises:
under the condition that the time synchronization information is not received, sending the Folloowup message to the first synchronization equipment;
and when receiving the Followaup message and the time synchronization information fed back by the first synchronization device, setting the time synchronization information in the Followaup message, and stopping sending the Followaup message to the first synchronization device.
3. A method for generating a synchronization message is applied to a first synchronization device, and the method comprises the following steps:
when a Sync message sent by second synchronization equipment is received, sending the Sync message to a next communication node; the Sync message received from the second synchronization device comprises the receiving time of the Sync message received by the second synchronization device;
acquiring time synchronization information corresponding to the Sync message according to the sending time of the Sync message sent to a next communication node;
feeding back the identification information carried in the Sync message and the time synchronization information to the second synchronization equipment;
the acquiring time synchronization information corresponding to the Sync message according to the sending time of the Sync message sent to the next communication node includes:
judging whether the Sync message received by the second synchronization equipment is sent by a control layer or a last communication node;
if the Sync message received by the second synchronization equipment is judged to be sent by a control layer, the time synchronization information is set as the sending time for sending the Sync message to the next communication node;
if the Sync message received by the second synchronization equipment is judged to be sent by the last communication node, the time synchronization information is set as a synchronization time difference; the synchronization time difference is a difference between the sending time of the Sync message sent to the next communication node and the receiving time of the Sync message received by the second synchronization equipment;
before the feeding back the identification information carried in the Sync message and the time synchronization information to the second synchronization device, the method further includes:
and when receiving a Folloowup message sent by the second synchronization device, feeding back the Folloowup message to the second synchronization device.
4. A second synchronization device, wherein the second synchronization device comprises a processor and a memory;
the processor is used for executing the program for generating the sync message stored in the memory so as to realize the steps of the sync message generating method according to any one of claims 1-2.
5. A first synchronization device, wherein the first synchronization device comprises a processor and a memory;
the processor is configured to execute a program for generating a sync message stored in a memory to implement the steps of the sync message generating method according to claim 3.
6. A computer readable storage medium, storing one or more programs, which are executable by one or more processors to perform the steps of the method for generating a sync message according to any one of claims 1-2, and/or to perform the steps of the method for generating a sync message according to claim 3.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810107668.4A CN110138486B (en) | 2018-02-02 | 2018-02-02 | Method for generating synchronous message, synchronous device and computer readable storage medium |
PCT/CN2019/074550 WO2019149280A1 (en) | 2018-02-02 | 2019-02-02 | Method for generating synchronization message, synchronization apparatus, and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810107668.4A CN110138486B (en) | 2018-02-02 | 2018-02-02 | Method for generating synchronous message, synchronous device and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110138486A CN110138486A (en) | 2019-08-16 |
CN110138486B true CN110138486B (en) | 2021-10-12 |
Family
ID=67477917
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810107668.4A Active CN110138486B (en) | 2018-02-02 | 2018-02-02 | Method for generating synchronous message, synchronous device and computer readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110138486B (en) |
WO (1) | WO2019149280A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113411153B (en) * | 2021-06-07 | 2022-07-26 | 中国人民解放军国防科技大学 | Centralized control time synchronization method for time sensitive network |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101400018A (en) * | 2007-09-30 | 2009-04-01 | 中兴通讯股份有限公司 | Broadcast data synchronization layer implementing method |
CN102640454A (en) * | 2009-11-11 | 2012-08-15 | 三菱电机株式会社 | Communication system, communication apparatus and time synchronization method |
CN102801733A (en) * | 2012-08-28 | 2012-11-28 | 盛科网络(苏州)有限公司 | Method for setting security authentication in precision time protocol (PTP) |
EP2683110A1 (en) * | 2011-03-03 | 2014-01-08 | Nec Corporation | Synchronization system, synchronization method, first synchronization device, second synchronization device, and computer program |
CN105812209A (en) * | 2016-05-09 | 2016-07-27 | 中国南方电网有限责任公司电网技术研究中心 | State detection method and system of time synchronization system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101599894B (en) * | 2008-06-04 | 2013-01-30 | 华为技术有限公司 | Method, device and system for processing messages containing clock information |
CN103746789B (en) * | 2013-12-18 | 2017-04-26 | 北京四方继保自动化股份有限公司 | Method for realizing high-precision time scales in IEEE-1588 protocol based on CPU universal timer |
WO2017144108A1 (en) * | 2016-02-25 | 2017-08-31 | Khalifa University of Science, Technology, and Research | Methods and systems for estimating skew |
-
2018
- 2018-02-02 CN CN201810107668.4A patent/CN110138486B/en active Active
-
2019
- 2019-02-02 WO PCT/CN2019/074550 patent/WO2019149280A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101400018A (en) * | 2007-09-30 | 2009-04-01 | 中兴通讯股份有限公司 | Broadcast data synchronization layer implementing method |
CN102640454A (en) * | 2009-11-11 | 2012-08-15 | 三菱电机株式会社 | Communication system, communication apparatus and time synchronization method |
EP2683110A1 (en) * | 2011-03-03 | 2014-01-08 | Nec Corporation | Synchronization system, synchronization method, first synchronization device, second synchronization device, and computer program |
CN102801733A (en) * | 2012-08-28 | 2012-11-28 | 盛科网络(苏州)有限公司 | Method for setting security authentication in precision time protocol (PTP) |
CN105812209A (en) * | 2016-05-09 | 2016-07-27 | 中国南方电网有限责任公司电网技术研究中心 | State detection method and system of time synchronization system |
Also Published As
Publication number | Publication date |
---|---|
CN110138486A (en) | 2019-08-16 |
WO2019149280A1 (en) | 2019-08-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3026861B1 (en) | Method and apparatus for processing time synchronization | |
US10567101B2 (en) | Transmitting residence time information in a network | |
EP3840311B1 (en) | Traffic scheduling method, device, and system | |
EP3313027A1 (en) | Routing rule acquisition method, device and system | |
JP2011530954A (en) | Method and apparatus for providing a modified timestamp in a communication system | |
EP3313031B1 (en) | Sdn-based arp realization method and apparatus | |
CN109561022A (en) | A kind of multicast forward method and multicast router | |
WO2011032494A1 (en) | Method and clock device for processing precision time protocol message | |
WO2022078232A1 (en) | Forwarding method and apparatus for deterministic service | |
CN110138486B (en) | Method for generating synchronous message, synchronous device and computer readable storage medium | |
CN109005116B (en) | Message forwarding method and device | |
CN109067657B (en) | Message processing method and device | |
CN108900422B (en) | Multicast forwarding method and device and electronic equipment | |
CN109661037B (en) | SFC message forwarding method and device | |
CN111510394A (en) | Message scheduling method, related equipment and computer storage medium | |
WO2015096734A1 (en) | Downlink transmission method for service data, and packet data gateway | |
CN117336841A (en) | Local area network communication synchronization method, device and equipment supporting TSN | |
CN113132300B (en) | Audio data transmission method and device | |
CN113438606B (en) | Message transmission method, device, related equipment and storage medium | |
CN111600798B (en) | Method and equipment for sending and obtaining assertion message | |
CN112311668A (en) | Method, network device and system for processing BIER message | |
CN101848169B (en) | Message forwarding method in cluster management and exchanger | |
CN107370716B (en) | Multicast information processing method and device | |
CN111107006B (en) | Routing management method and device | |
WO2024021672A1 (en) | Multicast packet processing method and device, storage medium, and electronic device |
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 |