CN106844026A - A kind of method and system for clearing up terminal device process - Google Patents
A kind of method and system for clearing up terminal device process Download PDFInfo
- Publication number
- CN106844026A CN106844026A CN201710001076.XA CN201710001076A CN106844026A CN 106844026 A CN106844026 A CN 106844026A CN 201710001076 A CN201710001076 A CN 201710001076A CN 106844026 A CN106844026 A CN 106844026A
- Authority
- CN
- China
- Prior art keywords
- application
- list
- cleaning
- terminal device
- control instruction
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 163
- 230000008569 process Effects 0.000 title claims abstract description 131
- 238000004140 cleaning Methods 0.000 claims abstract description 128
- 102000006479 Heterogeneous-Nuclear Ribonucleoproteins Human genes 0.000 claims description 12
- 108010019372 Heterogeneous-Nuclear Ribonucleoproteins Proteins 0.000 claims description 12
- 108010001267 Protein Subunits Proteins 0.000 claims description 3
- 238000007689 inspection Methods 0.000 claims 2
- 230000004044 response Effects 0.000 abstract description 3
- 230000000694 effects Effects 0.000 description 7
- 230000009471 action Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000013459 approach Methods 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000011514 reflex Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/485—Task life-cycle, e.g. stopping, restarting, resuming execution
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
- G06F9/505—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the load
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of method and system for clearing up terminal device process, methods described includes:When the control instruction of cleaning application is received, all processes of end of scan equipment running background are forming process list;Determined to need the cleaning list of cleaning application according to the process list, and judge the application in the cleaning list whether by limitation self-starting respectively;When by limitation self-starting, clear up all background process of association and be set to the application to limit self-starting.The present invention determines to need the application list of cleaning by the scanning to background process, and corresponding cleaning operation is carried out by limitation self-starting situation according to the application, can be cleared up with the simple and quick application to terminal device, improve running of mobile terminal performance and response speed, increase mobile terminal endurance, it is to avoid backstage is escaped flow.
Description
Technical field
The present invention relates to intelligent terminal technical field, more particularly to a kind of method and system for clearing up terminal device process.
Background technology
As the fast development of electronic technology and the extensive popularization of intelligent terminal are used, the performance of intelligent terminal is more next
Higher, internal memory is also increasing, then more and more for the third party software installed.But third party software due to it commercially
Purpose, row constraint is not entered using itself behavior according to system specifications, and such third party software understands long-term surviving in system mostly
Backstage, so meeting strong influence intelligent terminal performance and intelligent terminal cruising time, and Intelligent terminal data flow also can
Stealthily used by backstage.Various intelligent terminal application method for cleaning generally existings defect set forth below on existing market:First, scan
Backstage can liquidation procedures when, it is necessary to user voluntarily confirm clear up object, it is cumbersome;2nd, cleanup action is not thorough, and part is residual
Process is stayed still to reside backstage;3rd, the application being cleaned can not be preferably limited after the completion of clearing up, certain applications can voluntarily start
And resident backstage;4th, need to change bottom code, maintenance cost is high, it is portable poor;5th, when system load is excessive, will not
Active warning user accelerate motion.
Thus prior art could be improved and improve.
The content of the invention
The invention aims to provide a kind of method and system for clearing up terminal device process, can be with simple and quick right
The application of terminal device is cleared up, and is improved running of mobile terminal performance and response speed, is increased mobile terminal endurance, is kept away
Exempt from backstage to escape flow.
To achieve these goals, the technical solution adopted in the present invention is as follows:
A kind of method for clearing up terminal device process, it includes:
When the control instruction of cleaning application is received, all processes of end of scan equipment running background are arranged with forming process
Table;
Determined to need the cleaning list of cleaning application according to the process list, and judge the application in the cleaning list respectively
Whether by limitation self-starting;
When by limitation self-starting, clear up all background process of association and be set to the application to limit self-starting.
The method of the cleaning terminal device process, wherein, the control instruction includes:System load is detected more than pre-
If threshold value and produce control instruction, actively the control instruction and terminal device of triggering are in and go out screen state to receive user
The control instruction that duration is produced more than preset duration.
The method of the cleaning terminal device process, wherein, described when the control instruction of cleaning application is received, scanning
All processes of terminal device running background are formed and specifically included with process list:
When the control instruction of cleaning application is received, the progress information of terminal device running background is obtained by AMS;
The corresponding package informatin of each process and its association process information are obtained to form process list by PMS.
The method of the cleaning terminal device process, wherein, it is described to be determined to need cleaning application according to the process list
Cleaning list, and judge respectively it is described cleaning list in application whether specifically included by limitation self-starting:
Its corresponding the application list is determined according to the process list, and described the application list is white with default application
List is contrasted to obtain pre-cleaning list;
The statistics that each application is used in pre-cleaning list is obtained, and it is true to combine the priority information of the application program
Surely the cleaning list that need to be cleared up.
The method of the cleaning terminal device process, wherein, it is described to obtain what each application in pre-cleaning list was used
Statistics, and priority information with reference to the application program determines that the cleaning list that need to clear up is specifically included:
Priority according to each application program, resident notify and whether audio judges the application in use state;
When the application is in unused state, the statistics that each application is used in pre-cleaning list is obtained;
By the statistics and priority of application with it is default can not the condition of clearing up be compared to determine the cleaning name that need to clear up
It is single.
A kind of system for clearing up terminal device process, it includes:
Scan module, for when receive cleaning application control instruction when, scan running background all processes with formed into
Cheng Liebiao;
Judge module, for determining to need the cleaning list of cleaning application according to the process list, and judges described clear respectively
Whether the application in reason list is by limitation self-starting;
Cleaning modul, for when by limitation self-starting, all background process of cleaning association simultaneously to be set the application
It is limitation self-starting.
The system of the cleaning terminal device process, wherein, the control instruction includes:System load is detected more than pre-
If threshold value and produce control instruction, actively the control instruction and terminal device of triggering are in and go out screen state to receive user
The control instruction that duration is produced more than preset duration.
The system of the cleaning terminal device process, wherein, the scan module is specifically included:
Acquiring unit, for when the control instruction of cleaning application is received, entering for terminal device running background being obtained by AMS
Journey information;
Unit is formed, for obtaining the corresponding package informatin of each process and its association process information to form process by PMS
List.
The system of the cleaning terminal device process, wherein, the judge module is specifically included:
Comparison unit, for determining its corresponding the application list according to the process list, and by the Application Column
Table is contrasted to obtain pre-cleaning list with default application white list;
Determining unit, for obtaining the statistics that each application is used in pre-cleaning list, and combines the application program
Priority information determine the cleaning list that need to clear up.
The system of the cleaning terminal device process, wherein, the determining unit is specifically included:
Judgment sub-unit, judging the application for the priority according to each application program, resident notice and audio is
It is no in use state;
Subelement is obtained, is made for when the application is in unused state, obtaining each application in pre-cleaning list
Statistics;
Determination subelement, for by the statistics and priority of application with it is default can not the condition of clearing up be compared to determine
The cleaning list that need to be cleared up.
Beneficial effect:Compared with prior art, the invention provides a kind of method and system for clearing up terminal device process,
Methods described includes:When the control instruction of cleaning application is received, all processes of end of scan equipment running background are with shape
Into process list;Determined to need the cleaning list of cleaning application according to the process list, and judge the cleaning list respectively
Whether interior application is by limitation self-starting;When by limitation self-starting, all background process of association are cleared up and by described in
Using be set to limit self-starting.The application list that the present invention determines to need to clear up by the scanning to background process, and according to
The application carries out corresponding cleaning operation by limitation self-starting situation, can be entered with the simple and quick application to terminal device
Row cleaning, improves running of mobile terminal performance and response speed, increases mobile terminal endurance, it is to avoid backstage is escaped flow.
Brief description of the drawings
The flow chart that the method for the cleaning terminal device process that Fig. 1 is provided for the present invention is preferably implemented.
Fig. 2 for the present invention provides clear up terminal device process method in limit application self-starting flow chart.
Fig. 3 for the present invention provides clear up terminal device process method in set application self-starting flow chart.
The structure principle chart of the system of the cleaning terminal device process that Fig. 4 is provided for the present invention.
Specific embodiment
The present invention provides a kind of method and system for clearing up terminal device process, to make the purpose of the present invention, technical scheme
And effect is clearer, clear and definite, the present invention is described in more detail for the embodiment that develops simultaneously referring to the drawings.It should be appreciated that this
The described specific embodiment in place is only used to explain the present invention, is not intended to limit the present invention.
In the present invention, using the suffix of such as " module ", " part " or " unit " for representing element only for favourable
In explanation of the invention, itself do not have specific meaning.Therefore, " module ", " part " or " unit " can mixedly make
With.
Terminal device can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving
Phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP
The mobile terminal of (portable media player), guider etc. and such as numeral TV, desktop computer etc. are consolidated
Determine terminal.However, it will be understood by those skilled in the art that, in addition to the element for being used in particular for moving purpose, according to this hair
The construction of bright implementation method can also apply to the terminal of fixed type.
Below in conjunction with the accompanying drawings, by the description to embodiment, the content of the invention is described further.
Refer to Fig. 1, the flow of the preferred embodiment of the method for the cleaning terminal device process that Fig. 1 is provided for the present invention
Figure.Methods described includes:
S100, when the control instruction of cleaning application is received, all processes of end of scan equipment running background with formed into
Cheng Liebiao.
Specifically, the control instruction refers to being carried out for control terminal equipment the instruction of application program cleaning.It is described
Control instruction can detect system load more than predetermined threshold value and produce control instruction, receive user actively trigger
Control instruction and terminal device are in the control instruction that the duration of screen state of going out is produced more than preset duration.In practical application
In, the terminal device inspects periodically the loading condition of system, if it find that when load is more than predetermined threshold value, ejection bubble is reminded
User carries out system acceleration, and monitoring users to the operational order of the bubble;When the operational order is to accelerate, terminal sets
The standby operation carried out using cleaning.So allow that user realizes that a key accelerates.Meanwhile, the terminal device can also be monitored and gone out
Screen instruction, starts the timer for being pre-configured with preset duration after receiving and going out screen instruction, when the timer expired, starts
Using cleaning operation.So can preferably improve the electric quantity consumption under long-time ideal case.Certainly, user can also be manual
Start the application cleaning, that is to say, that the terminal device can preset the control interface for setting an application clearing function,
User controls the application clearing function to open by the control interface.
In the present embodiment, after the control instruction for receiving cleaning application, obtain what terminal device backstage was currently running
All progress informations.And after all progress informations are got, then each is obtained respectively carry out corresponding package informatin and phase
Association process.Due to the unique mark of the entitled application program of bag, so that the package informatin can be bag name.So according to institute
Stating bag name can determine the corresponding application program of the process, and then form application according to the package informatin and associated process
Program listing.Application program and relative all processes are included in described the application list, and both associations are deposited
Storage.
It is exemplary, it is described when the control instruction of cleaning application is received, end of scan equipment running background it is all
Process can specifically be included with forming process list:
S101, when receive cleaning application control instruction when, by AMS obtain terminal device running background progress information;
S102, the corresponding package informatin of each process and its association process information are obtained by PMS to form process list.
Specifically, the AMS(Activity Manager Service)It is Android system service, Activity pipes
The service end of reason, the various actions for managing activity control the life cycle of activity, distribute message event, low
Memory management etc..The PMS(Package Manager Service, bag management service)It operates in SystemServer
It is Android system service in process, is mainly used in realizing that the functions such as unloading, component match query, rights management are installed in application.
S200, the cleaning list for determining to need cleaning to apply according to the process list, and the cleaning name is judged respectively
Whether the application in list is by limitation self-starting.
Specifically, the cleaning list is the list of the application for needing cleaning, and the cleaning refers to terminating the application
All associated process.Because the processes for having some key applications in terminal device cannot be cleared up, for example, desktop, defeated
Enter method etc..It is described to enter when row-column list determines cleaning list to need to carry out the process list with default white list according to
Compare, the application that the process list overlaps with white list is deleted to determine pre-cleaning list.In to pre-cleaning list
The priority of application is judged to determine to clear up list.
Exemplary, it is described to be determined to need the cleaning list of cleaning application according to the process list, and institute is judged respectively
Whether the application stated in cleaning list is specifically included by limitation self-starting:
S201, its corresponding the application list is determined according to the process list, and by described the application list with it is default
Contrasted to obtain pre-cleaning list using white list;
The statistics that each application is used in S202, acquisition pre-cleaning list, and combine the priority of the application program
Information determines the cleaning list that need to be cleared up.
Specifically, in the step S201, according to the corresponding package informatin of each process in the process list with
And the information of associated process determines its corresponding application program and the related process of the application program, and then journey is applied in formation
Sequence table.After the application list is formed, by the package informatin of the application program in the application list and white list planted agent
Package informatin is compared respectively, excludes the application program in the white list included in described the application list.It is described white
List pre-builds that it includes the necessary application of system operation, while also including the application program that user adds manually.
It is described to obtain the acquisition that the statistics that each application is used in pre-cleaning list refers in the step S202
Each applies the number of times for being used and the time for being used every time in pre-cleaning list.Afterwards according to the statistical number for being used
According to determining with the information such as the priority of application program to need the cleaning list of cleaning.
Exemplary, it is described to obtain the statistics that each application is used in pre-cleaning list, and combine the application
The priority information of program determines that the cleaning list that need to be cleared up is specifically included:
S2021, the priority according to each application program, resident notify and whether audio judges the application in using
State;
S2022, when the application is in unused state, obtain the statistical number that each application is used in pre-cleaning list
According to;
S2023, by the statistics and priority of application with it is default can not the condition of clearing up be compared to determine what need to be cleared up
Cleaning list.
Specifically, in the step S2021, the priority of each application can be by Activity
The Running App Process Info information of Manager understands process priority, and the priority is divided into two classes, one
Class is the priority carried out higher than front stage operation, the priority for being no greater than front stage operation;Whether the application is obtained again
In the presence of the notice of resident informing, it specifically can be by the get Active of Notification Listener Service
Notifications methods obtain active notice, then determine whether resident informing by Notification.flags;
Then, it is determined that using whether audio is used, it can use the hiding API of Audio Manager(By reflex mechanism),
IsAppInFocus is used to judge whether an application is currently in use audio, incoming bag name;Whether finally judge to apply has
Binding desktop widgets, it can use the hiding API of App Widget Manager(By reflex mechanism),
IsBoundWidgetPackage is used to judge whether an application has bound widgets on the table.
After above- mentioned information is obtained, whether the application is judged in use state according to above- mentioned information, when the application
During in use state, giving tacit consent to the application can not clear up;When the application is in use state, the application is can be clear
Reason.It is described to judge using whether being in use the condition of state and include:1)Process priority is more than the visible process in foreground, 2)Tool
There are non-removable notice, 3)It is currently in use audio, 4)Detected application has bound widgets on the table.
In the step S2022, described acquisition can be by Usage Stats using the statistics for being used
What Service was obtained(Standard interface queryUsage-Stats).
In the step S2023, it is described can not the condition of clearing up can be according to process priority in two kinds of situation:1)Process
Priority is visible more than or equal to foreground, applies just being installed within past two days or was used or mistake within 1 hour
The number of times used in two days is removed more than 5 times;2)Process priority less than foreground it is visible, apply it is just being installed within past two days,
Or used within half an hour or pass by the number of times used in 24 hours more than 5 times.
By in the pre-cleaning list each application with it is described can not the condition of clearing up contrasted, screen it and include not
Deletable application, and then form cleaning list.
S300, when by limitation self-starting, clear up association all background process simultaneously by the application set be limited
Self-starting processed.
Specifically, it is determined that after the determination cleaning list, whether each application is limited during the bright list of English is judged successively
Self-starting;When by limitation self-starting, clear up all background process of association and the application is set to limitation and open certainly
It is dynamic.In actual applications, the cleaning background application can use the hiding API of Activity-Manager,
KillBackgroundProcesses and forceStop Package, and then ensure that all background process of association can
Enough it is cleaned.
After background process has been cleared up, the action for limiting self-starting application again is performed(Limited in list for clearing up
Made the application of self-starting).What limitation self-starting and the mutual mode for starting were taken is the form of disabling component.As shown in Fig. 2 institute
State limitation self-starting approach specifically can mutually be opened by limiting the static broadcast component (Receivier) of application is realized, limitation
Dynamic behavior is the serviced component (Service) and content provider (Provider) realization by limiting application.Can lead to first
The method for crossing the getPackageInfo of PackageManager obtains application component information, then sets static broadcast component
(Receivier) it is Disable states, now application self-starting approach will be to limitation;Serviced component (Service) and interior is set
It is Disable states to hold supplier (Provider), and now application mutually starts approach also will be to limitation.Certainly, the application is
Not by limitation self-starting, then all background process of association are only cleared up.
Further, it is necessary to automatically terminate startup limitation when user starts application after application is by limitation self-starting.
It is actively to click on the desktop application icon in user to release application program launching limitation, and only such case just allows it to start.
As shown in figure 3, the process for automatically terminating startup limitation can be that the process switching for using AMS is monitored
ProcessObserver and keyword is intercepted by input-output system;It is described crucial for am_create_
Activity or am_proc_start represent one process of startup, are that android.intent.action.MAIN is represented and opened
Dynamic is that desktop starts, or when process switching to foreground and the visible state PROCESS_STATE_TOP of user, this is answered
With the component of program(Receivier/ Service/Provider)All lift a ban, and send application state information change
Broadcast ACTION_PACKAGE_CHANGED.
Present invention also offers a kind of system for clearing up terminal device process, as shown in figure 4, it includes:
Scan module 100, for when the control instruction of cleaning application is received, scanning all processes of running background to be formed
Process list;
Judge module 200, for being determined to need the cleaning list of cleaning application according to the process list, and judges described respectively
Whether the application in cleaning list is by limitation self-starting;
Cleaning modul 300, for when by limitation self-starting, clearing up all background process of association and setting the application
It is set to limitation self-starting.
The system of the cleaning terminal device process, wherein, the control instruction includes:System load is detected more than pre-
If threshold value and produce control instruction, actively the control instruction and terminal device of triggering are in and go out screen state to receive user
The control instruction that duration is produced more than preset duration.
The system of the cleaning terminal device process, wherein, the scan module is specifically included:
Acquiring unit, for when the control instruction of cleaning application is received, entering for terminal device running background being obtained by AMS
Journey information;
Unit is formed, for obtaining the corresponding package informatin of each process and its association process information to form process by PMS
List.
The system of the cleaning terminal device process, wherein, the judge module is specifically included:
Comparison unit, for determining its corresponding the application list according to the process list, and by the Application Column
Table is contrasted to obtain pre-cleaning list with default application white list;
Determining unit, for obtaining the statistics that each application is used in pre-cleaning list, and combines the application program
Priority information determine the cleaning list that need to clear up.
The system of the cleaning terminal device process, wherein, the determining unit is specifically included:
Judgment sub-unit, judging the application for the priority according to each application program, resident notice and audio is
It is no in use state;
Subelement is obtained, is made for when the application is in unused state, obtaining each application in pre-cleaning list
Statistics;
Determination subelement, for by the statistics and priority of application with it is default can not the condition of clearing up be compared to determine
The cleaning list that need to be cleared up.
The modules of the system of above-mentioned cleaning terminal device process have been described in detail in the above-mentioned methods, herein
No longer state one by one.
In embodiment provided by the present invention, it should be understood that disclosed system and method, can be by other
Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the module, is only
A kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or
Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual
Between coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of device or unit by some interfaces
Connect, can be electrical, mechanical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be according to the actual needs selected to realize the mesh of this embodiment scheme
's.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list
Unit can both be realized in the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit to realize.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can store and be deposited in an embodied on computer readable
In storage media.Above-mentioned SFU software functional unit storage is in a storage medium, including some instructions are used to so that a computer
Equipment (can be personal computer, server, or network equipment etc.) or processor (processor) perform the present invention each
The part steps of embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. it is various
Can be with the medium of store program codes.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
The present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used
Modified with to the technical scheme described in foregoing embodiments, or equivalent is carried out to which part technical characteristic;
And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and
Scope.
Claims (10)
1. it is a kind of clear up terminal device process method, it is characterised in that it includes:
When the control instruction of cleaning application is received, all processes of end of scan equipment running background are arranged with forming process
Table;
Determined to need the cleaning list of cleaning application according to the process list, and judge the application in the cleaning list respectively
Whether by limitation self-starting;
When by limitation self-starting, clear up all background process of association and be set to the application to limit self-starting.
2. the method for clearing up terminal device process according to claim 1, it is characterised in that the control instruction includes:Inspection
The control instruction and terminal for measure the system load control instruction produced more than predetermined threshold value, receiving user's active triggering
Equipment is in the control instruction that the duration of screen state of going out is produced more than preset duration.
3. the method for clearing up terminal device process according to claim 1, it is characterised in that described to receive cleaning application
Control instruction when, all processes of end of scan equipment running background are specifically included with forming process list:
When the control instruction of cleaning application is received, the progress information of terminal device running background is obtained by AMS;
The corresponding package informatin of each process and its association process information are obtained to form process list by PMS.
4. the method for clearing up terminal device process according to claim 1, it is characterised in that described according to the process list
It is determined that needing the cleaning list of cleaning application, and judge whether the application in the cleaning list is specific by limitation self-starting respectively
Including:
Its corresponding the application list is determined according to the process list, and described the application list is white with default application
List is contrasted to obtain pre-cleaning list;
The statistics that each application is used in pre-cleaning list is obtained, and it is true to combine the priority information of the application program
Surely the cleaning list that need to be cleared up.
5. the method for clearing up terminal device process according to claim 4, it is characterised in that in the acquisition pre-cleaning list
Each statistics for being used of application, and priority information with reference to the application program determines the cleaning list tool that need to be cleared up
Body includes:
Priority according to each application program, resident notify and whether audio judges the application in use state;
When the application is in unused state, the statistics that each application is used in pre-cleaning list is obtained;
By the statistics and priority of application with it is default can not the condition of clearing up be compared to determine the cleaning name that need to clear up
It is single.
6. it is a kind of clear up terminal device process system, it is characterised in that it includes:
Scan module, for when receive cleaning application control instruction when, scan running background all processes with formed into
Cheng Liebiao;
Judge module, for determining to need the cleaning list of cleaning application according to the process list, and judges described clear respectively
Whether the application in reason list is by limitation self-starting;
Cleaning modul, for when by limitation self-starting, all background process of cleaning association simultaneously to be set the application
It is limitation self-starting.
7. the system for clearing up terminal device process according to claim 6, it is characterised in that the control instruction includes:Inspection
The control instruction and terminal for measure the system load control instruction produced more than predetermined threshold value, receiving user's active triggering
Equipment is in the control instruction that the duration of screen state of going out is produced more than preset duration.
8. the system for clearing up terminal device process according to claim 6, it is characterised in that the scan module is specifically wrapped
Include:
Acquiring unit, for when the control instruction of cleaning application is received, entering for terminal device running background being obtained by AMS
Journey information;
Unit is formed, for obtaining the corresponding package informatin of each process and its association process information to form process by PMS
List.
9. the system for clearing up terminal device process according to claim 6, it is characterised in that the judge module is specifically wrapped
Include:
Comparison unit, for determining its corresponding the application list according to the process list, and by the Application Column
Table is contrasted to obtain pre-cleaning list with default application white list;
Determining unit, for obtaining the statistics that each application is used in pre-cleaning list, and combines the application program
Priority information determine the cleaning list that need to clear up.
10. the system for clearing up terminal device process according to claim 9, it is characterised in that the determining unit is specifically wrapped
Include:
Judgment sub-unit, judging the application for the priority according to each application program, resident notice and audio is
It is no in use state;
Subelement is obtained, is made for when the application is in unused state, obtaining each application in pre-cleaning list
Statistics;
Determination subelement, for by the statistics and priority of application with it is default can not the condition of clearing up be compared to determine
The cleaning list that need to be cleared up.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710001076.XA CN106844026B (en) | 2017-01-03 | 2017-01-03 | Method and system for cleaning terminal equipment process |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710001076.XA CN106844026B (en) | 2017-01-03 | 2017-01-03 | Method and system for cleaning terminal equipment process |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106844026A true CN106844026A (en) | 2017-06-13 |
CN106844026B CN106844026B (en) | 2021-10-22 |
Family
ID=59117824
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710001076.XA Active CN106844026B (en) | 2017-01-03 | 2017-01-03 | Method and system for cleaning terminal equipment process |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106844026B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107515665A (en) * | 2017-07-06 | 2017-12-26 | 努比亚技术有限公司 | Background process management method, mobile terminal and computer-readable recording medium |
CN107748685A (en) * | 2017-11-21 | 2018-03-02 | 广东欧珀移动通信有限公司 | Application program launching control method, device, terminal device and storage medium |
CN108279994A (en) * | 2018-01-22 | 2018-07-13 | 北京仿真中心 | A kind of connection Citrix has issued the automation solution of application exception |
CN108304263A (en) * | 2018-01-18 | 2018-07-20 | 硕诺科技(深圳)有限公司 | A kind of operating system background process checking and killing method, system and storage device |
CN108519916A (en) * | 2018-04-16 | 2018-09-11 | 努比亚技术有限公司 | Processing method, mobile terminal and the readable storage medium storing program for executing of terminal clean up process |
CN109240776A (en) * | 2018-07-20 | 2019-01-18 | 上海斐讯数据通信技术有限公司 | A kind of duplicate method for closing of webpage and system |
CN109376027A (en) * | 2018-09-26 | 2019-02-22 | 深圳壹账通智能科技有限公司 | A kind of abnormal processing method and terminal for destroying process |
WO2019061043A1 (en) * | 2017-09-26 | 2019-04-04 | 深圳传音通讯有限公司 | Intelligent control method, device and apparatus for terminal, and computer readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100161721A1 (en) * | 2008-08-27 | 2010-06-24 | Craig Bolon | Providing threaded context in web application software |
CN103164229A (en) * | 2013-04-08 | 2013-06-19 | 北京奇虎科技有限公司 | Method and device for clearing progresses of mobile terminal |
CN103345397A (en) * | 2013-07-11 | 2013-10-09 | 北京奇虎科技有限公司 | Method and device for cleaning processes of mobile terminal |
CN104298549A (en) * | 2014-09-30 | 2015-01-21 | 北京金山安全软件有限公司 | Method and device for cleaning application programs in mobile terminal and mobile terminal |
CN105138381A (en) * | 2015-09-21 | 2015-12-09 | 北京奇虎科技有限公司 | Method and device for cleaning up automatic starting processes of mobile terminal |
CN105607820A (en) * | 2015-12-28 | 2016-05-25 | 小米科技有限责任公司 | Process eliminating method and device and mobile terminal |
CN105760229A (en) * | 2016-02-15 | 2016-07-13 | 广东欧珀移动通信有限公司 | Method and device for cleaning backstage running programs and mobile terminal |
-
2017
- 2017-01-03 CN CN201710001076.XA patent/CN106844026B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100161721A1 (en) * | 2008-08-27 | 2010-06-24 | Craig Bolon | Providing threaded context in web application software |
CN103164229A (en) * | 2013-04-08 | 2013-06-19 | 北京奇虎科技有限公司 | Method and device for clearing progresses of mobile terminal |
CN103345397A (en) * | 2013-07-11 | 2013-10-09 | 北京奇虎科技有限公司 | Method and device for cleaning processes of mobile terminal |
CN104298549A (en) * | 2014-09-30 | 2015-01-21 | 北京金山安全软件有限公司 | Method and device for cleaning application programs in mobile terminal and mobile terminal |
CN105138381A (en) * | 2015-09-21 | 2015-12-09 | 北京奇虎科技有限公司 | Method and device for cleaning up automatic starting processes of mobile terminal |
CN105607820A (en) * | 2015-12-28 | 2016-05-25 | 小米科技有限责任公司 | Process eliminating method and device and mobile terminal |
CN105760229A (en) * | 2016-02-15 | 2016-07-13 | 广东欧珀移动通信有限公司 | Method and device for cleaning backstage running programs and mobile terminal |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107515665A (en) * | 2017-07-06 | 2017-12-26 | 努比亚技术有限公司 | Background process management method, mobile terminal and computer-readable recording medium |
WO2019061043A1 (en) * | 2017-09-26 | 2019-04-04 | 深圳传音通讯有限公司 | Intelligent control method, device and apparatus for terminal, and computer readable storage medium |
CN107748685A (en) * | 2017-11-21 | 2018-03-02 | 广东欧珀移动通信有限公司 | Application program launching control method, device, terminal device and storage medium |
CN107748685B (en) * | 2017-11-21 | 2020-12-25 | Oppo广东移动通信有限公司 | Application program starting control method and device, terminal equipment and storage medium |
CN108304263A (en) * | 2018-01-18 | 2018-07-20 | 硕诺科技(深圳)有限公司 | A kind of operating system background process checking and killing method, system and storage device |
CN108279994A (en) * | 2018-01-22 | 2018-07-13 | 北京仿真中心 | A kind of connection Citrix has issued the automation solution of application exception |
CN108519916A (en) * | 2018-04-16 | 2018-09-11 | 努比亚技术有限公司 | Processing method, mobile terminal and the readable storage medium storing program for executing of terminal clean up process |
CN109240776A (en) * | 2018-07-20 | 2019-01-18 | 上海斐讯数据通信技术有限公司 | A kind of duplicate method for closing of webpage and system |
CN109376027A (en) * | 2018-09-26 | 2019-02-22 | 深圳壹账通智能科技有限公司 | A kind of abnormal processing method and terminal for destroying process |
Also Published As
Publication number | Publication date |
---|---|
CN106844026B (en) | 2021-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106844026A (en) | A kind of method and system for clearing up terminal device process | |
CN109213539B (en) | Memory recovery method and device | |
CN104516806B (en) | The testing result methods of exhibiting and system of the power consumption information of mobile terminal | |
CN106774786B (en) | Power consumption control method and device | |
CN107832100B (en) | APK plug-in loading method and terminal thereof | |
CN103064716B (en) | The method of mobile terminal device fast discharging application program | |
CN107943269B (en) | Scheduling job control method, device, terminal equipment and storage medium | |
CN106569585A (en) | Method and terminal of managing application program process | |
CN101944048B (en) | Management method of terminal in audio resource conflict and terminal | |
CN106484473A (en) | A kind of application starts method and apparatus | |
CN106776036A (en) | A kind of resource allocation methods and device | |
CN106406944A (en) | Control method and system for forbidding self-starting of application | |
CN106528282A (en) | Method, device and terminal for closing process | |
CN107844341B (en) | Process starting control method and device, storage medium and mobile terminal | |
CN106155789A (en) | A kind of application freezing method and mobile terminal | |
CN105205388A (en) | Authority management method and system for application | |
CN106413036A (en) | Network access processing method and terminal device | |
CN106406940A (en) | System upgrading method, system upgrading apparatus, and terminal | |
CN106155777A (en) | A kind of background application managing device, terminal and background application management method | |
CN106528335A (en) | Data backup method and device and terminal | |
CN104254074A (en) | Method and device for intercepting spam short messages | |
CN106843977A (en) | A kind of processing method of application program self-starting, device and mobile terminal | |
CN106874086A (en) | A kind of processing method of application program self-starting, device and mobile terminal | |
CN110868693A (en) | Application program flow control method, terminal device and storage medium | |
CN103257893B (en) | A kind of methods, devices and systems obtaining input state-event |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20231108 Address after: Room 606-609, Compound Office Complex Building, No. 757, Dongfeng East Road, Yuexiu District, Guangzhou, Guangdong Province, 510699 Patentee after: China Southern Power Grid Internet Service Co.,Ltd. Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd. |
|
TR01 | Transfer of patent right |