Processing method and device for time synchronization
A technology of time synchronization and processing method, applied in the field of communication, can solve the problems of not supporting forwarding of PTP messages, not supporting the transparent clock of distributed devices, and needing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0060] This embodiment illustrates the process of processing messages at the ingress port of the network device. image 3 is a schematic diagram of an ingress port processing message flow according to an embodiment of the present invention, and the method includes:
[0061] In step S301, the device receives a message on an ingress port.
[0062] Step S302, judging whether the message is a predetermined PTP event message according to the message type, wherein the predetermined PTP event message is a Sync message, a Follow_Up message or a Delay_Req message; if the judgment result is yes, then enter step S303, otherwise, the message Do not process, and perform transparent forwarding and transmission.
[0063] In step S303, the device obtains the time stamp value from the local clock module. Since the time stamp specified in IEEE1588v2 is 10 bytes in length, which exceeds the 6-byte length of the CorrectionField field, a value of 6 bytes in length starting from the least signifi...
example 2
[0066] This embodiment describes the process of processing messages at the egress port of the network device. Figure 4 is a schematic diagram of a process for processing messages by an egress port according to an embodiment of the present invention, and the method includes:
[0067] In step S401, the device receives a message at an egress port.
[0068] Step S402, judging whether the message is a predetermined PTP event message according to the message type, wherein the predetermined PTP event message is a Sync message, a Follow_Up message or a Delay_Req message; if the judgment result is yes, then enter step S403, otherwise, the message Do not process, and perform transparent forwarding and transmission.
[0069] Step S403, the device obtains the time stamp value from the local clock module. Since the length of the time stamp specified in IEEE1588v2 is 10 bytes, which exceeds the length of the CorrectionField field of 6 bytes, the current time stamp value from the local clo...
example 3
[0073] In this embodiment, transparent clocks are implemented on two ports on the same device. Figure 5 It is a specific flowchart of a time synchronization processing method according to an embodiment of the present invention, and the method includes:
[0074] In step S501, the master clock sends a PTP event message Sync at time T1, wherein the current value of the Correction Field field is 0.
[0075] Step S502, the Sync message may be processed and forwarded by multiple network devices to reach the ingress port of the network device implementing the present invention. The ingress port recognizes that the message is a PTP Sync event message, and obtains the current time stamp Ta of the device.
[0076] Step S503, modify the Correction Field field value (CF) of the message to CF-Ta.
[0077] Step S504, after the normal processing and forwarding process of the device, the message reaches the egress port of the device. The device obtains the current time stamp Tb.
[0078]...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com