CN112865907A - Method, device and storage medium for realizing precise time protocol delay request message - Google Patents

Method, device and storage medium for realizing precise time protocol delay request message Download PDF

Info

Publication number
CN112865907A
CN112865907A CN202110037982.1A CN202110037982A CN112865907A CN 112865907 A CN112865907 A CN 112865907A CN 202110037982 A CN202110037982 A CN 202110037982A CN 112865907 A CN112865907 A CN 112865907A
Authority
CN
China
Prior art keywords
message
timestamp
delay
ptp
field
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
CN202110037982.1A
Other languages
Chinese (zh)
Other versions
CN112865907B (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.)
Kungao New Core Microelectronics Jiangsu Co ltd
Original Assignee
Kungao New Core Microelectronics Jiangsu 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 Kungao New Core Microelectronics Jiangsu Co ltd filed Critical Kungao New Core Microelectronics Jiangsu Co ltd
Priority to CN202110037982.1A priority Critical patent/CN112865907B/en
Publication of CN112865907A publication Critical patent/CN112865907A/en
Application granted granted Critical
Publication of CN112865907B publication Critical patent/CN112865907B/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
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method, a device and a storage medium for realizing a precise time protocol Delay request message, which comprises the steps of recording message time, identifying a PTP message, and judging whether the message is a Delay Req message or not according to the identified PTP message type information; modifying a correction domain field of the one-step Delay Req message, processing the one-step Delay Req message in the receiving direction, and setting an initial timestamp as an arrival timestamp; and reading the arrival timestamp recorded in the field of the starting timestamp when setting a new correction domain for the Delay Req message in one step in the sending direction. The invention realizes the one-step mode processing of the Delay Req message on the TC. The Delay error on the PHY is eliminated, an upper layer module is not required to participate in the processing of the PTP Delay Req message forwarded by the local TC, and the implementation difficulty of the TC is simplified. Modification of PTP Delay Req messages on TC is achieved in a physical layer, an upper layer module is not needed to participate in PTP message processing while time accuracy is improved, development difficulty of a system is reduced, and development and maintenance cost of products is reduced.

Description

