File description method and system and computer readable storage medium
By providing an archive recording method that supports batch task processing, and using OCR technology to transform and analyze archive files, the problems of low efficiency and poor flexibility of archive recording in the existing technology are solved, and efficient and flexible archive management and retrieval are achieved.
Patent Information
- Application Number
- CN202411497752.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-24
- Publication Date
- 2025-02-07
AI Technical Summary
The existing archive recording method does not support batch task processing, resulting in low data processing efficiency, poor flexibility and adaptability, and inconvenient retrieval.
Provide an archive recording method, by obtaining the electronic image data of the archive file in the folder selected by the batch task, using OCR technology to convert the electronic image data into editable text data, parsing the text data and extracting key information, according to the pre-pre- The set archive category rules are stored and archived, and corresponding indexes and directories are generated.
It supports batch task processing, improves data processing efficiency, enhances the flexibility and adaptability of the system, simplifies the retrieval and export of archive information, and greatly facilitates users' subsequent utilization and management of archive information.
Smart Images

Figure CN119396775A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to an archive cataloging method, system and computer-readable storage medium. Background Art
[0002] Archives refer to documents and materials with preservation value that are formed by individuals or organizations in the course of their activities over a certain period of time. Archives can include text, pictures, audio, video and other forms, recording information such as historical events, administrative management, business activities, etc. Archives are usually used to prove facts, support decision-making, and pass on knowledge and culture.
[0003] Archival description refers to the process of organizing and recording the basic information of archives. This usually includes systematically recording the title, author, creation time, content summary, classification number and other information of the archives for easy management and retrieval. Through description, archival resources can be better preserved and utilized, and the efficiency of archive management can be improved.
[0004] However, the current archival description method does not support batch task processing, resulting in low data processing efficiency; in addition, the existing archival description method also has defects such as poor flexibility and adaptability, low accuracy and standardization, and inconvenient retrieval for users. Summary of the invention
[0005] To this end, the present application provides an archival cataloging method, system and computer-readable storage medium to solve the problems of low data processing efficiency, poor flexibility and adaptability, and inconvenient retrieval in the archival cataloging method of the prior art.
[0006] In order to achieve the above objectives, this application provides the following technical solutions:
[0007] In the first aspect, a method for recording archives includes:
[0008] Step 1: Acquire electronic image data of archive files in the folder selected by the batch task, and convert the electronic image data into editable text data;
[0009] Step 2: Parse the text data and extract key information, and reverse-fill the folder selected by the batch task into the archive metadata according to the pre-configured parsing rules and the extracted key information to obtain the archive entry data to be verified;
[0010] Step 3: Store and archive the verified archive entry data according to the preset archive category rules, and generate corresponding indexes and directories.
[0011] Preferably, in step 1, OCR technology is used to convert the electronic image data into editable text data.
[0012] Preferably, step 2 also includes: using natural language processing technology to perform semantic analysis and classification on the extracted key information.
[0013] Preferably, in step 3, when the verified archive item data is stored and archived according to the preset archive category rules, the Excel file and the electronic image data are exported as a batch task.
[0014] In the second aspect, an archive recording system includes:
[0015] A data acquisition module, used to obtain electronic image data of archive files in the folder selected by the batch task, and convert the electronic image data into editable text data;
[0016] A cataloging module is used to parse the text data and extract key information, and reversely fill the folder selected by the batch task into the archive metadata according to the pre-configured parsing rules and the extracted key information to obtain the archive entry data to be verified;
[0017] The archive storage module is used to store and archive the verified archive entry data according to the preset archive category rules, and generate corresponding indexes and directories.
[0018] Preferably, OCR technology is used when converting the electronic image data into editable text data.
[0019] Preferably, it also includes: a semantic analysis module for performing semantic analysis and classification on the extracted key information using natural language processing technology.
[0020] Preferably, when storing and archiving the verified archive item data according to the preset archive category rules, the Excel file and the electronic image data are exported as a batch task.
[0021] In a third aspect, a computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of an archive cataloging method.
[0022] In a fourth aspect, a computer program product includes a computer program or instructions, which, when executed by a processor, implement the steps of an archival cataloging method.
[0023] Compared with the prior art, this application has at least the following beneficial effects:
[0024] The present application provides an archive cataloging method, system and computer-readable storage medium, which obtains the electronic image data of the archive files in the folder selected by the batch task and converts the electronic image data into editable text data; parses the text data and extracts key information, and reversely fills the folder selected by the batch task into the archive metadata according to the pre-configured parsing rules and the extracted key information to obtain the archive entry data to be verified; stores and archives the verified archive entry data according to the preset archive category rules, and generates corresponding indexes and directories. The archive cataloging method, system and computer-readable storage medium provided by the present application support custom parsing rules and batch task processing, improve data processing efficiency, can flexibly respond to archive cataloging needs of different types and scales, have strong adaptability, and the retrieval and export functions after archiving greatly facilitate the user's subsequent use and management of archive information.
[0025] The use of OCR technology when converting electronic image data into editable text data can quickly convert electronic images into editable text data, avoiding the tedious process of manual input.
[0026] Using natural language processing technology, semantic analysis and classification of extracted key information can ensure the accuracy and standardization of information extraction. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more intuitively illustrate the prior art and the present application, exemplary drawings are given below. It should be understood that the specific shapes and structures shown in the drawings should not generally be regarded as limiting conditions for implementing the present application; for example, those skilled in the art are capable of easily making conventional adjustments or further optimizations to the addition / reduction / attribution division, specific shapes, positional relationships, connection methods, dimensional ratios, etc. of certain units (components) based on the technical concepts and exemplary drawings disclosed in the present application.
[0028] Figure 1 A flow chart of an archive recording method provided in Example 1 of the present application;
[0029] Figure 2 A schematic diagram of the structure of an archive cataloging system provided in Example 2 of the present application. DETAILED DESCRIPTION
[0030] The present application is further described below in detail through specific embodiments in conjunction with the accompanying drawings.
[0031] In the description of this application: unless otherwise specified, the meaning of "plurality" is two or more. The terms "first", "second", "third", etc. in this application are intended to distinguish the objects referred to, and do not have special meanings in terms of technical connotations (for example, they should not be understood as emphasizing the importance or order, etc.). Expressions such as "including", "comprising", "having", etc. also mean "not limited to" (certain units, components, materials, steps, etc.).
[0032] The terms such as "upper", "lower", "left", "right", "middle", etc. cited in this application are usually used to indicate the general relative position relationship for the purpose of intuitive understanding by referring to the drawings, and are not absolute limitations on the position relationship in the actual product.
[0033] Embodiment 1
[0034] See also Figure 1 This embodiment provides a method for documenting an archive, aiming to provide an automated, efficient and accurate method for documenting an archive to optimize the documenting process, including:
[0035] S1: Acquire electronic image data of archive files in the folder selected by the batch task, and convert the electronic image data into editable text data.
[0036] Specifically, before obtaining the electronic image data of the archival documents, the user is required to create a batch and select relevant folder information. After completing these operations, the batch will be placed in the task queue for asynchronous execution.
[0037] This step converts the electronic image data of the archive files produced by the scanner, camera and other devices in the folder selected by the batch task into editable text data through OCR technology.
[0038] Converting image files into editable text data through OCR technology specifically includes: using a scanner or camera to obtain an electronic image of a paper document; pre-processing the image by removing noise, adjusting contrast and brightness, etc. to ensure that the text is legible, remove unnecessary edges, and correct any tilt that may exist in the image; importing the pre-processed image into OCR software, which analyzes the text in the image and converts it into a machine-readable text format by recognizing the shape and pattern of the characters; exporting the text data into a Word document, TXT file, or other editable format for subsequent use and editing.
[0039] This step can quickly convert electronic images into editable text data through OCR technology, avoiding the tedious process of manual input and improving data processing efficiency.
[0040] S2: Parse the text data and extract key information. Reverse-fill the folder selected by the batch task into the archive metadata according to the pre-configured parsing rules and the extracted key information to obtain the archive entry data to be verified.
[0041] This step begins to parse the data in the task. Data parsing relies on OCR recognition results, user-preconfigured metadata and parsing rules, semantic analysis, and extraction of key information. Specifically, it parses text data to extract key information, and reverse-fills the folder selected by the batch task into the archive metadata according to the file number parsing rules and the extracted key information to generate archive entry data to be verified.
[0042] This step can automatically parse text data, extract and fill in key information into the archive metadata, reducing the workload of manual analysis and further improving data processing efficiency; it also supports the definition of file number parsing rules, and users can customize parsing rules according to specific needs, improving the flexibility and adaptability of the system; it supports one volume with multiple items and one document with one archive, and can customize metadata information to adapt to various types, so that the archives meet the requirements for the description and generation of various types of archives.
[0043] After obtaining the archive entry data to be verified, this step will be handed over to the verification personnel for manual verification and verification. After the verification, the complete archive entry data will be generated. After the verification is completed, the data will enter the archive storage stage for subsequent export and use.
[0044] After the archive entry data to be verified is generated in this step, it will be checked by the verification personnel to ensure the accuracy of the archive entry data finally generated.
[0045] In order to further improve the accuracy and standardization of the description, this step will also use natural language processing technology to perform semantic analysis and classification of the extracted key information. It can identify important elements such as entities, time, and place in the description information, and annotate and classify them.
[0046] Using natural language processing technology to conduct deep semantic analysis of text data and identify important elements such as entities, time, and location can ensure the accuracy and standardization of information extraction and facilitate subsequent management and retrieval.
[0047] S3: Store and archive the verified archive entry data according to the preset archive category rules, and generate corresponding indexes and directories.
[0048] This step will archive and store the verified archival materials after recording. Specifically, it can be stored and archived according to the preset archival category rules, and the corresponding index and directory can be generated to facilitate user retrieval and management. It can also export Excel files and electronic image data according to batch tasks for users to use, which is convenient for users to use and process later.
[0049] The archival cataloging method provided in this embodiment is based on artificial intelligence technology and utilizes technologies such as NLP (natural language processing) and OCR (optical character recognition) to realize intelligent cataloging of archival material metadata. It achieves a high degree of automation from data collection, information extraction, semantic analysis to archival storage, greatly reduces manual intervention, improves work efficiency, and supports batch task processing, which can process a large number of archival files at one time, further improving processing efficiency.
[0050] The file recording method provided in this embodiment has the following advantages:
[0051] (1) Significantly improve work efficiency: The automated cataloging process greatly increases the speed of file processing and significantly improves work efficiency compared to traditional manual cataloging methods.
[0052] (2) Reduce human errors: Through OCR, NLP and automatic parsing technology, the errors that may occur during manual input and parsing are effectively reduced, and the accuracy and consistency of data are improved.
[0053] (3) Improve information utilization: Intelligent information extraction and semantic analysis technologies ensure the accurate extraction and classification of key information, facilitate subsequent information retrieval and utilization, and enhance the value of archival information.
[0054] (4) Optimizing resource allocation: Efficient automated processing reduces dependence on human resources, allowing archive management personnel to devote more energy to other important tasks, thereby improving the efficiency of overall resource allocation.
[0055] (5) Enhanced flexibility and adaptability: Support for custom parsing rules and batch task processing enables flexible response to archival cataloging needs of different types and sizes. The system has strong adaptability and the post-archiving retrieval and export functions greatly facilitate users' subsequent use and management of archival information.
[0056] In summary, the archival description method provided in this embodiment is significantly superior to the existing archival description methods in terms of automation level, efficient data processing, intelligent information extraction and semantic analysis, accuracy and standardization, convenient archiving and retrieval, etc. It has high technological advancement and application value, can effectively optimize the archival description process, improve work efficiency, reduce human errors, and enhance information utilization and user experience, and has broad application prospects and promotion value.
[0057] Embodiment 2
[0058] See also Figure 2 This embodiment provides an archive recording system, including:
[0059] The data acquisition module is used to obtain the electronic image data of the archive files in the folder selected by the batch task, and convert the electronic image data into editable text data; specifically, the OCR technology is used when converting the electronic image data into editable text data;
[0060] The cataloging module is used to parse text data and extract key information, and reverse the folder selected by the batch task into the archive metadata according to the pre-configured parsing rules and the extracted key information to obtain the archive entry data to be verified;
[0061] The archive storage module is used to store and archive the archive item data after verification according to the preset archive category rules, and generate corresponding indexes and directories; specifically, when storing and archiving the archive item data after verification according to the preset archive category rules, the Excel file and electronic image data are exported according to the batch task.
[0062] The present embodiment provides an archive recording system further comprising:
[0063] The semantic analysis module is used to perform semantic analysis and classification on the extracted key information using natural language processing technology.
[0064] For the specific implementation content of each module in an archive recording system, please refer to the definition of an archive recording method in the above text, which will not be repeated here.
[0065] Embodiment 3
[0066] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of an archive recording method are implemented.
[0067] Embodiment 4
[0068] This embodiment provides a computer program product, including a computer program or instructions, which implement the steps of an archive cataloging method when executed by a processor.
[0069] The technical features of the above embodiments may be arbitrarily combined (as long as there is no contradiction in the combination of these technical features). To make the description concise, not all possible combinations of the technical features in the above embodiments are described; these embodiments that are not explicitly written should also be considered to be within the scope of this specification.
Claims
1. A method for recording archives, characterized in that: include: Step 1: Acquire electronic image data of archive files in the folder selected by the batch task, and convert the electronic image data into editable text data; Step 2: Parse the text data and extract key information, and reverse-fill the folder selected by the batch task into the archive metadata according to the pre-configured parsing rules and the extracted key information to obtain the archive entry data to be verified; Step 3: Store and archive the verified archive entry data according to the preset archive category rules, and generate corresponding indexes and directories.
2. The method for recording archives according to claim 1, characterized in that: In the step 1, the OCR technology is used to convert the electronic image data into editable text data.
3. The method for recording archives according to claim 1, characterized in that: The step 2 also includes: using natural language processing technology to perform semantic analysis and classification on the extracted key information.
4. The archival recording method according to claim 1, characterized in that: In the step 3, when the verified archive item data is stored and archived according to the preset archive category rules, the Excel file and the electronic image data are exported as a batch task.
5. An archive recording system, characterized in that: include: A data acquisition module, used to obtain electronic image data of archive files in the folder selected by the batch task, and convert the electronic image data into editable text data; A cataloging module is used to parse the text data and extract key information, and reversely fill the folder selected by the batch task into the archive metadata according to the pre-configured parsing rules and the extracted key information to obtain the archive entry data to be verified; The archive storage module is used to store and archive the verified archive entry data according to the preset archive category rules, and generate corresponding indexes and directories.
6. The archive recording system according to claim 5, characterized in that: The OCR technology is used to convert the electronic image data into editable text data.
7. The archive recording system according to claim 5, characterized in that: Also includes: The semantic analysis module is used to perform semantic analysis and classification on the extracted key information using natural language processing technology.
8. The archive recording system according to claim 5, characterized in that: When storing and archiving the verified archive item data according to the preset archive category rules, the Excel file and electronic image data are exported according to the batch task.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
10. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
Citation Information
Cited By
Multi-modal file integrated metadata extraction and automatic hooking method
CN120470163A
Intelligent archive description method and device and storage medium
CN120653819A