CN103164229A - Method and device for clearing progresses of mobile terminal - Google Patents

Method and device for clearing progresses of mobile terminal Download PDF

Info

Publication number
CN103164229A
CN103164229A CN2013101202665A CN201310120266A CN103164229A CN 103164229 A CN103164229 A CN 103164229A CN 2013101202665 A CN2013101202665 A CN 2013101202665A CN 201310120266 A CN201310120266 A CN 201310120266A CN 103164229 A CN103164229 A CN 103164229A
Authority
CN
China
Prior art keywords
screen locking
mobile terminal
white list
cleaning
backstage
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.)
Pending
Application number
CN2013101202665A
Other languages
Chinese (zh)
Inventor
李涛
颜冬
王永杨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN2013101202665A priority Critical patent/CN103164229A/en
Publication of CN103164229A publication Critical patent/CN103164229A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a method and a device for clearing progresses of a mobile terminal. The method comprises the steps of establishing a white list for the process of the mobile terminal; carrying out screen locking and monitoring service at backstage; judging whether a screen locking message is received or not, wherein if the screen locking message is received, the next step is carried out, if the screen locking message is not received, the screen locking and monitoring service is carried out continuously; reading the progress which is in running; comparing the progress with the white list and judging whether the progress belongs to the white list or whether the progress is a key progress, wherein if the progress belongs to the white list or the progress is the key progress, no processing is carried out, if the progress does not belongs to the white list or the progress is not the key progress, the progress is cleared; judging whether all progresses which is still in running are read, if all the progresses are still in running are read, the method is ended, if the all the progresses still running are not read, the name of the next progress is obtained, and the step for reading the progresses still in running is carried out again. And then automatic clearing of progresses left at the backstage of the mobile terminal is achieved, and storage space of the mobile terminal is released, and running speed of the mobile terminal is improved. In addition, the invention further provides a device for clearing the progresses of the mobile terminal.

Description

