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

Inactive Publication Date: 2010-09-08
ZTE CORP
View PDF3 Cites 55 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method needs to query and match the above-mentioned associated messages, requires CPU processing, and the processing efficiency is not high
This method does not support forwarding PTP messages to subsequent nodes in the above-mentioned IEEE1588 One Step synchronization mode, nor does it support the implementation of a transparent clock on distributed devices

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Processing method and device for time synchronization
  • Processing method and device for time synchronization
  • Processing method and device for time synchronization

Examples

Experimental program
Comparison scheme
Effect test

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]...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a processing method and a device for time synchronization. The method comprises the following steps: according to the receiving time of a precise time protocol message at the import of the equipment and the arrival time of the precise time protocol message at the export of the equipment, adjusting the preset field value in the precise time protocol message at the export of the equipment, thereby using the preset field to record the transmission time of the precise time protocol message between the import and the export of the equipment. The invention effectively acquires the residence time of the message in the equipment.

Description

technical field [0001] The present invention relates to the communication field, in particular to a time synchronization processing method and device. Background technique [0002] With the development of network technology, in distributed communication systems or data processing systems, the requirements for time synchronization accuracy of devices in the system are getting higher and higher. [0003] Precision Time Protocol (Precision Time Protocol, referred to as PTP) is a time synchronization protocol defined by the Institute of Electrical and Electronics Engineers 1588 (Institute for Electrical and Electronic Engineers 1588, referred to as IEEE1588) standard, used in Ethernet, passive optical network (for example, Ethernet Passive Optical Network (EPON for short), Gigabit Passive Optical Network (GPON for short), etc.), Packet Transfer Network (PTN for short), sensor network, and others Synchronize the clocks of devices or sensors in a packet-switched network. [0004...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/06H04J3/06
CPCH04J3/0667H04J3/0673
Inventor 杨武王峰
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products