# US 2017/0250791 A1 · Time synchronization method and apparatus

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

- Number: US 2017/0250791 A1
- Document ID: US20170250791A1
- Status: Published application
- Kind: A1
- Application number: 15/597,696
- Filed: 2017-05-17
- Published: 2017-08-31
- Earliest claimed: 2014-11-17
- Assignees: China Mobile Communications Corporation
- Applicants: China Mobile Communications Corporation
- Inventors: Liuyan Han; Han Li
- Web page: https://patentgrep.com/patent/US20170250791A1

## CPC

- H04L 7/0012: {by comparing receiver clock with transmitter clock}
- H04J 3/14: Monitoring arrangements {(for SDH/SONET rings H04J3/085)}
- H04W 56/00: Synchronisation arrangements
- H04J 3/0602: {Systems characterised by the synchronising information used}
- 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}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- 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

Disclosed is a time synchronization method and apparatus. The method includes: receiving a time synchronization message sent by an upstream device through a clock port; obtaining a message rate parameter in the time synchronization message; according to the message rate parameter, correcting a time synchronization message loss detection parameter of a slave clock port, wherein the time synchronization message loss detection parameter is used to detect whether the time synchronization message is lost; and according to a correction result, keeping clock synchronization with the upstream device.

## Claims

### Claim 1

A time synchronization method, comprising:
receiving, through a slave clock port, a time synchronization message sent by an upstream device;
obtaining a message rate parameter in the time synchronization message;
correcting a time synchronization message loss detection parameter, for detecting whether the time synchronization message is lost, of a slave clock port according to the message rate parameter; and
keeping clock synchronization with the upstream device according to a correction result.

### Claim 2 (depends on 1)

The method according to claim 1, wherein keeping clock synchronization with the upstream device according to a correction result comprises:
if the time synchronization message sent by the upstream device is not received during a set duration with the corrected time synchronization message loss detection parameter as a reference, determining clock desynchronization with the upstream device.

### Claim 3 (depends on 1)

The method according to claim 1, wherein after obtaining the message rate parameter in the time synchronization message, the method further comprises:
sending the time synchronization response message to the upstream device according to the obtained message rate parameter.

### Claim 4 (depends on 1)

The method according to claim 1, wherein after obtaining the message rate parameter in the time synchronization message, the method further comprises:
updating a sending rate parameter, wherein the sending rate parameter is a rate parameter of the time synchronization message that is sent to a downstream device through a master clock port and is used to keep time synchronization with the downstream device; and
sending the time synchronization message to the downstream device according to the updated sending rate parameter.

### Claim 5 (depends on 4)

The method according to claim 4, wherein sending the time synchronization message to the downstream device according to the updated sending rate parameter comprises:
when the update of the sending rate parameter is determined, triggering the sending of the time synchronization message to the downstream device according to the updated sending rate parameter; or
when the update of the sending rate parameter is determined, and a pre-determined time is reached, sending the time synchronization message to the downstream device according to the updated sending rate parameter.

### Claim 6

A time synchronization apparatus, comprising:
an interface module, configured to receive, through a slave clock port, a time synchronization message sent by an upstream device;
a message rate parameter extracting module, configured to obtain a message rate parameter in the time synchronization message;
a message loss detection module, configured to correct a time synchronization message loss detection parameter, for detecting whether the time synchronization message is lost, of a slave clock port according to the message rate parameter; and
a clock synchronization module, configured to keep clock synchronization with the upstream device according to a correction result.

### Claim 7 (depends on 6)

The apparatus according to claim 6, wherein the clock synchronization module is configured to, if the time synchronization message sent by the upstream device is not received during a set duration with the corrected time synchronization message loss detection parameter as a reference, determine the clock desynchronization with the upstream device.

### Claim 8 (depends on 6)

The apparatus according to claim 6, wherein the interface module is further configured to send the time synchronization response message to the upstream device according to the obtained message rate parameter.

