CN114968914A - Electronic archive management method and device, computer equipment and storage medium - Google Patents

Electronic archive management method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN114968914A
CN114968914A CN202210579736.3A CN202210579736A CN114968914A CN 114968914 A CN114968914 A CN 114968914A CN 202210579736 A CN202210579736 A CN 202210579736A CN 114968914 A CN114968914 A CN 114968914A
Authority
CN
China
Prior art keywords
document
file
target document
detection result
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210579736.3A
Other languages
Chinese (zh)
Inventor
金帆
金维虎
张梓冰
刘光忠
刘旭峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kingdee Bills Cloud Technology Shenzhen Co ltd
Original Assignee
Kingdee Bills Cloud Technology Shenzhen 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 Kingdee Bills Cloud Technology Shenzhen Co ltd filed Critical Kingdee Bills Cloud Technology Shenzhen Co ltd
Priority to CN202210579736.3A priority Critical patent/CN114968914A/en
Publication of CN114968914A publication Critical patent/CN114968914A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/113Details of archiving

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present application relates to a method, an apparatus, a computer device, a storage medium and a computer program product for electronic archive management. The method comprises the following steps: receiving a document and a data source file sent by a target system; performing archive detection on the document based on the data source file to obtain an archive detection result; acquiring a target document with qualified filed detection result and encoding configuration information matched with the target document; coding the target document according to a uniform coding field based on the coding configuration information to obtain a file number corresponding to the target document; and establishing an incidence relation between the archive number and the target document and the archived detection result, and archiving and storing the target document. The electronic document collection, arrangement, detection, numbering and filing work are completed, one-key filing of the electronic document is realized, and the electronic file filing efficiency is improved.

Description

Electronic archive management method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computers, and in particular, to a method and an apparatus for electronic archive management, a computer device, and a storage medium.
Background
With the rapid development of computer technology, more and more documents needing to be kept are filed and stored in the form of electronic documents, and the electronic documents are generally required to be collected, sorted, detected, numbered, filed and the like.
The electronic documents are large in quantity and complicated in classification, and a large amount of manpower is required for managing the electronic document files.
Disclosure of Invention
Therefore, it is necessary to provide a method, a system, a computer device, and a computer readable storage medium for managing electronic files, which achieve one-key storage of the electronic files and improve the efficiency of archiving the electronic files by collecting, organizing, detecting, encoding, and storing the electronic files.
The application provides a method for electronic archive management, which comprises the following steps:
receiving a receipt and a data source file sent by a target system, wherein the data source file records information of a plurality of receipts;
performing archival detection on the document based on the data source file to obtain an archival detection result;
acquiring a target document with qualified filed detection result and encoding configuration information matched with the target document;
coding the target document according to a uniform coding field based on the coding configuration information to obtain a file number corresponding to the target document;
and establishing an incidence relation between the archive number and the target document and the archived detection result, and archiving and storing the target document.
In one embodiment, the performing archive detection on the document based on the data source file to obtain an archive detection result includes:
acquiring filing time and a document state corresponding to a document from the data source file;
sorting the bills based on the filing time to obtain a sorting result;
and based on the sequencing result, performing archival detection on the documents with the document states of new and updated in sequence to obtain an archived detection result.
In an embodiment, the performing, based on the sorting result, archive detection on documents of which the document states are new and updated in sequence to obtain an archive detection result includes:
acquiring a source hash value, source data and a file format corresponding to the document from the data source file;
comparing a hash value obtained by carrying out password hash operation on the document with the source hash value to obtain an authenticity detection result;
comparing the file quantity obtained by counting the file quantity of the document with the source data to obtain an integrity detection result;
obtaining an availability detection result based on the file format and a preset available format range;
if the authenticity detection result, the integrity detection result and the availability detection result are all qualified, the document archiving detection result is qualified; and if at least one of the authenticity detection result, the integrity detection result and the availability detection result is unqualified, the archived detection result of the document is unqualified.
In an embodiment, the acquiring a target document qualified in the archived detection result and the encoding configuration information matched with the target document includes:
acquiring the organization to which the target document belongs from the data source file;
if the organization has the corresponding coding configuration information, taking the coding configuration information corresponding to the organization as the coding configuration information matched with the target receipt; and if the organization does not have corresponding encoding configuration information, taking the system encoding configuration information as the encoding configuration information matched with the target bill.
In an embodiment, the encoding the target document according to a uniform encoding field based on the encoding configuration information to obtain an archive number corresponding to the target document includes:
acquiring a unified coding field, wherein the unified coding field comprises a full number, a file door type code, a year, a storage deadline code, a case number and a part number;
acquiring the organization, period and business document types to which the target document belongs from the data source file;
based on the coding configuration information matched with the target document, converting the organization, period and business document types to which the target document belongs into a full number, a file gate code, a year and a storage period code corresponding to the target document;
inquiring to obtain a case number initial value and a part number initial value based on the attributive organization, period attribution and business document type of the target document;
and updating the case number initial value and the case number initial value to obtain the case number and the case number of the target document.
In an embodiment, the updating the case number starting value and the case number starting value to obtain the case number and the case number of the target document includes:
updating the initial value of the document number to obtain an updated document number, and if the updated document number conforms to the coding configuration information matched with the target document, taking the updated document number as the document number of the target document and taking the initial value of the case number as the case number of the target document;
and if the updated case number does not accord with the encoding configuration information matched with the target document, taking the initialized case number as the case number of the target document, updating the initial value of the case number to obtain an updated case number, and taking the updated case number as the case number of the target document. In one embodiment, the method further comprises:
acquiring a query file number;
and matching the inquiry file number with the file number in the association relation, wherein the document corresponding to the file number which is successfully matched is the inquiry document corresponding to the inquiry file number.
The present application further provides an apparatus for electronic archive management, the apparatus comprising:
the receiving module is used for receiving documents and data source files sent by a target system, and the data source files record information of a plurality of documents;
the detection module is used for carrying out filing detection on the document based on the data source file to obtain a filing detection result;
the acquisition module is used for acquiring the target document with qualified filed detection result and the coding configuration information matched with the target document;
the encoding module is used for encoding the target document according to a uniform encoding field based on the encoding configuration information to obtain an archive number corresponding to the target document;
and the storage module is used for establishing the incidence relation between the archive number and the target document and the archived detection result, and archiving and storing the target document.
The present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the following steps when executing the computer program:
receiving a receipt and a data source file sent by a target system, wherein the data source file records information of a plurality of receipts;
performing archival detection on the document based on the data source file to obtain an archival detection result;
acquiring a target document with qualified filed detection results and encoding configuration information matched with the target document;
coding the target document according to a uniform coding field based on the coding configuration information to obtain a file number corresponding to the target document;
and establishing an incidence relation between the archive number and the target document and the archived detection result, and archiving and storing the target document.
The present application further provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
receiving a receipt and a data source file sent by a target system, wherein the data source file records information of a plurality of receipts;
performing archival detection on the document based on the data source file to obtain an archival detection result;
acquiring a target document with qualified filed detection result and encoding configuration information matched with the target document;
coding the target document according to a uniform coding field based on the coding configuration information to obtain a file number corresponding to the target document;
and establishing an incidence relation between the archive number and the target document and the archived detection result, and archiving and storing the target document.
The method, the device, the computer equipment and the storage medium for managing the electronic file receive the bills and the data source file sent by the target system, wherein the data source file records the information of a plurality of bills; performing archival detection on the document based on the data source file to obtain an archival detection result; acquiring a target document with qualified filed detection result and encoding configuration information matched with the target document; coding the target document according to a uniform coding field based on the coding configuration information to obtain a file number corresponding to the target document; and establishing an incidence relation between the archive number and the target document and the archived detection result, and archiving and storing the target document. Through collection, arrangement, detection, coding and storage of the electronic files, one-key storage of the electronic files is realized, and the electronic file archiving efficiency is improved.
Drawings
FIG. 1 is a diagram of an exemplary embodiment of an electronic file management method;
FIG. 2 is a flowchart illustrating an exemplary embodiment of a method for managing an electronic file;
FIG. 3 is a schematic diagram of an embodiment of a process for electronic archive detection;
FIG. 4 is a flow diagram illustrating a process for obtaining code configuration information according to one embodiment;
FIG. 5 is a flowchart illustrating an embodiment of a file number encoding process;
FIG. 6 is a schematic diagram of a process for determining case and part numbers in one embodiment;
FIG. 7 is a flowchart illustrating file querying in one embodiment;
FIG. 8 is a diagram illustrating the result of file numbering in one embodiment;
FIG. 9 is a flow diagram that illustrates the heterogeneous system setup, according to one embodiment;
FIG. 10 is a schematic flow diagram of archive detection in one embodiment;
FIG. 11 is a schematic diagram of the process for determining case and part numbers in another embodiment;
FIG. 12 is a block diagram of an electronic file management device in accordance with an embodiment;
FIG. 13 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
The method for managing electronic archives provided by the embodiment of the application can be applied to the application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The data storage system may store data that the server 104 needs to process. The data storage system may be integrated on the server 104, or may be located on the cloud or other network server. The terminal 102 receives documents and data source files sent by a target system, the documents and the data source files are sent to the server 104, the server 104 carries out filing detection on the documents, codes the target documents with qualified detection results according to the matched coding configuration information and the uniform coding fields, establishes the incidence relation between the file numbers and the target documents and the detection results, and files and stores the target documents; the terminal 102 acquires the inquiry file number, sends the inquiry file number to the server 104, the server 104 sends the bill and the detection result corresponding to the inquiry file number to the terminal 102, and the terminal 102 displays the bill and the detection result corresponding to the inquiry file number. The terminal 102 may be, but not limited to, various cameras, personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.
In one embodiment, as shown in fig. 2, a method for electronic archive management is provided, and this embodiment is illustrated by applying the method to a terminal, it is to be understood that the method may also be applied to a server, and may also be applied to a system including a terminal and a server, and implemented by interaction between the terminal and the server. In this embodiment, the method includes the steps of:
step 202, receiving a document and a data source file sent by a target system, wherein the data source file records information of a plurality of documents.
The target system refers to a system for providing archived documents, and can be one or more systems. The receipt is a written certificate which is obtained or filled in during the business and specifies the actual conditions of the transaction, the item and the like, is the original data and the important basis for accounting, and can be a certificate, an account book, a report form and the like. The data source file is a file containing document related information, and can be a file in a format of XML, JSON and the like, and the number of the document information contained in the data source file can be set according to requirements.
Specifically, a document to be filed and a data source file for recording document information are acquired.
In one embodiment, the target system is an ERP system, and the ERP system sends the documents to be archived and stored to the archive management system through an archiving operation or a timed trigger sending operation.
In one embodiment, the data source file contains information of the organization, period, type, MD5, and the number of documents, and one data source file stores information of 100 documents.
And step 204, performing archival detection on the document based on the data source file to obtain an archival detection result.
The archiving detection refers to detection before archiving, detected content can be set according to requirements, and one or more detections such as security detection, authenticity detection, integrity detection, availability detection and the like can be set. The archival detection result refers to a result obtained by performing archival detection, and can be set as qualified, unqualified and the like.
Specifically, the information of the document is compared with the information corresponding to the document in the data source file to obtain an archived detection result.
And step 206, acquiring the target document with qualified filed detection result and the coding configuration information matched with the target document.
The target document refers to a document with qualified filed detection results. The coding configuration information refers to a rule for compiling document archive numbers, personalized coding configuration information can be compiled according to requirements, and the compiling content can be formulated by referring to GB/T9705-2008 document archive format, GB/T18894-2016 electronic file archiving and electronic file management specification, DA/T12-2012 whole volume specification, DA/T22-2015 archived file sorting rule, DA/T42-2009 enterprise archive working specification and the like.
Specifically, the document with qualified filed detection result is determined as the target document, and the encoding configuration information matched with the target document is obtained according to the organization to which the target document belongs.
And step 208, coding the target document according to the uniform coding field based on the coding configuration information to obtain a file number corresponding to the target document.
The coded field refers to a field with a file number, and the field can be connected through punctuation marks, such as "-", and the like. And the coding refers to compiling the document number according to the coding configuration information and the uniform coding field. The file number is a unique number for distinguishing and storing documents and can be composed of one or more of Arabic numerals, English symbols, punctuation marks and the like.
Specifically, the information of the document is converted into the information in the uniform coding field through the coding configuration information, and a unique file number which can represent the document is obtained.
And step 210, establishing an incidence relation between the file number and the target document and the archived detection result, and archiving and storing the target document.
In fact, archiving means that the content to be stored is stored according to a set rule.
In the embodiment, the document management system receives documents and data source files sent by a target system, and documents are filed and detected based on the data source files, so that the accuracy of file storage is improved; acquiring a target document with a qualified filed detection result and encoding configuration information matched with the target document, and encoding the target document according to a uniform encoding field based on the encoding configuration information to obtain an archive number corresponding to the target document, so that the encoding flexibility is improved, and the personalized requirement is met; and establishing an incidence relation between the file number and the target document and the filed detection result, and filing and storing the target document. The collection, arrangement, detection, coding and storage of the electronic files are completed, one-key storage of the electronic files is realized, and the electronic file archiving efficiency is improved.
In one embodiment, as shown in FIG. 3, the process of electronic archive detection comprises:
step 302, obtaining the filing time and the document state corresponding to the document from the data source file.
The filing time refers to the time when the document is finished in the target system, and can be understood as the time when the document is stored in the target system. The document state refers to an action executed when the document is stored in a target system, and can be a state of deletion, addition, update and the like.
And step 304, sequencing the documents based on the filing time to obtain a sequencing result.
The sorting is a process of arranging disordered documents according to a keyword sequence by a certain method. In one embodiment, the time sequence is arranged according to time sequence, and the time sequence can be arranged from early to late or from late to early.
And step 306, performing archival detection on documents with new and updated document states in sequence based on the sequencing result to obtain an archival detection result.
Specifically, the state of the document is sequentially judged according to the sequencing result, and if the document state is a newly increased state or an updated state, the document is subjected to filing detection to obtain a filing detection result.
In this embodiment, documents are sorted according to the filing time to obtain a sorting result, the documents are sequentially subjected to state judgment according to the sorting result, and documents in new and updated states are filed and detected to obtain a filed detection result, so that the quality of the filed documents is improved.
In one embodiment, based on the sorting result, performing archive detection on documents whose document states are new and updated in sequence to obtain an archive detection result, including:
and acquiring a source hash value, source data and a file format corresponding to the document from a data source file.
The hash value is a value calculated by performing an MD5 message digest algorithm on the document. MD5 refers to Message-Digest Algorithm, a widely used cryptographic hash function that generates a 128-bit (16-byte) hash value to ensure that the information transfer is complete and consistent. The source hash value refers to the original hash value of the document stored in the data source file. The source data refers to the number of forms contained in the data stored in the data source file. The file format refers to a special encoding method for information used by a computer to store information, and is generally identified by using an extension.
Specifically, the source hash value, the source data and the file format corresponding to the document are obtained by inquiring from the data source file.
And comparing the hash value obtained by carrying out password hash operation on the document with the source hash value to obtain an authenticity detection result.
The cryptographic hash operation refers to processing input information by using a 512-bit packet of the MD5 code, dividing each packet into 16 32-bit sub-packets, performing a series of processing, and generating a 128-bit hash value by concatenating the four 32-bit packets, wherein the output of the algorithm consists of four 32-bit packets.
Specifically, the document is subjected to password hash operation to obtain a hash value, the hash value is compared with a corresponding source hash value stored in the data source document of the document, if the hash value is consistent with the source hash value, the authenticity detection result is qualified, and if the hash value is inconsistent with the source hash value, the authenticity detection result is unqualified.
And comparing the file quantity obtained by counting the file quantity of the document with the source data to obtain an integrity detection result.
The number of files refers to the number of files that a document has in total including attachments.
Specifically, the number of documents counted by the document number is compared with the corresponding source data stored in the data source document of the document, if the number of documents is consistent, the integrity detection result is qualified, and if the number of documents is inconsistent, the integrity detection result is unqualified.
And obtaining an availability detection result based on the file format and a preset available format range.
The preset available format range refers to a category included in a preset available file format.
Specifically, a corresponding format of the document stored in the data source file is obtained, whether the format corresponding to the document is included in a preset available format range or not is inquired, if the format corresponding to the document is included in the preset available format range, the availability detection result is qualified, and if the format corresponding to the document is not included in the preset available format range, the availability detection result is unqualified.
If the authenticity detection result, the integrity detection result and the availability detection result are all qualified, the archival detection result of the document is qualified; and if at least one of the authenticity detection result, the integrity detection result and the availability detection result is unqualified, the archived detection result of the document is unqualified.
In the embodiment, authenticity detection, integrity detection and availability detection are carried out on the document based on the document and information corresponding to the document in the data source file, and authenticity detection results, integrity detection results and availability detection results are analyzed to obtain filed detection results, so that authenticity, integrity and availability of the filed document are ensured, and accuracy of the filed file is improved.
In one embodiment, as illustrated in fig. 4, obtaining the encoding configuration information includes:
step 402, obtaining the attributive organization of the target document from the data source file.
Where an organization refers to a company or department that produces documents.
Step 404, if the organization has the corresponding code configuration information, the code configuration information corresponding to the organization is used as the code configuration information matched with the target bill; and if the organization does not have corresponding coding configuration information, taking the system coding configuration information as coding configuration information matched with the target document.
The code configuration information corresponding to the organization exists is code configuration information which is personalized by a company or a unit. The system code configuration information refers to default code configuration information set by the system.
In the embodiment, the encoding configuration information matched with the target document is determined by the organization to which the target document belongs, so that the flexibility of the file number is improved.
In one embodiment, as illustrated in FIG. 5, the archive number encoding process includes:
step 502, obtain the unified encoding field, the unified encoding field includes the whole number, the file door code, the year, the storage period code, the case number, the part number.
Wherein, the whole numbers refer to the codes compiled by the file-standing units and are used for distinguishing the file-standing units. The archival department code refers to a code representing archival department of the archived file, such as a certificate, a document, a photo, a sound recording, a video recording and the like, and can be identified by the initial letter of Chinese pinyin or a number. The year refers to the year in which the document is stored. The storage deadline code is a code corresponding to a storage deadline. The case number is a sequence number for creating files in a predetermined sequence, and files of the same type are generally created starting from "1". The file number indicates that the file is managed in units of "file", and is generally compiled from "1".
In one embodiment, the storage period is divided into permanent storage and regular storage, and the storage period is respectively marked by "Y", "D30" and "D10" for permanent storage, regular storage for 30 years and regular storage for 10 years.
Step 504, the organization, period and business document types of the target document attribution are obtained from the data source file.
The term means a date, and may include one or a combination of a year, a month, a day, and the like. The business document type refers to the category to which the document belongs, and can be a voucher, an account book, a report form and the like.
Step 506, based on the coding configuration information matched with the target document, the organization, period and business document types to which the target document belongs are converted into the full numbers, file gate codes, years and storage period codes corresponding to the target document.
Specifically, according to the coding configuration information matched with the target document, the attributive organization is converted to generate a whole number, the period attribution is converted to generate a year, and the business document type is converted to generate a file gate code and a storage period code.
And step 508, inquiring to obtain a case number initial value and a part number initial value based on the attributive organization, period attribution and business document types of the target document.
The initial value of the document number refers to the basis of the document number compiled by the target document, and can be understood as the document number of the previous document of the same attributive organization, period and business document type. The initial value of the part number refers to the basis of compiling the part number of the target document, and can be understood as the part number of the previous document of the organization, the period, the business document type and the case number of the same attribution.
Specifically, the maximum case number used by the documents of the same attributive organization, period attribution and business document type is inquired as the case number initial value of the target document, and the maximum case number used by the documents of the same attributive organization, period attribution, business document type and case number is inquired as the case number initial value of the target document.
And step 510, updating the initial value of the case number and the initial value of the case number to obtain the case number and the case number of the target document.
The updating refers to operations such as addition and subtraction of the initial value of the case number and the initial value of the part number.
In this embodiment, based on the encoding configuration information, the organization, the period, and the service document type of the document are converted into the full number, the archive door type code, the year, and the storage deadline code in the unified encoding field, and the initial value of the case number corresponding to the query are updated to obtain the case number and the case number of the target document, so that the fineness of the archive number is improved.
In one embodiment, as depicted in FIG. 6, step 510 includes:
and step 510A, updating the initial value of the document number to obtain an updated document number, and if the updated document number conforms to the code configuration information matched with the target document, taking the updated document number as the document number of the target document and taking the initial value of the document number as the document number of the target document.
Specifically, 1 is added to the initial value of the document number to obtain an updated document number, whether the updated document number meets the setting of the encoding configuration information matched with the target document on the document number is judged, if yes, the updated document number is used as the document number of the target document, and the initial value of the document number is used as the document number of the target document.
And step 510B, if the updated case number does not accord with the encoding configuration information matched with the target document, the initialized case number is used as the case number of the target document, the initial value of the case number is updated to obtain the updated case number, and the updated case number is used as the case number of the target document.
Specifically, if the updated document number conforms to the setting of the code configuration information matched with the target document on the document number, the initialized document number is used as the document number of the target document, and the updated document number obtained by adding one to the initial value of the document number is used as the document number of the target document.
In one embodiment, the encoding configuration information setting part number is represented by three digits and is 001 to 999, if the initial value of the part number is 999, the updated part number is 1000, and 1000 does not conform to the setting of the encoding configuration information, the initialized part number 001 is used as the part number of the target document, and the updated part number obtained by adding 1 to the part number is used as the part number of the target document.
In this embodiment, the initial value of the part number is updated, whether the updated part number conforms to the encoding configuration information is judged, and the part number and the case number corresponding to the target document are determined according to the judgment result, so that the association degree between the part number and the case number is improved.
In one embodiment, as illustrated in FIG. 7, the profile query includes:
step 702, acquiring a query file number;
the document number query means querying a document number corresponding to the document.
Step 704, matching the inquiry file number with the file number in the association relation, wherein the document corresponding to the file number which is successfully matched is the inquiry document corresponding to the inquiry file number.
The incidence relation refers to the relation between the document number established after the document numbers are compiled and the document detection result.
In this embodiment, the association relationship is queried by querying the file number, so as to obtain a query document corresponding to the queried file number and a document file detection result, thereby increasing the document query speed.
In a particular embodiment, the setup of the ERP system and the archive management system is accomplished by configuring the source data, configuring the archive content, configuring the archive scheme, archiving, and monitoring steps as described in FIG. 8. Firstly, configuring source data, determining that a document to be filed is provided by a specific ERP system or a plurality of ERP systems, and interface related information of communication between the ERP system and a file management system, determining interface input and output formats, and determining a communication channel and a communication mode between heterogeneous systems; secondly, configuring filing content, setting the type of the filed bill according to the requirement of a user, and determining the incidence relation between the bill type and an interface for the combination of one type or multiple types of bills; the filing scheme is configured again, the document of the ERP system is set by sending the document to the file management system through filing operation or sending the document to the file management system at a certain time every month, and the document file number compiling rule, the filing sequence and the storage mode of the file management system are set; after the three configurations are completed, the archive management system can archive and store the document and monitor the whole archiving process.
The document management system receives documents and data source files sent by the ERP system, and performs filing detection on the documents as shown in fig. 9. The method comprises the steps that a file management system receives documents needing to be filed and data source files corresponding to the documents sent by an ERP system according to months, the filing time of the documents corresponding to the documents in the ERP system is obtained from the data source files, the documents are sorted according to the filing time, document state detection is carried out on the documents in sequence according to sorting results, if the document state is deleted, whether the documents are filed in the file system or not is inquired through document numbers, filed documents and filed detection records are deleted, if the document state is newly increased or updated, authenticity detection, integrity detection and availability detection are carried out on the documents according to the data source files, and authenticity detection results, integrity detection results and availability detection results are stored in a filed detection record list.
The document management system sets a uniform coding field which is a whole number-a document gate class code, a year, a storage time limit code-a case number-a part number, acquires self-defined coding configuration information set by a company according to an organization to which a document belongs as coding configuration information matched with the document, converts the organization information to which the document belongs into the whole number, converts period information into the year, and converts a service type into the document gate class code and the storage time limit code based on the coding configuration information matched with the document. Determining the case number and the case number is as shown in fig. 10, inquiring the maximum case number corresponding to the same organization, period affiliation, and business document type as the case number initial value, inquiring the maximum case number corresponding to the same organization, period affiliation, business document type, and case number initial value as the case number initial value, if there is no case number initial value, generating the initialized case number as the case number of the document, and generating the initialized case number as the case number of the document; if the initial value of the part number exists, the updated part number obtained by adding 1 to the initial value of the part number is judged, if the updated part number accords with the number configuration information, the updated part number is used as the part number of the document, and the initial value of the case number is used as the case number of the document; and if the updated case number does not accord with the serial number configuration information, generating an initialized case number as the case number of the document, and using the result of adding 1 to the initial value of the case number as the case number of the document.
The document file number is generated by combining the whole number, the file gate code, the year, the storage deadline code, the case number and the part number, and the file number is the whole number, the file gate code, the year, the storage deadline code, the case number and the part number, as shown in fig. 11. And establishing an incidence relation among the file numbers, the bills and the filed detection results, and filing and storing the files. The collection, integration, detection, coding and archiving work of the electronic files are completed, and the archiving efficiency of the electronic files is improved.
It should be understood that although the various steps in the flow charts of fig. 1-11 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-11 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
Based on the same inventive concept, the embodiment of the present application further provides an electronic archive management device for implementing the above-mentioned related electronic archive management. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the method, so the specific limitations in the embodiment of one or more electronic file management devices provided below can be referred to the limitations of the electronic file management method in the above, and are not described herein again.
In one embodiment, as shown in FIG. 12, an electronic archive management apparatus is provided and includes a receiving module 1202, a detecting module 1204, an obtaining module 1206, an encoding module 1208, and a saving module 1210, wherein:
a receiving module 1202, configured to receive a document and a data source file sent by a target system, where the data source file records information of multiple documents;
the detection module 1204 is configured to perform archive detection on the document based on the data source file to obtain an archive detection result;
the obtaining module 1206 is used for obtaining a target document with qualified filed detection result and encoding configuration information matched with the target document;
the encoding module 1208 is configured to encode the target document according to a uniform encoding field based on the encoding configuration information, so as to obtain an archive number corresponding to the target document;
the saving module 1210 is configured to establish an association relationship between the archive number and the target document and the archived detection result, and archive and save the target document.
In one embodiment, the detection module 1204 is further configured to: acquiring filing time and a document state corresponding to a document from the data source file; sorting the bills based on the filing time to obtain a sorting result; and based on the sequencing result, performing archival detection on the documents with the document states of new and updated in sequence to obtain an archival detection result.
In one embodiment, the detection module 1204 is further configured to: acquiring a source hash value, source data and a file format corresponding to the document from the data source file; comparing a hash value obtained by carrying out password hash operation on the document with the source hash value to obtain an authenticity detection result; comparing the file quantity obtained by counting the file quantity of the document with the source data to obtain an integrity detection result; obtaining an availability detection result based on the file format and a preset available format range; if the authenticity detection result, the integrity detection result and the availability detection result are all qualified, the document archiving detection result is qualified; and if at least one of the authenticity detection result, the integrity detection result and the availability detection result is unqualified, the archived detection result of the document is unqualified.
In one embodiment, the obtaining module 1206 is further configured to: acquiring the organization to which the target document belongs from the data source file; if the organization has the corresponding coding configuration information, taking the coding configuration information corresponding to the organization as the coding configuration information matched with the target receipt; and if the organization does not have corresponding coding configuration information, using the system coding configuration information as the coding configuration information matched with the target document.
In one embodiment, the encoding module 1208 is further configured to: acquiring a unified coding field, wherein the unified coding field comprises a full number, a file door type code, a year, a storage deadline code, a case number and a part number; acquiring the organization, period and business document types to which the target document belongs from the data source file; based on the coding configuration information matched with the target document, converting the organization, period and business document types to which the target document belongs into a full number, a file door code, a year and a storage period code corresponding to the target document; inquiring to obtain a case number initial value and a part number initial value based on the attributive organization, period attribution and business document type of the target document; and updating the case number initial value and the case number initial value to obtain the case number and the case number of the target document.
In one embodiment, the encoding module 1208 is further configured to: updating the initial value of the document number to obtain an updated document number, and if the updated document number conforms to the encoding configuration information matched with the target document, taking the updated document number as the document number of the target document and taking the initial value of the document number as the document number of the target document; and if the updated case number does not accord with the encoding configuration information matched with the target document, taking the initialized case number as the case number of the target document, updating the initial value of the case number to obtain an updated case number, and taking the updated case number as the case number of the target document.
In one embodiment, the saving module 1210 is further configured to: acquiring a query file number; and matching the inquiry file number with the file number in the association relation, wherein the document corresponding to the file number which is successfully matched is the inquiry document corresponding to the inquiry file number.
The modules in the electronic file management device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
FIG. 13 is a diagram that illustrates an internal structure of the computer device in one embodiment. The computer device may be either a terminal or a server. As shown in fig. 13, the computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement the video compositing method. The internal memory may also have stored therein a computer program that, when executed by the processor, causes the processor to perform a business document conversion method.
Those skilled in the art will appreciate that the architecture shown in fig. 13 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program: receiving a receipt and a data source file sent by a target system, wherein the data source file records information of a plurality of receipts; performing archival detection on the document based on the data source file to obtain an archival detection result; acquiring a target document with qualified filed detection result and encoding configuration information matched with the target document; coding the target document according to a uniform coding field based on the coding configuration information to obtain a file number corresponding to the target document; and establishing an incidence relation between the archive number and the target document and the archived detection result, and archiving and storing the target document.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring filing time and a document state corresponding to a document from the data source file; sorting the bills based on the filing time to obtain a sorting result; and based on the sequencing result, performing archival detection on the documents with the document states of new and updated in sequence to obtain an archival detection result.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring a source hash value, source data and a file format corresponding to the document from the data source file; comparing a hash value obtained by carrying out password hash operation on the bill with the source hash value to obtain an authenticity detection result; comparing the file quantity obtained by counting the file quantity of the document with the source data to obtain an integrity detection result; obtaining an availability detection result based on the file format and a preset available format range; if the authenticity detection result, the integrity detection result and the availability detection result are all qualified, the document archiving detection result is qualified; and if at least one of the authenticity detection result, the integrity detection result and the availability detection result is unqualified, the archived detection result of the document is unqualified.
In one embodiment, the processor when executing the computer program further performs the steps of: acquiring an organization to which the target bill belongs from the data source file; if the organization has the corresponding coding configuration information, taking the coding configuration information corresponding to the organization as the coding configuration information matched with the target receipt; and if the organization does not have corresponding coding configuration information, using the system coding configuration information as the coding configuration information matched with the target document.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring a unified coding field, wherein the unified coding field comprises a full file number, a file door type code, a year code, a storage deadline code, a case number and a part number; acquiring the organization, period and business document types to which the target document belongs from the data source file; based on the coding configuration information matched with the target document, converting the organization, period and business document types to which the target document belongs into a full number, a file gate code, a year and a storage period code corresponding to the target document; inquiring to obtain a case number initial value and a part number initial value based on the attributive organization, period attribution and business document type of the target document; and updating the case number initial value and the case number initial value to obtain the case number and the case number of the target document.
In one embodiment, the processor, when executing the computer program, further performs the steps of: updating the initial value of the document number to obtain an updated document number, and if the updated document number conforms to the encoding configuration information matched with the target document, taking the updated document number as the document number of the target document and taking the initial value of the document number as the document number of the target document; and if the updated case number does not accord with the encoding configuration information matched with the target document, taking the initialized case number as the case number of the target document, updating the initial value of the case number to obtain an updated case number, and taking the updated case number as the case number of the target document.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring a query file number; and matching the inquiry file number with the file number in the association relation, wherein the document corresponding to the file number which is successfully matched is the inquiry document corresponding to the inquiry file number.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: receiving a receipt and a data source file sent by a target system, wherein the data source file records information of a plurality of receipts; performing archival detection on the document based on the data source file to obtain an archival detection result; acquiring a target document with qualified filed detection result and encoding configuration information matched with the target document; coding the target document according to a uniform coding field based on the coding configuration information to obtain a file number corresponding to the target document; and establishing an incidence relation between the file number and the target document and the filed detection result, and filing and storing the target document.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring filing time and a document state corresponding to a document from the data source file; sorting the bills based on the filing time to obtain a sorting result; and based on the sequencing result, performing archival detection on the documents with the document states of new and updated in sequence to obtain an archival detection result.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a source hash value, source data and a file format corresponding to the document from the data source file; comparing a hash value obtained by carrying out password hash operation on the document with the source hash value to obtain an authenticity detection result; comparing the file number obtained by counting the file number of the bill with the source data to obtain an integrity detection result; obtaining an availability detection result based on the file format and a preset available format range; if the authenticity detection result, the integrity detection result and the availability detection result are all qualified, the document archiving detection result is qualified; and if at least one of the authenticity detection result, the integrity detection result and the availability detection result is unqualified, the archived detection result of the document is unqualified.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring an organization to which the target bill belongs from the data source file; if the organization has the corresponding coding configuration information, taking the coding configuration information corresponding to the organization as the coding configuration information matched with the target receipt; and if the organization does not have corresponding coding configuration information, using the system coding configuration information as the coding configuration information matched with the target document.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a unified coding field, wherein the unified coding field comprises a full number, a file door type code, a year, a storage deadline code, a case number and a part number; acquiring the organization, period and business document types to which the target document belongs from the data source file; based on the coding configuration information matched with the target document, converting the organization, period and business document types to which the target document belongs into a full number, a file gate code, a year and a storage period code corresponding to the target document; inquiring to obtain a case number initial value and a part number initial value based on the attributive organization, period attribution and business document type of the target document; and updating the case number initial value and the case number initial value to obtain the case number and the case number of the target document.
In one embodiment, the computer program when executed by the processor further performs the steps of: updating the initial value of the document number to obtain an updated document number, and if the updated document number conforms to the encoding configuration information matched with the target document, taking the updated document number as the document number of the target document and taking the initial value of the document number as the document number of the target document; and if the updated case number does not accord with the encoding configuration information matched with the target document, taking the initialized case number as the case number of the target document, updating the initial value of the case number to obtain an updated case number, and taking the updated case number as the case number of the target document. In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a query file number; and matching the inquiry file number with the file number in the association relation, wherein the document corresponding to the file number which is successfully matched is the inquiry document corresponding to the inquiry file number.
It should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include a Read-Only Memory (ROM), a magnetic tape, a floppy disk, a flash Memory, an optical Memory, a high-density embedded nonvolatile Memory, a resistive Random Access Memory (ReRAM), a Magnetic Random Access Memory (MRAM), a Ferroelectric Random Access Memory (FRAM), a Phase Change Memory (PCM), a graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, and these are all within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (10)

