Electronic equipment process control method, system and electronic equipment
A technology of electronic equipment and programs, applied in the field of control, can solve problems such as crashes, occupy more CPU resources, and consume more energy, and achieve the effects of reducing requirements, extending battery life, and reducing energy consumption
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0068] figure 1 It is a schematic flowchart of the electronic device program control method provided in Embodiment 1 of the present application.
[0069] Such as figure 1 As shown, the method includes:
[0070] S101: Obtain a permission table of a program currently running in the foreground of the electronic device.
[0071] For an electronic device, there may be one or more programs currently running in the foreground. In the embodiment of the present application, when obtaining the permission list of the programs currently running in the foreground, the licenses of all the programs currently running in the foreground in the electronic device are obtained. surface.
[0072] When a program is installed in the electronic device, a configuration file can be set for each program, and information of other programs on which the program depends when running is stored in the configuration file.
[0073] then, if figure 2 As shown, this step can include:
[0074] S1011: Obtain ...
Embodiment 2
[0088] Figure 4 It is a schematic flowchart of the electronic device program control method provided in the third embodiment of the present application.
[0089] Such as Figure 4 As shown, the method includes:
[0090] S401: Obtain a permission table of a program currently running in the foreground of the electronic device.
[0091] Step S401 corresponds to step S101 in the above-mentioned embodiment 1. For details, refer to the detailed description of step S101 in the above-mentioned embodiment, and details are not repeated here.
[0092] S402: Detect all background running programs of the electronic device.
[0093] In order to have an overall understanding of the background running programs currently running on the electronic device, it is necessary to detect all the current background running programs of the electronic device.
[0094] S403: Determine whether the programs listed in the permission table exist in the detected background running programs.
[0095] Comp...
example 3
[0101] Figure 5 It is a schematic flowchart of the electronic device program control method provided in the third embodiment of the present application.
[0102] Such as Figure 5 As shown, the method includes:
[0103] S501: Obtain a permission table of a program currently running in the foreground of the electronic device.
[0104] S502: Determine the background running program that the current foreground running program depends on.
[0105] Steps S501-S502 correspond one-to-one to steps S101-S102 in the above-mentioned embodiment 1. For details, refer to the detailed description of steps S101-S102 in the above-mentioned embodiment, and details are not repeated here.
[0106] S503: Detect the remaining power of the electronic device.
[0107] For electronic devices, if the current electronic device has sufficient power, many background running programs may affect the user's use, but the electronic device can still run, and when the electronic device is low in power, if ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 