Dynamic One-Step Two-Step Timestamping Network Devices
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current timestamping methods in network devices face challenges such as increased hardware requirements, power consumption, and synchronization errors due to the need for on-the-fly timestamp embedding in one-step timestamping, and increased latency and complexity in two-step timestamping, which affects clock synchronization accuracy and implementation.
Innovation Solution
A network device is configured to dynamically select between one-step and two-step timestamping methods on a per-packet basis, using a first processor to determine the timestamping method and a second processor to embed or store timing information accordingly, allowing for flexible and efficient timestamping based on packet type and protocol requirements.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If one-step timestamping is used to embed transmit timestamp in timing packet, then timestamp accuracy is improved, but hardware requirements and power consumption increase
Solution Approach 1:
The patent implements dynamic timestamping mode selection where the network device can switch between one-step and two-step timestamping methods based on packet type and protocol requirements. The controller determines the appropriate mode for each timing packet, allowing the system to use accurate one-step timestamping only when necessary while using simpler two-step timestamping for other packets, thus reducing overall hardware complexity and power consumption while maintaining timestamp accuracy when needed
Solution Approach 2:
The patent changes the operational parameter of timestamping mode from a fixed state to a dynamic variable. By modifying the timestamping approach based on packet characteristics (e.g., PTP protocol packets vs. other traffic), the system optimizes the balance between timestamp precision and resource consumption, using hardware-intensive one-step method only for critical timing packets
2Device complexity
If two-step timestamping is used to transmit timestamp in follow-up packet, then hardware requirements are reduced, but latency increases
Solution Approach 1:
The system dynamically selects between one-step and two-step timestamping based on latency sensitivity of each packet type. For time-critical PTP synchronization packets, one-step timestamping is used to minimize latency, while for less time-sensitive traffic, two-step timestamping is sufficient, reducing hardware complexity without unnecessarily increasing latency for all packets
3Measurement precision
If one-step timestamping is used to embed timestamp on-the-fly, then timestamp accuracy is improved, but power consumption increases
Solution Approach 1:
The controller dynamically determines the timestamping mode for each timing packet based on its type and urgency. By using one-step timestamping only for critical packets requiring high precision (such as PTP Sync messages) and two-step timestamping for other packets, the system minimizes power consumption from the timestamping engine while maintaining accurate timestamps when necessary
Solution Approach 2:
The system changes the operational state of the timestamping engine dynamically, activating the power-intensive one-step method only when packet characteristics warrant high precision timestamping. This parameter change approach reduces average power consumption while preserving timestamp accuracy for time-critical operations
Data Source
AI summary
A network device determines whether a one-step timestamping method or a two-step timestamping method is to be used for transmission of a first packet. A first processor of the network device transfers to a second processor of the network device, i) a timing message to be included in the first packet, and ii) information that indicates the determined timestamping method. In response to the information from the first processor indicating that the one-step timestamping method is to be used, the second processor transmits the first packet with timing information embedded in the first packet. In response to the information from the first processor indicating that the two-step timestamping method is to be used, the second processor stores the timing information in a memory of the network device for subsequent inclusion in a second packet that is to be transmitted after transmitting the first packet, and transmits the first packet.


