CN103501241A - Method, device and system for cleaning useless files - Google Patents

Method, device and system for cleaning useless files Download PDF

Info

Publication number
CN103501241A
CN103501241A CN201310429456.5A CN201310429456A CN103501241A CN 103501241 A CN103501241 A CN 103501241A CN 201310429456 A CN201310429456 A CN 201310429456A CN 103501241 A CN103501241 A CN 103501241A
Authority
CN
China
Prior art keywords
garbage files
files
document creation
scan rule
creation person
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310429456.5A
Other languages
Chinese (zh)
Other versions
CN103501241B (en
Inventor
何益
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310429456.5A priority Critical patent/CN103501241B/en
Publication of CN103501241A publication Critical patent/CN103501241A/en
Application granted granted Critical
Publication of CN103501241B publication Critical patent/CN103501241B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention discloses a method, device and system for cleaning useless files, and belongs to the field of computer information maintenance. The method for cleaning the useless files comprises the steps of (1) scanning a first useless file set among all the files according to user-defined scanning rules, wherein the user-defined scanning rules are defined by a filer creator; (2) searching for a first useless file corresponding to the file creator who defines the user-defined scanning rules in the first useless file set; (3) deleting the first useless file corresponding to the file creator who defines the user-defined scanning rules. According to the method, device and system for cleaning the useless files, due to the fact that the deleting operation is carried out after scanning is carried out on the first useless file set among all the files according to the user-defined scanning rules which are defined by the file creator, the problem that in the existing cleaning process of the useless files, the useless files cannot be completely identified is solved, and the effect of completely identifying the useless files is achieved.

Description

The cleaning garbage files methods, devices and systems
Technical field
The present invention relates to the computerized information area of maintenance, particularly a kind of cleaning garbage files methods, devices and systems.
Background technology
NAS(Network Attached Storage, network attached storage) be a kind of mechanism that adopts the special installation directly be connected with network medium to realize the data storage.Distributed NAS storage is comprised of several servers usually, between each server, by network interconnection, forms distributed NAS storage.Distributed NAS storage comprises NAS protocol server and distributed file system.
The user is connected to the NAS protocol server by the NAS protocol client, and sends corresponding data access request and carry out data access.After the NAS protocol server is received the data access request of NAS protocol client transmission, access data from distributed file system, and send corresponding data access response to the NAS protocol client.Due in regular job and use procedure, in distributed NAS storage, can produce a large amount of garbage files.Garbage files comprises: in the regular job process because extremely the exiting of some file fetch programs, some temporary files or the junk information file that in distributed NAS storage, retain; In the process of data access, a large amount of temporary files that some program produces in distributed NAS storage; And some files that are not used for a long time.The existing method for cleaning to the garbage files in distributed NAS storage is normally set fixing scanning rule artificially by the keeper, for example by the file of .swp and .tmp form, and the time surpass the file be not used in 12 months and be set as garbage files.The garbage files scanned will be deleted automatically from distributed NAS storage, or, after the keeper checks confirmation, by the keeper, is deleted.
In realizing process of the present invention, the inventor finds that at least there is following problem in prior art:
The first, obtain garbage files by fixing scanning rule scanning, insufficient to the identification of garbage files.Probably comprise some valuable documents in the garbage files that obtains of scanning or omitted the garbage files of some other forms, and the scanning rule that the keeper sets is overall, can't embody user's intention.
The second, when the garbage files that scanning is obtained is deleted, if by the mode of automatically deleting, very possible mistake is deleted some valuable documents; If the mode of deleting by the keeper, the garbage files obtained due to scanning is a lot, and the keeper can't check confirmation to each garbage files, and this probability that causes mistake to be deleted is also very high, and makes the management maintenance cost of distributed NAS storage very high.
Summary of the invention
In order to solve, have now in the scale removal process of garbage files, insufficient to the identification of garbage files, the file rate of accidental deletion is high, the problem that the management maintenance cost is high, and the embodiment of the present invention provides a kind of cleaning garbage files methods, devices and systems.Described technical scheme is as follows:
First aspect, provide a kind of cleaning garbage files method, and described method comprises:
Scan the first garbage files collection in all files according to the custom scan rule, described custom scan rule is defined by the document creation person;
Concentrate and search first garbage files corresponding with the document creation person who defines described custom scan rule at described the first garbage files;
Delete first garbage files corresponding with the document creation person of the described custom scan rule of definition.
In the first of first aspect, in possible execution mode, the first garbage files that described deletion is corresponding with the document creation person of the described custom scan rule of definition comprises:
Described the first garbage files is sent to the user terminal corresponding with the document creation person who defines described custom scan rule, so that described user terminal obtains the selection result of the first garbage files that needs deletion;
Receive the described selection result of described user terminal feedback, the first garbage files that described selection result need to be deleted for notification server;
According to described selection result, described the first garbage files deleted that needs is deleted.
In conjunction with first aspect, at the second in possible execution mode, described scan the first garbage files collection according to the custom scan rule in all files before, also comprise:
Receive and store the described custom scan rule of at least one user terminal transmission and the document creation person who defines described custom scan rule.
Possible execution mode or the possible execution mode of the second of first aspect in conjunction with the first of first aspect, first aspect, at the third in possible execution mode, described according to the custom scan rule, in all files, scan obtain the first garbage files collection before, also comprise:
Scan the second garbage files collection in described all files according to the whole scan rule, described whole scan rule gets from office terminal;
Described the second garbage files collection is classified and obtained corresponding the second garbage files separately from different described document creation persons;
For each document creation person, judge whether to exist the custom scan rule by described document creation person definition;
If there is not the custom scan rule by described document creation person definition, delete second garbage files corresponding with described document creation person;
If have the custom scan rule by described document creation person definition, carry out the described step of the first garbage files collection that scans according to the custom scan rule in all files.
In conjunction with the third possible execution mode of first aspect, in the 4th kind of possible execution mode, the second garbage files that described deletion is corresponding with described document creation person comprises:
Described the second garbage files is sent to the user terminal corresponding with described document creation person, so that described user terminal obtains the selection result of the second garbage files that needs deletion;
Receive the described selection result of described user terminal feedback, the second garbage files that described selection result need to be deleted for notification server;
According to described selection result, described the second garbage files deleted that needs is deleted.
Second aspect, provide a kind of cleaning garbage files method, and described method comprises:
The first garbage files that reception server sends, described the first garbage files is that described server scans the first garbage files collection in all files according to the custom scan rule, and after described the first garbage files is concentrated and to be searched first garbage files corresponding with the document creation person who defines described custom scan rule, send to the user terminal corresponding with the document creation person who defines described custom scan rule;
Obtain the selection result of the first garbage files that needs deletion;
Described selection result is sent to described server, so that described server is deleted described the first garbage files deleted that needs according to described selection result.
In the first of second aspect, in possible execution mode, before the first garbage files that described reception server sends, also comprise:
The document creation person who sends described custom scan rule and define described custom scan rule to described server.
The third aspect, provide a kind of cleaning garbage files device, and described device comprises:
The first scan module, for according to the custom scan rule, at all files, scanning the first garbage files collection, described custom scan rule is defined by the document creation person;
The ff module, for concentrating and search first garbage files corresponding with the document creation person who defines described custom scan rule at described the first garbage files;
The file removing module, for deleting first garbage files corresponding with the document creation person of the described custom scan rule of definition.
In the first of the third aspect, in possible execution mode, described file removing module comprises: the first transmitting element, the first receiving element and the first delete cells;
Described the first transmitting element, for described the first garbage files being sent to the user terminal corresponding with the document creation person who defines described custom scan rule, so that described user terminal obtains the selection result of the first garbage files that needs deletion;
Described the first receiving element, for receiving the described selection result of described user terminal feedback, the first garbage files that described selection result need to be deleted for notification server;
Described the first delete cells, for being deleted described the first garbage files deleted that needs according to described selection result.
In conjunction with the third aspect, at the second, in possible execution mode, described device also comprises:
The rule receiver module, for the described custom scan rule that receives and store at least one user terminal transmission and the document creation person who defines described custom scan rule.
Possible execution mode or the possible execution mode of the second of the third aspect in conjunction with the first of the third aspect, the third aspect, at the third, in possible execution mode, described device also comprises:
The second scan module, for according to the whole scan rule, at described all files, scanning the second garbage files collection, described whole scan rule gets from office terminal;
The document classification module, obtain corresponding the second garbage files separately from different described document creation persons for described the second garbage files collection is classified;
The rule judgment module, for for each document creation person, judge whether to exist the custom scan rule by described document creation person definition;
The first determination module, if, for there not being the custom scan rule by described document creation person definition, delete second garbage files corresponding with described document creation person;
The second determination module, if, for there being the custom scan rule by described document creation person definition, carry out the described step of the first garbage files collection that scans in all files according to the custom scan rule.
In conjunction with the third possible execution mode of the third aspect, in the 4th kind of possible execution mode, described the first determination module comprises: the second transmitting element, the second receiving element and the second delete cells;
Described the second transmitting element, for described the second garbage files being sent to the user terminal corresponding with described document creation person, so that described user terminal obtains the selection result of the second garbage files that needs deletion;
Described the second receiving element, for receiving the described selection result of described user terminal feedback, the second garbage files that described selection result need to be deleted for notification server;
Described the second delete cells, for being deleted described the second garbage files deleted that needs according to described selection result.
Fourth aspect, provide a kind of cleaning garbage files device, and described device comprises:
The rubbish receiver module, the first garbage files sent for reception server, described the first garbage files is that described server scans the first garbage files collection in all files according to the custom scan rule, and after described the first garbage files is concentrated and to be searched first garbage files corresponding with the document creation person who defines described custom scan rule, send to the user terminal corresponding with the document creation person who defines described custom scan rule;
Select acquisition module, for obtaining the selection result of the first garbage files that needs deletion;
Select sending module, for described selection result is sent to described server, so that described server is deleted described the first garbage files deleted that needs according to described selection result.
In the first of fourth aspect, in possible execution mode, described device also comprises:
The rule sending module, for the document creation person who sends described custom scan rule to described server and define described custom scan rule.
The 5th aspect, provide a kind of cleaning garbage files system, and described system comprises: server and user terminal;
Described server comprises the cleaning garbage files device described in the various possible execution mode of the third aspect or the third aspect;
Described user terminal comprises the cleaning garbage files device described in the various possible execution mode of fourth aspect or fourth aspect.
The 6th aspect, provide a kind of server, and for being embodied as the server of cleaning garbage files system, described server comprises: processor, memory, transmitter and receiver;
Described processor, for scan the first garbage files collection in all files of described memory according to the custom scan rule, described custom scan rule is defined by the document creation person;
Described processor, also for concentrating and search first garbage files corresponding with the document creation person who defines described custom scan rule at described the first garbage files;
Described processor, also for deleting first garbage files corresponding with the document creation person of the described custom scan rule of definition.
In the possible execution mode of the first aspect the 6th, described processor, also for controlling described transmitter, described the first garbage files is sent to the user terminal corresponding with the document creation person who defines described custom scan rule, so that described user terminal obtains the selection result of the first garbage files that needs deletion;
Described processor, also receive the described selection result that described user terminal feeds back, the first garbage files that described selection result need to be deleted for notification server for controlling described receiver;
Described processor, also for being deleted described the first garbage files deleted that needs according to described selection result.
In conjunction with the 6th aspect, at the second in possible execution mode, described processor, also receive and control the described custom scan rule of at least one user terminal transmission of described memory stores and the document creation person who defines described custom scan rule for controlling described receiver.
Possible execution mode or the possible execution mode of the second of the 6th aspect in conjunction with the first of the 6th aspect, the 6th aspect, at the third in possible execution mode, described processor, also, for all files scanning the second garbage files collection at described memory according to the whole scan rule, described whole scan rule gets from office terminal;
Described processor, also obtain corresponding the second garbage files separately from different described document creation persons for described the second garbage files collection is classified;
Described processor, also, for for each document creation person, judge whether to exist the custom scan rule by described document creation person definition;
Described processor, if, also for there not being the custom scan rule by described document creation person definition, delete second garbage files corresponding with described document creation person;
Described processor, if, also for there being the custom scan rule by described document creation person definition, carry out the described step of the first garbage files collection that scans in all files according to the custom scan rule.
The third possible execution mode in conjunction with the 6th aspect, in the 4th kind of possible execution mode, described processor, also for controlling described transmitter, described the second garbage files is sent to the user terminal corresponding with described document creation person, so that described user terminal obtains the selection result of the second garbage files that needs deletion;
Described processor, also receive the described selection result that described user terminal feeds back, the second garbage files that described selection result need to be deleted for notification server for controlling described receiver;
Described processor, also for being deleted described the second garbage files deleted that needs according to described selection result.
The 7th aspect, provide a kind of user terminal, and for being embodied as the user terminal of cleaning garbage files system, described user terminal comprises: receiver, transmitter, processor and memory;
Described processor, the first garbage files sent for controlling described receiver reception server, described the first garbage files is that described server scans the first garbage files collection in all files according to the custom scan rule, and after described the first garbage files is concentrated and to be searched first garbage files corresponding with the document creation person who defines described custom scan rule, send to the user terminal corresponding with the document creation person who defines described custom scan rule;
Described processor, also obtain the selection result of the first garbage files of need deleting for controlling described receiver;
Described processor, also send to described server for controlling described transmitter by described selection result, so that described server is deleted described the first garbage files deleted that needs according to described selection result.
In the possible execution mode of the first aspect the 7th, described processor, the document creation person who also for controlling described transmitter, to described server, sends described custom scan rule and define described custom scan rule.
Eight aspect, provide a kind of cleaning garbage files system, and described system comprises at least one server and at least one user terminal;
Described server is as arbitrary described server in the various possible execution mode of the 6th aspect and the 6th aspect;
Described user terminal is as arbitrary described user terminal in the various possible execution mode of the 7th aspect and the 7th aspect.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
Scan the first garbage files collection by the custom scan rule according to document creation person definition in all files, concentrate to search at the first garbage files to obtain being deleted after the first garbage files corresponding with the document creation person who defines this custom scan rule; Solved and had now in the scale removal process of garbage files, to the inadequate problem of the identification of garbage files; Reached the effect of abundant identification garbage files.
The accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in 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 only 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 structural representation of the related a kind of implementation environment of the cleaning garbage files method that provides of the embodiment of the present invention;
Fig. 2 is a kind of structural representation of server end of distributed NAS storage;
Fig. 3 is the method flow diagram of the cleaning garbage files method that provides of one embodiment of the invention;
Fig. 4 is the method flow diagram of the cleaning garbage files method that provides of another embodiment of the present invention;
Fig. 5 is the method flow diagram of the cleaning garbage files method that provides of yet another embodiment of the invention;
Fig. 6 is the method flow diagram of the present invention's cleaning garbage files method that also an embodiment provides;
Fig. 7 is the block diagram of the cleaning garbage files device that provides of one embodiment of the invention;
Fig. 8 is the block diagram of the cleaning garbage files device that provides of another embodiment of the present invention;
Fig. 9 is the structural representation of the cleaning garbage files system that provides of one embodiment of the invention;
Figure 10 is the structural representation of the cleaning garbage files system that provides of another embodiment of the present invention;
Figure 11 is the structural representation of the server that provides of one embodiment of the invention;
Figure 12 is the structural representation of the user terminal that provides of one embodiment of the invention;
Figure 13 is the block diagram of the cleaning garbage files system that provides of one embodiment of the invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Please refer to Fig. 1, it shows the structural representation of the related a kind of implementation environment of cleaning garbage files method that the embodiment of the present invention provides.This implementation environment comprises user terminal 120, office terminal 140 and at least one server 160.
User terminal 120 can be the electronic equipment that operation has the NAS protocol client, and this electronic equipment can be pocket computer on knee and desktop computer etc.
Office terminal 140 can be the electronic equipment that operation has the NAS protocol client, and this electronic equipment can be pocket computer on knee and desktop computer etc.
Between user terminal 120 and server 160, can be connected by wireless network or cable network; Similarly, between office terminal 140 and server 160, can be connected by wireless network or cable network.
Each server 160 can be a station server, or the server cluster be comprised of some station servers, or a cloud computing service center.
Please refer to Fig. 2, if the implementation environment shown in Fig. 1 is applied in the NAS storage, each server 160 operation has the NAS protocol server, and each server 160 is with storage medium.The storage medium of each server 160, by after combining, forms distributed file system.Distributed NAS storage comprises NAS protocol server and the distributed file system of each server 160 operations.
Please refer to Fig. 3, it shows the method flow diagram of the cleaning garbage files method that one embodiment of the invention provides.The server side that the present embodiment is applied in the implementation environment shown in Fig. 1 with this cleaning garbage files method illustrates.This cleaning garbage files method comprises:
Step 302 scans the first garbage files collection in all files according to the custom scan rule, the custom scan rule is defined by the document creation person;
Step 304, concentrate and search first garbage files corresponding with the document creation person who defines this custom scan rule at the first garbage files;
Step 306, delete first garbage files corresponding with the document creation person of this custom scan rule of definition.
In sum, the cleaning garbage files method that the present embodiment provides, scan the first garbage files collection by the custom scan rule according to document creation person definition in all files, concentrate to search at the first garbage files to obtain being deleted after the first garbage files corresponding with the document creation person who defines this custom scan rule; Solved and had now in the scale removal process of garbage files, to the inadequate problem of the identification of garbage files; Reached the effect of abundant identification garbage files.
Please refer to Fig. 4, it shows the method flow diagram of the cleaning garbage files method that another embodiment of the present invention provides.The user terminal angle that the present embodiment is applied in the implementation environment shown in Fig. 1 with this cleaning garbage files method illustrates.This cleaning garbage files method comprises:
Step 402, the first garbage files that reception server sends, the first garbage files is that server scans the first garbage files collection in all files according to the custom scan rule, and after the first garbage files is concentrated and to be searched first garbage files corresponding with the document creation person who defines this custom scan rule, send to the user terminal corresponding with the document creation person who defines this custom scan rule;
Step 404, obtain the selection result of the first garbage files of need deleting;
Step 406, send to server by selection result, so that server will need the first garbage files of deleting to be deleted according to selection result.
In sum, the cleaning garbage files method that the present embodiment provides, scan the first garbage files collection by the custom scan rule according to document creation person definition in all files, concentrate to search at the first garbage files to obtain being deleted after the first garbage files corresponding with the document creation person who defines this custom scan rule; Solved and had now in the scale removal process of garbage files, insufficient to the identification of garbage files, the file rate of accidental deletion is high, the problem that the management maintenance cost is high; Reach abundant identification garbage files, reduced the file rate of accidental deletion, reduced the effect of maintenance cost.In the present embodiment, by user oneself, confirmed to need the first garbage files of deleting, further reduced the rate of accidental deletion of file.
Please refer to Fig. 5, it shows the method flow diagram of the cleaning garbage files method that yet another embodiment of the invention provides.The present embodiment is applied to the implementation environment shown in Fig. 1 with this cleaning garbage files method and illustrates.This cleaning garbage files method comprises:
Step 501, server scans the first garbage files collection in all files according to the custom scan rule.
The custom scan rule is by document creation person definition, and different document creation persons can define different custom scan rules.At least one document creation person is arranged in all files, and the partly or completely document creation person of custom scan rule in all files be independently definition separately.
Step 502, server is concentrated and is searched first garbage files corresponding with the document creation person who defines this custom scan rule at the first garbage files.
Because server is scanned in all files according to the custom scan rule, so the concentrated part that comprises of the first garbage files that scanning is obtained is not first garbage files corresponding with the document creation person of this custom scan rule of definition.Server is concentrated first garbage files corresponding with the document creation person of this custom scan rule of definition is searched and picked out at the first garbage files.
Step 503, server sends to the user terminal corresponding with the document creation person who defines this custom scan rule by the first garbage files.
Server can be according to document creation person's addresses of items of mail, and the first garbage files that scanning is obtained is by mail, with HTTP(Hypertext Transfer Protocol, HTML (Hypertext Markup Language)) mode of the page sends to user terminal.In the present embodiment, with distributed NAS, be stored as example, the user during storage file, can reserve some user profile in distributed NAS storage, comprises the information such as user name and addresses of items of mail.The keeper can preserve these user profile in distributed NAS storage, so that server can be according to document creation person's addresses of items of mail, the first garbage files that scanning is obtained sends to corresponding user terminal by mail.
Accordingly, the first garbage files that the user terminal reception server sends.
Step 504, user terminal obtains the selection result of the first garbage files that needs deletion.
Such as, user terminal is receiving server by mail, and, after the first garbage files sent in the mode of the HTTP page, the user can select to need the first garbage files of deletion in these first garbage files.
Step 505, user terminal sends to server by selection result.
The first garbage files that selection result need to be deleted for notification server.After the first garbage files that needs to delete when the user is selected, because the function of the hyperlink of providing is provided the HTTP page, user terminal can be directly super linkage function by the HTTP page selection result is sent to server.
Accordingly, server receives the selection result of user terminal feedback.
Step 506, server will need the first garbage files of deleting to be deleted according to selection result.
After server receives the selection result of user terminal feedback, the first garbage files that the needs that the user is selected are deleted is deleted.
In sum, the cleaning garbage files method that the present embodiment provides, scan the first garbage files collection by the custom scan rule according to document creation person definition in all files, concentrate to search at the first garbage files to obtain being deleted after the first garbage files corresponding with the document creation person who defines this custom scan rule; Solved and had now in the scale removal process of garbage files, insufficient to the identification of garbage files, the file rate of accidental deletion is high, the problem that the management maintenance cost is high; Reach abundant identification garbage files, reduced the file rate of accidental deletion, reduced the effect of maintenance cost.In the present embodiment, by user oneself, confirmed to need the first garbage files of deleting, further reduced the rate of accidental deletion of file.
Please refer to Fig. 6, it shows the method flow diagram of the present invention's cleaning garbage files method that also an embodiment provides.The present embodiment still is applied to the implementation environment shown in Fig. 1 with this cleaning garbage files method and illustrates.This cleaning garbage files method comprises:
Step 601, office terminal sends the whole scan rule to server.
The whole scan rule is that the keeper sets, a kind of global rule that all files is scanned.The whole scan rule also comprises scanning time started and garbage files criterion of identification usually, and the garbage files criterion of identification comprises that the file of predetermined suffix name is the contents such as the file that is not used garbage files and the scheduled time is garbage files.
Accordingly, server receives and stores the whole scan rule.
Step 602, user terminal sends the document creation person of custom scan rule and definition custom scan rule to server.
The custom scan rule comprises scanning time started and garbage files criterion of identification, and the garbage files criterion of identification comprises that the file of predetermined suffix name is the contents such as the file that is not used garbage files and the scheduled time is garbage files.
Such as, in distributed NAS storage, NAS protocol client and NAS protocol server that the user can install by user terminal connect, and under user's self share directory newly-built or file that the form that opens a file is .Scan.Rubbish.The user sets the custom scan rule of oneself in can the file that be .Scan.Rubbish at this document form.The user can be by setting the suffix name of garbage files, and the file that the setting certain hour is not used, as garbage files, is set the custom scan rule of the content setting garbage files such as scanning time started.Different user can be different according to the requirements set of oneself the custom scan rule.
Accordingly, server receives and stores the custom scan rule of at least one user terminal transmission and the document creation person who defines this custom scan rule.
Step 603, server scans the second garbage files collection in all files according to the whole scan rule, and the whole scan rule gets from office terminal.
Server scans the second garbage files collection in all files according to the whole scan rule.
Step 604, server is classified the second garbage files collection to obtain corresponding the second garbage files separately from different document creation persons.
Server is according to different document creation persons, and the second garbage files collection that scanning is obtained is classified.
Step 605, server, for each document creation person, judges whether to exist the custom scan rule by document creation person definition.
Such as, in distributed NAS storage, server can search under different document creation persons' share directory whether have the file that a file format is .Scan.Rubbish, judges whether to exist the custom scan rule by document creation person definition.
Step 606, if there is not the custom scan rule by document creation person definition, server sends to the user terminal corresponding with the document creation person by the second garbage files.
Server can be according to document creation person's addresses of items of mail, and the second garbage files that scanning is obtained is by mail, with HTTP(Hypertext Transfer Protocol, HTML (Hypertext Markup Language)) mode of the page sends to user terminal.In the present embodiment, with distributed NAS, be stored as example, the user during storage file, can reserve some user profile in distributed NAS storage, comprises the information such as user name and addresses of items of mail.The keeper can preserve these user profile in distributed NAS storage, so that server can be according to document creation person's addresses of items of mail, the second garbage files that scanning is obtained sends to corresponding user terminal by mail.
Accordingly, the second garbage files that the user terminal reception server sends.
It should be noted that, if there is the custom scan rule by document creation person definition, carries out server and scan the step of the first garbage files collection according to the custom scan rule in all files.In this case, server scans the first garbage files collection in all files according to the custom scan rule; Server is concentrated and is searched first garbage files corresponding with the document creation person who defines this custom scan rule at the first garbage files; Server sends to the user terminal corresponding with the document creation person who defines this custom scan rule by the first garbage files.Accordingly, the first garbage files that the user terminal reception server sends; User terminal obtains the selection result of the first garbage files that needs deletion; User terminal sends to server by selection result.After server receives the selection result of user terminal feedback, the first garbage files that the needs that the user is selected are deleted is deleted.
Delete procedure to the first garbage files has been introduced and explanation in the embodiment shown in fig. 5 in detail, in the present embodiment, only, not exist this situation of custom scan rule by document creation person definition to illustrate, this is not done to concrete restriction.
Step 607, user terminal obtains the selection result of the second garbage files that needs deletion.
Such as, user terminal is receiving server by mail, and, after the second garbage files sent in the mode of the HTTP page, the user can select to need the second garbage files of deletion in these second garbage files.
Step 608, user terminal sends to server by selection result.
The second garbage files that selection result need to be deleted for notification server.After the second garbage files that needs to delete when the user is selected, because the function of the hyperlink of providing is provided the HTTP page, user terminal can be directly super linkage function by the HTTP page selection result is sent to server.
Accordingly, server receives the selection result of user terminal feedback.
Step 609, server will need the second garbage files of deleting to be deleted according to selection result.
After server receives the selection result of user terminal feedback, the second garbage files that the needs that the user is selected are deleted is deleted.
Also it should be noted that, when not having the custom scan rule defined by the document creation person, server also can directly be deleted second garbage files corresponding with the document creation person.In the present embodiment, only with server, the second garbage files is sent to the user terminal corresponding with the document creation person, server will need the second garbage files of deleting to delete to illustrate according to the selection result of user terminal feedback, this not done to concrete restriction.
In sum, the cleaning garbage files method that the present embodiment provides, scan the first garbage files collection by the custom scan rule according to document creation person definition in all files, concentrate to search at the first garbage files to obtain being deleted after the first garbage files corresponding with the document creation person who defines this custom scan rule; Solved and had now in the scale removal process of garbage files, insufficient to the identification of garbage files, the file rate of accidental deletion is high, the problem that the management maintenance cost is high; Reach abundant identification garbage files, reduced the file rate of accidental deletion, reduced the effect of maintenance cost.In the present embodiment, server, for each document creation person, judges whether to exist the custom scan rule by document creation person definition.If there is the custom scan rule by document creation person definition, the custom scan rule is preferential, and server is scanned all files according to the custom scan rule.If there is not the custom scan rule by document creation person definition, server sends to the user terminal corresponding with the document creation person by the second garbage files, confirmed to need the second garbage files of deleting by user oneself, further reduced the rate of accidental deletion of file.
Following is apparatus of the present invention embodiment, can be for carrying out the inventive method embodiment.Details for not disclosing in apparatus of the present invention embodiment, please refer to the inventive method embodiment.
Please refer to Fig. 7, it shows the block diagram of the cleaning garbage files device that one embodiment of the invention provides.This cleaning garbage files device can realize becoming the whole or a part of of server by software, hardware or both combinations, and server can be the server that operation has the NAS protocol server.This cleaning garbage files device comprises: the first scan module 710, ff module 720 and file removing module 730.
The first scan module 710, for according to the custom scan rule, at all files, scanning the first garbage files collection, described custom scan rule is defined by the document creation person.
Ff module 720, for concentrating and search first garbage files corresponding with the document creation person who defines described custom scan rule at described the first garbage files.
File removing module 730, for deleting first garbage files corresponding with the document creation person of the described custom scan rule of definition.
In sum, the cleaning garbage files device that the present embodiment provides, scan the first garbage files collection by the custom scan rule according to document creation person definition in all files, concentrate to search at the first garbage files to obtain being deleted after the first garbage files corresponding with the document creation person who defines this custom scan rule; Solved and had now in the scale removal process of garbage files, to the inadequate problem of the identification of garbage files; Reached the effect of abundant identification garbage files.
Please refer to Fig. 8, it shows the block diagram of the cleaning garbage files device that another embodiment of the present invention provides.This cleaning garbage files device can realize becoming the whole or a part of of user terminal by software, hardware or both combinations, and user terminal can be the electronic equipment that operation has the NAS protocol client.This cleaning garbage files device comprises: rubbish receiver module 810, selection acquisition module 820 and selection sending module 830.
Rubbish receiver module 810, the first garbage files sent for reception server, described the first garbage files is that described server scans the first garbage files collection in all files according to the custom scan rule, and after described the first garbage files is concentrated and to be searched first garbage files corresponding with the document creation person who defines described custom scan rule, send to the user terminal corresponding with the document creation person who defines described custom scan rule.
Select acquisition module 820, for obtaining the selection result of the first garbage files that needs deletion.
Select sending module 830, for described selection result is sent to described server, so that described server is deleted described the first garbage files deleted that needs according to described selection result.
In sum, the cleaning garbage files device that the present embodiment provides, scan the first garbage files collection by the custom scan rule according to document creation person definition in all files, concentrate to search at the first garbage files to obtain being deleted after the first garbage files corresponding with the document creation person who defines this custom scan rule; Solved and had now in the scale removal process of garbage files, insufficient to the identification of garbage files, the file rate of accidental deletion is high, the problem that the management maintenance cost is high; Reach abundant identification garbage files, reduced the file rate of accidental deletion, reduced the effect of maintenance cost.In the present embodiment, by user oneself, confirmed to need the first garbage files of deleting, further reduced the rate of accidental deletion of file.
Please refer to Fig. 9, it shows the structural representation of the cleaning garbage files system that one embodiment of the invention provides.This cleaning garbage files system comprises server 70 and user terminal 80, between user terminal 80 and server 70, by cable network or wireless network, is connected.
User terminal 80 can comprise the cleaning garbage files device, and this cleaning garbage files device can pass through software, hardware or both combinations to be realized.This cleaning garbage files device comprises: rubbish receiver module 810, selection acquisition module 820 and selection sending module 830.
Rubbish receiver module 810, the first garbage files sent for reception server, described the first garbage files is that described server scans the first garbage files collection in all files according to the custom scan rule, and after described the first garbage files is concentrated and to be searched first garbage files corresponding with the document creation person who defines described custom scan rule, send to the user terminal corresponding with the document creation person who defines described custom scan rule.
Select acquisition module 820, for obtaining the selection result of the first garbage files that needs deletion.
Select sending module 830, for described selection result is sent to described server, so that described server is deleted described the first garbage files deleted that needs according to described selection result.
Server 70 can comprise the cleaning garbage files device, and this cleaning garbage files device can pass through software, hardware or both combinations to be realized.This cleaning garbage files device comprises: the first scan module 710, ff module 720 and file removing module 730.
The first scan module 710, for according to the custom scan rule, at all files, scanning the first garbage files collection, described custom scan rule is defined by the document creation person.
Ff module 720, for concentrating and search first garbage files corresponding with the document creation person who defines described custom scan rule at described the first garbage files.
File removing module 730, for deleting first garbage files corresponding with the document creation person of the described custom scan rule of definition.
Specifically, file removing module 730 comprises: the first transmitting element 730a, the first receiving element 730b and the first delete cells 730c.
Described the first transmitting element 730a, for described the first garbage files being sent to the user terminal corresponding with the document creation person who defines described custom scan rule, so that described user terminal obtains the selection result of the first garbage files that needs deletion.
Described the first receiving element 730b, for receiving the described selection result of described user terminal feedback, the first garbage files that described selection result need to be deleted for notification server.
Described the first delete cells 730c, for being deleted described the first garbage files deleted that needs according to described selection result.
In sum, the cleaning garbage files system that the present embodiment provides, scan the first garbage files collection by the custom scan rule according to document creation person definition in all files, concentrate to search at the first garbage files to obtain being deleted after the first garbage files corresponding with the document creation person who defines this custom scan rule; Solved and had now in the scale removal process of garbage files, insufficient to the identification of garbage files, the file rate of accidental deletion is high, the problem that the management maintenance cost is high; Reach abundant identification garbage files, reduced the file rate of accidental deletion, reduced the effect of maintenance cost.In the present embodiment, by user oneself, confirmed to need the first garbage files of deleting, further reduced the rate of accidental deletion of file.
Please refer to Figure 10, it shows the structural representation of the cleaning garbage files system that another embodiment of the present invention provides.This cleaning garbage files system comprises server 70 and user terminal 80, between user terminal 80 and server 70, by cable network or wireless network, is connected.
User terminal 80 can comprise the cleaning garbage files device, and this cleaning garbage files device can pass through software, hardware or both combinations to be realized.This cleaning garbage files device comprises: regular sending module 801, rubbish receiver module 810, selection acquisition module 820 and selection sending module 830.
Rule sending module 801, for the document creation person who sends described custom scan rule to described server and define described custom scan rule.
Rubbish receiver module 810, the first garbage files sent for reception server, described the first garbage files is that described server scans the first garbage files collection in all files according to the custom scan rule, and after described the first garbage files is concentrated and to be searched first garbage files corresponding with the document creation person who defines described custom scan rule, send to the user terminal corresponding with the document creation person who defines described custom scan rule.
Select acquisition module 820, for obtaining the selection result of the first garbage files that needs deletion.
Select sending module 830, for described selection result is sent to described server, so that described server is deleted described the first garbage files deleted that needs according to described selection result.
Server 70 can comprise the cleaning garbage files device, and this cleaning garbage files device can pass through software, hardware or both combinations to be realized.This cleaning garbage files device comprises: regular receiver module 701, the second scan module 702, document classification module 703, rule judgment module 704, the first determination module 705, the second determination module 706, the first scan module 710, ff module 720 and file removing module 730.
Rule receiver module 701, for the described custom scan rule that receives and store at least one user terminal transmission and the document creation person who defines described custom scan rule.
The second scan module 702, for according to the whole scan rule, at described all files, scanning the second garbage files collection, described whole scan rule gets from office terminal.
Document classification module 703, obtain corresponding the second garbage files separately from different described document creation persons for described the second garbage files collection is classified.
Rule judgment module 704, for for each document creation person, judge whether to exist the custom scan rule by described document creation person definition.
The first determination module 705, if, for there not being the custom scan rule by described document creation person definition, delete second garbage files corresponding with described document creation person.
Specifically, the first determination module 705 comprises: the second transmitting element 705a, the second receiving element 705b and the second delete cells 705c.
Described the second transmitting element 705a, for described the second garbage files being sent to the user terminal corresponding with described document creation person, so that described user terminal obtains the selection result of the second garbage files that needs deletion.
Described the second receiving element 705b, for receiving the described selection result of described user terminal feedback, the second garbage files that described selection result need to be deleted for notification server.
Described the second delete cells 705c, for being deleted described the second garbage files deleted that needs according to described selection result.
The second determination module 706, if, for there being the custom scan rule by described document creation person definition, carry out the described step of the first garbage files collection that scans in all files according to the custom scan rule.
The first scan module 710, for according to the custom scan rule, at all files, scanning the first garbage files collection, described custom scan rule is defined by the document creation person.
Ff module 720, for concentrating and search first garbage files corresponding with the document creation person who defines described custom scan rule at described the first garbage files.
File removing module 730, for deleting first garbage files corresponding with the document creation person of the described custom scan rule of definition.
Specifically, file removing module 730 comprises: the first transmitting element 730a, the first receiving element 730b and the first delete cells 730c.
Described the first transmitting element 730a, for described the first garbage files being sent to the user terminal corresponding with the document creation person who defines described custom scan rule, so that described user terminal obtains the selection result of the first garbage files that needs deletion.
Described the first receiving element 730b, for receiving the described selection result of described user terminal feedback, the first garbage files that described selection result need to be deleted for notification server.
Described the first delete cells 730c, for being deleted described the first garbage files deleted that needs according to described selection result.
In sum, the cleaning garbage files system that the present embodiment provides, scan the first garbage files collection by the custom scan rule according to document creation person definition in all files, concentrate to search at the first garbage files to obtain being deleted after the first garbage files corresponding with the document creation person who defines this custom scan rule; Solved and had now in the scale removal process of garbage files, insufficient to the identification of garbage files, the file rate of accidental deletion is high, the problem that the management maintenance cost is high; Reach abundant identification garbage files, reduced the file rate of accidental deletion, reduced the effect of maintenance cost.In the present embodiment, server, for each document creation person, judges whether to exist the custom scan rule by document creation person definition.If there is the custom scan rule by document creation person definition, the custom scan rule is preferential, and server is scanned all files according to the custom scan rule.If there is not the custom scan rule by document creation person definition, server sends to the user terminal corresponding with the document creation person by the second garbage files, confirmed to need the second garbage files of deleting by user oneself, further reduced the rate of accidental deletion of file.
Please refer to Figure 11, it shows the structural representation of the server that one embodiment of the invention provides, this server is for being embodied as the server of cleaning garbage files system, and described server comprises: processor 1120, memory 1140, transmitter 1160 and receiver 1180;
Described processor 1120, for scan the first garbage files collection in all files of described memory 1140 according to the custom scan rule, described custom scan rule is defined by the document creation person;
Described processor 1120, also for concentrating and search first garbage files corresponding with the document creation person who defines described custom scan rule at described the first garbage files;
Described processor 1120, also for deleting first garbage files corresponding with the document creation person of the described custom scan rule of definition.
In preferred embodiment more, described processor 1120, also for controlling described transmitter 1160, described the first garbage files is sent to the user terminal corresponding with the document creation person who defines described custom scan rule, so that described user terminal obtains the selection result of the first garbage files that needs deletion;
Described processor 1120, also receive the described selection result that described user terminal feeds back, the first garbage files that described selection result need to be deleted for notification server for controlling described receiver 1180;
Described processor 1120, also for being deleted described the first garbage files deleted that needs according to described selection result.
In preferred embodiment more, described processor 1120, also receive and control the described custom scan rule of described at least one user terminals transmission of memory 1140 storages and the document creation person who defines described custom scan rule for controlling described receiver 1180.
In preferred embodiment more, described processor 1120, also, for all files scanning the second garbage files collection at described memory 1140 according to the whole scan rule, described whole scan rule gets from office terminal;
Described processor 1120, also obtain corresponding the second garbage files separately from different described document creation persons for described the second garbage files collection is classified;
Described processor 1120, also, for for each document creation person, judge whether to exist the custom scan rule by described document creation person definition;
Described processor 1120, if, also for there not being the custom scan rule by described document creation person definition, delete second garbage files corresponding with described document creation person;
Described processor 1120, if, also for there being the custom scan rule by described document creation person definition, carry out the described step of the first garbage files collection that scans in all files according to the custom scan rule.
In preferred embodiment more, described processor 1120, also for controlling described transmitter 1160, described the second garbage files is sent to the user terminal corresponding with described document creation person, so that described user terminal obtains the selection result of the second garbage files that needs deletion;
Described processor 1120, also receive the described selection result that described user terminal feeds back, the second garbage files that described selection result need to be deleted for notification server for controlling described receiver 1180;
Described processor 1120, also for being deleted described the second garbage files deleted that needs according to described selection result.
In sum, the server that the present embodiment provides, scan the first garbage files collection by the custom scan rule according to document creation person definition in all files, concentrate to search at the first garbage files to obtain being deleted after the first garbage files corresponding with the document creation person who defines this custom scan rule; Solved and had now in the scale removal process of garbage files, insufficient to the identification of garbage files, the file rate of accidental deletion is high, the problem that the management maintenance cost is high; Reach abundant identification garbage files, reduced the file rate of accidental deletion, reduced the effect of maintenance cost.In the present embodiment, server, for each document creation person, judges whether to exist the custom scan rule by document creation person definition.If there is the custom scan rule by document creation person definition, the custom scan rule is preferential, and server is scanned all files according to the custom scan rule.If there is not the custom scan rule by document creation person definition, server sends to the user terminal corresponding with the document creation person by the second garbage files, confirmed to need the second garbage files of deleting by user oneself, further reduced the rate of accidental deletion of file.
Please refer to Figure 12, it shows the structural representation of the user terminal that one embodiment of the invention provides, this user terminal is for being embodied as the user terminal of cleaning garbage files system, and described user terminal comprises: receiver 1220, transmitter 1240, processor 1260 and memory 1280;
Described processor 1260, the first garbage files sent for controlling described receiver 1220 reception servers, described the first garbage files is that described server scans the first garbage files collection in all files according to the custom scan rule, and after described the first garbage files is concentrated and to be searched first garbage files corresponding with the document creation person who defines described custom scan rule, send to the user terminal corresponding with the document creation person who defines described custom scan rule;
Described processor 1260, also obtain the selection result of the first garbage files of need deleting for controlling described receiver 1220;
Described processor 1260, also send to described server for controlling described transmitter 1240 by described selection result, so that described server is deleted described the first garbage files deleted that needs according to described selection result.
In preferred embodiment more, described processor 1260, the document creation person who also for controlling described transmitter 1240, to described server, sends described custom scan rule and define described custom scan rule.
In sum, the user terminal that the present embodiment provides, scan the first garbage files collection by the custom scan rule according to document creation person definition in all files, concentrate to search at the first garbage files to obtain being deleted after the first garbage files corresponding with the document creation person who defines this custom scan rule; Solved and had now in the scale removal process of garbage files, insufficient to the identification of garbage files, the file rate of accidental deletion is high, the problem that the management maintenance cost is high; Reach abundant identification garbage files, reduced the file rate of accidental deletion, reduced the effect of maintenance cost.In the present embodiment, server, for each document creation person, judges whether to exist the custom scan rule by document creation person definition.If there is the custom scan rule by document creation person definition, the custom scan rule is preferential, and server is scanned all files according to the custom scan rule.If there is not the custom scan rule by document creation person definition, server sends to the user terminal corresponding with the document creation person by the second garbage files, confirmed to need the second garbage files of deleting by user oneself, further reduced the rate of accidental deletion of file.
Please refer to Figure 13, it shows the block diagram of the cleaning garbage files system that one embodiment of the invention provides.This cleaning garbage files system comprises at least one server 1320 and at least one user terminal 1340;
Described server 1320 is embodiment and the more server described in preferred embodiment embodiment illustrated in fig. 11 as shown in figure 11;
Described user terminal 1340 is embodiment and the more user terminal described in preferred embodiment embodiment illustrated in fig. 12 as shown in figure 12.
Through the above description of the embodiments, the those skilled in the art can be well understood to the present invention and can realize with hardware, or the firmware realization, or their compound mode realizes.When using software to realize, one or more instructions or the code that above-mentioned functions can be stored in computer-readable medium or on computer-readable medium are transmitted.Computer-readable medium comprises computer-readable storage medium and communication media, and wherein communication media comprises any medium of being convenient to transmit from a place to another place computer program.Storage medium can be any usable medium that computer can access.As example but be not limited to: computer-readable medium can comprise RAM, ROM, EEPROM, CD-ROM or other optical disc storage, magnetic disk storage medium or other magnetic storage apparatus or can be used in the program code that carries or store the expectation with instruction or data structure form and can be by any other medium of computer access.In addition.Any connection can be suitable become computer-readable medium.For example, if software be use coaxial cable, optical fiber cable, twisted-pair feeder, Digital Subscriber Line (DSL) or the wireless technology such as infrared ray, radio and microwave from website, server or the transmission of other remote source, so coaxial cable, optical fiber cable, twisted-pair feeder, DSL or the wireless technology such as infrared ray, wireless and microwave be included under in the photographic fixing of medium.As used in the present invention, dish (Disk) and dish (disc) comprise compression laser disc (CD), laser dish, laser disc, digital universal laser disc (DVD), floppy disk and Blu-ray Disc, the copy data of the common magnetic of its mid-game, dish carrys out the copy data of optics with laser.Within top combination also should be included in the protection range of computer-readable medium.
It should be noted that: the cleaning garbage files device that above-described embodiment provides is when carrying out cleaning garbage files, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and completed by different functional modules as required, the internal structure that is about to the cleaning garbage files device is divided into different functional modules, to complete all or part of function described above.In addition, cleaning garbage files device and cleaning garbage files embodiment of the method that above-described embodiment provides belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
Should be understood that, use in this article, unless exception clearly supported in context, singulative " " (" a ", " an ", " the ") is intended to also comprise plural form.It is to be further understood that in this article use " and/or " refer to comprise the project listed explicitly more than one or one arbitrarily and likely combination of institute.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (15)

1. a cleaning garbage files method, is characterized in that, described method comprises:
Scan the first garbage files collection in all files according to the custom scan rule, described custom scan rule is defined by the document creation person;
Concentrate and search first garbage files corresponding with the document creation person who defines described custom scan rule at described the first garbage files;
Delete first garbage files corresponding with the document creation person of the described custom scan rule of definition.
2. method according to claim 1, is characterized in that, the first garbage files that described deletion is corresponding with the document creation person of the described custom scan rule of definition comprises:
Described the first garbage files is sent to the user terminal corresponding with the document creation person who defines described custom scan rule, so that described user terminal obtains the selection result of the first garbage files that needs deletion;
Receive the described selection result of described user terminal feedback, the first garbage files that described selection result need to be deleted for notification server;
According to described selection result, described the first garbage files deleted that needs is deleted.
3. method according to claim 1, is characterized in that, described scan the first garbage files collection according to the custom scan rule in all files before, also comprise:
Receive and store the described custom scan rule of at least one user terminal transmission and the document creation person who defines described custom scan rule.
4. according to the arbitrary described method of claims 1 to 3, it is characterized in that, described according to the custom scan rule, in all files, scan obtain the first garbage files collection before, also comprise:
Scan the second garbage files collection in described all files according to the whole scan rule, described whole scan rule gets from office terminal;
Described the second garbage files collection is classified and obtained corresponding the second garbage files separately from different described document creation persons;
For each document creation person, judge whether to exist the custom scan rule by described document creation person definition;
If there is not the custom scan rule by described document creation person definition, delete second garbage files corresponding with described document creation person;
If have the custom scan rule by described document creation person definition, carry out the described step of the first garbage files collection that scans according to the custom scan rule in all files.
5. method according to claim 4, is characterized in that, the second garbage files that described deletion is corresponding with described document creation person comprises:
Described the second garbage files is sent to the user terminal corresponding with described document creation person, so that described user terminal obtains the selection result of the second garbage files that needs deletion;
Receive the described selection result of described user terminal feedback, the second garbage files that described selection result need to be deleted for notification server;
According to described selection result, described the second garbage files deleted that needs is deleted.
6. a cleaning garbage files method, is characterized in that, described method comprises:
The first garbage files that reception server sends, described the first garbage files is that described server scans the first garbage files collection in all files according to the custom scan rule, and after described the first garbage files is concentrated and to be searched first garbage files corresponding with the document creation person who defines described custom scan rule, send to the user terminal corresponding with the document creation person who defines described custom scan rule;
Obtain the selection result of the first garbage files that needs deletion;
Described selection result is sent to described server, so that described server is deleted described the first garbage files deleted that needs according to described selection result.
7. method according to claim 6, is characterized in that, before the first garbage files that described reception server sends, also comprises:
The document creation person who sends described custom scan rule and define described custom scan rule to described server.
8. a cleaning garbage files device, is characterized in that, described device comprises:
The first scan module, for according to the custom scan rule, at all files, scanning the first garbage files collection, described custom scan rule is defined by the document creation person;
The ff module, for concentrating and search first garbage files corresponding with the document creation person who defines described custom scan rule at described the first garbage files;
The file removing module, for deleting first garbage files corresponding with the document creation person of the described custom scan rule of definition.
9. device according to claim 8, is characterized in that, described file removing module comprises: the first transmitting element, the first receiving element and the first delete cells;
Described the first transmitting element, for described the first garbage files being sent to the user terminal corresponding with the document creation person who defines described custom scan rule, so that described user terminal obtains the selection result of the first garbage files that needs deletion;
Described the first receiving element, for receiving the described selection result of described user terminal feedback, the first garbage files that described selection result need to be deleted for notification server;
Described the first delete cells, for being deleted described the first garbage files deleted that needs according to described selection result.
10. device according to claim 8, is characterized in that, described device also comprises:
The rule receiver module, for the described custom scan rule that receives and store at least one user terminal transmission and the document creation person who defines described custom scan rule.
11. according to Claim 8 to 10 arbitrary described device, it is characterized in that, described device also comprises:
The second scan module, for according to the whole scan rule, at described all files, scanning the second garbage files collection, described whole scan rule gets from office terminal;
The document classification module, obtain corresponding the second garbage files separately from different described document creation persons for described the second garbage files collection is classified;
The rule judgment module, for for each document creation person, judge whether to exist the custom scan rule by described document creation person definition;
The first determination module, if, for there not being the custom scan rule by described document creation person definition, delete second garbage files corresponding with described document creation person;
The second determination module, if, for there being the custom scan rule by described document creation person definition, carry out the described step of the first garbage files collection that scans in all files according to the custom scan rule.
12. device according to claim 11, is characterized in that, described the first determination module comprises: the second transmitting element, the second receiving element and the second delete cells;
Described the second transmitting element, for described the second garbage files being sent to the user terminal corresponding with described document creation person, so that described user terminal obtains the selection result of the second garbage files that needs deletion;
Described the second receiving element, for receiving the described selection result of described user terminal feedback, the second garbage files that described selection result need to be deleted for notification server;
Described the second delete cells, for being deleted described the second garbage files deleted that needs according to described selection result.
13. a cleaning garbage files device, is characterized in that, described device comprises:
The rubbish receiver module, the first garbage files sent for reception server, described the first garbage files is that described server scans the first garbage files collection in all files according to the custom scan rule, and after described the first garbage files is concentrated and to be searched first garbage files corresponding with the document creation person who defines described custom scan rule, send to the user terminal corresponding with the document creation person who defines described custom scan rule;
Select acquisition module, for obtaining the selection result of the first garbage files that needs deletion;
Select sending module, for described selection result is sent to described server, so that described server is deleted described the first garbage files deleted that needs according to described selection result.
14. device according to claim 13, is characterized in that, described device also comprises:
The rule sending module, for the document creation person who sends described custom scan rule to described server and define described custom scan rule.
15. a cleaning garbage files system, is characterized in that, described system comprises: server and user terminal;
Described server comprises described cleaning garbage files device as arbitrary as claim 8 to 12;
Described user terminal comprises described cleaning garbage files device as arbitrary as claim 13 to 14.
CN201310429456.5A 2013-09-18 2013-09-18 Method, device and system for cleaning useless files Active CN103501241B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310429456.5A CN103501241B (en) 2013-09-18 2013-09-18 Method, device and system for cleaning useless files

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310429456.5A CN103501241B (en) 2013-09-18 2013-09-18 Method, device and system for cleaning useless files

Publications (2)

Publication Number Publication Date
CN103501241A true CN103501241A (en) 2014-01-08
CN103501241B CN103501241B (en) 2017-02-01

Family

ID=49866416

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310429456.5A Active CN103501241B (en) 2013-09-18 2013-09-18 Method, device and system for cleaning useless files

Country Status (1)

Country Link
CN (1) CN103501241B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105045928A (en) * 2015-08-27 2015-11-11 北京金山安全软件有限公司 To-be-cleaned data display method and device and electronic equipment
CN105117411A (en) * 2015-07-29 2015-12-02 上海斐讯数据通信技术有限公司 Server log file management system and method
CN105718815A (en) * 2016-01-21 2016-06-29 上海斐讯数据通信技术有限公司 Method and device for automatically cleaning up system files
CN106294488A (en) * 2015-06-05 2017-01-04 腾讯科技(深圳)有限公司 Garbage files scan method and device
CN106686035A (en) * 2015-11-10 2017-05-17 北京京东尚科信息技术有限公司 Method and device for achieving FTP server based on Apache FtpServer
CN106897423A (en) * 2017-02-24 2017-06-27 郑州云海信息技术有限公司 A kind of cloud platform junk data processing method and system
CN108255930A (en) * 2017-11-30 2018-07-06 维沃移动通信有限公司 The data clearing method and mobile terminal of a kind of mobile terminal
CN111614730A (en) * 2020-04-28 2020-09-01 北京金山云网络技术有限公司 File processing method and device of cloud storage system and electronic equipment
CN112000626A (en) * 2020-08-14 2020-11-27 苏州浪潮智能科技有限公司 File processing method and system for file server

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050038797A1 (en) * 2003-08-12 2005-02-17 International Business Machines Corporation Information processing and database searching
CN1971600A (en) * 2005-11-24 2007-05-30 符萍 Management system of personal information based on network storage
CN101706817A (en) * 2009-12-01 2010-05-12 中兴通讯股份有限公司 Distributed file system and garbage data cleaning method thereof
CN101980504A (en) * 2010-10-22 2011-02-23 中兴通讯股份有限公司 Data sharing method, mobile terminal and server
CN102129452A (en) * 2011-03-04 2011-07-20 李丽平 System and method for obtaining future information
CN102393849A (en) * 2011-07-18 2012-03-28 电子科技大学 Web log data preprocessing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050038797A1 (en) * 2003-08-12 2005-02-17 International Business Machines Corporation Information processing and database searching
CN1971600A (en) * 2005-11-24 2007-05-30 符萍 Management system of personal information based on network storage
CN101706817A (en) * 2009-12-01 2010-05-12 中兴通讯股份有限公司 Distributed file system and garbage data cleaning method thereof
CN101980504A (en) * 2010-10-22 2011-02-23 中兴通讯股份有限公司 Data sharing method, mobile terminal and server
CN102129452A (en) * 2011-03-04 2011-07-20 李丽平 System and method for obtaining future information
CN102393849A (en) * 2011-07-18 2012-03-28 电子科技大学 Web log data preprocessing method

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106294488A (en) * 2015-06-05 2017-01-04 腾讯科技(深圳)有限公司 Garbage files scan method and device
CN105117411A (en) * 2015-07-29 2015-12-02 上海斐讯数据通信技术有限公司 Server log file management system and method
CN105045928A (en) * 2015-08-27 2015-11-11 北京金山安全软件有限公司 To-be-cleaned data display method and device and electronic equipment
CN106686035A (en) * 2015-11-10 2017-05-17 北京京东尚科信息技术有限公司 Method and device for achieving FTP server based on Apache FtpServer
CN106686035B (en) * 2015-11-10 2020-11-24 北京京东尚科信息技术有限公司 Method and device for realizing customized FTP server based on Apache FtpServer
CN105718815A (en) * 2016-01-21 2016-06-29 上海斐讯数据通信技术有限公司 Method and device for automatically cleaning up system files
CN106897423A (en) * 2017-02-24 2017-06-27 郑州云海信息技术有限公司 A kind of cloud platform junk data processing method and system
CN108255930A (en) * 2017-11-30 2018-07-06 维沃移动通信有限公司 The data clearing method and mobile terminal of a kind of mobile terminal
CN108255930B (en) * 2017-11-30 2020-06-05 维沃移动通信有限公司 Data cleaning method of mobile terminal and mobile terminal
CN111614730A (en) * 2020-04-28 2020-09-01 北京金山云网络技术有限公司 File processing method and device of cloud storage system and electronic equipment
CN112000626A (en) * 2020-08-14 2020-11-27 苏州浪潮智能科技有限公司 File processing method and system for file server
CN112000626B (en) * 2020-08-14 2022-11-29 苏州浪潮智能科技有限公司 File processing method and system for file server

Also Published As

Publication number Publication date
CN103501241B (en) 2017-02-01

Similar Documents

Publication Publication Date Title
CN103501241A (en) Method, device and system for cleaning useless files
USRE47384E1 (en) Generating link information to access a file stored in a storage area associated with user identification information
US8339639B2 (en) Method and system for automatically providing for multi-point document storing, access, and retrieval
CN103024053A (en) Cloud storage method, resource scheduling system and cloud storage node and system
US20090316182A1 (en) Method of integrate managing integrated facsimile data and system thereof
CN103401933B (en) The method and system that a kind of resource information and corresponding resource file batch are uploaded
WO2013063925A1 (en) Method and system for collecting general information
CN102347848A (en) Method and system for sending bulk message
JP4894253B2 (en) Metadata generating apparatus and metadata generating method
CN105721497A (en) Method and system for realizing collection and extraction of expresses
CN102656577A (en) Electronic mail server and method for automatically generating address lists
CN106330661A (en) Data centralized processing method
CN105095405A (en) Data sharing and query system in laboratory
CN105117411A (en) Server log file management system and method
CN112328560B (en) File scheduling method and system
CN101350793A (en) Method and system for confirming electric file receive
US8284414B2 (en) Image forming system and managing method thereof
CN104067220A (en) Transmitting a job to a destination
CN1963813A (en) Method, apparatus for determining a destination at which a group of devices can store data associated with the devices
CN102457556A (en) Method, device, and system for posting on Blog through mobile terminal
US8943143B2 (en) Method and system for the conversion and processing of documents in a hybrid network environment
KR100766567B1 (en) Contents update relay system and method for providing contents update information to mobile equipment
US9654336B2 (en) Information processing apparatus having a function of supporting access to managing apparatuses, information processing system, and method of processing information
CN102375535A (en) Man-machine interaction method and device in video monitoring and video monitoring system
CN109710569A (en) A kind of file online browse method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant