Check patentability & draft patents in minutes with Patsnap Eureka AI!

Method for realizing one-step mode and two-step mode for PTP (precision time synchronization protocol) in a plurality of MAC

A mode and processing mode technology, applied in the field of network communication, can solve the problem of inability to record multiple timestamps

Active Publication Date: 2013-03-20
SUZHOU CENTEC COMM CO LTD
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, no matter what the existing implementation scheme is, the MAC needs to obtain the time stamp through the mechanism of request response, and the function of recording multiple time stamps for one port cannot be realized

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
  • Method for realizing one-step mode and two-step mode for PTP (precision time synchronization protocol) in a plurality of MAC
  • Method for realizing one-step mode and two-step mode for PTP (precision time synchronization protocol) in a plurality of MAC
  • Method for realizing one-step mode and two-step mode for PTP (precision time synchronization protocol) in a plurality of MAC

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] The present invention will be described in detail below with reference to the specific embodiments shown in the accompanying drawings. However, these embodiments do not limit the present invention, and structural, method, or functional changes made by those skilled in the art according to these embodiments are all included in the protection scope of the present invention.

[0057] like figure 1 , figure 2 As shown, in one embodiment of the present invention, an Ethernet switch chip is taken as an example to describe the specific embodiment of the present invention. The Ethernet switch chip shown in the figure includes 48 MACs (media access controllers) and one Centralized PTP (Precision Time Synchronization Protocol) engine, the shown PTP engine implements two main functions: one is the adjustment of the local time, and the other is the record of the time stamp of the sending time. Among them, FRC is a free counter that counts freely according to the input reference ...

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 present invention provides a method for realizing a one-step mode and a two-step mode for PTP (precision time synchronization protocol) in a plurality of MAC. The method comprises the following steps: S1, receiving the packet of PTP event information; S2, obtaining the timestamp of the reception time of the packet broadcasted from a PTP engine; S3, determining the processing mode of the packet, and performing the corresponding processing to the packet according to the determining result; and S4, sending the packet; wherein if the one-step mode is to be realized, obtaining the timestamp of the sending time of the packet broadcasted from the PTP engine, inserting the obtained time stamp into an appropriate location of the packet, and then sending the packet; and if the two-step mode is to be realized, sending start signals and serial identification numbers to the PTP engine via a plurality of MAC loopback packets; and recording. The one-step mode and the two-step mode are realized via the centralized engine broadcasting the timestamp to all MAC, without a request-response mechanism.

Description

technical field [0001] The present invention relates to the field of network communication, in particular to a method and device for implementing PTP one-step mode and two-step mode in multiple MACs. Background technique [0002] IEEE 1588 is a precision clock synchronization protocol standard for network measurement and control systems. It adopts the Precision Time Synchronization Protocol (PTP), and the precision can reach the microsecond level. At present, it is widely used in the time synchronization scheme of Ethernet. [0003] Usually the PTP protocol implementation is divided into one-step mode and two-step mode. The two-step mode mainly realizes the synchronization between the local time and the remote master clock through software assistance, and relies on the hardware to record the timestamp of the current PTP event message, the software reads the timestamp, and Put this timestamp in the next PTP event message and pass it to the other party; while the one-step mode...

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
IPC IPC(8): H04L7/00H04L12/18
Inventor 许俊
Owner SUZHOU CENTEC COMM CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More