In addition, with reference to the solutions in the foregoing aspects, the TA may alternatively be determined based on a distance value indicated by the network device, where the distance is less than or equal to 300 km and is greater than or equal to a largest distance in distances of terminal devices served by the network device.
Further, the indicated distance value may alternatively be related to a random access preamble format of the terminal device.
In addition, with reference to the solutions in the foregoing aspects, the terminal device may alternatively use a TA indicated by the network device. To be specific, the network device determines the TA and indicates the TA to the terminal device. The TA is the TA indicated by the network device, and the TA is less than or equal to 2 ms and is greater than or equal to a largest TA in TAs of terminal devices served by the network device.
Further, the TA value may be alternatively related to a random access preamble (namely, a message 1) format of the terminal device.
The terminal device served by the network device may be one or more terminal devices covered by a serving cell of the network device, or may be one or more terminal devices covered by one or more beams of the network device.
With reference to the foregoing methods, the method further includes: