CN104572943A - Installation-free program cleaning method and device - Google Patents

Installation-free program cleaning method and device Download PDF

Info

Publication number
CN104572943A
CN104572943A CN201410844000.XA CN201410844000A CN104572943A CN 104572943 A CN104572943 A CN 104572943A CN 201410844000 A CN201410844000 A CN 201410844000A CN 104572943 A CN104572943 A CN 104572943A
Authority
CN
China
Prior art keywords
installation procedure
exempt
exempting
directory
file attribute
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
Application number
CN201410844000.XA
Other languages
Chinese (zh)
Other versions
CN104572943B (en
Inventor
王务志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410844000.XA priority Critical patent/CN104572943B/en
Publication of CN104572943A publication Critical patent/CN104572943A/en
Application granted granted Critical
Publication of CN104572943B publication Critical patent/CN104572943B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/162Delete operations

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an installation-free program cleaning method and device. The installation-free program cleaning method includes acquiring a corresponding relationship between application programs and an application program installation directory; scanning a target directory, wherein the application programs corresponding to the target directory do not exist in the corresponding relationship; recognizing whether the target directory is a storage directory of installation-free programs or not; if yes, determining whether the installation-free programs belong to to-be-cleaned installation-free programs or not according to identities and using state information of the installation-free programs; if yes, cleaning the installation-free programs. By the installation-free program cleaning device, excessive green software in computing equipment can be cleaned effectively, occupation rate of resources of the equipment can be lowered, and user experience can be improved.

Description

Exempt from installation procedure method for cleaning and device
Technical field
The present invention relates to Internet technology, be specifically related to one and exempt from installation procedure method for cleaning and device.
Background technology
"Green" software, or claim Portable software (English is called Portable Application, Portable Software or Green Software), refer to the freeware that a class is small-sized, this software just can use without the need to installing, can deposit in flash memory, also any record (registration table message etc.) can not be stayed on the computing device after removing.That is, "Green" software just refers to and need not install, and downloads direct operable software."Green" software may can not leave registration table key assignments in registration table, does not carry out any write operation to the catalogue outside self place catalogue."Green" software operation itself does not produce any impact to any file except the catalogue of place own, so, do not exist and install and unloading problem.
Along with the development of infotech, user generally can copy a large amount of "Green" softwares by web download or from other equipment.For this reason, under be loaded in "Green" software in computing equipment too much or the time comparatively of a specified duration, user forgets in oneself computing equipment to store which "Green" software possibly, causes too much "Green" software in computing equipment to repeat, takies device resource, destruction Consumer's Experience.
Summary of the invention
For defect of the prior art, the invention provides one and exempt from installation procedure method for cleaning and device, the method can effectively clear up "Green" software too much in computing equipment, reduces the occupancy of device resource, promotes Consumer's Experience simultaneously.
First aspect, the invention provides one and exempts from installation procedure cleaning plant, comprising:
Corresponding relation acquiring unit, for obtaining the corresponding relation of application program and described application program installation directory;
, for scanning target directory, in described corresponding relation, there is not the application program corresponding with described target directory in scanning element;
Recognition unit, for identifying whether described target directory is the storage directory of exempting from installation procedure;
Determining unit, for when described in described recognition unit identification, target directory is for exempting from installation procedure, the mark exempting from installation procedure according to described and described in exempt from installation procedure using state information determine described in exempt from installation procedure and whether belong to for clearance and exempt from installation procedure;
Cleaning unit, belongs to for clearance exempt from installation procedure for clearing up.
Alternatively, described recognition unit, specifically for
Obtain the bibliographic structure of described target directory and the file attribute of described target directory institute include file;
According to described bibliographic structure and described file attribute, identify whether described target directory is the storage directory of exempting from installation procedure.
Alternatively, described recognition unit, specifically for
Obtain the bibliographic structure of described target directory and the file attribute of described target directory institute include file;
By the information sending server of described bibliographic structure and described file attribute, whether be the storage directory of exempting from installation procedure to make described server according to the information determination said target catalogue of described bibliographic structure and described file attribute;
Receive the information whether described target directory determined of this server that described server sends is the storage directory of exempting from installation procedure.
Alternatively, described recognition unit, specifically for
Obtain the bibliographic structure of described target directory and the file attribute of described target directory institute include file;
The mark of program corresponding to this target directory is obtained according to described bibliographic structure and described file attribute;
First bibliographic structure corresponding with this mark and the first file attribute is searched in the presets list according to the mark of described program; Described the presets list is exempt from the first bibliographic structure of installation procedure and the list of the first file attribute comprising of downloading from server in advance;
Obtain the similarity of described bibliographic structure and described first bibliographic structure;
When described similarity is greater than predetermined threshold value, described file attribute and described first file attribute are mated;
If described file attribute and described first file attribute coupling, then determine that described target directory is the storage directory of exempting from installation procedure.
Alternatively, determining unit, specifically for
Check whether the marks exempting from installation procedure all in equipment has identical, if had, then using have like-identified exempt from installation procedure except have last use record exempt from except installation procedure other exempt from installation procedure as program for clearance;
Or,
Check whether the marks exempting from installation procedure all in equipment has identical, if had, then using have like-identified exempt from installation procedure except have shortcut exempt from except installation procedure other exempt from installation procedure as program for clearance;
Or,
Check whether the marks exempting from installation procedure all in equipment has identical, if do not had, then all to exempt from installation procedure is exempted from installation procedure as program for clearance without what use record in preset time period.
Alternatively, described device also comprises:
Registry cleaner unit, for clearing up the registry entry of redundancy in registration table, obtains the first registration table;
Correspondingly, corresponding relation acquiring unit, specifically for
Obtain the corresponding relation of application program in the first registration table and described application program installation directory.
Second aspect, the invention provides one and exempts from installation procedure method for cleaning, comprising:
Obtain the corresponding relation of application program and described application program installation directory;
, in described corresponding relation, there is not the application program corresponding with described target directory in scanning target directory;
Identify whether described target directory is the storage directory of exempting from installation procedure;
If so, then according to described in exempt from installation procedure mark and described in exempt from installation procedure using state information determine described in exempt from installation procedure and whether belong to for clearance and exempt from installation procedure;
If belonged to, then cleaning belongs to for clearance and exempts from installation procedure.
Alternatively, identify whether described target directory is the storage directory of exempting from installation procedure, comprising:
Obtain the bibliographic structure of described target directory and the file attribute of described target directory institute include file;
According to described bibliographic structure and described file attribute, identify whether described target directory is the storage directory of exempting from installation procedure.
Alternatively, according to described bibliographic structure and described file attribute, identify whether described target directory is the storage directory of exempting from installation procedure, comprising:
By the information sending server of described bibliographic structure and described file attribute, whether be the storage directory of exempting from installation procedure to make described server according to the information determination said target catalogue of described bibliographic structure and described file attribute;
Receive the information whether described target directory determined of this server that described server sends is the storage directory of exempting from installation procedure.
Alternatively, according to described bibliographic structure and described file attribute, identify whether described target directory is the storage directory of exempting from installation procedure, comprising:
The mark of program corresponding to this target directory is obtained according to described bibliographic structure and described file attribute;
First bibliographic structure corresponding with this mark and the first file attribute is searched in the presets list according to the mark of described program; Described the presets list is exempt from the first bibliographic structure of installation procedure and the list of the first file attribute comprising of downloading from server in advance;
Obtain the similarity of described bibliographic structure and described first bibliographic structure;
When described similarity is greater than predetermined threshold value, described file attribute and described first file attribute are mated;
If described file attribute and described first file attribute coupling, then determine that described target directory is the storage directory of exempting from installation procedure.
Alternatively, the mark exempting from installation procedure according to described and described in exempt from installation procedure using state information determine described in exempt from installation procedure and whether belong to for clearance and exempt from installation procedure, comprising:
Check whether the marks exempting from installation procedure all in equipment has identical, if had, then using have like-identified exempt from installation procedure except have last use record exempt from except installation procedure other exempt from installation procedure as program for clearance;
Or,
Check whether the marks exempting from installation procedure all in equipment has identical, if had, then using have like-identified exempt from installation procedure except have shortcut exempt from except installation procedure other exempt from installation procedure as program for clearance;
Or,
Check whether the marks exempting from installation procedure all in equipment has identical, if do not had, then all to exempt from installation procedure is exempted from installation procedure as program for clearance without what use record in preset time period.
Alternatively, before the corresponding relation of described acquisition application program and described application program installation directory, described method also comprises:
In cleaning registration table, the registry entry of redundancy, obtains the first registration table;
According to described first registration table, obtain the corresponding relation of application program in the first registration table and described application program installation directory.
As shown from the above technical solution, provided by the inventionly exempt from installation procedure method for cleaning and device, said method exempts from installation procedure by identification, and then whether determine to exempt from installation procedure be for clearance exempt from installation procedure, if so, then cleaning belongs to for clearance and exempts from installation procedure, can effectively clear up "Green" software too much in computing equipment, reduce the occupancy of device resource, promote Consumer's Experience simultaneously.
In instructions of the present invention, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, to disclose and to help to understand in each inventive aspect one or more to simplify the present invention, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should not explained the following intention in reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
It will be understood by those skilled in the art that adaptively to change the module in the equipment in embodiment and they are arranged and be in one or more equipment that this embodiment is different.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit is mutually exclusive part, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all parts in the equipment of a kind of browser terminal of the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme, it all should be encompassed in the middle of the scope of claim of the present invention and instructions.
Accompanying drawing explanation
The schematic flow sheet of exempting from installation procedure method for cleaning that Fig. 1 provides for one embodiment of the invention;
The schematic flow sheet of exempting from installation procedure method for cleaning that Fig. 2 provides for another embodiment of the present invention;
The structural representation of exempting from installation procedure cleaning plant that Fig. 3 provides for one embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing, the embodiment of invention is further described.Following examples only for technical scheme of the present invention is clearly described, and can not limit the scope of the invention with this.
Exempt from installation procedure just to refer to direct download, copy or be decompressed to target directory, do not need also not need to write registration table to system directory copy.Exempt from installation procedure and can add the operation that the operation to system and software such as shortcut do not have much affect by start menu.That is, the installation process exempting from installation procedure is exactly that xcopy is to destination folder.
The feature exempting from installation procedure is: the first, do not carry out any operation (or only carry out considerably less, automatically can remove the information of write before EOP (end of program)) to registration table; The second, system sensitive district is not operated, generally comprise system start district root directory, installation directory (windows catalogue), program directory (Program Files), account's private directory; Three, any write operation is not carried out to the catalogue outside the catalogue of non-self place; Four, there is not installation and unloading operation; Five, the deletion of program, as long as program place catalogue and corresponding shortcut have been deleted just passable, has not stayed any rubbish; Six, do not need to install, arbitrarily copy, copy and just can use, freely use.
For this reason, in prior art, user in use may download more exempting from installation procedure and for a long time need not, or, download multiple identical installation procedure of exempting from and be stored in diverse location, cause system space to take more, and garbage cleaning device None-identified those exempt from installation procedure and whether belong to garbage files.
Exempting from installation procedure method for cleaning and can identify preferably and exempt from installation procedure in the present embodiment, and then determine whether that clearing up this exempts from installation procedure, if determine to need cleaning, then to deletion, this exempts from installation procedure, storage space in good releasing arrangement, and promote Consumer's Experience.
Fig. 1 shows the schematic flow sheet of exempting from installation procedure method for cleaning that one embodiment of the invention provides, as shown in Figure 1, the present embodiment to exempt from installation procedure method for cleaning as described below.
101, the corresponding relation of application program and application program installation directory is obtained.
For example, according to the information of registry entry in registration table in current device, the corresponding relation of application program and application program installation directory can be obtained.
Will be understood that, application program installation directory specifically refers to that registry program installs record.
Preferably, before obtaining above-mentioned corresponding relation, can the registry entry of redundancy in registration table in cleaning equipment, obtain the first registration table; And then according to described first registration table, obtain the corresponding relation of application program in the first registration table and described application program installation directory.
Registration table is very important database in device systems, stores the information such as application program.
102, scan target directory, in described corresponding relation, there is not the application program corresponding with described target directory.
Will be understood that, sequentially scan for the file in each region of set up applications in equipment, determine whether the file directory scanned is target directory, then can search in corresponding relation and whether have corresponding application program, if had, then can think that this file directory is not target directory, when file directory does not exist corresponding application program in corresponding relation, can think that this file directory is target directory.
103, identify whether described target directory is the storage directory of exempting from installation procedure.
Such as, the bibliographic structure of described target directory and the file attribute of described target directory institute include file is obtained;
According to described bibliographic structure and described file attribute, identify whether described target directory is the storage directory of exempting from installation procedure.
Such as, the file of the file attribute of .exe can be comprised by viewing files attribute, then can think that this target directory is the storage directory of exempting from installation procedure.
Or, can by the information sending server (as Cloud Server) of bibliographic structure and described file attribute, to make server judge whether this bibliographic structure and file attribute are exempt from installation procedure according to the determination strategy preset, and then server can by the result transmitting apparatus after judgement.
That is, by the information sending server of described bibliographic structure and described file attribute, whether be the storage directory of exempting from installation procedure to make described server according to the information determination said target catalogue of described bibliographic structure and described file attribute; And then the information whether described target directory determined of this server that described server sends is the storage directory of exempting from installation procedure can be received.
It should be noted that the file attribute of described target directory institute include file can be the file attribute of the All Files in this file, as files such as xx.exe, xx.dll.
The bibliographic structure of target directory can be: MathTypePortable Fonts; Or, MathTypePortable System etc.
104 if, then according to described in exempt from installation procedure mark and described in exempt from installation procedure using state information determine described in exempt from installation procedure and whether belong to for clearance and exempt from installation procedure.
Certainly, if target directory does not belong to the storage directory of exempting from installation procedure, can disregard, skip the target directory continuing to search other.
Using state information in the present embodiment can comprise: use the information recording and whether have shortcut.
In the present embodiment, the mark exempting from installation procedure can be the md5 value that this exempts from installation procedure, or, unique identification this exempt from the characteristic information of installation procedure.
If 105 belong to, then cleaning belongs to for clearance and exempts from installation procedure.
Exempt from installation procedure do not belong to for clearance exempt from installation procedure time, can not clear up.
In the present embodiment, check whether the marks exempting from installation procedure all in equipment has identical, if had, then using have like-identified exempt from installation procedure except have last use record exempt from except installation procedure other exempt from installation procedure as program for clearance;
That is, check that scan all belong to whether the target directory of exempting from installation procedure is identical, if identical, then check that namely those target directories exempt from the using state information of installation procedure, retain having the last installation procedure of exempting from of record that uses, other programs exempting from the identical repeated downloads of installation procedure or copy with this can be cleared up, as deleted.
In the implementation that another is possible, can check whether the marks exempting from installation procedure all in equipment has identical, if had, then using have like-identified exempt from installation procedure except have shortcut exempt from except installation procedure other exempt from installation procedure as program for clearance;
That is, check that scan all belong to whether the target directory of exempting from installation procedure is identical, if identical, then check that namely those target directories are exempted from installation procedure and whether had shortcut, and then the installation procedure of exempting from shortcut (as desktop shortcuts) can be retained, other programs exempting from the identical repeated downloads of installation procedure or copy with this can be removed.
In a possible implementation again, can check that whether all in equipment to belong to the target directory of exempting from installation procedure identical, if not identical, then can check that interior those of preset time period are exempted from installation procedure and whether had use record, if had, then do not remove, if do not had, then remove as program for clearance;
Preset time period can be for pre-setting, such as, nearest one week, nearest one month or trimestral etc. recently.
Thus, the installation procedure method for cleaning of exempting from of the present embodiment exempts from installation procedure by identification, and then whether determine to exempt from installation procedure be for clearance exempt from installation procedure, if, then cleaning belongs to for clearance and exempts from installation procedure, can effectively clear up "Green" software too much in computing equipment, the taking of storage space in reduction equipment, promotes Consumer's Experience simultaneously.
Fig. 2 shows the schematic flow sheet of exempting from installation procedure method for cleaning that one embodiment of the invention provides, as shown in Figure 2, the present embodiment to exempt from installation procedure method for cleaning as described below.
201, the corresponding relation of application program and application program installation directory is obtained.
202, scan target directory, in described corresponding relation, there is not the application program corresponding with described target directory.
203, the bibliographic structure of described target directory and the file attribute of described target directory institute include file is obtained.
Bibliographic structure can be:
MathTypePortable MathTypePortable MathPage 64 etc., file attribute can be the file attribute of the All Files in 64 files, as filename MT6.dll, version information 2013.5.0 etc.;
Or bibliographic structure is exactly, MathTypePortable, or file attribute can be the file attribute of the All Files in MathTypePortable file, as file is called:! ) MathTypePortable, version information is 6.9.0.0, exabyte xx.org, and digital signature is xx.xx.
In the present embodiment, file attribute can be the file attribute of the critical file comprised in target directory.As the file attribute of .exe file, or the file attribute etc. of .dat file.Or file attribute can be the file attribute of the All Files comprised in target directory.
204, the mark of program corresponding to this target directory is obtained according to described bibliographic structure and described file attribute;
205, first bibliographic structure corresponding with this mark and the first file attribute is searched in the presets list according to the mark of described program.
The presets list in the present embodiment can be exempts from the first bibliographic structure of installation procedure and the list of the first file attribute comprising of downloading from server in advance.
Will be understood that, this presets list can be to comprise allly exempts from the first bibliographic structure of installation procedure and the list of the first file attribute.
206, the similarity of described bibliographic structure and described first bibliographic structure is obtained; When described similarity is greater than predetermined threshold value, described file attribute and described first file attribute are mated.
In a particular application, when similarity is less than or equal to predetermined threshold value, can thinks that this bibliographic structure and the first bibliographic structure are dissimilar, can think that this bibliographic structure does not belong to and exempt from installation procedure bibliographic structure.
In the present embodiment, the acquisition of bibliographic structure similarity mainly carries out word segmentation processing by folder structure or to the title of each file, and calculating obtains.The present embodiment is not described in detail to the acquisition of this similarity, and the acquisition methods of similarity of the prior art also can be adopted to obtain.
If 207 described file attributes and described first file attribute coupling, then determine that described target directory is the storage directory of exempting from installation procedure.
208, according to described in exempt from installation procedure mark and described in exempt from installation procedure using state information determine described in exempt from installation procedure and whether belong to for clearance and exempt from installation procedure.
If 209 belong to, then cleaning belongs to for clearance and exempts from installation procedure.
Thus, the installation procedure method for cleaning of exempting from of the present embodiment exempts from installation procedure by identification, and then whether determine to exempt from installation procedure be for clearance exempt from installation procedure, if, then cleaning belongs to for clearance and exempts from installation procedure, can effectively clear up "Green" software too much in computing equipment, reduce the occupancy of device resource, promote Consumer's Experience simultaneously.
Fig. 3 shows the structural representation of exempting from installation procedure cleaning plant that one embodiment of the invention provides, as shown in Figure 3, the installation procedure cleaning plant of exempting from of the present embodiment comprises: corresponding relation acquiring unit 31, scanning element 32, recognition unit 33, determining unit 34 and cleaning unit 35;
Wherein, corresponding relation acquiring unit 31 is for obtaining the corresponding relation of application program and application program installation directory;
For scanning target directory, in described corresponding relation, there is not the application program corresponding with described target directory in scanning element 32;
Recognition unit 33 is for identifying whether described target directory is the storage directory of exempting from installation procedure;
Determining unit 34 for when described in described recognition unit identification, target directory is for exempting from installation procedure, the mark exempting from installation procedure according to described and described in exempt from installation procedure using state information determine described in exempt from installation procedure and whether belong to for clearance and exempt from installation procedure;
Cleaning unit 35 belongs to for clearance exempt from installation procedure for clearing up.
Alternatively, described recognition unit 33 can be specifically for, obtains the bibliographic structure of described target directory and the file attribute of described target directory institute include file;
According to described bibliographic structure and described file attribute, identify whether described target directory is the storage directory of exempting from installation procedure.
In another optional implementation, described recognition unit 33 specifically for, obtain the bibliographic structure of described target directory and the file attribute of described target directory institute include file;
By the information sending server of described bibliographic structure and described file attribute, whether be the storage directory of exempting from installation procedure to make described server according to the information determination said target catalogue of described bibliographic structure and described file attribute;
Receive the information whether described target directory determined of this server that described server sends is the storage directory of exempting from installation procedure.
In the third optional implementation, described recognition unit 33 can be specifically for, obtains the bibliographic structure of described target directory and the file attribute of described target directory institute include file;
The mark of program corresponding to this target directory is obtained according to described bibliographic structure and described file attribute;
First bibliographic structure corresponding with this mark and the first file attribute is searched in the presets list according to the mark of described program; Described the presets list is exempt from the first bibliographic structure of installation procedure and the list of the first file attribute comprising of downloading from server in advance;
Obtain the similarity of described bibliographic structure and described first bibliographic structure;
When described similarity is greater than predetermined threshold value, described file attribute and described first file attribute are mated;
If described file attribute and described first file attribute coupling, then determine that described target directory is the storage directory of exempting from installation procedure.
In the example that another is concrete, determining unit 34 can be specifically for, check whether the marks exempting from installation procedure all in equipment has identical, if had, then using have like-identified exempt from installation procedure except have last use record exempt from except installation procedure other exempt from installation procedure as program for clearance;
Or, check whether the marks exempting from installation procedure all in equipment has identical, if had, then using have like-identified exempt from installation procedure except have shortcut exempt from except installation procedure other exempt from installation procedure as program for clearance;
Or, check whether the marks exempting from installation procedure all in equipment has identical, if do not had, then all to exempt from installation procedure exempted from installation procedure as program for clearance without what use record in preset time period.
In a particular application, aforesaid device also can comprise not shown registry cleaner unit, and this registry cleaner unit can be used for the registry entry clearing up redundancy in registration table, obtains the first registration table; Correspondingly, aforesaid corresponding relation acquiring unit 31 can be specifically for, obtains the corresponding relation of application program in the first registration table and described application program installation directory.
Above-mentioned installation procedure cleaning plant of exempting from can perform flow process in the embodiment of the method shown in earlier figures 1 to Fig. 2, and the present embodiment does not describe in detail at this.
Exempting from installation procedure cleaning plant and can effectively clearing up "Green" software too much in computing equipment of the present embodiment, reduces the occupancy of device resource, promotes Consumer's Experience simultaneously.
Embodiments of the invention also disclose:
A1, one exempt from installation procedure cleaning plant, comprising:
Corresponding relation acquiring unit, for obtaining the corresponding relation of application program and application program installation directory;
, for scanning target directory, in described corresponding relation, there is not the application program corresponding with described target directory in scanning element;
Recognition unit, for identifying whether described target directory is the storage directory of exempting from installation procedure;
Determining unit, for when described in described recognition unit identification, target directory is for exempting from installation procedure, the mark exempting from installation procedure according to described and described in exempt from installation procedure using state information determine described in exempt from installation procedure and whether belong to for clearance and exempt from installation procedure;
Cleaning unit, belongs to for clearance exempt from installation procedure for clearing up.
A2, device according to A1, described recognition unit, specifically for
Obtain the bibliographic structure of described target directory and the file attribute of described target directory institute include file;
According to described bibliographic structure and described file attribute, identify whether described target directory is the storage directory of exempting from installation procedure.
A3, device according to A1, described recognition unit, specifically for
Obtain the bibliographic structure of described target directory and the file attribute of described target directory institute include file;
By the information sending server of described bibliographic structure and described file attribute, whether be the storage directory of exempting from installation procedure to make described server according to the information determination said target catalogue of described bibliographic structure and described file attribute;
Receive the information whether described target directory determined of this server that described server sends is the storage directory of exempting from installation procedure.
A4, device according to A1, described recognition unit, specifically for
Obtain the bibliographic structure of described target directory and the file attribute of described target directory institute include file;
The mark of program corresponding to this target directory is obtained according to described bibliographic structure and described file attribute;
First bibliographic structure corresponding with this mark and the first file attribute is searched in the presets list according to the mark of described program; Described the presets list is exempt from the first bibliographic structure of installation procedure and the list of the first file attribute comprising of downloading from server in advance;
Obtain the similarity of described bibliographic structure and described first bibliographic structure;
When described similarity is greater than predetermined threshold value, described file attribute and described first file attribute are mated;
If described file attribute and described first file attribute coupling, then determine that described target directory is the storage directory of exempting from installation procedure.
A5, according to the arbitrary described device of A1 to A4, determining unit, specifically for
Check whether the marks exempting from installation procedure all in equipment has identical, if had, then using have like-identified exempt from installation procedure except have last use record exempt from except installation procedure other exempt from installation procedure as program for clearance;
Or,
Check whether the marks exempting from installation procedure all in equipment has identical, if had, then using have like-identified exempt from installation procedure except have shortcut exempt from except installation procedure other exempt from installation procedure as program for clearance;
Or,
Check whether the marks exempting from installation procedure all in equipment has identical, if do not had, then all to exempt from installation procedure is exempted from installation procedure as program for clearance without what use record in preset time period.
A6, according to the arbitrary described device of A1 to A5, described device also comprises:
Registry cleaner unit, for clearing up the registry entry of redundancy in registration table, obtains the first registration table;
Correspondingly, corresponding relation acquiring unit, specifically for
Obtain the corresponding relation of application program in the first registration table and described application program installation directory.
B7, one exempt from installation procedure method for cleaning, comprising:
Obtain the corresponding relation of application program and application program installation directory;
, in described corresponding relation, there is not the application program corresponding with described target directory in scanning target directory;
Identify whether described target directory is the storage directory of exempting from installation procedure;
If so, then according to described in exempt from installation procedure mark and described in exempt from installation procedure using state information determine described in exempt from installation procedure and whether belong to for clearance and exempt from installation procedure;
If belonged to, then cleaning belongs to for clearance and exempts from installation procedure.
B8, method according to B7, identify whether described target directory is the storage directory of exempting from installation procedure, comprising:
Obtain the bibliographic structure of described target directory and the file attribute of described target directory institute include file;
According to described bibliographic structure and described file attribute, identify whether described target directory is the storage directory of exempting from installation procedure.
B9, method according to B8, according to described bibliographic structure and described file attribute, identify whether described target directory is the storage directory of exempting from installation procedure, comprising:
By the information sending server of described bibliographic structure and described file attribute, whether be the storage directory of exempting from installation procedure to make described server according to the information determination said target catalogue of described bibliographic structure and described file attribute;
Receive the information whether described target directory determined of this server that described server sends is the storage directory of exempting from installation procedure.
B10, method according to B8, according to described bibliographic structure and described file attribute, identify whether described target directory is the storage directory of exempting from installation procedure, comprising:
The mark of program corresponding to this target directory is obtained according to described bibliographic structure and described file attribute;
First bibliographic structure corresponding with this mark and the first file attribute is searched in the presets list according to the mark of described program; Described the presets list is exempt from the first bibliographic structure of installation procedure and the list of the first file attribute comprising of downloading from server in advance;
Obtain the similarity of described bibliographic structure and described first bibliographic structure;
When described similarity is greater than predetermined threshold value, described file attribute and described first file attribute are mated;
If described file attribute and described first file attribute coupling, then determine that described target directory is the storage directory of exempting from installation procedure.
B11, according to the arbitrary described method of B7 to B10, the mark exempting from installation procedure according to described and described in exempt from installation procedure using state information determine described in exempt from installation procedure and whether belong to for clearance and exempt from installation procedure, comprising:
Check whether the marks exempting from installation procedure all in equipment has identical, if had, then using have like-identified exempt from installation procedure except have last use record exempt from except installation procedure other exempt from installation procedure as program for clearance;
Or,
Check whether the marks exempting from installation procedure all in equipment has identical, if had, then using have like-identified exempt from installation procedure except have shortcut exempt from except installation procedure other exempt from installation procedure as program for clearance;
Or,
Check whether the marks exempting from installation procedure all in equipment has identical, if do not had, then all to exempt from installation procedure is exempted from installation procedure as program for clearance without what use record in preset time period.
B12, according to the arbitrary described method of B7 to 11, before the corresponding relation of described acquisition application program and described application program installation directory, described method also comprises:
In cleaning registration table, the registry entry of redundancy, obtains the first registration table;
According to described first registration table, obtain the corresponding relation of application program in the first registration table and described application program installation directory.