1. An electronic archive management method, characterized in that the method comprises:
receiving a receipt and a data source file sent by a target system, wherein the data source file records information of a plurality of receipts;
performing archival detection on the document based on the data source file to obtain an archival detection result;
acquiring a target document with qualified filed detection result and encoding configuration information matched with the target document;
coding the target document according to a uniform coding field based on the coding configuration information to obtain a file number corresponding to the target document;
and establishing an incidence relation between the file number and the target document and the filed detection result, and filing and storing the target document.
2. The method of claim 1, wherein performing archive detection on the document based on the data source file to obtain an archive detection result comprises:
acquiring filing time and a document state corresponding to a document from the data source file;
sorting the bills based on the filing time to obtain a sorting result;
and based on the sequencing result, performing archival detection on the documents with the document states of new and updated in sequence to obtain an archival detection result.
3. The method according to claim 2, wherein the sequentially performing archive detection on the documents with the document states of new and updated based on the sorting result to obtain an archive detection result comprises:
acquiring a source hash value, source data and a file format corresponding to the document from the data source file;
comparing a hash value obtained by carrying out password hash operation on the document with the source hash value to obtain an authenticity detection result;
comparing the file quantity obtained by counting the file quantity of the document with the source data to obtain an integrity detection result;
obtaining an availability detection result based on the file format and a preset available format range;
if the authenticity detection result, the integrity detection result and the availability detection result are all qualified, the document archiving detection result is qualified; and if at least one of the authenticity detection result, the integrity detection result and the availability detection result is unqualified, the archived detection result of the document is unqualified.
4. The method according to claim 1, wherein the acquiring of the target document qualified in the archived detection result and the encoding configuration information matched with the target document comprises:
acquiring an organization to which the target bill belongs from the data source file;
if the organization has the corresponding coding configuration information, taking the coding configuration information corresponding to the organization as the coding configuration information matched with the target receipt; and if the organization does not have corresponding coding configuration information, using the system coding configuration information as the coding configuration information matched with the target document.
5. The method according to claim 1, wherein the encoding the target document according to a uniform encoding field based on the encoding configuration information to obtain an archive number corresponding to the target document comprises:
acquiring a unified coding field, wherein the unified coding field comprises a full number, a file door type code, a year, a storage deadline code, a case number and a part number;
acquiring the organization, period and business document types to which the target document belongs from the data source file;
based on the coding configuration information matched with the target document, converting the organization, period and business document types to which the target document belongs into a full number, a file gate code, a year and a storage period code corresponding to the target document;
inquiring to obtain a case number initial value and a part number initial value based on the attributive organization, period attribution and business document type of the target document;
and updating the case number initial value and the case number initial value to obtain the case number and the case number of the target document.
6. The method according to claim 5, wherein the updating the case number starting value and the case number starting value to obtain the case number and the case number of the target document comprises:
updating the initial value of the document number to obtain an updated document number, and if the updated document number conforms to the coding configuration information matched with the target document, taking the updated document number as the document number of the target document and taking the initial value of the case number as the case number of the target document;
and if the updated case number does not accord with the encoding configuration information matched with the target document, taking the initialized case number as the case number of the target document, updating the initial value of the case number to obtain an updated case number, and taking the updated case number as the case number of the target document.
7. The method of claim 1, further comprising:
acquiring a query file number;
and matching the inquiry file number with the file number in the association relation, wherein the document corresponding to the file number which is successfully matched is the inquiry document corresponding to the inquiry file number.
8. An apparatus for electronic archive management, the apparatus comprising:
the receiving module is used for receiving documents and data source files sent by a target system, and the data source files record information of a plurality of documents;
the detection module is used for carrying out filing detection on the document based on the data source file to obtain a filing detection result;
the acquisition module is used for acquiring the target document with qualified filed detection result and the coding configuration information matched with the target document;
the encoding module is used for encoding the target document according to a uniform encoding field based on the encoding configuration information to obtain an archive number corresponding to the target document;
and the storage module is used for establishing the incidence relation between the archive number and the target document and the archived detection result, and archiving and storing the target document.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202210579736.3A 2022-05-26 2022-05-26 Electronic archive management method and device, computer equipment and storage medium Pending CN114968914A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210579736.3A CN114968914A (en) 2022-05-26 2022-05-26 Electronic archive management method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210579736.3A CN114968914A (en) 2022-05-26 2022-05-26 Electronic archive management method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114968914A true CN114968914A (en) 2022-08-30

