A method for allocating computing resources of a processor, comprising: detecting a current processor load by: obtaining respective processor loads of a plurality of processor cores of the processor in a current state; and determining an operating frequency corresponding to each respective processor load; determining a total operating frequency required by the respective processor loads to be computing resources required to be allocated to the current processor load; obtaining respective power values of each of the plurality of processor cores at different operating frequencies; determining a plurality of frequency allocation strategies according to the required computing resources; and selecting a frequency allocation strategy for the current processor load from the plurality of frequency allocation strategies, wherein the selected frequency allocation strategy has the lowest power consumption of the plurality of frequency allocation strategies, the method further comprising: determining a minimum number of required processor cores, Nc_min, according to the current processor load; determining a maximum number of processor cores in a system, Nc_max; and determining a selectable range of the number of processor cores according to the minimum number and the maximum number of processor cores, wherein the plurality of frequency allocation strategies are determined according to a formula Nc_x ∗ Fx = Nc_min ∗ Fmax, where the value of N c_x is in [Nc_min, Nc_max], Fmax refers to a maximum frequency of a single processor core of the plurality of processor cores, and Fx refers to a frequency allocated to a processor core of the plurality of processor cores; wherein the determining the minimum number of required processor cores according to the current processor load comprises: determining the minimum number of required processor cores according to a formula Nc_min = [(Lc + 100) / 100], where Lc refers to the current processor load. detecting a current processor load by: obtaining respective processor loads of a plurality of processor cores of the processor in a current state; and determining an operating frequency corresponding to each respective processor load; obtaining respective processor loads of a plurality of processor cores of the processor in a current state; and determining an operating frequency corresponding to each respective processor load; determining a total operating frequency required by the respective processor loads to be computing resources required to be allocated to the current processor load; obtaining respective power values of each of the plurality of processor cores at different operating frequencies; determining a plurality of frequency allocation strategies according to the required computing resources; and selecting a frequency allocation strategy for the current processor load from the plurality of frequency allocation strategies, wherein the selected frequency allocation strategy has the lowest power consumption of the plurality of frequency allocation strategies, the method further comprising: determining a minimum number of required processor cores, Nc_min, according to the current processor load; determining a maximum number of processor cores in a system, Nc_max; and determining a selectable range of the number of processor cores according to the minimum number and the maximum number of processor cores, determining a minimum number of required processor cores, Nc_min, according to the current processor load; determining a maximum number of processor cores in a system, Nc_max; and determining a selectable range of the number of processor cores according to the minimum number and the maximum number of processor cores, wherein the plurality of frequency allocation strategies are determined according to a formula Nc_x ∗ Fx = Nc_min ∗ Fmax, where the value of N c_x is in [Nc_min, Nc_max], Fmax refers to a maximum frequency of a single processor core of the plurality of processor cores, and Fx refers to a frequency allocated to a processor core of the plurality of processor cores; wherein the determining the minimum number of required processor cores according to the current processor load comprises: determining the minimum number of required processor cores according to a formula Nc_min = [(Lc + 100) / 100], where Lc refers to the current processor load.