Patent attributes
The embodiments of the present disclosure provide a random access method and apparatus, a network device, and a terminal. The method includes a network device sending first configuration information corresponding to a preamble and second configuration information corresponding to a physical random access channel (PRACH) resource; the network device receiving MSG1, and determining the format of an RAR on the basis of at least one of the preamble corresponding to the MSG1, a PRACH resource corresponding to the MSG1, or whether MSG3 is detected within a first time range; and the network device sending MSG2 on the basis of the format of the RAR.