# US 2020/0403720 A1 · Time Synchronization Method and Device

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

- Number: US 2020/0403720 A1
- Document ID: US20200403720A1
- Status: Published application
- Kind: A1
- Application number: 17/008,924
- Filed: 2020-09-01
- Published: 2020-12-24
- Earliest claimed: 2016-08-10
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Junfeng Luo; Jinhui Wang; Zhu Cheng; Feng Wu
- Web page: https://patentgrep.com/patent/US20200403720A1

## CPC

- 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)}
- G06F 1/14: Time supervision arrangements, e.g. real time clock
- H04J 3/0638: {Clock or time synchronisation among nodes; Internode synchronisation (synchronization for ring networks H04L12/422; data switching networks with synchronous transmission H04L12/43)}
- H04J 3/0644: {External master-clock}
- H04L 69/28: Timers or timing mechanisms used in protocols
- 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)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A time synchronization method and a device, where the method includes generating, by a first device, a first time synchronization frame according to a first coding scheme, where the first time synchronization frame includes a first frame header and a first time of day (TOD), the first frame header carries an identifier of the first coding scheme, and the first coding scheme defines a boundary of the first time synchronization frame and a location of the first TOD in the first time synchronization frame, and sending, by the first device, the first time synchronization frame to a second device using a first single line to trigger the second device to identify the first time synchronization frame according to the identifier of the first coding scheme, to obtain the first TOD from the first time synchronization frame, and to trace a time of the first device according to the first TOD.

## Claims

### Claim 1

A method implemented by a first device, comprising:
generating a first time synchronization frame according to a first coding scheme, wherein the first time synchronization frame comprises a first time of day (TOD) and a first identifier of the first coding scheme, and wherein the first coding scheme defines a first boundary of the first time synchronization frame and a first location of the first TOD in the first time synchronization frame; and
sending the first time synchronization frame to a second device using a first single line.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
receiving a second time synchronization frame generated according to a second coding scheme from a third device using a second single line, wherein the second time synchronization frame comprises a second TOD and a second frame header, wherein the second frame header carries a second identifier of the second coding scheme, and wherein the second coding scheme defines a second boundary of the second time synchronization frame and a second location of the second TOD in the second time synchronization frame;
identifying the second time synchronization frame according to the second identifier;
obtaining the second TOD from the second time synchronization frame; and
tracing a time of the third device according to the second TOD.

### Claim 3 (depends on 2)

The method of claim 2, wherein the second device and the third device are a same device.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
receiving a second time synchronization frame generated according to a second coding scheme from a third device using a second single line, wherein the second time synchronization frame comprises a second TOD and a second frame header, wherein the second frame header carries a second identifier of the second coding scheme, and wherein the second coding scheme defines a second boundary of the second time synchronization frame and a second location of the second TOD in the second time synchronization frame;
identifying the second time synchronization frame according to the second identifier;
obtaining the second TOD from the second time synchronization frame;
determining a delay for transmitting the second time synchronization frame from the first device to the third device;
correcting the second TOD according to the delay; and
tracing a time of the third device according to a corrected second TOD.

### Claim 5 (depends on 4)

The method of claim 4, wherein determining the delay comprises:
sending, at a first time, the second time synchronization frame to the third device using the second single line;
receiving, at a second time, the second time synchronization frame from the third device; and
determining that the delay is equal to half of a difference between the second time and the first time.

### Claim 6 (depends on 4)

The method of claim 4, wherein the second time synchronization frame further carries second frequency information, and wherein tracing the time of the third device comprises tracing the time of the third device according to the corrected second TOD and the second frequency information.

### Claim 7 (depends on 1)

The method of claim 1, wherein the first time synchronization frame further carries first frequency information, and wherein the first time synchronization frame further triggers the second device to trace a time of the first device according to the first frequency information.

### Claim 8 (depends on 1)

The method of claim 1, wherein the first time synchronization frame further carries one or more of a first time source identifier of the first device and priority information of the first device.

### Claim 9 (depends on 1)

The method of claim 1, wherein the first time synchronization frame further carries one or more of a first time source identifier of the first device and a second time source identifier of the first device.

### Claim 10 (depends on 9)

The method of claim 9, wherein the first time source identifier of the first device is different from the second time source identifier of the first device.

### Claim 11 (depends on 1)

The method of claim 1, wherein the identifier of the first coding scheme indicates one or more of an internal structure of the first time synchronization frame, a length of an occupied field, a specific frame header location, a frame trailer location, or content corresponding to different fields.

### Claim 12 (depends on 1)

The method of claim 1, further comprising determining the first coding scheme according to a direct current (DC) level shift (DCLS) protocol.

### Claim 13 (depends on 1)

The method of claim 1, wherein the first single line is implemented using a pin of an RJ45 connector.

### Claim 14

A first device, comprising:
a computer-readable storage medium storing a program; and
a processor coupled to the computer-readable storage medium, wherein the program causes the processor to be configured to:
generate a first time synchronization frame according to a first coding scheme, wherein the first time synchronization frame comprises a first time of day (TOD) and a first identifier of the first coding scheme, and wherein the first coding scheme defines a boundary of the first time synchronization frame and a first location of the first TOD in the first time synchronization frame; and
send the first time synchronization frame to a second device using a first single line.

### Claim 15 (depends on 14)

The first device of claim 14, wherein the program further causes the processor to be configured to:
receive a second time synchronization frame generated according to a second coding scheme from a third device using a second single line, wherein the second time synchronization frame comprises a second TOD and a second frame header, wherein the second frame header carries a second identifier of the second coding scheme, and wherein the second coding scheme defines a boundary of the second time synchronization frame and a second location of the second TOD in the second time synchronization frame;
identify the second time synchronization frame according to the identifier of the second coding scheme;
obtain the second TOD from the second time synchronization frame; and
trace a time of the third device according to the second TOD.