A kind of method and device of clearing up the mobile terminal process
Technical field
The present invention relates to the Computer Applied Technology field, particularly relate to a kind of method and device of clearing up the mobile terminal process.
Background technology
Along with developing rapidly of smart mobile phone, popularizing of the opening of operating system and mobile Internet, spendable software is more and more on smart mobile phone, and the software of types of functionality is numerous, have a large amount of software process in the situation that the user does not need it to continue operation, also reside in the backstage.
The software process on above-mentioned resident backstage generally comprises following two kinds of situations.
The first situation is that the characteristic due to Android system causes.The Android system can be trapped in the backstage with the process that has much withdrawed from the interface, wait for operation next time, purpose is to allow software corresponding to this process move faster next time, if but this process itself need just not to have the demand of startup again, clean out so this process and just can discharge internal memory, and can improve the travelling speed of other softwares.
The second situation be some malice or design irrational software and, also continue at running background at all in unwanted situation the user.These processes not only committed memory, affect the speed that the user uses mobile phone, even may bring the potential safety hazards such as information leakage.
In order to improve the travelling speed of mobile phone, the process that the backstage does not need to continue to move need to be cleared up.
The function that a lot of product support clean up process occurred in the market, the operating system API that they call android provides travel through out current all reside in the process on backstage, they are showed the user, and the most of processes of prompting user are done any use, whether can clear up, after the process of selecting to clear up as the user, click " a key cleaning ", software again according to user's selection one by one the call operation API of system finish process, discharge internal memory.But this process method for cleaning can only be by user's manual operation, just can reach the purpose of cleaning after clicking certain action button, makes cleaning operation not convenient.
Therefore, how to provide a kind of method and the device that can clear up the mobile terminal process, become the technical matters that needs to be resolved hurrily.
Summary of the invention
For solving the problems of the technologies described above, the invention provides a kind of method and device of clearing up the mobile terminal process, the process of avoiding withdrawing from the interface is trapped in the backstage, takies the mobile terminal internal memory, affects running of mobile terminal speed.
A kind of method of clearing up the mobile terminal process provided by the invention comprises:
For the process of mobile terminal is set up white list;
Carry out screen locking on the backstage and monitor service;
Judge whether to receive screen locking message, if enter next step; If not, continue described screen locking and monitor service;
Read the process of still moving;
Start backstage cleaning service, compare this process and white list, judge whether this process belongs to white list or whether belong to critical processes; If do not do any processing; If not, clear up this process;
Judge whether to travel through the process that all are still moving; If finish; If not, obtain the information of next process, return to the described step that reads still in the process of operation.
Preferably, before the backstage starts screen locking supervision service, carry out following steps: receive the enabled instruction of screen locking clearing function; If receive this instruction, enter the described step that screen locking monitors service of carrying out on the backstage; If not, do not enter this step.
Preferably, describedly set up white list one of in the following way or both adopt simultaneously for the process of mobile terminal:
Receive the user to the selection of the process that needs to keep after screen locking;
Automatically select important process to enter white list according to process to user's significance level.
Preferably, describedly automatically select important process to enter white list according to process to user's significance level, comprising: judge that whether this mobile terminal process is the process of maintaining system safety, if so, adds this process in white list automatically.
Preferably, described mobile terminal is operated in the Android platform; Monitor service if need to carry out on the backstage screen locking, begin as follows: call startService and open the backstage supervision; And when the enabled instruction onCreate of this service, register a call back function registerReceiver, registration Intent.ACTION_SCREEN_OFF notice in this call back function.
Preferably, if receive user's screen locking action, according to the Intent.ACTION_SCREEN_OFF notice of registering in described call back function registerReceiver, call call back function onReceiver; Create the Intent of clean up process in this call back function onReceiver, then call the specific service of startService startup process cleaning.
Preferably, travel through all still after the process of operation, show the memory amount that the process be moved to end discharges.
In addition, the present invention also provides a kind of device of clearing up the mobile terminal process, and comprising: white list is set up the unit, is used to the mobile terminal process to set up white list; Screen locking monitors service unit, is used for carrying out on the backstage screen locking and monitors service; Screen locking message sink unit is used for receiving screen locking message, and after receiving screen locking message, sends the process reading command; The process reading unit is used for receiving described process reading command, and reads according to indication certain definite process still moving; Cleaning service unit in backstage is used for clearing up the process that the backstage need to be cleared up; Comprise: comparing unit, be used for receiving that described process reading unit reads still in the information of the process of operation, judge whether this process belongs to white list or whether belong to critical processes; If do not do any processing; If not, send process cleaning instruction; Process cleaning unit receives described cleaning instruction, the process that cleaning is determined; The Ergodic judgement unit judges whether to travel through the process that all are still moving; If, the instruction of end of output process scale removal process; If not, determine by predetermined rule the process that next should read, and send to described process reading unit the process reading command that reads this process.
Preferably, further comprise screen locking clearing function start unit, be used for receiving outside input, and monitor that to screen locking service unit sends enabled instruction according to this input, described screen locking monitors service unit according to this enabled instruction, begins screen locking on the backstage and monitors service.
Preferably, described white list is set up the unit and comprised that one of following subelement or both possess simultaneously: user's selective reception unit is used for receiving the user to the selection of the process that needs to keep after screen locking; Automatic selected cell is used for automatically selecting important process to enter white list according to process to user's significance level.
Preferably, described automatic selected cell comprises: the process judging unit judges that whether this process is the process of maintaining system safety, if so, adds this process in white list automatically.
Preferably, comprise display unit, be used for the instruction of the end process scale removal process of reception Ergodic judgement unit output, after receiving this instruction, show the memory amount of the process release that is moved to end.
Method and the device of cleaning mobile terminal process provided by the invention, screen locking supervision service by running background is carried out Real Time Monitoring to screen locking message, when receiving screen locking message, to mobile terminal backstage judging in operation still, judge whether this process belongs to the process in white list or belong to critical processes, according to judged result, automatically process is carried out corresponding clear operation.The method of this cleaning mobile terminal process and device have been avoided the trouble that in the prior art, artificial manually deletion brings, and can guarantee the process that the user needs and the requisite important process of the normal operation of system is not deleted by mistake.The cleaning of the process of the mobile terminal backstage being moved due to the present invention is according to the screen locking operation start, and the number of times of effectively increase process cleaning in the actual use of mobile terminal is avoided the trapping phenomena of process; Clear up by process, method and apparatus of the present invention can discharge the mobile terminal memory headroom in real time, improves the travelling speed of mobile terminal.
Description of drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or description of the Prior Art, apparently, the accompanying drawing that the following describes is only some embodiment that put down in writing in the present invention, for those of ordinary skills, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is a kind of process flow diagram of clearing up mobile terminal process method provided by the invention;
Fig. 2 is a kind of structural unit block diagram of clearing up mobile terminal process device provided by the invention.
Embodiment
In the situation that the normal critical processes of moving of process and assurance system that the present invention is based on the assurance user to be needed is not deleted by mistake, realize the function of Automatic clearance background process, avoid the inconvenience of manually clearing up and a kind of method of clearing up the mobile terminal process that proposes.
At first the method sets up white list for the process of mobile terminal; And monitor service in backstage startup screen locking; When receiving screen locking message, read the process of still moving; Start backstage cleaning service, with this process and white list comparison, judge whether this process belongs to the white list process or whether belong to critical processes; If do not do any processing; If not, clear up this process; Afterwards, judge whether to travel through the process that all are still moving; If finish; If not, obtain the title of next process, return to the described step that reads still in the process of operation.If do not receive screen locking message, described screen locking monitors that service continues the screen locking operation is monitored.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Please refer to shown in Figure 1ly, Fig. 1 is the process flow diagram that the present invention clears up mobile terminal process method.
The method of cleaning mobile terminal process provided by the invention comprises the following steps:
S101: for the process of mobile terminal is set up white list.
S102: start screen locking on the backstage and monitor service.
S103: receive screen locking message.
S104: read the process of still moving.
S105: start backstage cleaning service.
S106: judge whether this process belongs to the white list process or belong to critical processes.
S106-1: if this process does not belong to white list, also do not belong to critical processes, this process is cleared up.
S107: if this process belongs to white list or belongs to critical processes, judge whether to travel through all still in the process of operation, execution in step S108 finishes if traversal is completed, otherwise turns back to step S104.
Mobile terminal in above-mentioned steps can be that open operating system is installed, and can load the equipment that corresponding program realizes corresponding function, such as: mobile phone, panel computer, electronic reader etc.
The below is elaborated to method of the present invention and device take mobile phone as example.
The process of mobile phone comprises in step S101: started and the consumer process of some application software of using by the user; The important process of the normal operation of assurance system; The critical processes of maintaining system safety, and some null processes.The process of the application software such as for example, game, browser, reader, player belongs to consumer process; The process of the normal operation of assurance system belongs to critical processes; The process of the maintaining system safeties such as security protection, system optimization management software belongs to important process; The null process in residing in background process still after program withdraws from such as BTE.
Above-mentioned those processes, the user can set up in the white list of process according to different demands, that is to say the process of user after can the selective retention screen locking.
White list arranges, can be according to the desirability of user to process, and the identification information of the process that selectively will keep joins in white list, for example: the process identity information of common application software can be set in white list; In addition, system can select important process identity information to join in white list according to the significance level of process automatically; Here said important process can be understood as, the process of the maintaining system safety such as security protection, system optimization management software and protection user information safety; Critical processes is the process of the normal operation of protection system.Certainly, also exist, still reside in the null process in background process after program withdraws from, those null processes need not to add in white list, can full scale clearance.By the classification to process, make when background process is cleared up, when reaching releasing memory space, can not make troubles to the user because mistake is deleted yet.Therefore, be convenient to the user to the management of cell phone system.
In step S102,, can start in the following way screen locking and monitor service at the Android platform when described operating handset: open backstage screen locking supervision by calling the startService function; And when the enabled instruction onCreate of this service, register a call back function registerReceiver for the screen locking event, and registration Intent.ACTION_SCREEN_OFF notifies in this call back function.In step S103, judge whether described screen locking Monitoring Service monitors screen locking message, if do not have, continue execution in step S102 the screen locking action is continued monitoring, if have, execution in step S104 sends the process reading command, reads certain definite process still moving.Execution in step S105 starts backstage cleaning service; Concrete, after the screen locking action occured, screen locking monitors to serve received the Intent.ACTION_SCREEN_OFF notice of registering in described call back function registerReceiver, call call back function onReceiver according to this notice; Create the Intent of clean up process in this call back function onReceiver, then call startService and start backstage cleaning service.After starting backstage cleaning service, execution in step S106, backstage cleaning service will be read the identification information that records in the identification information of process and described white list and be compared, if this process does not belong to white list or do not belong to critical processes, execution in step S106-1 clears up this process.
When reading the identification information that records in the identification information of process and described white list, this compares, when this process belongs to white list or belongs to critical processes, execution in step S107 judges whether to travel through the process that all are still moving, if not, obtain the information of next process, turn back to step S104 and continue the progress information and the described white list that obtain are compared, perhaps compare with described critical processes, process according to comparison result.
When step S106-1 does not belong to white list or does not belong to critical processes in described process identity information, cleaning for this process, can adopt following mode to realize: backstage cleaning service call operating system API travels through in all process processes of moving, when existing process identity information do not belong in white list process or do not belong to critical processes, in the situation that liquidation procedures does not obtain the root authority, use the restartPackage method in the ActivityManager system service, realize cleaning; If liquidation procedures obtains the root authority, use the method for calling reflection forceStopPackage function of ActivityManager system service, realize cleaning.
After having traveled through all processes, execution in step S108 finishes.
Based on foregoing, the present invention is the screen locking supervision service by the backstage, this operation of screen locking is monitored, and according to the screen locking message of receiving, judge whether current operation process belongs to white list or belong to critical processes, in order to the process that need not again to start is cleared up, thereby discharge the mobile phone EMS memory space, improve the mobile phone travelling speed.
The method of above-mentioned cleaning mobile terminal process before starting backstage screen locking supervision service, can further include, the enabled instruction of monitoring screen locking clearing function state, and whether this function can start the screen locking clearing function by user's requirements set.If the user starts the screen locking clearing function, backstage screen locking supervision service can be opened by calling the startService function by system; If the user does not need can not start the screen locking clearing function to the background process cleaning, corresponding screen locking Monitoring Service can not be activated yet.
Being convenient to like this user can start the screen locking Monitoring Service selectively according to own different demand, realizes the cleaning of background process.
In addition, for the ease of the understanding of user to mobile phone EMS memory capacity after clean up process, after all processes of still moving of traversal, the present invention also can show the memory amount that discharges after the process of end, the user can select whether continue to start screen locking according to the situation of internal memory Free up Memory and monitor service, more is conducive to the user to the management of mobile phone EMS memory.
Based on the method for above-mentioned cleaning mobile terminal process, the present invention also provides a kind of device of clearing up the mobile terminal process, as shown in Figure 2, comprising:
White list is set up unit 201, is used to the mobile phone process to set up white list; Described white list can according to the user to the process desirability, selectively will store white list into for the process identity information of demand; According to the significance level of process to system, that is: can maintaining system safety or the process of protection user information safety, automatically with the identification information storage of those processes in white list.Critical processes is the process of the normal operation of assurance system, and those processes are that acquiescence cannot be deleted, are defined as critical processes.
Screen locking monitors service unit 202, is used for the supervision service to this state of screen locking; Open backstage screen locking supervision service by calling the startService function.
Screen locking message sink unit 203 is used for receiving screen locking message, and after receiving screen locking message, sends the process reading command;
Process reading unit 204 is used for receiving described process reading command, and reads according to indication certain definite process still moving;
Backstage cleaning service unit 204, the process of sending according to the process reading unit starts; Comprise:
Comparing unit 205 is used for receiving that described process reading unit reads still in the title of the process of operation, and with the process title and the comparison of the process title on white list that are read, judges whether this process belongs to white list or whether belong to critical processes; If do not do any processing; If not, send the clean up process instruction;
Process cleaning unit 206 is used for the clean up process instruction according to described comparing unit output, this is determined the process that will clear up clears up;
Ergodic judgement unit 207 is used for judging whether to travel through the process that all are still moving; If, the instruction of end of output mobile phone process scale removal process; If not, determine by predetermined rule the process that next should read, and send to described process reading unit the process reading command that reads this process.
Clear up according to own demand for the ease of the user and carry out, the present invention further comprises screen locking clearing function start unit, be used for receiving outside input, and monitor that to screen locking service unit sends enabled instruction according to this input, described screen locking monitors service unit according to this enabled instruction, begins screen locking on the backstage and monitors service.
White list described in the present invention is set up the unit and is comprised that one of following subelement or both possess simultaneously:
User's selective reception unit be used for to receive the user to the selection of the process that needs to keep after screen locking;
Automatic selected cell is used for automatically selecting important process to enter white list according to process to user's significance level.Described automatic selected cell comprises: the process judging unit judges that whether this mobile phone process is the process of maintaining system safety, if so, adds this process in white list automatically.
The present invention also comprises display unit, is used for the instruction of the end mobile phone process scale removal process of reception Ergodic judgement unit output, after receiving this instruction, shows the memory amount of the process release that is moved to end.Be convenient to for better managing mobile phone system.
In addition, the present invention can also be after receiving screen locking message, starts the time of clean up process according to oneself requirements set; For example, after screen locking message occured, possible this screen lock state was only of short duration, at this moment, the speed when reusing for the ease of raising, the user does not need background process is cleared up, and therefore, the user can set the time that starts backstage cleaning service according to demand.
From the above, method and the device of cleaning mobile terminal process provided by the invention, screen locking supervision service by running background is carried out Real Time Monitoring to screen locking message, when receiving screen locking message, start backstage cleaning service function, this cleaning service first to the mobile terminal backstage still at judging of moving, judge whether this process belongs to the process in white list or belong to critical processes, according to judged result, automatically process is carried out corresponding clear operation.The method of this cleaning mobile terminal process and device have been avoided the trouble that in the prior art, artificial manually deletion brings, and can guarantee the process that the user needs and the requisite important process of the normal operation of system is not deleted by mistake.The cleaning of the process of the mobile phone backstage being moved due to the present invention is according to the screen locking operation start, and the number of times of effectively increase process cleaning in the actual use of mobile terminal is avoided the trapping phenomena of process; Clear up by process, method and apparatus of the present invention can discharge the mobile terminal memory headroom in real time, improves the travelling speed of mobile phone, has also avoided the process of some Malwares to cause the problem of information leakage.
Therefore, the present invention has realized the function of mobile terminal process Automatic clearance, and has avoided mistake to delete the trouble of bringing, and then has improved the mobile phone travelling speed, and the safety that has guaranteed user profile.
Above method and device to cleaning mobile terminal process provided by the present invention is described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications.In sum, this description should not be construed as limitation of the present invention.
The invention also discloses A1, a kind of method of clearing up the mobile terminal process, it is characterized in that, comprising:
For the process of mobile terminal is set up white list;
Carry out screen locking on the backstage and monitor service;
Judge whether to receive screen locking message, if enter next step; If not, continue described screen locking and monitor service;
Read the process of still moving;
Start backstage cleaning service, compare this process and white list, judge whether this process belongs to white list or whether belong to critical processes; If do not do any processing; If not, clear up this process;
Judge whether to travel through the process that all are still moving; If finish; If not, obtain the information of next process, return to the described step that reads still in the process of operation.
The method of A2, cleaning mobile terminal process described according to A1 is characterized in that, before the backstage starts screen locking supervision service, carries out following steps: receive the enabled instruction of screen locking clearing function; If receive this instruction, enter the described step that screen locking monitors service of carrying out on the backstage; If not, do not enter this step.
The method of A3, cleaning mobile terminal process described according to A1 is characterized in that, describedly sets up white list one of in the following way or both adopt simultaneously for the process of mobile terminal:
Receive the user to the selection of the process that needs to keep after screen locking;
Automatically select important process to enter white list according to process to user's significance level.
The method of A4, cleaning mobile terminal process described according to A3, it is characterized in that, describedly automatically select important process to enter white list according to process to user's significance level, comprise: judge whether this mobile terminal process is the process of maintaining system safety, if so, automatically this process is added in white list.
The method of A5, cleaning mobile terminal process described according to A2 is characterized in that described mobile terminal is operated in the Android platform; Monitor service if need to carry out on the backstage screen locking, begin as follows: call startService and open the backstage supervision; And when the enabled instruction onCreate of this service, register a call back function registerReceiver, registration Intent.ACTION_SCREEN_OFF notice in this call back function.
The method of A6, cleaning mobile terminal process described according to A5, it is characterized in that, if receive user's screen locking action, according to the Intent.ACTION_SCREEN_OFF notice of registering in described call back function registerReceiver, call call back function onReceiver; Create the Intent of clean up process in this call back function onReceiver, then call the specific service of startService startup process cleaning.
The method of A7, cleaning mobile terminal process described according to A1 is characterized in that, travels through all still after the process of operation, shows the memory amount that the process be moved to end discharges.
The invention also discloses B8, a kind of device of clearing up the mobile terminal process, it is characterized in that, comprising:
White list is set up the unit, is used to the mobile terminal process to set up white list;
Screen locking monitors service unit, is used for carrying out on the backstage screen locking and monitors service;
Screen locking message sink unit is used for receiving screen locking message, and after receiving screen locking message, sends process reading command and enabled instruction;
The process reading unit is used for receiving described reading command, and reads according to described reading command certain definite process still moving;
Cleaning service unit in backstage is used for clearing up the process that the backstage need to be cleared up; Comprise:
Comparing unit is used for receiving that described process reading unit reads still in the information of the process of operation, judges whether this process belongs to white list or whether belong to critical processes; If do not do any processing; If not, send process cleaning instruction;
Process cleaning unit receives described cleaning instruction, the process that cleaning is determined;
The Ergodic judgement unit judges whether to travel through the process that all are still moving; If, the instruction of end of output process scale removal process; If not, determine by predetermined rule the process that next should read, and send to described process reading unit the process reading command that reads this process.
The device of B9, cleaning mobile terminal process described according to B8, it is characterized in that, further comprise screen locking clearing function start unit, be used for receiving outside input, and monitor that to screen locking service unit sends enabled instruction according to this input, described screen locking monitors service unit according to this enabled instruction, begins screen locking on the backstage and monitors service.
The device of B10, cleaning mobile terminal process described according to B8 is characterized in that, described white list is set up the unit and comprised that one of following subelement or both possess simultaneously:
User's selective reception unit be used for to receive the user to the selection of the process that needs to keep after screen locking;
Automatic selected cell is used for automatically selecting important process to enter white list according to process to user's significance level.
The device of B11, cleaning mobile terminal process described according to B10 is characterized in that, described automatic selected cell comprises: the process judging unit judges that whether this process is the process of maintaining system safety, if so, adds this process in white list automatically.
The device of B12, cleaning mobile terminal process described according to B8, it is characterized in that, comprise display unit, be used for the instruction of the end process scale removal process of reception Ergodic judgement unit output, after receiving this instruction, show the memory amount of the process release that is moved to end.

