An electronic archive storage management method, system and storage medium

By extracting images from electronic archives and performing feature matching and tagging, the problems of low storage efficiency and image corruption caused by uniform compression are solved, achieving efficient and secure archive storage management.

CN120687629BActive Publication Date: 2026-05-08GUANGDONG YUNLEI DIGITAL TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GUANGDONG YUNLEI DIGITAL TECHNOLOGY CO LTD
Filing Date
2025-06-23
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

In existing electronic archive storage, the uniform compression method results in low storage efficiency and a high risk of image corruption, and it is difficult to ensure the consistency of archive access permissions and storage levels.

Method used

By extracting images from electronic archives and performing feature matching and tagging, they are stored in image and archive databases respectively. The archive database is matched through security, format and capacity layers to ensure that the access permissions of the archives are consistent with the storage level.

Benefits of technology

It improves storage efficiency, avoids image corruption, ensures the integrity of file format and consistency of access permissions, reserves space for future expansion, and avoids frequent migrations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120687629B_ABST
    Figure CN120687629B_ABST
Patent Text Reader

Abstract

The application discloses an electronic archive storage management method and system and a storage medium, and belongs to the technical field of storage management. According to the application, pictures in an electronic archive are extracted, archive features are converted into a first feature matrix as a first mark to perform archive matching marking on the pictures, and various picture features are respectively converted into a plurality of corresponding second feature matrices as a plurality of second marks, so that position matching marking is performed on a closed contour line corresponding to the pictures. After the archive and the pictures complete mutual matching and position positioning marking, independent storage is performed, so that the storage efficiency is effectively improved, and picture damage caused by a unified compression mode of the pictures and the archive is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of storage management technology, and in particular to an electronic record storage management method, system and storage medium. Background Technology

[0002] With the development of information technology and the long-term business development of various enterprises, companies or other organizations, the number of archives is constantly increasing. Paper archives are difficult to preserve and inconvenient to retrieve. Therefore, storing electronic archives in a database greatly increases the convenience of storage and retrieval efficiency. Thus, the storage and management of electronic archives is very important for various enterprises, companies or other organizations.

[0003] Existing electronic record storage typically compresses and stores the entire electronic record. However, electronic records may contain a large number of images, and compressing and storing the entire electronic record may reduce storage efficiency. Furthermore, since the non-image content and images in electronic records have different formats, directly compressing and storing the entire electronic record using a uniform compression method greatly increases the risk of compression failure or image damage. Summary of the Invention

[0004] To address the technical problems existing in the prior art, this invention provides an electronic record storage and management method, comprising the following steps:

[0005] Obtain the archival characteristics of electronic archives, and match the electronic archives to an archive database based on the archival characteristics;

[0006] The images in the electronic archives are extracted and their closed outlines are left at the corresponding positions, and various image features of the images are obtained.

[0007] The archive features are converted into a first feature matrix as a first marker to perform archive matching and marking on the image. Multiple image features are converted into multiple corresponding second feature matrices as multiple second markers, thereby performing position matching and marking on the closed contour line corresponding to the image. Electronic archives that have completed position matching and marking are regarded as second archives.

[0008] After compressing the second file and the image respectively, they are stored in the first space and the second space of the matched archive.

[0009] Furthermore, the archival features include basic archival information and confidentiality level; the basic archival information includes archival format and archival size; the types of image features include image size, resolution, color features, texture features, and image format.

[0010] Furthermore, the confidentiality level of electronic records is obtained through the following steps:

[0011] The content information of the electronic archive is obtained through semantic recognition, and after the content information is segmented, the first sensitive words are selected from the first preset sensitive word library.

[0012] The second sensitive word is selected from the first sensitive word by filtering out the second sensitive word by the second preset sensitive word library, and the content of the statement following the second sensitive word is regarded as confidential information.

