# US 2025/0211353 A1 · System and Method to Analyze Clock Offsets When Clocks are Unable to Lock

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0211353 A1
- Document ID: US20250211353A1
- Status: Published application
- Kind: A1
- Application number: 18/390,079
- Filed: 2023-12-20
- Published: 2025-06-26
- Earliest claimed: 2023-12-20
- Assignees: Cisco Technology, Inc.
- Applicants: Cisco Technology Inc.
- Inventors: Manik Singhal; Parthibhan Paramaguru
- Web page: https://patentgrep.com/patent/US20250211353A1

## CPC

- H04J 3/0641: {Change of the master or reference, e.g. take-over or failure of the master}
- H04J 3/0667: {Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays (arrangements for monitoring round trip delays in packet switching networks H04L43/0864)}
- H04L 7/0016: {correction of synchronization errors}
- H04J: MULTIPLEX COMMUNICATION (transmission in general H04B; peculiar to transmission of digital information H04L5/00; systems for the simultaneous or sequential transmission of more than one television signal H04N7/08; in exchanges H04Q11/00; stereophonic systems H04S)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

An apparatus configured to analyze clock offsets when clocks are unable to lock may comprise a memory and a processor communicatively coupled to one another. The processor may be configured receive a first clock and a second clock from a network device, determine that the first clock and the second clock are not currently able to lock, and measure a time drift in the first clock. Further, the processor may be configured to determine a clock error based on the time drift and a duration of the time drift, and generate a report indicating that the first clock is stable if the clock error is less than a predefined threshold value.

## Claims

### Claim 1

An apparatus, comprising:
a memory configured to store:
a plurality of clock source selection operations configured to enable selection of one or more clock sources; and
a plurality of clock analysis operations configured to perform a shallow analysis of the one or more clock sources or an in-depth analysis of the one or more clock sources; and
a processor communicatively coupled to the memory and configured to:
receive a first clock and a second clock from a first network device;
determine that the first clock and the second clock are not currently able to lock;
measure a first time drift in the first clock;
obtain a first plurality of timestamps associated with a first duration of the first time drift;
determine a first clock error based on the first time drift and the first duration of the first time drift;
compare the first clock error to a first threshold value representative of a first error tolerance;
determine whether the first clock error is greater than the first threshold value;
in response to determining that the first clock error is equal to or less than the first threshold value, identify a second threshold value representative of a second error tolerance; and
generate a first report indicating that the first clock is stable.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the processor is further configured to:
receive a third clock and a fourth clock from a second network device;
determine that the third clock and the fourth clock are not currently able to lock;
measure a second time drift in the third clock, the second time drift being an offset measured between the third clock and an on-chip Precision Time Protocol (PTP) Digital Phase-Locked Loop (DPLL);
obtain a second plurality of timestamps associated with a second duration of the second time drift;
determine a second clock error based on the second time drift and the second duration of the second time drift;
compare the second clock error to a third threshold value representative of a third error tolerance;
determine whether the second clock error is greater than the third threshold value;
in response to determining that the second clock error is less than or equal to the third threshold value, identify a fourth threshold value representative of a fourth error tolerance; and
generate a second report indicating that the third clock is stable.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the processor is further configured to:
measure a second time drift in the first clock, the second time drift being an offset measured between the first clock and an on-chip Precision Time Protocol (PTP) Digital Phase-Locked Loop (DPLL);
obtain a second plurality of timestamps associated with a second duration of the second time drift;
determine a second clock error based on the second time drift and the second duration of the second time drift;
compare the second clock error to the second threshold value representative of a third error tolerance;
determine whether the second clock error is greater than the second threshold value;
in response to determining that the second clock error is less than or equal to the second threshold value, identify a third threshold value representative of a fourth error tolerance; and
generate a second report indicating that the first clock remains stable.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the processor is further configured to:
measure a second time drift in the first clock, the second time drift being an offset measured between the first clock and an on-chip Precision Time Protocol (PTP) Digital Phase-Locked Loop (DPLL);
obtain a second plurality of timestamps associated with a second duration of the second time drift;
determine a second clock error based on the second time drift and the second duration of the second time drift;
compare the second clock error to the second threshold value representative of the second error tolerance;
determine whether the second clock error is greater than the second threshold value; and
in response to determining that the second clock error is greater than the second threshold value, generate a second report indicating that the first clock is unstable.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein:
the first clock error is a Precision Time Protocol (PTP) time error associated with the first clock; and
the PTP time error is defined as a rate of change of an offset over time.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the processor is further configured to determine whether the first clock error is greater than the first threshold value during a maintenance window.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the processor is further configured to determine whether the first clock error is greater than the first threshold value outside of a maintenance window.

### Claim 8

A method, comprising:
receiving a first clock and a second clock from a first network device;
determining that the first clock and the second clock are not currently able to lock;
measuring a first time drift in the first clock;
obtaining a first plurality of timestamps associated with a first duration of the first time drift;
determining a first clock error based on the first time drift and the first duration of the first time drift;
comparing the first clock error to a first threshold value representative of a first error tolerance;
determining whether the first clock error is greater than the first threshold value;
in response to determining that the first clock error is equal to or less than the first threshold value, identifying a second threshold value representative of a second error tolerance; and
generating a first report indicating that the first clock is stable.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
receiving a third clock and a fourth clock from a second network device;
determining that the third clock and the fourth clock are not currently able to lock;
measuring a second time drift in the third clock, the second time drift being an offset measured between the third clock and an on-chip Precision Time Protocol (PTP) Digital Phase-Locked Loop (DPLL);
obtaining a second plurality of timestamps associated with a second duration of the second time drift;
determining a second clock error based on the second time drift and the second duration of the second time drift;
comparing the second clock error to a third threshold value representative of a third error tolerance;
determining whether the second clock error is greater than the third threshold value;
in response to determining that the second clock error is less than or equal to the third threshold value, identifying a fourth threshold value representative of a fourth error tolerance; and
generating a second report indicating that the third clock is stable.

