CN115665311B - System optimization method for mobile phone timing optimization background process - Google Patents
System optimization method for mobile phone timing optimization background process Download PDFInfo
- Publication number
- CN115665311B CN115665311B CN202211308743.6A CN202211308743A CN115665311B CN 115665311 B CN115665311 B CN 115665311B CN 202211308743 A CN202211308743 A CN 202211308743A CN 115665311 B CN115665311 B CN 115665311B
- Authority
- CN
- China
- Prior art keywords
- app
- mobile phone
- services
- white list
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 99
- 238000005457 optimization Methods 0.000 title claims abstract description 28
- 238000004140 cleaning Methods 0.000 claims abstract description 9
- 230000006378 damage Effects 0.000 claims description 4
- 230000006870 function Effects 0.000 description 9
- 230000000694 effects Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 206010019233 Headaches Diseases 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 231100000869 headache Toxicity 0.000 description 1
Abstract
The invention relates to the field of mobile phone system optimization methods, in particular to a system optimization method for a mobile phone timing optimization background process. Based on a mobile phone APP installed in advance, the APP is started by clicking the launch of a mobile phone interface, and then the APP is operated to realize the system optimization of a background process. According to the method, the APP is manually entered by a user to clean, a service is customized to run in the background, the process, the service, the broadcast and the like of the running background of the APP are obtained, and the process, the service, the broadcast and the like are stored by using a set List. If the user wants a certain APP not to be added into the cleaned list, the APP can be added into the white list in the setting, and the related processes and services of the APP can not be automatically cleaned after the APP is added into the white list. And when the number of the processes and services which are not added into the white list reaches a set value, the processes and services which are not added into the white list run in the background, and the processes and services which are used as the objects for automatically executing the cleaning task are destroyed. The operation is simple and convenient, and the normal use of the mobile phone is not affected. The manual closing is performed without detecting background programs and services one by one. And the valve is thoroughly closed without residue.
Description
Technical Field
The invention relates to the field of mobile phone system optimization methods, in particular to a system optimization method for a mobile phone timing optimization background process.
Background
Broadcast Receiver, service and Activity are three information transmission mechanisms and components of the Android system, and carry a large amount of information and space. Under the condition of various kinds and specifications of various applied devices, the operation smoothness, safety, standby time and overall performance of the Android system are not up to the experience like IOS which is praised by the vast users. The most important influencing factor is the management of the background process of the Android system. In many cases, the user forgets to close the mobile phone after opening the application of the mobile phone, and in many cases, there are several to tens of processes running at the same time, for example: daily applications such as WeChat, chat software, beautiful drawing show, map navigation, music and the like, and e-commerce applications such as treasured and multiple-spelling applications or applications actively started by non-users which are jumped open are operated in the background at the same time for a long time. These situations have become the most daily headache and plagued scenario for Android users.
While the android system is commonly used by various application devices, many applications remain in the carrier memory after being essentially withdrawn, and the rest memory is not closed by a system mechanism until the rest memory is low to the lowest operating point of the system, so that the part of the memory occupied by the applications is recovered. The prior art basically needs users to manually enter the opened APP to clean processes and services running in the background. In addition, most of the cleaning tools at present cannot completely clean the background processes, services and the like.
Disclosure of Invention
Aiming at the problems in the background technology, a system optimization method for mobile phone timing optimization background process is provided. According to the method, the APP is manually entered by a user to clean, a service is customized to run in the background, the process, the service, the broadcast and the like of the running background of the APP are obtained, and the process, the service, the broadcast and the like are stored by using a set List. If the user wants a certain APP not to be added into the cleaned list, the APP can be added into the white list in the setting, and the related processes and services of the APP can not be automatically cleaned after the APP is added into the white list. And when the number of the processes and services which are not added into the white list reaches a set value, the processes and services which are not added into the white list run in the background, and the processes and services which are used as the objects for automatically executing the cleaning task are destroyed. The operation is simple and convenient, and the normal use of the mobile phone is not affected. The manual closing is performed without detecting background programs and services one by one. And the valve is thoroughly closed without residue.
The invention provides a system optimization method for a mobile phone timing optimization background process, which is based on a mobile phone APP installed in advance, and the method is characterized in that the APP is started by clicking a launch of a mobile phone interface, and then the APP is operated to realize the system optimization of the background process.
Preferably, the method steps are as follows:
s1, after a user enters an APP, the user is required to manually add a white list which does not need to automatically clear a process and service, and the white list is set and then stored;
s2, after the white list is successfully set, opening an automatic cleaning function;
s3, after the function is opened, the program uses a timing module of the schedule executorservice to acquire all running processes and services through a getringing appprocess function in the getSystemservice, find out the surviving processes and services which are not in a white list set by a user, and add the processes and services into a set of the recontList;
s4, traversing the number of the recontList sets when the number reaches 10, destroying the number by an am.killBackgroundProcesses method, and deleting the number from the recontList sets after the destroying is successful until all processes and services existing in the recontList sets are destroyed;
s5, repeating the above flow after the destruction is completed, so that the mobile phone is smoother when the user uses the mobile phone for a long time.
Preferably, the white list adding method is as follows: a. acquiring an APP which is already installed in the mobile phone by a user through a getInstahledPacks function in a PackageManage; b. displaying the scanned APP to a user in a list mode; c. the APP that needs to be added to the whitelist is actively selected by itself.
Compared with the prior art, the invention has the following beneficial technical effects:
according to the method, the APP is manually entered by a user to clean, a service is customized to run in the background, the process, the service, the broadcast and the like of the running background of the APP are obtained, and the process, the service, the broadcast and the like are stored by using a set List. If the user wants a certain APP not to be added into the cleaned list, the APP can be added into the white list in the setting, and the related processes and services of the APP can not be automatically cleaned after the APP is added into the white list. And when the number of the processes and services which are not added into the white list reaches a set value, the processes and services which are not added into the white list run in the background, and the processes and services which are used as the objects for automatically executing the cleaning task are destroyed. The operation is simple and convenient, and the normal use of the mobile phone is not affected. The manual closing is performed without detecting background programs and services one by one. And the valve is thoroughly closed without residue.
Drawings
FIG. 1 is a flow chart of a method according to an embodiment of the invention.
Detailed Description
Example 1
According to the system optimization method for the mobile phone timing optimization background process, based on the mobile phone APP installed in advance, the APP is started by clicking the launch of the mobile phone interface, and then the APP is operated to realize the system optimization of the background process.
Example two
According to the system optimization method for the mobile phone timing optimization background process, based on the mobile phone APP installed in advance, the APP is started by clicking the launch of the mobile phone interface, and then the APP is operated to realize the system optimization of the background process.
As shown in fig. 1, the method steps are as follows:
s1, after a user enters an APP, the user is required to manually add a white list which does not need to automatically clear a process and service, and the white list is set and then stored;
s2, after the white list is successfully set, opening an automatic cleaning function;
s3, the program uses a timing module of the schedule execution SERVICE to acquire all running processes and SERVICEs through a getRening AppProcesses function in a getSystemService (context. ACTIVITY_SERVICE); finding out the surviving process and service and directly skipping in a white list set by a user; finding out a surviving process and service and adding the process and service to the set of the recontList, wherein the process and the service are not in the white list set by the user;
s4, waiting for newly started service or process to be added when the number in the recontList set does not reach 10; traversing the recentList set when the number in the recentList set reaches 10, destroying the recentList set by an am.killBackgroundProcesses (recentList. Get (i)) method, and deleting the recentList set from the recentList set after the destroying is successful until all processes and services existing in the recentList set are destroyed;
s5, repeating the above flow after the destruction is completed, so that the mobile phone is smoother when the user uses the mobile phone for a long time.
Example III
According to the system optimization method for the mobile phone timing optimization background process, based on the mobile phone APP installed in advance, the APP is started by clicking the launch of the mobile phone interface, and then the APP is operated to realize the system optimization of the background process.
As shown in fig. 1, the method steps are as follows:
s1, after a user enters an APP, the user is required to manually add a white list which does not need to automatically clear a process and service, and the white list is set and then stored;
s2, after the white list is successfully set, opening an automatic cleaning function;
s3, the program uses a timing module of the schedule execution SERVICE to acquire all running processes and SERVICEs through a getRening AppProcesses function in a getSystemService (context. ACTIVITY_SERVICE); finding out the surviving process and service and directly skipping in a white list set by a user; finding out a surviving process and service and adding the process and service to the set of the recontList, wherein the process and the service are not in the white list set by the user;
s4, waiting for newly started service or process to be added when the number in the recontList set does not reach 10; traversing the recentList set when the number in the recentList set reaches 10, destroying the recentList set by an am.killBackgroundProcesses (recentList. Get (i)) method, and deleting the recentList set from the recentList set after the destroying is successful until all processes and services existing in the recentList set are destroyed;
s5, repeating the above flow after the destruction is completed, so that the mobile phone is smoother when the user uses the mobile phone for a long time.
Further, the method for adding the white list is as follows: a. acquiring an APP which is already installed in the mobile phone by a user through a getInstahledPacks function in a PackageManage; b. displaying the scanned APP to a user in a list mode; c. the APP that needs to be added to the whitelist is actively selected by itself.
According to the method, the APP is manually entered by a user to clean, a service is customized to run in the background, the process, the service, the broadcast and the like of the running background of the APP are obtained, and the process, the service, the broadcast and the like are stored by using a set List. If the user wants a certain APP not to be added into the cleaned list, the APP can be added into the white list in the setting, and the related processes and services of the APP can not be automatically cleaned after the APP is added into the white list. And when the number of the processes and services which are not added into the white list reaches a set value, the processes and services which are not added into the white list run in the background, and the processes and services which are used as the objects for automatically executing the cleaning task are destroyed. The operation is simple and convenient, and the normal use of the mobile phone is not affected. The manual closing is performed without detecting background programs and services one by one. And the valve is thoroughly closed without residue.
The embodiments of the present invention have been described in detail with reference to the drawings, but the present invention is not limited thereto, and various changes can be made within the knowledge of those skilled in the art without departing from the spirit of the present invention.
Claims (1)
1. A system optimization method for a background process of mobile phone timing optimization is characterized in that based on a mobile phone APP installed in advance, the APP is started by clicking a launch of a mobile phone interface, and then the APP is operated to realize the system optimization of the background process;
the method comprises the following steps:
s1, after a user enters an APP, the user is required to manually add a white list which does not need to automatically clear a process and service, and the white list is set and then stored; the method for adding the white list is as follows: a. acquiring an APP which is already installed in the mobile phone by a user through a getInstahledPacks function in a PackageManage; b. displaying the scanned APP to a user in a list mode; c. the user actively selects the APP needing to be added to the white list;
s2, after the white list is successfully set, opening an automatic cleaning function;
s3, after the function is opened, the program uses a timing module of the schedule executorservice to acquire all running processes and services through a getringing appprocess function in the getSystemservice, find out the surviving processes and services which are not in a white list set by a user, and add the processes and services into a set of the recontList;
s4, traversing the number of the recontList sets when the number reaches 10, destroying the number by an am.killBackgroundProcesses method, and deleting the number from the recontList sets after the destroying is successful until all processes and services existing in the recontList sets are destroyed;
s5, repeating the above flow after the destruction is completed, so that the mobile phone is smoother when the user uses the mobile phone for a long time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211308743.6A CN115665311B (en) | 2022-10-25 | 2022-10-25 | System optimization method for mobile phone timing optimization background process |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211308743.6A CN115665311B (en) | 2022-10-25 | 2022-10-25 | System optimization method for mobile phone timing optimization background process |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115665311A CN115665311A (en) | 2023-01-31 |
CN115665311B true CN115665311B (en) | 2024-02-06 |
Family
ID=84991091
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211308743.6A Active CN115665311B (en) | 2022-10-25 | 2022-10-25 | System optimization method for mobile phone timing optimization background process |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115665311B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105824663A (en) * | 2015-12-31 | 2016-08-03 | 维沃移动通信有限公司 | Background application cleaning method and mobile terminal |
CN107203417A (en) * | 2017-05-25 | 2017-09-26 | 北京猎豹移动科技有限公司 | A kind of data clearing method, relevant apparatus and electronic equipment |
CN107729088A (en) * | 2017-10-31 | 2018-02-23 | 深圳依偎控股有限公司 | A kind of application management method and system |
CN108804207A (en) * | 2017-04-28 | 2018-11-13 | 珠海全志科技股份有限公司 | A kind of process management-control method based on android system |
KR102259760B1 (en) * | 2020-11-09 | 2021-06-02 | 여동균 | System for providing whitelist based abnormal process analysis service |
CN113312591A (en) * | 2021-05-28 | 2021-08-27 | 杭州迈冲科技有限公司 | Control method and device based on Android system application white list |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104239094B (en) * | 2014-08-29 | 2017-12-08 | 小米科技有限责任公司 | Control method, device and the terminal device of background application |
-
2022
- 2022-10-25 CN CN202211308743.6A patent/CN115665311B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105824663A (en) * | 2015-12-31 | 2016-08-03 | 维沃移动通信有限公司 | Background application cleaning method and mobile terminal |
CN108804207A (en) * | 2017-04-28 | 2018-11-13 | 珠海全志科技股份有限公司 | A kind of process management-control method based on android system |
CN107203417A (en) * | 2017-05-25 | 2017-09-26 | 北京猎豹移动科技有限公司 | A kind of data clearing method, relevant apparatus and electronic equipment |
CN107729088A (en) * | 2017-10-31 | 2018-02-23 | 深圳依偎控股有限公司 | A kind of application management method and system |
KR102259760B1 (en) * | 2020-11-09 | 2021-06-02 | 여동균 | System for providing whitelist based abnormal process analysis service |
CN113312591A (en) * | 2021-05-28 | 2021-08-27 | 杭州迈冲科技有限公司 | Control method and device based on Android system application white list |
Also Published As
Publication number | Publication date |
---|---|
CN115665311A (en) | 2023-01-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104866342A (en) | Method and device for simultaneously starting multiple same applications on intelligent terminal | |
CN104978191B (en) | Using dispositions method and service device | |
WO2010025644A1 (en) | Method and terminal for preventing interruption | |
CN105718307B (en) | Process management method and management of process device | |
JPH03504173A (en) | Workstations and data processing networks containing workstations | |
CN102831188A (en) | Promoting message setting method and terminal | |
CN104980552B (en) | Realize the method and system of Android mobile terminal automatic test | |
CN102789317A (en) | Method and device for accelerating text input | |
CN107193602A (en) | A kind of method of software upgrading, apparatus and system | |
CN104063237A (en) | Application program management system and method | |
CN101615141A (en) | A kind of method and application program scheduling module of carrying out application program scheduling | |
CN111801731B (en) | Voice control method, voice control device, and computer-executable nonvolatile storage medium | |
CN110691160A (en) | Voice control method and device and mobile phone | |
CN104021066A (en) | Mobile terminal operation information recording method, operation method and mobile terminal | |
CN103067597A (en) | Mobile terminal startup task execution method | |
CN109376015A (en) | Solution and system are blocked in log for task scheduling system | |
CN115665311B (en) | System optimization method for mobile phone timing optimization background process | |
CN102999566B (en) | Remove the method and apparatus of equipment use vestige | |
CN105975306A (en) | Application program starting management method and application program starting management apparatus for electronic device | |
CN102999565B (en) | A kind of method for cleaning of equipment use vestige and device | |
CN111723270A (en) | RPA robot searching method, device and equipment | |
CN108874475A (en) | A kind of implementation method of window background, mobile terminal and storage device | |
CN110989876B (en) | Application program adaptation method, mobile terminal and storage medium | |
CN102014185A (en) | Multipurpose automatic timing system and method for mobile communication terminal | |
CN115294979A (en) | Method, apparatus, storage medium, and voice device for reducing voice response time |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |