CN104699513A - File processing method and device - Google Patents

File processing method and device Download PDF

Info

Publication number
CN104699513A
CN104699513A CN201510149672.3A CN201510149672A CN104699513A CN 104699513 A CN104699513 A CN 104699513A CN 201510149672 A CN201510149672 A CN 201510149672A CN 104699513 A CN104699513 A CN 104699513A
Authority
CN
China
Prior art keywords
file
attribute information
electronic equipment
state point
differential
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
CN201510149672.3A
Other languages
Chinese (zh)
Other versions
CN104699513B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510149672.3A priority Critical patent/CN104699513B/en
Publication of CN104699513A publication Critical patent/CN104699513A/en
Application granted granted Critical
Publication of CN104699513B publication Critical patent/CN104699513B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a file processing method and device. The method includes: judging whether or not an electronic device meets preset processing conditions; if yes, acquiring first and second attribute information of a file in the electronic device, with the first attribute information being acquired from a first state point of the electronic device and the second attribute information being acquired from a second state point of the electronic device; based on the first and second attribute information, acquiring differential files generated by the electronic device from the first state point to the second state point; determining a target file to be processed, from the differential files, and processing the target file to be processed. Therefore, the file processing method and device has the advantages that the target file to be processed is determined from the differential files, not from files in the whole partition, during clearing the files such as junk files, time of processing the files can be saved, and user experience is improved.

Description