[0013] Calculate the confidentiality index SL based on the first sensitive keyword and confidential information: k1 and k2 are the first and second preset weights, respectively; b1 and b2 are the number of the first sensitive words and the number of confidential information, respectively; and B is the number of sensitive words in the first preset sensitive word library. The preset confidentiality coefficient is the second sensitive word corresponding to the i-th confidential information;

[0014] Obtain the preset index range for each security level, and use the security level corresponding to the preset index range into which the security index falls as the security level of the electronic file.

[0015] Furthermore, the step of selecting the first sensitive word from the first preset sensitive word library also includes: if there is a word in the content information that is not completely the same as each of the sensitive words in the first preset sensitive word library, then perform a synonym analysis and comparison on each of the sensitive words in the first preset sensitive word library. If a synonym of the word is found, then the word is taken as the first sensitive word.

[0016] The step of filtering out the second sensitive words from the first sensitive words through the second preset sensitive word library also includes filtering by analyzing and comparing synonyms in the same way as filtering the first sensitive words.

[0017] Furthermore, the step of matching the electronic records to the archive database based on the archival characteristics specifically includes:

[0018] The first candidate archive database with the same confidentiality level as the electronic archive is selected;

[0019] Based on the file format of the electronic file, a second candidate file database with a format compatibility score greater than or equal to a preset score threshold is selected from each of the first candidate file databases;

[0020] A third candidate archive is selected from the second candidate archive database if the remaining storage space is greater than the size of the electronic archive and the space difference is greater than or equal to a preset space threshold.

[0021] If there is only one third candidate archive, it will be directly used as the archive to match the electronic archive; if there are multiple third candidate archives, the comprehensive matching value of each third candidate archive will be calculated based on the format compatibility score and spatial difference, and the third candidate archive with the largest comprehensive matching value will be used as the archive to match the electronic archive.

[0022] Furthermore, the calculation of the format compatibility score is as follows: ;

[0023] GS is the format compatibility score of the first candidate archive for the electronic archive's format. k3 and k4 are the third and fourth preset weights, respectively, k3+k4=1, k3>k4. M is the perfect match coefficient, M=1 when the format compatibility vector of the first candidate archive includes the electronic archive's format, otherwise M=0. C is the compatibility conversion coefficient, C=1 when the first candidate archive supports compatibility with the electronic archive's format through preset conversion tools, otherwise C=0. T is the reliability coefficient of the preset conversion tools in the first candidate archive.

[0024] Furthermore, the calculation of the comprehensive matching value is specifically as follows: ;

[0025] PS represents the comprehensive matching of the third candidate archive database, k5 and k6 are the fifth and sixth preset weights respectively, k5+k6=1, and KC is the spatial difference between the third candidate archive database and the electronic archive.

[0026] Furthermore, the step of extracting the images from the electronic archive specifically involves:

[0027] Based on the electronic archive's format, structured parsing is performed using the corresponding parsing library. If the image in the electronic archive is an independent image, it is extracted directly. If the image in the electronic archive is an embedded image, the outer contour of the embedded image is identified using an edge detection algorithm. Based on the outer contour of the embedded image, the image region and non-image region are segmented to complete the extraction.

[0028] The present invention also provides an electronic record storage and management system, comprising:

[0029] The matching module is used to obtain the archival characteristics of electronic archives and match the electronic archives with an archive database based on the archival characteristics;

[0030] The image extraction module is used to extract images from the electronic archives, leave the closed outline of the images at the corresponding positions, and obtain various image features of the images.

[0031] The marking module is used to convert the archive features into a first feature matrix as a first marker to perform archive matching marking on the image, and to convert multiple image features into multiple corresponding second feature matrices as multiple second markers, thereby performing position matching marking on the closed contour line corresponding to the image, and to regard the electronic archive that has completed position matching marking as a second archive.

[0032] The storage module is used to compress the second file and the image respectively, and then store them in the first space and the second space of the matched file library.

[0033] The present invention also provides a computer-readable storage medium storing instructions that, when executed, perform any of the above-described electronic record storage and management methods.

[0034] Compared with the prior art, the beneficial effects of the present invention are as follows:

