CN104699513B - A kind of document handling method and device - Google Patents
A kind of document handling method and device Download PDFInfo
- Publication number
- CN104699513B CN104699513B CN201510149672.3A CN201510149672A CN104699513B CN 104699513 B CN104699513 B CN 104699513B CN 201510149672 A CN201510149672 A CN 201510149672A CN 104699513 B CN104699513 B CN 104699513B
- Authority
- CN
- China
- Prior art keywords
- file
- attribute information
- electronic equipment
- differential
- pending
- 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.)
- Active
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
This application provides a kind of document handling method and devices, judge whether electronic equipment meets preset treatment conditions, in the case where meeting preset treatment conditions, obtain the first attribute information and the second attribute information of file in electronic equipment, first attribute information is obtained in the first state point of electronic equipment, second attribute information is obtained in the second state point of electronic equipment, based on first attribute information and second attribute information, obtain the differential file that electronic equipment is generated from first state o'clock to the second state point, pending file destination is determined from differential file, and pending file destination is handled.As it can be seen that method and device described herein, determines pending file destination from differential file, rather than determined from overall file, so, specifically, when carrying out the processing of the files such as cleaning garbage files, the time of file process consuming can be saved, the experience of user is improved.
Description
Technical field
This application involves electronic information field more particularly to a kind of document handling methods and device.
Background technology
In the electronic device, during application program is run, it will usually generate garbage files, garbage files can lower
The speed of service of system, thus, it is necessary to clear up garbage files.
And existing cleaning garbage files technology is required to the system to electronic equipment when carrying out rubbish cleaning every time
Scan full hard disk is carried out, with the fileinfo in acquisition system, and this undoubtedly needs to spend longer time, consumes a large amount of system
Resource causes poor usage experience to user.
Invention content
This application provides a kind of document handling method and devices, it is therefore intended that solves cleaning garbage files needs and sweeps totally
The problem of time-consuming caused by retouching.
To achieve the goals above, this application provides following technical schemes:
A kind of document handling method, including:
Judge whether electronic equipment meets preset treatment conditions;
In the case where meeting the preset treatment conditions, the first attribute information of file in the electronic equipment is obtained
The file generated when being each application operation in the electronic equipment with the second attribute information, the file, first attribute
Information is obtained in the first state point of the electronic equipment, second state point of second attribute information in the electronic equipment
It obtains;
Based on first attribute information and second attribute information, the electronic equipment is obtained from the first state
The differential file that point is generated to second state point;
Pending file destination is determined from the differential file;
The pending file destination is handled.
Optionally, the preset treatment conditions include:
In the electronic equipment, the memory space that the file occupies reaches the first numerical value;
And/or the distance last time for handling the file is more than first time threshold;
And/or detect the signal of preset kind.
Optionally, it is described to the pending file destination carry out processing include:
Judge whether the application program for generating the pending file destination is currently currently running, if it is not, then to institute
Pending file destination is stated to be handled.
Optionally, it is described to the pending file destination carry out processing include:
Judge whether the triggering command of foundation user carries out for the last processing to the pending file destination, if
It is no, then the pending file destination is handled.
Optionally, it is described be based on first attribute information and second attribute information, obtain the electronic equipment from
The differential file that the first state point is generated to second state point includes:
Compare the first attribute information and the second attribute information of the file;
If second attribute information is different from first attribute information, it is determined that the file is that the electronics is set
It is standby that the differential file that second state point generates is run to from the first state point.
Optionally, described to determine that pending file destination includes from the differential file:
Judge the differential file attribute information whether at least one sample attribute in preset sample attribute library
Match, obtains the first judging result;
Based on the attribute information and at least one sample attribute in preset sample attribute library for characterizing the differential file
The first judging result to match determines that the differential file is pending file destination.
Optionally, further include:
In attribute information and the preset sample attribute library that first judging result characterizes the differential file
Sample attribute when mismatching, the differential file is presented to the user;
Receive the instruction of the user;
The differential file is handled based on described instruction.
A kind of document handling apparatus, including:
Judgment module, for judging whether electronic equipment meets preset treatment conditions;
Attribute information acquisition module is set in the case where meeting the preset treatment conditions, obtaining the electronics
The first attribute information and the second attribute information of standby middle file, the file produce when being each application operation in the electronic equipment
Raw file, first attribute information are obtained in the first state point of the electronic equipment, and second attribute information is in institute
The second state point for stating electronic equipment obtains;
Differential file acquisition module, for being based on first attribute information and second attribute information, described in acquisition
The differential file that electronic equipment is generated from the first state point to second state point;
Determining module, for determining pending file destination from the differential file;
Processing module, for handling the pending file destination.
Optionally, the judgment module is used to judge whether electronic equipment meets preset treatment conditions, including:
The judgment module is specifically used for, and judges whether electronic equipment meets preset treatment conditions, the preset place
Manage bar part includes:In the electronic equipment, the memory space that the file occupies reaches the first numerical value;And/or apart from upper one
The time of the secondary processing file is more than first time threshold;And/or detect the signal of preset kind.
Optionally, the processing module is used to handle the pending file destination, including:
The processing module is specifically used for, and whether just to judge to generate the application program of the pending file destination currently
It is running, if it is not, then handling the pending file destination.
Optionally, the processing module is used to handle the pending file destination, including:
Whether the processing module is specifically used for, judge the last processing to the pending file destination according to use
The triggering command at family carries out, if it is not, then handling the pending file destination.
Optionally, the differential file acquisition module is used to believe based on first attribute information and second attribute
Breath, obtains the differential file that the electronic equipment is generated from the first state point to second state point, including:
The differential file acquisition module is specifically used for, and compares the first attribute information and the second attribute letter of the file
Breath;If second attribute information is different from first attribute information, it is determined that the file be the electronic equipment from
The first state point runs to the differential file that second state point generates.
Optionally, the determining module is used to determine pending file destination from the differential file, including:
The determining module is specifically used for, judge the differential file attribute information whether with preset sample attribute library
In at least one sample attribute match, obtain the first judging result;Based on characterize the attribute information of the differential file with
The first judging result that at least one sample attribute in preset sample attribute library matches determines that the differential file is to wait for
The file destination of processing.
Optionally, the determining module is additionally operable to:
In attribute information and the preset sample attribute library that first judging result characterizes the differential file
Sample attribute when mismatching, the file is presented to the user;
The processing module is additionally operable to:Receive the instruction of the user;The differential file is carried out based on described instruction
Processing.
Document handling method and device described herein, judge whether electronic equipment meets preset treatment conditions,
In the case of meeting preset treatment conditions, the first attribute information and the second attribute information of file in electronic equipment are obtained, the
One attribute information is obtained in the first state point of electronic equipment, and the second attribute information is obtained in the second state point of electronic equipment,
Based on first attribute information and second attribute information, obtains electronic equipment and produced from first state o'clock to the second state point
Raw differential file determines pending file destination from differential file, and handles pending file destination.It can
See, method and device described herein, pending file destination is determined from differential file, rather than from overall file
It determines, so, specifically, when carrying out the processing of the files such as cleaning garbage files, the time of file process consuming can be saved,
Improve the experience of user.
Description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with
Obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of flow chart of document handling method disclosed in the embodiment of the present application;
Fig. 2 is the flow chart of another document handling method disclosed in the embodiment of the present application;
Fig. 3 is the flow chart of another document handling method disclosed in the embodiment of the present application;
Fig. 4 is a kind of structural schematic diagram of document handling apparatus disclosed in the embodiment of the present application.
Specific implementation mode
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall in the protection scope of this application.
A kind of document handling method disclosed in the embodiment of the present application can be applied in the electronic device, in electronic equipment
File handled.As shown in Figure 1, the method following steps described in the present embodiment:
S101:Judge whether electronic equipment meets preset treatment conditions;
S102:In the case where meeting the preset treatment conditions, the first category of file in the electronic equipment is obtained
Property information and the second attribute information terminate process if being unsatisfactory for preset treatment conditions;
Wherein, the file generated when the file is each application operation in the electronic equipment, the first attribute letter
The first state point ceased in the electronic equipment obtains, and second attribute information is obtained in the second state point of the electronic equipment
?;
In the present embodiment, the first attribute information and the second attribute information of file can be in advance by monitoring electronics in real time
The operating condition of application in equipment, the letter of the attribute for the file that when application operation being obtained and stored in electronic equipment generates
Breath, alternatively, the first attribute information and the second attribute information of file can be based on the snapshot etc. to bibliographic structure.
" file " file newly-generated when may include each application operation in electronic equipment can also include electricity
The file changed when each application operation in sub- equipment.
First attribute information is obtained in the first state point of the electronic equipment, and second attribute information is described
Second state point of electronic equipment obtains, and specifically, first state point can be the first moment, then when the second state point is second
It carves, alternatively, first state point can be some state of electronic equipment operating parameter, the second state point is then that electronic equipment is run
Another state of parameter, for example, the utilization rate that first state point is the CPU of electronic equipment reaches the first numerical value (such as 30%)
State point, the second state point can be that the utilization rate of the CPU of electronic equipment reach the state point of second value (such as 60%).
In the present embodiment, the state setting that preset treatment conditions can be current according to electronic equipment, for example, electronic equipment
Calculating speed be less than first threshold, memory usage is more than second threshold, the size of existing file is more than in electronic equipment
Third threshold value, the time handled apart from last time are more than the 4th threshold value etc..It is intended that the current fortune based on electronic equipment
Row state is the processing basis of design of file so that the processing of file can be that the operation of electronic equipment matches.For example, working as
When the calculating speed of electronic equipment is less than first threshold, illustrate that the file in electronic equipment may occupy excessive space, institute
To need to handle file.
S103:The first attribute information based on the file and the second attribute information obtain electronic equipment from first state
The differential file that point is generated to second state point;In the present embodiment, belong in the first attribute information of known file and second
In the case of property information, obtaining the specific implementation of differential file can be:Compare the first attribute information of All Files with
Whether the second attribute information is identical, and wherein attribute information may include file attribute information and corresponding operation Process Attributes letter
Breath, file attribute information may include title, size, type, renewal time of file etc., and operation Process Attributes information can wrap
The mark of process is included, the operation (such as modification operation, newly-built operation etc.) etc. that process carries out, if the two is identical, it is determined that text
Part is non-differential file, if the two is different, it is determined that corresponding file is differential file.Can also be:Believe in the second attribute
The attribute information different from the first attribute information is determined in breath, obtains file corresponding with the attribute information, these files
It is determined as differential file.
S104:Pending file destination is determined from differential file;
In the present embodiment, determine that the specific implementation of pending file destination can be from differential file:Difference
The second attribute information (or first attribute information) of file includes the type label of file, and type label file-based is looked for
To certain type of file, determine that such file is pending file destination;Alternatively, the second attribute according to file
Information (or first attribute information), analyzes file type, according to file type, determines pending file destination.
S105:Pending file destination is handled.
Method described in the present embodiment can be used in in the several scenes of file process:
For example, can apply in the backup procedure of vital document:Judge that electronic equipment meets preset backup condition
In the case of, the first attribute information based on the file stored in electronic equipment and the second attribute information obtain electronic equipment from the
One moment ran to the differential file of the second moment generation, then the file for needing to back up is determined from differential file, then by this
A little files are backed up.
Alternatively, applying during the protection of vital document:Judge the case where electronic equipment meets preset treatment conditions
Under, the first attribute information based on the file stored in electronic equipment and the second attribute information, obtain electronic equipment from first when
The differential file for running to the generation of the second moment is carved, determination needs document to be protected, then in some way by this file
It is protected.
Alternatively, can be applied in the processing procedure of garbage files:Judge that electronic equipment meets preset garbage files
In the case of cleaning condition, the first attribute information based on the file stored in electronic equipment and the second attribute information obtain electricity
The differential file that sub- equipment generates when running to cpu busy percentage 60% from cpu busy percentage 30% is determined from differential file and is waited for clearly
The garbage files of reason, then these garbage files are cleared up.
Method described in the present embodiment determines pending file destination from differential file, so, it is possible to reduce text
The workload of part retrieval improves the efficiency of file process to save the time of file process.
Also, it because being executed without artificial triggering, but can be triggered to file according to the current state of electronic equipment
Processing is conducive to improve electronic equipment and transport thus it is possible to so that the file handling procedure state current with electronic equipment matches
Capable efficiency.
Another document handling method disclosed in the embodiment of the present application, in the present embodiment, by taking the processing of garbage files as an example
It illustrates.As shown in Fig. 2, including the following steps:
S201:Judge whether electronic equipment meets preset treatment conditions;
In the present embodiment, preset treatment conditions can include but is not limited at least one of following:In the electronic equipment
In, the memory space that the file occupies reaches the first numerical value;When the distance last time for handling the file is more than first
Between threshold value;Detect the signal of preset kind.
Wherein, the first numerical value can be arranged according to the maximum storage of electronic equipment, for example, can be for electronic equipment most
The 80% of large buffer memory, when the memory space that file occupies reaches this data, it is generally the case that electronic equipment can be influenced
The speed of service, it is therefore desirable to delete garbage files.
The workload that first time threshold can be run according to electronic equipment is configured, and is reached in electronic equipment run time
To after first time threshold, a large amount of garbage files may be will produce, therefore, it is necessary to clear up garbage files.
The signal of preset kind can be the signal that triggering electronic equipment enters some state, for example, screen locking signal, in electricity
After sub- equipment carries out screen lock state, the garbage files in electronic equipment are handled, can be run to avoid with electronic equipment
Application program share computing resource.
S202:In the case where meeting the preset treatment conditions, the first category of file in the electronic equipment is obtained
Property information and the second attribute information, and the first attribute information (including the first file attribute information and first based on the file
Process Attributes information) and the second attribute information (including the first file attribute information and first Process Attributes information), described in acquisition
The differential file that electronic equipment is generated from the first state point to second state point;
In the present embodiment, first state point can be the last time at the time of clear up the rubbish time, and the second state point can be with
For predetermined time, in practical applications, interval between the two can be determined according to the practical operation situation of electronic equipment, if
Electronic equipment operation application it is more, then there may be more garbage files, in the case, interval can set compared with
It is small.
In the present embodiment, in the case of the first attribute information of known file and the second attribute information, difference text is obtained
The specific implementation of part can be:Whether the first attribute information and the second attribute information for comparing All Files are identical, if
The two is identical, it is determined that file is non-differential file, if the two is different, it is determined that corresponding file is differential file.Also may be used
To be:The attribute information different from the first attribute information is determined in the second attribute information, is obtained corresponding with the attribute information
File, these files can be identified as differential file.S203:Pending garbage files are determined from differential file;
Because the determination of garbage files usually requires the file attribute information and Process Attributes information using file,
In the present embodiment, attribute information may include file attribute information and Process Attributes information.
Wherein, file attribute information may include file name, in addition to this, can also include the size of file, be held
The information such as capable operation (such as increase, delete, change), operation duration.Process Attributes information representation operates file
Relevant information, may include the mark of process, such as the number (pid) of process can also include its of process in addition to this
Its attribute information, such as user name etc. are used to describe the information of the attribute of process.Also, Process Attributes information and file attribute letter
The corresponding storage of breath is in the electronic device.
S204:Judge generate garbage files application program currently whether be currently running, if so, end processing process or
S205 is executed after waiting for application program to terminate operation, if not, executing S205;
S205:The garbage files are deleted.
Method described in the present embodiment, using differential file the searching as garbage files generated in a period of time inner electronic equipment
Rope range during avoiding cleaning garbage files situation, the case where needing to carry out scan full hard disk and user's triggering, improves rubbish
Rubbish document processing speeds and efficiency, and it is user-friendly.
Another document handling method disclosed in the embodiment of the present application, as shown in figure 3, including the following steps:
S301:Judge whether electronic equipment meets preset treatment conditions;
S302:In the case where meeting the preset treatment conditions, the first category of file in the electronic equipment is obtained
Property information and the second attribute information;
S303:Compare the first attribute information and the second attribute information of the file;
S304:If second attribute information is different from first attribute information, it is determined that the file is difference
File;
S305:Judge the differential file attribute information whether at least one sample in preset sample attribute library
Attribute matches, and obtains the first judging result, if the first judging result characterizes the attribute information of the differential file and presets
Sample attribute library at least one sample attribute match, execute S306, otherwise, execute S309;
S306:Based on the attribute information and at least one sample in preset sample attribute library for characterizing the differential file
The first judging result that attribute matches determines that the file is pending file destination;
S307:Judge whether the triggering command of foundation user carries out for the last processing to pending file destination, such as
Fruit is no, executes S308, if it is, without processing;
If the last time carries out the processing of pending file destination according to the triggering command of user, illustrate that user has hand
The demand of dynamic triggering file process, then this, still waits for the triggering command of user, and exits automatic mode, to " intelligence
The demand of energy " perception user, improves the experience of user.
S308:The pending file destination is handled;
S309:The file is presented to the user;
S310:Receive the instruction of the user;
S311:The file is handled based on described instruction.
In the processing procedure of file, when each sample attribute in the sample attribute library of file with the attribute of file
When information mismatches, this file is presented to and is used for, handled according to the instruction of user, so as to avoid missing not with
File in sample attribute storehouse matching.
For example, in the processing procedure of garbage files, if after carrying out matching comparison using sample attribute library, file is not
Garbage files then will also give user's identification, if user is identified as garbage files, can input cleaning instruction, equally may be used
To ensure that garbage files are cleared up in time.
With above method embodiment correspondingly, the embodiment of the present application also provides a kind of document handling apparatus, such as Fig. 4 institutes
Show, including:
Judgment module 401, for judging whether electronic equipment meets preset treatment conditions;
In the present embodiment, specifically, the preset treatment conditions include:In the electronic equipment, the file accounts for
Memory space reaches the first numerical value;And/or the distance last time for handling the file is more than first time threshold;
And/or detect the signal of preset kind.
Attribute information acquisition module 402, in the case where meeting the preset treatment conditions, obtaining the electronics
The first attribute information and the second attribute information of file in equipment, when the file is each application operation in the electronic equipment
The file of generation, first attribute information are obtained in the first state point of the electronic equipment, and second attribute information exists
Second state point of the electronic equipment obtains;
Differential file acquisition module 403 obtains institute for being based on first attribute information and second attribute information
State the differential file that electronic equipment is generated from the first state point to second state point;
Determining module 404, in the case where meeting the preset treatment conditions, the attribute based on the file to be believed
Breath, determines pending file destination;
Processing module 405, for handling the pending file destination.
In the present embodiment, specifically, a kind of specific reality that processing module handles the pending file destination
Now mode can be:Judge whether the application program for generating the pending file destination is currently currently running, if it is not, then
The pending file destination is handled.
Another specific implementation can be:Judge the last processing to the pending file destination whether according to
It is carried out according to the triggering command of user, if it is not, then handling the pending file destination.
Optionally, in the present embodiment, the differential file acquisition module is based on first attribute information and described second
Attribute information obtains the specific of the differential file that the electronic equipment is generated from the first state point to second state point
Realization method can be:Compare the first attribute information and the second attribute information of the file;If second attribute information
It is different from first attribute information, it is determined that the file runs to for the electronic equipment from the first state point described
The differential file that second state point generates.
Determining module determines that the specific implementation of pending file destination can be from differential file:Described in judgement
Whether the attribute information of file difference matches at least one sample attribute in preset sample attribute library, obtains first and sentences
Disconnected result;Based on the attribute information and at least one sample attribute phase in preset sample attribute library for characterizing the differential file
Matched first judging result determines that the differential file is pending file destination;It is characterized in first judging result
When the attribute information of the differential file is mismatched with the sample attribute in the preset sample attribute library, by the difference
File is presented to the user;
In these cases, the processing module can be also used for:Receive the instruction of the user;Based on described instruction pair
The differential file is handled.
Device described in the present embodiment, because executing the processing procedure of file without artificial triggering, but according to electronics
The current state of equipment can be handled file taking human as triggering, thus it is possible to so that file handling procedure and electronic equipment
Current state matches, and is conducive to the efficiency for improving electronic equipment operation.
In document handling apparatus described in the present embodiment, it can apply in the system of electronic equipment, meanwhile, in system
In, can also include the acquisition device of the attribute information for file, the document handling apparatus and file described in the present embodiment
The acquisition device of attribute information is used cooperatively, state that can be current according to electronic equipment, to what is generated in application operational process
File is handled.
Device described in the present embodiment can also be integrally disposed in document handling system, in the document handling system,
May include the existing device that file process is carried out based on scan full hard disk, such as existing garbage files processing unit, this reality
Apply state described in example, can be current according to electronic equipment carry out automatically file process device and rely on user trigger manually
The device for carrying out file process, is complementary to one another, and user can use the processing that instruction selects any one mode to carry out file, from
And improve the experience of user.
If the function described in the embodiment of the present application method is realized in the form of SFU software functional unit and as independent production
Product are sold or in use, can be stored in a computing device read/write memory medium.Based on this understanding, the application is real
Applying the part of a part that contributes to existing technology or the technical solution can be expressed in the form of software products,
The software product is stored in a storage medium, including some instructions are used so that a computing device (can be personal meter
Calculation machine, server, mobile computing device or network equipment etc.) execute each embodiment the method for the application whole or portion
Step by step.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), with
Machine accesses various Jie that can store program code such as memory (RAM, Random Access Memory), magnetic disc or CD
Matter.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with it is other
The difference of embodiment, just to refer each other for same or similar part between each embodiment.
The foregoing description of the disclosed embodiments enables professional and technical personnel in the field to realize or use the application.
Various modifications to these embodiments will be apparent to those skilled in the art, as defined herein
General Principle can in other embodiments be realized in the case where not departing from spirit herein or range.Therefore, the application
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest range caused.
Claims (14)
1. a kind of document handling method, which is characterized in that including:
Judge whether electronic equipment meets preset treatment conditions;
In the case where meeting the preset treatment conditions, the first attribute information and of file in the electronic equipment is obtained
Two attribute informations, the file is newly-generated when being each application operation in the electronic equipment and/or the file of modification, and described the
One attribute information is obtained in the first state point of the electronic equipment, and second attribute information is the second of the electronic equipment
State point obtains;
Based on first attribute information and second attribute information, obtain the electronic equipment from the first state point to
The differential file that second state point generates;The differential file be file the first attribute information and the second attribute information not
Same file;
Pending file destination is determined from the differential file;
The pending file destination is handled.
2. according to the method described in claim 1, it is characterized in that, the preset treatment conditions include:
In the electronic equipment, the memory space that the file occupies reaches the first numerical value;
And/or the distance last time for handling the file is more than first time threshold;
And/or detect the signal of preset kind.
3. method according to claim 1 or 2, which is characterized in that it is described to the pending file destination at
Reason includes:
Judge whether the application program for generating the pending file destination is currently currently running, if it is not, then waiting for described
The file destination of processing is handled.
4. method according to claim 1 or 2, which is characterized in that it is described to the pending file destination at
Reason includes:
Judge whether the triggering command of foundation user carries out for the last processing to the pending file destination, if not,
Then the pending file destination is handled.
5. according to the method described in claim 1, it is characterized in that, described belonged to based on first attribute information with described second
Property information, obtaining the differential file that the electronic equipment is generated from the first state point to second state point includes:
Compare the first attribute information and the second attribute information of the file;
If second attribute information is different from first attribute information, it is determined that the file be the electronic equipment from
The first state point runs to the differential file that second state point generates.
6. according to the method described in claim 1, it is characterized in that, described determine pending target from the differential file
File includes:
Judge the differential file attribute information whether at least one sample attribute phase in preset sample attribute library
Match, obtains the first judging result;
Based on the attribute information and at least one sample attribute phase in preset sample attribute library for characterizing the differential file
The first judging result matched determines that the differential file is pending file destination.
7. according to the method described in claim 6, it is characterized in that, further including:
The attribute information and the sample in the preset sample attribute library for characterizing the differential file in first judging result
When this attribute mismatches, the differential file is presented to the user;
Receive the instruction of the user;
The differential file is handled based on described instruction.
8. a kind of document handling apparatus, which is characterized in that including:
Judgment module, for judging whether electronic equipment meets preset treatment conditions;
Attribute information acquisition module, in the case where meeting the preset treatment conditions, obtaining in the electronic equipment
The first attribute information and the second attribute information of file, the file are newly-generated when being each application operation in the electronic equipment
And/or the file of modification, first attribute information are obtained in the first state point of the electronic equipment, the second attribute letter
The second state point ceased in the electronic equipment obtains;
Differential file acquisition module obtains the electronics for being based on first attribute information and second attribute information
The differential file that equipment is generated from the first state point to second state point;The differential file is the first category of file
The property information file different with the second attribute information;
Determining module, for determining pending file destination from the differential file;
Processing module, for handling the pending file destination.
9. device according to claim 8, which is characterized in that the judgment module is for judging whether electronic equipment meets
Preset treatment conditions, including:
The judgment module is specifically used for, and judges whether electronic equipment meets preset treatment conditions, the preset processing item
Part includes:In the electronic equipment, the memory space that the file occupies reaches the first numerical value;And/or at the distance last time
The time for managing the file is more than first time threshold;And/or detect the signal of preset kind.
10. device according to claim 8 or claim 9, which is characterized in that the processing module is used for the pending mesh
Mark file is handled, including:
The processing module is specifically used for, and judges whether the application program for generating the pending file destination is currently transporting
Row, if it is not, then handling the pending file destination.
11. device according to claim 8 or claim 9, which is characterized in that the processing module is used for the pending mesh
Mark file is handled, including:
Whether the processing module is specifically used for, judge the last processing to the pending file destination according to user's
Triggering command carries out, if it is not, then handling the pending file destination.
12. device according to claim 8, which is characterized in that the differential file acquisition module is used for based on described the
One attribute information and second attribute information obtain the electronic equipment from the first state point to second state point
The differential file of generation, including:
The differential file acquisition module is specifically used for, and compares the first attribute information and the second attribute information of the file;Such as
Second attribute information described in fruit is different from first attribute information, it is determined that the file is the electronic equipment from described the
One state point runs to the differential file that second state point generates.
13. device according to claim 8, which is characterized in that the determining module is used for from the differential file really
Fixed pending file destination, including:
The determining module is specifically used for, judge the differential file attribute information whether in preset sample attribute library
At least one sample attribute matches, and obtains the first judging result;Based on the attribute information for characterizing the differential file and preset
Sample attribute library in the first judging result for matching of at least one sample attribute, determine that the differential file is pending
File destination.
14. device according to claim 13, which is characterized in that the determining module is additionally operable to:
The attribute information and the sample in the preset sample attribute library for characterizing the differential file in first judging result
When this attribute mismatches, the file is presented to the user;
The processing module is additionally operable to:Receive the instruction of the user;The differential file is handled based on described instruction.
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 CN104699513A (en) | 2015-06-10 |
CN104699513B true 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) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105260438A (en) * | 2015-09-30 | 2016-01-20 | 联想(北京)有限公司 | File management method and electronic device |
CN105354229B (en) * | 2015-09-30 | 2019-07-26 | 联想(北京)有限公司 | A kind of information processing method and electronic equipment |
CN108038223A (en) * | 2017-12-21 | 2018-05-15 | 珠海市君天电子科技有限公司 | Garbage files information bank method for building up, garbage files recognition methods and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102760168A (en) * | 2012-06-13 | 2012-10-31 | 腾讯科技(深圳)有限公司 | Method and device for scanning fragmented files |
CN103336925A (en) * | 2013-07-29 | 2013-10-02 | 腾讯科技(深圳)有限公司 | Scanning acceleration method and device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103092938A (en) * | 2013-01-07 | 2013-05-08 | 浙江鸿程计算机系统有限公司 | Method for intelligently cleaning garbage file of secure digital (SD) card of Android mobile phone |
CN103838601B (en) * | 2013-11-29 | 2017-04-19 | 北京奇虎科技有限公司 | Junk data cleaning method and device |
CN104239157B (en) * | 2014-08-19 | 2017-05-03 | 北京奇虎科技有限公司 | Method and device for optimizing and cleaning data of mobile terminal |
-
2015
- 2015-03-31 CN CN201510149672.3A patent/CN104699513B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102760168A (en) * | 2012-06-13 | 2012-10-31 | 腾讯科技(深圳)有限公司 | Method and device for scanning fragmented files |
CN103336925A (en) * | 2013-07-29 | 2013-10-02 | 腾讯科技(深圳)有限公司 | Scanning acceleration method and device |
Also Published As
Publication number | Publication date |
---|---|
CN104699513A (en) | 2015-06-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105357038B (en) | Monitor the method and system of cluster virtual machine | |
US20120297393A1 (en) | Data Collecting Method, Data Collecting Apparatus and Network Management Device | |
CN103092938A (en) | Method for intelligently cleaning garbage file of secure digital (SD) card of Android mobile phone | |
US9886195B2 (en) | Performance-based migration among data storage devices | |
CN104520815A (en) | Method, device and equipment for task scheduling | |
US20120084028A1 (en) | Framework and Methodology for a Real-Time Fine-Grained Power Profiling with Integrated Modeling | |
CN104932963B (en) | The method and device of management terminal | |
CN104699513B (en) | A kind of document handling method and device | |
US20100106436A1 (en) | Power consumption calculation facility | |
US8539453B2 (en) | Autonomic I/O tracing and performance tuning | |
US20150186246A1 (en) | Including kernel object information in a user dump | |
CN105426544B (en) | Method and device for monitoring database state | |
Maroulis et al. | A holistic energy-efficient real-time scheduler for mixed stream and batch processing workloads | |
CN107798039A (en) | A kind of method of data synchronization and device | |
CN103108033A (en) | File uploading method and system | |
CN104915252B (en) | A kind of process port management means and method | |
US8521855B2 (en) | Centralized server-directed power management in a distributed computing system | |
CN106961490A (en) | A kind of resource monitoring method and system, a kind of home server | |
CN112835662A (en) | Virtual machine operation and maintenance method, system, equipment and computer medium under desktop cloud scene | |
CN115794479B (en) | Log data processing method and device, electronic equipment and storage medium | |
CN115907993A (en) | Financial derivative quantitative transaction system | |
CN112714163B (en) | Data transmission method, device, electronic equipment and medium | |
CN114968558A (en) | Memory cleaning method and related equipment | |
CN103106366B (en) | A kind of sample database dynamic maintaining method based on cloud | |
JP6201053B2 (en) | Feature data management system and feature data management method |
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 |