1. A method for random access in an idle state, the method comprising:processing, by user equipment (UE), to-be-sent data, including generating a buffer status report (BSR) for indicating a volume of to-be-sent data of the UE, and equipment priority information for indicating a scheduling priority of the UE;
sending, by the UE, a random access preamble to an evolved NodeB (eNB), and receiving a random access response message sent by the eNB according to the random access preamble, wherein the random access response message carries first uplink grant information;
sending, by the UE, a first message to the eNB according to the first uplink grant information, wherein the first message comprises R bits, and wherein the first message carries the BSR and the equipment priority information, and the equipment priority information are carried in the R bits; and
receiving, by the UE, second uplink grant information sent by the eNB, and sending the to-be-sent data to the eNB over an uplink resource according to the second uplink grant information, wherein the second uplink grant information indicates the uplink resource allocated to the UE by the eNB according to the BSR and the equipment priority information.