CN104021160A - Client data cleaning method and device - Google Patents

Client data cleaning method and device Download PDF

Info

Publication number
CN104021160A
CN104021160A CN201410226802.4A CN201410226802A CN104021160A CN 104021160 A CN104021160 A CN 104021160A CN 201410226802 A CN201410226802 A CN 201410226802A CN 104021160 A CN104021160 A CN 104021160A
Authority
CN
China
Prior art keywords
catalogue
cleaning
specific cleaning
module
specific
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
CN201410226802.4A
Other languages
Chinese (zh)
Other versions
CN104021160B (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 Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201410226802.4A priority Critical patent/CN104021160B/en
Publication of CN104021160A publication Critical patent/CN104021160A/en
Application granted granted Critical
Publication of CN104021160B publication Critical patent/CN104021160B/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)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a client data cleaning method, which comprises the following steps: acquiring a file directory needing data cleaning; judging whether the file directory is a specific cleaning directory or not; if yes, reading time information of the data files in the specific cleaning directory; and cleaning the data files in the specific cleaning catalog according to a preset scheme based on the time information. The invention also discloses a client data cleaning device. The invention aims to provide data cleaning for a user without influencing the user.

Description

A kind of client data method for cleaning and device
Technical field
The invention belongs to file clean-up technical field, relate in particular to a kind of data clearing method and device of intelligent terminal.
Background technology
In the storage of active user's mobile phone, because the development specifications of application is improper, cause a large amount of storage spaces, by gibberish, taken, cause phone memory not enough, storage data are all in tumble, therefore clear up more gibberish, discharge more storage spaces, become user's tight demand.
Current known cleaning class instrument, the major way of cleaning rubbish is, find out the catalogue that can clear up in mobile phone storage, and clear up all data under this catalogue, the cleaning for rubbish of this method for cleaning is relatively conservative, its result can only be removed less garbage files often, for some special files, as the social information of mobile phone storage directory storage, video cache, the data such as news information often cannot be removed, and this type of user data, all to take very much storage resources, and As time goes on, such data can sharply reduce user's value.For this problem, need a kind of file clean-up of active data more strategy badly.
Summary of the invention
In order to solve the problems of the technologies described above, the embodiment of the present invention provides a kind of client data method for cleaning and device, is intended to for user provides data scrubbing, and user is not impacted.
The embodiment of the present invention provides a kind of client data method for cleaning, comprising:
Obtain the file directory that need to carry out data scrubbing;
Judge whether described file directory is specific cleaning catalogue;
If so, read the temporal information of data file in specific cleaning catalogue;
Based on described temporal information, according to default scheme, the data file in described specific cleaning catalogue is cleared up.
The embodiment of the present invention also provides a kind of client data cleaning plant, comprising:
The first acquisition module, for obtaining the file directory that need to carry out data scrubbing;
The first judge module, for judging whether described file directory is specific cleaning catalogue;
The first read module, for when whether described file directory is specific cleaning catalogue, reads the temporal information of data file in specific cleaning catalogue;
The first cleaning module, for based on described temporal information, clears up the data file in described specific cleaning catalogue according to default scheme.
Implement the embodiment of the present invention, there is following beneficial effect:
The present invention aims to provide a kind of cleaning user data, and the Prune Policies user not being impacted.The present invention is according to data type, and the establishment of data or modification time, and the application software type that produces these data, remove the data that create or revise before a period of time.Implement technical scheme provided by the invention, can widen the coverage that can clear up junk data, make user mobile phone storage space obtain larger release, avoid the harmful effect to user after clearing up simultaneously.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is a kind of client data method for cleaning process flow diagram that the embodiment of the present invention provides;
Fig. 2 be the embodiment of the present invention provide obtain the method flow diagram that need to carry out the file directory of data scrubbing;
Fig. 3 is another client data method for cleaning process flow diagram that the embodiment of the present invention provides;
Another client data method for cleaning that Fig. 4 provides for the embodiment of the present invention;
Another client data method for cleaning that Fig. 5 provides for the embodiment of the present invention;
A kind of client data cleaning plant structural representation that Fig. 6 provides for the embodiment of the present invention;
Another client data cleaning plant structural representation that Fig. 7 provides for the embodiment of the present invention;
Another client data cleaning plant structural representation that Fig. 8 provides for the embodiment of the present invention;
Another client data cleaning plant structural representation that Fig. 9 provides for the embodiment of the present invention;
Another client data cleaning plant structural representation that Figure 10 provides for the embodiment of the present invention;
Another client data cleaning plant structural representation that Figure 11 provides for the embodiment of the present invention;
Another client data cleaning plant structural representation that Figure 12 provides for the embodiment of the present invention;
Another client data cleaning decorating structure schematic diagram that Figure 13 provides for the embodiment of the present invention;
Another client data cleaning plant structural representation that Figure 14 provides for the embodiment of the present invention;
Another client data cleaning plant structural representation that Figure 15 provides for the embodiment of the present invention;
Another client data cleaning plant structural representation that Figure 16 provides for the embodiment of the present invention;
Another client data cleaning plant structural representation that Figure 17 provides for the embodiment of the present invention;
The structural representation of the first judge module 102 that Figure 18 provides for the embodiment of the present invention;
Another structural representation of the first judge module 102 that Figure 19 provides for the embodiment of the present invention;
Another structural representation of the first judge module 102 that Figure 20 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only a part of embodiment of the present invention, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Below in conjunction with accompanying drawing, client data method for cleaning provided by the invention and device are described.
Fig. 1 is a kind of client data method for cleaning process flow diagram that the embodiment of the present invention provides, and as shown in Figure 1, described method comprises:
S100, obtain the file directory that need to carry out data scrubbing;
S102, judge whether described file directory is specific cleaning catalogue; If so, read the temporal information of data file in specific cleaning catalogue;
Optionally, describedly judge that whether described file directory is specific cleaning catalogue, comprising: inquiry is positioned at the specific cleaning catalogue listing of client, judges whether described specific cleaning catalogue listing contains described file directory name.
If there is not described file directory name in described specific cleaning catalogue listing, described file directory name is uploaded onto the server and inquired about, based on Query Result, judge whether described file directory is specific cleaning catalogue.
Further alternative, describedly judge that whether described file directory is specific cleaning catalogue, can also comprise:
Search described file directory and whether have corresponding application program;
If exist, the title based on described application program judges whether described file directory is specific cleaning catalogue.
Concrete, in client, be provided with application program and the corresponding table of specific cleaning catalogue, based on described application program and the corresponding table of specific cleaning catalogue, judge whether described file directory is specific cleaning catalogue.
Further alternative, inquire about described application program and the corresponding table of specific cleaning catalogue, judge the title that whether has described application program in described application program table corresponding to specific cleaning catalogue.
If there is not the title of described application program in described application program table corresponding to specific cleaning catalogue, the relevant information of described application program is uploaded onto the server and inquired about, based on Query Result, judge whether described file directory is specific cleaning catalogue.
Wherein, the information of described application program comprises: the title of described application program and/or MD5 value and/or bag name.
Further alternative, regularly from application program described in server lookup, whether there is renewal with the corresponding table of specific cleaning catalogue and/or described specific cleaning catalogue listing, if exist, upgrade described application program and the corresponding table of specific cleaning catalogue and/or described specific cleaning catalogue listing.
S104, based on described temporal information, according to default scheme, the data file in described specific cleaning catalogue is cleared up; Concrete, querying server, judges whether described default scheme needs to upgrade, and if so, described default scheme is upgraded.
Optionally, described method, can also comprise: the size of the data file in statistics specific period in the specific cleaning catalogue of cleaning.
Concrete, Fig. 2 be the embodiment of the present invention provide obtain the method flow diagram that need to carry out the file directory of data scrubbing, as shown in Figure 2, comprising:
S1001, obtain data scrubbing instruction;
Optionally, described in obtain data scrubbing instruction, comprising: receive user's manual cleaning instruction, based on described manual cleaning instruction, start clean up process.
Optionally, described in obtain data scrubbing instruction, can also comprise: read the clearance time setting of client, judge whether current time needs to start cleaning operation, if so, start clean up process.
S1002, based on data scrubbing instruction, the file in described client is scanned;
S1003, the file directory that extraction need to be carried out data scrubbing from scanning result.
Concrete, Fig. 3 is another client data method for cleaning process flow diagram that the embodiment of the present invention provides, as shown in Figure 3, the difference of method shown in described method and Fig. 1 with, step S100 comprises afterwards:
S103, judge whether described file directory is specific cleaning catalogue; If so, read the temporal information of data file in specific cleaning catalogue;
Concrete, described in read the temporal information of data file in specific cleaning catalogue, comprising: the creation-time and/or the final modification time that described in reading, read data file in specific cleaning catalogue.
S105, obtain current time;
S107, judge whether the creation-time of data file in current time and described specific cleaning catalogue and/or the difference of final modification time are greater than specific threshold; If so, the data file in described specific cleaning catalogue is cleared up.
Another client data method for cleaning that Fig. 4 provides for the embodiment of the present invention, as shown in Figure 3, shown in described method and Fig. 1, the difference of method is, after step S102, comprises:
S109, read the file type information of data file in specific cleaning catalogue described in reading, judge whether described file type is default file type, if perform step S104;
S111, based on described temporal information, according to default scheme, the data file in described specific cleaning catalogue is cleared up.
Another client data method for cleaning that Fig. 5 provides for the embodiment of the present invention, as shown in Figure 5, shown in described method and Fig. 1, the difference of method is, after step S102, comprises:
In S113, statistics special time period, the modification number of times of data file in described specific cleaning catalogue, judges whether described modification number of times is greater than specific threshold, if perform step S117; Otherwise continue to carry out S115;
S115, based on described temporal information, according to default scheme, the data file in described specific cleaning catalogue is cleared up.
S117, the data file in described specific cleaning catalogue is not carried out to cleaning operation.
Optionally, in described method, step S113 can replace with: the access times of data file in described specific cleaning catalogue in statistics special time period, judge whether described access times are greater than specific threshold, if, continue to carry out described step S117, the data file in described specific cleaning catalogue is not carried out to cleaning operation.Otherwise carry out described step S113.
A kind of client data cleaning plant structural representation that Fig. 6 provides for the embodiment of the present invention, as shown in Figure 6, described device comprises:
The first acquisition module 102, for obtaining the file directory that need to carry out data scrubbing;
The first judge module 104, for judging whether described file directory is specific cleaning catalogue;
The first read module 106, for when whether described file directory is specific cleaning catalogue, reads the temporal information of data file in specific cleaning catalogue;
The first cleaning module 108, for based on described temporal information, clears up the data file in described specific cleaning catalogue according to default scheme.
Another client data cleaning plant structural representation that Fig. 7 provides for the embodiment of the present invention, as shown in Figure 7, the difference of described device and Fig. 6 is, also comprises:
The second acquisition module 101, for obtaining data scrubbing instruction;
Scan module 103, for scanning the file in described client based on data scrubbing instruction;
The first extraction module 105, for extracting the file directory that need to carry out data scrubbing from scanning result.
Another client data cleaning plant structural representation that Fig. 8 provides for the embodiment of the present invention, as shown in Figure 8, the difference of described device and Fig. 7 shown device is, also comprises:
Receiver module 107, for receiving user's manual cleaning instruction,
The second cleaning module 109, for starting clean up process based on described manual cleaning instruction.
Another client data cleaning plant structural representation that Fig. 9 provides for the embodiment of the present invention, as shown in Figure 9, the difference of described device and Fig. 7 shown device is, also comprises:
The second read module 111, for reading the clearance time setting of client;
The second judge module 113, for judging whether current time needs to start cleaning operation;
Start module 115, while starting cleaning operation for needs, start clean up process.
Another client data cleaning plant structural representation that Figure 10 provides for the embodiment of the present invention, as shown in figure 10, the difference of described device and Fig. 6 shown device is, also comprises:
The first enquiry module 117, for inquiring about the specific cleaning catalogue listing that is positioned at client;
The 3rd judge module 119, for judging whether described specific cleaning catalogue listing contains described file directory name.
Another client data cleaning plant structural representation that Figure 11 provides for the embodiment of the present invention, as shown in figure 11, the difference of described device and Figure 10 shown device is, also comprises:
The second enquiry module 121, for when described specific cleaning catalogue listing does not exist described file directory name, uploads onto the server described file directory name to inquire about;
The 4th judge module 123, for judging based on Query Result whether described file directory is specific cleaning catalogue.
Another client data cleaning plant structural representation that Figure 12 provides for the embodiment of the present invention, as shown in figure 12, the difference of described device and Fig. 6 shown device is, also comprises:
The second read module 125, for reading creation-time and/or the final modification time of data file in specific cleaning catalogue described in reading.
The 3rd acquisition module 127, for obtaining current time;
The 9th judge module 129, for judging whether the creation-time of data file in current time and described specific cleaning catalogue and/or the difference of final modification time are greater than specific threshold;
The 3rd cleaning module 131, for the creation-time of data file in current time and described specific cleaning catalogue and/or when finally the difference of modification time is greater than specific threshold, clears up the data file in described specific cleaning catalogue.
Another client data cleaning decorating structure schematic diagram that Figure 13 provides for the embodiment of the present invention, as shown in figure 13, the difference of described device and Fig. 6 shown device is, also comprises:
The 4th read module 133, for reading the file type information of data file in specific cleaning catalogue described in reading.
The tenth judging unit 135, for judging whether described file type is default file type;
Whether cleaning politics, economics, organization, and ideology reason module 137, when being default file type when described file type, based on described temporal information, clear up the data file in described specific cleaning catalogue according to default scheme.
Another client data cleaning plant structural representation that Figure 14 provides for the embodiment of the present invention, as shown in figure 14, the difference of described device and Fig. 6 is, also comprises:
The first statistical module 139, for adding up in special time period the modification number of times of data file in described specific cleaning catalogue;
The 11 judge module 141, for judging whether described modification number of times is greater than specific threshold;
The 5th cleaning module 143, for when whether modification number of times is greater than specific threshold, does not carry out cleaning operation to the data file in described specific cleaning catalogue.
Another client data cleaning plant structural representation that Figure 15 provides for the embodiment of the present invention, as shown in figure 15, the difference of described device and Fig. 6 is, also comprises:
The second statistical module 145, for adding up in special time period the access times of data file in described specific cleaning catalogue;
The 12 judge module 147, for judging whether described access times are greater than specific threshold;
The 6th cleaning module 149, while whether being greater than specific threshold for described access times, does not carry out cleaning operation to the data file in described specific cleaning catalogue.
Another client data cleaning plant structural representation that Figure 16 provides for the embodiment of the present invention, as shown in figure 16, the difference of described device and Fig. 6 shown device is, also comprises:
The 6th enquiry module 151, for querying server;
The 13 judge module 153, for judging whether described default scheme needs to upgrade;
Whether the second update module 155, while needing to upgrade according to described default scheme for judging, upgrade described default scheme.
Another client data cleaning plant structural representation that Figure 17 provides for the embodiment of the present invention, as shown in figure 17, the difference of described device and Fig. 6 shown device is, also comprises:
The 3rd statistical module 157, for adding up the size of the data file in the specific cleaning catalogue of clearing up in specific period.
The structural representation of the first judge module 102 that Figure 18 provides for the embodiment of the present invention, as shown in figure 18, described the first judge module 102 comprises:
The second enquiry module 1021, for when described specific cleaning catalogue listing does not exist described file directory name, uploads onto the server described file directory name to inquire about;
The 4th judge module 1022, for judging based on Query Result whether described file directory is specific cleaning catalogue.
Optionally, described the first judge module 102 can also comprise:
Setting module 1023, for being provided with application program and the corresponding table of specific cleaning catalogue in client;
The 6th judge module 1024, for judging based on described application program and the corresponding table of specific cleaning catalogue whether described file directory is specific cleaning catalogue.
Another structural representation of the first judge module 102 that Figure 19 provides for the embodiment of the present invention, as shown in figure 19, is with the difference of structure shown in Figure 18, and described the first judge module 102 also comprises:
The 3rd enquiry module 1025, for inquiring about described application program and the corresponding table of specific cleaning catalogue;
The 7th judge module 1026, for judging whether described application program table corresponding to specific cleaning catalogue exists the title of described application program.
Optionally, described the first judge module 102 can also comprise:
The 4th enquiry module 1027, for when described application program table corresponding to specific cleaning catalogue do not exist the title of described application program, uploads onto the server the relevant information of described application program to inquire about;
The 8th judge module 1028, for judging based on Query Result whether described file directory is specific cleaning catalogue.
Another structural representation of the first judge module 102 that Figure 20 provides for the embodiment of the present invention, as shown in figure 20, is with the difference of structure shown in Figure 18, and described the first judge module 102 also comprises:
The 5th enquiry module 1029, for regularly whether having renewal from application program described in server lookup with the corresponding table of specific cleaning catalogue and/or described specific cleaning catalogue listing,
The first update module 10210, when there is described renewal, upgrades described application program and the corresponding table of specific cleaning catalogue and/or described specific cleaning catalogue listing.
In the description of this instructions, the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means to be contained at least one embodiment of the present invention or example in conjunction with specific features, structure, material or the feature of this embodiment or example description.In this manual, to the schematic statement of above-mentioned term not must for be identical embodiment or example.And, the specific features of description, structure, material or feature can one or more embodiment in office or example in suitable mode combination.In addition,, not conflicting in the situation that, those skilled in the art can carry out combination and combination by the feature of the different embodiment that describe in this instructions or example and different embodiment or example.In addition, term " first ", " second " be only for describing object, and can not be interpreted as indication or hint relative importance or the implicit quantity that indicates indicated technical characterictic.Thus, at least one this feature can be expressed or impliedly be comprised to the feature that is limited with " first ", " second ".In description of the invention, the implication of " a plurality of " is at least two, for example two, and three etc., unless otherwise expressly limited specifically.
In process flow diagram or any process of otherwise describing at this or method describe and can be understood to, represent to comprise that one or more is for realizing module, fragment or the part of code of executable instruction of the step of specific logical function or process, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can be not according to order shown or that discuss, comprise according to related function by the mode of basic while or by contrary order, carry out function, this should be understood by embodiments of the invention person of ordinary skill in the field.
The logic and/or the step that in process flow diagram, represent or otherwise describe at this, for example, can be considered to for realizing the sequencing list of the executable instruction of logic function, may be embodied in any computer-readable medium, for instruction execution system, device or equipment (as computer based system, comprise that the system of processor or other can and carry out the system of instruction from instruction execution system, device or equipment instruction fetch), use, or use in conjunction with these instruction execution systems, device or equipment.With regard to this instructions, " computer-readable medium " can be anyly can comprise, storage, communication, propagation or transmission procedure be for instruction execution system, device or equipment or the device that uses in conjunction with these instruction execution systems, device or equipment.The example more specifically of computer-readable medium (non-exhaustive list) comprises following: the electrical connection section (electronic installation) with one or more wirings, portable computer diskette box (magnetic device), random access memory (RAM), ROM (read-only memory) (ROM), the erasable ROM (read-only memory) (EPROM or flash memory) of editing, fiber device, and portable optic disk ROM (read-only memory) (CDROM).In addition, computer-readable medium can be even paper or other the suitable medium that can print described program thereon, because can be for example by paper or other media be carried out to optical scanning, then edit, decipher or process in electronics mode and obtain described program with other suitable methods if desired, be then stored in computer memory.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, a plurality of steps or method can realize with being stored in storer and by software or the firmware of suitable instruction execution system execution.For example, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: have for data-signal being realized to the discrete logic of the logic gates of logic function, the special IC with suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries is to come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, this program, when carrying out, comprises step of embodiment of the method one or a combination set of.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, can be also that the independent physics of unit exists, and also can be integrated in a module two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and also can adopt the form of software function module to realize.If described integrated module usings that the form of software function module realizes and during as production marketing independently or use, also can be stored in a computer read/write memory medium.
The above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.Although illustrated and described embodiments of the invention above, be understandable that, above-described embodiment is exemplary, can not be interpreted as limitation of the present invention, and those of ordinary skill in the art can change above-described embodiment within the scope of the invention, modification, replacement and modification.

