The fourth network device receives a first message sent by the terminal device, where the first message is used to notify the fourth network device of a successful handover of the terminal device, and the first message includes at least one of the following information: a cell radio network temporary identifier C-RNTI allocated by the serving cell to the terminal, a cell global identifier CGI of the serving cell, a physical cell identifier PCI of the serving cell, and a message authentication code for integrity MAC-I.
The fourth network device obtains the context information of the terminal device from the first network device based on the first message.
It should be understood that, when the fourth network device is the network device to which the first target cell belongs, the fourth network device is equivalent to the second network device in the foregoing description. This embodiment of this application is not limited thereto.
According to a fourth aspect, a communications apparatus is provided and includes each module or unit configured to perform the method in the first aspect or any possible implementation of the first aspect.
In an implementation, the communications apparatus is a terminal device.
According to a fifth aspect, a communications apparatus is provided and includes each module or unit configured to perform the method in the second aspect or any possible implementation of the second aspect.
In an implementation, the communications apparatus is a network-side device. Specifically, the communications apparatus may be a first network device to which a serving cell belongs.