CN103473343A - File management method, device and terminal - Google Patents

File management method, device and terminal Download PDF

Info

Publication number
CN103473343A
CN103473343A CN2013104356769A CN201310435676A CN103473343A CN 103473343 A CN103473343 A CN 103473343A CN 2013104356769 A CN2013104356769 A CN 2013104356769A CN 201310435676 A CN201310435676 A CN 201310435676A CN 103473343 A CN103473343 A CN 103473343A
Authority
CN
China
Prior art keywords
file
deleted
frequency
file operation
management
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.)
Pending
Application number
CN2013104356769A
Other languages
Chinese (zh)
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.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN2013104356769A priority Critical patent/CN103473343A/en
Publication of CN103473343A publication Critical patent/CN103473343A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the invention discloses a file management method. The file management method comprises the following steps of judging whether the conditions of triggering file management are currently met or not; if the conditions of triggering the file management are currently met, acquiring file operation information in a current storage space; acquiring target management files according to the file operation information. Correspondingly, the embodiment of the invention also discloses a file management device and a terminal. By the adoption of the file management method, the file management device and the terminal, the target management files are acquired according to the file operation information and can be automatically provided for a user, so that the user can acquire a file needing to be operated from the target management files, a selection range is reduced, the file acquisition efficiency is improved, and the experience of the user is improved.

Description

A kind of file management method, device and terminal
Technical field
The present invention relates to field of computer technology, relate in particular to a kind of file management method, device and terminal.
Background technology
Intelligent terminal is along with user's growth of service time, and the file in storage space such as program file, media file and electronic book documentary etc. can be more and more.Current disclosed file management method needs the user to utilize the application of file manager and so on, the establishment that the combined with intelligent terminal provides again, delete, read and write interface manually the file of storage space to be managed, described file management method can not be recommended management target file for the user automatically according to user's use habit, reduced file acquisition efficiency, made poor user experience.
Summary of the invention
The embodiment of the present invention provides a kind of file management method, device and terminal, according to the file operation acquisition of information management target file acquired, improves file acquisition efficiency, strengthens the user and experiences.
The embodiment of the present invention provides a kind of file management method, comprising:
Judge the current condition that triggers file management that whether meets;
If the condition of current satisfied triggering file management is obtained the file operation information in current memory space;
According to described file operation acquisition of information management target file.
Correspondingly, the embodiment of the present invention also provides a kind of document management apparatus, comprising:
The first judge module, for judging the current condition that triggers file management that whether meets;
File operation acquisition of information module, if obtain the file operation information of current memory space for the condition of the current satisfied triggering file management of described the first judge module judgement;
The management target file acquisition module, for the file operation acquisition of information management target file acquired according to described file operation acquisition of information module.
Correspondingly, the embodiment of the present invention also provides a kind of terminal device, comprising: the described document management apparatus of above-described embodiment and display, described document management apparatus is connected with described display.
Implement the embodiment of the present invention, by obtaining the file operation information in current memory space, according to described file operation acquisition of information management target file, realized automatically for the user, providing management target file, make the user can in described management target file, obtain the file that needs operation, reduced range of choice, thereby improved file acquisition efficiency, strengthened the user and experience.
The accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, in below describing embodiment, the accompanying drawing of required use is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the process flow diagram of a kind of file management method of providing of the embodiment of the present invention;
Fig. 2 is the process flow diagram of a kind of file management method to be deleted of providing of the embodiment of the present invention;
Fig. 3 is the process flow diagram of a kind of file management method to be opened of providing of the embodiment of the present invention;
Fig. 4 is the structural representation of a kind of document management apparatus of providing of the embodiment of the present invention;
Fig. 5 is the structural representation of the management target file acquisition module that provides of the embodiment of the present invention;
Fig. 6 is the structural drawing of a kind of terminal device of providing of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making under the creative work prerequisite the every other embodiment obtained, belong to the scope of protection of the invention.
Refer to Fig. 1, described file management method can realize take smart mobile phone as example on equipment such as smart mobile phone, notebook computer and panel computer, and the file management method in the present embodiment can comprise as shown in the figure:
S110, judge the current condition that triggers file management that whether meets.
Concrete, meet the condition that triggers file management and comprise following any one situation:
During system initialization, be i.e. during each smart mobile phone start, can trigger and carry out file management;
While getting user's file management instruction, smart mobile phone can provide for the user button or the icon of file management, to obtain user's file management instruction;
Reach default file during the management cycle, the user can arrange the file management cycle (such as 1 day, 4 days and 7 days etc.), and when reaching default file during the management cycle, smart mobile phone carries out file management with regard to triggering.
When smart mobile phone gets above any one situation, just judge the condition of current satisfied triggering file management, trigger and obtain the file control information in current memory space.
S120, if the condition of current satisfied triggering file management is obtained the file operation information in current memory space.
Concrete, described file operation information comprises file operation time and file operation frequency, the described file operation time can be the time of the last operation of file.
As a kind of optional embodiment, before the file operation information of smart mobile phone in obtaining current memory space, can monitor the reading and writing of file of storage space, and the fileinfo that monitoring is obtained (as current running time, file type etc.) is kept in the database set in advance.When the condition of current satisfied triggering file management, the file operation information of the file of smart mobile phone obtain current memory space in described database in, described file operation information is the accumulative total of the fileinfo that obtains of monitoring respective file.
S130, according to described file operation acquisition of information management target file.
Further, this management target file comprises file to be deleted or file to be opened in storage space.
If this management target file comprises file to be deleted in storage space, smart mobile phone carries out the frequency sequence by the file of storage space from low to high according to the file operation frequency, the file that described file operation frequency is identical sequentially carries out the order sequence according to the file operation time order and function, make the listed files that obtains file to be deleted, the time that the described file operation time is the last operation of file.
Further, remove system file and/or application execute file in the listed files of described file to be deleted, described system file comprises the file that when system is received initialization, record obtains.The fileinfo that when wherein, the removal system file comprises according to system initialization first in the listed files of described file to be deleted, record obtains is removed system file in the listed files of described file to be deleted.During system initialization first, in smart mobile phone scanning storage space, the state of All Files, be defaulted as system file by the current file in read-write state, and the fileinfo of described system file be saved in presetting database.When smart mobile phone gets the listed files of file to be deleted, detect in the listed files of described file to be deleted whether have system file, if system file is removed from the listed files of described file to be deleted.
Wherein, the file that described application execute file must exist for carrying out application (such as bluetooth, QQ and file manager etc.).For example, if the user needs the normal QQ of use, in smart mobile phone, must there is the QQ application file, described QQ application file is the application execute file, and the data that generate when for example QQ local cache file and QQ user profile file are carried out the QQ application program in order to store create, therefore, QQ local cache file and QQ user profile file are not the application execute files.Need to remove the application execute file in the listed files of file to be deleted, so that the user can the normal running application.
As a kind of optional embodiment, when smart mobile phone gets the listed files of file to be deleted, whether the file accumulated bytes number that can judge described file to be deleted reaches predetermined threshold value, if, according to the listed files of described file to be deleted, delete successively the file to be deleted in storage space, until in described file to be deleted, the file accumulated bytes number of remaining file to be deleted is less than described predetermined threshold value, smart mobile phone stops this deletion, described predetermined threshold value can be arranged by the user, smart mobile phone also can be according to the internal memory Lookup protocol of storage space.For example, save as 1G in storage space, smart mobile phone Lookup protocol predetermined threshold value is 100M, when smart mobile phone gets the listed files of file to be deleted, obtain the file accumulated bytes number of file to be deleted, if the file accumulated bytes number of described file to be deleted is 120M, according to the listed files of described file to be deleted, delete successively the file to be deleted in storage space, until in described file to be deleted, the file accumulated bytes number of remaining file to be deleted is less than 100M.
As a kind of optional embodiment, smart mobile phone can show the user by the listed files of the described file to be deleted that acquires, when getting the user for the OPEN of the listed files of described file to be deleted, open the file destination that the user selects in the listed files of file to be deleted, whether can delete so that the user confirms the file destination of selecting.
When if this management target file comprises in storage space file to be opened, smart mobile phone carries out the frequency sequence by the file of storage space from high to low according to the file operation frequency, the file that described file operation frequency is identical sequentially carries out Bit-reversed according to the file operation time order and function, obtain the listed files of file to be opened, the described file operation time can be the time of the last operation of file.
Further, remove file and/or the application executing data file do not operated in the listed files of described file to be opened in Preset Time.Wherein, described Preset Time can be user-defined time (such as 3 days, 4 days and 7 days etc.), and smart mobile phone can be removed the time of the last operation of file and the file interval greater than Preset Time of current time from the listed files of file to be opened.
Wherein, described application executing data file is the file of the data creation of generation while being the application program execution, for example, when the QQ application is carried out, smart mobile phone can create QQ local cache file automatically, the message obtained for storing received, because the operating frequency of QQ local cache file can increase and increase along with the user uses the operating frequency of QQ application, but described QQ local cache file is not the file that the user need to open, therefore, need in the listed files of described file to be opened, remove application executing data file.
As a kind of optional embodiment, smart mobile phone can show the user by the listed files of the described file to be opened that acquires, when getting the user for the OPEN of the listed files of described file to be opened, open the file destination that the user selects in the listed files of described file to be opened.
Refer to Fig. 2, described method can realize take smart mobile phone as example on equipment such as smart mobile phone, notebook computer and panel computer, and the file management method to be deleted in the present embodiment can comprise as shown in the figure:
S210, judge the current condition that triggers file management that whether meets.
Concrete, meet the condition that triggers file management and comprise following any one situation:
During system initialization, be i.e. during each smart mobile phone start, can trigger and carry out file management;
While getting user's file management instruction, smart mobile phone can provide for the user button or the icon of file management, to obtain user's file management instruction;
Reach default file during the management cycle, the user can arrange the file management cycle (such as 1 day, 4 days and 7 days etc.), and when reaching default file during the management cycle, smart mobile phone carries out file management with regard to triggering.
When smart mobile phone gets above any one situation, just judge the condition of current satisfied triggering file management, trigger and obtain the file control information in current memory space.
S220, if the condition of current satisfied triggering file management is obtained the file operation information in current memory space.
Concrete, described file operation information comprises file operation time and file operation frequency, the described file operation time can be the time of the last operation of file.
As a kind of optional embodiment, before the file operation information of smart mobile phone in obtaining current memory space, can monitor the reading and writing of file of storage space, and the fileinfo that monitoring is obtained (as current running time, file type etc.) is kept in the database set in advance.When the condition of current satisfied triggering file management, smart mobile phone obtains the file operation information of current memory space File in described database, and described file operation information is the accumulative total of the fileinfo that obtains of monitoring respective file.
S230, carry out the frequency sequence by the file of storage space from low to high according to the file operation frequency.
In specific implementation, smart mobile phone carries out the frequency sequence by the file of storage space from low to high according to the number of operations in Preset Time, and described Preset Time can be 3 days, 5 days or 9 days etc.
S240, sequentially carry out the order sequence by the identical file of described file operation frequency after described frequency sequence according to the file operation time order and function, makes the listed files that obtains file to be deleted.
In specific implementation, the described file operation time can be the time of the last operation of file, the file that smart mobile phone is identical by the described file operation frequency after the overfrequency sequence carries out the order sequence according to the sequencing of the time of the last operation of file, make longer file arrangements of time interval of time of last operation and current time forward, thereby obtain the listed files of file to be deleted.For example, storage space exists " A ", " B ", " C " to reach " D " file, at the number of operations of nearest a week, be that " 6 ", " 6 ", " 7 " reach " 9 " respectively, in the order after the overfrequency sequence, be that " A ", " B ", " C " reach " D ", and the time of " A ", the last operation of " B " file is respectively " June 20 ", " June 17 ", the listed files of file to be deleted is that " B ", " A ", " C " reach " D ".
S250 removes system file and/or application execute file in the listed files of described file to be deleted.
The fileinfo that when wherein, the removal system file comprises according to system initialization first in the listed files of described file to be deleted, record obtains is removed system file in the listed files of described file to be deleted.During system initialization first, in smart mobile phone scanning storage space, the state of All Files, be defaulted as system file by the current file in read-write state, and the fileinfo of described system file be kept in presetting database.When smart mobile phone gets the listed files of file to be deleted, detect in the listed files of described file to be deleted whether have system file, if system file is removed from the listed files of described file to be deleted.
As a kind of optional embodiment, can there be the start sign in smart mobile phone by confirmation itself when system initialization, carry out the initialization first of confirmation system, obtain default start sign, be not initialization first so that can identify by default start the confirmation system during next system initialization simultaneously.
Wherein, the file that described application execute file must exist for carrying out application (such as bluetooth, QQ and file manager etc.).For example, if the user needs the normal QQ of use, in smart mobile phone, must there is the QQ application file, described QQ application file is the application execute file, and the data that generate when for example QQ local cache file and QQ user profile file are carried out the QQ application program in order to store create, therefore, QQ local cache file and QQ user profile file are not the application execute files.Need to remove the application execute file in the listed files of file to be deleted, so that the user can the normal running application.
S260, judge whether the file accumulated bytes number of described file to be deleted reaches predetermined threshold value.
In specific implementation, described predetermined threshold value can be arranged by the user, smart mobile phone also can be according to the internal memory Lookup protocol of storage space, when smart mobile phone gets the listed files of file to be deleted, the file word joint number that described file to be deleted is corresponding adds up, and obtains the accumulated size of file to be deleted, if the accumulated size of described file to be deleted reaches predetermined threshold value, carry out S270, otherwise process ends.
As a kind of optional embodiment, when getting the listed files of file to be deleted, smart mobile phone the listed files of the file to be deleted that gets can be showed to the user, when getting the user for the delete instruction of the listed files of file to be deleted, just delete the file destination that the user selects in the listed files of file to be deleted.
S270, delete the file to be deleted in storage space successively according to the listed files of described file to be deleted, until in described file to be deleted, the file accumulated bytes number of remaining file to be deleted is less than described predetermined threshold value.
In specific implementation, smart mobile phone is deleted the file to be deleted in storage space successively according to the listed files of described file to be deleted, until in described file to be deleted, the file accumulated bytes number of remaining file to be deleted is less than described predetermined threshold value, smart mobile phone stops this deletion.For example, save as 1G in storage space, smart mobile phone Lookup protocol predetermined threshold value is 100M, if the file accumulated bytes number of described file to be deleted is 120M, according to the listed files of described file to be deleted, delete successively the file to be deleted in storage space, until in described file to be deleted, the file accumulated bytes number of remaining file to be deleted is less than 100M.
Refer to Fig. 3, described method can realize take smart mobile phone as example on equipment such as smart mobile phone, notebook computer and panel computer, and the file management method to be opened in the present embodiment can comprise as shown in the figure:
S310, judge the current condition that triggers file management that whether meets.
Concrete, meet the condition that triggers file management and comprise following any one situation:
During system initialization, be i.e. during each smart mobile phone start, can trigger and carry out file management;
While getting user's file management instruction, smart mobile phone can provide for the user button or the icon of file management, to obtain user's file management instruction;
Reach default file during the management cycle, the user can arrange the file management cycle (such as 1 day, 4 days and 7 days etc.), and when reaching default file during the management cycle, smart mobile phone carries out file management with regard to triggering.
When smart mobile phone gets above any one situation, just judge the condition of current satisfied triggering file management, trigger and obtain the file control information in current memory space.
S320, obtain the file operation information in current memory space.
Concrete, described file operation information comprises file operation time and file operation frequency, the described file operation time can be the time of the last operation of file.
As a kind of optional embodiment, before the file operation information of smart mobile phone in obtaining current memory space, can monitor the reading and writing of file of storage space, and the fileinfo that monitoring is obtained (as current running time, file type etc.) is kept in the database set in advance.When the condition of current satisfied triggering file management, the file operation information of the file of smart mobile phone obtain current memory space in described database in, described file operation information is the accumulative total of the fileinfo that obtains of monitoring respective file.
S330, carry out the frequency sequence by the file of storage space from high to low according to the file operation frequency.
In specific implementation, smart mobile phone carries out the frequency sequence by the file of storage space from high to low according to the number of operations in Preset Time, and described Preset Time can be 3 days, 5 days or 9 days etc.
S340, sequentially carry out Bit-reversed by the identical file of described file operation frequency after described frequency sequence according to the file operation time order and function, obtains the listed files of file to be opened.
In specific implementation, the described file operation time can be the time of the last operation of file, by the described file operation frequency after the overfrequency sequence, identical file carries out Bit-reversed according to the sequencing of the time of the last operation of file to smart mobile phone, make shorter file arrangements of time interval of time of last operation and current time forward, thereby obtain the listed files of file to be opened.
S350 removes the file and/or the application executing data file that did not operate in Preset Time in the listed files of described file to be opened.
Wherein, described Preset Time can be user-defined time (such as 3 days, 4 days and 7 days etc.),
Smart mobile phone can be removed the time of the last operation of file and the file interval greater than Preset Time of current time from the listed files of file to be opened.
Wherein, described application executing data file is the file of the data creation of generation while being the application program execution, for example, when the QQ application is carried out, smart mobile phone can create QQ local cache file automatically, the message obtained for storing received, because the operating frequency of QQ local cache file can increase and increase along with the user uses the operating frequency of QQ application, but the described local cache file of QQ is not the file that the user need to open, therefore, need in the listed files of described file to be opened, remove application executing data file.
S360, when getting the user for the OPEN of described management target file, open the file destination that the user selects in described management target file.
As a kind of optional embodiment, smart mobile phone can show the user by the listed files of the described file to be opened that acquires, when getting the user for the OPEN of the listed files of described file to be opened, open the file destination that the user selects in the listed files of described file to be opened.
Refer to Fig. 4, document management apparatus in the embodiment of the present invention can comprise the equipment such as smart mobile phone, notebook computer and panel computer, take smart mobile phone as example, document management apparatus in the embodiment of the present invention at least can comprise the first judge module 410, file operation acquisition of information module 420 and management target file acquisition module 430 as shown in the figure, wherein:
The first judge module 410, for judging the current condition that triggers file management that whether meets.
Concrete, meet the condition that triggers file management and comprise following any one situation:
During system initialization, be i.e. during each smart mobile phone start, can trigger and carry out file management;
While getting user's file management instruction, smart mobile phone can provide for the user button or the icon of file management, to obtain user's file management instruction;
Reach default file during the management cycle, the user can arrange the file management cycle (such as 1 day, 4 days and 7 days etc.), and when reaching default file during the management cycle, smart mobile phone carries out file management with regard to triggering.
When getting above any one situation, the first judge module 410 just judges the condition of current satisfied triggering file management, triggers the file operation information that file operation acquisition of information module 420 is obtained in current memory space.
File operation acquisition of information module 420, if obtain the file operation information of current memory space for the condition of the current satisfied triggering file management of described the first judge module 410 judgement.
Concrete, described file operation information comprises file operation time and file operation frequency, the described file operation time can be the time of the last operation of file.
As a kind of optional embodiment, before the file operation information of file operation acquisition of information module 420 in obtaining current memory space, can monitor the reading and writing of file of storage space, and the fileinfo that monitoring is obtained (as current running time, file type etc.) is kept in the database set in advance.When the condition of current satisfied triggering file management, file operation acquisition of information module 420 is obtained the file operation information of current memory space File in described database, and described file operation is the accumulative total of the fileinfo that obtains of monitoring respective file.
Management target file acquisition module 430, for the file operation acquisition of information management target file acquired according to described file operation acquisition of information module 420.
Concrete, management target file acquisition module 430 can comprise frequency sequencing unit 431, time-sequencing unit 432 and file removal unit 433 as shown in Figure 5, if the management target file that management target file acquisition module 430 acquires is file to be deleted, wherein:
Frequency sequencing unit 431, carry out the frequency sequence for the file by storage space from low to high according to the file operation frequency.In specific implementation, frequency sequencing unit 431 carries out the frequency sequence by the file of storage space from low to high according to the number of operations in Preset Time.
Time-sequencing unit 432, for the identical file of described file operation frequency after described frequency sequencing unit 431 frequency sequences is sequentially carried out to the order sequence according to the file operation time order and function, obtain the listed files of file to be deleted, the described file operation time can be the time of the last operation of file.In specific implementation, time-sequencing unit 432 will be identical through described file operation frequency after overfrequency sequence file carry out order according to the sequencing of the time of the last operation of file and sort, make longer file arrangements of time interval of time of last operation and current time forward, thereby obtain the listed files of file to be deleted.For example, storage space exists " A ", " B ", " C " to reach " D " file, at the number of operations of nearest a week, be that " 6 ", " 6 ", " 7 " reach " 9 " respectively, in the order after the overfrequency sequence, be that " A ", " B ", " C " reach " D ", and the time of " A ", the last operation of " B " file is respectively " June 20 ", " June 17 ", the listed files of file to be deleted is that " B ", " A ", " C " reach " D ".
File is removed unit 433, for the listed files at described file to be deleted, removes system file and/or application execute file, the file that when described system file comprises system initialization first, record obtains.The fileinfo that when wherein, the removal system file comprises according to system initialization first in the listed files of described file to be deleted, record obtains is removed system file in the listed files of described file to be deleted.In specific implementation, during system initialization first, the state of All Files in the scanning storage space, the current file in read-write state is defaulted as to system file, the i.e. indispensable file of normal operation itself, and the fileinfo of described system file (file type with running time etc.) is stored in presetting database.
Wherein, the file that described application execute file must exist for carrying out application (such as bluetooth, QQ and file manager etc.).For example, if the user needs the normal QQ of use, in smart mobile phone, must there is the QQ application file, described QQ application file is the application execute file, and the data that generate when for example QQ local cache file and QQ user profile file are carried out the QQ application program in order to store create, therefore, QQ local cache file and QQ user profile file are not the application execute files.Need to remove the application execute file in the listed files of file to be deleted, so that the user can the normal running application.
If the management target file that management target file acquisition module 430 acquires is file to be opened, wherein:
Frequency sequencing unit 431, carry out the frequency sequence for the file by storage space from high to low according to the file operation frequency.In specific implementation, smart mobile phone carries out the frequency sequence by the file of storage space from high to low according to the number of operations in Preset Time.
Time-sequencing unit 432, for the identical file of described file operation frequency after described frequency sequence is carried out to Bit-reversed according to the running time sequencing of file, obtain the listed files of file to be opened.The described file operation time can be the time of the last operation of file, by the described file operation frequency after the overfrequency sequence, identical file carries out Bit-reversed according to the sequencing of the time of the last operation of file in time-sequencing unit 432, make shorter file arrangements of time interval of time of last operation and current time forward, thereby obtain the listed files of file to be opened.
File is removed unit 433, removes file and/or the application executing data file do not operated in Preset Time for the listed files at described file to be opened.
Wherein, described Preset Time can be user-defined time (such as 3 days, 4 days and 7 days etc.), file remove unit 433 can by the running time not the file in Preset Time from the listed files of file to be opened, remove.
Wherein, described application executing data file is the file of the data creation of generation while being the application program execution, for example, when the QQ application is carried out, smart mobile phone can create QQ local cache file automatically, the message obtained for storing received, because the operating frequency of QQ local cache file can increase and increase along with the user uses the operating frequency of QQ application, but described QQ local cache file is not the file that the user need to open, therefore, need in the listed files of described file to be opened, remove application executing data file.
Further, the document management apparatus in the present embodiment can also comprise the second judge module 440 and file removing module 450, wherein:
Whether the second judge module 440, reach predetermined threshold value for the file accumulated bytes number that judges described file to be deleted.In specific implementation, described predetermined threshold value can be arranged by the user, also can be according to the internal memory Lookup protocol of storage space, when the second judge module 440 gets the listed files of file to be deleted, the file word joint number that described file to be deleted is corresponding adds up, obtain the accumulated bytes number of file to be deleted, if the accumulated bytes number of described file to be deleted reaches predetermined threshold value, circular document removing module 440 is deleted the file to be deleted in storage space successively.
File removing module 450, delete the file to be deleted in storage space successively according to the listed files of described file to be deleted, until in described file to be deleted, the file accumulated bytes number of remaining file to be deleted is less than described predetermined threshold value.In specific implementation, file removing module 450 is deleted the file to be deleted in storage space successively according to the listed files of described file to be deleted, until in described file to be deleted, the file accumulated bytes number of remaining file to be deleted is less than described predetermined threshold value, smart mobile phone stops this deletion.For example, save as 1G in storage space, predetermined threshold value is 100M, if the file accumulated bytes number of described file to be deleted is 120M, 450 listed files according to described file to be deleted of file removing module are deleted the file to be deleted in storage space successively, until in described file to be deleted, the file accumulated bytes number of remaining file to be deleted is less than 100M.
Further, document management apparatus in the present embodiment can also comprise that file destination opens module 460, described file destination is opened module 460 for when getting the OPEN of the management target file that the user acquires for described management target file acquisition module 430, opens the file destination that the user selects in described management target file.Concrete, when management target file acquisition module 430 acquires management target file, described management target file can be showed to the user, when file destination is opened module 460 and got the user for the OPEN of described management target file, open the file destination that the user selects in described management target file.
Refer to Fig. 6, Fig. 6 is the structural drawing of a kind of terminal device of providing of the embodiment of the present invention.Wherein, the terminal device shown in Fig. 6 comprises the document management apparatus shown in Fig. 5 and display, and this document management devices is connected with described display.Terminal device shown in Fig. 6 discloses a kind of file management method, by obtaining the file operation information in current memory space, according to described file operation acquisition of information management target file, realized automatically for the user, providing management target file, make the user can in described management target file, obtain the file that needs operation, reduce range of choice, thereby improved file management efficiency.The terminal device of the embodiment of the present invention can be computing machine, mobile phone, panel computer etc.
Implement the embodiment of the present invention, have following beneficial effect: the embodiment of the present invention is by obtaining the file operation information in current memory space, according to described file operation acquisition of information management target file, realized automatically for the user, providing management target file, make the user can in described management target file, obtain the file that needs operation, reduce range of choice, thereby improved file management efficiency; Further, when getting the listed files of file to be deleted, deleted file size accumulative total reaches the file to be deleted of predetermined threshold value automatically, thereby has improved the utilization factor of storage space.
It should be noted that, in the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, there is no the part of describing in detail in certain embodiment, can be referring to the associated description of other embodiment.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
Step in embodiment of the present invention method can be carried out according to actual needs order and adjusted, merges and delete.
Module in embodiment of the present invention device or unit can be merged according to actual needs, divided and be deleted.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, to come the hardware that instruction is relevant to complete by computer program, described program can be stored in a computer read/write memory medium, this program, when carrying out, can comprise the flow process as the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosed is only preferred embodiment of the present invention, certainly can not limit with this interest field of the present invention, and the equivalent variations of therefore doing according to the claims in the present invention, still belong to the scope that the present invention is contained.

