# US 2018/0323890 A1 · Method and apparatus for transmitting clock packet

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

- Number: US 2018/0323890 A1
- Document ID: US20180323890A1
- Status: Published application
- Kind: A1
- Application number: 16/038,508
- Filed: 2018-07-18
- Published: 2018-11-08
- Earliest claimed: 2016-01-19
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Yawei ZHANG; Yeying LIU; Peng LI; Haishan BI
- Web page: https://patentgrep.com/patent/US20180323890A1

## CPC

- H04J 3/0658: {Clock or time synchronisation among packet nodes}
- H04J 3/0641: {Change of the master or reference, e.g. take-over or failure of the master}
- H04J 3/0644: {External master-clock}
- H04J 3/0661: {using timestamps}
- H04J 3/0679: {by determining clock distribution path in a network}
- H04L 12/422: {Synchronisation for ring networks (Time Division Multiplex ring networks, e.g. SDH/SONET H04J3/085)}
- H04J 3/0664: {unidirectional timestamps}
- 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

Embodiments of the present disclosure disclose a method for transmitting a clock packet. The method includes: a first network element generates a first clock packet, where the first clock packet includes a first source identity and first clock information, and the first source identity is used to indicate a device that provides the first clock information. The first network element sends the first clock packet to a second network element forming a ring network with the first network element. The first network element receives a second clock packet sent by the second network element, where the second clock packet includes a second source identity and second clock information, and the second source identity is used to indicate a device that provides the second clock information. The first network element skips tracking the second clock information after determining that the second source identity is the same as the first source identity.

## Claims

### Claim 1

A method for transmitting a clock packet, the method comprising:
generating, by a first network element, a first clock packet comprising a first source identity and first clock information, the first source identity for indicating a device that provides the first clock information;
sending, by the first network element, the first clock packet to a second network element forming a ring network with the first network element;
receiving, by the first network element, a second clock packet sent by the second network element, wherein the second clock packet comprises a second source identity and second clock information, the second source identity for indicating a device that provides the second clock information; and
skipping tracking, by the first network element, the second clock information after determining that the second source identity is the same as the first source identity.

### Claim 2 (depends on 1)

The method according to claim 1, wherein:
the device that provides the first clock information is a grandmaster clock device; and
generating, by a first network element, a first clock packet comprises:
using, by the first network element, clock information obtained from the grandmaster clock device as the first clock information,
using, by the first network element, an identity of the grandmaster clock device as the first source identity, and
generating, by the first network element, the first clock packet according to the first clock information and the first source identity.

### Claim 3 (depends on 1)

The method according to claim 1, wherein:
the device that provides the first clock information is the first network element; and
generating, by a first network element, a first clock packet comprises:
using, by the first network element, clock information obtained from a local clock source of the first network element as the first clock information,
using, by the first network element, an identity of the first network element as the first source identity, and
generating, by the first network element, the first clock packet according to the first clock information and the first source identity.

### Claim 4 (depends on 1)

The method according to claim 1, further comprising:
using, by the first network element, the second clock information as to-be-tracked clock information after determining that the second source identity is different from the first source identity.

### Claim 5 (depends on 1)

The method according to claim 1, wherein a packet header of the first clock packet comprises a reserved field for carrying the first source identity.

### Claim 6

An apparatus for transmitting a clock packet, wherein the apparatus is a first network element, the apparatus comprising:
a processor; and
memory coupled to the processor and for storing programming instructions which, when executed by the processor, cause the apparatus to:
generate a first clock packet comprising a first source identity and first clock information, the first source identity for indicating a device that provides the first clock information,
send the first clock packet to a second network element forming a ring network with the first network element,
receive a second clock packet sent by the second network element, wherein the second clock packet comprises a second source identity and second clock information, the second source identity for indicating a device that provides the second clock information, and
skip tracking the second clock information after determining that the second source identity is the same as the first source identity.

### Claim 7 (depends on 6)

The apparatus according to claim 6, wherein:
the device that provides the first clock information is a grandmaster clock device; and
the programming instructions, when executed by the processor, cause the apparatus to:
use clock information obtained from the grandmaster clock device as the first clock information,
an identity of the grandmaster clock device as the first source identity, and
generate the first clock packet according to the first clock information and the first source identity.

