Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Active Publication Date: 2017-06-16
XIAOMI INC
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] As long as there is a system broadcast, the activated application will receive it, and will automatically start according to the system broadcast, which will cause increased power consumption at the slightest, and will collect user information after self-starting, causing serious damage to the user's privacy. Threat, due to the large number of applications on the terminal, if the user manually modifies the state after each use of the application, the operation process is too cumbersome

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for setting application state
  • Method and device for setting application state
  • Method and device for setting application state

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a device for setting the state of an application program, belonging to the technical field of computers. The method includes: obtaining state setting permission information of an application; when the state setting permission information indicates that the state of the application is allowed to be set, setting the state of the application to an inactive state. The present invention sets the state of the application programs that allow the state setting to an inactive state by acquiring the state setting permission information of the application programs, so that these application programs do not receive system broadcasts, thereby eliminating the need for the user to manually modify the state of the application programs , effectively controlling the number of applications receiving system broadcasts, thereby reducing the problem of increased power consumption caused by applications receiving system broadcasts, and reducing the hidden danger of leakage of user information caused by self-starting of applications receiving system broadcasts.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for setting the state of an application program. Background technique [0002] The Android (Android) operating system is an open operating system that uses a unique cross-process communication technology to allow interactive communication between the operating system and applications, and even between applications. System broadcast is one of them. A form of communication. [0003] System broadcast is a non-targeted inter-process communication method provided by the Android operating system. The operating system or application program sends a message when a specific event occurs, but does not specify who will receive it. For example: the operating system broadcasts a BOOT_COMPLETE message when the boot is complete, and broadcasts a CONNECTIVITY_CHANGE message when the network changes. [0004] After the application is installed, its state is inactive (stop ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/46
CPCG06F9/4418Y02D10/00
Inventor 张扬孙鹏
Owner XIAOMI INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products