Claims (10)

1. a method of clearing up the mobile terminal process, is characterized in that, comprising:
For the process of mobile terminal is set up white list;
Carry out screen locking on the backstage and monitor service;
Judge whether to receive screen locking message, if enter next step; If not, continue described screen locking and monitor service;
Read the process of still moving;
Start backstage cleaning service, compare this process and white list, judge whether this process belongs to white list or whether belong to critical processes; If do not do any processing; If not, clear up this process;
Judge whether to travel through the process that all are still moving; If finish; If not, obtain the information of next process, return to the described step that reads still in the process of operation.
2. the method for cleaning mobile terminal process according to claim 1, is characterized in that, before the backstage starts screen locking supervision service, carries out following steps: receive the enabled instruction of screen locking clearing function; If receive this instruction, enter the described step that screen locking monitors service of carrying out on the backstage; If not, do not enter this step.
3. the method for cleaning mobile terminal process according to claim 1, is characterized in that, describedly sets up white list one of in the following way or both adopt simultaneously for the process of mobile terminal:
Receive the user to the selection of the process that needs to keep after screen locking;
Automatically select important process to enter white list according to process to user's significance level.
4. the method for cleaning mobile terminal process according to claim 3, it is characterized in that, describedly automatically select important process to enter white list according to process to user's significance level, comprise: judge whether this mobile terminal process is the process of maintaining system safety, if so, automatically this process is added in white list.
5. the method for cleaning mobile terminal process according to claim 2, is characterized in that, described mobile terminal is operated in the Android platform; Monitor service if need to carry out on the backstage screen locking, begin as follows: call startService and open the backstage supervision; And when the enabled instruction onCreate of this service, register a call back function registerReceiver, registration Intent.ACTION_SCREEN_OFF notice in this call back function.
6. the method for cleaning mobile terminal process according to claim 5, it is characterized in that, if receive user's screen locking action, according to the Intent.ACTION_SCREEN_OFF notice of registering in described call back function registerReceiver, call call back function onReceiver; Create the Intent of clean up process in this call back function onReceiver, then call the specific service of startService startup process cleaning.
7. the method for cleaning mobile terminal process according to claim 1, is characterized in that, travels through all still after the process of operation, shows the memory amount that the process be moved to end discharges.
8. a device of clearing up the mobile terminal process, is characterized in that, comprising:
White list is set up the unit, is used to the mobile terminal process to set up white list;
Screen locking monitors service unit, is used for carrying out on the backstage screen locking and monitors service;
Screen locking message sink unit is used for receiving screen locking message, and after receiving screen locking message, sends process reading command and enabled instruction;
The process reading unit is used for receiving described reading command, and reads according to described reading command certain definite process still moving;
Cleaning service unit in backstage is used for clearing up the process that the backstage need to be cleared up; Comprise:
Comparing unit is used for receiving that described process reading unit reads still in the information of the process of operation, judges whether this process belongs to white list or whether belong to critical processes; If do not do any processing; If not, send process cleaning instruction;
Process cleaning unit receives described cleaning instruction, the process that cleaning is determined;
The Ergodic judgement unit judges whether to travel through the process that all are still moving; If, the instruction of end of output process scale removal process; If not, determine by predetermined rule the process that next should read, and send to described process reading unit the process reading command that reads this process.
9. the device of cleaning mobile terminal process according to claim 8, it is characterized in that, further comprise screen locking clearing function start unit, be used for receiving outside input, and monitor that to screen locking service unit sends enabled instruction according to this input, described screen locking monitors service unit according to this enabled instruction, begins screen locking on the backstage and monitors service.
10. the device of cleaning mobile terminal process according to claim 8, is characterized in that, described white list is set up the unit and comprised that one of following subelement or both possess simultaneously:
User's selective reception unit be used for to receive the user to the selection of the process that needs to keep after screen locking;
Automatic selected cell is used for automatically selecting important process to enter white list according to process to user's significance level.
CN2013101202665A 2013-04-08 2013-04-08 Method and device for clearing progresses of mobile terminal Pending CN103164229A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013101202665A CN103164229A (en) 2013-04-08 2013-04-08 Method and device for clearing progresses of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013101202665A CN103164229A (en) 2013-04-08 2013-04-08 Method and device for clearing progresses of mobile terminal