Method, device and storage medium for realizing precise time protocol delay request message
Technical Field
The invention belongs to the field of Ethernet, and particularly relates to a method for realizing a precise time protocol delay request message.
Background
The Precision Time Protocol (PTP) defined by IEEE1588 is a widely used Time synchronization technical scheme at present, and IEEE1588 is called as "Precision clock synchronization Protocol standard of network measurement and control system" for satisfying the requirement of distributed network Time synchronization for measurement and control application. PTP calculates and recovers the local clock and frequency by recording timestamps of arrival and departure of certain PTP protocol messages to and from the device. 1588v2 there are 3 clock modes: a common clock (OC), a Boundary Clock (BC), and a Transparent Clock (TC).
An End-to-End Transparent Clock (E2 ETC) directly forwards a PTP protocol message of a non Peer-to-Peer (P2P) type in a network, and participates in calculating the delay of the whole link. The E2ETC is to increase the local residence time (residentime) and subtract the time of the Delay asymmetry correction (delayaasymmetry) of the egress in the correction field (orrectinfield) in the Delay request message (Delay Req) in the PTP.
When the Delay Req message passes through the TC, the old correction field (old correction field) needs to be updated, and the updating method is as follows:
new correction field (new correction field) old correction field (old correction field) + residence time (lifetime time) -exit delay asymmetry correction (delayaasymmetry) time
The method for calculating the residence time (resettime) of the PTP message on the TC is as follows:
residenetime is the departure timestamp-arrival timestamp;
because calculating the residenTime requires the arrival timestamp of the message on the TC, and it is very difficult to carry this information to the exit while forwarding the message, the PTP message forwarding on the TC cannot be realized by only depending on the physical layer.
At present, there are two main schemes for implementing TC of PTP, one of which relies on a two-step mode, where timestamps of arrival and departure of a Delay request packet (Delay Req) are recorded at a Medium Dependent Interface (MDI) of a physical layer, and after a residence time (residenetime) is acquired and calculated by an upper layer module, the residence time (residenetime) is added to a subsequent Delay response packet (Delay Resp). The scheme needs an upper layer module to participate in the forwarding and modification of the PTP event message, and brings implementation difficulty and system complexity. Compared with the one-step mode, the two-step mode causes Delay of the calculation time due to the increase of the forwarding Delay of the Delay response message (Delay Resp), and further introduces errors, so that the time precision is improved to a limited extent.
Another scheme is that a Media Independent Interface (MII) between a physical layer and a Media Access Control (MAC) layer records timestamps of arrival and departure of a Delay request message (Delay Req), so that a message modification operation can be implemented in the MAC. According to the protocol theory requirement, the recording point of the PTP timestamp should be at the Physical layer MDI, and the timestamp acquired at the MII introduces the path delay of the Physical layer (PHY), so that the influence of delay change on the PHY cannot be avoided in the calculation, the error caused by the PHY cannot be completely eliminated, and the time precision is limited to be improved.
Disclosure of Invention
The invention aims to provide a method for realizing a precise time protocol delay request message; the invention solves the problems that the realization difficulty is large in the main scheme of TC for realizing PTP, the error caused by PHY can not be completely eliminated, and the time precision is improved limitedly.
In a first aspect, the present invention provides a method for implementing a precise time protocol delay request packet, including the following steps:
recording the message time: the receiving direction is the time stamp of the message reaching the PHY, and the sending direction is the time stamp of the message leaving the PHY;
identifying the PTP message: identifying the type information of the PTP message according to the characteristics of the PTP message;
judging whether the message is a one-step Delay Req message according to the identified PTP message type information;
modifying a Delay Req message correction field in one step:
processing the Delay Req message in the receiving direction, and setting an initial timestamp origin timestamp as an arrival timestamp;
and reading an arrival timestamp recorded in an initial timestamp field origin timestamp when a new correction field new corectionfield is set for the Delay Req message in the sending direction.
According to the technology, a Delay Req message is set, the message records the required arrival timestamp through the origin timestamp originTimestamp in the process of modifying the correction field, and when the arrival timestamp is used, the arrival timestamp is read from the origin timestamp originTimestamp; the invention records the time of entering and leaving the message at MDI by PHY, and realizes the one-step mode processing of Delay Req message on TC by modifying the correction domain and the initial timestamp field of PTP message while transmitting. Compared with the method of recording time at the MII, the time delay error on the PHY is eliminated. And an upper layer module is not required to participate in the processing of the PTP one-step Delay Req message forwarded by the local TC, so that the implementation difficulty of the TC is simplified. Meanwhile, the time precision is improved compared with the two-step mode because the one-step mode is supported. Modification of PTP Delay Req messages on TC is achieved in a physical layer, an upper layer module is not needed to participate in PTP message processing while time accuracy is improved, development difficulty of a system is reduced, and development and maintenance cost of products is reduced.
Further, the method for setting a new correction field new coreferencefield for the further Delay Req packet in the sending direction is as follows:
the new correction field is the old correction field minus the egress delay asymmetry correction delayaasymmetry and plus the dwell time, which is the departure timestamp minus the start timestamp origin timestamp.
Further, the method is characterized in that the cyclic redundancy check CRC value is corrected while the PTP message is corrected. The method supports different packaging modes of the Delay Req message in one step, and corrects the CRC value for message checking while correcting the PTP message.
Further, if the message carrying the PTP is a UDP message, the UDP checksum field is corrected at the same time.
Further, when processing the Delay Req, the initial timestamp origin timestamp field is set to 0 when the packet is modified at the exit. When the message is modified at the outlet, the initial timestamp OriginTimestamp field is set to 0, so that the protocol requirement can be completely met, and the problem possibly caused by using the field by some non-standard applications is avoided.
In a second aspect, the present invention provides an apparatus for implementing a precision time protocol delay request message, comprising a message time recording unit, a message identifying unit, a message judging unit, and a message correction field modifying unit, wherein,
the message time recording unit is used for recording message time, and comprises a timestamp for recording the time when the message reaches the PHY in the receiving direction and a timestamp for recording the time when the message leaves the PHY in the sending direction;
the message identification unit is used for identifying the PTP message and identifying the type information of the PTP message according to the characteristics of the PTP message;
the message judging unit is used for judging whether the message is a Delay Req message according to the identified PTP message type information;
the message correction field modification unit is used for modifying the field of the Delay Req message correction field in one step;
the device also comprises a starting timestamp reading and writing unit;
the starting timestamp reading and writing unit is used for setting a starting timestamp origin timestamp as an arrival timestamp for the one-step Delay Req message in the receiving direction; and reading an arrival timestamp recorded in an initial timestamp field origin timestamp when a new correction field new corectionfield is set for the Delay Req message in the sending direction.
Further, the message correction field calculating unit is configured to calculate a new correction field, where the new correction field is obtained by subtracting the delay asymmetry correction delayaasymmetry of the exit from the old correction field and adding the residence time, where the residence time is obtained by subtracting the start timestamp OriginTimestamp from the departure timestamp.
Further, the device comprises a check value revision unit, which is used for revising the Cyclic Redundancy Check (CRC) value while revising the PTP message, and revising the UDP checksum field while revising the UDP message when the UDP message is used for carrying the PTP.
Further, the system comprises a starting timestamp origin timestamp zero setting unit, which is used for setting a field of the starting timestamp origin timestamp to 0 when modifying the message at the outlet when processing the Delay Req.
In a third aspect, the present invention provides a computer readable storage medium having stored thereon instructions which, when run on a computer, perform the method according to the first aspect.
The invention has the beneficial effects that:
1. the invention records the time of entering and leaving the message at MDI by PHY, and realizes the one-step mode processing of Delay Req message on TC by modifying the correction domain and the initial timestamp field of PTP message while transmitting. Compared with the method of recording time at the MII, the time delay error on the PHY is eliminated. And an upper layer module is not required to participate in the processing of the PTP one-step Delay Req message forwarded by the local TC, so that the implementation difficulty of the TC is simplified. Meanwhile, the time precision is improved compared with the two-step mode because the one-step mode is supported; the modification of the PTP one-step Delay Req message on the TC is realized in the physical layer, the time precision is improved, an upper layer module is not required to participate in PTP message processing, the development difficulty of a system is reduced, and the development and maintenance cost of a product is reduced.
2. When the message is modified at the outlet, the initial timestamp OriginTimestamp field is set to 0, so that the protocol requirement can be completely met, and the problem possibly caused by using the field by some non-standard applications is avoided.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of one-step Delay Req packet receiving direction processing for implementing the precise time protocol Delay request packet method provided by the present invention.
Fig. 2 is a schematic diagram of one-step Delay Req message sending direction processing for implementing the precise time protocol Delay request message method provided by the present invention.
Fig. 3 is a block diagram of a device for implementing precise time protocol delay request messages according to the present invention.
Detailed Description
The invention is further described with reference to the following figures and specific embodiments. It should be noted that the description of the embodiments is provided to help understanding of the present invention, but the present invention is not limited thereto. Specific structural and functional details disclosed herein are merely illustrative of example embodiments of the invention. This invention may, however, be embodied in many alternate forms and should not be construed as limited to the embodiments set forth herein.
It should be understood that, for the term "and/or" as may appear herein, it is merely an associative relationship that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, B exists alone, and A and B exist at the same time; for the term "/and" as may appear herein, which describes another associative object relationship, it means that two relationships may exist, e.g., a/and B, may mean: a exists independently, and A and B exist independently; in addition, for the character "/" that may appear herein, it generally means that the former and latter associated objects are in an "or" relationship.
It will be understood that when an element is referred to herein as being "connected," "connected," or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may be present. Conversely, if a unit is referred to herein as being "directly connected" or "directly coupled" to another unit, it is intended that no intervening units are present. In addition, other words used to describe the relationship between elements should be interpreted in a similar manner (e.g., "between … …" versus "directly between … …", "adjacent" versus "directly adjacent", etc.).
It is to be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments of the invention. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes" and/or "including," when used herein, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, numbers, steps, operations, elements, components, and/or groups thereof.
It should also be noted that, in some alternative designs, the functions/acts noted may occur out of the order noted in the figures. For example, two figures shown in succession may, in fact, be executed substantially concurrently, or the figures may sometimes be executed in the reverse order, depending upon the functionality/acts involved.
It should be understood that specific details are provided in the following description to facilitate a thorough understanding of example embodiments. However, it will be understood by those of ordinary skill in the art that the example embodiments may be practiced without these specific details. For example, systems may be shown in block diagrams in order not to obscure the examples in unnecessary detail. In other instances, well-known processes, structures and techniques may be shown without unnecessary detail in order to avoid obscuring example embodiments.
The invention mainly solves the problem of how to realize a one-step mode of delaying a request message Delay Req in a precision time protocol PTP on a physical layer of a TC, and corrects a local residence time and an export delayAsymmetry into a message corrrectionField field while forwarding the Delay Req message.
After receiving a Delay Req message, the OC or BC copies the coretectionfield to a newly generated Delay Resp message without performing any calculation using origin timestamp of the Delay Req.
As shown in fig. 1 and fig. 2, in the method for implementing a precise time protocol delay request packet according to the first aspect of the present invention, after detecting a packet, a device performs the following steps:
recording the message time: the receiving direction is the time stamp of the message reaching the PHY, and the sending direction is the time stamp of the message leaving the PHY;
identifying the PTP message: identifying the type information of the PTP message according to the characteristics of the PTP message;
judging whether the message is a one-step Delay Req message according to the identified PTP message type information;
modifying a Delay Req message correction field in one step:
processing the Delay Req message in the receiving direction, and modifying an initial timestamp origin timestamp to be an arrival timestamp;
and reading an arrival timestamp recorded in an initial timestamp field origin timestamp when a new correction field new corectionfield is set for the Delay Req message in the sending direction.
In implementation, the method for setting a new correction field new coreferencefield for the Delay Req packet in the sending direction includes:
the new correction field is the old correction field minus the egress delay asymmetry correction delayaasymmetry and plus the dwell time, which is the departure timestamp minus the start timestamp origin timestamp.
In the implementation process, the cyclic redundancy check CRC value is corrected while the PTP message is corrected. And if the message carrying the PTP is a UDP message, correcting the UDP checksum field at the same time. During specific implementation, the message is modified, the check value should be correspondingly modified, and corresponding check modification is performed according to different PTP message formats.
In one possible design, when a Delay Req is processed in one step, the origin timestamp field is set to 0 when the packet is modified at the egress. The PTP protocol requires that the start timestamp OriginTimestamp field in the Delay Req issued by the ordinary clock OC or the boundary clock BC is set to 0 or a departure timestamp. When the TC processes the Delay Req in one step, the initial timestamp origin timestamp field is set to 0 when the message is modified at the exit, so that the protocol requirements can be completely met, and the problem possibly caused by using the field by some non-standard applications is avoided.
In conclusion, the invention realizes the one-step mode forwarding of the Delay Req message by the precision time protocol PTP intermediate equipment TC in the physical layer, improves the precision of PTP time and simplifies the design of a TC equipment system.
In a second aspect, as shown in fig. 2, the embodiment provides an apparatus for implementing a precision time protocol delay request message, including a message time recording unit, a message identification unit, a message judgment unit, and a message correction field modification unit, wherein,
the message time recording unit is used for recording message time, and comprises a timestamp for recording the time when the message reaches the PHY in the receiving direction and a timestamp for recording the time when the message leaves the PHY in the sending direction;
the message identification unit is used for identifying the PTP message and identifying the type information of the PTP message according to the characteristics of the PTP message;
the message judging unit is used for judging whether the message is a Delay Req message according to the identified PTP message type information;
the message correction field modification unit is used for modifying the field of the Delay Req message correction field in one step;
the device also comprises a starting timestamp reading and writing unit, wherein the starting timestamp reading and writing unit is used for setting a starting timestamp origin timestamp as an arrival timestamp for the Delay Req message in the receiving direction; and reading an arrival timestamp recorded in an initial timestamp field origin timestamp when a new correction field new corectionfield is set for the Delay Req message in the sending direction.
Correspondingly, the device also comprises a message correction field calculation unit for calculating a new correction field, wherein the new correction field is obtained by subtracting the delay asymmetry correction delayaasymmetry of the exit from the old correction field and adding the residence time, and the residence time is obtained by subtracting the starting timestamp OriginTimestamp from the leaving timestamp.
In implementation, the device includes a check value revision unit, configured to revise a Cyclic Redundancy Check (CRC) value while revising the PTP packet, and revise a UDP checksum field while revising a UDP packet when carrying the PTP is the UDP packet.
In implementation, the apparatus further includes a starting timestamp origin timestamp zero setting unit, configured to set a starting timestamp origin timestamp field to 0 when modifying the packet at the exit when processing the one-step Delay Req.
A third aspect of the present embodiment provides a computer-readable storage medium storing instructions embodied in any one of the first aspect or the first aspect and capable of implementing a precision time protocol delay request message, where the instructions are stored on the computer-readable storage medium, and when the instructions are executed on a computer, the instructions are executed to implement the method for implementing a precision time protocol delay request message as described in any one of the first aspect or the first aspect. The computer-readable storage medium refers to a carrier for storing data, and may include, but is not limited to, floppy disks, optical disks, hard disks, flash memories, flash disks and/or Memory sticks (Memory sticks), etc., and the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
For the working process, working details and technical effects of the foregoing computer-readable storage medium provided in the third aspect of this embodiment, reference may be made to the interaction method described in the first aspect or any one of the possible designs of the first aspect, which is not described herein again.
A fourth aspect of this embodiment provides another apparatus for implementing a precise time protocol delay request packet according to any one of the possible designs of the first aspect or the first aspect, where the apparatus includes a memory, a processor, and a transceiver, which are communicatively connected in sequence, where the memory is used to store a computer program, the transceiver is used to transmit and receive a message, and the processor is used to read the computer program and execute the steps as executed in any one of the possible designs of the first aspect or the first aspect. For example, the Memory may include, but is not limited to, a Random-Access Memory (RAM), a Read-Only Memory (ROM), a Flash Memory (Flash Memory), a First-in First-out (FIFO), and/or a First-in Last-out (FILO), and the like; the transceiver may be, but is not limited to, a Wireless Fidelity (WiFi) Wireless transceiver, a bluetooth Wireless transceiver, a General Packet Radio Service (GPRS) Wireless transceiver, a ZigBee Wireless transceiver (ieee 802.15.4 standard-based low power local area network protocol), and/or a ZigBee Wireless transceiver. In addition, the device for implementing the precise time protocol delay request message may further include, but is not limited to, a power module and other necessary components.
For a working process, working details, and technical effects of the foregoing precise time protocol delay request packet apparatus provided in the fourth aspect of this embodiment, reference may be made to the interaction method described in the first aspect or any one of the possible designs in the first aspect, which is not described herein again.
A fifth aspect of the present embodiments provides a computer program product comprising instructions which, when executed on a computer, cause the computer to perform the method for implementing a precision time protocol delay request message as described in the first aspect or any one of the possible designs of the first aspect. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable devices.
The embodiments described above are merely illustrative, and may or may not be physically separate, if referring to units illustrated as separate components; if reference is made to a component displayed as a unit, it may or may not be a physical unit, and may be located in one place or distributed over a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: modifications may be made to the embodiments described above, or equivalents may be substituted for some of the features described. And such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Finally, it should be noted that the present invention is not limited to the above alternative embodiments, and that various other forms of products can be obtained by anyone in light of the present invention. The above detailed description should not be taken as limiting the scope of the invention, which is defined in the claims, and which the description is intended to be interpreted accordingly.

