Method for Controlling Application and Terminal Device
First Claim
1. A method for controlling application, comprising:
- accelerating startup of a target application of a terminal device in response to a control instruction of starting the target application;
determining a percentage of current idle resources of cores of the terminal device when a time length required for successfully starting the target application is greater than or equal to a preset time length, and determining, according to a mapping relationship between accelerating startup time lengths of the target application and percentages of idle resources of the cores, an accelerating startup time length corresponding to the percentage of the current idle resources of the cores, wherein each accelerating startup time length of the target application is a duration of a finished operation of accelerating the startup of the target application; and
stopping accelerating the startup of the target application based on a determination that a time length of accelerating the startup of the target application is greater than or equal to the accelerating startup time length corresponding to the percentage of the current idle resources of the cores.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for controlling application includes following operations. Startup of a target application of a terminal device is accelerated in response a control instruction of starting the target application. Accelerating the startup of the target application is stopped when a duration of accelerating the startup of the target application reaches a preset value, based on that a time length required for successfully starting the target application is greater than or equal to a preset time length, or accelerating the startup of the target application is stopped when a refresh rate of frames of a main thread of the target application reaches or exceeds a preset refresh rate, based on that the time length required for successfully starting the target application is less than the preset time length. A related terminal device is also provided.
-
Citations
20 Claims
-
1. A method for controlling application, comprising:
-
accelerating startup of a target application of a terminal device in response to a control instruction of starting the target application; determining a percentage of current idle resources of cores of the terminal device when a time length required for successfully starting the target application is greater than or equal to a preset time length, and determining, according to a mapping relationship between accelerating startup time lengths of the target application and percentages of idle resources of the cores, an accelerating startup time length corresponding to the percentage of the current idle resources of the cores, wherein each accelerating startup time length of the target application is a duration of a finished operation of accelerating the startup of the target application; and stopping accelerating the startup of the target application based on a determination that a time length of accelerating the startup of the target application is greater than or equal to the accelerating startup time length corresponding to the percentage of the current idle resources of the cores. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A terminal device comprising:
-
at least one processor; and a computer readable memory, coupled to the at least one processor and storing at least one computer executable instruction therein which, when executed by the at least one processor, causes the at least one processor to; accelerate startup of a target application of the terminal device in response to a control instruction of starting the target application; determine a percentage of current idle resources of cores of the terminal device when a time length required for successfully starting the target application is greater than or equal to a preset time length, and determining, according to a mapping relationship between accelerating startup time lengths of the target application and percentages of idle resources of the cores, an accelerating startup time length corresponding to the percentage of the current idle resources of the cores, wherein each accelerating startup time length of the target application is a duration of a finished operation of accelerating the startup of the target application; and stop accelerating the startup of the target application based on a determination that a time length of accelerating the startup of the target application is greater than or equal to the accelerating startup time length corresponding to the percentage of the current idle resources of the cores. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
-
-
18. A terminal device comprising:
-
at least one processor; and a computer readable memory, coupled to the at least one processor and storing at least one computer executable instruction therein which, when executed by the at least one processor, causes the at least one processor to; accelerate startup of a target application of the terminal device in response to a control instruction of starting the target application; stop accelerating the startup of the target application when a duration of accelerating the startup of the target application reaches or exceeds a preset value, based on that a time length required for successfully starting the target application is greater than or equal to a preset time length; and stop accelerating the startup of the target application when a refresh rate of frames of a main thread of the target application reaches or exceeds a preset refresh rate, based on that the time length required for successfully starting the target application is less than the preset time length. - View Dependent Claims (19, 20)
-
Specification