# US 2021/0175990 A1 · Methods and devices for determining an availability of a synchronization source

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

- Number: US 2021/0175990 A1
- Document ID: US20210175990A1
- Status: Published application
- Kind: A1
- Application number: 16/761,645
- Filed: 2017-11-27
- Published: 2021-06-10
- Earliest claimed: 2017-11-27
- Assignees: Telefonaktiebolaget LM Ericsson (publ)
- Applicants: Telefonaktiebolaget LM Ericsson (publ)
- Inventors: Cuihua DENG
- Web page: https://patentgrep.com/patent/US20210175990A1

## CPC

- H04J 3/0641: {Change of the master or reference, e.g. take-over or failure of the master}
- H04J 3/0608: {Detectors therefor, e.g. correlators, state machines}
- H04J 3/12: Arrangements providing for calling or supervisory signals
- H04J 3/14: Monitoring arrangements {(for SDH/SONET rings H04J3/085)}
- 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)

## Abstract

The present disclosure relates to a method for determining an availability of a synchronization source in a communication system. The method comprises: detecting a stability of the synchronization source when the synchronization source recovers from a failure; and determining the availability of a synchronization source based on the detected stability of the synchronization source. The present disclosure also relates to network devices and a computer readable medium for performing said method.

## Claims

### Claim 1

A method for determining an availability of a synchronization source in a communication system, comprises:
detecting a stability of the synchronization source when the synchronization source recovers from a failure; and
determining the availability of a synchronization source based on the detected stability of the synchronization source.

### Claim 2 (depends on 1)

The method of claim 1, wherein the detecting the stability of the synchronization source when the synchronization source recovers from the failure comprises:
starting a first period when the synchronization source recovers from the failure;
detecting within the first period whether there is a flap occurred in the synchronization source;
when the flap is detected in the synchronization source, identifying the synchronization source as instable; and
when no flap is detected in the synchronization source, identifying the synchronization source as stable.

### Claim 3 (depends on 2)

The method of claim 2, wherein identifying the synchronization source as instable further comprises:
setting a penalty value and a count for the flap detected in the synchronization source;
increasing the penalty value and the count;
starting a second period;
detecting within the second period whether there is another failure in the synchronization source;
restarting the first period when the synchronization source recovers from the another failure if the another failure is detected in the synchronization source; or
decreasing the penalty value if no another failure is detected in the synchronization source;
comparing decreased penalty value with a threshold;
if the decreased penalty value is larger than or equal to the threshold:
identifying the synchronization source as instable;
restarting the second period;
or
if the decreased penalty value is less than the threshold:
identifying the synchronization source as stable.

### Claim 4 (depends on 2)

The method of claim 2, wherein determining the availability of the synchronization source based on the detected stability of the synchronization source further comprises:
determining the synchronization source as available if the synchronization source is identified as stable; or
determining the synchronization source as unavailable if the synchronization source is identified as instable.

### Claim 5 (depends on 2)

The method of claim 2, wherein determining the availability of a synchronization source based on the detected stability of the synchronization source further comprises:
determining the synchronization source as available even if the synchronization source is identified as instable in the case that the synchronization source is used originally and/or the penalty value of the synchronization source is the smallest among all synchronization sources if all synchronization sources are identified as instable.

### Claim 6 (depends on 5)

The method of claim 5, further comprises generating an alarm when the synchronization source is determined as available.

### Claim 7 (depends on 2)

The method of claim 2, wherein the penalty value, the count, the threshold, the first period, and the second period are configurable.

### Claim 8 (depends on 7)

The method of claim 7, wherein initial values of the penalty value and the count are configured to be zero.

### Claim 9 (depends on 7)

The method of claim 7, further comprises configuring a maximum value of the penalty value such that the penalty value does not continue to increase when the penalty value reaches the maximum value.

### Claim 10 (depends on 3)

The method of claim 3, wherein the penalty value is based on the count.

### Claim 11 (depends on 3)

The method of claim 3, wherein decreasing the penalty value comprises decreasing penalty value faster than increasing the penalty value.

### Claim 12 (depends on 11)

The method of claim 11, wherein decreasing penalty value faster than increasing the penalty value comprises decreasing the penalty value exponentially.

### Claim 13

A network device for determining an availability of a synchronization source in a communication system, comprises:
a processor; and
a memory communicatively coupled to the processor and adapted to store instructions which, when executed by the processor, cause the network device to perform operations of:
detecting a stability of the synchronization source when the synchronization source recovers from a failure; and
determining the availability of a synchronization source based on the detected stability of the synchronization source.

### Claim 14 (depends on 13)

The network device of claim 13, wherein the operation of detecting the stability of the synchronization source when the synchronization source recovers from a failure comprises operations of:
starting a first period when the synchronization source recovers from the failure;
detecting within the first period whether there is a flap occurred in the synchronization source;
when the flap is detected in the synchronization source, identifying the synchronization source as instable; and
when no flap is detected in the synchronization source, identifying the synchronization source as stable.

### Claim 15 (depends on 14)

The network device of claim 14, wherein the operation of identifying the synchronization source as instable further comprises operations of:
setting a penalty value and a count for the flap detected in the synchronization source;
increasing the penalty value and the count;
starting a second period;
detecting within the second period whether there is another failure in the synchronization source;
restarting the first period when the synchronization source recovers from the another failure if the another failure is detected in the synchronization source; or
decreasing the penalty value if no another failure is detected in the synchronization source;
comparing decreased penalty value with a threshold;
if the decreased penalty value is larger than or equal to the threshold:
identifying the synchronization source as instable restarting the second period;
or
if the decreased penalty value is less than the threshold:
identifying the synchronization source as stable.

### Claim 16 (depends on 14)

The network device of claim 14, wherein the operation of determining the availability of the synchronization source based on the detected stability of the synchronization source further comprises operations of:
determining the synchronization source as available if the synchronization source is identified as stable; or
determining the synchronization source as unavailable if the synchronization source is identified as instable.

### Claim 17 (depends on 14)

The network device of claim 14, wherein the operation of determining the availability of a synchronization source based on the detected stability of the synchronization source further comprises operations of:
determining the synchronization source as available even if the synchronization source is identified as instable in the case that the synchronization source is used originally and/or the penalty value of the synchronization source is the smallest among all synchronization sources if all synchronization sources are identified as instable.

### Claim 18 (depends on 17)

The network device of claim 17, further comprises an operation of generating an alarm when the synchronization source is determined as available.

### Claim 19 (depends on 14)

The network device of claim 14, wherein the penalty value, the count, the threshold, the first period, and the second period are configurable.

### Claim 20

(canceled)

### Claim 21 (depends on 19)

The network device of claim 19, further comprises an operation of configuring a maximum value of the penalty value such that the penalty value does not continue to increase when the penalty value reaches the maximum value

### Claim 22

(canceled)

### Claim 23

(canceled)

### Claim 24

(canceled)

### Claim 25

(canceled)
