Specifically, the handover message may be an RRC message. For example, the handover message may be an RRC reconfiguration message that includes a synchronization reconfiguration (ReconfigurationWithSync) information element or an RRC connection reconfiguration message that carries a mobility control information (mobility control info) information element. The handover message includes at least one of the following information, for example, the identifier (for example, a PCI) of the second target cell, an identifier (for example, an SSB index and/or a CSI-RS index) of a second beam belonging to the second target cell, a beam threshold (for example, rsrp-ThresholdSSB or rsrp-ThresholdCSI-RS), and a second random access channel resource required for accessing the second target cell. There may be a plurality of identifiers of second beams, and there may be one or more second RACH resources, where the second RACH resources may be different. The second random access channel resource includes a second dedicated random access resource and/or a second common random access resource. The second dedicated random access resource is associated with the second beam belonging to the second target cell, the second dedicated random access resource includes a second preamble index and a third time-frequency resource, the second common random access resource includes a fourth time-frequency resource, and different identifiers of second beams may be associated with different second dedicated random access resources.