Patent ID: 11881931
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Telecommunications (Electrical engineering)
Classification: CPC H | IPC H

Claim 7:
8. A data transmission time obtaining apparatus, wherein the apparatus is applied to a power line communication (PLC) network, and comprises a memory and a processor;
wherein the memory is coupled to the processor, and the memory comprises program instructions which are run by the processor to cause the apparatus to:
send a first packet to a second device;
obtain a first send timestamp of the first packet;
receive a second packet that is sent by the second device and that corresponds to the first packet;
obtain a first receive timestamp of the second packet;
determine timing frequency of the second device based on timing frequency of the apparatus and a frequency offset between the timing frequency of the apparatus and the timing frequency of the second device;
determine, based on the timing frequency of the second device, a second receive timestamp at which the second device receives the first packet and a second send timestamp at which the second device sends the second packet; and
determine a data transmission time between the apparatus and the second device based on the first send timestamp, the first receive timestamp, the second send timestamp, and the second receive timestamp.