[0035] This invention extracts images from electronic archives, converts archive features into a first feature matrix as a first marker to match and mark the images against the archive, and converts multiple image features into multiple corresponding second feature matrices as multiple second markers to mark the positions on the closed contour lines corresponding to the images. After the archives and images have completed the matching and position marking, they are stored independently, which effectively improves storage efficiency and avoids image damage that may occur when images and archives are compressed in the same way.

[0036] The system matches electronic archives with archive repositories through three layers: security layer (confidentiality level matching), format layer (format compatibility scoring), and capacity layer (space difference). This ensures consistency between archive access permissions and storage levels, as well as compliance with storage requirements, and prevents archive format damage. At the same time, archive repositories with a space difference greater than or equal to a preset space threshold are used as third-party candidate archive repositories. This ensures current storage needs are met while reserving space for future expansion, thus avoiding frequent migrations.

[0037] By converting archival features into a first feature matrix as a first marker to match and mark images, and converting multiple image features into multiple corresponding second feature matrices as multiple second markers, position matching and marking are performed on the closed contour line corresponding to the image. This effectively improves the accuracy of image-archive matching and positioning when accessing electronic archives, ensuring the restoration of electronic archives. Attached Figure Description

[0038] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0039] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0040] Figure 1This is a flowchart of an electronic record storage and management method according to the present invention. Detailed Implementation

[0041] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.

[0042] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are only used to explain the relative positional relationship and movement of each component in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indication will also change accordingly.

[0043] Furthermore, the use of terms such as "first" and "second" in this invention is for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, features defined with "first" and "second" may explicitly or implicitly include at least one of those features. Additionally, the technical solutions of the various embodiments can be combined with each other, but only on the basis of being achievable by those skilled in the art. When the combination of technical solutions is contradictory or impossible to implement, such a combination of technical solutions should be considered non-existent and not within the scope of protection claimed by this invention.

[0044] Example 1

[0045] See Figure 1 As shown, the present invention provides an electronic record storage and management method, which specifically includes the following steps:

[0046] S1. Obtain the archival characteristics of the electronic archives, and match the electronic archives with an archive database based on the archival characteristics;

[0047] S2. Extract the images from the electronic archives and leave the closed outline of the images at the corresponding positions, and obtain various image features of the images;

[0048] S3. Convert the archive features into a first feature matrix as a first marker to perform archive matching marking on the image. Convert multiple image features into multiple corresponding second feature matrices as multiple second markers to perform position matching marking on the closed contour line corresponding to the image. The electronic archive that has completed position matching marking is regarded as the second archive.

[0049] S4. After compressing the second file and the image respectively, store them in the first space and the second space of the matched file library respectively.

[0050] In step S1, the archival characteristics of the electronic archive are obtained, and the electronic archive is matched with an archive database based on the archival characteristics.

[0051] The characteristics of the archives include basic information and confidentiality level.

[0052] The basic information of the file includes fundamental attributes such as file name, file format, file size, and information of the uploading employee. The file name is the name given to the file when it is uploaded. The file format can be DOCX, PDF, xlsx, etc. The file size is the number of bytes occupied by the file, such as 1MB, 1KB, 1GB, etc. The uploading employee information includes the name, employee number, department, and position of the employee who uploaded the file.

[0053] In some embodiments, the confidentiality level can be set directly by employees when uploading electronic files.

[0054] In some embodiments, the confidentiality level of an electronic file can be obtained through the following steps:

[0055] S111. Obtain the content information of the electronic archive through semantic recognition, and after performing word segmentation on the content information, filter out the first sensitive words from the first preset sensitive word library;

[0056] S112. Select a second sensitive word from the first sensitive word using the second preset sensitive word library, and treat the content of the statement following the second sensitive word as confidential information;

[0057] S113. Calculate the confidentiality index SL based on the first sensitive keyword and confidential information:

[0058] ;

