NTP Server Timestamp Precision via Hardware Clock Extraction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing Network Time Protocol (NTP) servers introduce inaccuracies in timestamping due to delays and uncertainties from software layers, leading to errors in clock synchronization across data networks.

Innovation Solution

A method that requests current time from a hardware clock and a correction term from a latency estimator filter to insert precise transmit timestamps into outgoing packets, updating the correction term based on the offset between calculated and actual time-of-departure, ensuring accurate timestamping without disrupting compatibility with current NTP standards.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If NTP servers use software layers (device drivers, network stacks, operating systems) to process and timestamp packets, then the system is easier to operate and maintain, but timestamp accuracy deteriorates due to processing delays and uncertainties

Engineering Contradiction:
Improveease of operationVSAvoidtimestamp accuracy
Core Design Contradiction:
Ease of operationVSMeasurement precision

Solution Approach 1:

The patent extracts the timestamping function from the software processing chain and places it at the physical layer boundary. The NTP server records timestamps at the moment packets cross the physical layer interface, before they enter software layers for processing. This separation eliminates the uncertainty introduced by software processing while maintaining system ease of operation.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent performs timestamping in advance, at the physical layer boundary before packets are processed by software layers. By recording the timestamp at the moment packets cross the physical interface, the system captures the true arrival/departure time without waiting for software processing to complete, thereby eliminating processing delay uncertainty.

Inventive Principle:
Principle #10Preliminary action

2Ease of manufacture

If NTP servers record timestamps after packets traverse software layers, then the timestamping process is simpler to implement, but the timestamps become inaccurate due to random processing delays

Engineering Contradiction:
Improveease of manufactureVSAvoidtimestamp accuracy
Core Design Contradiction:
Ease of manufactureVSMeasurement precision

Solution Approach 1:

The patent extracts the timestamping operation from the software processing sequence and positions it at the physical layer boundary. This requires minimal additional hardware or firmware capability and can be implemented by most modern network interfaces, while dramatically improving timestamp accuracy by eliminating software processing delays.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent introduces an intermediary timestamping mechanism at the physical layer boundary that acts as a mediator between the network interface and software layers. This intermediary records the true crossing time of packets without being affected by software processing delays, providing accurate timestamps while maintaining compatibility with existing software architectures.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Measurement precision

If NTP servers use hardware-based clocks with external standards, then time-keeping accuracy is improved, but errors are introduced by inaccuracies in the timestamping function within the server

Engineering Contradiction:
Improvetime-keeping accuracyVSAvoidreliability
Core Design Contradiction:
Measurement precisionVSReliability

Solution Approach 1:

The patent extracts the timestamping function from the software processing chain and places it at the physical layer boundary, where it can operate independently of software inaccuracies. This ensures that even with highly accurate hardware clocks, the timestamping process itself does not introduce errors, thereby maintaining both time-keeping accuracy and reliability.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent implements a feedback mechanism where the NTP server continuously monitors and adjusts for any discrepancies between the hardware clock and the actual packet crossing times recorded at the physical layer boundary. This feedback loop compensates for any drift or inaccuracies, ensuring both high time-keeping accuracy and reliability.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS8451867B2Network time protocol precision timestamping service
Publication Date: 2013.05.28 IP GEM GRP LLC
  • US8451867B2 patent drawing
  • US8451867B2 patent drawing
  • US8451867B2 patent drawing

AI summary

Embodiments of the present invention set forth a method and system for reducing uncertainty in receive and transmit timestamps created by an NTP server. The uncertainty in the receive timestamps is removed by recording the time-of-arrival in the hardware clock of the NTP server before the incoming packets may be delayed by traversing the various layers of software in a timestamping system. The uncertainty in the transmit timestamps is removed by giving the outgoing packets a timestamp in the future using an estimate of the transmission latency calculated by the latency estimator filter. Subsequently, the actual time-of-departure is used to re-calculate and update the estimate of the transmission latency. In this fashion, superior control of the timestamping function may be implemented in existing NTP servers in a manner that retains interworking compatibility with the current NTP standards.