CN105574163A - File processing method and device and electronic equipment - Google Patents

File processing method and device and electronic equipment Download PDF

Info

Publication number
CN105574163A
CN105574163A CN201510946190.0A CN201510946190A CN105574163A CN 105574163 A CN105574163 A CN 105574163A CN 201510946190 A CN201510946190 A CN 201510946190A CN 105574163 A CN105574163 A CN 105574163A
Authority
CN
China
Prior art keywords
file
attribute
treatment advice
user
treatment
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
CN201510946190.0A
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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201510946190.0A priority Critical patent/CN105574163A/en
Publication of CN105574163A publication Critical patent/CN105574163A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions

Abstract

The embodiment of the invention discloses a file processing method, a file processing device and electronic equipment. A file processing method is applied to a terminal and comprises the following steps: receiving a file cleaning triggering request of a user based on the application program dimension; determining the file attribute of each file in the application program; for a file with a first file attribute, providing a first operation interface capable of directly performing deletion processing; for a file of a second file attribute, a second operation interface for viewing is provided. By applying the technical scheme provided by the embodiment of the invention, the user can conveniently carry out different processing on the files with different file attributes, the complicated operation of selecting the files by the user is avoided, and the user experience is improved.

Description

A kind of document handling method, device and electronic equipment
Technical field
The present invention relates to Computer Applied Technology field, particularly a kind of document handling method, device and electronic equipment.
Background technology
Along with the fast development of Internet technology, various types of application program increases gradually, and the application program that user installs in the terminal also gets more and more.Use in the process of application program user, this application program can produce a lot of file.Such as, social class application program and other users is used to carry out in chat interactive process user, carried out the transmission etc. of video file, audio file with the other side, this social class application program that user uses can produce running configuration file, video file, audio file etc.Along with the accumulation of time, the Miscellaneous Documents that application program produces gets more and more, and these files need the storage space of occupied terminal also increasing.So user's file always had in application programs carries out the demand of clearing up.
In prior art, if user has the file in application programs to carry out the demand of clearing up, terminal by show to user in this application program all can be cleaned the name information of file, selected as required to clear up which file by user.
There is certain shortcoming in this method, larger difficulty is brought to the selection of user, because user is only according to the name information of file, more difficult determine which file need cleaning, which file needs to retain, and user, when selecting, also may need the details of specifically checking these files again, operate comparatively loaded down with trivial details, Consumer's Experience is poor.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of document handling method, device and electronic equipment, to facilitate user to select file, promotes Consumer's Experience.Technical scheme is as follows:
A kind of document handling method, is applied to terminal, comprises:
Receive the file clean-up trigger request of user based on application program dimension;
Determine the file attribute of each file in described application program;
For the file of the first file attribute, provide first operation-interface that directly can carry out delete processing;
For the file of the second file attribute, be provided for the second operation-interface checked.
In a kind of embodiment of the present invention, described be provided for the second operation-interface checked after, described method also comprises:
For each file of described second file attribute, determine the treatment advice of this file;
When receive described user by described second operation-interface send check instruction time, export the information of showing that the treatment advice of each file of described second file attribute and this file is corresponding.
In a kind of embodiment of the present invention, describedly export the information of showing that the treatment advice of each file of described second file attribute and this file is corresponding, comprising:
According to the sequencing in the generation moment of each file of described second file attribute, export the information of showing that the treatment advice of each file and this file is corresponding.
In a kind of embodiment of the present invention, for each file of described second file attribute, determine the treatment advice of this file, comprising:
For each file of described second file attribute, according to the memory location of this file, judge whether other memory location places in described terminal except the file storage location of described application program preserve this file;
If had, then determine that the treatment advice of this file is for carry out delete processing to this file.
In a kind of embodiment of the present invention, for each file of described second file attribute, determine the treatment advice of this file, comprising:
For each file of described second file attribute, according to the generation moment of this file, judge whether the duration of the generation moment distance current time of this file is greater than preset duration threshold value;
If so, then determine that the treatment advice of this file is for carry out delete processing to this file.
In a kind of embodiment of the present invention, for each file of described second file attribute, determine the treatment advice of this file, comprising:
For each file of described second file attribute, judge that whether this file is the file in default cleaning white list;
If so, then determine that the treatment advice of this file is for carry out reservation process to this file.
In a kind of embodiment of the present invention, described each file for described second file attribute, determine the treatment advice of this file, comprising:
For each file of described second file attribute, determine the treatment conditions that this file meets;
Treatment advice corresponding to the treatment conditions met by this file is defined as the treatment advice of this file.
In a kind of embodiment of the present invention, described method also comprises:
While the information that the treatment advice exporting each file and this file showing described second file attribute is corresponding, export the treatment conditions of showing that this file meets.
In a kind of embodiment of the present invention, describedly export the information of showing that the treatment advice of each file of described second file attribute and this file is corresponding, comprising:
The file meeting same treatment condition in the file of described second file attribute is formed a file group;
While the file output be in identical file group is shown, export and show the information corresponding with the treatment advice of this file group file.
In a kind of embodiment of the present invention, described export the information of showing that the treatment advice of each file of described second file attribute and this file is corresponding after, described method also comprises:
Receive the selection operation that the described user information corresponding according to the treatment advice of each file shown is carried out;
Determine the file that described user selects;
According to the delete instruction that described user sends selected file, delete described user-selected file.
In a kind of embodiment of the present invention, described method also comprises:
Receive the cleaning instruction that described user is sent by described first operation-interface;
Delete processing is carried out to the file of all first file attributes.
A kind of document handling apparatus, is applied to terminal, comprises:
Cleaning trigger request receiver module, for receiving the file clean-up trigger request of user based on application program dimension;
File attribute determination module, for determining the file attribute of each file in described application program;
First operation-interface provides module, for the file for the first file attribute, provides first operation-interface that directly can carry out delete processing;
Second operation-interface provides module, for the file for the second file attribute, is provided for the second operation-interface checked.
In a kind of embodiment of the present invention, described device also comprises:
Treatment advice determination module, for each file for described second file attribute, determines the treatment advice of this file;
Export display module, for when receive described user by described second operation-interface send check instruction time, export the information that the treatment advice of displaying each file of described second file attribute and this file is corresponding.
In a kind of embodiment of the present invention, described output display module, specifically for:
According to the sequencing in the generation moment of each file of described second file attribute, export the information of showing that the treatment advice of each file and this file is corresponding.
In a kind of embodiment of the present invention, described treatment advice determination module, specifically for:
For each file of described second file attribute, according to the memory location of this file, judge whether other memory location places in described terminal except the file storage location of described application program preserve this file;
If had, then determine that the treatment advice of this file is for carry out delete processing to this file.
In a kind of embodiment of the present invention, described treatment advice determination module, specifically for:
For each file of described second file attribute, according to the generation moment of this file, judge whether the duration of the generation moment distance current time of this file is greater than preset duration threshold value;
If so, then determine that the treatment advice of this file is for carry out delete processing to this file.
In a kind of embodiment of the present invention, described treatment advice determination module, specifically for:
For each file of described second file attribute, judge that whether this file is the file in default cleaning white list;
If so, then determine that the treatment advice of this file is for carry out reservation process to this file.
In a kind of embodiment of the present invention, described treatment advice determination module, specifically for:
For each file of described second file attribute, determine the treatment conditions that this file meets;
Treatment advice corresponding to the treatment conditions met by this file is defined as the treatment advice of this file.
In a kind of embodiment of the present invention, described device also comprises treatment conditions output module:
Described treatment conditions output module, while the information corresponding at the treatment advice exporting each file and this file showing described second file attribute, exports the treatment conditions of showing that this file meets.
In a kind of embodiment of the present invention, described output display module, specifically for:
The file meeting same treatment condition in the file of described second file attribute is formed a file group;
While the file output be in identical file group is shown, export and show the information corresponding with the treatment advice of this file group file.
In a kind of embodiment of the present invention, described device also comprises the first processing module, for:
Receive the selection operation that the described user information corresponding according to the treatment advice of each file shown is carried out;
Determine the file that described user selects;
According to the delete instruction that described user sends selected file, delete described user-selected file.
In a kind of embodiment of the present invention, described device also comprises the second processing module, for:
Receive the cleaning instruction that described user is sent by described first operation-interface;
Delete processing is carried out to the file of all first file attributes.
A kind of electronic equipment, comprising: processor, storer, communication interface and bus;
Described processor, described storer and described communication interface are connected by described bus and complete mutual communication;
Described storer stores executable programs code;
Described processor runs the program corresponding with described executable program code by reading the executable program code stored in described storer, for:
Receive the file clean-up trigger request of user based on application program dimension;
Determine the file attribute of each file in described application program;
For the file of the first file attribute, provide first operation-interface that directly can carry out delete processing;
For the file of the second file attribute, be provided for the second operation-interface checked.
The technical scheme that the application embodiment of the present invention provides, the file of the file and the second file attribute that are respectively the first file attribute provides different operation-interfaces, user is facilitated to carry out different process to the file of different file attribute, avoid the troublesome operation of user's select File, improve Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of implementing procedure figure of embodiment of the present invention file disposal route;
Fig. 2 is the another kind of implementing procedure figure of embodiment of the present invention file disposal route;
Fig. 3 is the structural representation of a kind of document handling apparatus in the embodiment of the present invention.
Embodiment
Technical scheme in the embodiment of the present invention is understood better in order to make those skilled in the art, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
A kind of document handling method that the embodiment of the present invention provides can be applied to the terminals such as mobile phone, panel computer, desktop computer, notebook computer, terminal receive user based on the file clean-up trigger request of application program dimension after, the file attribute of each file in application program can be determined, for the file of the first file attribute, first operation-interface that directly can carry out delete processing is provided, for the file of the second file attribute, be provided for the second operation-interface checked, to facilitate user file checked and select.
Concrete, terminal can carry out above-mentioned process operation by the file automatically in application programs, can also being carried out above-mentioned process operation, carrying out above-mentioned process operation as by clearing up class application program by a certain application program in terminal.For convenience of describing, all at terminal point, corresponding description is carried out to the explanation of step each in the embodiment of the present invention.
Shown in Figure 1, be the implementing procedure figure of a kind of document handling method that the embodiment of the present invention provides, the method can comprise the following steps:
S110: receive the file clean-up trigger request of user based on application program dimension.
In embodiments of the present invention, application program can be any one application program of installing in the terminal.Be understandable that, along with the accumulation of time, user, using the files tend produced in application program process many, occupies the increasing storage space of terminal.For discharging the storage space of terminal, user always has regular or irregular demand of clearing up these files.
Terminal can provide corresponding cleaning option or cleaning button for user, and user can select will to clear up the file in which application program by this cleaning option or cleaning button.After button carries out corresponding operating to cleaning option or cleaning as user, namely can be considered that user carries out the trigger request of clearing up to the file that terminal have issued application programs dimension.
After terminal receives the trigger request of user, the operation performing step S120 can be continued.
S120: the file attribute determining each file in described application program.
In application program, different file may have different file attributes, in embodiments of the present invention, file attribute is divided into the first file attribute and the second file attribute.The file of the first file attribute is garbage files, and the file of the second file attribute is non-junk file.
Be understandable that, use in application program process user, what application program produced is some files relevant to the usage behavior of user, the video file, picture file, audio file, voice document etc. of such as some garbage files, user's transmitting-receiving.These are different from the installation file of the file that the usage behavior of user is correlated with and application program, installation file maintains application program normally to run required file, and whether these files relevant to the usage behavior of user are deleted, the normal operation of application program can not be affected.File mentioned in embodiments of the present invention all refers to file relevant to the usage behavior of user in application program, file that namely can be cleaned, and the installation file of nonusable routine.
In use, its file produced has specific storage directory and name format to different application programs.For application program WhatsApp:
User uses the sound-recording function of WhatsApp to record, and the audio file sent to other users or receive the audio file that other users send, all leave in/WhatsApp/Media/WhatsAppAudio under, form can be: AUD-YYMMDD (8)-WA0041 (4) .MP3 (suffix is not unique);
Existing audio file in the terminal that user uses WhatsApp directly to send, leave in/WhatsApp/Media/WhatsAppAudio/Sent under, form can be: AUD-YYMMDD (8)-WA0041 (4) .MP3 (suffix is not unique);
User uses the camera function of WhatsApp to obtain, and to the picture file that other users send, or receive the audio file that other users send, all leave in/WhatsApp/Media/WhatsAppImages under, form can be: IMG-YYMMDD (8)-WA0245 (4) .jpg (suffix is unique);
Existing picture file in the terminal that user uses WhatsApp directly to send, leave in/WhatsApp/Media/WhatsAppImages/Sent under, form can be: IMG-YYMMDD (8)-WA0245 (4) .jpg (suffix is unique);
The voice document that user uses WhatsApp to send or the voice document received all leave/WhatsApp/Media/WhatsAppVoiceNotes/ [0-9] in, and { under 6}, form can be: PTT-YYMMDD (8)-WA0121 (4) .acc (suffix is unique);
User uses the capture video merit of WhatsApp getable, and to the video file that other users send, or receive the video file that other users send, all leave in/WhatsApp/Media/WhatsAppVideo under, form can be: VID-YYMMDD (8)-WA0245 (4) .mp4 (suffix is unique);
Existing video file in the terminal that user uses WhatsApp directly to send, leave in/WhatsApp/Media/WhatsAppVideo/Sent under, form can be: VID-YYMMDD (8)-WA0245 (4) .mp4 (suffix is unique);
The picture file that user uses WhatsApp to preserve can leave in/whatsapp/media/whatsappprofilephotos or/whatsapp/savedpictures under.
Garbage files, to refer in application program operational process filter the remaining data file adding and set out, the clicking operation that user is each or each symbol input operation all can produce corresponding garbage files.Although the storage space shared by single garbage files is also few, along with the accumulation of time, garbage files also can get more and more, and occupies increasing storage space, affects the travelling speed of application program.
In actual applications, terminal can the operation of monitoring and measuring application program, is determined the information such as the storage directory of the garbage files of application program or the file name of garbage files by predetermined strategy.Or, the file produced in operational process by operation personnel's application programs is analyzed, obtain judging the strategy of garbage files or directly determining the information such as the storage directory of garbage files or the file name of garbage files of application program, and these information are sent to terminal by server.Terminal, according to these information, can determine that whether file in application program is the file of the first file attribute, i.e. garbage files.
After terminal receives the trigger request of the file clean-up in user's application programs, can detect by the file in first application programs, All Files that can be cleaned in acquisition application program, for above-mentioned each file, determines the file attribute of this file.
S130: for the file of the first file attribute, provides first operation-interface that directly can carry out delete processing.
As previously mentioned, the file of the first file attribute is garbage files, for the file of the first file attribute, can provide first operation-interface that directly can carry out delete processing for user, as provided " clearing up immediately " button etc.
When the cleaning instruction receiving user and sent by this first operation-interface, can carry out delete processing to the file of all first file attributes, the selection namely without user directly carries out delete processing to it.Directly delete processing is carried out to the file of the first attribute, can not cause damage to user, also do not affect the normal operation of application program, and, save the select time of user to file.
S140: for the file of the second file attribute, is provided for the second operation-interface checked.
The file non-junk file of the second file attribute can be video file, audio file, picture file or voice document etc.For the file of the second file attribute, the second operation-interface checked can be provided for, enter to provide " checking all " button etc.User checks the second property file by this second operation-interface is convenient, can select further, thus determine the file will clearing up which the second file attribute.
It should be noted that, the embodiment of the present invention does not have the restriction of execution sequence to step S130 and step S140.
The technical scheme that the application embodiment of the present invention provides, the file of the file and the second file attribute that are respectively the first file attribute provides different operation-interfaces, user is facilitated to carry out different process to the file of different file attribute, avoid the troublesome operation of user's select File, improve Consumer's Experience.
Shown in Figure 2, in one embodiment of the invention, after step s 140, the method can also comprise the following steps:
S150: for each file of described second file attribute, determine the treatment advice of this file.
For each file of the second file attribute, its memory location is different, the generation moment is different, ownership is different, treatment advice that can be corresponding different.
In a specific embodiment of the present invention, S150 can comprise the following steps:
First step: for each file of described second file attribute, according to the memory location of this file, judge whether other memory location places in described terminal except the file storage location of described application program preserve this file, if had, then perform second step, otherwise, do not process;
Second step: determine that the treatment advice of this file is for carry out delete processing to this file.
In embodiments of the present invention, the file that user will clear up is the file in application program, and these files are stored in the specific file storage location place of application program.But, also may can store same file at other memory location places except the file storage location of this application program of terminal.Such as, this application program is instant chat class application program, and user carries out in reciprocal process, if having sent the audio file in a terminal media library to the other side in this application program of use and other users, so, this audio file meeting respective stored is in the file storage location place of this application program.That is, this audio file has two memory locations in the terminal, and a memory location is the media library of terminal, and another memory location is the file storage location of this application program.
For the same file being stored in different memory location, there is no need to take more storage space, so for each file of the second file attribute, can according to the memory location attribute of this file, judge whether there is this file in other memory locations of terminal, if existed, then can confirm that this file is attached most importance to multiple file, can advise that user carries out delete processing to it, namely determine that the treatment advice of this file is for carry out delete processing to this file.
In another embodiment of the present invention, S150 can comprise the following steps:
First step: for each file of described second file attribute, according to the generation moment of this file, judges whether the duration of the generation moment distance current time of this file is greater than preset duration threshold value, if, then perform second step, otherwise, do not process;
Second step: determine that the treatment advice of this file is for carry out delete processing to this file.
File in application program all has and generates the moment accordingly.The generation moment of file, refer to the moment that application program generates this file, such as, application program is instant messaging class application program, user uses the sound-recording function of this application program to recorded voice document, then this voice document has recorded the generation moment that namely moment can be used as this voice document.
Being understandable that, take current time as benchmark, and generate the file that moment distance current time is longer, the possibility that user will clear up it is larger.So, for each file of the second file attribute, can according to the generation moment of this file, judge whether the duration of the generation moment distance current time of this file is greater than preset duration threshold value, if be greater than, then can determine that this file is long-time storage file, can determine that the treatment advice of this file is for carry out delete processing to this file.
Above-mentioned duration threshold value, can carry out arranging and adjusting according to actual conditions, the embodiment of the present invention does not limit this.
In another embodiment of the present invention, S150 can comprise the following steps:
First step: for each file of described second file attribute, judges that whether this file is the file in default cleaning white list, if so, then performs second step, otherwise, do not process;
Second step: determine that the treatment advice of this file is for carry out reservation process to this file.
For an application program, some file is vital document, and outbalance thought by such as Backup and Restore file, or user, avoids the file carrying out cleaning operation by mistake, can be labeled as cleaning whitelist file.For each file of the second file attribute, can judge that whether this file is the file in default cleaning white list, if so, then can determine that the treatment advice of this file is for carry out reservation process to this file.Like this, the file that can be formed in application programs oppositely clears up protection.
It should be noted that, above-mentioned several embodiment can combine and judges, when determining that certain file has different treatment advice, can carry out the treatment advice of reservation process by prioritizing selection to file.Certainly, in actual applications, can also according to other attributes of file, such as category attributes etc., determine the treatment advice of file, the embodiment of the present invention does not limit this.
S160: when receive described user by described second operation-interface send check instruction time, export the information of showing that the treatment advice of each file of described second file attribute and this file is corresponding.
After terminal determines the treatment advice of each file of the second file attribute, when receive user by the second operation-interface send check instruction time, can export and show each file of these the second file attributes.Concrete, can according to the type of file or the displaying carrying out file according to the generation month of file.Further, the information corresponding with the treatment advice of each file can be shown while these files of displaying or after these files of displaying.
The information that treatment advice is corresponding can be the information of form of icons, can also be the information of written form, or can also be other forms of information, the embodiment of the present invention limit this.
In a kind of embodiment of the present invention, step S160 can comprise the following steps:
According to the sequencing in the generation moment of each file of described second file attribute, export the information of showing that the treatment advice of each file and this file is corresponding.
As previously mentioned, take current time as benchmark, generate the file that moment distance current time is longer, the possibility that user will clear up it is larger.So, according to the sequencing in the generation moment of file, can export and show each file and the information corresponding with the treatment advice of each file.Like this, user, according to the sequencing of file shown and the treatment advice of displaying, can select the file that will clear up fast.
In another kind of embodiment of the present invention, step S160 can comprise the following steps:
The file in the file of described second file attribute with same treatment suggestion is formed a file group;
While the file output be in identical file group is shown, export and show the information corresponding with the treatment advice of this file group file.
Be understandable that, the file with same treatment suggestion is formed a file group, and concentrate and show user, convenient user is to the selection of file.
Such as, the treatment advice of audio file 1, audio file 2, video file 3 correspondence is delete processing, these three document orders are showed user, and export the displaying information corresponding with this treatment advice, as advised the text prompt information such as deletion, or colour code emphatically file name is used to know.
The technical scheme that the application embodiment of the present invention provides, for the file of the second file attribute, export and show each file and the information corresponding with the treatment advice of each file, for user provides effective treatment advice, avoid the troublesome operation of user's select File, improve Consumer's Experience.
In one embodiment of the invention, step S150 can comprise the following steps:
Step one: for each file of described second file attribute, determines the treatment conditions that this file meets;
Step 2: treatment advice corresponding to the treatment conditions met by this file is defined as the treatment advice of this file.
In actual applications, terminal can the corresponding relation of specimens preserving condition and treatment advice in advance.For certain file in application program, if this file is the file of the second file attribute, then can determines what kind for the treatment of conditions this file meets, then treatment advice corresponding for these treatment conditions is defined as the treatment advice of this file.
As the memory location according to this file, determine whether this file is duplicate file, if, then show that this file meets duplicate file treatment conditions, be delete processing for the treatment advice that duplicate file treatment conditions are corresponding, thus can determine that the treatment advice of this file is for carry out delete processing to this file.Equally, according to the generation moment of this file, can determine whether this file is comparatively long article part storage time, if, then show that this file meets comparatively long article part treatment conditions storage time, be delete processing for the treatment advice that these treatment conditions are corresponding, thus can determine that the treatment advice of this file is for carry out delete processing to this file.
In one embodiment of the invention, the method can also comprise the following steps:
While the information that the treatment advice exporting each file and this file showing described second file attribute is corresponding, export the treatment conditions of showing that this file meets.
The treatment conditions met by each file export and show user, more convenient user according to file the treatment conditions that meet carry out the selection of file.Such as certain file, export and show the following information of user: duplicate file, suggestion is deleted.User recognizes that this file is attached most importance to after multiple file, can make the decision of whether deleting fast.
In another embodiment of the present invention, step S160 can comprise the following steps:
The file meeting same treatment condition in the file of described second file attribute is formed a file group;
While the file output be in identical file group is shown, export and show the information corresponding with the treatment advice of this file group file.
The file meeting same treatment condition formed a file group and export displaying, facilitating user to carry out unified operation to it.
In one embodiment of the invention, after step S160, the method can also comprise the following steps:
Step one: receive the selection operation that the described user information corresponding according to the treatment advice of each file shown is carried out;
Step 2: determine the file that described user selects;
Step 3: the delete instruction sent selected file according to described user, deletes described user-selected file.
For convenience of describing, above-mentioned three steps being combined and is described.
In step S160, after information corresponding for the treatment advice of the file of the second file attribute in application program exports and shows user by terminal, can provide selection entrance for user, user according to the treatment advice of each file, can select the file that will carry out clearing up.Terminal is determined the file that user selects, and according to the delete instruction that user sends, is deleted user-selected file after receiving the selection operation of user.
User carries out the selection of file according to treatment advice information, more targetedly, can avoid blindly selecting and troublesome operation.
Corresponding to embodiment of the method above, the embodiment of the present invention additionally provides a kind of document handling apparatus, and this application of installation is in terminal, shown in Figure 3, and this device can comprise with lower module:
Cleaning trigger request receiver module 310, for receiving the file clean-up trigger request of user based on application program dimension;
File attribute determination module 320, for determining the file attribute of each file in described application program;
First operation-interface provides module 330, for the file for the first file attribute, provides first operation-interface that directly can carry out delete processing;
Second operation-interface provides module 340, for the file for the second file attribute, is provided for the second operation-interface checked.
The device that the application embodiment of the present invention provides, the file of the file and the second file attribute that are respectively the first file attribute provides different operation-interfaces, user is facilitated to carry out different process to the file of different file attribute, avoid the troublesome operation of user's select File, improve Consumer's Experience.
In one embodiment of the invention, described device also comprises:
Treatment advice determination module, for each file for described second file attribute, determines the treatment advice of this file;
Export display module, for when receive described user by described second operation-interface send check instruction time, export the information that the treatment advice of displaying each file of described second file attribute and this file is corresponding.
In a kind of embodiment of the present invention, described output display module, specifically for:
According to the sequencing in the generation moment of each file of described second file attribute, export the information of showing that the treatment advice of each file and this file is corresponding.
In a kind of embodiment of the present invention, described treatment advice determination module, specifically for:
For each file of described second file attribute, according to the memory location of this file, judge whether other memory location places in described terminal except the file storage location of described application program preserve this file;
If had, then determine that the treatment advice of this file is for carry out delete processing to this file.
In a kind of embodiment of the present invention, described treatment advice determination module, specifically for:
For each file of described second file attribute, according to the generation moment of this file, judge whether the duration of the generation moment distance current time of this file is greater than preset duration threshold value;
If so, then determine that the treatment advice of this file is for carry out delete processing to this file.
In a kind of embodiment of the present invention, described treatment advice determination module, specifically for:
For each file of described second file attribute, judge that whether this file is the file in default cleaning white list;
If so, then determine that the treatment advice of this file is for carry out reservation process to this file.
In a kind of embodiment of the present invention, described treatment advice determination module, specifically for:
For each file of described second file attribute, determine the treatment conditions that this file meets;
Treatment advice corresponding to the treatment conditions met by this file is defined as the treatment advice of this file.
In a kind of embodiment of the present invention, described device also comprises treatment conditions output module:
Described treatment conditions output module, while the information corresponding at the treatment advice exporting each file and this file showing described second file attribute, exports the treatment conditions of showing that this file meets.
In a kind of embodiment of the present invention, described output display module, specifically for:
The file meeting same treatment condition in the file of described second file attribute is formed a file group;
While the file output be in identical file group is shown, export and show the information corresponding with the treatment advice of this file group file.
In a kind of embodiment of the present invention, described device also comprises the first processing module, for:
Receive the selection operation that the described user information corresponding according to the treatment advice of each file shown is carried out;
Determine the file that described user selects;
According to the delete instruction that described user sends selected file, delete described user-selected file.
In a kind of embodiment of the present invention, described device also comprises the second processing module, for:
Receive the cleaning instruction that described user is sent by described first operation-interface;
Delete processing is carried out to the file of all first file attributes.
Corresponding to embodiment of the method above and device embodiment, the embodiment of the present invention additionally provides a kind of electronic equipment, comprising: processor, storer, communication interface and bus;
Described processor, described storer and described communication interface are connected by described bus and complete mutual communication;
Described storer stores executable programs code;
Described processor runs the program corresponding with described executable program code by reading the executable program code stored in described storer, for:
Receive the file clean-up trigger request of user based on application program dimension;
Determine the file attribute of each file in described application program;
For the file of the first file attribute, provide first operation-interface that directly can carry out delete processing;
For the file of the second file attribute, be provided for the second operation-interface checked.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
Each embodiment in this instructions all adopts relevant mode to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
One of ordinary skill in the art will appreciate that all or part of step realized in said method embodiment is that the hardware that can carry out instruction relevant by program has come, described program can be stored in computer read/write memory medium, here the alleged storage medium obtained, as: ROM/RAM, magnetic disc, CD etc.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.