A kind of document handling method and device
Technical field
The application relates to electronic information field, particularly relates to a kind of document handling method and device.
Background technology
In the electronic device, in the process that application program is run, usually can produce garbage files, garbage files can lower the travelling speed of system, so, be necessary to clear up garbage files.
And existing cleaning garbage files technology, when carrying out garbage-cleaning at every turn, all need to carry out scan full hard disk to the system of electronic equipment, with the fileinfo in acquisition system, and this needs to spend the longer time undoubtedly, consume a large amount of system resource, cause poor experience to user.
Summary of the invention
This application provides a kind of document handling method and device, object is to solve cleaning garbage files needs scan full hard disk and the problem of length consuming time that causes.
To achieve these goals, this application provides following technical scheme:
A kind of document handling method, comprising:
Judge whether electronic equipment meets the treatment conditions preset;
When meeting described default treatment conditions, obtain the first attribute information and second attribute information of described electronic equipment file, described file is the file produced when each application runs in described electronic equipment, described first attribute information obtains at the first state point of described electronic equipment, and described second attribute information obtains at the second state point of described electronic equipment;
Based on described first attribute information and described second attribute information, obtain the differential file that described electronic equipment produces from described first state point to described second state point;
Pending file destination is determined from described differential file;
Described pending file destination is processed.
Alternatively, described default treatment conditions comprise:
In described electronic equipment, the storage space that described file takies reaches the first numerical value;
And/or the time of the described file of the last process of distance is greater than very first time threshold value;
And/or, the signal of preset kind detected.
Alternatively, describedly process carried out to described pending file destination comprise:
Judge to produce that the application program of described pending file destination is current whether runs, if not, then described pending file destination is processed.
Alternatively, describedly process carried out to described pending file destination comprise:
Judge whether the last process to described pending file destination is carried out according to the triggering command of user, if not, then processes described pending file destination.
Alternatively, described based on described first attribute information and described second attribute information, obtain described electronic equipment and comprise from described first state point to the differential file of described second state point generation:
Contrast the first attribute information and second attribute information of described file;
If described second attribute information is different from described first attribute information, then determine that described file is that described electronic equipment runs to the differential file of described second state point generation from described first state point.
Alternatively, describedly from described differential file, determine that pending file destination comprises:
Judge whether the attribute information of described differential file matches with at least one sample attribute in the sample attribute storehouse of presetting, and obtains the first judged result;
Based on the first judged result that the attribute information characterizing described differential file matches with at least one sample attribute in the sample attribute storehouse of presetting, determine that described differential file is pending file destination.
Alternatively, also comprise:
When the attribute information that described first judged result characterizes described differential file does not all mate with the sample attribute in described default sample attribute storehouse, described differential file is presented to user;
Receive the instruction of described user;
Based on described instruction, described differential file is processed.
A kind of document handling apparatus, comprising:
Judge module, for judging whether electronic equipment meets the treatment conditions preset;
Attribute information acquisition module, for when meeting described default treatment conditions, obtain the first attribute information and second attribute information of described electronic equipment file, described file is the file produced when each application runs in described electronic equipment, described first attribute information obtains at the first state point of described electronic equipment, and described second attribute information obtains at the second state point of described electronic equipment;
Differential file acquisition module, for based on described first attribute information and described second attribute information, obtains the differential file that described electronic equipment produces from described first state point to described second state point;
Determination module, for determining pending file destination from described differential file;
Processing module, for processing described pending file destination.
Alternatively, described judge module is for judging whether electronic equipment meets the treatment conditions preset, and comprising:
Described judge module specifically for, judge that whether electronic equipment meets the treatment conditions preset, described default treatment conditions comprise: in described electronic equipment, and the storage space that described file takies reaches the first numerical value; And/or the time of the described file of the last process of distance is greater than very first time threshold value; And/or, the signal of preset kind detected.
Alternatively, described processing module is used for processing described pending file destination, comprising:
Described processing module specifically for, judge to produce that the application program of described pending file destination is current whether runs, if not, then described pending file destination processed.
Alternatively, described processing module is used for processing described pending file destination, comprising:
Described processing module specifically for, judge whether the last process to described pending file destination is carried out according to the triggering command of user, if not, then processes described pending file destination.
Alternatively, described differential file acquisition module is used for based on described first attribute information and described second attribute information, obtains the differential file that described electronic equipment produces to described second state point from described first state point, comprising:
Described differential file acquisition module specifically for, contrast the first attribute information and second attribute information of described file; If described second attribute information is different from described first attribute information, then determine that described file is that described electronic equipment runs to the differential file of described second state point generation from described first state point.
Alternatively, described determination module is used for determining pending file destination from described differential file, comprising:
Described determination module specifically for, judge that whether the attribute information of described differential file matches with at least one sample attribute in the sample attribute storehouse of presetting, obtain the first judged result; Based on the first judged result that the attribute information characterizing described differential file matches with at least one sample attribute in the sample attribute storehouse of presetting, determine that described differential file is pending file destination.
Alternatively, described determination module also for:
When the attribute information that described first judged result characterizes described differential file does not all mate with the sample attribute in described default sample attribute storehouse, described file is presented to user;
Described processing module is also for the instruction that receives described user; Based on described instruction, described differential file is processed.
Document handling method described in the application and device, judge whether electronic equipment meets the treatment conditions preset, when meeting the treatment conditions preset, obtain the first attribute information and second attribute information of electronic equipment file, first attribute information obtains at the first state point of electronic equipment, second attribute information obtains at the second state point of electronic equipment, based on described first attribute information and described second attribute information, obtain the differential file that electronic equipment produces from the first state point to the second state point, pending file destination is determined from differential file, and pending file destination is processed.Visible, the method described in the application and device, determine pending file destination from differential file, instead of determine from overall file, so, particularly, when carrying out the process of the files such as cleaning garbage files, the time that file processing expends can be saved, improve the experience of user.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the application, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The process flow diagram of Fig. 1 a kind of document handling method disclosed in the embodiment of the present application;
Fig. 2 is the process flow diagram of the embodiment of the present application another document handling method disclosed;
Fig. 3 is the process flow diagram of the embodiment of the present application another document handling method disclosed;
The structural representation of Fig. 4 a kind of document handling apparatus disclosed in the embodiment of the present application.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, be clearly and completely described the technical scheme in the embodiment of the present application, obviously, described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the application's protection.
A kind of document handling method disclosed in the embodiment of the present application, can apply in the electronic device, processes the file in electronic equipment.As shown in Figure 1, the method following steps described in the present embodiment:
S101: judge whether electronic equipment meets the treatment conditions preset;
S102: when meeting described default treatment conditions, obtains the first attribute information and second attribute information of described electronic equipment file, if do not meet the treatment conditions preset, then terminal procedure;
Wherein, described file is the file produced when each application runs in described electronic equipment, and described first attribute information obtains at the first state point of described electronic equipment, and described second attribute information obtains at the second state point of described electronic equipment;
In the present embodiment, first attribute information of file and the second attribute information can be in advance by monitoring the ruuning situation of the application in electronic equipment in real time, the information of the attribute of the file produced when obtaining and store application operation in the electronic device, or the first attribute information of file and the second attribute information can be based on the snapshot etc. to bibliographic structure.
File newly-generated when described " file " each application that can comprise in electronic equipment runs, the file of amendment when each application that also can comprise in electronic equipment runs.
Described first attribute information obtains at the first state point of described electronic equipment, described second attribute information obtains at the second state point of described electronic equipment, particularly, first state point can be the first moment, then the second state point was the second moment, or, first state point can be certain state of electronic equipment operational factor, second state point is then another state of electronic equipment operational factor, such as, first state point is the state point that the utilization rate of the CPU of electronic equipment reaches the first numerical value (such as 30%), second state point can reach the state point of second value (such as 60%) for the utilization rate of CPU of electronic equipment.
In the present embodiment, the treatment conditions preset can be arranged according to the state that electronic equipment is current, such as, the time that the computing velocity of electronic equipment is less than first threshold, memory usage is greater than Second Threshold, the size of existing file is greater than the 3rd threshold value in electronic equipment, distance carried out processing last time is greater than the 4th threshold value etc.Its object is to, based on the current operating conditions of electronic equipment, be the process basis of design of file, and the process of file can be matched for the operation of electronic equipment.Such as, when the computing velocity of electronic equipment is less than first threshold, illustrate that the file in electronic equipment may occupy too much space, so need to process file.
S103: based on the first attribute information and second attribute information of described file, obtains the differential file that electronic equipment produces from the first state point to described second state point, in the present embodiment, when the first attribute information and second attribute information of known file, the specific implementation obtaining differential file can be: whether the first attribute information comparing All Files is identical with the second attribute information, wherein attribute information can comprise the operation Process Attributes information of file attribute information and correspondence, file attribute information can comprise the title of file, size, type, update time etc., operation Process Attributes information can comprise the mark of process, operation (the such as retouching operation that process is carried out, newly-built operation etc.) etc., if both are identical, then determine that file is non-differential file, if both are different, then determine that corresponding file is differential file.Also can be: in the second attribute information, determine the attribute information different from the first attribute information that obtain the file corresponding with this attribute information, these files can be defined as differential file.
S104: determine pending file destination from differential file;
In the present embodiment, from differential file, determine that the specific implementation of pending file destination can be: second attribute information (or first attribute information) of differential file comprises the type label of file, based on the type label of file, find the file of certain type, determine that such file is pending file destination; Or, according to second attribute information (or first attribute information) of file, analyze file type, according to file type, determine pending file destination.
S105: pending file destination is processed.
Method described in the present embodiment, can be used in the several scenes to file processing:
Such as, can be applied in the backup procedure of vital document: when judging that electronic equipment meets default backup condition, based on the first attribute information and second attribute information of the file stored in electronic equipment, obtain electronic equipment runs to the generation of the second moment differential file from the first moment, from differential file, determine the file needing backup again, then these files are backed up.
Or; be applied in the protection process of vital document: when judging that electronic equipment meets default treatment conditions; based on the first attribute information and second attribute information of the file stored in electronic equipment; obtain electronic equipment runs to the generation of the second moment differential file from the first moment; determine the file needing protection, then this file is protected in some way.
Or, can also be applied in the processing procedure of garbage files: when judging that electronic equipment meets default cleaning garbage files condition, based on the first attribute information and second attribute information of the file stored in electronic equipment, obtain the differential file produced when electronic equipment runs to cpu busy percentage 60% from cpu busy percentage 30%, from differential file, determine garbage files for clearance, then these garbage files are cleared up.
Method described in the present embodiment, determines pending file destination from differential file, so, the workload of document retrieval can be reduced, thus save the time of file processing, improve the efficiency of file processing.
Further, because without the need to artificially triggering execution, but the process to file can be triggered according to the current state of electronic equipment, so, the current state of file handling procedure and electronic equipment can be made to match, be conducive to the efficiency improving electronic equipment operation.
The embodiment of the present application another document handling method disclosed, in the present embodiment, is described for the process of garbage files.As shown in Figure 2, comprise the following steps:
S201: judge whether electronic equipment meets the treatment conditions preset;
In the present embodiment, the treatment conditions preset can include but not limited to following at least one item: in described electronic equipment, the storage space that described file takies reaches the first numerical value; The time of the described file of the last process of distance is greater than very first time threshold value; The signal of preset kind detected.
Wherein, first numerical value can be arranged according to the maximum storage of electronic equipment, such as, it can be 80% of the maximum storage of electronic equipment, when the storage space that file takies reaches these data, under normal circumstances, the travelling speed of electronic equipment can be affected, so, need to delete garbage files.
The workload that very first time threshold value can be run according to electronic equipment be arranged, and after electronic equipment reaches the very first time threshold value working time, may produce a large amount of garbage files, therefore, need to clear up garbage files.
The signal of preset kind can enter the signal of certain state for trigger electronics, such as, screen locking signal, after electronic equipment carries out screen lock state, garbage files in electronic equipment is processed, can avoid sharing computational resource with the application program run in electronic equipment.
S202: when meeting described default treatment conditions, obtain the first attribute information and second attribute information of described electronic equipment file, and based on first attribute information (comprising the first file attribute information and the first Process Attributes information) of described file and the second attribute information (comprising the first file attribute information and the first Process Attributes information), obtain the differential file that described electronic equipment produces from described first state point to described second state point;
In the present embodiment, first state point can be the last moment of having cleared up the rubbish time, second state point can be predetermined time, in actual applications, interval between the two can be determined according to the practical operation situation of electronic equipment, if the application that electronic equipment runs is more, then may produce more garbage files, in the case, interval can set less.
In the present embodiment, when the first attribute information and second attribute information of known file, the specific implementation obtaining differential file can be: whether the first attribute information comparing All Files is identical with the second attribute information, if both are identical, then determine that file is non-differential file, if both are different, then determine that corresponding file is differential file.Also can be: in the second attribute information, determine the attribute information different from the first attribute information that obtain the file corresponding with this attribute information, these files can be defined as differential file.S203: determine pending garbage files from differential file;
Because the determination of garbage files needs the file attribute information and the Process Attributes information that use file usually, so in the present embodiment, attribute information can comprise file attribute information and Process Attributes information.
Wherein, file attribute information can comprise file name, in addition, and the information such as the time that the size that can also comprise file, the operation (such as increase, delete, change) be performed, operation continue.The relevant information that Process Attributes information representation operates file, the mark of process can be comprised, the numbering (pid) of such as process, in addition, can also comprise other attribute information of process, such as user name etc. are for describing the information of the attribute of process.Further, Process Attributes information and file attribute information corresponding stored are in the electronic device.
S204: judge to produce whether the application program of garbage files is current runs, if so, the process that ends process or wait for that application program performs S205 after terminating to run, if not, performs S205;
S205: described garbage files is deleted.
Method described in the present embodiment, with the hunting zone that the differential file produced in a period of time inner electronic equipment is garbage files, avoid in cleaning garbage files situation process, need the situation of carrying out scan full hard disk and user's triggering, improve garbage files processing speed and efficiency, and user-friendly.
The embodiment of the present application another document handling method disclosed, as shown in Figure 3, comprises the following steps:
S301: judge whether electronic equipment meets the treatment conditions preset;
S302: when meeting described default treatment conditions, obtains the first attribute information and second attribute information of described electronic equipment file;
S303: the first attribute information and the second attribute information that contrast described file;
S304: if described second attribute information is different from described first attribute information, then determine that described file is differential file;
S305: judge whether the attribute information of described differential file matches with at least one sample attribute in the sample attribute storehouse of presetting, obtain the first judged result, if the attribute information that the first judged result characterizes described differential file matches with at least one sample attribute in the sample attribute storehouse of presetting, perform S306, otherwise, perform S309;
S306: the first judged result matched with at least one sample attribute in the sample attribute storehouse of presetting based on the attribute information characterizing described differential file, determines that described file is pending file destination;
S307: judge whether the last process to pending file destination is carried out according to the triggering command of user, if not, perform S308, if so, then do not process;
If the last process to pending file destination is carried out according to the triggering command of user, illustrate that user has the demand of manual triggers file processing, so this, still the triggering command of user is waited for, and exit automatic mode, thus the demand of " intelligence " perception user, improve the experience of user.
S308: described pending file destination is processed;
S309: described file is presented to user;
S310: the instruction receiving described user;
S311: described file is processed based on described instruction.
In the processing procedure of file, when each sample attribute in the sample attribute storehouse of file does not all mate with the attribute information of file, this file is presented to for, process according to the instruction of user, thus can avoid missing the file do not matched with sample attribute storehouse.
Such as, in the processing procedure of garbage files, if after using sample attribute storehouse to carry out coupling contrast, file is not garbage files, then also will give user and identify, if user is identified as garbage files, then can input cleaning instruction, can ensure that garbage files is cleared up in time equally.
With said method embodiment accordingly, the embodiment of the present application additionally provides a kind of document handling apparatus, as shown in Figure 4, comprising:
Judge module 401, for judging whether electronic equipment meets the treatment conditions preset;
In the present embodiment, particularly, described default treatment conditions comprise: in described electronic equipment, and the storage space that described file takies reaches the first numerical value; And/or the time of the described file of the last process of distance is greater than very first time threshold value; And/or, the signal of preset kind detected.
Attribute information acquisition module 402, for when meeting described default treatment conditions, obtain the first attribute information and second attribute information of described electronic equipment file, described file is the file produced when each application runs in described electronic equipment, described first attribute information obtains at the first state point of described electronic equipment, and described second attribute information obtains at the second state point of described electronic equipment;
Differential file acquisition module 403, for based on described first attribute information and described second attribute information, obtains the differential file that described electronic equipment produces from described first state point to described second state point;
Determination module 404, for when meeting described default treatment conditions, based on the attribute information of described file, determines pending file destination;
Processing module 405, for processing described pending file destination.
In the present embodiment, particularly, processing module to a kind of specific implementation that described pending file destination processes can be: judge to produce that the application program of described pending file destination is current whether runs, and if not, then processes described pending file destination.
Another kind of specific implementation can be: judge whether the last process to described pending file destination is carried out according to the triggering command of user, if not, then processes described pending file destination.
Alternatively, in the present embodiment, described differential file acquisition module is based on described first attribute information and described second attribute information, and the specific implementation obtaining the differential file that described electronic equipment produces from described first state point to described second state point can be: the first attribute information and the second attribute information that contrast described file; If described second attribute information is different from described first attribute information, then determine that described file is that described electronic equipment runs to the differential file of described second state point generation from described first state point.
Determination module determines that from differential file the specific implementation of pending file destination can be: judge whether the attribute information of described file difference matches with at least one sample attribute in the sample attribute storehouse of presetting, and obtains the first judged result; Based on the first judged result that the attribute information characterizing described differential file matches with at least one sample attribute in the sample attribute storehouse of presetting, determine that described differential file is pending file destination; When the attribute information that described first judged result characterizes described differential file does not all mate with the sample attribute in described default sample attribute storehouse, described differential file is presented to user;
In these cases, described processing module can also be used for: the instruction receiving described user; Based on described instruction, described differential file is processed.
Device described in the present embodiment, because without the need to the processing procedure artificially triggering execute file, but artificially can trigger according to the current state of electronic equipment file is processed, so, file handling procedure and the current state of electronic equipment can be made to match, be conducive to improving the efficiency that electronic equipment runs.
In document handling apparatus described in the present embodiment, can be applied in the system of electronic equipment, simultaneously, in systems in which, the acquisition device of the attribute information for file can also be comprised, the acquisition device of the document handling apparatus described in the present embodiment and the attribute information of file with the use of, according to the current state of electronic equipment, the file produced in application operational process can be processed.
Device described in the present embodiment, can also integratedly be arranged in document handling system, in described document handling system, the existing device carrying out file processing based on scan full hard disk can be comprised, such as existing garbage files treating apparatus, described in the present embodiment, automatically can carry out file processing according to the state that electronic equipment is current device carries out the device of file processing with relying on user's manual triggers, mutually supplement, user can use instruction to select any one mode to carry out the process of file, thus improves the experience of user.
If the function described in the embodiment of the present application method using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computing equipment read/write memory medium.Based on such understanding, the part of the part that the embodiment of the present application contributes to prior art or this technical scheme can embody with the form of software product, this software product is stored in a storage medium, comprising some instructions in order to make a computing equipment (can be personal computer, server, mobile computing device or the network equipment etc.) perform all or part of step of method described in each embodiment of the application.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-OnlyMemory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiment, between each embodiment same or similar part mutually see.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the application.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein when not departing from the spirit or scope of the application, can realize in other embodiments.Therefore, the application can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (14)

