Clock processing device and program
AssigneeSeiko Solutions Inc.
InventorYosuke Kurata
Life of this patent
Estimating the term…
Abstract
In a clock processing device (10), a one-way delay difference calculation unit (26) calculates a first one-way delay difference and a second one-way delay difference. An RTT acquisition unit (28) acquires information to calculate an RTT. A delay estimation unit (32) estimates a first one-way delay. A one-way delay range update unit (30) obtains a first one-way delay difference and a second one-way delay difference, and updates a valid range of the first one-way delay, the valid range being determined by using the first one-way delay difference and the second one-way delay difference. A determination unit (34) determines whether or not the estimated first one-way delay is consistent using the valid range of the first one-way delay.
Claims4
A clock processing device comprising:
- a memory;
- at least one processor coupled to the memory;
- and
- a clock unit that outputs a current time,
- wherein the at least one processor,
- receives, from a reference clock device, a first message including a time stamp of a reference clock,
- transmits, to the reference clock device, a second message including a time stamp of the clock unit, and
- receives a time stamp of the reference clock when the reference clock device received the second message;
- sets, as a temporary downstream one-way delay, a difference between the time stamp of the reference clock included in the first message and the time stamp of the clock unit when the first message is received and calculates a downstream one-way delay difference that is a difference between the temporary downstream one-way delays, and sets, as a temporary upstream one-way delay, a difference between the time stamp included in the second message and the time stamp of the reference clock when the second message is received and calculates a upstream one-way delay difference that is a difference between the temporary upstream one-way delays;
- calculates a round-trip delay that is a sum of the temporary downstream one-way delay and the temporary upstream one-way delay using a combination of the first message and the second message;
- estimates a downstream one-way delay or an upstream one-way delay using a predetermined estimation method;
- and
- calculates a latest downstream one-way delay difference that is a difference between a shortest time of the temporary downstream one-way delay and the latest temporary downstream one-way delay, calculates a latest upstream one-way delay difference that is a difference between a shortest time of the temporary upstream one-way delay and a latest temporary upstream one-way delay, and determines whether or not the estimated downstream one-way delay or the estimated upstream one-way delay time is consistent by using a valid range of the downstream one-way delay or the upstream one-way delay determined using the calculated downstream one-way delay difference and the calculated upstream one-way delay difference.
A non-transitory storage medium storing a program executable by a computer to perform clock processing,
- wherein the clock processing includes:
- receiving, from a reference clock device, a first message including time stamp of a reference clock;
- transmitting, to the reference clock device, a second message including time stamp of clock unit that outputs current time, and
- receiving time stamp of the reference clock when the reference clock device received the second message;
- setting, as a temporary downstream one-way delay, a difference between the time stamp of the reference clock included in the first message and the time stamp of the clock unit when the first message is received and calculating a latest downstream one-way delay difference that is a difference between the temporary upstream one-way delays, and setting, as a temporary upstream one-way delay, a difference between the time stamp included in the second message and the time stamp of the reference clock when the second message is received and calculating an upstream one-way delay difference that is a difference between the temporary upstream one-way delays;
- calculating a round-trip delay that is a sum of the temporary downstream one-way delay and the temporary upstream one-way delay using a combination of the first message and the second message;
- estimating a downstream one-way delay or an upstream one-way delay using a predetermined estimation method;
- and
- calculating a latest downstream one-way delay difference that is a difference between a shortest time of the temporary downstream one-way delay and a latest temporary downstream one-way delay, calculating a latest upstream one-way delay difference that is a difference between a shortest time of the temporary upstream one-way delay and a latest temporary upstream one-way delay, and determining whether or not the estimated downstream one-way delay or upstream one-way delay is consistent by using an valid range of the downstream one-way delay or the upstream one-way delay determined using the calculated downstream one-way delay difference and the calculated upstream one-way delay difference.
Dependencies are inferred from the claim text.