Method and Network Device for Locating Clock Fault
AssigneeHuawei Technologies Co., Ltd.
InventorsYawei ZHANG, Jingfei LV, Yong CHENG
Life of this patent
Estimating the term…
Abstract
A method for locating a clock fault includes that a network device locates a clock fault source based on whether first frequency offsets between a plurality of input clocks and a local clock exceed a frequency offset threshold, or based on whether second frequency offsets between the input clocks exceed a relative frequency offset threshold.
Claims28
A method for locating a clock fault and implemented by a network device, wherein the method comprises:
- obtaining first frequency offsets between at least two clocks and a local clock;
- determining that the local clock is faulty when a first condition is met, wherein the first condition comprises that a first quantity is greater than a second quantity, wherein the first quantity is of first clocks that are in the at least two clocks and that have second frequency offsets relative to the local clock exceeding a frequency offset threshold, and wherein the second quantity is of second clocks that are in the at least two clocks and that have third frequency offsets relative to the local clock not exceeding the frequency offset threshold;
- and
- determining that a third clock in the at least two clocks is faulty when a second condition is met,
- wherein the second condition comprises that a fourth frequency offset between the third clock and the local clock exceeds the frequency offset threshold and a fifth frequency offset between the local clock and each fourth clock in the at least two clocks other than the third clock does not exceed the frequency offset threshold.
A method for locating a clock fault and implemented by a network device, wherein the method comprises:
- identifying whether a condition comprising that a first frequency offset between a first clock in a plurality of second clocks and each of third clocks in the second clocks exceeds a relative frequency offset threshold is met;
- determining that the first clock is faulty when the condition is met;
- and
- generating an alarm indicating that the first clock is faulty.
A network device for locating a clock fault comprising:
- an interface configured to receive at least two clocks;
- a clock circuit coupled to the interface and configured to obtain first frequency offsets between the at least two clocks and a local clock;
- and
- a processor coupled to the clock circuit and configured to:
- determine that the local clock is faulty when a first condition is met, wherein the first condition comprises that a first quantity is greater than a second quantity, wherein the first quantity is of first clocks that are in the at least two clocks and having second frequency offsets relative to the local clock exceeding a frequency offset threshold, and wherein the second quantity is of second clocks that are in the at least two clocks and having third frequency offsets relative to the local clock not exceeding the frequency offset threshold;
- and
- determine that a third clock in the at least two clocks is faulty when a second condition is met,
- wherein the second condition comprises that a fourth frequency offset between the third clock and the local clock exceeds the frequency offset threshold and a fifth frequency offset between the local clock and each fourth clock in the at least two clocks other than the third clock that does not exceed the frequency offset threshold.
A network device for locating a clock fault comprising:
- an interface configured to receive a plurality of first clocks;
- and
- a processor coupled to the interface and configured to:
- determine that a first clock is faulty when a condition is met, wherein the condition comprises that a first frequency offset between a second clock in the first clocks and each of third clocks in the first clocks exceeds a relative frequency offset threshold;
- and
- generate an alarm indicating that the first clock is faulty.
A computer program product comprising computer-executable instructions that are stored on a non-transitory computer readable medium and that, when executed by a processor, cause a network device to:
- determine that a local clock of the network device is faulty when a first condition is met, wherein the first condition comprises that a first quantity is greater than a second quantity, wherein the first quantity is of first clocks that are in at least two clocks and having first frequency offsets relative to the local clock exceeding a frequency offset threshold, and wherein the second quantity is of second clocks that are in the at least two clocks and having third frequency offsets relative to the local clock not exceeding the frequency offset threshold;
- determine that a third clock in the at least two clocks is faulty when a second condition is met, wherein the second condition comprises that a fourth frequency offset between the third clock and the local clock exceeds the frequency offset threshold and a fifth frequency offset between the local clock and each fourth clock in the at least two clocks other than the third clock that does not exceed the frequency offset threshold;
- and
- determine that a fifth clock is faulty when a third condition is met,
- wherein the third condition comprises that a sixth frequency offset between the fifth clock and each of sixth clocks in a plurality of seventh clocks exceeds a relative frequency offset threshold, and
- wherein the fifth clock is one of the seventh clocks.
Dependencies are inferred from the claim text.