1. a document handling method, is characterized in that, comprising:
Judge whether electronic equipment meets the treatment conditions preset;
When meeting described default treatment conditions, obtain the first attribute information and second attribute information of described electronic equipment file, described file is the file produced when each application runs in described electronic equipment, described first attribute information obtains at the first state point of described electronic equipment, and described second attribute information obtains at the second state point of described electronic equipment;
Based on described first attribute information and described second attribute information, obtain the differential file that described electronic equipment produces from described first state point to described second state point;
Pending file destination is determined from described differential file;
Described pending file destination is processed.
2. method according to claim 1, is characterized in that, described default treatment conditions comprise:
In described electronic equipment, the storage space that described file takies reaches the first numerical value;
And/or the time of the described file of the last process of distance is greater than very first time threshold value;
And/or, the signal of preset kind detected.
3. method according to claim 1 and 2, is characterized in that, describedly carries out process to described pending file destination and comprises:
Judge to produce that the application program of described pending file destination is current whether runs, if not, then described pending file destination is processed.
4. method according to claim 1 and 2, is characterized in that, describedly carries out process to described pending file destination and comprises:
Judge whether the last process to described pending file destination is carried out according to the triggering command of user, if not, then processes described pending file destination.
5. method according to claim 1, is characterized in that, described based on described first attribute information and described second attribute information, obtains described electronic equipment and comprises from described first state point to the differential file of described second state point generation:
Contrast the first attribute information and second attribute information of described file;
If described second attribute information is different from described first attribute information, then determine that described file is that described electronic equipment runs to the differential file of described second state point generation from described first state point.
6. method according to claim 1, is characterized in that, describedly from described differential file, determines that pending file destination comprises:
Judge whether the attribute information of described differential file matches with at least one sample attribute in the sample attribute storehouse of presetting, and obtains the first judged result;
Based on the first judged result that the attribute information characterizing described differential file matches with at least one sample attribute in the sample attribute storehouse of presetting, determine that described differential file is pending file destination.
7. method according to claim 6, is characterized in that, also comprises:
When the attribute information that described first judged result characterizes described differential file does not all mate with the sample attribute in described default sample attribute storehouse, described differential file is presented to user;
Receive the instruction of described user;
Based on described instruction, described differential file is processed.
8. a document handling apparatus, is characterized in that, comprising:
Judge module, for judging whether electronic equipment meets the treatment conditions preset;
Attribute information acquisition module, for when meeting described default treatment conditions, obtain the first attribute information and second attribute information of described electronic equipment file, described file is the file produced when each application runs in described electronic equipment, described first attribute information obtains at the first state point of described electronic equipment, and described second attribute information obtains at the second state point of described electronic equipment;
Differential file acquisition module, for based on described first attribute information and described second attribute information, obtains the differential file that described electronic equipment produces from described first state point to described second state point;
Determination module, for determining pending file destination from described differential file;
Processing module, for processing described pending file destination.
9. device according to claim 8, is characterized in that, described judge module is for judging whether electronic equipment meets the treatment conditions preset, and comprising:
Described judge module specifically for, judge that whether electronic equipment meets the treatment conditions preset, described default treatment conditions comprise: in described electronic equipment, and the storage space that described file takies reaches the first numerical value; And/or the time of the described file of the last process of distance is greater than very first time threshold value; And/or, the signal of preset kind detected.
10. device according to claim 8 or claim 9, is characterized in that, described processing module is used for processing described pending file destination, comprising:
Described processing module specifically for, judge to produce that the application program of described pending file destination is current whether runs, if not, then described pending file destination processed.
11. devices according to Claim 8 described in 9, is characterized in that, described processing module is used for processing described pending file destination, comprising:
Described processing module specifically for, judge whether the last process to described pending file destination is carried out according to the triggering command of user, if not, then processes described pending file destination.
12. devices according to claim 8, it is characterized in that, described differential file acquisition module is used for based on described first attribute information and described second attribute information, obtains the differential file that described electronic equipment produces to described second state point from described first state point, comprising:
Described differential file acquisition module specifically for, contrast the first attribute information and second attribute information of described file; If described second attribute information is different from described first attribute information, then determine that described file is that described electronic equipment runs to the differential file of described second state point generation from described first state point.
13. devices according to claim 8, is characterized in that, described determination module is used for determining pending file destination from described differential file, comprising:
Described determination module specifically for, judge that whether the attribute information of described differential file matches with at least one sample attribute in the sample attribute storehouse of presetting, obtain the first judged result; Based on the first judged result that the attribute information characterizing described differential file matches with at least one sample attribute in the sample attribute storehouse of presetting, determine that described differential file is pending file destination.
14. devices according to claim 13, is characterized in that, described determination module also for:
When the attribute information that described first judged result characterizes described differential file does not all mate with the sample attribute in described default sample attribute storehouse, described file is presented to user;
Described processing module is also for the instruction that receives described user; Based on described instruction, described differential file is processed.
CN201510149672.3A 2015-03-31 2015-03-31 A kind of document handling method and device Active CN104699513B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510149672.3A CN104699513B (en) 2015-03-31 2015-03-31 A kind of document handling method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510149672.3A CN104699513B (en) 2015-03-31 2015-03-31 A kind of document handling method and device