[0059] k1 and k2 are the first and second preset weights, respectively; b1 and b2 are the number of the first sensitive words and the number of confidential information, respectively; and B is the number of sensitive words in the first preset sensitive word library. The preset confidentiality coefficient is the second sensitive word corresponding to the i-th confidential information.

[0060] S114. Obtain the preset index range for each security level, and use the security level corresponding to the preset index range into which the security index falls as the security level of the electronic file.

[0061] In step S111 of some embodiments, filtering out the first sensitive word from the first preset sensitive word library further includes:

[0062] If the content information contains a word that is not completely identical to any of the sensitive words in the first preset sensitive word library, then the word is analyzed and compared with each of the sensitive words in the first preset sensitive word library one by one for synonyms. If a synonym of the word is found, then the word is taken as the first sensitive word.

[0063] For example, if the first preset sensitive word library contains the sensitive word "amount", and the content information contains "quota", and "quota" and "amount" are synonyms, then "quota" can be used as the first sensitive word.

[0064] The step of filtering out the second sensitive words from the first sensitive words through the second preset sensitive word library also includes filtering by analyzing and comparing synonyms in the same way as filtering the first sensitive words.

[0065] In the confidentiality level acquisition scheme of the above embodiments, the first preset sensitive word library and the second preset sensitive word library are word libraries established by companies and enterprises after dividing multiple relevant sensitive words according to their own security and confidentiality needs.

[0066] The number of sensitive words contained in an archive can reflect the level of confidentiality of the archive. Therefore, the first preset sensitive word database mainly filters out all sensitive words in the electronic archive and uses the number of sensitive words in the electronic archive as one of the indicators for analyzing the confidentiality level of the archive.

[0067] However, sensitive words in electronic files are ultimately just words, not the actual content that needs to be kept confidential. For example, in a contract, "amount" is a sensitive word, but keeping that word confidential has no real effect. Therefore, the confidentiality of a document is not aimed at the word "amount" itself, but at the specific amount represented by "amount". However, information such as the specific amount cannot be preset into the sensitive word database in advance. Therefore, in this solution, a second sensitive word is selected from the first sensitive word database through a second preset sensitive word database. The content of the sentence following the second sensitive word is used as the confidential information. The second index is calculated by using the preset confidentiality coefficient of the second sensitive word corresponding to each confidential information in the file, which more accurately reflects the required level of confidentiality of the file.

[0068] The specific steps of matching the electronic archives to the archive database based on the archive characteristics are as follows:

[0069] S121. Select the first candidate archive database with the same confidentiality level as the electronic archive;

[0070] S122. Based on the file format of the electronic file, select a second candidate file library from each first candidate file library whose format compatibility score is greater than or equal to a preset score threshold.

[0071] S123. Select a third candidate archive from the second candidate archive database that has more remaining storage space than the electronic archive and a space difference greater than or equal to a preset space threshold.

[0072] S124. If there is only one third candidate archive, it shall be directly used as the archive to match the electronic archive. If there are multiple third candidate archives, the comprehensive matching value of each third candidate archive shall be calculated based on the format compatibility score and spatial difference, and the third candidate archive with the largest comprehensive matching value shall be used as the archive to match the electronic archive.

[0073] In step S122, the calculation of the format compatibility score is specifically as follows:

[0074] ;

[0075] GS is the format compatibility score of the first candidate archive for the electronic archive's format. k3 and k4 are the third and fourth preset weights, respectively, k3+k4=1, k3>k4. M is the perfect match coefficient, M=1 when the format compatibility vector of the first candidate archive includes the electronic archive's format, otherwise M=0. C is the compatibility conversion coefficient, C=1 when the first candidate archive supports compatibility with the electronic archive's format through preset conversion tools, otherwise C=0. T is the reliability coefficient of the preset conversion tools in the first candidate archive.

[0076] The reliability coefficient of the conversion tool is obtained through prior testing and analysis.

[0077] In step S124, the calculation of the comprehensive matching value is specifically as follows:

[0078] ;

