Electronic archive storage management method and system and storage medium
By extracting and marking image features in electronic archives and storing archives and images separately, the problems of low storage efficiency and image damage are solved, and efficient and secure electronic archive storage management is achieved.
Patent Information
- Application Number
- CN202510838058.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-23
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2045-06-23
AI Technical Summary
The storage efficiency of electronic archives in the existing technology is low and images are easily damaged, especially because the risk of compression failure or damage is high due to the use of a unified compression method for images and non-image content in different formats.
By extracting images from electronic archives and leaving closed contour lines at corresponding positions, we obtain image features, convert them into feature matrices as markers for matching, store archives and images in different spaces respectively, and match archives at security, format, and capacity levels to ensure storage consistency and compliance.
It improves storage efficiency, avoids image damage, ensures consistency between file access permissions and storage levels, reserves space for future expansion, and improves the matching and positioning accuracy of files and images.
Smart Images

Figure CN120687629A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of storage management technology, and in particular to an electronic archive storage management method, system and storage medium. Background Art
[0002] With the development of information technology and the long-term business development of various companies or other units, the number of files continues to increase. Paper files are difficult to preserve and inconvenient to retrieve. Therefore, storing electronic files in the library greatly increases the convenience of storage and retrieval efficiency. Therefore, for various companies or other units, the storage and management of electronic sub-files is very important. Existing electronic archive storage usually directly compresses and stores the entire electronic archive. However, the electronic archive may contain a large number of images. Compressing and storing the entire electronic archive may lead to reduced storage efficiency. In addition, since the non-image content and image formats in the electronic archive are different, directly compressing and storing the entire electronic archive using a unified compression method greatly increases the risk of compression failure or image damage. Summary of the Invention
[0003] The present invention aims to solve the technical problems existing in the prior art and provides an electronic archive storage management method, comprising the following steps: Acquiring archival features of the electronic archive, and matching the electronic archive with an archive library according to the archival features; Extracting the image from the electronic file and leaving a closed contour line of the image at a corresponding position, and obtaining multiple image features of the image; Converting the file features into a first feature matrix as a first mark to perform file matching marking on the image, converting multiple image features into multiple corresponding second feature matrices as multiple second marks, thereby performing position matching marking on the closed contour line corresponding to the image, and treating the electronic file that has completed the position matching marking as the second file; After compressing the second file and the picture, they are stored in the first space and the second space of the matching archive respectively.
[0004] Furthermore, the file characteristics include basic file information and confidentiality level; the basic file information includes file format and file size; the types of image characteristics include image size, resolution, color characteristics, texture characteristics and image format.
[0005] Furthermore, the confidentiality level of the electronic file is obtained through the following steps: Acquiring content information of the electronic archive through semantic recognition, performing word segmentation processing on the content information, and filtering out a first sensitive word from the content using a first preset sensitive word library; Filtering a second sensitive word from the first sensitive word using a second preset sensitive word library, and treating the sentence content following the second sensitive word as confidential information; Calculate the confidentiality index SL based on the first sensitive word and confidential information: , k1 and k2 are the first preset weight and the second preset weight respectively, b1 and b2 are the number of the first sensitive words and confidential information respectively, B is the number of sensitive words in the first preset sensitive word library, is the preset confidentiality coefficient of the second sensitive word corresponding to the i-th confidential information; A preset index range of each confidentiality level is obtained, and the confidentiality level corresponding to the preset index range within which the confidentiality index falls is used as the confidentiality level of the electronic file.
[0006] Furthermore, the filtering out of the first sensitive word from the first preset sensitive word library further includes: if the content information contains a word that is not completely identical to each sensitive word in the first preset sensitive word library, performing a synonym analysis and comparison on the word with each sensitive word in the first preset sensitive word library one by one; if a synonym of the word is found, the word is used as the first sensitive word; The filtering out of the second sensitive words from the first sensitive words through the second preset sensitive word library also includes filtering and acquiring the second sensitive words through synonym analysis and comparison in the same manner as filtering the first sensitive words.
[0007] Furthermore, the matching of the electronic archive to an archive library according to the archive characteristics is specifically as follows: Screening out a first candidate archive library having the same confidentiality level as the electronic archive; According to the file format of the electronic file, second candidate file repositories having a format compatibility score greater than or equal to a preset score threshold are screened from each first candidate file repositories; Selecting a third candidate archive library from the second candidate archive library, the third candidate archive library having a remaining storage space greater than the file size of the electronic file and a space difference greater than or equal to a preset space threshold; If there is only one third candidate archive library, it will be directly used as the archive library matched by the electronic archive; if there are multiple third candidate archive libraries, the comprehensive matching value of each third candidate archive library will be calculated based on the format compatibility score and spatial difference, and the third candidate archive library with the largest comprehensive matching value will be used as the archive library matched by the electronic archive.
[0008] Furthermore, the calculation of the format compatibility score is specifically as follows: ; GS is the format compatibility score of the first candidate archive for the file format of the electronic archive, k3 and k4 are the third preset weight and the fourth preset weight respectively, k3+k4=1, k3>k4, M is the complete matching coefficient, when the format compatibility vector of the first candidate archive contains the file format of the electronic archive, M=1, otherwise M=0, C is the compatible conversion coefficient, when the first candidate archive supports compatibility with the file format of the electronic archive through a preset conversion tool, C=1, otherwise C=0, T is the reliability coefficient of the conversion tool preset in the first candidate archive.
[0009] Furthermore, the calculation of the comprehensive matching value is specifically as follows: ; PS is the comprehensive match of the third candidate archive, k5 and k6 are the fifth preset weight and the sixth preset weight respectively, k5+k6=1, and KC is the spatial difference between the third candidate archive and the electronic archive.
[0010] Furthermore, the extracting of the pictures from the electronic archive is specifically as follows: According to the file format of the electronic file, structured analysis is performed through the corresponding parsing library. If the picture in the electronic file is an independent picture, it is directly extracted. If the picture in the electronic file is an embedded picture, the outer contour of the embedded picture is identified through the edge detection algorithm; the picture area and non-picture area are segmented according to the outer contour of the embedded picture to complete the extraction.
[0011] The present invention also provides an electronic archive storage management system, comprising: A matching module, configured to obtain archival features of an electronic archive and match the electronic archive to an archive library based on the archival features; An image extraction module is used to extract images from the electronic file and leave closed contour lines of the images at corresponding positions, and obtain multiple image features of the images; a marking module, configured to convert the file features into a first feature matrix as a first mark to perform file matching marking on the image, convert multiple image features into multiple corresponding second feature matrices as multiple second marks, thereby performing position matching marking on the closed contour line corresponding to the image, and regard the electronic file that has completed the position matching marking as the second file; The storage module is used to compress the second file and the picture respectively and store them in the first space and the second space of the matched archive respectively.
[0012] The present invention also provides a computer-readable storage medium, which stores instructions. When the instructions are executed, any of the above-mentioned electronic archive storage management methods is executed.
[0013] Compared with the prior art, the present invention has the following beneficial effects: The present invention extracts pictures from electronic archives, converts archive features into a first feature matrix as a first mark to perform archive matching marking on the pictures, converts multiple picture features into multiple corresponding second feature matrices as multiple second marks, and performs position matching marking on the closed contour line corresponding to the pictures. After the archives and pictures are matched and marked for position, they are stored independently, effectively improving storage efficiency while avoiding image damage that may be caused by the use of a unified compression method for the pictures and archives. Electronic archives are matched to archive repositories at three levels: security (confidentiality level matching), format (format compatibility score), and capacity (space difference). This ensures consistency between archive access rights and storage levels, as well as storage compliance, to prevent format damage. Repositories with space differences greater than or equal to a preset space threshold are selected as third-party candidates, ensuring current storage needs while reserving space for future expansion and avoiding frequent migrations. The image is marked for file matching by converting the file features into a first feature matrix as the first mark, and multiple image features are respectively converted into multiple corresponding second feature matrices as multiple second marks, so as to perform position matching marks on the closed contour line corresponding to the image. When accessing electronic files, the accuracy of image and file matching and positioning is effectively improved, and the restoration of electronic files is guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0015] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0016] Figure 1 It is a flow chart of an electronic archive storage management method of the present invention. DETAILED DESCRIPTION
[0017] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0018] 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 position relationship, movement status, etc. between the various components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0019] In addition, the descriptions of "first", "second", etc. in the present invention are for descriptive purposes only and should not be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of such features. In addition, the technical solutions between the various embodiments can be combined with each other, but this must be based on the fact that they can be implemented by ordinary technicians in this field. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0020] Example 1 See Figure 1 As shown, the present invention provides an electronic archive storage management method, which specifically includes the following steps: S1. Obtaining archival features of an electronic archive, and matching the electronic archive to an archive library based on the archival features; S2. Extracting the image from the electronic file and leaving a closed contour line of the image at a corresponding position, and obtaining multiple image features of the image; S3, converting the file features into a first feature matrix as a first marker to perform file matching marking on the image, converting the multiple image features into a plurality of corresponding second feature matrices as a plurality of second markers, thereby performing position matching marking on the closed contour line corresponding to the image, and treating the electronic file that has completed the position matching marking as the second file; S4. Compress the second file and the picture accordingly, and store them in the first space and the second space of the matching archive respectively.
[0021] In step S1, the archive features of the electronic archive are obtained, and an archive library is matched for the electronic archive according to the archive features.
[0022] The file characteristics include basic file information and confidentiality level.
[0023] The basic file information includes basic attributes such as file name, file format, file size, and uploading employee information. The file name is the name of the file when it is uploaded. The file format can be DOCX, PDF, xlsx, etc. The file size is the byte space occupied by the file, such as 1MB, 1KB, 1GB, etc. The uploaded employee information includes the name, employee number, department, and position of the uploading employee.
[0024] In some embodiments, the confidentiality level can be set directly by the employee when uploading the electronic file.
[0025] In some embodiments, obtaining the confidentiality level of an electronic file may be performed by the following steps: S111. Acquire content information of the electronic file through semantic recognition, perform word segmentation on the content information, and then filter out a first sensitive word from the content using a first preset sensitive word library; S112: Filtering a second sensitive word from the first sensitive word using a second preset sensitive word library, and treating the sentence content following the second sensitive word as confidential information; S113. Calculate the confidentiality index SL based on the first sensitive word and the confidential information: ; k1 and k2 are the first preset weight and the second preset weight respectively, b1 and b2 are the number of the first sensitive words and confidential information respectively, B is the number of sensitive words in the first preset sensitive word library, is the preset confidentiality coefficient of the second sensitive word corresponding to the i-th confidential information; S114: Obtain a preset index range for each confidentiality level, and use the confidentiality level corresponding to the preset index range within which the confidentiality index falls as the confidentiality level of the electronic file.
[0026] In step S111 of some embodiments, filtering out the first sensitive word from the first preset sensitive word library further includes: If the content information contains a word that is not completely identical to the sensitive words in the first preset sensitive word library, a synonym analysis and comparison is performed on the word with each sensitive word in the first preset sensitive word library one by one. If a synonym of the word is found, the word is used as the first sensitive word.
[0027] For example, the first preset sensitive word library contains the sensitive word "amount", the content information contains "quota", and "quota" and "amount" are synonyms, so "quota" can be used as the first sensitive word.
[0028] The filtering out of the second sensitive words from the first sensitive words through the second preset sensitive word library also includes filtering and acquiring the second sensitive words through synonym analysis and comparison in the same manner as filtering the first sensitive words.
[0029] In the confidentiality level acquisition solution of the above embodiment, the first preset sensitive word library and the second preset sensitive word library are word libraries established by companies after dividing multiple related sensitive words according to their own security and confidentiality requirements; The number of sensitive words contained in a file can reflect the confidentiality level of the file. Therefore, the first preset sensitive word library mainly filters out all sensitive words in the electronic file, and uses the number of sensitive words in the electronic file as one of the indicators for analyzing the confidentiality level of the file; 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 this word confidential has no practical effect. Therefore, the confidentiality of the document is not aimed at the word "amount", but at the specific amount represented by "amount". However, information such as the specific amount cannot be preset in the sensitive word library in advance. Therefore, in this solution, the second sensitive word is filtered out from the first sensitive word through the second preset sensitive word library, and the sentence content following the second sensitive word is used as confidential information. The second indicator is calculated by the preset confidentiality coefficient of the second sensitive word corresponding to each confidential information in the file, which more accurately reflects the required confidentiality level of the file.
[0030] The electronic archive is matched to an archive library according to the archive characteristics, specifically: S121, screening out a first candidate archive library having the same confidentiality level as the electronic archive; S122. Selecting, from each first candidate archive repository, a second candidate archive repository having a format compatibility score greater than or equal to a preset score threshold based on the archive format of the electronic archive; S123. Filter out a third candidate archive library from the second candidate archive library, the third candidate archive library having a remaining storage space greater than the file size of the electronic file and a space difference greater than or equal to a preset space threshold; S124. If there is only one third candidate archive library, it is directly used as the archive library matched by the electronic archive; if there are multiple third candidate archive libraries, the comprehensive matching value of each third candidate archive library is calculated according to the format compatibility score and the spatial difference, and the third candidate archive library with the largest comprehensive matching value is used as the archive library matched by the electronic archive.
[0031] In step S122, the calculation of the format compatibility score is specifically as follows: ; GS is the format compatibility score of the first candidate archive for the file format of the electronic archive, k3 and k4 are the third preset weight and the fourth preset weight respectively, k3+k4=1, k3>k4, M is the complete matching coefficient, when the format compatibility vector of the first candidate archive contains the file format of the electronic archive, M=1, otherwise M=0, C is the compatible conversion coefficient, when the first candidate archive supports compatibility with the file format of the electronic archive through a preset conversion tool, C=1, otherwise C=0, T is the reliability coefficient of the conversion tool preset in the first candidate archive.
[0032] The reliability coefficient of the conversion tool was obtained through pre-test analysis.
[0033] In step S124, the calculation of the comprehensive matching value is specifically as follows: ; PS is the comprehensive match of the third candidate archive, k5 and k6 are the fifth preset weight and the sixth preset weight respectively, k5+k6=1, and KC is the spatial difference between the third candidate archive and the electronic archive.
[0034] In the above solution, electronic archives are matched with archives through three levels: security layer (confidentiality level matching), format layer (format compatibility score) and capacity layer (space difference), ensuring the consistency of archive access rights and storage levels, as well as storage compliance, to avoid damage to the archive format. At the same time, archives with space differences greater than or equal to the preset space threshold are selected as the third candidate archives, which not only guarantees current storage needs but also reserves space for future expansion and avoids frequent migration.
[0035] In step S2, the pictures in the electronic file are extracted, and the picture features of the picture pairs are obtained.
[0036] The extracting of the pictures from the electronic file is specifically as follows: S21. Performing structured parsing using a corresponding parsing library based on the electronic file format. 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. S22. Segment the image area and the non-image area according to the outer contour of the embedded image to complete the extraction.
[0037] In step S21, structured parsing is to convert the unstructured archive content into a structured data model, and extract the elements in the archive through the parsing library corresponding to the archive format; pictures in electronic archives of different formats have corresponding existence modes, such as the DOCX format, the internal structure is an XML file packaged based on ZIP, and the picture exists as an independent media file, which is independent of the text. In this solution, it is called an independent picture, and the picture file can be directly extracted. For example, in archives in PDF format, pictures are usually embedded in the content stream, which is called an embedded picture in this solution and needs to be identified, separated and extracted.
[0038] The types of image features include: image size, resolution, color features, texture features, image format, etc.
[0039] In step S3, the file features are converted into a first feature matrix as a first mark to perform file matching marking on the image, and multiple image features are respectively converted into multiple corresponding second feature matrices as multiple second marks, so as to perform position matching marking on the closed contour line corresponding to the image, and the electronic file that has completed the position matching marking is regarded as the second file.
[0040] The file matching marking of the image is performed by encoding the first mark in a binary format as a metadata header and embedding the header into an extended attribute area of the image file.
[0041] A plurality of image features are respectively converted into a plurality of corresponding second feature matrices as a plurality of second marks, so as to perform position matching marking on the closed contour line corresponding to the image. Specifically, marking points are randomly selected from the image contour according to the number of second marks, and the pixel coordinates of each marking point on the corresponding closed contour line in the electronic file page are analyzed to obtain the coordinates of each mark, and then each second mark is attached to each marking coordinate.
[0042] When accessing a document is required, the corresponding second file is found through the first mark in the extended attribute area of the image file, and the positioning, insertion and restoration of the image are completed according to the second marks in the second file. That is, each image feature of the image can be matched one by one with the second feature matrix corresponding to all the second marks on the closed contour line, which means that the original position of the image in the electronic file is on the closed contour line, and a complete electronic file is obtained.
[0043] In step S4, the second file and the picture are compressed and stored in the second file library and the picture library in the matched file library respectively, and the picture is encrypted, specifically: Convert the image into a pixel matrix; Generate chaotic sequences through Logistic mapping with pre-set chaotic parameters; Using the chaotic sequence to permute pixel positions of a pixel matrix; The chaotic sequence is used to perform an XOR operation on the pixel value of each pixel to obtain an encrypted pixel matrix.
[0044] During decryption, a chaotic sequence is generated through the Logistic mapping of the same chaotic parameters. The pixel values of the encrypted pixel matrix are XORed again using the chaotic sequence, and then the original pixel positions are restored according to the chaotic sequence to obtain the original pixel matrix of the image.
[0045] Example 2 The present invention also provides an electronic archive storage management system provided by the present invention, specifically comprising: A matching module, configured to obtain archival features of an electronic archive and match the electronic archive to an archive library based on the archival features; An image extraction module is used to extract images from the electronic file and leave closed contour lines of the images at corresponding positions, and obtain multiple image features of the images; a marking module, configured to convert the file features into a first feature matrix as a first mark to perform file matching marking on the image, convert multiple image features into multiple corresponding second feature matrices as multiple second marks, thereby performing position matching marking on the closed contour line corresponding to the image, and regard the electronic file that has completed the position matching marking as the second file; The storage module is used to compress the second file and the picture respectively and store them in the first space and the second space of the matched archive respectively.
[0046] Example 3 The present invention also provides an electronic device, comprising: a processor, a sending device, an input device, an output device and a memory. The processor can be implemented as 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 solution provided in the embodiments of the present application. The memory can be implemented in the form of 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.
[0047] Example 4 The present invention also provides a computer-readable storage medium, in which a computer program is stored. The computer program includes program instructions. When the program instructions are executed by a processor of an electronic device, the processor executes a method as described in any one of the possible implementation methods described above.
[0048] The beneficial effects of the present invention are: The present invention extracts pictures from electronic archives, converts archive features into a first feature matrix as a first mark to perform archive matching marking on the pictures, converts multiple picture features into multiple corresponding second feature matrices as multiple second marks, and performs position matching marking on the closed contour line corresponding to the pictures. After the archives and pictures are matched and marked for position, they are stored independently, effectively improving storage efficiency while avoiding image damage that may be caused by the use of a unified compression method for the pictures and archives. Electronic archives are matched to archive repositories at three levels: security (confidentiality level matching), format (format compatibility score), and capacity (space difference). This ensures consistency between archive access rights and storage levels, as well as storage compliance, to prevent format damage. Repositories with space differences greater than or equal to a preset space threshold are selected as third-party candidates, ensuring current storage needs while reserving space for future expansion and avoiding frequent migrations. The image is marked for file matching by converting the file features into a first feature matrix as the first mark, and multiple image features are respectively converted into multiple corresponding second feature matrices as multiple second marks, so as to perform position matching marks on the closed contour line corresponding to the image. When accessing electronic files, the accuracy of image and file matching and positioning is effectively improved, and the restoration of electronic files is guaranteed.
[0049] Throughout the specification, references to terms such as "one embodiment," "example," or "specific example" indicate that the specific features, structures, materials, or characteristics described in conjunction with that embodiment or example are included in at least one embodiment or example of the present invention. In this specification, schematic representations of these 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 any one or more embodiments or examples.
[0050] In addition, the functional units in the various embodiments of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit. If the integrated unit is implemented in the form of 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 the present application is essentially 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, which is stored in a storage medium and includes multiple instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method of each embodiment of the present application. The aforementioned storage medium includes various media that can store programs, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0051] The foregoing description is intended only to provide specific embodiments of the present invention, which will enable those skilled in the art to understand and implement the present 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 present invention. Therefore, the present invention is not intended to be limited to the embodiments shown herein, but is intended to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A method for storing and managing electronic archives, characterized in that: The following steps are involved: Acquiring archival features of the electronic archive, and matching the electronic archive with an archive library according to the archival features; Extracting the image from the electronic file and leaving a closed contour line of the image at a corresponding position, and obtaining multiple image features of the image; Converting the file features into a first feature matrix as a first mark to perform file matching marking on the image, converting multiple image features into multiple corresponding second feature matrices as multiple second marks, thereby performing position matching marking on the closed contour line corresponding to the image, and treating the electronic file that has completed the position matching marking as the second file; After compressing the second file and the picture respectively, they are stored in the first space and the second space of the matching archive respectively.
2. The electronic archive storage management method according to claim 1, characterized in that: The file features include basic file information and confidentiality level; the basic file information includes file format and file size; the types of image features include image size, resolution, color features, texture features and image format.
3. The electronic archive storage management method according to claim 2, characterized in that: The confidentiality level of electronic files is obtained through the following steps: Acquiring content information of the electronic archive through semantic recognition, performing word segmentation processing on the content information, and filtering out a first sensitive word from the content using a first preset sensitive word library; Filtering a second sensitive word from the first sensitive word using a second preset sensitive word library, and treating the sentence content following the second sensitive word as confidential information; Calculate the confidentiality index SL based on the first sensitive word and confidential information: , k1 and k2 are the first preset weight and the second preset weight respectively, b1 and b2 are the number of the first sensitive words and confidential information respectively, B is the number of sensitive words in the first preset sensitive word library, is the preset confidentiality coefficient of the second sensitive word corresponding to the i-th confidential information; A preset index range of each confidentiality level is obtained, and the confidentiality level corresponding to the preset index range within which the confidentiality index falls is used as the confidentiality level of the electronic file.
4. The electronic archive storage management method according to claim 3, characterized in that: The step of selecting the first sensitive word from the first preset sensitive word library further includes: 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, performing a synonym analysis and comparison on the word with each of the sensitive words in the first preset sensitive word library one by one; and if a synonym for the word is found, using the word as the first sensitive word; The filtering out of the second sensitive words from the first sensitive words through the second preset sensitive word library also includes filtering and acquiring the second sensitive words through synonym analysis and comparison in the same manner as filtering the first sensitive words.
5. The electronic archive storage management method according to claim 2, characterized in that: The electronic archive is matched to an archive library according to the archive characteristics, specifically: Screening out a first candidate archive library having the same confidentiality level as the electronic archive; According to the file format of the electronic file, second candidate file repositories having a format compatibility score greater than or equal to a preset score threshold are screened from each first candidate file repositories; Selecting a third candidate archive library from the second candidate archive library, the third candidate archive library having a remaining storage space greater than the file size of the electronic file and a space difference greater than or equal to a preset space threshold; If there is only one third candidate archive library, it will be directly used as the archive library matched by the electronic archive; if there are multiple third candidate archive libraries, the comprehensive matching value of each third candidate archive library will be calculated based on the format compatibility score and spatial difference, and the third candidate archive library with the largest comprehensive matching value will be used as the archive library matched by the electronic archive.
6. The electronic archive storage management method according to claim 5, characterized in that: The calculation of the format compatibility score is specifically as follows: ; GS is the format compatibility score of the first candidate archive for the file format of the electronic archive, k3 and k4 are the third preset weight and the fourth preset weight respectively, k3+k4=1, k3>k4, M is the complete matching coefficient, when the format compatibility vector of the first candidate archive contains the file format of the electronic archive, M=1, otherwise M=0, C is the compatible conversion coefficient, when the first candidate archive supports compatibility with the file format of the electronic archive through a preset conversion tool, C=1, otherwise C=0, T is the reliability coefficient of the conversion tool preset in the first candidate archive.
7. The electronic archive storage management method according to claim 6, characterized in that: The calculation of the comprehensive matching value is specifically as follows: ; PS is the comprehensive match of the third candidate archive, k5 and k6 are the fifth preset weight and the sixth preset weight respectively, k5+k6=1, and KC is the spatial difference between the third candidate archive and the electronic archive.
8. The electronic archive storage management method according to claim 1, characterized in that: The extracting of the pictures from the electronic file is specifically as follows: According to the file format of the electronic file, structured analysis is performed through the corresponding parsing library. If the picture in the electronic file is an independent picture, it is directly extracted. If the picture in the electronic file is an embedded picture, the outer contour of the embedded picture is identified through the edge detection algorithm; the picture area and non-picture area are segmented according to the outer contour of the embedded picture to complete the extraction.
9. An electronic archive storage management system, applying the electronic archive storage management method according to any one of claims 1 to 8, characterized in that: include: A matching module, configured to obtain archival features of an electronic archive and match the electronic archive to an archive library based on the archival features; An image extraction module is used to extract images from the electronic file and leave closed contour lines of the images at corresponding positions, and obtain multiple image features of the images; a marking module, configured to convert the file features into a first feature matrix as a first mark to perform file matching marking on the image, convert multiple image features into multiple corresponding second feature matrices as multiple second marks, thereby performing position matching marking on the closed contour line corresponding to the image, and regard the electronic file that has completed the position matching marking as the second file; The storage module is used to compress the second file and the picture respectively and store them in the first space and the second space of the matched archive respectively.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores instructions, and when the instructions are executed, the electronic archive storage management method according to any one of claims 1 to 8 is executed.
Citation Information
Patent Citations
Archive text data processing method and system based on OCR
CN115830620A
Electronic archive data security system and method
CN119249483A
Sensitive information identification method and system for archive auditing and opening
CN119761373A
Electronic batch processing method and system for stored archives, and storage medium
WO2018126742A1