Patent ID: 9742514
Date: 2017-08-22
CPC Classifications: H04J

Claim:
1. A network node, comprising: a physical layer transceiver unit, a data packet processing unit, a physical layer delay acquiring unit, and a non-physical layer delay acquiring unit, wherein: the physical layer transceiver unit is configured to send a data packet to the data packet processing unit; the data packet processing unit is configured to receive the data packet sent by the physical layer transceiver unit or a data packet sent by an upper layer, and identify whether the data packet is a precise time synchronization protocol (PTP) data packet, and if the data packet is a PTP data packet, the data packet processing unit generates, according to physical layer delay information provided by the physical layer delay acquiring unit, and non-physical layer delay information provided by the non-physical layer delay acquiring unit, a precise timestamp and rewrites a timestamp field in the data packet; the physical layer delay acquiring unit is configured to acquire the physical layer delay information of the data packet that is generated when the data packet passes through the physical layer transceiver unit, and provide the physical layer delay information to the data packet processing unit; and the non-physical layer delay acquiring unit is configured to acquire the non-physical layer delay information between a time point at which the data packet passes through a physical layer-non-physical layer interface and a time point at which the precise timestamp is generated in the data packet processing unit, and provide the non-physical layer delay information to the data packet processing unit.