主权项 |
1. A method for determining a slave clock to master clock time difference with an alignment marker, the method comprising:
receiving, by a processor, a first message that was sent at a first time and that includes a first alignment marker, wherein the processor has a slave clock, wherein the first alignment marker was selected by a computing device that has a master clock; recording, by the processor, a second time that the first message was received; receiving, by the processor, a second message that indicates the first time at which the first message was sent and an identity of the first alignment marker, wherein the second message was transmitted subsequent to the first message being transmitted; identifying, by the processor, the first alignment marker in a receiver based, at least in part, on the identity of the first alignment marker; determining, by the processor, a delay that is associated with data transmission between the receiver and a transmitter, the delay being determined based on information acquired during transmission of messages between the processor and the computing device; and generating, by the processor, a time difference from the slave clock to the master clock based, at least in part, on the delay, the first time, and the second time. |