Family

ID=82955153

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210579736.3A Pending CN114968914A (en) 2022-05-26 2022-05-26 Electronic archive management method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114968914A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115994743A (en) * 2023-03-24 2023-04-21 广东电网有限责任公司 Document abstract specification management method and system
CN117591706A (en) * 2024-01-19 2024-02-23 深圳市金政软件技术有限公司 Method and device for generating file numbers and terminal equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115994743A (en) * 2023-03-24 2023-04-21 广东电网有限责任公司 Document abstract specification management method and system
CN117591706A (en) * 2024-01-19 2024-02-23 深圳市金政软件技术有限公司 Method and device for generating file numbers and terminal equipment
CN117591706B (en) * 2024-01-19 2024-04-26 深圳市金政软件技术有限公司 Method and device for generating file numbers and terminal equipment

Similar Documents

Publication Publication Date Title
US11182366B2 (en) Comparing data stores using hash sums on disparate parallel systems
US20190332606A1 (en) A system and method for processing big data using electronic document and electronic file-based system that operates on RDBMS
US10511730B1 (en) Method to create a secure distributed data validation system using a distributed storage system and artificial intelligence
CN114968914A (en) Electronic archive management method and device, computer equipment and storage medium
CN111177302B (en) Service bill processing method, device, computer equipment and storage medium
CN104021132A (en) Method and system for verification of consistency of backup data of host database and backup database
Tassone et al. Visualizing digital forensic datasets: a proof of concept
CN111563098A (en) Structured and unstructured data query method, device, storage medium and device
CN104299083A (en) Cloud resume storage and consulting system and method
CN110347674A (en) A kind of index creation method, device and equipment based on service identification
US11397681B2 (en) Multi-cache based digital output generation
CN116089620B (en) Electronic archive data management method and system
CN115544183A (en) Data visualization method and device, computer equipment and storage medium
Ali et al. Carving of the OOXML document from volatile memory using unsupervised learning techniques
CN111339566A (en) Block summarization method, device, computer equipment and storage medium
CN116910820A (en) Data report processing method, device, computer equipment and storage medium
CN114997109A (en) Receipt conversion method and device, computer equipment and storage medium
US11681966B2 (en) Systems and methods for enhanced risk identification based on textual analysis
Dandass et al. An empirical analysis of disk sector hashes for data carving
CN111339574B (en) Block data processing method and device, computer equipment and storage medium
CN113434365B (en) Data characteristic monitoring method and device, electronic equipment and storage medium
US11138275B1 (en) Systems and methods for filter conversion
CN118278893A (en) Electronic contract generation method, device, computer equipment and storage medium
CN118246919A (en) Resource transfer recording method, apparatus, computer device, storage medium, and computer program product
CN117312283A (en) Database and table data verification method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination