IP Library Granted Patent US 12671511
Granted Patent B2
US 12671511 · App. 18/566,191 · Granted Jun 30, 2026

Time source signal determination method and apparatus, network device, and storage medium

Inventor: Liuyan Han (Beijing, CN)
Assignees: China Mobile Communication Co., Ltd Research Institute; China Mobile Communications Group Co., Ltd.
H04J3/0641H04J3/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 12671511
App. No.
18/566,191
Granted
Jun 30, 2026
Kind
B2
Abstract

A time source signal determination method and apparatus, a network device, and a storage medium are provided. The method is performed by the network device, and includes: obtaining respective data sets of at least two time source signal, wherein the data sets include at least one type of information among following types of information corresponding to the time source signals: a grandmaster clock identifier, a grandmaster clock quality parameter, and path time accuracy; comparing the at least one type of information in the data sets of the at least two time source signals, and determining a better time source signal based on a result of the comparison.

Claims (77)

1 . A time source signal determination method, performed by a network device, comprising:

obtaining respective data sets of at least two time source signals, wherein each of the data sets comprises at least one type of information among following types of information corresponding to the at least two time source signals: a grandmaster clock identifier, a grandmaster clock quality parameter, and a path time accuracy; and,

comparing the at least one type of information in the data sets of the at least two time source signals, and determining a better time source signal based on a result of the comparison;

wherein the data sets further comprise hop counts of paths; and the comparing the at least one type of information in the data sets of the at least two time source signals, and determining the better time source signal based on the result of the comparison comprises:

comparing the grandmaster clock quality parameters in the data sets of the at least two time source signals;

comparing the path time accuracies in the data sets of the at least two time source signals in case that clock qualities characterized by the grandmaster clock quality parameters are identical and grandmaster clocks corresponding to the at least two time source signals are all usable;

comparing the hop counts of paths in the data sets of the at least two time source signals in case that the path time accuracies are identical; and

determining a time source signal having a less hop count of paths as the better time source signal.

2 . The time source signal determination method according to claim 1 , wherein the comparing the at least one type of information in the data sets of the at least two time source signals, and determining the better time source signal based on the result of the comparison comprises:

comparing the grandmaster clock identifiers in the data sets of the at least two time source signals;

comparing the path time accuracies in the data sets of the at least two time source signals in case that the grandmaster clock identifiers are identical; and

determining a time source signal having a less value of the path time accuracy as the better time source signal.

3 . The time source signal determination method according to claim 1 , wherein the data sets further comprise hop counts of paths; and

the comparing the at least one type of information in the data sets of the at least two time source signals, and determining the better time source signal based on the result of the comparison comprises:

comparing the grandmaster clock identifiers in the data sets of the at least two time source signals;

comparing the path time accuracies in the data sets of the at least two time source signals in case that the grandmaster clock identifiers are identical;

comparing the hop counts of paths in the data sets of the at least two time source signals in case that the path time accuracies are identical; and

determining a time source signal having a less hop count of paths as the better time source signal.

4 . The time source signal determination method according to claim 1 , wherein the comparing the at least one type of information in the data sets of the at least two time source signals, and determining the better time source signal based on the result of the comparison comprises:

comparing the grandmaster clock quality parameters in the data sets of the at least two time source signals; and

determining a time source signal, which has a better clock quality characterized by the grandmaster clock quality parameter, and for which a grandmaster clock is usable, as the better time source signal.

5 . The time source signal determination method according to claim 1 , wherein the comparing the at least one type of information in the data sets of the at least two time source signals, and determining the better time source signal based on the result of the comparison comprises:

comparing the grandmaster clock quality parameters in the data sets of the at least two time source signals;

comparing the path time accuracies in the data sets of the at least two time source signals in case that clock qualities characterized by the grandmaster clock quality parameters are identical and grandmaster clocks corresponding to the at least two time source signals are all usable; and

determining a time source signal having a less value of the path time accuracy as the better time source signal.

6 . The time source signal determination method according to claim 1 , wherein the obtaining the respective data sets of the at least two time source signals comprises:

receiving at least two synchronization messages by the network device, wherein each of the synchronization messages comprises information of one time source signal; and

obtaining the data sets corresponding to the time source signals based on the information of the time source signals.

7 . The time source signal determination method according to claim 6 , wherein the data sets further comprise hop counts of paths;

in case that one of two synchronization messages comprises information related to the path time accuracy and other one synchronization message of the two synchronization messages does not comprise information related to the path time accuracy, the path time accuracy corresponding to the other one synchronization message is obtained through calculation based on the hop count of the path.

8 . The time source signal determination method according to claim 7 , wherein the path time accuracy corresponding to the other one synchronization message is obtained through multiplying the hop count of the path by a preset node accuracy.

9 . The time source signal determination method according to claim 1 , wherein the grandmaster clock quality parameter comprises at least one of following parameters:

clock class, time accuracy, stability, priority.

