# US 2024/0204896 A1 · Method for monitoring time synchronization

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

- Number: US 2024/0204896 A1
- Document ID: US20240204896A1
- Status: Published application
- Kind: A1
- Application number: 18/592,602
- Filed: 2024-03-01
- Published: 2024-06-20
- Earliest claimed: 2021-09-02
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Xiaoyi ZENG; Jingfei LYU; Jinhui WANG
- Web page: https://patentgrep.com/patent/US20240204896A1

## CPC

- H04J 3/0661: {using timestamps}
- 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)}
- H04J 3/06: Synchronising arrangements {(for television systems H04N5/04; bit-synchronisation H04L7/00)}
- H04J 3/14: Monitoring arrangements {(for SDH/SONET rings H04J3/085)}
- H04W 24/08: Testing, {supervising or monitoring} using real traffic
- 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)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

A method for monitoring time synchronization, an apparatus, and a system. The method includes: a first network device obtains synchronization path information, where the synchronization path information is information about a synchronization path between a first time synchronization device and a time source. The first network device obtains time offset information of a plurality of time synchronization devices, where the time offset information of each of the plurality of time synchronization devices is information about a time offset between the time synchronization device and an upstream time device, and the plurality of time synchronization devices are time synchronization devices on the synchronization path. The first network device calculates a time offset of the synchronization path based on the synchronization path information and the time offset information of the plurality of time synchronization devices.

## Claims

### Claim 1

A first network device, comprising:
a memory, wherein the memory comprises computer-readable instructions; and
a processor connected to the memory, wherein, when the computer-readable instructions are executed by the processor, the first network device is caused to:
obtain synchronization path information, wherein the synchronization path information is information about a synchronization path between a first time synchronization device and a time source;
obtain time offset information of a plurality of time synchronization devices, wherein the time offset information of each of the plurality of time synchronization devices is information about a time offset between the time synchronization device and an upstream time device, and the plurality of time synchronization devices are time synchronization devices on the synchronization path; and
calculate an offset between time of the first time synchronization device and time of the time source based on the synchronization path information and the time offset information of the plurality of time synchronization devices.

### Claim 2 (depends on 1)

The first network device according to claim 1, wherein the time offset information of each time synchronization device comprises a time offset, and the time offset is an offset between time of the time synchronization device and time of the upstream time device.

### Claim 3 (depends on 2)

The first network device according to claim 2, wherein when the computer-readable instructions are executed by the processor, the first network device is further caused to:
calculate the offset between the time of the first time synchronization device and the time of the time source based on the synchronization path information and time offsets in the time offset information of the plurality of time synchronization devices.

### Claim 4 (depends on 3)

The first network device according to claim 3, wherein when the computer-readable instructions are executed by the processor, the first network device is further caused to:
add the time offsets in the time offset information of the plurality of time synchronization devices, to obtain the offset between the time of the first time synchronization device and the time of the time source.

### Claim 5 (depends on 2)

The first network device according to claim 2, wherein the time offset information of each time synchronization device further comprises a timestamp, and the timestamp is used by first network device to calculate the offset between the time of the first time synchronization device and the time of the time source.

### Claim 6 (depends on 5)

The first network device according to claim 5, wherein a range of timestamps in the time offset information of the plurality of time synchronization devices is within one time period.

### Claim 7 (depends on 1)

The first network device according to claim 1, wherein when the computer-readable instructions are executed by the processor, the first network device is further caused to:
when the synchronization path meets a first condition, calculates the offset between the time of the first time synchronization device and the time of the time source based on the synchronization path information and the time offset information of the plurality of time synchronization devices.

### Claim 8 (depends on 7)

The first network device according to claim 7, wherein the first condition is that performance of a device on the synchronization path is abnormal.

### Claim 9 (depends on 1)

The first network device according to claim 1, wherein when the computer-readable instructions are executed by the processor, the first network device is further caused to: send a request to the plurality of time synchronization devices on the synchronization path based on the synchronization path information, wherein the request is used to request the time offset information of the time synchronization devices.

### Claim 10 (depends on 1)

The first network device according to claim 1, wherein when the computer-readable instructions are executed by the processor, the first network device is further caused to:
send a request to the plurality of time synchronization devices on the synchronization path based on the synchronization path information, wherein the request is used to request the time offset information of the time synchronization devices.

### Claim 11 (depends on 1)

The first network device according to claim 1, wherein the synchronization path does not comprise the first network device.

### Claim 12 (depends on 1)

The first network device according to claim 1, wherein the synchronization path comprises the first network device.

### Claim 13

A time synchronization device, comprising:
a memory, wherein the memory comprises computer-readable instructions; and
a processor connected to the memory, wherein when the computer-readable instructions are executed by the processor, the time synchronization device is caused to:
send time offset information of the time synchronization device to a first network device, wherein the time synchronization device is a device on a synchronization path, the time offset information is information about a time offset between the time synchronization device and an upstream time device, and the time offset information is used by the first network device to calculate a time offset of the synchronization path.

### Claim 14 (depends on 13)

The time synchronization device according to claim 13, wherein the time offset information of the time synchronization device comprises a time offset, the time offset is an offset between time of the time synchronization device and time of the upstream time device, and the time offset is used by the first network device to calculate the time offset of the synchronization path.

### Claim 15 (depends on 14)

The time synchronization device according to claim 14, wherein the time offset information of the time synchronization device further comprises a timestamp, and the timestamp is used by the first network device to calculate the time offset of the synchronization path.

### Claim 16 (depends on 13)

The time synchronization device according to claim 13, wherein when the computer-readable instructions are executed by the processor, the time synchronization device is further caused to:
receive a request sent by the first network device, wherein the request is used to request the time offset information of the time synchronization device.

### Claim 17

A non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores instructions, and when the instructions run on a processor, the processor is enabled to:
send time offset information of the time synchronization device to a first network device, wherein the time synchronization device is a device on a synchronization path, the time offset information is information about a time offset between the time synchronization device and an upstream time device, and the time offset information is used by the first network device to calculate a time offset of the synchronization path.

### Claim 18 (depends on 16)

The non-transitory computer-readable storage medium according to claim 16, wherein the time offset information of the time synchronization device comprises a time offset, the time offset is an offset between time of the time synchronization device and time of the upstream time device, and the time offset is used by the first network device to calculate the time offset of the synchronization path.

### Claim 19 (depends on 18)

The non-transitory computer-readable storage medium according to claim 18, wherein the time offset information of the time synchronization device further comprises a timestamp, and the timestamp is used by the first network device to calculate the time offset of the synchronization path.

### Claim 20 (depends on 17)

The non-transitory computer-readable storage medium according to claim 17, wherein when the instructions run on a processor, the processor further enabled to:
receive a request sent by the first network device, wherein the request is used to request the time offset information of the time synchronization device.