Claims (41)

1. a client data method for cleaning, is characterized in that, comprising:
Obtain the file directory that need to carry out data scrubbing;
Judge whether described file directory is specific cleaning catalogue;
If so, read the temporal information of data file in specific cleaning catalogue;
Based on described temporal information, according to default scheme, the data file in described specific cleaning catalogue is cleared up.
2. method according to claim 1, is characterized in that, described in obtain the file directory that need to carry out data scrubbing, comprising:
Obtain data scrubbing instruction;
Based on data scrubbing instruction, the file in described client is scanned;
From scanning result, extract the file directory that need to carry out data scrubbing.
3. method according to claim 2, is characterized in that, described in obtain data scrubbing instruction, comprising:
Receive user's manual cleaning instruction, based on described manual cleaning instruction, start clean up process.
4. method according to claim 2, is characterized in that, described in obtain data scrubbing instruction, comprising:
Read the clearance time setting of client, judge whether current time needs to start cleaning operation, if so, start clean up process.
5. method according to claim 1, is characterized in that, describedly judges that whether described file directory is specific cleaning catalogue, comprising:
Inquiry is positioned at the specific cleaning catalogue listing of client, judges whether described specific cleaning catalogue listing contains described file directory name.
6. method according to claim 5, is characterized in that,
If there is not described file directory name in described specific cleaning catalogue listing, described file directory name is uploaded onto the server and inquired about, based on Query Result, judge whether described file directory is specific cleaning catalogue.
7. method according to claim 1, is characterized in that, describedly judges that whether described file directory is specific cleaning catalogue, comprising:
Search described file directory and whether have corresponding application program;
If exist, the title based on described application program judges whether described file directory is specific cleaning catalogue.
8. method according to claim 7, is characterized in that,
In client, be provided with application program and the corresponding table of specific cleaning catalogue, based on described application program and the corresponding table of specific cleaning catalogue, judge whether described file directory is specific cleaning catalogue.
9. method according to claim 8, is characterized in that,
Inquire about described application program and the corresponding table of specific cleaning catalogue, judge the title that whether has described application program in described application program table corresponding to specific cleaning catalogue.
10. method according to claim 9, is characterized in that,
If there is not the title of described application program in described application program table corresponding to specific cleaning catalogue, the relevant information of described application program is uploaded onto the server and inquired about, based on Query Result, judge whether described file directory is specific cleaning catalogue.
11. methods according to claim 10, is characterized in that, the information of described application program comprises: the title of described application program and/or MD5 value and/or bag name.
12. methods according to claim 8, is characterized in that,
Regularly from application program described in server lookup, whether there is renewal with the corresponding table of specific cleaning catalogue and/or described specific cleaning catalogue listing, if exist, upgrade described application program and the corresponding table of specific cleaning catalogue and/or described specific cleaning catalogue listing.
13. methods according to claim 1, is characterized in that, described in read the temporal information of data file in specific cleaning catalogue, comprising:
Described in reading, read creation-time and/or the final modification time of data file in specific cleaning catalogue.
14. methods according to claim 13, is characterized in that, described method also comprises:
Obtain current time;
Judge whether the creation-time of data file in current time and described specific cleaning catalogue and/or the difference of final modification time are greater than specific threshold;
If so, the data file in described specific cleaning catalogue is cleared up.
15. methods according to claim 1, is characterized in that, in reading specific cleaning catalogue, after the temporal information of data file, also comprise:
Described in reading, read the file type information of data file in specific cleaning catalogue.
16. methods according to claim 15, is characterized in that,
Judge whether described file type is default file type;
If so, based on described temporal information, according to default scheme, the data file in described specific cleaning catalogue is cleared up.
17. methods according to claim 1, is characterized in that, described method also comprises:
In statistics special time period, the modification number of times of data file in described specific cleaning catalogue, judges whether described modification number of times is greater than specific threshold, if so, the data file in described specific cleaning catalogue is not carried out to cleaning operation.
18. methods according to claim 1, is characterized in that, described method also comprises:
In statistics special time period, the access times of data file in described specific cleaning catalogue, judge whether described access times are greater than specific threshold, if so, the data file in described specific cleaning catalogue are not carried out to cleaning operation.
19. methods according to claim 1, is characterized in that, described method also comprises:
Querying server, judges whether described default scheme needs to upgrade, and if so, described default scheme is upgraded.
20. methods according to claim 1, is characterized in that, described method also comprises:
The size of the data file in statistics specific period in the specific cleaning catalogue of cleaning.
21. 1 kinds of client data cleaning plants, is characterized in that, comprising:
The first acquisition module, for obtaining the file directory that need to carry out data scrubbing;
The first judge module, for judging whether described file directory is specific cleaning catalogue;
The first read module, for when whether described file directory is specific cleaning catalogue, reads the temporal information of data file in specific cleaning catalogue;
The first cleaning module, for based on described temporal information, clears up the data file in described specific cleaning catalogue according to default scheme.
22. devices according to claim 21, is characterized in that, also comprise:
The second acquisition module, for obtaining data scrubbing instruction;
Scan module, for scanning the file in described client based on data scrubbing instruction;
The first extraction module, for extracting the file directory that need to carry out data scrubbing from scanning result.
23. devices according to claim 22, is characterized in that, also comprise:
Receiver module, for receiving user's manual cleaning instruction,
The second cleaning module, for starting clean up process based on described manual cleaning instruction.
24. devices according to claim 22, is characterized in that, also comprise:
The second read module, for reading the clearance time setting of client;
The second judge module, for judging whether current time needs to start cleaning operation;
Start module, while starting cleaning operation for needs, start clean up process.
25. devices according to claim 21, is characterized in that, also comprise:
The first enquiry module, for inquiring about the specific cleaning catalogue listing that is positioned at client;
The 3rd judge module, for judging whether described specific cleaning catalogue listing contains described file directory name.
26. devices according to claim 25, is characterized in that, also comprise:
The second enquiry module, for when described specific cleaning catalogue listing does not exist described file directory name, uploads onto the server described file directory name to inquire about;
The 4th judge module, for judging based on Query Result whether described file directory is specific cleaning catalogue.
27. devices according to claim 21, is characterized in that, described the first judge module comprises:
First searches module, for searching described file directory, whether has corresponding application program;
The 5th judge module, for when described file directory exists corresponding application program, the title based on described application program judges whether described file directory is specific cleaning catalogue.
28. devices according to claim 27, is characterized in that, also comprise:
Setting module, for being provided with application program and the corresponding table of specific cleaning catalogue in client;
The 6th judge module, for judging based on described application program and the corresponding table of specific cleaning catalogue whether described file directory is specific cleaning catalogue.
29. devices according to claim 28, is characterized in that, also comprise:
The 3rd enquiry module, for inquiring about described application program and the corresponding table of specific cleaning catalogue;
The 7th judge module, for judging whether described application program table corresponding to specific cleaning catalogue exists the title of described application program.
30. devices according to claim 29, is characterized in that, also comprise:
The 4th enquiry module, for when described application program table corresponding to specific cleaning catalogue do not exist the title of described application program, uploads onto the server the relevant information of described application program to inquire about;
The 8th judge module, for judging based on Query Result whether described file directory is specific cleaning catalogue.
31. devices according to claim 30, is characterized in that, the information of described application program comprises: the title of described application program and/or MD5 value and/or bag name.
32. devices according to claim 28, is characterized in that, also comprise:
The 5th enquiry module, for regularly whether having renewal from application program described in server lookup with the corresponding table of specific cleaning catalogue and/or described specific cleaning catalogue listing,
The first update module, when there is described renewal, upgrades described application program and the corresponding table of specific cleaning catalogue and/or described specific cleaning catalogue listing.
33. devices according to claim 21, is characterized in that, the first read module comprises:
The second read module, for reading creation-time and/or the final modification time of data file in specific cleaning catalogue described in reading.
34. devices according to claim 33, is characterized in that, also comprise:
The 3rd acquisition module, for obtaining current time;
The 9th judge module, for judging whether the creation-time of data file in current time and described specific cleaning catalogue and/or the difference of final modification time are greater than specific threshold;
The 3rd cleaning module, for the creation-time of data file in current time and described specific cleaning catalogue and/or when finally the difference of modification time is greater than specific threshold, clears up the data file in described specific cleaning catalogue.
35. devices according to claim 21, is characterized in that, also comprise:
The 4th read module, for reading the file type information of data file in specific cleaning catalogue described in reading.
36. devices according to claim 35, is characterized in that, also comprise:
The tenth judging unit, for judging whether described file type is default file type;
Whether cleaning politics, economics, organization, and ideology reason module, when being default file type when described file type, based on described temporal information, clear up the data file in described specific cleaning catalogue according to default scheme.
37. devices according to claim 21, is characterized in that, also comprise:
The first statistical module, for adding up in special time period the modification number of times of data file in described specific cleaning catalogue;
The 11 judge module, for judging whether described modification number of times is greater than specific threshold;
The 5th cleaning module, for when whether modification number of times is greater than specific threshold, does not carry out cleaning operation to the data file in described specific cleaning catalogue.
38. devices according to claim 21, is characterized in that, also comprise:
The second statistical module, for adding up in special time period the access times of data file in described specific cleaning catalogue;
The 12 judge module, for judging whether described access times are greater than specific threshold;
The 6th cleaning module, while whether being greater than specific threshold for described access times, does not carry out cleaning operation to the data file in described specific cleaning catalogue.
39. devices according to claim 21, is characterized in that, described device also comprises:
The 6th enquiry module, for querying server;
The 13 judge module, for judging whether described default scheme needs to upgrade;
Whether the second update module, while needing to upgrade according to described default scheme for judging, upgrade described default scheme.
40. devices according to claim 21, is characterized in that, also comprise:
The 3rd statistical module, for adding up the size of the data file in the specific cleaning catalogue of clearing up in specific period.
41. 1 kinds of portable sets, comprise the device as described in claim 21-40.
CN201410226802.4A 2014-05-26 2014-05-26 Client data cleaning method and device Active CN104021160B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410226802.4A CN104021160B (en) 2014-05-26 2014-05-26 Client data cleaning method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410226802.4A CN104021160B (en) 2014-05-26 2014-05-26 Client data cleaning method and device