Claims (10)

1. exempt from an installation procedure cleaning plant, it is characterized in that, comprising:
Corresponding relation acquiring unit, for obtaining the corresponding relation of application program and application program installation directory;
, for scanning target directory, in described corresponding relation, there is not the application program corresponding with described target directory in scanning element;
Recognition unit, for identifying whether described target directory is the storage directory of exempting from installation procedure;
Determining unit, for when described in described recognition unit identification, target directory is for exempting from installation procedure, the mark exempting from installation procedure according to described and described in exempt from installation procedure using state information determine described in exempt from installation procedure and whether belong to for clearance and exempt from installation procedure;
Cleaning unit, belongs to for clearance exempt from installation procedure for clearing up.
2. device according to claim 1, is characterized in that, described recognition unit, specifically for
Obtain the bibliographic structure of described target directory and the file attribute of described target directory institute include file;
According to described bibliographic structure and described file attribute, identify whether described target directory is the storage directory of exempting from installation procedure.
3. device according to claim 1, is characterized in that, described recognition unit, specifically for
Obtain the bibliographic structure of described target directory and the file attribute of described target directory institute include file;
By the information sending server of described bibliographic structure and described file attribute, whether be the storage directory of exempting from installation procedure to make described server according to the information determination said target catalogue of described bibliographic structure and described file attribute;
Receive the information whether described target directory determined of this server that described server sends is the storage directory of exempting from installation procedure.
4. device according to claim 1, is characterized in that, described recognition unit, specifically for
Obtain the bibliographic structure of described target directory and the file attribute of described target directory institute include file;
The mark of program corresponding to this target directory is obtained according to described bibliographic structure and described file attribute;
First bibliographic structure corresponding with this mark and the first file attribute is searched in the presets list according to the mark of described program; Described the presets list is exempt from the first bibliographic structure of installation procedure and the list of the first file attribute comprising of downloading from server in advance;
Obtain the similarity of described bibliographic structure and described first bibliographic structure;
When described similarity is greater than predetermined threshold value, described file attribute and described first file attribute are mated;
If described file attribute and described first file attribute coupling, then determine that described target directory is the storage directory of exempting from installation procedure.
5., according to the arbitrary described device of Claims 1-4, it is characterized in that, determining unit, specifically for
Check whether the marks exempting from installation procedure all in equipment has identical, if had, then using have like-identified exempt from installation procedure except have last use record exempt from except installation procedure other exempt from installation procedure as program for clearance;
Or,
Check whether the marks exempting from installation procedure all in equipment has identical, if had, then using have like-identified exempt from installation procedure except have shortcut exempt from except installation procedure other exempt from installation procedure as program for clearance;
Or,
Check whether the marks exempting from installation procedure all in equipment has identical, if do not had, then all to exempt from installation procedure is exempted from installation procedure as program for clearance without what use record in preset time period.
6. exempt from an installation procedure method for cleaning, it is characterized in that, comprising:
Obtain the corresponding relation of application program and application program installation directory;
, in described corresponding relation, there is not the application program corresponding with described target directory in scanning target directory;
Identify whether described target directory is the storage directory of exempting from installation procedure;
If so, then according to described in exempt from installation procedure mark and described in exempt from installation procedure using state information determine described in exempt from installation procedure and whether belong to for clearance and exempt from installation procedure;
If belonged to, then cleaning belongs to for clearance and exempts from installation procedure.
7. method according to claim 6, is characterized in that, identifies whether described target directory is the storage directory of exempting from installation procedure, comprising:
Obtain the bibliographic structure of described target directory and the file attribute of described target directory institute include file;
According to described bibliographic structure and described file attribute, identify whether described target directory is the storage directory of exempting from installation procedure.
8. method according to claim 7, is characterized in that, according to described bibliographic structure and described file attribute, identifies whether described target directory is the storage directory of exempting from installation procedure, comprising:
By the information sending server of described bibliographic structure and described file attribute, whether be the storage directory of exempting from installation procedure to make described server according to the information determination said target catalogue of described bibliographic structure and described file attribute;
Receive the information whether described target directory determined of this server that described server sends is the storage directory of exempting from installation procedure.
9. method according to claim 7, is characterized in that, according to described bibliographic structure and described file attribute, identifies whether described target directory is the storage directory of exempting from installation procedure, comprising:
The mark of program corresponding to this target directory is obtained according to described bibliographic structure and described file attribute;
First bibliographic structure corresponding with this mark and the first file attribute is searched in the presets list according to the mark of described program; Described the presets list is exempt from the first bibliographic structure of installation procedure and the list of the first file attribute comprising of downloading from server in advance;
Obtain the similarity of described bibliographic structure and described first bibliographic structure;
When described similarity is greater than predetermined threshold value, described file attribute and described first file attribute are mated;
If described file attribute and described first file attribute coupling, then determine that described target directory is the storage directory of exempting from installation procedure.
10., according to the arbitrary described method of claim 6 to 9, it is characterized in that, the mark exempting from installation procedure according to described and described in exempt from installation procedure using state information determine described in exempt from installation procedure and whether belong to for clearance and exempt from installation procedure, comprising:
Check whether the marks exempting from installation procedure all in equipment has identical, if had, then using have like-identified exempt from installation procedure except have last use record exempt from except installation procedure other exempt from installation procedure as program for clearance;
Or,
Check whether the marks exempting from installation procedure all in equipment has identical, if had, then using have like-identified exempt from installation procedure except have shortcut exempt from except installation procedure other exempt from installation procedure as program for clearance;
Or,
Check whether the marks exempting from installation procedure all in equipment has identical, if do not had, then all to exempt from installation procedure is exempted from installation procedure as program for clearance without what use record in preset time period.
CN201410844000.XA 2014-12-30 2014-12-30 Exempt from installation procedure method for cleaning and device Active CN104572943B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410844000.XA CN104572943B (en) 2014-12-30 2014-12-30 Exempt from installation procedure method for cleaning and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410844000.XA CN104572943B (en) 2014-12-30 2014-12-30 Exempt from installation procedure method for cleaning and device