Claims (10)

1. The method for realizing the precise time protocol delay request message is characterized by comprising the following steps:
recording the message time: the receiving direction is the time stamp of the message reaching the PHY, and the sending direction is the time stamp of the message leaving the PHY;
identifying the PTP message: identifying the type information of the PTP message according to the characteristics of the PTP message;
judging whether the message is a one-step Delay Req message according to the identified PTP message type information;
modifying a Delay Req message correction field;
processing the Delay Req message in the receiving direction, and setting an initial timestamp origin timestamp as an arrival timestamp;
and reading an arrival timestamp recorded in an initial timestamp field origin timestamp when a new correction field new corectionfield is set for the Delay Req message in the sending direction.
2. The method of claim 1, wherein the method for setting a new correction field new coreferencefield for a Delay Req packet in one step in the sending direction comprises:
the new correction field is the old correction field minus the egress delay asymmetry correction delayaasymmetry and plus the dwell time, which is the departure timestamp minus the start timestamp origin timestamp.
3. The method of claim 1 wherein the value of the cyclic redundancy check, CRC, is modified while the PTP message is modified.
4. The method according to claim 1, wherein if the message carrying PTP is UDP, the UDP checksum field is modified at the same time.
5. The method of claim 1, wherein when processing a Delay Req in one step, the start timestamp origin timestamp field is set to 0 when modifying the packet at the egress.
6. The device for realizing the precise time protocol delay request message is characterized by comprising a message time recording unit, a message identification unit, a message judgment unit and a message correction field modification unit, wherein,
the message time recording unit is used for recording message time, and comprises a timestamp for recording the time when the message reaches the PHY in the receiving direction and a timestamp for recording the time when the message leaves the PHY in the sending direction;
the message identification unit is used for identifying the PTP message and identifying the type information of the PTP message according to the characteristics of the PTP message;
the message judging unit is used for judging whether the message is a Delay Req message according to the identified PTP message type information;
the message correction field modification unit is used for modifying the field of the Delay Req message correction field,
the device also comprises a starting timestamp reading and writing unit;
the starting timestamp reading and writing unit is used for setting a starting timestamp origin timestamp as an arrival timestamp for the one-step Delay Req message in the receiving direction; and reading an arrival timestamp recorded in an initial timestamp field origin timestamp when a new correction field new corectionfield is set for the Delay Req message in the sending direction.
7. The apparatus of claim 6, further comprising a message correction field calculating unit, configured to calculate a new correction field, wherein the new correction field is an old correction field minus an egress delay asymmetry correction delayaasymmetry and plus a residence time, and the residence time is a departure timestamp minus a start timestamp origin timestamp.
8. The apparatus according to claim 6, further comprising a check value modification unit configured to modify a Cyclic Redundancy Check (CRC) value while modifying the PTP message, and modify the UDP checksum field while modifying the UDP message while carrying the PTP message.
9. The apparatus of claim 6, further comprising a start timestamp origin timestamp zero setting unit, configured to set the start timestamp origin timestamp field to 0 when modifying the packet at the egress point when processing the one-step Delay Req.
10. A computer-readable storage medium having stored thereon instructions which, when executed on a computer, perform the method of any one of claims 1 to 5.
CN202110037982.1A 2021-01-12 2021-01-12 Method, device and storage medium for realizing precise time protocol delay request message Active CN112865907B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110037982.1A CN112865907B (en) 2021-01-12 2021-01-12 Method, device and storage medium for realizing precise time protocol delay request message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110037982.1A CN112865907B (en) 2021-01-12 2021-01-12 Method, device and storage medium for realizing precise time protocol delay request message

