A method for resource allocation, applicable to a terminal device with an operating system and at least one application running in the terminal device, the method comprising: identifying , by the operating system, a current internal running scenario of a target application running in a foreground of the terminal device; acquiring , by the operating system, a plurality of resource adjustment strategies associated with preset system resources to-be-adjusted in the internal running scenario, wherein the resource adjustment strategies are configured to adjust the system resources; acquiring , by the operating system, status information of the internal running scenario; adjusting , by the operating system, an order of priorities of the plurality of resource adjustment strategies according to the status information; and adjusting , by the operating system, the preset system resources to-be-adjusted, by selecting the resource adjustment strategy with the highest priority; characterized in that : the status information comprises an operation parameter of an operation interface of the internal running scenario, and the adjusting, by the operating system, the order of priorities of the plurality of resource adjustment strategies according to the status information comprises: determining , by the operating system, a parameter range to which the operation parameter belongs; determining , by the operating system, reference order of priorities of the plurality of resource adjustment strategies corresponding to the parameter range, according to a preset correspondence between preset parameter ranges and the order of priorities of the plurality of resource adjustment strategies; and adjusting , by the operating system, the order of priorities of the plurality of resource adjustment strategies according to the determined reference order of priorities of the plurality of resource adjustment strategies. identifying , by the operating system, a current internal running scenario of a target application running in a foreground of the terminal device; acquiring , by the operating system, a plurality of resource adjustment strategies associated with preset system resources to-be-adjusted in the internal running scenario, wherein the resource adjustment strategies are configured to adjust the system resources; acquiring , by the operating system, status information of the internal running scenario; adjusting , by the operating system, an order of priorities of the plurality of resource adjustment strategies according to the status information; and adjusting , by the operating system, the preset system resources to-be-adjusted, by selecting the resource adjustment strategy with the highest priority; characterized in that : the status information comprises an operation parameter of an operation interface of the internal running scenario, and the adjusting, by the operating system, the order of priorities of the plurality of resource adjustment strategies according to the status information comprises: determining , by the operating system, a parameter range to which the operation parameter belongs; determining , by the operating system, reference order of priorities of the plurality of resource adjustment strategies corresponding to the parameter range, according to a preset correspondence between preset parameter ranges and the order of priorities of the plurality of resource adjustment strategies; and adjusting , by the operating system, the order of priorities of the plurality of resource adjustment strategies according to the determined reference order of priorities of the plurality of resource adjustment strategies. <EOS>