Claims (10)

1. a document handling method, is applied to terminal, it is characterized in that, comprising:
Receive the file clean-up trigger request of user based on application program dimension;
Determine the file attribute of each file in described application program;
For the file of the first file attribute, provide first operation-interface that directly can carry out delete processing;
For the file of the second file attribute, be provided for the second operation-interface checked.
2. method according to claim 1, is characterized in that, described be provided for the second operation-interface checked after, described method also comprises:
For each file of described second file attribute, determine the treatment advice of this file;
When receive described user by described second operation-interface send check instruction time, export the information of showing that the treatment advice of each file of described second file attribute and this file is corresponding.
3. method according to claim 2, is characterized in that, describedly exports the information of showing that the treatment advice of each file of described second file attribute and this file is corresponding, comprising:
According to the sequencing in the generation moment of each file of described second file attribute, export the information of showing that the treatment advice of each file and this file is corresponding.
4. method according to claim 2, is characterized in that, for each file of described second file attribute, determines the treatment advice of this file, comprising:
For each file of described second file attribute, according to the memory location of this file, judge whether other memory location places in described terminal except the file storage location of described application program preserve this file;
If had, then determine that the treatment advice of this file is for carry out delete processing to this file.
5. method according to claim 2, is characterized in that, for each file of described second file attribute, determines the treatment advice of this file, comprising:
For each file of described second file attribute, according to the generation moment of this file, judge whether the duration of the generation moment distance current time of this file is greater than preset duration threshold value;
If so, then determine that the treatment advice of this file is for carry out delete processing to this file.
6. method according to claim 2, is characterized in that, for each file of described second file attribute, determines the treatment advice of this file, comprising:
For each file of described second file attribute, judge that whether this file is the file in default cleaning white list;
If so, then determine that the treatment advice of this file is for carry out reservation process to this file.
7. method according to claim 2, is characterized in that, described each file for described second file attribute, determines the treatment advice of this file, comprising:
For each file of described second file attribute, determine the treatment conditions that this file meets;
Treatment advice corresponding to the treatment conditions met by this file is defined as the treatment advice of this file.
8. method according to claim 7, is characterized in that, described method also comprises:
While the information that the treatment advice exporting each file and this file showing described second file attribute is corresponding, export the treatment conditions of showing that this file meets.
9. method according to claim 7, is characterized in that, describedly exports the information of showing that the treatment advice of each file of described second file attribute and this file is corresponding, comprising:
The file meeting same treatment condition in the file of described second file attribute is formed a file group;
While the file output be in identical file group is shown, export and show the information corresponding with the treatment advice of this file group file.
10. method according to claim 2, is characterized in that, described export the information of showing that the treatment advice of each file of described second file attribute and this file is corresponding after, described method also comprises:
Receive the selection operation that the described user information corresponding according to the treatment advice of each file shown is carried out;
Determine the file that described user selects;
According to the delete instruction that described user sends selected file, delete described user-selected file.
CN201510946190.0A 2015-12-16 2015-12-16 File processing method and device and electronic equipment Pending CN105574163A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510946190.0A CN105574163A (en) 2015-12-16 2015-12-16 File processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510946190.0A CN105574163A (en) 2015-12-16 2015-12-16 File processing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN105574163A true CN105574163A (en) 2016-05-11

