Method and apparatus for running application program
First Claim
1. A method for running an application program, wherein the method comprises:
- receiving, by an apparatus in a standby state, application entry information entered by a user;
obtaining, by the apparatus, according to the received application entry information, an identifier of a first application program that needs to be run;
waking, by the apparatus, an operating system and keeping one or more application programs other than the first application program in a dormant state; and
running, by the apparatus, by using the operating system and according to the identifier of the first application program, the first application program;
wherein after beginning to run the first application program, the method further comprises;
obtaining, according to the identifier of the first application program, an identifier of a second application program on which the first application program depends;
allocating a system resource to the second application program according to the identifier of the second application program by using the operating system; and
starting the second application program according to the identifier of the second application program and the allocated system resource by using a process group management interface at a process unfreezing layer in the operating system, wherein the first application program depends on a first function of the second application program, and the first function of the second application program is run while one or more other functions of the second application program are in a frozen state.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention discloses a method which includes: receiving, in a standby state, application entry information entered by a user; obtaining, according to the application entry information, an identifier of an application program that needs to be run; waking an operating system and keeping, still in a dormant state, a dormant application program in application programs except the application program that needs to be run; and running, by using the operating system and according to the identifier of the application program that needs to be run, the application program that needs to be run The apparatus includes: a receiving module, an obtaining module, a wake-up module, and a running module. In the present invention, only the application program that needs to be run is run, while the dormant application program in the application programs except the application program that needs to be run is still kept in the dormant state.
39 Citations
13 Claims
-
1. A method for running an application program, wherein the method comprises:
-
receiving, by an apparatus in a standby state, application entry information entered by a user; obtaining, by the apparatus, according to the received application entry information, an identifier of a first application program that needs to be run; waking, by the apparatus, an operating system and keeping one or more application programs other than the first application program in a dormant state; and running, by the apparatus, by using the operating system and according to the identifier of the first application program, the first application program; wherein after beginning to run the first application program, the method further comprises; obtaining, according to the identifier of the first application program, an identifier of a second application program on which the first application program depends; allocating a system resource to the second application program according to the identifier of the second application program by using the operating system; and starting the second application program according to the identifier of the second application program and the allocated system resource by using a process group management interface at a process unfreezing layer in the operating system, wherein the first application program depends on a first function of the second application program, and the first function of the second application program is run while one or more other functions of the second application program are in a frozen state. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An apparatus for running an application program, wherein the apparatus comprises:
-
a sensing apparatus; and a processor; wherein the sensing apparatus is configured to receive, while the apparatus is in a standby state, application entry information entered by a user; and wherein the processor is configured to; obtain, according to the received application entry information, an identifier of a first application program that needs to be run; wake an operating system and keep one or more application programs other than the first application program in a dormant state; and run, by using the operating system and according to the identifier of the first application program, the first application program; wherein the processor is further configured to; obtain, according to the identifier of the first application program, an identifier of a second application program on which the first application program depends; allocate a system resource to the second application program according to the identifier of the second application program by using the operating system; and start the second application program according to the identifier of the second application program and the allocated system resource by using a process group management interface at a process unfreezing layer in the operating system, wherein the first application program depends on a first function of the second application program, and the first function of the second application program is run while one or more other functions of the second application program are in a frozen state. - View Dependent Claims (8, 9, 10, 11, 12, 13)
-
Specification