10 . The time source signal determination method according to claim 9 ,

wherein the time accuracy of the grandmaster clock is a static value or a transient value.

11 . The time source signal determination method according to claim 1 , wherein the path time accuracy comprises one of following:

static time inaccuracy;

the static time inaccuracy and dynamic time inaccuracy;

the static time inaccuracy, the dynamic time inaccuracy and transient time inaccuracy;

maximum time inaccuracy.

12 . A non-transitory computer readable storage medium storing a computer program, wherein the computer program is configured to be executed by a processor to implement a time source signal determination method, the method comprises:

obtaining respective data sets of at least two time source signals, wherein each of the data sets comprises at least one type of information among following types of information corresponding to the at least two time source signals: a grandmaster clock identifier, a grandmaster clock quality parameter, and a path time accuracy; and,

comparing the at least one type of information in the data sets of the at least two time source signals, and determining a better time source signal based on a result of the comparison;

wherein the data sets further comprise hop counts of paths; and the comparing the at least one type of information in the data sets of the at least two time source signals, and determining the better time source signal based on the result of the comparison comprises:

comparing the grandmaster clock quality parameters in the data sets of the at least two time source signals;

comparing the path time accuracies in the data sets of the at least two time source signals in case that clock qualities characterized by the grandmaster clock quality parameters are identical and grandmaster clocks corresponding to the at least two time source signals are all usable;

comparing the hop counts of paths in the data sets of the at least two time source signals in case that the path time accuracies are identical; and

determining a time source signal having a less hop count of paths as the better time source signal.

13 . A network device, comprising:

a memory, a processor and a computer program stored in the memory and executable by the processor, wherein the processor is configured to execute the computer program to implement a time source signal determination method, the method comprises:

obtaining respective data sets of at least two time source signals, wherein each of the data sets comprises at least one type of information among following types of information corresponding to the at least two time source signals: a grandmaster clock identifier, a grandmaster clock quality parameter, and a path time accuracy; and,

comparing the at least one type of information in the data sets of the at least two time source signals, and determining a better time source signal based on a result of the comparison;

wherein the data sets further comprise hop counts of paths; and the comparing the at least one type of information in the data sets of the at least two time source signals, and determining the better time source signal based on the result of the comparison comprises:

comparing the grandmaster clock quality parameters in the data sets of the at least two time source signals;

comparing the path time accuracies in the data sets of the at least two time source signals in case that clock qualities characterized by the grandmaster clock quality parameters are identical and grandmaster clocks corresponding to the at least two time source signals are all usable;

comparing the hop counts of paths in the data sets of the at least two time source signals in case that the path time accuracies are identical; and

determining a time source signal having a less hop count of paths as the better time source signal.

14 . The network device according to claim 13 , wherein the comparing the at least one type of information in the data sets of the at least two time source signals, and determining the better time source signal based on the result of the comparison comprises:

comparing the grandmaster clock identifiers in the data sets of the at least two time source signals;

comparing the path time accuracies in the data sets of the at least two time source signals in case that the grandmaster clock identifiers are identical; and

determining a time source signal having a less value of the path time accuracy as the better time source signal.

15 . The network device according to claim 13 , wherein the data sets further comprise hop counts of paths; and

the comparing the at least one type of information in the data sets of the at least two time source signals, and determining the better time source signal based on the result of the comparison comprises:

comparing the grandmaster clock identifiers in the data sets of the at least two time source signals;

comparing the path time accuracies in the data sets of the at least two time source signals in case that the grandmaster clock identifiers are identical;

comparing the hop counts of paths in the data sets of the at least two time source signals in case that the path time accuracies are identical; and

determining a time source signal having a less hop count of paths as the better time source signal.

16 . The network device according to claim 13 , wherein the comparing the at least one type of information in the data sets of the at least two time source signals, and determining the better time source signal based on the result of the comparison comprises:

comparing the grandmaster clock quality parameters in the data sets of the at least two time source signals; and

determining a time source signal, which has a better clock quality characterized by the grandmaster clock quality parameter, and for which a grandmaster clock is usable, as the better time source signal.

17 . The network device according to claim 13 , wherein the comparing the at least one type of information in the data sets of the at least two time source signals, and determining the better time source signal based on the result of the comparison comprises:

comparing the grandmaster clock quality parameters in the data sets of the at least two time source signals;

comparing the path time accuracies in the data sets of the at least two time source signals in case that clock qualities characterized by the grandmaster clock quality parameters are identical and grandmaster clocks corresponding to the at least two time source signals are all usable; and

determining a time source signal having a less value of the path time accuracy as the better time source signal.

18 . The network device according to claim 13 , wherein the obtaining the respective data sets of the at least two time source signals comprises:

receiving at least two synchronization messages by the network device, wherein each of the synchronization messages comprises information of one time source signal; and

obtaining the data sets corresponding to the time source signals based on the information of the time source signals.