Method and device for setting application state
An application program and status technology, applied in the computer field, can solve problems such as increased power consumption, threats to user privacy, and cumbersome operation processes, and achieve the effect of reducing power consumption increases and hidden dangers of leaking user information
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] The embodiment of the present invention provides a method for setting the state of an application program, see figure 1 .
[0026] The method flow includes:
[0027] 101: Obtain the state setting permission information of the application;
[0028] 102: When the state setting permission information indicates that the state of the application is allowed to be set, set the state of the application to an inactive state.
[0029] It can be seen that in Embodiment 1 of the present invention, by obtaining the state setting permission information of the application, the state of the application that allows the setting of the state is set to the inactive state, so that these applications do not receive system broadcasts, so that there is no need for the user to manually modify Based on the state of the application program, the number of application programs that receive system broadcasts is effectively controlled, thereby reducing the problem of increased power consumption cau...
Embodiment 2
[0031] The PackageManager in the Android operating system is a component that manages all applications. Each application stores the application information of the application in the PackageManager in the form of a package, where the application information includes the application identification and storage path corresponding to the application. , application permissions, and more.
[0032] In the second embodiment of the present invention, a new field is added in advance to the application information corresponding to each application to store the status setting permission information of the application.
[0033] There are the following two setting methods for setting permission information of application state.
[0034] First, it is set when the application is installed.
[0035] figure 2 It is a flow chart of a method for setting status setting permission information in Embodiment 2 of the present invention, and the process includes:
[0036] 201: When installing an app...
Embodiment 3
[0063] An embodiment of the present invention provides a device for setting the state of an application program, see Figure 5 , the device consists of:
[0064] An acquisition module 501, configured to acquire the status setting permission information of the application program;
[0065] The first setting module 502 is configured to set the state of the application program to an inactive state when the state setting permission information indicates that the state of the application program is allowed to be set.
[0066] Wherein, as an optional implementation manner, the acquiring module 501 acquires the status setting permission information of the application program when an event triggering the setting of the status of the application program occurs.
[0067] Further, there are two ways to set the state and set the permission information.
[0068] The first way to set the status setting permission information is realized by the following modules:
[0069] A judging module...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com