A method for uplink resource allocation, performed by a base station, comprising: acquiring, according to a specific absorption rate, SAR, of a user equipment, UE, a maximum number of uplink resources that can be allocated by the base station to the UE within a period of time, wherein the uplink resources are time domain resources; determining the maximum number of the uplink resources that can be allocated by the base station to the UE as a first number when the UE starts occupying a target channel, wherein the target channel is on an unlicensed spectrum, determining whether the first number is greater than 0 when the uplink resources are required to be allocated to the UE within the period of time during which the UE occupies the target channel, wherein the first number is a number of remaining allocable uplink resources within the period of time; allocating the uplink resources to the UE in response to determining that the first number is greater than 0; characterized in that the method further comprises: acquiring a second number after allocating the uplink resources to the UE, wherein the second number is a number of the uplink resources allocated to the UE within the period of time; subtracting the second number from the first number, to obtain an updated first number, wherein the updated first number is used for the base station to determine whether the updated first number is greater than 0 when uplink resources are required to be allocated to the UE again and allocate the uplink resources to the UE again when the updated first number is greater than 0; and sending the updated first number to the UE, wherein the updated first number is used for the UE to determine whether the updated first number is greater than 0 when uplink resources are required to be requested from the base station again and request the uplink resources from the base station when the updated first number is greater than 0. acquiring, according to a specific absorption rate, SAR, of a user equipment, UE, a maximum number of uplink resources that can be allocated by the base station to the UE within a period of time, wherein the uplink resources are time domain resources; determining the maximum number of the uplink resources that can be allocated by the base station to the UE as a first number when the UE starts occupying a target channel, wherein the target channel is on an unlicensed spectrum, determining whether the first number is greater than 0 when the uplink resources are required to be allocated to the UE within the period of time during which the UE occupies the target channel, wherein the first number is a number of remaining allocable uplink resources within the period of time; allocating the uplink resources to the UE in response to determining that the first number is greater than 0; characterized in that the method further comprises: acquiring a second number after allocating the uplink resources to the UE, wherein the second number is a number of the uplink resources allocated to the UE within the period of time; subtracting the second number from the first number, to obtain an updated first number, wherein the updated first number is used for the base station to determine whether the updated first number is greater than 0 when uplink resources are required to be allocated to the UE again and allocate the uplink resources to the UE again when the updated first number is greater than 0; and sending the updated first number to the UE, wherein the updated first number is used for the UE to determine whether the updated first number is greater than 0 when uplink resources are required to be requested from the base station again and request the uplink resources from the base station when the updated first number is greater than 0. acquiring a second number after allocating the uplink resources to the UE, wherein the second number is a number of the uplink resources allocated to the UE within the period of time; subtracting the second number from the first number, to obtain an updated first number, wherein the updated first number is used for the base station to determine whether the updated first number is greater than 0 when uplink resources are required to be allocated to the UE again and allocate the uplink resources to the UE again when the updated first number is greater than 0; and sending the updated first number to the UE, wherein the updated first number is used for the UE to determine whether the updated first number is greater than 0 when uplink resources are required to be requested from the base station again and request the uplink resources from the base station when the updated first number is greater than 0.