In this embodiment of this application, when the terminal device is successfully handed over to the second target cell, the terminal device releases the conditional handover configuration information, to avoid a transmission interruption when the handover to the second target cell fails. For example, when the handover to the second target cell fails, the terminal device may determine, based on the conditional handover configuration information, a cell that can be accessed, to prevent the terminal device from performing RRC re-establishment when the handover to the second target cell fails, thereby reducing a transmission interruption.
According to a second aspect, a communication method is provided. The method includes: A first network device generates conditional handover configuration information, where the first network device is a network device to which a serving cell belongs, and the serving cell is a cell that currently accessed by a terminal device belongs.
The first network device sends the conditional handover configuration information, where the conditional handover configuration information is used by the terminal device to determine a first target cell.