Claims (10)

1. a file management method, is characterized in that, described method comprises:
Judge the current condition that triggers file management that whether meets;
If the condition of current satisfied triggering file management is obtained the file operation information in current memory space;
According to described file operation acquisition of information management target file.
2. the method for claim 1, is characterized in that, described management target file comprises the file to be deleted in storage space;
Described file operation information comprises file operation time and file operation frequency;
Describedly according to described file operation acquisition of information management target file, comprise:
The file of storage space is carried out to the frequency sequence from low to high according to the file operation frequency;
The identical file of described file operation frequency after described frequency sequence is sequentially carried out to the order sequence according to the file operation time order and function, obtain the listed files of file to be deleted.
3. method as claimed in claim 2, is characterized in that, described according to after described file operation acquisition of information management target file, described method also comprises:
Whether the file accumulated bytes number that judges described file to be deleted reaches predetermined threshold value;
If according to the listed files of described file to be deleted, delete successively the file to be deleted in storage space, until in described file to be deleted, the file accumulated bytes number of remaining file to be deleted is less than described predetermined threshold value.
4. the method for claim 1, is characterized in that, described management target file comprises the file to be opened in storage space;
Described file operation information comprises file operation time and file operation frequency;
Describedly according to described file operation acquisition of information management target file, comprise:
The file of storage space is carried out to the frequency sequence from high to low according to the file operation frequency;
The identical file of described file operation frequency after described frequency sequence is sequentially carried out to Bit-reversed according to the file operation time order and function, obtain the listed files of file to be opened.
5. method as claimed in claim 4, is characterized in that, describedly according to described file operation acquisition of information management target file, also comprises:
Remove the file or the application executing data file that did not operate in Preset Time in the listed files of described file to be opened.
6. a document management apparatus, is characterized in that, described device comprises:
The first judge module, for judging the current condition that triggers file management that whether meets;
File operation acquisition of information module, if obtain the file operation information of current memory space for the condition of the current satisfied triggering file management of described the first judge module judgement;
The management target file acquisition module, for the file operation acquisition of information management target file acquired according to described file operation acquisition of information module.
7. device as claimed in claim 6, is characterized in that, described management target file comprises the file to be deleted in storage space;
Described file operation information comprises file operation time and file operation frequency;
Described management target file acquisition module comprises:
The frequency sequencing unit, carry out the frequency sequence for the file by storage space from low to high according to the file operation frequency;
The time-sequencing unit, for the identical file of described file operation frequency after described frequency sequencing unit frequency sequence is sequentially carried out to the order sequence according to the file operation time order and function, obtain the listed files of file to be deleted.
8. device as claimed in claim 7, is characterized in that, described device also comprises:
Whether the second judge module, reach predetermined threshold value for the file accumulated size that judges described file to be deleted;
The file removing module, if the file accumulated bytes number for the described file to be deleted of described the second judge module judgement reaches predetermined threshold value, according to the listed files of described file to be deleted, delete successively the file to be deleted in storage space, until in described file to be deleted, the file accumulated bytes number of remaining file to be deleted is less than described predetermined threshold value.
9. device as claimed in claim 6, is characterized in that, described management target file comprises the file to be opened in storage space;
Described file operation information comprises file operation time and file operation frequency;
Described management target file acquisition module comprises:
The frequency sequencing unit, carry out the frequency sequence for the file by storage space from high to low according to the file operation frequency;
The time-sequencing unit, for the identical file of described file operation frequency after described frequency sequencing unit frequency sequence is sequentially carried out to Bit-reversed according to the file operation time order and function, obtain the listed files of file to be opened.
10. a terminal device, is characterized in that, comprises the described document management apparatus of claim 6~9 any one and display, and described document management apparatus is connected with described display.
CN2013104356769A 2013-09-23 2013-09-23 File management method, device and terminal Pending CN103473343A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013104356769A CN103473343A (en) 2013-09-23 2013-09-23 File management method, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013104356769A CN103473343A (en) 2013-09-23 2013-09-23 File management method, device and terminal