Publications (2)

Publication Number Publication Date
CN112865907A true CN112865907A (en) 2021-05-28
CN112865907B CN112865907B (en) 2022-07-08

Family

ID=76002992

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110037982.1A Active CN112865907B (en) 2021-01-12 2021-01-12 Method, device and storage medium for realizing precise time protocol delay request message

Country Status (1)

Country Link
CN (1) CN112865907B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116743303A (en) * 2023-08-15 2023-09-12 北京智芯微电子科技有限公司 Time synchronization method, device, computer equipment, chip and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102237995A (en) * 2010-04-20 2011-11-09 中兴通讯股份有限公司 Time processing device and method based on device Precision Time Protocol
CN106877967A (en) * 2017-03-21 2017-06-20 中车株洲电力机车研究所有限公司 IEEE1588 transparent clock residence time measuring methods and its device
CN110266422A (en) * 2019-06-21 2019-09-20 北京东土军悦科技有限公司 Sampling clock equipment message residence time processing method, device, equipment and medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102237995A (en) * 2010-04-20 2011-11-09 中兴通讯股份有限公司 Time processing device and method based on device Precision Time Protocol
CN106877967A (en) * 2017-03-21 2017-06-20 中车株洲电力机车研究所有限公司 IEEE1588 transparent clock residence time measuring methods and its device
CN110266422A (en) * 2019-06-21 2019-09-20 北京东土军悦科技有限公司 Sampling clock equipment message residence time processing method, device, equipment and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116743303A (en) * 2023-08-15 2023-09-12 北京智芯微电子科技有限公司 Time synchronization method, device, computer equipment, chip and readable storage medium
CN116743303B (en) * 2023-08-15 2023-10-31 北京智芯微电子科技有限公司 Time synchronization method, device, computer equipment, chip and readable storage medium

