Optionally, in this embodiment of the present disclosure, after sending the random access request on the target first frequency resource, the terminal calculates, based on parameter information of each second frequency resource, a Random Access-Radio Network Temporary Identifier (RA-RNTI) of a frequency corresponding to each second frequency resource, then determines, based on the RA-RNTI of the frequency corresponding to each second frequency resource, a RAR window of the frequency corresponding to each second frequency resource, and therefore monitors, in the RAR windows, the random access response sent by the network device to the terminal.
The following uses three examples to describe a process of calculating the RA-RNTI of the frequency corresponding to the second frequency resource. RA?RNTI1=1+s_id+14?t_id+14×80×f_id+14×80×8×bwp_id+14×80×8×maxBWP×ul_carrier_id.??Example 1: RA?RNTI2=1+s_id+14×t_id+14×80×f_id+14×80×8×ul_carrier_id+14×80×8×2×carrier_id.??Example 2: RA?RNTI3=1+s_id+14×t_id+14×80×f_id+14×80×8×bwp_id+14×80×8×maxBWP×ul_carrier_id+14×80×8×maxBWP×2×carrier_id.??Example 3: