# US 2022/0303035 A1 · Method and apparatus for sending and receiving clock synchronization packet

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

- Number: US 2022/0303035 A1
- Document ID: US20220303035A1
- Status: Published application
- Kind: A1
- Application number: 17/833,862
- Filed: 2022-06-06
- Published: 2022-09-22
- Earliest claimed: 2017-10-13
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Xiang He; Yunlei Qi; Jingfeng Chen; Tao Lin; Junmin Song; Xinyuan Wang
- Web page: https://patentgrep.com/patent/US20220303035A1

## 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)}
- H04J 3/0697: {Synchronisation in a packet node}
- H03M 9/00: Parallel/series conversion or vice versa (digital stores in which the information is moved stepwise per se G11C19/00)
- H04J 3/06: Synchronising arrangements {(for television systems H04N5/04; bit-synchronisation H04L7/00)}
- H04J 3/0632: {Synchronisation of packets and cells, e.g. transmission of voice via a packet network, circuit emulation service [CES] (queuing arrangements in packet switching elements H04L49/90; synchronising systems for the synchronous transmission of a pulse code modulated video signal with one or more other pulse code modulated signals H04N7/56)}
- H04J 3/065: {using timestamps}
- H04J 3/0664: {unidirectional timestamps}
- H04J 3/0688: {Change of the master or reference, e.g. take-over or failure of the master}
- H04J 3/0691: {Synchronisation in a TDM node}
- H04J 3/1658: {carrying packets or ATM cells; (H04J3/1664 takes precedence for payloads with different packet types)}
- H04L 7/00: Arrangements for synchronising receiver with transmitter {(synchronisation of generators of electric oscillations or pulses H03L7/00)}
- H04L 69/323: in the physical layer [OSI layer 1]
- H04W 56/00: Synchronisation arrangements
- H04J 2203/0085: Support of Ethernet
- 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)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

This disclosure provides a method for sending and receiving a clock synchronization packet in FlexE. The method includes: generating, by a sending apparatus, indication information and a plurality of data blocks, where the plurality of data blocks are obtained by encoding a first clock synchronization packet, the indication information is used to indicate a first data block, and the first data block is a data block used for timestamp sampling in the plurality of data blocks; determining, by the sending apparatus, according to the indication information, a moment at which the first data block arrives at a medium dependent interface MDI of the sending apparatus, and generating a sending timestamp, where the sending timestamp is used to record a sending moment of the first clock synchronization packet; generating a second clock synchronization packet carrying the sending timestamp; and sending, by the sending apparatus, the second clock synchronization packet.

## Claims

### Claim 1

A method for sending a clock synchronization packet in flexible Ethernet (FlexE), comprising:
encoding a clock synchronization packet;
generating a plurality of data blocks including a first data block for data sampling based on the encoded clock synchronization packet; and
transmitting the plurality of data blocks in a client payload of FlexE.

### Claim 2 (depends on 1)

The method according to claim 1, including generating indication information to trigger sampling of the first data block.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the indication information comprises one of out-of-band information or in-band information.

### Claim 4 (depends on 2)

The method according to claim 2, wherein the indication information indicates a data block associated with a start-of-frame delimiter, SFD.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the indication information indicates a data block corresponding to the SFD, or, the indication information indicates a data block corresponding to a first symbol after the SFD.

### Claim 6 (depends on 4)

The method according to claim 4, wherein the first data block is a data block associated with the SFD.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the first data block is a data block comprising the SFD, or the first data block is a data block comprising the first symbol after the SFD.

### Claim 8 (depends on 1)

The method according to claim 1, wherein before the transmitting, by the sending apparatus, the plurality of data blocks carried in the client payload of FlexE, the method further comprises:
determining the first data block according to the indication information; and
obtaining a sending timestamp of the first data block, wherein the sending timestamp is carried in the plurality of data blocks.

### Claim 9

A method for receiving a clock synchronization packet in flexible Ethernet (FlexE), comprising:
receiving, by a receiving apparatus, a client payload of FlexE that includes a plurality of data blocks that form an encoded clock synchronization packet; and
identifying and sampling a first data block in the plurality of data blocks to determine a timestamp.

### Claim 10 (depends on 9)

The method according to claim 9, further including receiving indication information to trigger sampling of the first data block.

