Method for clock synchronization between nodes in a packet network
First Claim
1. A method for synchronizing clocks in a packet network that includes a master node and at least one slave node, said method comprising the steps of:
- retrieving a first timer value at the end of transmission of a current packet from the master node to the slave node, the current packet having an identifying code;
inserting the first timer value and the identifying code of the current packet into a subsequent packet to be sent to the slave node;
upon receiving the current packet by the slave node, retrieving a second timer value from the slave node;
associating the second timer value with the identifying code of the current packet;
transmitting the subsequent packet to be sent to the slave node;
comparing the identifying code in the subsequent packet with the identifying code associated with the second timer value;
calculating a difference between the first and second timer values if the identifying codes match; and
adjusting a clock value in the slave node in accordance with the calculated difference.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and system for synchronizing clocks in a packet network that includes a master node and at least one slave node that communicate with one another is disclosed. A timer value from a master clock is retrieved upon transmission of a first packet to the slave node. The timer value and an associated code are subsequently sent to the slave node in a subsequent packet. After receiving the first packet, the slave node, retrieves a timer value from a slave clock and associates it with an identifying code of the first packet. After receiving the subsequent packet, the slave node relates the timer values and adjusts a clock value of the slave clock accordingly. An interrupt scheme may be used to implement the retrieval of the timer values.
261 Citations
17 Claims
-
1. A method for synchronizing clocks in a packet network that includes a master node and at least one slave node, said method comprising the steps of:
-
retrieving a first timer value at the end of transmission of a current packet from the master node to the slave node, the current packet having an identifying code;
inserting the first timer value and the identifying code of the current packet into a subsequent packet to be sent to the slave node;
upon receiving the current packet by the slave node, retrieving a second timer value from the slave node;
associating the second timer value with the identifying code of the current packet;
transmitting the subsequent packet to be sent to the slave node;
comparing the identifying code in the subsequent packet with the identifying code associated with the second timer value;
calculating a difference between the first and second timer values if the identifying codes match; and
adjusting a clock value in the slave node in accordance with the calculated difference. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A packet communication system, comprising:
-
a master node including a first controller and a first memory; and
at least one slave node including a second controller and a second memory, wherein said first controller is configured to execute code stored in said first memory so as to retrieve a first timer value from a master clock at the end of transmission of a current packet to the slave node, the current packet having an identifying code, to assemble a subsequent packet, including the first timer value and the identifying code of the current packet, and to transmit the subsequent packet to the slave node, and wherein said second controller is configured to execute code stored in said second memory so as to retrieve a second timer value upon receiving the current packet from the master node, to associate the second timer value with the identifying code of the current packet, to receive and compare the identifying code in the subsequent packet with the identifying code associated with the second timer value, to calculate a difference between the first and second timer values if the identifying codes match, and to adjust a clock value in the slave node in accordance with the calculated difference. - View Dependent Claims (13, 14)
-
-
15. A packet communication system that includes a master node and at least one slave node that communicate with one another, said system comprising:
-
means for retrieving a first timer value at the end of transmission of a current packet from the master node to the slave node;
means for assembling a subsequent packet, including the first timer value, for transmission to the slave node;
means for retrieving a second timer value upon receiving the current packet by the slave node;
means for relating the first and second timer values; and
means for adjusting a clock value in the slave node in accordance with a calculation based upon first and second timer values. - View Dependent Claims (16, 17)
-
Specification