[0079] PS represents the comprehensive matching of the third candidate archive database, k5 and k6 are the fifth and sixth preset weights respectively, k5+k6=1, and KC is the spatial difference between the third candidate archive database and the electronic archive.

[0080] The above scheme matches electronic archives to archive repositories through three layers: security layer (confidentiality level matching), format layer (format compatibility scoring), and capacity layer (space difference). This ensures consistency between archive access permissions and storage levels, as well as compliance of storage, and avoids format damage to archives. At the same time, archive repositories with a space difference greater than or equal to a preset space threshold are used as third candidate archive repositories, which not only guarantees current storage needs but also reserves space for future expansion and avoids frequent migrations.

[0081] In step S2, the images in the electronic archive are extracted, and the image features of the image pairs are obtained.

[0082] The step of extracting images from the electronic archives specifically involves:

[0083] S21. Based on the file format of the electronic file, perform structured parsing using the corresponding parsing library. If the image in the electronic file is an independent image, extract it directly. If the image in the electronic file is an embedded image, identify the outer contour of the embedded image using an edge detection algorithm.

[0084] S22. Segment the image region and non-image region according to the outer contour of the embedded image to complete the extraction.

[0085] In step S21, structured parsing involves converting unstructured archive content into a structured data model and extracting elements from the archive using a parsing library corresponding to the archive format. Images in electronic archives of different formats have different ways of existing. For example, in DOCX format, the internal structure is based on an XML file packaged in ZIP, and the images exist as independent media files, which are independent of the text. In this solution, these are called independent images, and the image files can be directly extracted. In contrast, in PDF format archives, images are usually embedded in the content stream. In this solution, these are called embedded images, and they need to be identified, separated, and extracted.

[0086] The types of image features include: image size, resolution, color features, texture features, and image format, etc.

[0087] In step S3, the file features are converted into a first feature matrix as a first marker to perform file matching and marking on the image. Multiple image features are converted into multiple corresponding second feature matrices as multiple second markers, thereby performing position matching and marking on the closed contour line corresponding to the image. The electronic file that has completed position matching and marking is regarded as the second file.

[0088] The process of performing file matching and tagging on the image specifically involves encoding the first flag into a metadata header in binary format and embedding it into the extended attribute area of ​​the image file.

[0089] Multiple image features are converted into multiple corresponding second feature matrices as multiple second markers, which are then used to perform position matching and marking on the closed contour line corresponding to the image. Specifically, based on the number of second markers, marker points are randomly selected from the image contour, and the pixel coordinates of each marker point in the corresponding electronic file page on the closed contour line are analyzed to obtain the marker coordinates. Then, each second marker is attached to each marker coordinate.

[0090] When accessing a document is required, the corresponding second file is found through the first marker in the extended attribute area of ​​the image file. The image is then positioned, inserted, and restored based on the second markers in the second file. That is, if each image feature can be matched one by one with the second feature matrix corresponding to all the second markers on the closed contour line, it means that the original position of the image in the electronic file is on the closed contour line, thus obtaining the complete electronic file.

[0091] In step S4, the second file and the image are compressed and stored in the second file library and the image library of the matched file library, respectively. The process also includes encrypting the image, specifically:

[0092] Convert the image into a pixel matrix;

[0093] Chaotic sequences are generated by a Logistic mapping with pre-defined chaotic parameters;

[0094] The chaotic sequence is used to perform position permutation on the pixel positions of the pixel matrix;

[0095] The pixel values ​​of each pixel are XORed using the chaotic sequence to obtain the encrypted pixel matrix.

[0096] During decryption, a chaotic sequence is generated using a Logistic mapping with the same chaotic parameters. This chaotic sequence is then used to XOR the pixel values ​​of the encrypted pixel matrix again. Finally, the original pixel positions are recovered based on the chaotic sequence to obtain the original pixel matrix of the image.

[0097] Example 2

[0098] This invention also provides an electronic record storage and management system, specifically comprising:

[0099] The matching module is used to obtain the archival characteristics of electronic archives and match the electronic archives with an archive database based on the archival characteristics;

