System function invoking method and apparatus, and terminal
First Claim
1. A system function invoking method implemented by a terminal device, the method comprising:
- acquiring an installation package of a first application program;
acquiring configuration information of a first permission from the installation package, wherein the first permission is not a highest level permission and forbids a second application program from invoking a system function in response to the first application program running;
granting the first permission to the first application program according to the configuration information;
recording the configuration information of the first permission in an installation the of the terminal device; and
forbidding, according to the configuration information, the second application program from invoking the system function in response to the first application program running and independent of user notification.
3 Assignments
0 Petitions
Accused Products
Abstract
A system function invoking method and apparatus, and a terminal are disclosed and are related to the field of computer technologies. The method includes acquiring an installation package of a first application program; granting a first permission of a system to the first application program according to the installation package, where the first permission is used to, when the first application program is in a running state, forbid a second application program from invoking at least one system function; and running the first application program, and forbidding the second application program from invoking the at least one system function. The apparatus includes a first acquiring module, an authorization module, and an invoking module.
-
Citations
17 Claims
-
1. A system function invoking method implemented by a terminal device, the method comprising:
-
acquiring an installation package of a first application program; acquiring configuration information of a first permission from the installation package, wherein the first permission is not a highest level permission and forbids a second application program from invoking a system function in response to the first application program running; granting the first permission to the first application program according to the configuration information; recording the configuration information of the first permission in an installation the of the terminal device; and forbidding, according to the configuration information, the second application program from invoking the system function in response to the first application program running and independent of user notification. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A terminal device comprising:
- a storage device; and
a processor coupled to the storage device and configured to; acquire an installation package of a first application program; acquire configuration information of a first permission from the installation package, wherein the first permission is not a highest level permission and forbids a second application program from invoking a system function in response to the first application program running; grant the first permission of a system to the first application program according to the configuration information; record the configuration information of the first permission in an installation the of the terminal device; and forbid, according to the configuration information, the second application program from invoking the system function in response to the first application program running. - View Dependent Claims (7, 8, 9, 10)
- a storage device; and
-
11. A system function invoking method comprising:
-
configuring a first mode in a system; acquiring an installation package of a first application program; acquiring configuration information of a first permission from the installation package, wherein the first permission is not the highest level permission and forbids a second application program from invoking a system function in response to the first application program running; granting the first permission of a system to the first application program according to the configuration information; recording the configuration information of the first permission in an installation file of the terminal device; running the first application program; configuring the system such that the system is in the first mode in response to the first application program running; and forbidding, according to the first permission, a second application program from invoking the system function in response to the first application program running. - View Dependent Claims (12, 13, 14, 15, 16, 17)
-
Specification