### Claim 9 (depends on 6)

The apparatus according to claim 6, further comprising:
a message rate setting module, configured to update a sending rate parameter, wherein the sending rate parameter is a rate parameter of the time synchronization message that is sent to a downstream device through a master clock port and is used to keep time synchronization with the downstream device; and send the time synchronization message to the downstream device according to the updated sending rate parameter.

### Claim 10 (depends on 9)

The apparatus according to claim 9, wherein the message rate setting module is configured to, when the update of the sending rate parameter is determined, trigger the sending of the time synchronization message to the downstream device according to the updated sending rate parameter; or when the update of the sending rate parameter is determined, and when a pre-determined time is reached , trigger the sending of the time synchronization message to the downstream device according to the updated sending rate parameter.

### Claim 11 (depends on 2)

The method according to claim 2, wherein after obtaining the message rate parameter in the time synchronization message, the method further comprises:
updating a sending rate parameter, wherein the sending rate parameter is a rate parameter of the time synchronization message that is sent to a downstream device through a master clock port and is used to keep time synchronization with the downstream device; and
sending the time synchronization message to the downstream device according to the updated sending rate parameter.

### Claim 12 (depends on 11)

The method according to claim 11, wherein sending the time synchronization message to the downstream device according to the updated sending rate parameter comprises:
when the update of the sending rate parameter is determined, triggering the sending of the time synchronization message to the downstream device according to the updated sending rate parameter; or
when the update of the sending rate parameter is determined, and a pre-determined time is reached, sending the time synchronization message to the downstream device according to the updated sending rate parameter.

### Claim 13 (depends on 3)

The method according to claim 3, wherein after obtaining the message rate parameter in the time synchronization message, the method further comprises:
updating a sending rate parameter, wherein the sending rate parameter is a rate parameter of the time synchronization message that is sent to a downstream device through a master clock port and is used to keep time synchronization with the downstream device; and
sending the time synchronization message to the downstream device according to the updated sending rate parameter.

### Claim 14 (depends on 13)

The method according to claim 13, wherein sending the time synchronization message to the downstream device according to the updated sending rate parameter comprises:
when the update of the sending rate parameter is determined, triggering the sending of the time synchronization message to the downstream device according to the updated sending rate parameter; or
when the update of the sending rate parameter is determined, and a pre-determined time is reached, sending the time synchronization message to the downstream device according to the updated sending rate parameter.

### Claim 15 (depends on 7)

The apparatus according to claim 7, further comprising:
a message rate setting module, configured to update a sending rate parameter, wherein the sending rate parameter is a rate parameter of the time synchronization message that is sent to a downstream device through a master clock port and is used to keep time synchronization with the downstream device; and send the time synchronization message to the downstream device according to the updated sending rate parameter.

### Claim 16 (depends on 15)

The apparatus according to claim 15, wherein the message rate setting module is configured to, when the update of the sending rate parameter is determined, trigger the sending of the time synchronization message to the downstream device according to the updated sending rate parameter; or when the update of the sending rate parameter is determined, and when a pre-determined time is reached , trigger the sending of the time synchronization message to the downstream device according to the updated sending rate parameter.

### Claim 17 (depends on 8)

The apparatus according to claim 8, further comprising:
a message rate setting module, configured to update a sending rate parameter, wherein the sending rate parameter is a rate parameter of the time synchronization message that is sent to a downstream device through a master clock port and is used to keep time synchronization with the downstream device; and send the time synchronization message to the downstream device according to the updated sending rate parameter.

### Claim 18 (depends on 17)

The apparatus according to claim 17, wherein the message rate setting module is configured to, when the update of the sending rate parameter is determined, trigger the sending of the time synchronization message to the downstream device according to the updated sending rate parameter; or when the update of the sending rate parameter is determined, and when a pre-determined time is reached , trigger the sending of the time synchronization message to the downstream device according to the updated sending rate parameter.