Publications (2)

Publication Number Publication Date
CN104021160A true CN104021160A (en) 2014-09-03
CN104021160B CN104021160B (en) 2018-06-01

Family

ID=51437914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410226802.4A Active CN104021160B (en) 2014-05-26 2014-05-26 Client data cleaning method and device

Country Status (1)

Country Link
CN (1) CN104021160B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104268204A (en) * 2014-09-23 2015-01-07 珠海市君天电子科技有限公司 Garbage clearing method and device
CN104268220A (en) * 2014-09-25 2015-01-07 北京金山安全软件有限公司 Method and device for cleaning junk files of audio and video applications
CN104317628A (en) * 2014-11-13 2015-01-28 北京奇虎科技有限公司 Mobile terminal and storage space cleaning method thereof
CN104657182A (en) * 2015-03-05 2015-05-27 北京畅游天下网络技术有限公司 Method and device for cleaning system junk of mobile equipment
CN105183902A (en) * 2015-09-30 2015-12-23 北京金山安全软件有限公司 File cleaning method and device and terminal
CN105224356A (en) * 2015-08-28 2016-01-06 北京金山安全软件有限公司 Directory clearing method and device and mobile terminal
CN106202166A (en) * 2016-06-24 2016-12-07 北京奇虎科技有限公司 The method for cleaning of file, device and corresponding client
CN106933863A (en) * 2015-12-30 2017-07-07 华为技术有限公司 Data clearing method and device
WO2018018505A1 (en) * 2016-07-28 2018-02-01 华为技术有限公司 Method and terminal for identifying uncommon data
CN109408414A (en) * 2018-09-30 2019-03-01 湖北华联博远科技有限公司 A kind of software cache cleaner method and system
CN109408469A (en) * 2018-09-05 2019-03-01 中国平安人寿保险股份有限公司 Stale data document handling method, device, electronic device and storage medium
CN110941597A (en) * 2018-09-21 2020-03-31 北京奇虎科技有限公司 Method and device for cleaning decompressed file, computing equipment and computer storage medium
CN113110913A (en) * 2020-01-13 2021-07-13 中国移动通信集团浙江有限公司 Mirror image management system, method and computing equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092664A (en) * 2013-02-07 2013-05-08 珠海市君天电子科技有限公司 Processing method and device of data file of android system
US20130227544A1 (en) * 2012-02-28 2013-08-29 Yuval Ben-Itzhak Systems and Methods for Enhancing Performance of Software Applications
CN103353892A (en) * 2013-07-05 2013-10-16 北京东方网信科技股份有限公司 Method and system for data cleaning suitable for mass storage
CN103559299A (en) * 2013-11-14 2014-02-05 贝壳网际(北京)安全技术有限公司 Method, device and mobile terminal for cleaning up files
CN103577567A (en) * 2013-10-29 2014-02-12 广东欧珀移动通信有限公司 Method for uninstalling application and deleting garbage file in Android system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130227544A1 (en) * 2012-02-28 2013-08-29 Yuval Ben-Itzhak Systems and Methods for Enhancing Performance of Software Applications
CN103092664A (en) * 2013-02-07 2013-05-08 珠海市君天电子科技有限公司 Processing method and device of data file of android system
CN103353892A (en) * 2013-07-05 2013-10-16 北京东方网信科技股份有限公司 Method and system for data cleaning suitable for mass storage
CN103577567A (en) * 2013-10-29 2014-02-12 广东欧珀移动通信有限公司 Method for uninstalling application and deleting garbage file in Android system
CN103559299A (en) * 2013-11-14 2014-02-05 贝壳网际(北京)安全技术有限公司 Method, device and mobile terminal for cleaning up files

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104268204A (en) * 2014-09-23 2015-01-07 珠海市君天电子科技有限公司 Garbage clearing method and device
CN104268220B (en) * 2014-09-25 2017-07-28 北京金山安全软件有限公司 Method and device for cleaning junk files of audio and video applications
CN104268220A (en) * 2014-09-25 2015-01-07 北京金山安全软件有限公司 Method and device for cleaning junk files of audio and video applications
CN104317628A (en) * 2014-11-13 2015-01-28 北京奇虎科技有限公司 Mobile terminal and storage space cleaning method thereof
CN104657182A (en) * 2015-03-05 2015-05-27 北京畅游天下网络技术有限公司 Method and device for cleaning system junk of mobile equipment
CN104657182B (en) * 2015-03-05 2018-08-07 北京畅游天下网络技术有限公司 System rubbish method for cleaning and device for mobile device
CN105224356A (en) * 2015-08-28 2016-01-06 北京金山安全软件有限公司 Directory clearing method and device and mobile terminal
CN105224356B (en) * 2015-08-28 2018-09-14 北京金山安全软件有限公司 Directory clearing method and device and mobile terminal
CN105183902A (en) * 2015-09-30 2015-12-23 北京金山安全软件有限公司 File cleaning method and device and terminal
CN105183902B (en) * 2015-09-30 2019-03-15 北京金山安全软件有限公司 File cleaning method and device and terminal
CN106933863A (en) * 2015-12-30 2017-07-07 华为技术有限公司 Data clearing method and device
CN106933863B (en) * 2015-12-30 2019-04-19 华为技术有限公司 Data clearing method and device
CN106202166B (en) * 2016-06-24 2020-08-18 北京奇虎技术服务有限公司 File cleaning method and device and corresponding client
CN106202166A (en) * 2016-06-24 2016-12-07 北京奇虎科技有限公司 The method for cleaning of file, device and corresponding client
WO2018018505A1 (en) * 2016-07-28 2018-02-01 华为技术有限公司 Method and terminal for identifying uncommon data
US10901947B2 (en) 2016-07-28 2021-01-26 Huawei Technologies Co., Ltd. Method for recognizing infrequently-used data and terminal
CN109408469A (en) * 2018-09-05 2019-03-01 中国平安人寿保险股份有限公司 Stale data document handling method, device, electronic device and storage medium
CN110941597A (en) * 2018-09-21 2020-03-31 北京奇虎科技有限公司 Method and device for cleaning decompressed file, computing equipment and computer storage medium
CN110941597B (en) * 2018-09-21 2023-10-31 北京奇虎科技有限公司 Method and device for cleaning decompressed file, computing equipment and computer storage medium
CN109408414A (en) * 2018-09-30 2019-03-01 湖北华联博远科技有限公司 A kind of software cache cleaner method and system
CN113110913A (en) * 2020-01-13 2021-07-13 中国移动通信集团浙江有限公司 Mirror image management system, method and computing equipment
CN113110913B (en) * 2020-01-13 2024-01-05 中国移动通信集团浙江有限公司 Mirror image management system, method and computing device

