Usually, a header of a data packet sent by the transmit end device to the receive end device carries a moment when the transmit end device receives the data or sends the data. By using any one of the foregoing moments as the second moment used to determine the first moment, existing instantly stored information can be used to implement a process of indicating the first moment, thereby further improving the practicability and reliability of the communication method provided in this application.
In one embodiment, the transmit end device is an access network device, and the receive end device is a terminal device.
In one embodiment, the transmit end device is a terminal device, and the receive end device is an access network device.
In one embodiment, the sending, by the transmit end device, first indication information and the first data to the receive end device includes: performing, by the transmit end device, encapsulation on the first indication information and the first data in a first protocol layer, to generate a first data packet; and sending, by the transmit end device, the first data packet to the receive end device.
In one embodiment, the first protocol layer includes at least one protocol layer of a physical PHY layer, a media access control (MAC) layer, a radio link layer control protocol RLC layer, a packet data convergence protocol (PDCP) layer, and a service data adaptation protocol (SDAP) layer.
In one embodiment, the first protocol layer is at least one protocol layer of a plurality of protocol layers used for wireless communication between the transmit end device and the receive end device.