# US 2021/0288736 A1 · Method, device, and computer program for improving synchronization of clocks in devices linked according to a daisy-chain topology

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

- Number: US 2021/0288736 A1
- Document ID: US20210288736A1
- Status: Published application
- Kind: A1
- Application number: 16/465,518
- Filed: 2017-12-04
- Published: 2021-09-16
- Earliest claimed: 2016-12-06
- Assignees: Canon Kabushiki Kaisha
- Applicants: Canon Kabushiki Kaisha
- Inventors: Romain GUIGNARD; Yacine EL KOLLI; Lionel LE SCOLAN; Arnaud CLOSSET
- Web page: https://patentgrep.com/patent/US20210288736A1

## CPC

- 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/0641: {Change of the master or reference, e.g. take-over or failure of the master}
- 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

At least one embodiment of a method for synchronizing a logical clock in a device comprising a physical clock, an input port, and an output port, the device further comprising a logical clock and a time compensation clock sharing the physical clock, the time compensation clock making it possible to determine a residence time, comprises: obtaining a theoretical residence time; during a pre-synchronization phase according to which the logical clock is not synchronized, adding a value representative of the obtained theoretical residence time to a residence time value stored in a synchronization message to be forwarded, during a synchronization phase according to which the logical clock is synchronized, obtaining a residence time and adding a value representative of the obtained residence time to a residence time value stored in a synchronization message to be forwarded, and synchronizing the logical clock as a function of a residence time value stored in a received synchronization message.

## Claims

### Claim 1

A method for synchronizing an ordinary clock module in a device for a node to be used in a system comprising cascaded nodes, during a synchronization phase of cascaded nodes of the system, the device comprising a physical clock, an input port, and an output port, the device further comprising an ordinary module and a transparent clock module, the ordinary clock module and the transparent clock module sharing the physical clock, the transparent clock module being configured for determining a residence time representing the time needed for a synchronization message received from the input port to be output via the output port, the method comprising:
obtaining a theoretical residence time, wherein the use of the theoretical residence time is based on a status of the system over a period of time;
during a pre-synchronization phase according to which the ordinary clock module is not synchronized, adding a value representative of the obtained theoretical residence time to a residence time value stored in a synchronization message to be forwarded,
during the synchronization phase of cascaded nodes of the system, in a case where the ordinary clock module is not synchronized, adding a value representative of the obtained theoretical residence time to a residence time value stored in a synchronization message to be forwarded,
synchronizing the ordinary clock module as a function of a residence time value stored in a received synchronization message.

### Claim 2 (depends on 1)

The method of claim 1, wherein the step of obtaining a theoretical residence time comprises a step of disabling synchronization of the ordinary clock module and a step of computing an average residence time.

### Claim 3 (depends on 2)

The method of claim 2, wherein the average residence time is computed based on a predetermined number of processed received synchronization messages.

### Claim 4 (depends on 1)

The method of claim 1, wherein the step of obtaining a theoretical residence time comprises a step of obtaining a predetermined theoretical residence time.

### Claim 5 (depends on 4)

The method of claim 4, wherein the predetermined theoretical residence time is obtained as a function of an item of information directed to the workload of communication links connecting the cascaded nodes.

### Claim 6 (depends on 4)

The method of claim 4, further comprising a step of computing a plurality of theoretical residence times, each theoretical residence time of the plurality of theoretical residence times being associated with particular communication conditions.

### Claim 7 (depends on 1)

The method of claim 1, wherein the theoretical residence time is obtained from another node through a received message.

### Claim 8 (depends on 1)

The method of claim 1, wherein a value representative of the obtained theoretical residence time is added to a residence time value of a received synchronization message for updating the received synchronization message that is forwarded afterward.

### Claim 9 (depends on 1)

The method of claim 1, further comprising a step of updating the obtained theoretical residence time as a function of a computed residence time.

### Claim 10 (depends on 1)

The method of claim 1, further comprising a step of comparing the obtained residence time with at least one threshold, wherein the value representative of the obtained theoretical residence time is added to a residence time value stored in a synchronization message to be forwarded, instead of a value representative of the obtained residence time, during the pre-synchronization phase, as a result of the comparison.

### Claim 11 (depends on 10)

The method of claim 10, herein the step of updating the obtained theoretical residence time is carried out as a function of the comparison.

### Claim at position 12

12-13. (canceled)

### Claim 14 (depends on 1)

A non-transitory computer-readable storage medium storing instructions of a computer program for implementing the method according to claim 1.

### Claim 15

A synchronization device for a node in a system comprising cascaded nodes, the synchronization device comprising a microprocessor, a physical clock, an input port, and an output port, the synchronization device further comprising an ordinary clock module and a transparent clock module, the ordinary clock module and the transparent clock module sharing the physical clock, the transparent clock module being configured for determining a residence time representing the time needed for a synchronization packet received from the input port to be transmitted via the output port, the microprocessor being configured for carrying out steps of synchronization of the ordinary clock module according to a master node clock, during a synchronization phase of cascaded nodes of the system, the steps of synchronization comprising:
obtaining a theoretical residence time, wherein the use of the theoretical residence time is based on a status of the system over a period of time;
during a pre-synchronization phase according to which the ordinary clock module is not synchronized, adding a value representative of the obtained theoretical residence time to a residence time value stored in a synchronization message to be forwarded,
during the synchronization phase of cascaded nodes of the system, in a case where the ordinary clock module is synchronized, obtaining a residence time and adding a value representative of the obtained residence time to a residence time value stored in a synchronization message to be forwarded, and
synchronizing the ordinary clock module as a function of a residence time value stored in a received synchronization message.

### Claim 16 (depends on 15)

The device of claim 15, wherein the microprocessor is further configured so that the step of obtaining a theoretical residence time comprises a step of disabling synchronization of the ordinary clock module and a step of computing an average residence time.

### Claim 17 (depends on 16)

The device of claim 16, wherein the microprocessor is further configured so that the average residence time is computed based on a predetermined number of processed received synchronization messages.

### Claim 18 (depends on 15)

The device of claim 15, wherein the microprocessor is further configured so that the step of obtaining a theoretical residence time comprises a step of obtaining a predetermined theoretical residence time.

### Claim 19 (depends on 18)

The device of claim 18, wherein the microprocessor is further configured for carrying out a step of computing a plurality of theoretical residence times, each theoretical residence time of the plurality of theoretical residence times being associated with particular communication conditions.

### Claim 20 (depends on 15)

The device of claim 15, wherein the microprocessor is further configured so that the theoretical residence time is obtained from another node through a received message.

### Claim 21 (depends on 15)

The device of claim 15, wherein the microprocessor is further configured so that a value representative of the obtained theoretical residence time is added to a residence time value of a synchronized message for updating the received synchronization message that is forwarded afterward.

### Claim 22 (depends on 15)

The device of claim 15, wherein the microprocessor is further configured for carrying out a step of updating the obtained theoretical residence time as a function of a computed residence time.

### Claim 23 (depends on 22)

The device of claim 22, wherein the microprocessor is further configured for carrying out a step of comparing the obtained residence time with at least one threshold, wherein the value representative of the obtained theoretical residence time is added to a residence time value stored in a synchronization message to be forwarded, instead of a value representative of the obtained residence time, during the pre-synchronization phase, as a result of the comparison.

### Claim 24 (depends on 23)

The device of claim 23, wherein the microprocessor is further configured so that the step of updating the obtained theoretical residence time is carried out as a function of the comparison.
