For example, the conditional handover configuration information includes a cancellation condition, where whether the handover cancellation condition is satisfied is determined based on the cancellation condition and the signal quality of the serving cell and/or the signal quality of the candidate target cell.
For example, after the receiving the conditional handover configuration information, the terminal device may determine, based on link quality, whether to cancel the handover. For example, when the quality of the serving cell becomes better, the terminal device may cancel the handover and continue to communicate with the serving cell.
With reference to the first aspect, in an implementation of the first aspect, in the process in which the terminal device determines the first target cell that satisfies the trigger condition, the method further includes:
The terminal device receives a handover message sent by the first network device, where the handover message includes an identifier of a second target cell and a dedicated random access resource required for accessing the second target cell, and the dedicated random access resource includes a preamble index and a time-frequency resource.
The terminal device stops the determining process, and performs contention-free random access to the second target cell based on the dedicated random access resource.
That the terminal device determines a first target cell based on the conditional handover configuration information includes the following.
The terminal device continues to determine, based on the conditional handover configuration information when the contention-free random access to the second target cell fails, the first target cell that satisfies the trigger condition.