IP Library › Granted Patent US 12,132,567
Granted Patent B2
US 12,132,567 · App. 17/687,056 · Granted Oct 29, 2024

Method, apparatus, and system for selecting clock source, and storage medium

Inventors: Jingfei Lv (Wuhan, CN); Dejian Xu (Beijing, CN); Xiaoxia Li (Shenzhen, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
H04J3/0658
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,132,567
App. No.
17/687,056
Granted
Oct 29, 2024
Kind
B2
Abstract

A method includes receiving, by a first node on a first port of the first node, a first packet from a second node; and when the first packet carries a first flag, avoid selecting, by the first node and when selecting a clock source, a clock source corresponding to the first port, where the first flag indicates that time synchronization of the second node is uncertain.

Claims (49)

1. A method, comprising:

receiving, on a first port of a first node, a first packet from a second node, wherein the first packet carries a first flag indicating that a time synchronization of the second node is uncertain, and wherein the time synchronization of the second node is uncertain is associated with either a second port of the second node being in an uncalibrated state or a time difference between time of the second node and time of a first clock source of the second node being greater than a threshold; and

avoiding selecting, in response to the first packet carrying the first flag, a second clock source corresponding to the first port when selecting a third clock source of the first node.

2. The method of claim 1 , further comprising:

receiving, on the first port, clock source data; and

avoiding using, when selecting the third clock source, the clock source data.

3. The method of claim 2 , further comprising:

setting, based on the first flag, a first clock source dataset corresponding to the first port to an empty set; and

selecting, based on second clock source datasets corresponding to ports of the first node or only based on a non-empty clock source dataset in the second clock source datasets, the third clock source.

4. The method of claim 3 , further comprising:

setting, based on the first flag, a value of a signal failure attribute of the first port to a first value, wherein the first value indicates that a signal failure has occurred on the first port; and

further setting, based on the first value, the first clock source dataset to the empty set.

5. The method of claim 4 , wherein the signal failure attribute is a port signal fail attribute (portDS.SF), and wherein the first value of the portDS.SF is TRUE.

6. The method of claim 5 , further comprising:

determining, based on the first flag, that a packet timing signal fail (PTSF) event has occurred on the first port; and

setting, based on the PTSF event, a value of the portDS.SF to the first value.

7. The method of claim 6 , wherein the PTSF event is a PTSF-loss synchronization (PTSF-lossSync) event, a PTSF-unusable event, or an extended PTSF event.

8. The method of claim 1 , wherein the first packet is an announce packet comprises a synchronizationUncertain flag.

9. The method of claim 8 , wherein the synchronizationUncertain flag carries the first flag, and wherein the first flag indicates that the time synchronization is uncertain when a value of the synchronizationUncertain flag is TRUE.

10. The method of claim 1 , wherein the time synchronization of the second node is uncertain is associated with: the second port of the second node is in the uncalibrated state.

11. The method of claim 1 , further comprising selecting the third clock source of the first node.

12. A first node comprising:

a first port;

one or more processors; and

one or more memories configured to store instructions, wherein when executed by the one or more processors, the instructions cause the first node to:

receive, on the first port, a first packet from a second node, wherein the first packet carries a first flag indicates that a time synchronization of the second node is uncertain, and wherein the time synchronization of the second node is uncertain is associated with either a second port of the second node being in an uncalibrated state or a time difference between time of the second node and time of a first clock source of the second node being greater than a threshold; and

avoid selecting, in response to the first packet carrying the first flag, a second clock source corresponding to the first port when selecting a third clock source of the first node.

13. The first node of claim 12 , wherein when executed by the one or more processors, the instructions further cause the first node to:

receive, on the first port, clock source data; and

avoid using, when selecting the third clock source, the clock source data.

14. The first node of claim 13 , wherein when executed by the one or more processors, the instructions further cause the first node to:

set, based on the first flag, a first clock source dataset corresponding to the first port to an empty set; and

select, based on second clock source datasets corresponding to ports of the first node or only based on a non-empty clock source dataset in the second clock source datasets, the third clock source.

15. The first node of claim 14 , wherein when executed by the one or more processors, the instructions further cause the first node to:

set, based on the first flag, a value of a signal failure attribute of the first port to a first value, wherein the first value indicates that a signal failure occurs on the first port; and

further set, based on the first value, the first clock source dataset to the empty set.

16. The first node of claim 15 , wherein when executed by the one or more processors, the instructions further cause the first node to:

determine, based on the first flag, that a packet timing signal fail (PTSF) event occurs on the first port; and

set, based on the PTSF event, a value of a port signal failure attribute (portDS.SF) of the first port to TRUE.

17. The first node of claim 16 , wherein the PTSF event is a PTSF-loss synchronization (PTSF-lossSync) event, a PTSF-unusable event, or an extended PTSF event.

18. The first node of claim 12 , wherein the first packet is an announce packet comprises a synchronizationUncertain flag, wherein the synchronizationUncertain flag carries the first flag, and wherein the first flag indicates that the time synchronization is uncertain when a value of the synchronizationUncertain flag is TRUE.

19. The first node of claim 12 , wherein the first flag is set to TRUE when: the second port of the second node is in the uncalibrated state.

20. The first node of claim 12 , wherein the one or more processors are further configured to execute the instructions to select the third clock source of the first node.

21. A system, comprising:

a second node configured to send a first packet; and

a first node coupled to the second node and configured to:

receive, on a first port of the first node, the first packet from the second node, wherein the first packet carries a first flag indicating that a time synchronization of the second node is uncertain, and wherein the time synchronization of the second node is uncertain is associated with either a second port of the second node being in an uncalibrated state or a time difference between time of the second node and time of a first clock source of the second node being greater than a threshold; and

avoid selecting, in response to the first packet carrying the first flag, a second clock source corresponding to the first port when selecting a third clock source of the first node.

22. The system of claim 21 , wherein the first packet is an announce packet comprises a synchronizationUncertain flag, wherein the synchronizationUncertain flag carries the first flag, and wherein the first flag indicates that the time synchronization is uncertain when a value of the synchronizationUncertain flag is TRUE.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 16, 2024
From: LYU, JINGFEI; XU, DEJIAN; LI, XIAOXIA
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 068594/0932 →
Priority Claims (1)
CN 201910844122.1 · Sep 6, 2019 · national
Continuity (2)
Continuation PCTCN2020094411 · Jun 4, 2020
Related Publication 20220190945A1 · Jun 16, 2022
Cited By (2)
US 12,695,531 US 12,732,934