[0100] The image extraction module is used to extract images from the electronic archives, leave the closed outline of the images at the corresponding positions, and obtain various image features of the images.

[0101] The marking module is used to convert the archive features into a first feature matrix as a first marker to perform archive matching marking on the image, and to convert multiple image features into multiple corresponding second feature matrices as multiple second markers, thereby performing position matching marking on the closed contour line corresponding to the image, and to regard the electronic archive that has completed position matching marking as a second archive.

[0102] The storage module is used to compress the second file and the image respectively, and then store them in the first space and the second space of the matched file library.

[0103] Example 3

[0104] The present invention also provides an electronic device, including: a processor, a transmitting device, an input device, an output device, and a memory. The processor may be implemented using a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit, or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this application. The memory may be implemented using a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM), and is used to store computer program code. The computer program code includes computer instructions. When the processor executes the computer instructions, the electronic device executes a method as described in any of the above possible implementation methods.

[0105] Example 4

[0106] The present invention also provides a computer-readable storage medium storing a computer program, the computer program including program instructions, which, when executed by a processor of an electronic device, cause the processor to perform a method as described in any of the above possible implementations.

[0107] The beneficial effects of this invention are as follows:

[0108] This invention extracts images from electronic archives, converts archive features into a first feature matrix as a first marker to match and mark the images against the archive, and converts multiple image features into multiple corresponding second feature matrices as multiple second markers to mark the positions on the closed contour lines corresponding to the images. After the archives and images have completed the matching and position marking, they are stored independently, which effectively improves storage efficiency and avoids image damage that may occur when images and archives are compressed in the same way.

[0109] The system matches electronic archives with archive repositories through three layers: security layer (confidentiality level matching), format layer (format compatibility scoring), and capacity layer (space difference). This ensures consistency between archive access permissions and storage levels, as well as compliance with storage requirements, and prevents archive format damage. At the same time, archive repositories with a space difference greater than or equal to a preset space threshold are used as third-party candidate archive repositories. This ensures current storage needs are met while reserving space for future expansion, thus avoiding frequent migrations.

[0110] By converting archival features into a first feature matrix as a first marker to match and mark images, and converting multiple image features into multiple corresponding second feature matrices as multiple second markers, position matching and marking are performed on the closed contour line corresponding to the image. This effectively improves the accuracy of image-archive matching and positioning when accessing electronic archives, ensuring the restoration of electronic archives.

[0111] In the description of this specification, the references to terms such as "an embodiment," "example," "specific example," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0112] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes multiple instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0113] The above description is merely a specific embodiment of the present invention, enabling those skilled in the art to understand or implement the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A method for storing and managing electronic records, characterized in that, Includes the following steps: Obtain the archival characteristics of electronic archives, and match the electronic archives to an archive database based on the archival characteristics; The images in the electronic archives are extracted and their closed outlines are left at the corresponding positions, and various image features of the images are obtained. The archive features are converted into a first feature matrix as a first marker to perform archive matching and marking on the image. Multiple image features are converted into multiple corresponding second feature matrices as multiple second markers, thereby performing position matching and marking on the closed contour line corresponding to the image. Electronic archives that have completed position matching and marking are regarded as second archives. After compressing the second file and the image respectively, they are stored in the first space and the second space of the matched archive. The archival features include basic archival information and confidentiality level; the basic archival information includes archival format and archival size; the image features include image size, resolution, color features, texture features, and image format. The specific steps for obtaining the confidentiality level of electronic records are as follows: The content information of the electronic archive is obtained through semantic recognition, and after the content information is segmented, the first sensitive words are selected from the first preset sensitive word library. The second sensitive word is selected from the first sensitive word by filtering out the second sensitive word by the second preset sensitive word library, and the content of the statement following the second sensitive word is regarded as confidential information. Calculate the confidentiality index SL based on the first sensitive keyword and confidential information: k1 and k2 are the first and second preset weights, respectively; b1 and b2 are the number of the first sensitive words and the number of confidential information, respectively; and B is the number of sensitive words in the first preset sensitive word library. The preset confidentiality coefficient is the second sensitive word corresponding to the i-th confidential information. Obtain the preset index range for each security level, and use the security level corresponding to the security index falling into the preset index range as the security level of the electronic file.