Publications (2)

Publication Number Publication Date
CN104699513A true CN104699513A (en) 2015-06-10
CN104699513B CN104699513B (en) 2018-11-09

Family

ID=53346679

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510149672.3A Active CN104699513B (en) 2015-03-31 2015-03-31 A kind of document handling method and device

Country Status (1)

Country Link
CN (1) CN104699513B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105260438A (en) * 2015-09-30 2016-01-20 联想(北京)有限公司 File management method and electronic device
CN105354229A (en) * 2015-09-30 2016-02-24 联想(北京)有限公司 Information processing method and electronic device
CN108038223A (en) * 2017-12-21 2018-05-15 珠海市君天电子科技有限公司 Garbage files information bank method for building up, garbage files recognition methods and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102760168A (en) * 2012-06-13 2012-10-31 腾讯科技(深圳)有限公司 Method and device for scanning fragmented files
CN103092938A (en) * 2013-01-07 2013-05-08 浙江鸿程计算机系统有限公司 Method for intelligently cleaning garbage file of secure digital (SD) card of Android mobile phone
CN103336925A (en) * 2013-07-29 2013-10-02 腾讯科技(深圳)有限公司 Scanning acceleration method and device
CN103838601A (en) * 2013-11-29 2014-06-04 北京奇虎科技有限公司 Junk data cleaning method and device
CN104239157A (en) * 2014-08-19 2014-12-24 北京奇虎科技有限公司 Method and device for optimizing and cleaning data of mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102760168A (en) * 2012-06-13 2012-10-31 腾讯科技(深圳)有限公司 Method and device for scanning fragmented files
CN103092938A (en) * 2013-01-07 2013-05-08 浙江鸿程计算机系统有限公司 Method for intelligently cleaning garbage file of secure digital (SD) card of Android mobile phone
CN103336925A (en) * 2013-07-29 2013-10-02 腾讯科技(深圳)有限公司 Scanning acceleration method and device
CN103838601A (en) * 2013-11-29 2014-06-04 北京奇虎科技有限公司 Junk data cleaning method and device
CN104239157A (en) * 2014-08-19 2014-12-24 北京奇虎科技有限公司 Method and device for optimizing and cleaning data of mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105260438A (en) * 2015-09-30 2016-01-20 联想(北京)有限公司 File management method and electronic device
CN105354229A (en) * 2015-09-30 2016-02-24 联想(北京)有限公司 Information processing method and electronic device
CN108038223A (en) * 2017-12-21 2018-05-15 珠海市君天电子科技有限公司 Garbage files information bank method for building up, garbage files recognition methods and device