Publications (1)

Publication Number Publication Date
CN103473343A true CN103473343A (en) 2013-12-25

Family

ID=49798191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013104356769A Pending CN103473343A (en) 2013-09-23 2013-09-23 File management method, device and terminal

Country Status (1)

Country Link
CN (1) CN103473343A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104991949A (en) * 2015-07-16 2015-10-21 北京京东尚科信息技术有限公司 Mobile terminal and file management system and method thereof
CN105049952A (en) * 2015-07-21 2015-11-11 Tcl海外电子(惠州)有限公司 File push list generation method and file push list generation device
CN108196955A (en) * 2017-12-28 2018-06-22 广州酷狗计算机科技有限公司 The content introduction method and device of a kind of talking pen
CN108228357A (en) * 2018-01-22 2018-06-29 维沃移动通信有限公司 A kind of memory method for cleaning and mobile terminal
CN109933563A (en) * 2019-03-18 2019-06-25 维沃移动通信有限公司 A kind of file management method and terminal
CN110647507A (en) * 2019-09-12 2020-01-03 苏州浪潮智能科技有限公司 File system writing state determining method and device, electronic equipment and medium
CN111356004A (en) * 2020-04-14 2020-06-30 深圳市小微学苑科技有限公司 Storage method and system of universal video file
CN111737209A (en) * 2020-06-23 2020-10-02 深圳市网心科技有限公司 File cleaning method and related equipment thereof
CN113419998A (en) * 2021-08-25 2021-09-21 成都统信软件技术有限公司 Folder processing method, computing device and readable storage medium
CN116775419A (en) * 2023-08-28 2023-09-19 荣耀终端有限公司 File system monitoring method and device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1321013A (en) * 2000-03-17 2001-11-07 索尼公司 Information announcing system, receiving apparatus, listing form, clearing and storing method
CN101656789A (en) * 2009-07-01 2010-02-24 中兴通讯股份有限公司 Method for managing application information of mobile phone and application manager
CN101853168A (en) * 2010-06-11 2010-10-06 宇龙计算机通信科技(深圳)有限公司 Method and device for arranging desktop icons
CN102395047A (en) * 2011-10-25 2012-03-28 深圳市同洲电子股份有限公司 Method and equipment for deleting multi-media contents in content publishing network nodes
CN102609432A (en) * 2011-01-20 2012-07-25 富士施乐株式会社 File management apparatus, file management method, and computer readable medium storing program
CN102779544A (en) * 2012-07-25 2012-11-14 Tcl集团股份有限公司 Method and device for generating media information list
CN102799395A (en) * 2012-06-29 2012-11-28 华为技术有限公司 Dynamic balancing processing method and device for disk spaces and disk system
CN102880714A (en) * 2012-09-29 2013-01-16 北京奇虎科技有限公司 File deleting method and file deleting device
CN102999729A (en) * 2011-09-13 2013-03-27 联想(北京)有限公司 File management method and file management system
CN103049502A (en) * 2012-12-10 2013-04-17 航天数字传媒有限公司 Memorizer management method and management device of satellite user terminal
CN103118006A (en) * 2013-01-06 2013-05-22 航天数字传媒有限公司 Satellite user terminal and data receiving method thereof

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1321013A (en) * 2000-03-17 2001-11-07 索尼公司 Information announcing system, receiving apparatus, listing form, clearing and storing method
CN101656789A (en) * 2009-07-01 2010-02-24 中兴通讯股份有限公司 Method for managing application information of mobile phone and application manager
CN101853168A (en) * 2010-06-11 2010-10-06 宇龙计算机通信科技(深圳)有限公司 Method and device for arranging desktop icons
CN102609432A (en) * 2011-01-20 2012-07-25 富士施乐株式会社 File management apparatus, file management method, and computer readable medium storing program
CN102999729A (en) * 2011-09-13 2013-03-27 联想(北京)有限公司 File management method and file management system
CN102395047A (en) * 2011-10-25 2012-03-28 深圳市同洲电子股份有限公司 Method and equipment for deleting multi-media contents in content publishing network nodes
CN102799395A (en) * 2012-06-29 2012-11-28 华为技术有限公司 Dynamic balancing processing method and device for disk spaces and disk system
CN102779544A (en) * 2012-07-25 2012-11-14 Tcl集团股份有限公司 Method and device for generating media information list
CN102880714A (en) * 2012-09-29 2013-01-16 北京奇虎科技有限公司 File deleting method and file deleting device
CN103049502A (en) * 2012-12-10 2013-04-17 航天数字传媒有限公司 Memorizer management method and management device of satellite user terminal
CN103118006A (en) * 2013-01-06 2013-05-22 航天数字传媒有限公司 Satellite user terminal and data receiving method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
匡松等: "《JSP+Oracle动态网站开发案例精选》", 30 September 1996, 电子科技大学出版社 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104991949B (en) * 2015-07-16 2019-03-26 北京京东尚科信息技术有限公司 Mobile terminal and its file management system and method
CN104991949A (en) * 2015-07-16 2015-10-21 北京京东尚科信息技术有限公司 Mobile terminal and file management system and method thereof
CN105049952A (en) * 2015-07-21 2015-11-11 Tcl海外电子(惠州)有限公司 File push list generation method and file push list generation device
CN108196955A (en) * 2017-12-28 2018-06-22 广州酷狗计算机科技有限公司 The content introduction method and device of a kind of talking pen
CN108228357B (en) * 2018-01-22 2021-04-02 维沃移动通信有限公司 Memory cleaning method and mobile terminal
CN108228357A (en) * 2018-01-22 2018-06-29 维沃移动通信有限公司 A kind of memory method for cleaning and mobile terminal
CN109933563A (en) * 2019-03-18 2019-06-25 维沃移动通信有限公司 A kind of file management method and terminal
CN110647507A (en) * 2019-09-12 2020-01-03 苏州浪潮智能科技有限公司 File system writing state determining method and device, electronic equipment and medium
CN111356004B (en) * 2020-04-14 2021-02-19 深圳市小微学苑科技有限公司 Storage method and system of universal video file
CN111356004A (en) * 2020-04-14 2020-06-30 深圳市小微学苑科技有限公司 Storage method and system of universal video file
CN111737209A (en) * 2020-06-23 2020-10-02 深圳市网心科技有限公司 File cleaning method and related equipment thereof
CN113419998A (en) * 2021-08-25 2021-09-21 成都统信软件技术有限公司 Folder processing method, computing device and readable storage medium
CN116775419A (en) * 2023-08-28 2023-09-19 荣耀终端有限公司 File system monitoring method and device
CN116775419B (en) * 2023-08-28 2023-12-05 荣耀终端有限公司 File system monitoring method and device