Publications (1)

Publication Number Publication Date
CN103164229A true CN103164229A (en) 2013-06-19

Family

ID=48587350

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013101202665A Pending CN103164229A (en) 2013-04-08 2013-04-08 Method and device for clearing progresses of mobile terminal

Country Status (1)

Country Link
CN (1) CN103164229A (en)

Cited By (40)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103345397A (en) * 2013-07-11 2013-10-09 北京奇虎科技有限公司 Method and device for cleaning processes of mobile terminal
CN103530235A (en) * 2013-10-18 2014-01-22 北京奇虎科技有限公司 Method and device for clearing internal storage in mobile terminal
CN103617129A (en) * 2013-12-10 2014-03-05 中科创达软件股份有限公司 Method and device for processing memory
CN103809980A (en) * 2014-02-24 2014-05-21 联想(北京)有限公司 Information processing method, information processing device and electronic device
CN103970596A (en) * 2014-03-17 2014-08-06 珠海市君天电子科技有限公司 Process management method and terminal
CN104142844A (en) * 2014-08-18 2014-11-12 广东欧珀移动通信有限公司 Method and device for clearing processes of mobile terminal
CN104239094A (en) * 2014-08-29 2014-12-24 小米科技有限责任公司 Method and device for controlling background application programs and terminal equipment
CN104298549A (en) * 2014-09-30 2015-01-21 北京金山安全软件有限公司 Method and device for cleaning application programs in mobile terminal and mobile terminal
CN104317740A (en) * 2014-11-13 2015-01-28 北京奇虎科技有限公司 Method and device for cleaning cache directory/document based on sandbox technology
CN104375896A (en) * 2013-08-16 2015-02-25 联想(北京)有限公司 Information processing method and electronic equipment
CN104484224A (en) * 2014-12-18 2015-04-01 北京奇虎科技有限公司 Server process control method, device and system
CN104486510A (en) * 2014-12-16 2015-04-01 上海斐讯数据通信技术有限公司 Method for reducing power consumption of intelligent terminal, and system for reducing power consumption of intelligent terminal
CN104573420A (en) * 2014-12-26 2015-04-29 北京奇虎科技有限公司 Method and device for preventing processes from being mistakenly killed
CN104657249A (en) * 2013-11-15 2015-05-27 计渝 Intelligent terminal monitoring method and related apparatus
CN104778031A (en) * 2014-01-09 2015-07-15 腾讯科技(深圳)有限公司 Method and device for closing processes
CN104820545A (en) * 2015-04-30 2015-08-05 北京奇虎科技有限公司 Memory cleaning method and memory cleaning device of mobile terminal
WO2015120702A1 (en) * 2014-02-14 2015-08-20 可牛网络技术(北京)有限公司 Method, device, and mobile terminal for cleaning up application process
CN105138396A (en) * 2015-08-24 2015-12-09 山东超越数控电子有限公司 Memory optimization system based on Android system
CN105224335A (en) * 2015-10-22 2016-01-06 上海斐讯数据通信技术有限公司 A kind of control method of Automatic clearance terminal device, system and terminal device
CN105373485A (en) * 2014-09-01 2016-03-02 富泰华工业(深圳)有限公司 Memory cleaning system and method and terminal device
CN105630133A (en) * 2015-12-24 2016-06-01 北京奇虎科技有限公司 Processing method and device of application
CN105760229A (en) * 2016-02-15 2016-07-13 广东欧珀移动通信有限公司 Method and device for cleaning backstage running programs and mobile terminal
CN105791534A (en) * 2016-01-05 2016-07-20 珠海格力电器股份有限公司 Automatic mobile phone garbage clearing method and device and communication terminal
CN105975316A (en) * 2016-05-18 2016-09-28 广东欧珀移动通信有限公司 Process management method and device and equipment
CN105979095A (en) * 2016-06-27 2016-09-28 努比亚技术有限公司 Mobile terminal and application power consumption control method
CN106022108A (en) * 2016-05-17 2016-10-12 广东欧珀移动通信有限公司 Synchronous management method and terminal device
CN106055347A (en) * 2016-05-18 2016-10-26 广东欧珀移动通信有限公司 Method, device and equipment for synchronization service management
CN106125884A (en) * 2016-06-16 2016-11-16 维沃移动通信有限公司 The processing method of the background task of a kind of mobile terminal and mobile terminal
CN106201684A (en) * 2016-06-30 2016-12-07 宇龙计算机通信科技(深圳)有限公司 A kind of method managing application and terminal
CN106648704A (en) * 2017-01-05 2017-05-10 广东欧珀移动通信有限公司 Process management method and device and mobile terminal
CN106844026A (en) * 2017-01-03 2017-06-13 惠州Tcl移动通信有限公司 A kind of method and system for clearing up terminal device process
CN106933633A (en) * 2017-03-14 2017-07-07 北京奇虎科技有限公司 Right management method, device and mobile terminal
CN107220093A (en) * 2017-06-20 2017-09-29 北京金山安全软件有限公司 Process processing method and device
CN107741864A (en) * 2017-09-20 2018-02-27 维沃移动通信有限公司 The progress control method and mobile terminal of a kind of application program
CN108108240A (en) * 2018-01-03 2018-06-01 广东欧珀移动通信有限公司 Process management method, management of process device and mobile terminal
CN108196901A (en) * 2017-12-25 2018-06-22 山东浪潮通软信息科技有限公司 The loading method and device of camera in a kind of browser
CN109254848A (en) * 2018-08-22 2019-01-22 奇酷互联网络科技(深圳)有限公司 Mobile terminal and mobile terminal releasing memory method, apparatus and storage device
CN110321224A (en) * 2019-07-04 2019-10-11 深圳市康冠技术有限公司 Terminal memory method for cleaning, device and computer readable storage medium
CN110806926A (en) * 2019-09-05 2020-02-18 华为技术有限公司 Resource control method and equipment
US11474831B2 (en) 2016-10-20 2022-10-18 Huawei Technologies Co., Ltd. Application startup control method and control device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120084728A1 (en) * 2010-10-05 2012-04-05 Wen-Liang Huang Button control system for medical touch screen and method thereof
CN102768615A (en) * 2012-06-26 2012-11-07 北京奇虎科技有限公司 Method and device for clearing up operation system resources of electronic equipment
CN102981878A (en) * 2012-11-28 2013-03-20 广东欧珀移动通信有限公司 Method for automatically closing background programs and mobile terminal of automatically closing background programs
CN103019777A (en) * 2012-11-28 2013-04-03 广东欧珀移动通信有限公司 Method and system for automatically cleaning background applications of mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120084728A1 (en) * 2010-10-05 2012-04-05 Wen-Liang Huang Button control system for medical touch screen and method thereof
CN102768615A (en) * 2012-06-26 2012-11-07 北京奇虎科技有限公司 Method and device for clearing up operation system resources of electronic equipment
CN102981878A (en) * 2012-11-28 2013-03-20 广东欧珀移动通信有限公司 Method for automatically closing background programs and mobile terminal of automatically closing background programs
CN103019777A (en) * 2012-11-28 2013-04-03 广东欧珀移动通信有限公司 Method and system for automatically cleaning background applications of mobile terminal

