CN106203067A - The method for cleaning of a kind of application program and device - Google Patents
The method for cleaning of a kind of application program and device Download PDFInfo
- Publication number
- CN106203067A CN106203067A CN201610464066.5A CN201610464066A CN106203067A CN 106203067 A CN106203067 A CN 106203067A CN 201610464066 A CN201610464066 A CN 201610464066A CN 106203067 A CN106203067 A CN 106203067A
- Authority
- CN
- China
- Prior art keywords
- application
- destination application
- cleaning
- judge
- service
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/51—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/55—Detecting local intrusion or implementing counter-measures
- G06F21/552—Detecting local intrusion or implementing counter-measures involving long-term monitoring or reporting
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the invention discloses method for cleaning and the device of a kind of application program;This method for cleaning uses and receives application cleaning request, and determine the destination application needing to clear up, then, it is judged that it is pre-conditioned whether destination application meets according to application cleaning request, if meeting, then the startup service registered in terminal system by destination application is deleted;The startup service that application program is registered in terminal system can be cleared up by the program, to prevent malicious application backstage from opening, in terms of existing technologies, improves the safety of terminal system.
Description
Technical field
The present invention relates to field of terminal technology, particularly relate to method for cleaning and the device of a kind of application program.
Background technology
Along with development and the development of mobile communications network of the Internet, simultaneously also along with disposal ability and the storage of terminal
The fast development of ability, the application programs of magnanimity has obtained rapid propagation and use;Conventional application programs is in side
Just user job and life while, be no lack of the application programs newly developed daily life also into user, improve
Amusement sense in the quality of life of user, the frequency using terminal and use.
In prior art, application program needs to carry out backstage by schedule job service (JobService) and certainly opens, with
Keep that oneself applies to reside.JobService can be registered to the schedule job Service Management class of system
(JobSchedulerService), in, JobSchedulerService can periodically adjust back this JobService, if this
Time JobService corresponding application program application not actuated, then can be started by JobSchedulerService.
But, this mode makes system tightly application to related application to be monitored, therefore, and easily quilt
Malicious application utilizes and performs some and illegally work, and the safety causing terminal system is poor.
Summary of the invention
The embodiment of the present invention provides method for cleaning and the device of a kind of application program, can solve terminal system in prior art
The poor technical problem of safety of system.
The embodiment of the present invention provides the method for cleaning of a kind of application program, including:
Receive application cleaning request;
Determine according to described application cleaning request and need the destination application of cleaning;
Judge whether described destination application meets pre-conditioned;
The startup service registered in terminal system by the most described destination application is deleted.
Further, described judge whether described destination application meets pre-conditioned step, specifically include:
Obtain the application identities of described destination application;
Judge to preset in logo collection whether there is the sample identification identical with described application identities;
If existing, then judge that described destination application meets pre-conditioned;
If not existing, then judge that described destination application is unsatisfactory for pre-conditioned.
Further, described judge whether described destination application meets pre-conditioned step, specifically include:
Obtain the application identities of described destination application;
Judge to preset in logo collection whether there is the sample identification identical with described application identities;
If existing, then judge that described destination application meets pre-conditioned;
If not existing, then judge that described destination application is unsatisfactory for pre-conditioned.
Further, after the startup service registered in terminal system by described destination application is deleted, described
Method also includes:
Judge the most described destination application runs;
The most then detection triggers whether the trigger event of described destination application operation is to preset trigger event;
If described trigger event is for presetting trigger event, then close described destination application.
Further, described method also includes:
When judging that described destination application is unsatisfactory for pre-conditioned, generate based on described application cleaning request and intercept letter
Breath;
Described intercept information is added to the journal file of described terminal system.
Further, the described step starting service deletion that described destination application is registered in terminal system,
Specifically include:
Call corresponding service by Service Management class in described terminal system and delete function;
Perform described service and delete function, to delete the startup clothes that described destination application is registered in terminal system
Business.
Correspondingly, embodiments provide the cleaning plant of a kind of application program, including: receiver module, determine mould
Block, the first judge module and removing module;
Described receiver module, is used for receiving application cleaning request;
Described determine module, need the destination application of cleaning for determining according to described application cleaning request;
Described first judge module, is used for judging whether described destination application meets pre-conditioned;
Described removing module, for when described first judge module is judged to be, by described destination application at end
The startup service of registration in end system is deleted.
Described first judge module specifically includes: obtains submodule and judges submodule;
Described acquisition submodule, for obtaining the application identities of described destination application;
Described judgement submodule, for judging to preset in logo collection whether there is the sample identical with described application identities
Mark;If existing, then judge that described destination application meets pre-conditioned;If not existing, then judge described intended application journey
Sequence is unsatisfactory for pre-conditioned.
Further, described device also includes: acquisition module and the second judge module;
Described acquisition module, for judge described destination application meet pre-conditioned after, by described target should
Before the startup service registered in terminal system by program is deleted, obtain the initiation culture of described destination application;
Described second judge module, is used for judging that whether described initiation culture is more than presetting initiation culture;
Described removing module, specifically for when described second judge module is judged to be, by described destination application
The startup service of registration in terminal system is deleted.
Further, described removing module, specifically for calling by Service Management class in described terminal system accordingly
Function is deleted in service;Perform described service and delete function, with opening of deleting that described destination application registers in terminal system
Dynamic service.
The embodiment of the present invention uses to receive applies cleaning to ask, and asks to determine the target needing to clear up according to application cleaning
Application program, then, it is judged that it is pre-conditioned whether destination application meets, if meeting, then by destination application in terminal
The startup service of registration in system is deleted;The startup service that application program can be registered in terminal system by the program is carried out clearly
Reason, to prevent malicious application backstage from opening, in terms of existing technologies, improves the safety of terminal system.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, in embodiment being described below required for make
Accompanying drawing be briefly described, it should be apparent that, below describe in accompanying drawing be only some embodiments of the present invention, for
From the point of view of those skilled in the art, on the premise of not paying creative work, it is also possible to obtain the attached of other according to these accompanying drawings
Figure.
Fig. 1 is the schematic flow sheet of the method for cleaning of the application program that the embodiment of the present invention one provides;
Fig. 2 is the schematic flow sheet of the method for cleaning of the application program that the embodiment of the present invention two provides;
Fig. 3 a is the structural representation of the cleaning plant of the first application program that the embodiment of the present invention three provides;
Fig. 3 b is the structural representation of the cleaning plant of the second application program that the embodiment of the present invention three provides;
Fig. 3 c is the structural representation of the cleaning plant of the third application program that the embodiment of the present invention three provides.
Detailed description of the invention
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 carried out clear, complete
Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on
Embodiment in the present invention, the every other enforcement that those skilled in the art are obtained under not making creative work premise
Example, broadly falls into the scope of protection of the invention.
The embodiment of the present invention provides method for cleaning and the device of a kind of application program.To be described in detail respectively below.
Embodiment one,
The present embodiment will be described from the angle of the cleaning plant of application program, and the cleaning plant of this application program is concrete
Can integrated in the terminal, this terminal can be the equipment such as smart mobile phone, panel computer.
A kind of method for cleaning of application program, including: use and receive application cleaning request;Determine according to application cleaning request
Need the destination application of cleaning;Judge whether destination application meets pre-conditioned;The most then by destination application
The startup service of registration in terminal system is deleted.
As it is shown in figure 1, the method for cleaning of application program, idiographic flow can be such that
101, application cleaning request is received.
Specifically, in specific implementation process, the mode triggering application cleaning request can have multiple, such as, and Ke Yishi
Application is triggered by the garbage-cleaning software (such as mobile phone house keeper, 360 mobile phone bodyguards etc.) or other interface controls clicking on terminal
Cleaning request, it is also possible to be terminal receive certain operation response (such as alarm clock, plant-grid connection etc.) time voluntarily trigger application cleaning
Request, and other triggering modes.
102, determine, according to application cleaning request, the destination application needing to clear up.
Specifically, this application cleaning request can carry the application identities of the destination application needing cleaning (such as application
The bag name of program), and this destination application can determine based on the triggering mode that this cleaning is asked, such as, by clicking on eventually
The garbage-cleaning software trigger application cleaning request of end, corresponding destination application can be the application of all installations in terminal
Program;Applying cleaning request when accessing power supply triggering by terminal, corresponding destination application can be some default answering
Use program.
Wherein, this destination application can be preferably in terminal and have registered the application journey starting service (i.e. schedule job)
Sequence.
103, judge whether destination application meets pre-conditioned;If so, step 104 is performed, if it is not, terminate flow process.
Specifically, this pre-conditioned can be arranged by those skilled in the art, it is also possible to is configured by user, such as,
Can be by the way of application identities, it is judged that whether destination application presets bar judging whether it meets in a certain set
Part, specifically may include that is, step " judges whether destination application meets pre-conditioned "
Obtain the application identities of destination application;
Judge to preset in logo collection whether there is the sample identification identical with this application identities;
If existing, then judge that destination application meets pre-conditioned;
If not existing, then judge that destination application is unsatisfactory for pre-conditioned.
In specific implementation process, the form of expression of this default logo collection can be tabular form, such as blacklist, white name
Single etc., the application bag name of its recordable multiple application programs is using as sample identification.And this default logo collection can be based on
The security module of terminal is generated, it is also possible to selected by user, it is also possible to carried out propelling movement etc. by Cloud Server.This default identification sets
The storage mode closed can also have multiple, such as file mode storage, database mode storage, Cloud Server mode storage etc.,
This is not especially limited by the present invention.
104, the startup service registered in terminal system by destination application is deleted.
Specifically, when judging that destination application is unsatisfactory for pre-conditioned, by destination application in terminal system
The startup service of registration is deleted, and certainly opens authority with close destination application.Wherein, this startup service is used for triggering application journey
Sequence backstage is from opening.In as a example by android system, the startup service that destination application is registered in terminal system can be should
In JobSchedulerService, have registered schedule job JobInfo object by program, make application program achieve clothes
Business JobService, with realize this application program certain time point voluntarily start perform schedule job work function.
As a example by android system, first can create one and be inherited from JobService and name
The class of JobSchedulerService, then, adds one in Android configuration file (AndroidManifest.xml)
Service node, intended application has binding and uses the authority of this JobService, to build
JobSchedulerService, then create a JobScheduler object mJobScheduler, it is possible to use
JobInfo.Builder builds a JobInfo object, and making jobInfo is that JobScheduler sets service condition, with wound
Build timed task, and pass to corresponding JobService, when meeting the service condition that jobInfo sets,
The task that needs carry out processing is transferred to JobService process by JobScheduler.
Wherein, the service condition that jobInfo sets can have multiple, is connected to as started when equipment charge, when equipment
Do not start during limit flow network, start when the equipment free time, completed before specific deadline.Such as, jobInfo can
Trigger wechat APP when terminal unit is connected to wireless network with setting and perform more redaction, then when terminal is connected to wifi,
Terminal system can adjust back JobService, if now the version updating process of wechat APP is not actuated, then and can be by
JobSchedulerService starts, so that wechat APP performs to download and more redaction.
Based on foregoing, can call when the startup service registered in terminal system by destination application is deleted
The startup service that correlation function is registered is deleted, namely the step " startup registered in terminal system by destination application
Service is deleted " may include that
Call corresponding service by Service Management class in described terminal system and delete function;
Function, the startup service registered in terminal system with delete target application program are deleted in the service of execution.
Specifically, whether the schedule job registered due to various application programs is opened information and is saved in
JobSchedulerService schedule job Service Management apoplexy due to endogenous wind, if needing to close authority, then can pass through
The JobSchedulerService service of calling deletes function (such as cancel function, cancelAll function, cancelJob function
Deng) schedule job this intended application registered deletes.
Preferably, in order to improve the accuracy that application program scheduling operation is closed, more intelligently application program is carried out
Cleaning, judge destination application meet pre-conditioned after, can further the initiation culture of this application program be carried out
Judge, namely judge destination application meet pre-conditioned after, destination application is registered in terminal system
Before starting service deletion, it is also possible to comprise the following steps:
Obtain the initiation culture of destination application;
Judge that whether initiation culture is more than presetting initiation culture;
If being more than, then perform the step starting service deletion registered in terminal system by destination application.
Wherein, this initiation culture can be under meeting the service condition that above-mentioned jobInfo sets, the startup of application program
Frequency, that can recognize application program to a certain extent opens frequency certainly.This default initiation culture can be by user or ability
Field technique personnel be set.
In actual applications, in order to reduce EMS memory occupation, save system resource, also running at this destination application
Time, this application program can be closed, namely after the startup service registered in terminal system by destination application is deleted,
Can also include:
Judge the most whether destination application runs;
The most then detection triggers whether the trigger event of destination application operation is to preset trigger event;
If this trigger event is for presetting trigger event, then close this destination application.
Specifically, if trigger event is for presetting trigger event namely when this application program is currently for self-starting, pass is performed
Close this application program, wherein, this default trigger event be referred to service condition that above-mentioned jobInfo sets (as access power supply,
Access wifi etc.), this is repeated no more.If not presetting trigger event, do not perform to close this application program.
Preferably, when judging that destination application is unsatisfactory for pre-conditioned, generate based on application cleaning request and intercept letter
Breath, and this intercept information is added to terminal journal file.
Wherein, this intercept information can carry destination application mark.Judging that destination application is unsatisfactory for presetting
After condition, can be intercepted, to avoid to inform terminal system application cleaning request with print log file reporting system service
Repeat to initiate request, save system resource.
In actual applications, in order to promote Consumer's Experience, after application cleaning request is intercepted, system can pass through shape
The modes such as state hurdle notice, message notifying frame point out user to know, and backstage exists the application program of self-starting, and system may deposit safety
Hidden danger etc..
From the foregoing, it will be observed that embodiments provide the method for cleaning of a kind of application program, use to receive and apply cleaning to ask
Ask, and determine the destination application needing to clear up, then, it is judged that whether destination application meets according to application cleaning request
Pre-conditioned, if meeting, then the startup service registered in terminal system by destination application is deleted;The program can be corresponding
The startup service registered in terminal system by program is cleared up, to prevent malicious application backstage from certainly opening, relative to existing
For having technology, improve the safety of terminal system.
Embodiment two,
According to the method described by embodiment one, below citing is described in further detail.
In the present embodiment, by the cleaning plant with this application program, specifically form with APP is integrated in the terminal,
This mobile terminal has connected wifi, and the operating system that this mobile terminal is installed is to be described in detail as a example by android system.
Wherein, application program in black name is cleared up by acquiescence, and application program in white list is not cleared up by acquiescence.
As in figure 2 it is shown, the method for cleaning of a kind of application program, idiographic flow can be such that
201, mobile terminal receives application cleaning request, answers program according to application cleaning request traversal is operating.
Specifically, when mobile terminal is connected to wifi, triggering and receive application cleaning request, system is called associated process and is promoted
Application cleaning APP traversal is made operating to answer program.
202, the startup service during mobile terminal judges this application program whether registration terminal system;If so, step is performed
203, if it is not, perform step 206.
Specifically, this application cleaning request can carry the application that have registered the application program starting service in terminal system
Mark (such as the bag name of application program), based on this application cleaning request, mobile terminal can judge whether this application program registers end
Startup service in end system.
203, mobile terminal judges to preset whether include this application program in set of applications first;If it is not, execution step
204, if so, 205.
Specifically, can judge whether to include this application program based on application identities, to judge that whether this application program exists
In blacklist, namely the step idiographic flow that " judges to preset whether include this application program in set of applications first " can enter as
Under:
Obtain the application identities of destination application, obtain the sample identification set of sample application in the first set of applications;
Whether judgment sample logo collection exists the sample identification identical with this application identities;
If existing, then judge that presetting set of applications first includes this application program;
If not existing, then judge to preset first set of applications does not include this application program.
Wherein, the form of expression of this default logo collection can be tabular form, answering of its recordable multiple application programs
By bag name using as sample identification.And this default logo collection can be security module based on terminal is generated, it is also possible to by
User selects, it is also possible to carried out propelling movement etc. by Cloud Server.The storage mode of this default logo collection can also have multiple, such as
File mode storage, database mode storage, Cloud Server mode storage etc., this is not especially limited by the present invention.
204, mobile terminal judges to preset whether set of applications includes this application program second;If it is not, execution step
206, if so, terminate flow process.
Specifically, judge first preset set of applications does not include this application program time, mobile terminal is sentenced further
Break and preset whether set of applications includes this application program second, to judge that this application program is whether in white list.
In actual applications, it is determined that second preset set of applications include this application program time, namely at this application program
In white list, it is not performed application program cleaning operation, it is possible to further generate based on this application cleaning request
Intercept information, and this intercept information is added to terminal journal file.
Wherein, this intercept information can carry the application identities of this application program, can be with print log file upper syndicate
System service, intercepted to inform terminal system application cleaning request, to avoid repeating to initiate request, save system resource.
In actual applications, in order to promote Consumer's Experience, the mode such as system can be notified by status bar, message notifying frame
Prompting user knows, and backstage exists the application program of self-starting, and system may deposit potential safety hazard etc..
205, mobile terminal is closed this application program and deletes the startup service of its registration.
Specifically, judge first preset set of applications include this application program time, namely white list include should answer
By program, now mobile terminal can perform to close this application program, it is possible to its startup registered in terminal system is taken
Business is deleted, to cancel this application program backstage from the authority opened.
Terminal system can call positive closing in system interface management service (ActivityManagerService)
In function (forceStopPackage function), carry out forcing to terminate the process of this application program, wherein,
ForceStopPackage function is the processing function entrance of various positive closing and a key cleanup action.
In specific implementation process, when deleting the startup service that application program is registered in terminal system, can pass through
In terminal system, Service Management class is called corresponding service and is deleted function, then performs described service and deletes function, to delete mesh
The startup service that mark application program is registered in terminal system.Owing to, in android system, the scheduling of application program registration is made
Whether industry is opened information and is saved in JobSchedulerService schedule job Service Management apoplexy due to endogenous wind, if needing to close authority,
Then can by JobSchedulerService call service delete function (as cancel function, cancelAll function,
CancelJob function etc.) schedule job this intended application registered deletes.
206, mobile terminal closes this application program.
Specifically, the startup service in mobile terminal judges this application program unregistered terminal system, or mobile whole
End judge second preset set of applications do not include this application program (i.e. this application program is not at white list) time, close should answer
Use program.
From the foregoing, it will be observed that embodiments provide the method for cleaning of a kind of application program, using mobile terminal to receive should
With cleaning request, operating answer program, then with according to cleaning request traversal, it is judged that this application program whether registration terminal system
Startup service in system, if unregistered, then closes this application program, if registered, then judges to preset in set of applications first
Whether include this application program, if including, then close this application program and delete the startup service of its registration, if not including, then
Further determine whether in the second set of applications, if, the most not performing operation, if not existing, then performing to close this application program;
The startup service that application program is registered in terminal system can be cleared up by the program, to prevent malicious application backstage
From opening the illegal work of execution, in terms of existing technologies, improve the safety of terminal system.
Embodiment three,
In order to preferably implement above method, the embodiment of the present invention also provides for the cleaning plant of a kind of application program, should
Can be integrated in the terminal with the form of hardware or software with the cleaning plant of program, this terminal specifically can include mobile phone, flat board
The equipment such as computer, notebook computer.As shown in Figure 3 a, the cleaning plant of this application program can include receiver module 301, determine
Module the 302, first judge module 303 and removing module 304, as follows:
Receiver module 301, is used for receiving application cleaning request;
Determine module 302, need the destination application of cleaning for determining according to this application cleaning request;
First judge module 303, is used for judging whether this destination application meets pre-conditioned;
Removing module 304, for when this first judge module 303 is judged to be, by this destination application in terminal
The startup service of registration in system is deleted.
Preferably, as shown in Figure 3 b, the first judge module 303 specifically may include that acquisition submodule 3031 and judges son
Module 3032;
Obtain submodule 3031, for obtaining the application identities of this destination application;
Judge submodule 3032, for judging to preset in logo collection whether there is the sample mark identical with this application identities
Know;If existing, then judge that this destination application meets pre-conditioned;If not existing, then judge that this destination application is discontented with
Foot is pre-conditioned.
Preferably, as shown in Figure 3 c, this device can also include: acquisition module 305 and the second judge module 306;
Acquisition module 305, for judge this destination application meet pre-conditioned after, by this destination application
Before the startup service of registration in terminal system is deleted, obtain the initiation culture of this destination application;
Second judge module 306, is used for judging that whether this initiation culture is more than presetting initiation culture;
Removing module 304, specifically for when this second judge module 306 is judged to be, existing this destination application
The startup service of registration in terminal system is deleted.
Preferably, the second judge module 306, specifically for calling corresponding clothes by Service Management class in this terminal system
Function is deleted in business;Perform this service and delete function, to delete the startup service that this destination application is registered in terminal system.
From the foregoing, it will be observed that embodiments provide the cleaning plant of a kind of application program, receiver module 301 is used to receive
Application cleaning request, determining that module 302 determines according to application cleaning request needs the destination application of cleaning, and first judges mould
It is pre-conditioned that block 303 judges whether destination application meets, removing module 304 when the first judge module 303 is judged to be,
The startup service registered in terminal system by destination application is deleted;The program can be to application program in terminal system
The startup service of registration is cleared up, and to prevent malicious application backstage from opening, in terms of existing technologies, improves end
The safety of end system.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
Completing instructing relevant hardware by program, this program can be stored in a computer-readable recording medium, storage
Medium may include that read only memory (ROM, Read Only Memory), random access memory (RAM, Random
Access Memory), disk or CD etc..
Method for cleaning and the device of a kind of application program provided the embodiment of the present invention above are described in detail,
Principle and the embodiment of the present invention are set forth by program program used herein specific case, saying of above example
Bright method and the core concept thereof being only intended to help to understand the present invention;Simultaneously for those skilled in the art, according to this
Bright thought, all will change, in sum, in this specification in detailed description of the invention and application programs scope
Hold and should not be construed as limitation of the present invention.
Claims (10)
1. the method for cleaning of an application program, it is characterised in that including:
Receive application cleaning request;
Determine according to described application cleaning request and need the destination application of cleaning;
Judge whether described destination application meets pre-conditioned;
The startup service registered in terminal system by the most described destination application is deleted.
2. the method for cleaning of application program as claimed in claim 1, it is characterised in that the described destination application of described judgement
Whether meet pre-conditioned step, specifically include:
Obtain the application identities of described destination application;
Judge to preset in logo collection whether there is the sample identification identical with described application identities;
If existing, then judge that described destination application meets pre-conditioned;
If not existing, then judge that described destination application is unsatisfactory for pre-conditioned.
3. the method for cleaning of application program as claimed in claim 1, it is characterised in that judging that described destination application is full
After foot is pre-conditioned, before the startup service registered in terminal system by described destination application is deleted, described method
Also include:
Obtain the initiation culture of described destination application;
Judge that whether described initiation culture is more than presetting initiation culture;
If being more than, then perform the step starting service deletion registered in terminal system by described destination application.
4. the method for cleaning of application program as claimed in claim 1, it is characterised in that by described destination application at end
After the startup service of registration in end system is deleted, described method also includes:
Judge the most described destination application runs;
The most then detection triggers whether the trigger event of described destination application operation is to preset trigger event;
If described trigger event is for presetting trigger event, then close described destination application.
5. the method for cleaning of application program as claimed in claim 1, it is characterised in that described method also includes:
When judging that described destination application is unsatisfactory for pre-conditioned, generate intercept information based on described application cleaning request;
Described intercept information is added to the journal file of described terminal system.
6. the method for cleaning of application program as claimed in claim 1, it is characterised in that described described destination application is existed
The step starting service deletion of registration in terminal system, specifically includes:
Call corresponding service by Service Management class in described terminal system and delete function;
Perform described service and delete function, to delete the startup service that described destination application is registered in terminal system.
7. the cleaning plant of an application program, it is characterised in that including: receiver module, determine module, the first judge module and
Removing module;
Described receiver module, is used for receiving application cleaning request;
Described determine module, need the destination application of cleaning for determining according to described application cleaning request;
Described first judge module, is used for judging whether described destination application meets pre-conditioned;
Described removing module, for when described first judge module is judged to be, by described destination application in terminal system
The startup service of registration in system is deleted.
8. the cleaning plant of application program as claimed in claim 7, it is characterised in that described first judge module specifically wraps
Include: obtain submodule and judge submodule;
Described acquisition submodule, for obtaining the application identities of described destination application;
Described judgement submodule, for judging to preset in logo collection whether there is the sample mark identical with described application identities
Know;If existing, then judge that described destination application meets pre-conditioned;If not existing, then judge described destination application
It is unsatisfactory for pre-conditioned.
9. the cleaning plant of application program as claimed in claim 7, it is characterised in that described device also includes: acquisition module
With the second judge module;
Described acquisition module, for judge described destination application meet pre-conditioned after, by described intended application journey
Before the startup service that sequence is registered in terminal system is deleted, obtain the initiation culture of described destination application;
Described second judge module, is used for judging that whether described initiation culture is more than presetting initiation culture;
Described removing module, specifically for when described second judge module is judged to be, by described destination application at end
The startup service of registration in end system is deleted.
10. the cleaning plant of application program as claimed in claim 7, it is characterised in that described removing module, specifically for logical
Cross Service Management class in described terminal system and call corresponding service deletion function;Perform described service and delete function, to delete
The startup service that described destination application is registered in terminal system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610464066.5A CN106203067B (en) | 2016-06-22 | 2016-06-22 | A kind of method for cleaning and device of application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610464066.5A CN106203067B (en) | 2016-06-22 | 2016-06-22 | A kind of method for cleaning and device of application program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106203067A true CN106203067A (en) | 2016-12-07 |
CN106203067B CN106203067B (en) | 2019-09-13 |
Family
ID=57460893
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610464066.5A Expired - Fee Related CN106203067B (en) | 2016-06-22 | 2016-06-22 | A kind of method for cleaning and device of application program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106203067B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106775986A (en) * | 2016-12-26 | 2017-05-31 | 努比亚技术有限公司 | A kind of process management method and electronic equipment |
CN107957905A (en) * | 2017-11-21 | 2018-04-24 | 广东欧珀移动通信有限公司 | Method, apparatus, storage medium and the intelligent terminal of self-starting are applied in limitation |
CN108076224A (en) * | 2017-12-21 | 2018-05-25 | 广东欧珀移动通信有限公司 | application control method, device and storage medium and mobile terminal |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102866908A (en) * | 2012-07-25 | 2013-01-09 | 广东欧珀移动通信有限公司 | Method for cleaning Android background applications and services |
US20130198826A1 (en) * | 2010-10-15 | 2013-08-01 | Hewlett-Packard Development Company, L.P. | Authenticate a fingerprint image |
CN103914338A (en) * | 2014-03-27 | 2014-07-09 | 可牛网络技术(北京)有限公司 | Terminal background application cleaning method, terminal and system |
CN104021019A (en) * | 2014-06-18 | 2014-09-03 | 腾讯科技(深圳)有限公司 | Application self-staring control method, terminal and server |
CN104462952A (en) * | 2014-12-31 | 2015-03-25 | 北京奇虎科技有限公司 | Method and device for preventing self-starting of application |
CN105468409A (en) * | 2015-11-20 | 2016-04-06 | 北京金山安全软件有限公司 | Application program closing method and device and electronic equipment |
-
2016
- 2016-06-22 CN CN201610464066.5A patent/CN106203067B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130198826A1 (en) * | 2010-10-15 | 2013-08-01 | Hewlett-Packard Development Company, L.P. | Authenticate a fingerprint image |
CN102866908A (en) * | 2012-07-25 | 2013-01-09 | 广东欧珀移动通信有限公司 | Method for cleaning Android background applications and services |
CN103914338A (en) * | 2014-03-27 | 2014-07-09 | 可牛网络技术(北京)有限公司 | Terminal background application cleaning method, terminal and system |
CN104021019A (en) * | 2014-06-18 | 2014-09-03 | 腾讯科技(深圳)有限公司 | Application self-staring control method, terminal and server |
CN104462952A (en) * | 2014-12-31 | 2015-03-25 | 北京奇虎科技有限公司 | Method and device for preventing self-starting of application |
CN105468409A (en) * | 2015-11-20 | 2016-04-06 | 北京金山安全软件有限公司 | Application program closing method and device and electronic equipment |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106775986A (en) * | 2016-12-26 | 2017-05-31 | 努比亚技术有限公司 | A kind of process management method and electronic equipment |
CN106775986B (en) * | 2016-12-26 | 2020-09-01 | 努比亚技术有限公司 | Process management method and electronic equipment |
CN107957905A (en) * | 2017-11-21 | 2018-04-24 | 广东欧珀移动通信有限公司 | Method, apparatus, storage medium and the intelligent terminal of self-starting are applied in limitation |
CN108076224A (en) * | 2017-12-21 | 2018-05-25 | 广东欧珀移动通信有限公司 | application control method, device and storage medium and mobile terminal |
CN108076224B (en) * | 2017-12-21 | 2021-06-29 | Oppo广东移动通信有限公司 | Application program control method and device, storage medium and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106203067B (en) | 2019-09-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106156619B (en) | Application security protection method and device | |
CN105704066B (en) | Networking control method and device, system, security gateway, mobile terminal | |
CN100571157C (en) | A kind of method and system thereof that realizes the travelling carriage security control | |
CN102779255B (en) | Method and device for judging malicious program | |
CN102724208B (en) | For controlling the system and method for the access to Internet resources | |
CN102110220A (en) | Application program monitoring method and device | |
CN103164229A (en) | Method and device for clearing progresses of mobile terminal | |
CN204791237U (en) | Wireless Intelligence entrance guard's intercom system | |
CN104980926B (en) | The long-range control method and device of mobile terminal | |
CN109104412A (en) | Account right management method, management system and computer readable storage medium | |
CN103188204B (en) | Service control method in open platform and system | |
CN102739868A (en) | Mobile terminal loss processing method and system | |
CN104376263A (en) | Application behavior intercepting method and application behavior intercepting device | |
CN104376266A (en) | Determination method and device for security level of application software | |
CN104952136A (en) | Wireless intelligent access control talk-back system | |
CN106022108B (en) | A kind of synchronization management method and terminal device | |
CN107135186B (en) | method and device for preventing telephone from being stolen | |
CN106201574A (en) | A kind of startup method and device of application interface | |
CN105553920A (en) | Data interaction method, apparatus, and system | |
CN106203067A (en) | The method for cleaning of a kind of application program and device | |
CN101127634B (en) | A method and system for secure update and upgrade of mobile station | |
CN106155685A (en) | The management method of application program, managing device and mobile terminal | |
CN104918298A (en) | Network connection control method and apparatus, and mobile terminal | |
CN107294910B (en) | Login method and server | |
CN112910868A (en) | Enterprise network security management method and device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190913 |
|
CF01 | Termination of patent right due to non-payment of annual fee |