Similar Documents

Publication Publication Date Title
CN103473343A (en) File management method, device and terminal
CN107481762B (en) Trim processing method and device of solid state disk
CN105760199B (en) A kind of application resource loading method and its equipment
CN103092700A (en) Internal memory cleaning method and cleaning device and terminal device
CN108063818B (en) Data downloading method, device, terminal and computer readable storage medium
CN104601683A (en) File download management method, mobile terminal and communication system
CN104765576B (en) A kind of date storage method and data storage device
CN106170757B (en) A kind of date storage method and device
CN103150079A (en) Application icon management method and device based on Firefox OS (Operation System) platform
CN105549936B (en) Data table display method and device
CN102937990A (en) Method and device for cleaning files
CN103617519A (en) Communication information processing method, device and system
CN104899049A (en) File deletion method and device
CN106201778B (en) Information processing method and storage equipment
CN111813347B (en) Garbage recycling space management method and device and computer readable storage medium
CN110209341B (en) Data writing method and device and storage equipment
CN108228339B (en) Memory recovery method and device, terminal equipment and computer readable storage medium
CN104424125A (en) Clearing method for mobile terminal cache, device and mobile terminal
CN105446848B (en) The test method and device of the data processing performance of electronic equipment
CN103543901A (en) Method and device for generating menus
CN103763596A (en) State switching method and device
CN103440204B (en) A kind of method of updating file system and memory device
CN107315658A (en) A kind of data back up method and device, computer installation and readable storage medium storing program for executing
CN104424109B (en) Information processing method and electronic equipment
CN107148612A (en) A kind of method and apparatus of extending user subregion

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20131225

RJ01 Rejection of invention patent application after publication