Cited By (56)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103345397A (en) * 2013-07-11 2013-10-09 北京奇虎科技有限公司 Method and device for cleaning processes of mobile terminal
CN104375896A (en) * 2013-08-16 2015-02-25 联想(北京)有限公司 Information processing method and electronic equipment
CN104375896B (en) * 2013-08-16 2019-09-06 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN103530235A (en) * 2013-10-18 2014-01-22 北京奇虎科技有限公司 Method and device for clearing internal storage in mobile terminal
CN103530235B (en) * 2013-10-18 2017-04-12 北京奇虎科技有限公司 Method and device for clearing internal storage in mobile terminal
CN104657249A (en) * 2013-11-15 2015-05-27 计渝 Intelligent terminal monitoring method and related apparatus
CN103617129A (en) * 2013-12-10 2014-03-05 中科创达软件股份有限公司 Method and device for processing memory
CN103617129B (en) * 2013-12-10 2017-10-24 中科创达软件股份有限公司 A kind of method and device of internal memory processing
CN104778031A (en) * 2014-01-09 2015-07-15 腾讯科技(深圳)有限公司 Method and device for closing processes
US10102034B2 (en) 2014-02-14 2018-10-16 Conew Network Technology Co. Ltd. Method for clearing application process, and mobile terminal
WO2015120702A1 (en) * 2014-02-14 2015-08-20 可牛网络技术(北京)有限公司 Method, device, and mobile terminal for cleaning up application process
CN103809980B (en) * 2014-02-24 2017-04-19 联想(北京)有限公司 Information processing method, information processing device and electronic device
CN103809980A (en) * 2014-02-24 2014-05-21 联想(北京)有限公司 Information processing method, information processing device and electronic device
CN103970596B (en) * 2014-03-17 2017-08-04 珠海市君天电子科技有限公司 A kind of process management method and terminal
CN103970596A (en) * 2014-03-17 2014-08-06 珠海市君天电子科技有限公司 Process management method and terminal
CN104142844B (en) * 2014-08-18 2017-09-26 广东欧珀移动通信有限公司 A kind of method and device for clearing up mobile terminal process
CN104142844A (en) * 2014-08-18 2014-11-12 广东欧珀移动通信有限公司 Method and device for clearing processes of mobile terminal
CN104239094A (en) * 2014-08-29 2014-12-24 小米科技有限责任公司 Method and device for controlling background application programs and terminal equipment
CN104239094B (en) * 2014-08-29 2017-12-08 小米科技有限责任公司 Control method, device and the terminal device of background application
CN105373485A (en) * 2014-09-01 2016-03-02 富泰华工业(深圳)有限公司 Memory cleaning system and method and terminal device
CN104298549A (en) * 2014-09-30 2015-01-21 北京金山安全软件有限公司 Method and device for cleaning application programs in mobile terminal and mobile terminal
CN104298549B (en) * 2014-09-30 2018-03-30 北京金山安全软件有限公司 Method and device for cleaning application programs in mobile terminal and mobile terminal
CN104317740B (en) * 2014-11-13 2017-07-07 北京奇虎科技有限公司 The method for cleaning and device of the CACHE DIRECTORY/file based on sandbox technology
CN104317740A (en) * 2014-11-13 2015-01-28 北京奇虎科技有限公司 Method and device for cleaning cache directory/document based on sandbox technology
CN104486510A (en) * 2014-12-16 2015-04-01 上海斐讯数据通信技术有限公司 Method for reducing power consumption of intelligent terminal, and system for reducing power consumption of intelligent terminal
CN104484224A (en) * 2014-12-18 2015-04-01 北京奇虎科技有限公司 Server process control method, device and system
CN104573420B (en) * 2014-12-26 2017-04-05 北京奇虎科技有限公司 Prevent the method and apparatus manslaughtered by process
CN104573420A (en) * 2014-12-26 2015-04-29 北京奇虎科技有限公司 Method and device for preventing processes from being mistakenly killed
CN104820545A (en) * 2015-04-30 2015-08-05 北京奇虎科技有限公司 Memory cleaning method and memory cleaning device of mobile terminal
CN105138396A (en) * 2015-08-24 2015-12-09 山东超越数控电子有限公司 Memory optimization system based on Android system
CN105224335A (en) * 2015-10-22 2016-01-06 上海斐讯数据通信技术有限公司 A kind of control method of Automatic clearance terminal device, system and terminal device
CN105224335B (en) * 2015-10-22 2018-06-29 上海斐讯数据通信技术有限公司 A kind of control method, system and the terminal device of automatic cleaning terminal device
CN105630133A (en) * 2015-12-24 2016-06-01 北京奇虎科技有限公司 Processing method and device of application
CN105791534B (en) * 2016-01-05 2021-01-08 珠海格力电器股份有限公司 Automatic cleaning method and device for mobile phone garbage and communication terminal
CN105791534A (en) * 2016-01-05 2016-07-20 珠海格力电器股份有限公司 Automatic mobile phone garbage clearing method and device and communication terminal
CN105760229A (en) * 2016-02-15 2016-07-13 广东欧珀移动通信有限公司 Method and device for cleaning backstage running programs and mobile terminal
CN106022108A (en) * 2016-05-17 2016-10-12 广东欧珀移动通信有限公司 Synchronous management method and terminal device
CN105975316A (en) * 2016-05-18 2016-09-28 广东欧珀移动通信有限公司 Process management method and device and equipment
CN106055347A (en) * 2016-05-18 2016-10-26 广东欧珀移动通信有限公司 Method, device and equipment for synchronization service management
CN106125884A (en) * 2016-06-16 2016-11-16 维沃移动通信有限公司 The processing method of the background task of a kind of mobile terminal and mobile terminal
CN106125884B (en) * 2016-06-16 2019-05-17 维沃移动通信有限公司 A kind of processing method and mobile terminal of the background task of mobile terminal
CN105979095A (en) * 2016-06-27 2016-09-28 努比亚技术有限公司 Mobile terminal and application power consumption control method
CN106201684A (en) * 2016-06-30 2016-12-07 宇龙计算机通信科技(深圳)有限公司 A kind of method managing application and terminal
US11474831B2 (en) 2016-10-20 2022-10-18 Huawei Technologies Co., Ltd. Application startup control method and control device
CN106844026A (en) * 2017-01-03 2017-06-13 惠州Tcl移动通信有限公司 A kind of method and system for clearing up terminal device process
CN106844026B (en) * 2017-01-03 2021-10-22 惠州Tcl移动通信有限公司 Method and system for cleaning terminal equipment process
CN106648704A (en) * 2017-01-05 2017-05-10 广东欧珀移动通信有限公司 Process management method and device and mobile terminal
CN106933633A (en) * 2017-03-14 2017-07-07 北京奇虎科技有限公司 Right management method, device and mobile terminal
CN107220093A (en) * 2017-06-20 2017-09-29 北京金山安全软件有限公司 Process processing method and device
CN107741864A (en) * 2017-09-20 2018-02-27 维沃移动通信有限公司 The progress control method and mobile terminal of a kind of application program
CN108196901A (en) * 2017-12-25 2018-06-22 山东浪潮通软信息科技有限公司 The loading method and device of camera in a kind of browser
CN108108240A (en) * 2018-01-03 2018-06-01 广东欧珀移动通信有限公司 Process management method, management of process device and mobile terminal
CN109254848A (en) * 2018-08-22 2019-01-22 奇酷互联网络科技(深圳)有限公司 Mobile terminal and mobile terminal releasing memory method, apparatus and storage device
CN110321224A (en) * 2019-07-04 2019-10-11 深圳市康冠技术有限公司 Terminal memory method for cleaning, device and computer readable storage medium
CN110321224B (en) * 2019-07-04 2022-05-24 深圳市康冠科技股份有限公司 Terminal memory cleaning method and device and computer readable storage medium
CN110806926A (en) * 2019-09-05 2020-02-18 华为技术有限公司 Resource control method and equipment