Also Published As

Publication number Publication date
CN112865907B (en) 2022-07-08

Similar Documents

Publication Publication Date Title
US10862601B1 (en) Bridges including physical layer devices for indicating transmission times of synchronization frames by modifying previously generated corresponding follow up frames
CN113037417B (en) Method, device and storage medium for realizing one-step mode of precision time protocol message
US9252903B2 (en) System and method for accounting for time that a packet spends in transit through a transparent clock
US8914662B2 (en) Implementing transparent clock by correcting time information carried in data using residence time information
KR101749202B1 (en) Method, apparatus, and system for generating timestamp
EP2262158B1 (en) Method and system for processing correction field information
EP1427121B1 (en) Radio access network, radio communication method, synchronous server and node
CN102195766B (en) Time synchronization method and clock device
EP2448168A1 (en) Method and system for bearing time synchronization protocol in optical transport network
EP2706686B1 (en) Method, terminal and system for measuring asymmetric delay of transmission link
CN107786293B (en) Time synchronization method, master clock device, slave clock device and time synchronization system
JP5127482B2 (en) Timing synchronization method, synchronization apparatus, synchronization system, and synchronization program
JP7401656B2 (en) METHODS, APPARATUS AND SYSTEM AND STORAGE MEDIA FOR SELECTING CLOCK SOURCES
CN110719135A (en) Time calibration method and system and electronic device
CN110572230A (en) correction method and device for realizing time synchronization
US9806876B2 (en) Method and apparatus for compensating synchronization timing in a distributed timing network
CN112865907B (en) Method, device and storage medium for realizing precise time protocol delay request message
CN104144047A (en) Synchronization method of communication network system, intermediate node and slave node
CN112865906B (en) Method, device and storage medium for realizing precision time protocol synchronous message
CN107636627B (en) Time synchronization device, time synchronization system, and time synchronization method
CN115459871A (en) Time synchronization method, network device and storage medium
KR102491106B1 (en) System and method to support precision time synchronization protocol of stealth clock type
US20230308256A1 (en) Vehicle-mounted device, abnormality detecting method, and abnormality detecting program
CN114138054A (en) Timestamp obtaining method and device, electronic equipment and storage medium
WO2023029669A1 (en) Time synchronization monitoring method

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