Also Published As

Publication number Publication date
CN104021160B (en) 2018-06-01

Similar Documents

Publication Publication Date Title
CN104021160A (en) Client data cleaning method and device
CN104021159A (en) Client file cleaning method and device
CN102932777B (en) The update method of a kind of terminal applies and user terminal
CN103064716B (en) The method of mobile terminal device fast discharging application program
CN102982141B (en) A kind of method and device realizing distributed data base agency
CN102202087B (en) Method for identifying storage equipment and system thereof
CN104156414A (en) Terminal, device and method for clearing junk files
CN102917057B (en) Personalized application supplying system and method
CN102065413B (en) Database updating method and system, and base station self-starting method and system
CN110442480B (en) Mirror image data cleaning method, device and system
CN102662798A (en) Data recovery method and terminal for Android system
CN102360410B (en) User operation discovery method of file system and synchronous system utilizing the same
CN104168123A (en) Data push method, data server, client and data push system
CN106302632A (en) The method for down loading of a kind of foundation image and management node
CN108038130A (en) Automatic cleaning method, device, equipment and the storage medium of fictitious users
CN103678337A (en) Data eliminating method, device and system
CN102411629A (en) File scanning method and device based on android system
CN103313229A (en) Method and device for upgrading aerial downloading technology
CN105138371A (en) Software upgrading method and device
CN105718815A (en) Method and device for automatically cleaning up system files
CN102831231B (en) Mobile terminal and file management method
CN102547683A (en) Blacklist sharing system and sharing method
CN105653304B (en) The switching method of operational mode, the switching device of operational mode and terminal
CN104133703A (en) Method and device for determining software not used frequently
CN106406747A (en) Hard disk storage management method and apparatus for mobile terminal

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