2. The electronic record storage and management method according to claim 1, characterized in that, The step of selecting the first sensitive word from the first preset sensitive word library also includes: if there is a word in the content information that is not completely the same as each of the sensitive words in the first preset sensitive word library, then perform a synonym analysis and comparison with each of the sensitive words in the first preset sensitive word library one by one; if a synonym of the word is found, then the word is taken as the first sensitive word. The step of filtering out the second sensitive words from the first sensitive words through the second preset sensitive word library also includes filtering by analyzing and comparing synonyms in the same way as filtering the first sensitive words.

3. The electronic record storage and management method according to claim 1, characterized in that, The specific steps of matching the electronic archives to the archive database based on the archive characteristics are as follows: The first candidate archive database with the same confidentiality level as the electronic archive is selected; Based on the file format of the electronic file, a second candidate file database with a format compatibility score greater than or equal to a preset score threshold is selected from each of the first candidate file databases; A third candidate archive is selected from the second candidate archive database if the remaining storage space is greater than the size of the electronic archive and the space difference is greater than or equal to a preset space threshold. If there is only one third candidate archive, it will be directly used as the archive to match the electronic archive; if there are multiple third candidate archives, the comprehensive matching value of each third candidate archive will be calculated based on the format compatibility score and spatial difference, and the third candidate archive with the largest comprehensive matching value will be used as the archive to match the electronic archive.

4. The electronic record storage and management method according to claim 3, characterized in that, The calculation of the format compatibility score is as follows: ; GS is the format compatibility score of the first candidate archive for the electronic archive's format. k3 and k4 are the third and fourth preset weights, respectively, k3+k4=1, k3>k4. M is the perfect match coefficient, M=1 when the format compatibility vector of the first candidate archive includes the electronic archive's format, otherwise M=0. C is the compatibility conversion coefficient, C=1 when the first candidate archive supports compatibility with the electronic archive's format through preset conversion tools, otherwise C=0. T is the reliability coefficient of the preset conversion tools in the first candidate archive.

5. The electronic record storage and management method according to claim 4, characterized in that, The calculation of the comprehensive matching value is as follows: ; PS represents the comprehensive matching of the third candidate archive database, k5 and k6 are the fifth and sixth preset weights respectively, k5+k6=1, and KC is the spatial difference between the third candidate archive database and the electronic archive.

6. The electronic record storage and management method according to claim 1, characterized in that, The step of extracting images from the electronic archives specifically involves: Based on the electronic archive's format, structured parsing is performed using the corresponding parsing library. If the image in the electronic archive is an independent image, it is extracted directly. If the image in the electronic archive is an embedded image, the outer contour of the embedded image is identified using an edge detection algorithm. Based on the outer contour of the embedded image, the image region and non-image region are segmented to complete the extraction.

7. An electronic record storage and management system, employing the electronic record storage and management method as described in any one of claims 1 to 6, characterized in that, include: The matching module is used to obtain the archival characteristics of electronic archives and match the electronic archives with an archive database based on the archival characteristics; The image extraction module is used to extract images from the electronic archives, leave the closed outline of the images at the corresponding positions, and obtain various image features of the images. The marking module is used to convert the archive features into a first feature matrix as a first marker to perform archive matching marking on the image, and to convert multiple image features into multiple corresponding second feature matrices as multiple second markers, thereby performing position matching marking on the closed contour line corresponding to the image, and to regard the electronic archive that has completed position matching marking as a second archive. The storage module is used to compress the second file and the image respectively, and then store them in the first space and the second space of the matched file library.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed, perform the electronic record storage management method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Archive text data processing method and system based on OCR

    CN115830620A

  • Sensitive information identification method and system for archive auditing and opening

    CN119761373A