### Claim 16 (depends on 15)

The first device of claim 15, wherein the second device and the third device are a same device.

### Claim 17 (depends on 14)

The first device of claim 14, wherein the program further causes the processor to be configured to:
receive a second time synchronization frame generated according to a second coding scheme from a third device using a second single line, wherein the second time synchronization frame comprises a second TOD and a second frame header, wherein the second frame header carries a second identifier of the second coding scheme, and wherein the second coding scheme defines a boundary of the second time synchronization frame and a second location of the second TOD in the second time synchronization frame;
identify the second time synchronization frame according to the second identifier;
obtain the second TOD from the second time synchronization frame;
determine a delay for transmitting the second time synchronization frame from the first device to the third device;
correct the second TOD according to the delay; and
trace a time of the third device according to a corrected second TOD.

### Claim 18 (depends on 17)

The first device of claim 17, wherein the program further causes the processor to be configured to:
send, at a first time, the second time synchronization frame to the third device using the second single line;
receive, at a second time, the second time synchronization frame from the third device; and
determine that the delay for transmitting the second time synchronization frame from the first device to the third device is equal to half of a difference between the second time and the first time.

### Claim 19 (depends on 17)

The first device of claim 17, wherein the second time synchronization frame further carries second frequency information, and wherein the program further causes the processor to be configured to trace the time of the third device according to the corrected second TOD and the second frequency information.

### Claim 20 (depends on 14)

The first device of claim 14, wherein the first time synchronization frame further carries first frequency information, and wherein the first time synchronization frame further triggers the second device to trace time of the first device according to the first frequency information.

### Claim 21

A computer program product comprising instructions for storage on a non-transitory computer-readable storage medium that, when executed by a processor, causes a computer to:
generate a first time synchronization frame according to a first coding scheme, wherein the first time synchronization frame comprises a first time of day (TOD) and a first identifier of the first coding scheme, and wherein the first coding scheme defines a boundary of the first time synchronization frame and a first location of the first TOD in the first time synchronization frame; and
send the first time synchronization frame to a second device using a first single line.

### Claim 22 (depends on 21)

The computer program product of claim 21, wherein the instructions further cause the computer to:
receive a second time synchronization frame generated according to a second coding scheme from a third device using a second single line, wherein the second time synchronization frame comprises a second TOD and a second frame header, wherein the second frame header carries a second identifier of the second coding scheme, and wherein the second coding scheme defines a boundary of the second time synchronization frame and a second location of the second TOD in the second time synchronization frame;
identify the second time synchronization frame according to the second identifier;
obtain the second TOD from the second time synchronization frame; and
trace a time of the third device according to the second TOD.

### Claim 23 (depends on 21)

The computer program product of claim 21, wherein the instructions further cause the computer to:
receive a second time synchronization frame generated according to a second coding scheme from a third device using a second single line, wherein the second time synchronization frame comprises a second TOD and a second frame header, wherein the second frame header carries a second identifier of the second coding scheme, and wherein the second coding scheme defines a boundary of the second time synchronization frame and a second location of the second TOD in the second time synchronization frame;
identify the second time synchronization frame according to the second identifier;
obtain the second TOD from the second time synchronization frame;
determine a delay for transmitting the second time synchronization frame from a first device to the third device;
correct the second TOD according to the delay; and
trace a time of the third device according to a corrected second TOD.

### Claim 24 (depends on 23)

The computer program product of claim 23, wherein the instructions further cause the computer to:
send, at a first time, the second time synchronization frame to the third device using the second single line;
receive, at a second time, the second time synchronization frame from the third device; and
determine that the delay for transmitting the second time synchronization frame from the first device to the third device is equal to half of a difference between the second time and the first time.

### Claim 25 (depends on 23)

The computer program product of claim 23, wherein the second time synchronization frame further carries second frequency information, and wherein the instructions further cause the computer to trace the time of the third device according to the corrected second TOD and the second frequency information.

### Claim 26

A method, comprising:
receiving a first time synchronization frame, wherein the first time synchronization frame comprises a first time of day (TOD) and an identifier of a first coding scheme, and wherein the first coding scheme defines a boundary of the first time synchronization frame and a location of the first TOD in the first time synchronization frame;
identifying the first time synchronization frame according to the identifier;
obtaining the first TOD from the first time synchronization frame; and
tracing a time according to the first TOD.

### Claim 27 (depends on 26)

The method of claim 26, wherein the first time synchronization frame further comprises a frame header, and wherein the frame header comprises the identifier.

### Claim 28 (depends on 27)

The method of claim 27, wherein the method is implemented by a device, and wherein the device is one of a wavelength division device, a satellite positioning system receiver, a core network device, an aggregation network device, a base station, a base station controller, a server, an optical transport network device, a packet transport network device, or a switch.

### Claim 29 (depends on 26)

The method of claim 26, wherein receiving the first time synchronization frame comprises receiving the first time synchronization frame through a first single line.

### Claim 30

A system, comprising:
a second device; and
a first device configured to:
generate a first time synchronization frame according to a first coding scheme, wherein the first time synchronization frame comprises a first time of day (TOD) and an identifier of the first coding scheme, and wherein the first coding scheme defines a boundary of the first time synchronization frame and a location of the first TOD in the first time synchronization frame; and
send the first time synchronization frame to the second device using a first single line.

### Claim 31 (depends on 30)

The system of claim 30, wherein the second device is configured to:
receive the first time synchronization frame through the first single line;
identify the first time synchronization frame according to the identifier of the first coding scheme;
obtain the first TOD from the first time synchronization frame; and
trace a time of the first device according to the first TOD.