### Claim 8 (depends on 6)

The apparatus according to claim 6, wherein:
the device that provides the first clock information is the first network element; and
the programming instructions, when executed by the processor, cause the apparatus to:
use clock information obtained from a local clock source of the first network element as the first clock information,
use an identity of the first network element as the first source identity, and
generate the first clock packet according to the first clock information and the first source identity.

### Claim 9 (depends on 6)

The apparatus according to claim 6, wherein the programming instructions, when executed by the processor, cause the apparatus to:
use the second clock information as to-be-tracked clock information after determining that the second source identity is different from the first source identity.

### Claim 10 (depends on 6)

The apparatus according to claim 6, wherein a packet header of the first clock packet comprises a reserved field for carrying the first source identity.

### Claim 11

A computer program product comprising a non-transitory computer-readable medium of a first network element, the non-transitory computer-readable medium stores computer executable instructions which, when executed by a processor, cause the first network element to:
generate a first clock packet comprising a first source identity and first clock information, the first source identity for indicating a device that provides the first clock information;
send the first clock packet to a second network element forming a ring network with the first network element;
receive a second clock packet sent by the second network element, wherein the second clock packet comprises a second source identity and second clock information, the second source identity for indicating a device that provides the second clock information; and
skip tracking the second clock information after determining that the second source identity is the same as the first source identity.

### Claim 12 (depends on 11)

The computer program product according to claim 11, wherein:
the device that provides the first clock information is a grandmaster clock device, and the computer executable instructions, when executed by the processor, cause the first network element to:
use clock information obtained from the grandmaster clock device as the first clock information,
use an identity of the grandmaster clock device as the first source identity, and
generate the first clock packet according to the first clock information and the first source identity.

### Claim 13 (depends on 11)

The computer program product according to claim 11, wherein:
the device that provides the first clock information is the first network element; and
the computer executable instructions, when executed by the processor, cause the first network element to:
use clock information obtained from a local clock source of the first network element as the first clock information,
use an identity of the first network element as the first source identity, and
generate the first clock packet according to the first clock information and the first source identity.

### Claim 14 (depends on 11)

The computer program product according to claim 11, wherein the computer executable instructions, when executed by the processor, further cause the first network element to:
use the second clock information as to-be-tracked clock information after determining that the second source identity is different from the first source identity.

### Claim 15 (depends on 11)

The computer program product according to claim 11, wherein a packet header of the first clock packet comprises a reserved field for carrying the first source identity.

### Claim 16

A system for transmitting a clock packet, the system comprising:
a first network element, comprising:
a processor, and
memory coupled to the processor and for storing programming instructions which, when executed by the processor, cause the first network element to:
generate a first clock packet comprising a first source identity and first clock information, the first source identity for indicating a device that provides the first clock information;
send the first clock packet to a second network element forming a ring network with the first network element;
receive a second clock packet sent by the second network element, wherein the second clock packet comprises a second source identity and second clock information, the second source identity for indicating a device that provides the second clock information; and
skip tracking the second clock information after determining that the second source identity is the same as the first source identity.

### Claim 17 (depends on 16)

The system according to claim 16, wherein:
the device that provides the first clock information is a grandmaster clock device; and
the programming instructions, when executed by the processor, cause the first network element to:
use clock information obtained from the grandmaster clock device as the first clock information,
use an identity of the grandmaster clock device as the first source identity, and
generate the first clock packet according to the first clock information and the first source identity.

### Claim 18 (depends on 16)

The system according to claim 16, wherein:
the device that provides the first clock information is the first network element; and
the programming instructions, when executed by the processor, cause the first network element to:
use clock information obtained from a local clock source of the first network element as the first clock information,
use an identity of the first network element as the first source identity, and
generate the first clock packet according to the first clock information and the first source identity.

### Claim 19 (depends on 16)

The system according to claim 16, wherein the programming instructions, when executed by the processor, further cause the first network element to:
use the second clock information as to-be-tracked clock information after determining that the second source identity is different from the first source identity.

### Claim 20 (depends on 16)

The system according to claim 16, wherein a packet header of the first clock packet comprises a reserved field for carrying the first source identity.