Family

ID=55884294

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510946190.0A Pending CN105574163A (en) 2015-12-16 2015-12-16 File processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN105574163A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598670A (en) * 2016-12-13 2017-04-26 北京小米移动软件有限公司 Data deletion method, data deletion device and electronic equipment
CN106844619A (en) * 2017-01-17 2017-06-13 深圳市金立通信设备有限公司 A kind of file clean-up method and terminal
CN107479971A (en) * 2017-07-31 2017-12-15 努比亚技术有限公司 A kind of data processing method, terminal and computer-readable recording medium
CN108804917A (en) * 2017-12-22 2018-11-13 哈尔滨安天科技股份有限公司 A kind of file test method, device, electronic equipment and storage medium
CN109002485A (en) * 2018-06-25 2018-12-14 郑州云海信息技术有限公司 A kind of management method of core file, device and storage medium
CN109656603A (en) * 2019-01-15 2019-04-19 Oppo广东移动通信有限公司 Method for upgrading system, device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104391850A (en) * 2014-07-31 2015-03-04 珠海市君天电子科技有限公司 Method and device for cleaning garbage files of disks, and terminal device
CN104536792A (en) * 2014-12-30 2015-04-22 北京奇虎科技有限公司 Method and device for eliminating application program residual files
CN104754002A (en) * 2013-12-30 2015-07-01 北京金山网络科技有限公司 File cleaning method and device, mobile terminal and cloud-side server
CN104811791A (en) * 2015-04-23 2015-07-29 北京奇虎科技有限公司 Video removing method and device and terminal device
CN104881493A (en) * 2015-06-12 2015-09-02 北京金山安全软件有限公司 File cleaning method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104754002A (en) * 2013-12-30 2015-07-01 北京金山网络科技有限公司 File cleaning method and device, mobile terminal and cloud-side server
CN104391850A (en) * 2014-07-31 2015-03-04 珠海市君天电子科技有限公司 Method and device for cleaning garbage files of disks, and terminal device
CN104536792A (en) * 2014-12-30 2015-04-22 北京奇虎科技有限公司 Method and device for eliminating application program residual files
CN104811791A (en) * 2015-04-23 2015-07-29 北京奇虎科技有限公司 Video removing method and device and terminal device
CN104881493A (en) * 2015-06-12 2015-09-02 北京金山安全软件有限公司 File cleaning method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨奎河: "《电脑日常使用问答》", 30 April 2012, 北京:金盾出版社 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598670A (en) * 2016-12-13 2017-04-26 北京小米移动软件有限公司 Data deletion method, data deletion device and electronic equipment
CN106844619A (en) * 2017-01-17 2017-06-13 深圳市金立通信设备有限公司 A kind of file clean-up method and terminal
CN107479971A (en) * 2017-07-31 2017-12-15 努比亚技术有限公司 A kind of data processing method, terminal and computer-readable recording medium
CN108804917A (en) * 2017-12-22 2018-11-13 哈尔滨安天科技股份有限公司 A kind of file test method, device, electronic equipment and storage medium
CN109002485A (en) * 2018-06-25 2018-12-14 郑州云海信息技术有限公司 A kind of management method of core file, device and storage medium
CN109656603A (en) * 2019-01-15 2019-04-19 Oppo广东移动通信有限公司 Method for upgrading system, device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN105574163A (en) File processing method and device and electronic equipment
US7765243B2 (en) Unified local-remote logical volume
US8370853B2 (en) Event notification management
CN102929601B (en) A kind of application management method and device
US20080046407A1 (en) Application search interface
US8819587B1 (en) Methods of managing items in a shared workspace
CN103365882A (en) Method and system for cleaning junk files on mobile terminal
US20080222513A1 (en) Method and System for Rules-Based Tag Management in a Document Review System
CN112328853A (en) Document information processing method and device and electronic equipment
CN114416667B (en) Method and device for rapidly sharing network disk file, network disk and storage medium
CN103369003A (en) A method and a system for scanning redundancy files in a mobile device by using cloud computing
CN109656885B (en) Storage space monitoring method and device, electronic terminal and storage medium
CN104820683A (en) Terminal
CN102323873A (en) Method and system for triggering icon reply in instant communication
CN104169902A (en) Synchronizing local and remote data
CN105893471B (en) Data processing method and electronic equipment
CN105159975A (en) To-be-cleaned data identification method and device and electronic equipment
CN109831581A (en) Information filtering method, device, terminal and storage medium
CN104216996A (en) File information display method and device
CN104834687A (en) Picture display method
CN104965731A (en) Data processing method and electronic terminal
CN107409086B (en) Mass data management in communication applications through multiple mailboxes
CN110688353A (en) File management method, device and computer readable medium
US9384285B1 (en) Methods for identifying related documents
CN105487769B (en) Media file display method and device and electronic equipment

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: 20160511

RJ01 Rejection of invention patent application after publication