Releasing resources from processes in a particular order to provide required resources to start an application
First Claim
1. A method for application management, wherein the method is applied in an electronic device and the method comprises:
- determining an application to be managed from one or more applications installed in the electronic device according to a predetermined regulation;
creating an application management folder;
generating a shortcut identification for the application to be managed in the application management folder;
managing startup of the application to be managed via, after receiving an operation on the shortcut identification from a user,triggering an operation for providing memory resources to the application to be managed, the memory resources being sufficient to satisfy a memory requirement of starting the application to be managed as defined in a memory requirement list, andtriggering an operation for starting the application to be managed;
wherein providing memory resources to the application to be managed comprises;
obtaining a size of memory required by starting the application to be managed;
determining whether remaining memory resources satisfy a memory requirement of starting the application to be managed;
releasing memory resources of processes in the electronic device to satisfy the memory requirement of starting the application to be managed when the remaining memory resources cannot satisfy the memory resources requirement of starting the application to be managed, wherein during releasing memory resources, the memory resources are released first in an order of long to short unused time of respective processes, and then in an order of long to short starting periods of the respective processes.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed are a method and a device for managing an application applied in an electronic device, said method comprising: detecting an application installed in the electronic device; determining an application to be managed from a detection result according to a predetermined regulation; creating an application management folder; generating a shortcut identification for the application to be managed in the application management folder; triggering an operation for providing memory resources to the application to be managed and triggering an operation for starting the application to be managed, after receiving an operation on the shortcut identification from a user. With embodiments of the present disclosure, the starting speed of the application may be improved and the possibility of happening of phenomena such as unsmooth start, runtime error and crashing may be reduced, and the tidiness of the desktop is improved.
-
Citations
14 Claims
-
1. A method for application management, wherein the method is applied in an electronic device and the method comprises:
-
determining an application to be managed from one or more applications installed in the electronic device according to a predetermined regulation; creating an application management folder; generating a shortcut identification for the application to be managed in the application management folder; managing startup of the application to be managed via, after receiving an operation on the shortcut identification from a user, triggering an operation for providing memory resources to the application to be managed, the memory resources being sufficient to satisfy a memory requirement of starting the application to be managed as defined in a memory requirement list, and triggering an operation for starting the application to be managed; wherein providing memory resources to the application to be managed comprises; obtaining a size of memory required by starting the application to be managed; determining whether remaining memory resources satisfy a memory requirement of starting the application to be managed; releasing memory resources of processes in the electronic device to satisfy the memory requirement of starting the application to be managed when the remaining memory resources cannot satisfy the memory resources requirement of starting the application to be managed, wherein during releasing memory resources, the memory resources are released first in an order of long to short unused time of respective processes, and then in an order of long to short starting periods of the respective processes. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A non-transitory computer-readable storage medium having stored therein instructions that, when executed by a processor of a device, causes the device to perform a method for application management comprising:
-
determining an application to be managed from one or more applications installed in the electronic device according to a predetermined regulation; creating an application management folder; generating a shortcut identification for the application to be managed in the application management folder; managing startup of the application to be managed via, after receiving an operation on the shortcut identification from a user, triggering an operation for providing memory resources to the application to be managed, the memory resources being sufficient to satisfy a memory requirement of starting the application to be managed as defined in a memory requirement list, and, triggering an operation for starting the application to be managed; wherein providing memory resources to the application to be managed comprises; obtaining a size of memory required by starting the application to be managed; determining whether remaining memory resources satisfy a memory requirement of starting the application to be managed; releasing memory resources of processes in the electronic device to satisfy the memory requirement of starting the application to be managed when the remaining memory resources cannot satisfy the memory resources requirement of starting the application to be managed, wherein during releasing memory resources, the memory resources are released first in an order of long to short unused time of respective processes, and then in an order of long to short starting periods of the respective processes.
-
-
9. An electronic device for application management, comprising:
- a housing, a displayer, a circuit board and a processor, wherein the circuit board is arranged inside a space enclosed by the housing, the displayer is arranged external to the housing and connected with the circuit board, and the processor is arranged on the circuit board and configured to process data so as to execute following acts of;
determining an application to be managed from one or more applications installed in the electronic device and according to a predetermined regulation; creating an application management folder; generating a shortcut identification for the application to be managed in the application management folder; managing startup of the application to be managed via, after receiving an operation on the shortcut identification from a user, triggering an operation for providing memory resources to the application to be managed, the memory resources being sufficient to satisfy a memory requirement of starting the application to be managed as defined in a memory requirement list, and triggering an operation for starting the application to be managed; wherein providing memory resources to the application to be managed comprises; obtaining a size of memory required by starting the application to be managed; determining whether remaining memory resources satisfy a memory requirement of starting the application to be managed; releasing memory resources of processes in the electronic device to satisfy the memory requirement of starting the application to be managed when the remaining memory resources cannot satisfy the memory resources requirement of starting the application to be managed, wherein during releasing memory resources, the memory resources are released first in an order of long to short unused time of respective processes, and then in an order of long to short starting periods of the respective processes. - View Dependent Claims (10, 11, 12, 13, 14)
- a housing, a displayer, a circuit board and a processor, wherein the circuit board is arranged inside a space enclosed by the housing, the displayer is arranged external to the housing and connected with the circuit board, and the processor is arranged on the circuit board and configured to process data so as to execute following acts of;
Specification