Embodiment
A kind of automatic document classifying management method, as shown in Figure 1, comprises the following steps:
Step S110: receive filing rule and store.Filing rule characterizes the corresponding relation of sorting code number and file name, memory location, receive and stores archive rule follow-uply to carry out filing storage to file and operate.
Step S130: obtain file to be sorted, and receive sorting code number.
File to be sorted refers to need to carry out the file stored of classifying, and in the present embodiment, file to be sorted comprises at least one in scanning document, video file and audio file.Sorting code number is for distinguishing file type, and the concrete form of sorting code number can according to the demand sets itself of reality use.User, while importing the file needing to store, inputs the sorting code number corresponding to this file by equipment such as keyboards, stores to carry out classification to file.Table 1 is depicted as different bill name and corresponding sorting code number in an embodiment.
| Bill name | Sorting code number |
| Engineering funds pays application form | 101 |
| Engineering cost pays application form | 102 |
| Quality guarantee gold pays application form | 103 |
| Cost bill | 104 |
| Notics of charge list | 105 |
Table 1
Namely be the sorting code number adopting numeric type in the present embodiment, be appreciated that in other embodiments, sorting code number also can be English alphabet, or the combination etc. of numeral and English alphabet.
Step S140: treat sort file according to sorting code number and filing rule and name.
After the sorting code number learning a certain file, the naming method of this file and the store path of correspondence can be obtained according to filing rule.Table 2 is depicted as the corresponding relation of an embodiment file name and sorting code number.
| Filename | Sorting code number |
| 101XXX.pdf | 101 |
| 102XXX.pdf | 102 |
| 103XXX.pdf | 103 |
| 104XXX.pdf | 104 |
| 105XXX.pdf | 105 |
Table 2
Further, wherein in an embodiment, step S140 specifically can comprise step 142 and step 144.
Step 142: number according to sorting code number and current filing corresponding to filing Rule.
For by the title prefix of the sorting code number 101 in table 2 as correspondence file to be sorted, first obtain the Historical archiving numbering belonging to same-class number, namely front a classifying and numbering is the title of the archive file of 101.As Historical archiving is numbered " 101234 ", then generate current filing numbering " 101235 ".
Step 144: treat sort file according to current filing numbering and name.After obtaining current filing numbering, each directly using the title of current filing numbering as file to be sorted.
When carrying out file designation according to filing rule in the present embodiment, directly using the title prefix of sorting code number as correspondence file to be sorted, treat sort file according to Historical archiving numbering automatic generation filing numbering to name, convenient to operation, be convenient to document classification management and inquiry.Be appreciated that in other embodiments, the file of other modes to same type also can be adopted to name.
Step S150: according to sorting code number and filing rule, respectively file to be sorted is sent to correspondence position and stores.
Particularly, the information such as the store path belonging to file to be sorted, specific name that each sorting code number of filing rule definition is corresponding, can using specific name as the directory name storing file to be sorted.Such as sorting code number is the specific name that a is corresponding is X, and the specific name that sorting code number b is corresponding is Y, then sorting code number is that the file of a leaves name in and is called in the file of X, and sorting code number is that the file of b leaves name in and is called in the file of Y.As shown in table 3 is the corresponding relation of sorting code number and specific name in an embodiment.
| Sorting code number | Specific name |
| 101 | Geld |
| 102 | Application form |
| 103 | Quality guarantee gold |
| 104 | Bill |
| 105 | Advice note |
Table 3
Same to encode 101, treating after sort file names, file to be sorted is sent to corresponding memory device by the store path according to defining in filing rule, or corresponding memory disc in same memory device, and file to be sorted is stored in name is called in the file of " geld ", the Put on file completing file stores.
Wherein in an embodiment, step S150 comprises step 152 to step 158.
Step 152: treat sort file according to sorting code number and filing rule and classify.Associative list 3 is described, if sorting code number corresponding to file to be sorted is " 101 ", then belonging to this file to be sorted, type is " geld ".
Step 154: inquire about successively and whether there is the storage directory corresponding with Miscellaneous Documents.For different sorting code numbers, search whether there is corresponding storage directory by the store path of correspondence, as sorting code number " 101 ", whether memory location corresponding to inquiry exists the file that name is called " geld ".If so, then carry out step 156, if not, then carry out step 158.
Step 156: newly-built sub-directory stores corresponding file to be sorted under the storage directory of correspondence.If find corresponding storage directory, then in this storage directory, md stores corresponding file to be sorted.Sub-directory can directly utilize the title of file to be sorted to name.Such as name is called the file of " 101235 ", can be stored in the son file " 101235 " in file " geld ", completes file and stores.
Step 158: set up corresponding storage directory, and newly-built sub-directory stores corresponding file to be sorted under the storage directory of correspondence.If do not find the storage directory corresponding with file to be sorted in corresponding stored equipment, then automatically set up this storage directory, and newly-built sub-directory stores this file to be sorted in this storage directory.
In the present embodiment when storing dissimilar file, respectively each file being stored in sub-directories different in storage directory, being convenient to archive management and inquiry further.
Above-mentioned automatic document classifying management method, receives filing rule and stores; Obtain file to be sorted, and receive sorting code number.Treat sort file according to sorting code number and filing rule to name; According to sorting code number and filing rule, respectively file to be sorted is sent to correspondence position and stores.Automatically file is named according to sorting code number and Put on file storage, achieve the automatic archiving of file, avoid the complicated processes of artificial filing, improve efficiency and the accuracy of file administration.
Wherein in an embodiment, file to be sorted comprises scanned document, and as shown in Figure 2, before step S130, automatic document classifying management method also comprises step S120.
Step S120: scan paper document, obtains scanned document.
Step S120 can before step S110, also can be after step silo.Image scanner can be utilized to carry out scanning to paper document and to obtain scanned document, so that follow-up, Put on file storage be carried out to scanned document.Managerial personnel are specifically regular stored in filing at the main control server of image scanner by terminals such as desktop computers, when image scanner scans paper document, and the sorting code number that user can utilize the keypad input of image scanner corresponding.Scanned document according to the title of the sorting code number name scanned document of input, and is delivered to the memory device of specifying by the main control computer be connected by image scanner automatically, leaves in corresponding sub-directory by file name.
Wherein in an embodiment, after step S150, also step S160 can be comprised.
Step S160: receive query statement, and the fileinfo corresponding according to query statement extraction shows.
User carries out file polling by the instruction of the equipment such as touch screen or desktop computer input inquiry.Specifically can directly sorting code number be inputted as query statement, the fileinfo of display can comprise file name, summary, file size and memory location etc.Such as user's input " 101 ", then correspondence searches the file that all title prefixes are " 101 ", extracts relevant fileinfo and shows, be convenient to user and consult.
Present invention also offers a kind of automatic document classifying management system, as shown in Figure 3, comprise filing regular receiver module 110, acquisition module 130, acquisition module 140 and memory module 150.
File regular receiver module 110 for receiving filing rule and storing.Filing rule characterizes the corresponding relation of sorting code number and file name, memory location, receive and stores archive rule follow-uply to carry out filing storage to file and operate.
Acquisition module 130 for obtaining file to be sorted, and receives sorting code number.
File to be sorted refers to need to carry out the file stored of classifying, and in the present embodiment, file to be sorted comprises at least one in scanning document, video file and audio file.Sorting code number is for distinguishing file type, and the concrete form of sorting code number can according to the demand sets itself of reality use.User, while importing the file needing to store, inputs the sorting code number corresponding to this file by equipment such as keyboards, stores to carry out classification to file.Specifically can adopt the sorting code number of numeric type in the present embodiment, be appreciated that in other embodiments, sorting code number also can be English alphabet, or the combination etc. of numeral and English alphabet.
Name module 140 is named for treating sort file according to sorting code number and filing rule.
After the sorting code number learning a certain file, the naming method of this file and the store path of correspondence can be obtained according to filing rule.Further, wherein in an embodiment, name module 140 comprises numbering extraction unit 142 and file designation unit 144.
Numbering extraction unit 142 is for numbering according to sorting code number and current filing corresponding to filing Rule.
For by the title prefix of the sorting code number 101 in table 2 above as correspondence file to be sorted, first obtain the Historical archiving numbering belonging to same-class number, namely, a classifying and numbering is the title of the archive file of 101.As Historical archiving is numbered " 101234 ", then generate current filing numbering " 101235 ".
File designation unit 144 is named for treating sort file according to current filing numbering.After obtaining current filing numbering, each directly using the title of current filing numbering as file to be sorted.
When carrying out file designation according to filing rule in the present embodiment, directly using the title prefix of sorting code number as correspondence file to be sorted, treat sort file according to Historical archiving numbering automatic generation filing numbering to name, convenient to operation, be convenient to document classification management and inquiry.Be appreciated that in other embodiments, the file of other modes to same type also can be adopted to name.
File to be sorted, for according to sorting code number and filing rule, is sent to correspondence position and stores by memory module 150 respectively.
Particularly, the information such as the store path belonging to file to be sorted, specific name that each sorting code number of filing rule definition is corresponding, can using specific name as the directory name storing file to be sorted.Such as sorting code number is the specific name that a is corresponding is X, and the specific name that sorting code number b is corresponding is Y, then sorting code number is that the file of a leaves name in and is called in the file of X, and sorting code number is that the file of b leaves name in and is called in the file of Y.
Same to encode 101, treating after sort file names, file to be sorted is sent to corresponding memory device by the store path according to defining in filing rule, or corresponding memory disc in same memory device, and file to be sorted is stored in name is called in the file of " geld ", the Put on file completing file stores.
Wherein in an embodiment, memory module 150 comprises document classification unit 152, directory unit 154 and file storage unit 156.
Document classification unit 152 is classified for treating sort file according to sorting code number and filing rule.Associative list 3 is described, if sorting code number corresponding to file to be sorted is " 101 ", then belonging to this file to be sorted, type is " geld ".
Whether directory unit 154 exists the storage directory corresponding with Miscellaneous Documents for inquiring about successively respectively.For different sorting code numbers, search whether there is corresponding storage directory by the store path of correspondence, as sorting code number " 101 ", whether memory location corresponding to inquiry exists the file that name is called " geld ".
When file storage unit 156 is for existing corresponding storage directory, under the storage directory of correspondence, newly-built sub-directory stores corresponding file to be sorted; And when there is not corresponding storage directory, set up corresponding storage directory, and newly-built sub-directory stores corresponding file to be sorted under the storage directory of correspondence.
If find corresponding storage directory, then in this storage directory, md stores corresponding file to be sorted.Sub-directory can directly utilize the title of file to be sorted to name.Such as name is called the file of " 101235 ", can be stored in the son file " 101235 " in file " geld ", completes file and stores.If do not find the storage directory corresponding with file to be sorted in corresponding stored equipment, then automatically set up this storage directory, and newly-built sub-directory stores this file to be sorted in this storage directory.
In the present embodiment when storing dissimilar file, respectively each file being stored in sub-directories different in storage directory, being convenient to archive management and inquiry further.
Above-mentioned automatic document classifying management system, files regular receiver module 110 and receives filing rule and store; Acquisition module 130 obtains file to be sorted, and receives sorting code number.Name module 140 is treated sort file according to sorting code number and filing rule and is named; File to be sorted, according to sorting code number and filing rule, is sent to correspondence position and stores by memory module 150 respectively.Automatically file is named according to sorting code number and Put on file storage, achieve the automatic archiving of file, avoid the complicated processes of artificial filing, improve efficiency and the accuracy of file administration.
Wherein in an embodiment, file to be sorted comprises scanned document.As shown in Figure 4, automatic document classifying management system also comprises scan module 120.
Scan module 120 for obtaining file to be sorted at acquisition module 130, and before receiving sorting code number, scans paper document, obtains scanned document.Image scanner can be utilized to carry out scanning to paper document and to obtain scanned document, so that follow-up, Put on file storage be carried out to scanned document.Managerial personnel are specifically regular stored in filing at the main control server of image scanner by terminals such as desktop computers, when image scanner scans paper document, and the sorting code number that user can utilize the keypad input of image scanner corresponding.Scanned document according to the title of the sorting code number name scanned document of input, and is delivered to the memory device of specifying by the main control computer be connected by image scanner automatically, leaves in corresponding sub-directory by file name.
Wherein in an embodiment, automatic document classifying management system also comprises enquiry module 160.
Enquiry module 160 in memory module 150 according to sorting code number and filing rule, respectively file to be sorted is sent to after correspondence position stores, receives query statement, and extract corresponding fileinfo according to query statement and show.
User carries out file polling by the instruction of the equipment such as touch screen or desktop computer input inquiry.Specifically can directly sorting code number be inputted as query statement, the fileinfo of display can comprise file name, summary, file size and memory location etc.Such as user's input " 101 ", then correspondence searches the file that all title prefixes are " 101 ", extracts relevant fileinfo and shows, be convenient to user and consult.
Each technical characteristic of the above embodiment can combine arbitrarily, for making description succinct, the all possible combination of each technical characteristic in above-described embodiment is not all described, but, as long as the combination of these technical characteristics does not exist contradiction, be all considered to be the scope that this instructions is recorded.
The above embodiment only have expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.