Publications (2)

Publication Number Publication Date
CN104572943A true CN104572943A (en) 2015-04-29
CN104572943B CN104572943B (en) 2018-05-08

Family

ID=53089005

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410844000.XA Active CN104572943B (en) 2014-12-30 2014-12-30 Exempt from installation procedure method for cleaning and device

Country Status (1)

Country Link
CN (1) CN104572943B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201595A (en) * 2016-06-30 2016-12-07 北京奇虎科技有限公司 The cleaning control method of a kind of application program and device
CN106484516A (en) * 2016-10-10 2017-03-08 广东欧珀移动通信有限公司 A kind of delet method for opening application adduction relationship, device and terminal more
CN106528577A (en) * 2015-09-15 2017-03-22 腾讯科技(深圳)有限公司 Method and device for setting files to be cleared

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012045074A2 (en) * 2010-10-01 2012-04-05 Imerj, Llc Cross-environment application compatibility
CN103034498A (en) * 2012-12-13 2013-04-10 广东欧珀移动通信有限公司 Method and system for collating application programs
CN103064716A (en) * 2013-01-14 2013-04-24 广东欧珀移动通信有限公司 Method for fast uninstalling application programs of mobile terminal devices
CN103176828A (en) * 2013-03-29 2013-06-26 北京奇虎科技有限公司 Method and device of deleting application program residual files
CN103365882A (en) * 2012-03-30 2013-10-23 网秦无限(北京)科技有限公司 Method and system for cleaning junk files on mobile terminal
CN103677880A (en) * 2012-09-17 2014-03-26 联想(北京)有限公司 Information processing method and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012045074A2 (en) * 2010-10-01 2012-04-05 Imerj, Llc Cross-environment application compatibility
CN103365882A (en) * 2012-03-30 2013-10-23 网秦无限(北京)科技有限公司 Method and system for cleaning junk files on mobile terminal
CN103677880A (en) * 2012-09-17 2014-03-26 联想(北京)有限公司 Information processing method and electronic equipment
CN103034498A (en) * 2012-12-13 2013-04-10 广东欧珀移动通信有限公司 Method and system for collating application programs
CN103064716A (en) * 2013-01-14 2013-04-24 广东欧珀移动通信有限公司 Method for fast uninstalling application programs of mobile terminal devices
CN103176828A (en) * 2013-03-29 2013-06-26 北京奇虎科技有限公司 Method and device of deleting application program residual files

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106528577A (en) * 2015-09-15 2017-03-22 腾讯科技(深圳)有限公司 Method and device for setting files to be cleared
WO2017045493A1 (en) * 2015-09-15 2017-03-23 腾讯科技(深圳)有限公司 Method and device for setting files to be removed
CN106201595A (en) * 2016-06-30 2016-12-07 北京奇虎科技有限公司 The cleaning control method of a kind of application program and device
CN106484516A (en) * 2016-10-10 2017-03-08 广东欧珀移动通信有限公司 A kind of delet method for opening application adduction relationship, device and terminal more
CN106484516B (en) * 2016-10-10 2019-09-03 Oppo广东移动通信有限公司 A kind of delet method, device and terminal opened using adduction relationship more

Also Published As

Publication number Publication date
CN104572943B (en) 2018-05-08

Similar Documents

Publication Publication Date Title
CN102662667B (en) A kind of software uninstalling method and device
CN104536792A (en) Method and device for eliminating application program residual files
CN103577567A (en) Method for uninstalling application and deleting garbage file in Android system
US11120147B2 (en) Operating system garbage-collection with integrated clearing of sensitive data
CN103176828A (en) Method and device of deleting application program residual files
CN111008034B (en) Patch generation method and device
CN101246535A (en) Method, system and device for renovating abnormal document
CN102982284A (en) Scanning equipment, cloud management equipment and method and system used for malicious program checking and killing
US8205261B1 (en) Incremental virus scan
CN103019778A (en) Startups cleaning method and device
CN103631603A (en) Software cleaning method and system
CN111240892B (en) Data backup method and device
CN108885671A (en) A kind of directory delete method, apparatus and storage server
CN112579202B (en) Method, device, equipment and storage medium for editing server program of Windows system
CN103631628A (en) Software cleaning method and system
CN103034513A (en) Method and system for processing starting-up process
CN105389509A (en) Document scanning method and apparatus
CN104572943A (en) Installation-free program cleaning method and device
CN102929733B (en) Method and device for processing error files and client-side equipment
US9686310B2 (en) Method and apparatus for repairing a file
CN104915593A (en) Binding removing processing method and system for software
CN105095754A (en) Method, device and mobile terminal for processing virus applications
CN102346696B (en) A kind of file access pattern method and device
CN102799812A (en) Method and device for processing application program
KR20130002692A (en) Optimization method, optimization server and computer readable recording medium for providing service with vaccine and optimization functions

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20220725

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right