### Claim 11 (depends on 10)

The method according to claim 10, wherein the first data block is a data block corresponding to the indication information or the first data block is a data block corresponding to a first symbol after the indication information.

### Claim 12 (depends on 10)

The method according to claim 10 wherein the indication information is a start-of-frame delimiter, SFD.

### Claim 13 (depends on 12)

The method according to claim 12, wherein the first data block is a data block associated with the SFD.

### Claim 14 (depends on 13)

The method according to claim 13, wherein the first data block is a data block comprising a start-of-frame delimiter SFD or the first data block is a data block comprising the first symbol after the SFD.

### Claim 15 (depends on 9)

The method according to claim 9, wherein a quantity of the plurality of receipt timestamps is less than a quantity of the plurality of data blocks, and
before the determining, by the receiving apparatus, a first receipt timestamp corresponding to a first data block, the method further comprises:
recording, by the receiving apparatus, a quantity of bits separated between each of the plurality of data blocks and a reference data block, wherein the reference data block is a data block whose receiving moment is recorded in the plurality of data blocks; and
determining, by the receiving apparatus, the first receipt timestamp of the first data block based on a correspondence between a time and a quantity of bits, a quantity of bits separated between the first data block and the reference data block, and a receipt timestamp of the reference data block.

### Claim 16

An apparatus for sending a clock synchronization packet in flexible Ethernet, FlexE, comprising:
a processor, configured to execute computer instructions to cause the apparatus to perform the steps of:
encoding a clock synchronization packet;
generating a plurality of data blocks including a first data block for data sampling based on the encoded clock synchronization packet; and
transmitting the plurality of data blocks in a client payload of FlexE.

### Claim 17 (depends on 16)

The apparatus according to claim 16, including generating indication information.

### Claim 18 (depends on 17)

The apparatus according to claim 17, wherein the indication information is out-of-band information or in-band information.

### Claim 19 (depends on 17)

The apparatus according to claim 17, wherein the indication information is used to indicate a data block associated with a start-of-frame delimiter, SFD.

### Claim 20 (depends on 19)

The apparatus according to claim 19, wherein the indication information is used to indicate a data block corresponding to the SFD, or, the indication information is used to indicate a data block corresponding to a first symbol after the SFD.

### Claim 21 (depends on 19)

The apparatus according to claim 19, wherein the first data block is a data block associated with the SFD.

### Claim 22 (depends on 21)

The apparatus according to claim 21, wherein the first data block is a data block comprising the SFD, or the first data block is a data block comprising the first symbol after the SFD.

### Claim 23

A receiving apparatus for receiving a clock synchronization packet in flexible Ethernet, FlexE, comprising:
a processor, configured to execute computer instructions to cause the apparatus to perform the steps of:
receiving, by the receiving apparatus, a client payload of FlexE that includes a plurality of data blocks that form an encoded clock synchronization packet; and
identifying and sampling a first data block in the plurality of data blocks to determine a timestamp.

### Claim 24 (depends on 23)

The receiving apparatus according to claim 23, further including receiving indication information to trigger sampling of the first data block.

### Claim 25 (depends on 24)

The receiving apparatus according to claim 24, wherein the first data block is a data block corresponding to the indication information or the first data block is a data block corresponding to a first symbol after the indication information.

### Claim 26 (depends on 24)

The receiving apparatus according to claim 24, wherein the indication information is a start-of-frame delimiter, SFD.

### Claim 27 (depends on 26)

The receiving apparatus according to claim 26, wherein the first data block is a data block associated with the SFD.

### Claim 28 (depends on 27)

The receiving apparatus according to claim 27, wherein the first data block is a data block comprising the SFD or the first data block is a data block comprising the first symbol after the SFD.

### Claim 29 (depends on 23)

The receiving apparatus according to claim 23, wherein a quantity of the plurality of receipt timestamps is less than a quantity of the plurality of data blocks, and the processor is configured to cause the apparatus to:
record a quantity of bits separated between each of the plurality of data blocks and a reference data block, wherein the reference data block is a data block whose receiving moment is recorded in the plurality of data blocks; and
determine the receipt timestamp of the first data block based on a correspondence between a time and a quantity of bits, a quantity of bits separated between the first data block and the reference data block, and a receipt timestamp of the reference data block.