### Claim 10 (depends on 8)

The method of claim 8, further comprising:
measuring a second time drift in the first clock, the second time drift being an offset measured between the first clock and an on-chip Precision Time Protocol (PTP) Digital Phase-Locked Loop (DPLL);
obtaining a second plurality of timestamps associated with a second duration of the second time drift;
determining a second clock error based on the second time drift and the second duration of the second time drift;
comparing the second clock error to the second threshold value representative of a third error tolerance;
determining whether the second clock error is greater than the second threshold value;
in response to determining that the second clock error is less than or equal to the second threshold value, identifying a third threshold value representative of a fourth error tolerance; and
generating a second report indicating that the first clock remains stable.

### Claim 11 (depends on 8)

The method of claim 8, further comprising:
measuring a second time drift in the first clock, the second time drift being an offset measured between the first clock and an on-chip Precision Time Protocol (PTP) Digital Phase-Locked Loop (DPLL);
obtaining a second plurality of timestamps associated with a second duration of the second time drift;
determining a second clock error based on the second time drift and the second duration of the second time drift;
comparing the second clock error to the second threshold value representative of a third error tolerance;
determining whether the second clock error is greater than the second threshold value; and
in response to determining that the second clock error is greater than the second threshold value, generating a second report indicating that the first clock is unstable.

### Claim 12 (depends on 8)

The method of claim 8, wherein:
the first clock error is a Precision Time Protocol (PTP) time error associated with the first clock; and
the PTP time error is defined as a rate of change of an offset over time.

### Claim 13 (depends on 8)

The method of claim 8, further comprising:
determining whether the first clock error is greater than the first threshold value during a maintenance window.

### Claim 14 (depends on 8)

The method of claim 8, further comprising:
determining whether the first clock error is greater than the first threshold value outside of a maintenance window.

### Claim 15

A non-transitory computer readable medium storing instructions that when executed by a processor cause the processor to:
receive a first clock and a second clock from a first network device;
determine that the first clock and the second clock are not currently able to lock;
measure a first time drift in the first clock;
obtain a first plurality of timestamps associated with a first duration of the first time drift;
determine a first clock error based on the first time drift and the first duration of the first time drift;
compare the first clock error to a first threshold value representative of a first error tolerance;
determine whether the first clock error is greater than the first threshold value;
in response to determining that the first clock error is equal to or less than the first threshold value, identify a second threshold value representative of a second error tolerance; and
generate a first report indicating that the first clock is stable.

### Claim 16 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the processor is further caused to:
receive a third clock and a fourth clock from a second network device;
determine that the third clock and the fourth clock are not currently able to lock;
measure a second time drift in the third clock, the second time drift being an offset measured between the third clock and an on-chip Precision Time Protocol (PTP) Digital Phase-Locked Loop (DPLL);
obtain a second plurality of timestamps associated with a second duration of the second time drift;
determine a second clock error based on the second time drift and the second duration of the second time drift;
compare the second clock error to a third threshold value representative of a third error tolerance;
determine whether the second clock error is greater than the third threshold value;
in response to determining that the second clock error is less than or equal to the third threshold value, identify a fourth threshold value representative of a fourth error tolerance; and
generate a second report indicating that the third clock is stable.

### Claim 17 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the processor is further caused to:
measure a second time drift in the first clock, the second time drift being an offset measured between the first clock and an on-chip Precision Time Protocol (PTP) Digital Phase-Locked Loop (DPLL);
obtain a second plurality of timestamps associated with a second duration of the second time drift;
determine a second clock error based on the second time drift and the second duration of the second time drift;
compare the second clock error to the second threshold value representative of a third error tolerance;
determine whether the second clock error is greater than the second threshold value;
in response to determining that the second clock error is less than or equal to the second threshold value, identify a third threshold value representative of a fourth error tolerance; and
generate a second report indicating that the first clock remains stable.

### Claim 18 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the processor is further caused to:
measure a second time drift in the first clock, the second time drift being an offset measured between the first clock and an on-chip Precision Time Protocol (PTP) Digital Phase-Locked Loop (DPLL);
obtain a second plurality of timestamps associated with a second duration of the second time drift;
determine a second clock error based on the second time drift and the second duration of the second time drift;
compare the second clock error to the second threshold value representative of a third error tolerance;
determine whether the second clock error is greater than the second threshold value; and
in response to determining that the second clock error is greater than the second threshold value, generate a second report indicating that the first clock is unstable.

### Claim 19 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein:
the first clock error is a Precision Time Protocol (PTP) time error associated with the first clock; and
the PTP time error is defined as a rate of change of an offset over time.

### Claim 20 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the processor is further caused to:
determine whether the first clock error is greater than the first threshold value during a maintenance window.