Also Published As

Publication number Publication date
CN104699513B (en) 2018-11-09

Similar Documents

Publication Publication Date Title
CN105335099A (en) Memory cleaning method and terminal
CN105159777A (en) Process memory collection method and apparatus
CN101976209A (en) Adapting configuration for incompatible application programs
CN109033814B (en) Intelligent contract triggering method, device, equipment and storage medium
CN104239518A (en) Repeated data deleting method and device
CN104217161A (en) Virus scanning method and system and terminal device
US20190213198A1 (en) Similarity analyses in analytics workflows
CN104699513A (en) File processing method and device
CN107193498B (en) Method and device for carrying out de-duplication processing on data
CN104461661A (en) Image resource loading method and system
CN105353987A (en) File processing method and device
CN104932933A (en) Spin lock acquisition method and apparatus
CN104965731A (en) Data processing method and electronic terminal
CN103108033A (en) File uploading method and system
KR20150056266A (en) Engine for processing fixed form and non-fixed form bigdata for controlling factory plant method thereof
CN104462940A (en) Monitoring method and device for computer USB interface
CN104484132A (en) Data reduction method and device
CN114297630A (en) Malicious data detection method and device, storage medium and processor
CN110995687B (en) Cat pool equipment identification method, device, equipment and storage medium
CN105426544A (en) Method and device for monitoring state of database
CN107562703B (en) Dictionary tree reconstruction method and system
CN102231747A (en) Method and equipment for obtaining attack message
CN105468494A (en) I/O intensive application identification method
CN111376255A (en) Robot data acquisition method and device and terminal equipment
CN115495740A (en) Virus detection method and device

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