Similar Documents

Publication Publication Date Title
CN103164229A (en) Method and device for clearing progresses of mobile terminal
CN102779255B (en) Method and device for judging malicious program
CN102347941B (en) A kind of safety applications control method based on open platform
CN102236764B (en) Method and monitoring system for Android system to defend against desktop information attack
CN106096425A (en) System permission starting method, device and equipment
CN105677477A (en) Method and device for optimizing application program resources and electronic equipment
CN103902399B (en) Software system repair processing method and software system repair processing device
CN104503828A (en) Process management method and terminal
CN104199691B (en) A kind of method and terminal of the start self-starting APK based on Android platform
CN102426639B (en) Information safety monitoring method and device
CN103699420A (en) System recovery method and system recovery device
CN102542189B (en) A kind of method of certification, device and electronic equipment
CN105224421B (en) Data backup method and device and electronic equipment
CN103559055A (en) Activity starting method and device applied to Android platform
CN103313427A (en) Method and device for starting data network of mobile terminal and mobile terminal
CN104572394A (en) Process monitoring method and device
CN103595851A (en) Personal-information leakage-proof method for mobile terminal and mobile terminal
CN106022108A (en) Synchronous management method and terminal device
CN105550041A (en) Mobile terminal control method and device
CN103257893B (en) A kind of methods, devices and systems obtaining input state-event
CN106776908A (en) Data clearing method, device and terminal
CN106406747A (en) Hard disk storage management method and apparatus for mobile terminal
CN104102498A (en) Mobile terminal and booting method thereof
CN105447384B (en) A kind of anti-method monitored, system and mobile terminal
CN111221586A (en) Privacy cleaning method for application program, readable storage medium and terminal equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130619