A resource allocating method, applied in a UE, the method comprising: in an inactive state, triggering a buffer status report, BSR, event when business data to be sent to a base station are generated after a first BSR is sent to the base station, wherein the BSR event is configured to indicate to send a second BSR to the base station, and the first BSR is configured to indicate a first cached data amount of the UE before the business data to be sent to the base station are generated and the second BSR is configured to indicate a second cached data amount of the UE after the business data to be sent to the base station data are generated; when detecting that a first uplink resource is available, sending the second BSR and first business data cached after the business data to be sent to the base station is generated to the base station using the first uplink resource, wherein the base station allocates an uplink resource for the UE according to the second BSR, and the first uplink resource is allocated by the base station according to the first BSR; and when detecting that the first uplink resource is not available, sending a scheduling request, SR, to the base station according to at least one SR resource allocated by the base station, wherein, the base station allocates a second uplink resource for the UE according to the SR , and the at least one SR resource is allocated by the base station according to a random access request of the UE, and sending the second BSR and the first business data to the base station using the second uplink resource wherein the base station allocates the uplink resource for the UE according to the second BSR . in an inactive state, triggering a buffer status report, BSR, event when business data to be sent to a base station are generated after a first BSR is sent to the base station, wherein the BSR event is configured to indicate to send a second BSR to the base station, and the first BSR is configured to indicate a first cached data amount of the UE before the business data to be sent to the base station are generated and the second BSR is configured to indicate a second cached data amount of the UE after the business data to be sent to the base station data are generated; when detecting that a first uplink resource is available, sending the second BSR and first business data cached after the business data to be sent to the base station is generated to the base station using the first uplink resource, wherein the base station allocates an uplink resource for the UE according to the second BSR, and the first uplink resource is allocated by the base station according to the first BSR; and when detecting that the first uplink resource is not available, sending a scheduling request, SR, to the base station according to at least one SR resource allocated by the base station, wherein, the base station allocates a second uplink resource for the UE according to the SR , and the at least one SR resource is allocated by the base station according to a random access request of the UE, and sending the second BSR and the first business data to the base station using the second uplink resource wherein the base station allocates the uplink resource for the UE according to the second BSR . <EOS>