Method and system for verifying authenticity of electronic file

Through multi-dimensional verification methods, including solidified information, content authenticity and association consistency detection, combined with signature and timestamp verification, the shortcomings of electronic archive authenticity verification in the existing technology are solved, and the credibility and reliability of electronic archives are significantly improved. Security.

CN118821085AActive Publication Date: 2024-10-22HUNAN LINGZHONG ARCHIVES MANAGEMENT CO LTD

Patent Information

Application Number
CN202410916599.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-10-22
Estimated Expiration
2044-07-09

AI Technical Summary

Technical Problem

Existing electronic archive authenticity verification technology is difficult to fully ensure the authenticity, integrity and security of electronic archives when faced with complex security threats and diverse application scenarios.

Method used

Adopt multi-dimensional verification methods, including solidified information validity check, content authenticity detection and correlation consistency detection, combined with signature verification, timestamp check and data correlation verification, to improve the efficiency and accuracy of verification through automated data collection and analysis .

Benefits of technology

It significantly improves the credibility and security of electronic archives, ensures the authenticity and integrity of documents, enhances protection against tampering and forgery, and improves the reliability and efficiency of overall verification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118821085A_ABST
    Figure CN118821085A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of electronic document management, in particular to an electronic file authenticity verification method and system. The method comprises the following steps: acquiring electronic document data and corresponding electronic document metadata; performing solidification information validity check according to the electronic document data and the electronic document metadata to obtain solidification information validity data; performing content authenticity detection according to the electronic document data and the electronic document metadata to obtain content authenticity detection data; performing association consistency detection according to the electronic document data and the electronic document metadata to obtain association consistency detection data; and carrying out electronic file authenticity verification operation according to the solidified information validity data, the content authenticity detection data and the association consistency detection data. According to the invention, the safety, reliability and overall protection capability of electronic archive management are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic document management, and in particular to a method and system for verifying the authenticity of an electronic file. Background Art

[0002] With the rapid development of information technology, electronic archives have gradually replaced traditional paper archives and become the main form of recording and storing important information in modern society. Electronic archives have been widely used in many fields such as administrative management, commercial transactions, legal documents, medical records, etc. However, with the popularization of electronic archives, how to ensure their authenticity, integrity and security has become an important technical challenge.

[0003] The authenticity of electronic archives is directly related to the credibility and legitimacy of information. For example, the authenticity of important documents such as contracts, legal documents, and financial statements is crucial, and any tampering or forgery will lead to serious legal and economic consequences. Therefore, ensuring the authenticity of electronic archives is one of the key issues in the field of information security. Existing electronic archive authenticity verification technologies have achieved certain results in ensuring the integrity of documents and the identity of signers, but they still have shortcomings when facing complex security threats and diverse application scenarios. Summary of the invention

[0004] In order to solve the above technical problems, the present invention proposes an electronic file authenticity verification method and system to solve at least one of the above technical problems.

[0005] The present application provides a method for verifying the authenticity of an electronic file, the method comprising:

[0006] S1. Obtain electronic document data and corresponding electronic document metadata;

[0007] S2. Performing a validity check on the fixed information based on the electronic document data and the electronic document metadata to obtain the validity data of the fixed information;

[0008] S3, performing content authenticity detection according to the electronic document data and the electronic document metadata to obtain content authenticity detection data;

[0009] S4, performing association consistency detection based on the electronic document data and the electronic document metadata to obtain association consistency detection data;

[0010] S5. Perform electronic archive authenticity verification based on the solidified information validity data, content authenticity test data, and associated consistency test data.

[0011] The method of the present invention ensures the comprehensive authenticity of the electronic archive through multi-dimensional verification steps. The systematic verification process makes the verification process more organized and efficient. The credibility of the electronic archive is significantly improved by solidifying the information validity check, content authenticity test and association consistency test. The introduction of signature verification, timestamp check and data association verification effectively prevents the document from being tampered with and forged, and enhances the security of the electronic archive.

[0012] Optionally, S1 includes:

[0013] Initialize the data collection interface, extract electronic document data and metadata from the electronic archive management system, and obtain primary electronic document data and corresponding primary electronic document metadata;

[0014] Performing document metadata parsing on primary electronic document metadata to obtain electronic document metadata;

[0015] The primary electronic document data is parsed for document content data to obtain electronic document data.

[0016] The automated data acquisition interface in the present invention improves the efficiency of extracting data from EDMS and ensures the integrity and consistency of data. The primary data is parsed and standardized, which improves the quality and availability of data and provides a reliable data basis for subsequent verification. The automated processing steps reduce human intervention, reduce the risk of errors, and improve the efficiency and accuracy of the overall process. The structured metadata and document data facilitate subsequent processing, analysis and verification, and improve the operability and analysis efficiency of the data.

[0017] Optionally, S2 includes:

[0018] Generate a summary based on the electronic document data to obtain electronic document summary data;

[0019] Performing summary comparison based on the electronic document summary data and the meta-summary data in the electronic document metadata to obtain summary comparison data;

[0020] Extracting the electronic signature according to the electronic document data to obtain the electronic signature data;

[0021] Performing signature verification on the electronic signature data to obtain signature verification data;

[0022] Extracting electronic seals according to electronic document data to obtain electronic seal data;

[0023] Perform seal verification according to the electronic seal data to obtain seal verification data;

[0024] Integrate summary comparison data, signature verification data and seal verification data to obtain solidified information validity data.

[0025] The present invention provides a multi-level verification mechanism through summary comparison, signature verification and seal verification to ensure the authenticity and integrity of the document. Summary generation and comparison are fast and resource occupancy is low. Signature and seal verification ensure security and legitimacy, and the overall verification process is efficient. Multiple verification results are integrated to provide comprehensive verification data to ensure the reliability and security of the document in all aspects.

[0026] Optionally, S3 includes:

[0027] Extracting attributes from the electronic document data to obtain electronic document attribute data;

[0028] Performing attribute comparison based on the electronic document attribute data and the meta-attribute data in the electronic document metadata to obtain attribute comparison data;

[0029] Performing content integrity detection based on electronic document data and electronic document metadata to obtain content integrity detection data;

[0030] Generate a verification code according to the electronic document data to obtain the electronic document verification code data;

[0031] Performing a check code comparison based on the electronic document check code and the meta-check code data in the electronic document metadata to obtain check code comparison data;

[0032] Perform content change record consistency processing according to the electronic document data to obtain change record consistency data;

[0033] Performing multimedia data verification on electronic document data to obtain multimedia verification data;

[0034] The attribute comparison data, content integrity detection data, check code comparison data, change record consistency data and multimedia verification data are integrated to obtain content authenticity detection data.

[0035] By generating a document summary in the present invention, it is possible to quickly detect whether the document content has been tampered with and ensure the integrity of the content. The summary data is concise and unique, and the content comparison can be performed efficiently. By comparing the summary, it is possible to quickly find whether the document content has been tampered with or modified, and ensure the authenticity of the document. The summary comparison speed is fast, the resource occupation is low, and it is suitable for the rapid verification of large-scale documents. Extracting electronic signature data is the basis for subsequent signature verification, ensuring the complete extraction of signature information. Through signature verification, the identity of the signer is confirmed to prevent impersonation or forgery. Signature verification can ensure that the document has not been modified since it was signed, ensuring the integrity of the data. Through seal verification, the legality and validity of the electronic seal are confirmed to prevent forgery and tampering. Electronic seal verification increases the legal effect and credibility of the document. Through multi-level verification, it is ensured that the document has not been tampered with, and the signature and seal are legal and valid, thereby enhancing the security of the document. The integration of multiple verification data improves the reliability of the overall verification and ensures the high credibility of the document.

[0036] Optionally, S4 includes:

[0037] Extracting the directory structure according to the electronic document data to obtain the directory structure data;

[0038] Perform directory content association processing according to the electronic document data and the directory structure data to obtain directory content association data;

[0039] Performing directory verification on directory content associated data to obtain directory verification data;

[0040] Generate metadata format according to electronic document data to obtain metadata format data;

[0041] Perform metadata consistency check according to metadata format data and electronic document metadata to obtain metadata consistency check data;

[0042] Generate a mapping relationship based on the directory structure data, the electronic document data, and the electronic document metadata to obtain mapping relationship data;

[0043] Performing relevance verification according to the mapping relationship data to obtain relevance verification data;

[0044] The directory verification data, metadata consistency verification data and association verification data are integrated to obtain association consistency detection data.

[0045] The present invention extracts the directory structure to help users quickly understand the document content and structure and improve the readability of the document. The extraction of the directory structure facilitates users to navigate in the document and improves the user experience. The association relationship between the directory items and the content is established to help users quickly locate the specific content in the document. The directory content association processing makes it more efficient and accurate to find the document content. The association between the directory and the content is verified to ensure that the content pointed to by the directory item is accurate and avoid the situation where the directory and the content are inconsistent. The directory verification improves the overall quality and accuracy of the document. A standardized metadata format is generated to ensure that the format of the metadata is consistent, which is convenient for subsequent processing and analysis. The standardized metadata format is helpful for the management and classification of electronic documents. The accuracy and integrity of the metadata are ensured through metadata consistency verification. The metadata is verified to reduce errors caused by inconsistent formats. The association and consistency between the directory, content and metadata are ensured through association verification. The association verification enhances the credibility of the document and ensures the integrity and consistency of the document data.

[0046] Optionally, electronic signature extraction includes:

[0047] Perform fixed block division according to the electronic document data to obtain electronic document block data;

[0048] Performing standardization processing on the electronic document block data to obtain electronic document block processing data;

[0049] Compressing the electronic document block processed data to obtain electronic document block compressed data;

[0050] Performing intermediate hash generation according to the electronic document block compression data to obtain intermediate hash data;

[0051] A hash value is calculated based on the intermediate hash data to obtain the electronic signature data.

[0052] The block processing and compression processing in the present invention improve the processing efficiency of large documents, reduce processing time and storage requirements. Data normalization: The block processing step ensures the consistency of the data format, removes useless information, and improves the overall quality of the data. Hash calculation and electronic signature generation ensure the uniqueness and integrity of the data, prevent data from being tampered with, and improve data security. Through electronic signatures, the authenticity and integrity of documents can be quickly verified, the verification efficiency can be improved, and subsequent management and use can be facilitated. Compression processing reduces the amount of data, reduces storage requirements, and improves storage and transmission efficiency.

[0053] Optionally, the electronic document block data includes first electronic document block data and second electronic document block data, and the fixed block includes:

[0054] Performing fixed functional division according to the electronic document data to obtain first electronic document division data;

[0055] Record and fix blocks according to the electronic document data to obtain second electronic document block data;

[0056] The functional fixed blocks are as follows:

[0057] Functionally classifying the electronic document data to obtain electronic document classification data, wherein the electronic document classification data includes title classification data, paragraph classification data, image classification data, and table classification data;

[0058] Performing title segmentation on the electronic document data according to the title classification data to obtain title segmentation data;

[0059] Performing paragraph segmentation on the electronic document data according to the paragraph classification data to obtain paragraph segmentation data;

[0060] Performing image segmentation on the electronic document data according to the image classification data to obtain image segmentation data;

[0061] Divide the electronic document data into blocks according to the table classification data to obtain table block data;

[0062] The title block data, the paragraph block data, the image block data and the table block data are integrated to obtain the first electronic document block data.

[0063] In the present invention, electronic documents are divided into several parts and processed separately by performing fixed functional blocks and fixed record blocks on the electronic documents. The documents are classified and processed in blocks according to different functional parts of the document content (such as titles, paragraphs, images, tables), and the document is processed in blocks according to the record part. Compared with the traditional electronic archive processing method, which often processes the entire document as a whole, the processing efficiency is low, which is particularly obvious when processing large files. The present invention improves the efficiency of data processing, so that each block can be processed in parallel, which significantly reduces the processing time.

[0064] Optionally, recording fixed blocks includes:

[0065] Obtain document query data corresponding to the electronic document data;

[0066] Performing segmentation processing according to the electronic document data to obtain electronic document segmentation data;

[0067] Perform weight sorting processing according to the document query data and the electronic document segmentation data to obtain the electronic document segmentation sorting data;

[0068] Performing key segmentation extraction according to the electronic document segmentation sorting data to obtain the electronic document key segmentation data;

[0069] Performing clustering calculation on the key segmented data of the electronic document to obtain segmented clustered data of the electronic document;

[0070] The electronic document key segment data is clustered and segmented according to the electronic document segment clustering data to obtain second electronic document segment data.

[0071] The present invention processes according to the query data of the user, highlights the key content of the document data, and reduces the influence of irrelevant or fixed template content on hash calculation, reduces the possibility of database collision in subsequent processing, and improves the pertinence and efficiency of content processing. Through segmentation and block processing, the document content is structured to make the content more clear and easy to manage and read. Through weight sorting and key segment extraction, important content can be processed first and resource utilization efficiency can be improved. Cluster analysis can discover the inherent similarity rules in the content, enhance the block capability based on key content, increase data sensitivity, and reduce the hash calculation database collision capability. The blocked data is convenient for parallel processing, which improves the speed and efficiency of the overall processing.

[0072] Optionally, signature verification includes:

[0073] Obtaining user location data, and performing regional signature verification according to the user location data and signature location data corresponding to the electronic signature data, to obtain first signature verification data;

[0074] Obtaining user identity data, and performing user signature verification based on the user identity data and signature identity data corresponding to the electronic signature data to obtain second signature verification data;

[0075] Perform signature content verification based on the electronic signature data and the meta-electronic signature data in the electronic document metadata to obtain third signature verification data;

[0076] Integrate the first signature verification data, the second signature verification data, and the third signature verification data to obtain signature verification data;

[0077] The regional signature verification is as follows:

[0078] Obtain user location data, where the user location data includes user GPS location data, user Wi-Fi location data, and user mobile network location data;

[0079] Performing location data fusion according to user location data to obtain location fusion data;

[0080] Perform multi-dimensional position credibility calculation based on the position fusion data to obtain multi-dimensional position credibility data;

[0081] Performing a position consistency check according to the multi-dimensional position credibility data to obtain position consistency check data;

[0082] Performing geo-fence verification based on the location consistency check data to obtain first signature verification data;

[0083] The location consistency check is as follows:

[0084] When it is determined that the location consistency check data is location consistency reliable data, geo-fence verification is performed according to the location consistency check data and preset virtual geo-fence data to obtain first signature verification data;

[0085] When it is determined that the location consistency check data is location consistency suspicious data, the terminal camera is turned on to collect environmental images to obtain environmental image data;

[0086] Extract sunlight angle according to environmental image data to obtain sunlight angle data;

[0087] Estimate the user's environmental position according to the sunlight angle data to obtain the user's environmental position data;

[0088] Perform fitting screening according to the user environment location data and the user location data to obtain user location fitting data;

[0089] The geo-fence verification is performed according to the user location fitting data and the preset virtual geo-fence data to obtain the first signature verification data.

[0090] The present invention improves the comprehensiveness and reliability of signatures through multi-dimensional verification of location, identity and content. Rapid verification of reliable location data improves verification efficiency and reduces processing time. Fusion of multi-source location data improves positioning accuracy and ensures that signatures are completed at the expected location. Multi-level verification and consistency checks ensure the security of signatures and prevent location and identity fraud. Multiple verification results are integrated to provide comprehensive signature verification data and enhance the credibility and security of documents.

[0091] Optionally, the present application further provides an electronic file authenticity verification system, which is used to execute the electronic file authenticity verification method as described above, and the electronic file authenticity verification system includes:

[0092] An electronic document basic data acquisition module is used to obtain electronic document data and corresponding electronic document metadata;

[0093] The fixed information validity check module is used to check the validity of the fixed information according to the electronic document data and the electronic document metadata to obtain the validity data of the fixed information;

[0094] A content authenticity detection module is used to perform content authenticity detection based on electronic document data and electronic document metadata to obtain content authenticity detection data;

[0095] An association consistency detection module is used to perform association consistency detection based on the electronic document data and the electronic document metadata to obtain association consistency detection data;

[0096] The electronic archive authenticity verification operation module is used to perform electronic archive authenticity verification operations based on solidified information validity data, content authenticity detection data, and associated consistency detection data.

[0097] The objects of the present invention are:

[0098] 1. The present invention ensures the integrity and authenticity of electronic archive data at all levels through a multi-level verification method, including the validity check of solidified information, the authenticity test of content, and the consistency test of association. The multi-level and multi-dimensional verification operation ensures the overall authenticity and integrity of the document, and the overall security is improved by 70%.

[0099] 2. By combining electronic document data and metadata for verification, the present invention can more accurately determine the authenticity of data. For example, by comparing the document content with the summary, signature and other information in the metadata, it can effectively detect whether the data has been tampered with.

[0100] 3. The present invention adopts a step-by-step processing method, which divides the verification process into multiple steps, and each step independently performs a specific verification task, which significantly improves the efficiency of data processing. For example, the validity check of solidified information and the authenticity check of content can be processed in parallel, which speeds up the overall verification speed.

[0101] 4. A single electronic signature or hash check has limited protection against potential tampering methods of different dimensions and is easily broken. Combined with technologies such as multi-source data verification and location consistency check, the present invention can effectively prevent data tampering. For example, through methods such as environmental image acquisition and sunlight angle calculation, the user's actual location can be further verified to prevent location forgery. BRIEF DESCRIPTION OF THE DRAWINGS

[0102] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting implementations made with reference to the following drawings:

[0103] Figure 1 A flowchart showing a method for verifying the authenticity of an electronic file according to an embodiment of the present invention is provided;

[0104] Figure 2 A flowchart showing the steps of a method for collecting basic data of an electronic document according to an embodiment is shown;

[0105] Figure 3 A flowchart showing a method for checking validity of fixed information according to an embodiment of the present invention is provided;

[0106] Figure 4 A flowchart showing a method for detecting content authenticity according to an embodiment of the present invention is shown;

[0107] Figure 5 A flowchart showing a method for detecting association consistency according to an embodiment of the present invention is shown;

[0108] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0109] The following is a clear and complete description of the technical method of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by technicians in this field without creative work are within the scope of protection of the present invention.

[0110] In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. The functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor methods and / or microcontroller methods.

[0111] It should be understood that, although the terms "first", "second", etc. may be used herein to describe various units, these units should not be limited by these terms. These terms are used only to distinguish one unit from another unit. For example, without departing from the scope of the exemplary embodiments, the first unit may be referred to as the second unit, and similarly the second unit may be referred to as the first unit. The term "and / or" used herein includes any and all combinations of one or more of the listed associated items.

[0112] See also Figures 1 to 5 , the present application provides a method for verifying the authenticity of an electronic file, the method comprising:

[0113] S1. Obtain electronic document data and corresponding electronic document metadata;

[0114] Specifically, an API or script is used to connect to an electronic archive management system (EDMS). An API or script is written to extract electronic document data and metadata from the EDMS through interface calls.

[0115] S2. Performing a validity check on the fixed information based on the electronic document data and the electronic document metadata to obtain the validity data of the fixed information;

[0116] Specifically, a hash algorithm (such as SHA-256) is used. The document content is hashed, a digest is generated and compared with the digest in the metadata. The input data is padded to meet a specific length requirement. Append a '1' bit: append a bit '1' at the end of the input data. Append a '0' bit: then append k bits '0' so that the data length satisfies length≡448(mod 512) (i.e., there are 64 bits short of a multiple of 512). The original length of the input data (in bits) is appended to the end of the padded data as a 64-bit binary number. Eight hash values ​​(each 32 bits) (H0, H1, H2, H3, H4, H5, H6, H7) are initialized using a set of predefined constants, which are the fractional parts of the square roots of the first eight prime numbers. The preprocessed message is divided into several message blocks of 512 bits (64 bytes). Copy the initial hash value (H0, H1, H2, H3, H4, H5, H6, H7) to the working variables (a, b, c, d, e, f, g, h). Expand the 512-bit message block into 64 32-bit words. After 64 rounds of operations, update the working variables a to h. After each message block is processed, update the hash value. When all message blocks are processed, the final hash value is composed of H0, H1, H2, H3, H4, H5, H6, H7 to form a 256-bit message digest.

[0117] Use a cryptographic library such as PyCryptodome to extract the electronic signature data and use the public key for signature verification.

[0118] Use image processing libraries (such as OpenCV) and OCR technology. Extract seal image data, use OCR technology to identify the seal content, and verify it. Use image contour detection algorithm to identify contours in the image. Filter out the seal area based on the shape, area and other features of the contour. Crop the seal image data according to the filtered contour coordinates. Initialize the OCR engine (such as Tesseract). Use the OCR engine to perform text recognition on the cropped seal image and extract the seal content. Store the recognized seal content as text data. Load the expected seal content from metadata or preset values. Compare the recognized seal content with the expected content to check their consistency. Record the comparison results and generate verification result data.

[0119] S3, performing content authenticity detection according to the electronic document data and the electronic document metadata to obtain content authenticity detection data;

[0120] Specifically, the electronic properties (such as file size, format, etc.) of the electronic archive content data are automatically extracted, and the extracted electronic properties are compared with the records in the metadata.

[0121] Query the change record table data, and check the electronic document data against the historical record file and change record data to check the integrity of the content data to ensure that no data is lost or damaged.

[0122] Generate a checksum for the content data to further verify the integrity of the data. Compare the generated checksum with the record in the metadata.

[0123] Verify multimedia data (such as images and videos) to ensure their authenticity. Summarize all attribute comparison results, integrity results, checksum comparison results, and change record analysis results to generate content authenticity detection data.

[0124] S4, performing association consistency detection based on the electronic document data and the electronic document metadata to obtain association consistency detection data;

[0125] Specifically, regular expressions or natural language processing (NLP) technology is used to extract the directory structure from the document content and generate directory structure data.

[0126] Use string matching algorithms to associate directory items with document content and generate associated data.

[0127] Use data comparison tools to compare the generated metadata format with the original metadata to ensure consistency.

[0128] S5. Perform electronic archive authenticity verification based on the solidified information validity data, content authenticity test data, and associated consistency test data.

[0129] Specifically, data integration tools and scripts are used to integrate and solidify information validity data, content authenticity detection data, and association consistency detection data for final authenticity verification.

[0130] Optionally, S1 includes:

[0131] S11, initializing the data collection interface, extracting electronic document data and metadata from the electronic archive management system, and obtaining primary electronic document data and corresponding primary electronic document metadata;

[0132] Specifically, use API or script to connect to the electronic document management system (EDMS). Establish communication with EDMS through API or database connection to obtain access rights. Send a request to obtain the specified electronic document and its metadata. Receive primary electronic document data and primary electronic document metadata from EDMS, save as a temporary file or directly store in memory. Use RESTful API calls to obtain documents: obtain document data and metadata through HTTP GET requests, and receive and parse data in JSON or XML format.

[0133] S12, performing document metadata parsing on the primary electronic document metadata to obtain electronic document metadata;

[0134] Specifically, the primary electronic document metadata is loaded into the parsing library. Metadata in XML or JSON format is parsed to extract key fields (such as document ID, title, author, creation date, etc.). The parsed metadata is stored as structured data for subsequent processing.

[0135] S13: parsing the primary electronic document data for document content to obtain electronic document data.

[0136] Specifically, the primary electronic document data is loaded into the memory. The document content is preliminarily processed, such as removing HTML tags and extracting text content. Regular expressions or NLP technology are used to further parse the document content and identify the document structure (such as titles, paragraphs, tables, images, etc.). The parsed document content is stored as structured data to facilitate subsequent verification and processing.

[0137] Optionally, S2 includes:

[0138] S21, generating a summary according to the electronic document data to obtain electronic document summary data;

[0139] Specifically, the electronic document data is loaded into the memory. The document content is calculated using a hash algorithm such as SHA-256 to generate a unique document summary. The generated document summary data is stored for subsequent comparison.

[0140] S22, performing summary comparison based on the electronic document summary data and the meta-summary data in the electronic document metadata to obtain summary comparison data;

[0141] Specifically, the meta-summary data is extracted from the metadata, the generated document summary data is compared with the meta-summary data to check whether they are consistent, and the comparison result is recorded to obtain summary comparison data.

[0142] S23, extracting the electronic signature according to the electronic document data to obtain the electronic signature data;

[0143] Specifically, a data block or field containing an electronic signature is identified from the electronic document, signature data is extracted from the signature block or field, and the extracted signature data is stored for subsequent verification.

[0144] S24, performing signature verification on the electronic signature data to obtain signature verification data;

[0145] Specifically, the public key for verification is loaded from the certificate or key library. The electronic signature data is verified using the public key to confirm the validity of the signature. The verification result is recorded to obtain the signature verification data.

[0146] S25, extracting the electronic seal according to the electronic document data to obtain the electronic seal data;

[0147] Specifically, the portion of the electronic document containing the seal is identified by image processing technology, the seal image data is extracted from the document, and the extracted seal image data is stored for subsequent verification.

[0148] S26, performing seal verification according to the electronic seal data to obtain seal verification data;

[0149] Specifically, load the standard seal image or text content from the database. Use the image matching algorithm to compare the extracted seal image with the standard seal. Use the OCR technology to compare the seal content extracted with the standard content. Record the verification results to obtain the seal verification data.

[0150] S27, integrating the summary comparison data, signature verification data and seal verification data to obtain solidified information validity data.

[0151] Specifically, collect all summary comparison data, signature verification data, and seal verification data. Integrate all verification data into an overall data structure. Generate fixed information validity data, including all verification results and detailed information. Store the fixed information validity data in a database or log system for easy auditing and tracking.

[0152] Optionally, S3 includes:

[0153] S31, extracting attributes from the electronic document data to obtain electronic document attribute data;

[0154] Specifically, the electronic document data is loaded into the memory. The electronic attributes of the document, such as creation date, modification date, author, file size, file type, etc., are extracted using a document parsing tool. The extracted electronic document attribute data is stored as structured data for subsequent comparison.

[0155] S32, performing attribute comparison according to the electronic document attribute data and the meta-attribute data in the electronic document metadata to obtain attribute comparison data;

[0156] Specifically, the meta-attribute data is extracted from the electronic document metadata, and the extracted electronic document attribute data is compared with the meta-attribute data item by item to check whether they are consistent, and the comparison result is recorded to obtain the attribute comparison data.

[0157] S33, performing content integrity detection according to the electronic document data and the electronic document metadata to obtain content integrity detection data;

[0158] Specifically, the electronic document data and the content in the metadata are loaded into the memory. The document content and the content in the metadata are compared word by word using a text comparison algorithm to check whether they are consistent. The comparison results are recorded to obtain content integrity detection data.

[0159] S34, generating a verification code according to the electronic document data to obtain electronic document verification code data;

[0160] Specifically, the electronic document data is loaded into the memory. A verification code of the document data is generated using SHA-256 or other hash algorithms. The generated verification code is stored as verification code data for subsequent comparison.

[0161] S35, performing a check code comparison based on the electronic document check code and the meta-check code data in the electronic document metadata to obtain check code comparison data;

[0162] Specifically, the meta-check code data is extracted from the electronic document metadata, the generated check code data is compared with the meta-check code data to check whether they are consistent, and the comparison result is recorded to obtain the check code comparison data.

[0163] S36, performing content change record consistency processing according to the electronic document data to obtain change record consistency data;

[0164] Specifically, the change record is extracted from the electronic document data and metadata. The extracted change record is compared with the change record in the metadata to check whether they are consistent. The comparison result is recorded to obtain the change record consistency data.

[0165] S37, performing multimedia data verification on the electronic document data to obtain multimedia verification data;

[0166] Specifically, multimedia data such as images, audio, and video are extracted from the electronic document data. Multimedia verification tools are used to verify the extracted data to check whether it is complete and unmodified, such as whether the image file size, pixels, saturation, and grayscale image are consistent with the image attributes stored in the metadata, whether the audio file size, audio change rate, audio duration, and preset sampling points are consistent with the audio recording data in the metadata, and whether the video file size, video duration, and video images generated before and after the video sampling point are consistent with the video recording data in the metadata. Record the verification results to obtain multimedia verification data.

[0167] S38. Integrate the attribute comparison data, content integrity detection data, check code comparison data, change record consistency data and multimedia verification data to obtain content authenticity detection data.

[0168] Specifically, collect all attribute comparison data, content integrity detection data, checksum comparison data, change record consistency data, and multimedia verification data. Integrate all verification data into an overall data structure. Generate content authenticity detection data, including all verification results and detailed information. Store the authenticity detection data in a database or log system for easy auditing and tracking.

[0169] Optionally, S4 includes:

[0170] S41, extracting the directory structure according to the electronic document data to obtain directory structure data;

[0171] Specifically, the electronic document data is loaded into the memory. A regular expression or natural language processing (NLP) tool is used to identify and extract the directory structure, including information such as chapter titles and page numbers. The extracted directory information is stored in a structured manner to obtain directory structure data.

[0172] S42, performing directory content association processing according to the electronic document data and the directory structure data to obtain directory content association data;

[0173] Specifically, the directory structure data and the electronic document data are loaded into the memory. The chapter titles in the directory structure are matched with the document content to confirm the position of each directory item in the document. The matching results are stored as directory content association data, including the positional relationship between the directory items and the corresponding content.

[0174] S43, performing directory verification on the directory content associated data to obtain directory verification data;

[0175] Specifically, the directory content association data is loaded into the memory. Each directory item is checked to see whether it is correctly associated with the corresponding document content, ensuring the consistency and integrity of the directory item and content. The verification results are recorded to obtain the directory verification data.

[0176] S44, generating metadata format according to the electronic document data to obtain metadata format data;

[0177] Specifically, the electronic document data is loaded into the memory, the document content is parsed, and metadata is extracted and formatted, including the document author, creation date, modification date, etc. The generated metadata is stored as metadata format data.

[0178] S45, performing metadata consistency check according to the metadata format data and the electronic document metadata to obtain metadata consistency check data;

[0179] Specifically, the generated metadata format data and the metadata in the document are loaded into the memory. The metadata in the two data sources are compared to check their consistency to ensure that the metadata recorded in the document is correct. The comparison results are recorded to obtain metadata verification data.

[0180] S46, generating a mapping relationship according to the directory structure data, the electronic document data, and the electronic document metadata to obtain mapping relationship data;

[0181] Specifically, relevant data is loaded into memory. A mapping relationship between directory structure, document content and metadata is established to ensure the consistency and relevance of all data. The generated mapping relationship is stored as mapping relationship data.

[0182] S47, performing relevance verification according to the mapping relationship data to obtain relevance verification data;

[0183] Specifically, the mapping relationship data is loaded into the memory. The correctness of the mapping relationship is checked to ensure that the association between the directory, content and metadata is correct. The verification result is recorded to obtain the association verification data.

[0184] S48, integrating the directory verification data, metadata consistency verification data and association verification data to obtain association consistency detection data.

[0185] Specifically, the directory verification data, metadata verification data, and relevance verification data are collected and loaded into the memory. All verification and verification data are integrated into an overall data structure. The integrated data is stored as relevance consistency detection data for subsequent query and use.

[0186] Optionally, electronic signature extraction includes:

[0187] Perform fixed block division according to the electronic document data to obtain electronic document block data;

[0188] Specifically, the electronic document data is loaded into the memory. The document is divided into blocks according to a predetermined rule (such as 1 KB per block, or according to the document content structure such as paragraphs, chapters, etc.). The divided data is stored as electronic document block data for subsequent processing.

[0189] Performing standardization processing on the electronic document block data to obtain electronic document block processing data;

[0190] Specifically, the fixed-block data blocks are loaded into the memory one by one, and each block data is processed, such as removing blank lines, standardizing the format, cleaning noise data, etc. The processed block data is stored as electronic document block processing data.

[0191] Compressing the electronic document block processed data to obtain electronic document block compressed data;

[0192] Specifically, the processed block data is loaded into the memory. A compression algorithm (such as gzip, zlib) is used to compress each block data to reduce the data volume. The compressed block data is stored as electronic document block compressed data.

[0193] Performing intermediate hash generation according to the electronic document block compression data to obtain intermediate hash data;

[0194] Specifically, the compressed block data is loaded into the memory. SHA-256 or other hash algorithms are used to perform hash calculations on each block data to generate intermediate hash values. The intermediate hash values ​​are stored as intermediate hash data for subsequent calculations.

[0195] A hash value is calculated based on the intermediate hash data to obtain the electronic signature data.

[0196] Specifically, all intermediate hash values ​​are loaded into memory. All intermediate hash values ​​are combined in sequence and a hash algorithm (such as SHA-256) is used to perform a final hash calculation. The final electronic signature data is generated as the unique identifier of the document.

[0197] Optionally, the electronic document block data includes first electronic document block data and second electronic document block data, and the fixed block includes:

[0198] Performing fixed functional division according to the electronic document data to obtain first electronic document division data;

[0199] Specifically, the electronic document data is divided into blocks according to the document content type to obtain first electronic document block data.

[0200] Record and fix blocks according to the electronic document data to obtain second electronic document block data;

[0201] Specifically, query record data corresponding to the electronic document data is obtained; key content data in the electronic document data is determined according to the query record data, and extracted; the extracted key content data is fixedly divided into blocks to obtain second electronic document block data.

[0202] The functional fixed blocks are as follows:

[0203] Functionally classifying the electronic document data to obtain electronic document classification data, wherein the electronic document classification data includes title classification data, paragraph classification data, image classification data, and table classification data;

[0204] Specifically, the electronic document data is loaded into the memory. The document is analyzed using NLP tools / XML format recognition scripts to identify different functional parts (such as titles, paragraphs, images, tables, etc.). The identified functional parts are classified and stored as electronic document classification data.

[0205] Performing title segmentation on the electronic document data according to the title classification data to obtain title segmentation data;

[0206] Specifically, the title classification data is extracted from the electronic document classification data, the document data is divided into blocks according to the title classification data, and all the title parts are extracted, and the extracted title parts are stored as the title block data.

[0207] Performing paragraph segmentation on the electronic document data according to the paragraph classification data to obtain paragraph segmentation data;

[0208] Specifically, paragraph classification data is extracted from the electronic document classification data, the document data is divided into blocks according to the paragraph classification data, and all paragraph parts are extracted, and the extracted paragraph parts are stored as paragraph block data.

[0209] Performing image segmentation on the electronic document data according to the image classification data to obtain image segmentation data;

[0210] Specifically, image classification data is extracted from electronic document classification data, document data is divided into blocks according to the image classification data, all image parts are extracted, and the extracted image parts are stored as image block data.

[0211] Divide the electronic document data into blocks according to the table classification data to obtain table block data;

[0212] Specifically, table classification data is extracted from the electronic document classification data, the document data is divided into blocks according to the table classification data, all table parts are extracted, and the extracted table parts are stored as table block data.

[0213] The title block data, the paragraph block data, the image block data and the table block data are integrated to obtain the first electronic document block data.

[0214] Specifically, the title block data, paragraph block data, image block data and table block data are loaded respectively. The block data are integrated into an overall data structure to ensure that the parts are arranged in order. The integrated data is stored as the first electronic document block data for subsequent processing.

[0215] Optionally, recording fixed blocks includes:

[0216] Obtain document query data corresponding to the electronic document data;

[0217] Specifically, a connection is established with the electronic archive management system to obtain query permissions. A query request is sent to obtain relevant query data of the document. The query data is stored as structured data for subsequent processing.

[0218] Performing segmentation processing according to the electronic document data to obtain electronic document segmentation data;

[0219] Specifically, the electronic document data is loaded into the memory, the document is segmented using a regular expression or NLP tool, and the document content is divided into several paragraphs, and the segmented data is stored as electronic document segment data.

[0220] Perform weight sorting processing according to the document query data and the electronic document segmentation data to obtain the electronic document segmentation sorting data;

[0221] Specifically, the document query data and the segmented data are loaded into the memory. The query data and the segmented data are sorted according to their weights and the relevance, and the importance of each segment is determined. The sorted data is stored as electronic document segmented sorted data.

[0222] Performing key segmentation extraction according to the electronic document segmentation sorting data to obtain the electronic document key segmentation data;

[0223] Specifically, the sorted segmented data is loaded into the memory. The segmented data with higher weights is extracted as the key segment. The extracted key segmented data is stored for subsequent processing. The first 10 paragraphs with the highest weights after sorting are extracted and stored as the key segmented data.

[0224] Performing clustering calculation on the key segmented data of the electronic document to obtain segmented clustered data of the electronic document;

[0225] Specifically, the key segmented data is loaded into the memory, a clustering algorithm (such as K-means, DBSCAN) is used to cluster the key segmented data to identify similar content, and the clustering results are stored as electronic document segment clustering data.

[0226] The electronic document key segment data is clustered and segmented according to the electronic document segment clustering data to obtain second electronic document segment data.

[0227] Specifically, the clustering results and the key segmented data are loaded into the memory, the key segmented data are divided into blocks according to the clustering labels, and the data with the same clustering label are grouped into one block, and the divided data are stored as the second electronic document block data.

[0228] Optionally, signature verification includes:

[0229] Obtaining user location data, and performing regional signature verification according to the user location data and signature location data corresponding to the electronic signature data, to obtain first signature verification data;

[0230] Specifically, the user's real-time location data is obtained through GPS, Wi-Fi positioning or mobile network positioning. The location information when signing is extracted from the electronic signature data. The user's location data is compared with the signature location data to check the consistency of the location. The comparison result is recorded to obtain the first signature verification data.

[0231] Obtaining user identity data, and performing user signature verification based on the user identity data and signature identity data corresponding to the electronic signature data to obtain second signature verification data;

[0232] Specifically, the user identity data is obtained through biometric recognition (such as fingerprint, facial recognition) or digital certificate verification. The identity information when signing is extracted from the electronic signature data. The user identity data is compared with the signature identity data to confirm the identity of the signer. The comparison result is recorded to obtain the second signature verification data.

[0233] Perform signature content verification based on the electronic signature data and the meta-electronic signature data in the electronic document metadata to obtain third signature verification data;

[0234] Specifically, the signature content and signature metadata are extracted from the electronic signature data. The signature content is verified using the public key and the signature verification algorithm to ensure that the signature has not been tampered with. The verification result is recorded to obtain the third signature verification data.

[0235] Integrate the first signature verification data, the second signature verification data, and the third signature verification data to obtain signature verification data;

[0236] Specifically, collect the first signature verification data, the second signature verification data, and the third signature verification data. Integrate all verification data into an overall data structure to ensure data integrity and consistency. Generate final signature verification data, including all verification results and detailed information. Store the signature verification data in a database or log system for easy auditing and tracking.

[0237] The regional signature verification is as follows:

[0238] Obtain user location data, where the user location data includes user GPS location data, user Wi-Fi location data, and user mobile network location data;

[0239] Specifically, the user's latitude and longitude coordinates are obtained through the device's GPS module. The device's Wi-Fi module is used to scan the surrounding Wi-Fi signals, and the location data is obtained in combination with the Wi-Fi positioning service. The base station positioning data is obtained through the device's mobile network connection.

[0240] Performing location data fusion according to user location data to obtain location fusion data;

[0241] Specifically, the acquired GPS, Wi-Fi and mobile network positioning data are loaded into the memory. The multi-source location data are fused using data fusion algorithms such as Kalman filtering to remove noise and improve positioning accuracy. The fused location data is stored as location fusion data.

[0242] Perform multi-dimensional position credibility calculation based on the position fusion data to obtain multi-dimensional position credibility data;

[0243] Specifically, the fused location data is loaded into the memory. The credibility is calculated based on the credibility of the data source (such as GPS, Wi-Fi, mobile network), the stability of the location data (the smoothness of location changes), and the matching degree of historical data (similarity with past data). The calculated multi-dimensional location credibility is stored as multi-dimensional location credibility data.

[0244] Performing a position consistency check according to the multi-dimensional position credibility data to obtain position consistency check data;

[0245] Specifically, the multi-dimensional location credibility data is loaded into the memory. The consistency of the location data is checked according to the preset threshold or rule to determine whether the location data is reliable and consistent. The check result is stored as location consistency check data. The credibility threshold is set to 0.8. If the multi-dimensional location credibility score is higher than 0.8, the location data is considered to be consistent and reliable, and the check result is recorded.

[0246] Performing geo-fence verification based on the location consistency check data to obtain first signature verification data;

[0247] Specifically, load the location consistency check data into memory. Define a preset geo-fence area (such as a specific latitude and longitude range). Check whether the location data is within the geo-fence and determine whether the location is legal. Record the verification result and obtain the first signature verification data. Set the geo-fence to the latitude and longitude range of the company's office area, check whether the location data is within this range, and record the geo-fence verification result. Use the least squares method to fit the user environment location data and the user location data to check their consistency.

[0248] The location consistency check is as follows:

[0249] When it is determined that the location consistency check data is location consistency reliable data, geo-fence verification is performed according to the location consistency check data and preset virtual geo-fence data to obtain first signature verification data;

[0250] Specifically, the location consistency check data is loaded into the memory. Whether the data is reliable is determined based on the multi-dimensional location credibility score and the preset credibility threshold. If the credibility score is higher than the threshold, the data is considered reliable. The reliable data is compared with the preset virtual geo-fence to check whether it is within the geo-fence, and the first signature verification data is generated.

[0251] When it is determined that the location consistency check data is location consistency suspicious data, the terminal camera is turned on to collect environmental images to obtain environmental image data;

[0252] Specifically, the location consistency check data is loaded into the memory. According to the multi-dimensional location credibility score and the preset credibility threshold, it is determined whether the data is suspicious. If the credibility score is lower than the threshold, the data is considered suspicious. The device camera is started to collect environmental images, and target detection is performed on the collected image stream until the image with the light and dark changes of the sun and objects is determined and extracted, and the spatial relationship fusion is performed based on the extracted image to obtain the current environmental image data.

[0253] Use target detection algorithms (such as YOLO, SSD, etc.) to detect the sun and light-dark changes in the image. Load the pre-trained target detection model. Perform target detection on each frame and look for images containing the sun and significant light-dark changes. Extract images containing the sun and light-dark changes from the target detection results. Fuse multiple images containing the sun and light-dark changes based on the spatial relationship algorithm to generate the current environment image data. Load all images containing the sun and light-dark changes. Fuse the images according to the spatial relationship of the images (such as shooting position, camera rotation / translation angle, shooting angle, etc.) to generate a complete environment image.

[0254] Extract sunlight angle according to environmental image data to obtain sunlight angle data;

[0255] Specifically, the collected environmental image data is loaded into the memory. The light direction in the image is analyzed using a computer vision algorithm to extract the sunlight angle. The extracted sunlight angle information is stored as sunlight angle data. The color image is converted into a grayscale image. An edge detection algorithm (such as Canny edge detection) is used to identify the edges in the image. The straight lines in the image are detected using the Hough line transform, which represents the light direction. The angle of each straight line is calculated based on the results of the Hough transform. All angles are analyzed to extract the angle of the main light direction.

[0256] Estimate the user's environmental position according to the sunlight angle data to obtain the user's environmental position data;

[0257] Specifically, the extracted sunshine angle data is loaded into the memory. According to the current time and sunshine angle, the user's environmental position is estimated using an astronomical calculation method. The estimated user environmental position is stored as user environmental position data. The current date and time are obtained. According to the current time and sunshine angle, the position of the sun in the celestial sphere is calculated. According to the calculated sun position and sunshine angle, the user's geographical location is estimated.

[0258] Perform fitting screening according to the user environment location data and the user location data to obtain user location fitting data;

[0259] Specifically, the user environment location data and the user location data are loaded into the memory. The two location data are compared using a location fitting algorithm to filter out consistent or close data. The fitted location data is stored as user location fitting data.

[0260] The geo-fence verification is performed according to the user location fitting data and the preset virtual geo-fence data to obtain the first signature verification data.

[0261] Specifically, the user location fitting data and the virtual geo-fence data are loaded into the memory. Check whether the fitting data is within the geo-fence and determine whether the location is legal. Record the verification result and obtain the first signature verification data.

[0262] Optionally, the present application further provides an electronic file authenticity verification system, which is used to execute the electronic file authenticity verification method as described above, and the electronic file authenticity verification system includes:

[0263] An electronic document basic data acquisition module is used to obtain electronic document data and corresponding electronic document metadata;

[0264] The fixed information validity check module is used to check the validity of the fixed information according to the electronic document data and the electronic document metadata to obtain the validity data of the fixed information;

[0265] A content authenticity detection module is used to perform content authenticity detection based on electronic document data and electronic document metadata to obtain content authenticity detection data;

[0266] An association consistency detection module is used to perform association consistency detection based on the electronic document data and the electronic document metadata to obtain association consistency detection data;

[0267] The electronic archive authenticity verification operation module is used to perform electronic archive authenticity verification operations based on solidified information validity data, content authenticity detection data, and associated consistency detection data.

[0268] Therefore, from any point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the attached application documents rather than the above description, and it is intended that all changes falling within the meaning and scope of equivalent elements of the application documents are included in the present invention.

[0269] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be 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 will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.

Claims

1. A method for verifying the authenticity of an electronic file. It is characterized in that The method comprises: S1. Obtain electronic document data and corresponding electronic document metadata; S2. Performing a validity check on the fixed information based on the electronic document data and the electronic document metadata to obtain the validity data of the fixed information; S3, performing content authenticity detection according to the electronic document data and the electronic document metadata to obtain content authenticity detection data; S4, performing association consistency detection based on the electronic document data and the electronic document metadata to obtain association consistency detection data; S5. Perform electronic archive authenticity verification based on the solidified information validity data, content authenticity test data, and associated consistency test data.

2. The method according to claim 1, It is characterized in that S1 includes: Initialize the data collection interface, extract electronic document data and metadata from the electronic archive management system, and obtain primary electronic document data and corresponding primary electronic document metadata; Performing document metadata parsing on primary electronic document metadata to obtain electronic document metadata; The primary electronic document data is parsed for document content data to obtain electronic document data.

3. The method according to claim 1, It is characterized in that S2 include: Generate a summary based on the electronic document data to obtain electronic document summary data; Performing summary comparison based on the electronic document summary data and the meta-summary data in the electronic document metadata to obtain summary comparison data; Extracting the electronic signature according to the electronic document data to obtain the electronic signature data; Performing signature verification on the electronic signature data to obtain signature verification data; Extracting electronic seals according to electronic document data to obtain electronic seal data; Perform seal verification according to the electronic seal data to obtain seal verification data; Integrate summary comparison data, signature verification data and seal verification data to obtain solidified information validity data.

4. The method according to claim 1, It is characterized in that S3 includes: Extracting attributes from the electronic document data to obtain electronic document attribute data; Performing attribute comparison based on the electronic document attribute data and the meta-attribute data in the electronic document metadata to obtain attribute comparison data; Performing content integrity detection based on electronic document data and electronic document metadata to obtain content integrity detection data; Generate a verification code according to the electronic document data to obtain the electronic document verification code data; Performing a check code comparison based on the electronic document check code and the meta-check code data in the electronic document metadata to obtain check code comparison data; Perform content change record consistency processing according to the electronic document data to obtain change record consistency data; Performing multimedia data verification on electronic document data to obtain multimedia verification data; The attribute comparison data, content integrity detection data, check code comparison data, change record consistency data and multimedia verification data are integrated to obtain content authenticity detection data.

5. The method according to claim 1, It is characterized in that S4 includes: Extracting the directory structure according to the electronic document data to obtain the directory structure data; Perform directory content association processing according to the electronic document data and the directory structure data to obtain directory content association data; Performing directory verification on directory content associated data to obtain directory verification data; Generate metadata format according to electronic document data to obtain metadata format data; Perform metadata consistency check according to metadata format data and electronic document metadata to obtain metadata consistency check data; Generate a mapping relationship based on the directory structure data, the electronic document data, and the electronic document metadata to obtain mapping relationship data; Performing relevance verification according to the mapping relationship data to obtain relevance verification data; The directory verification data, metadata consistency verification data and association verification data are integrated to obtain association consistency detection data.

6. The method according to claim 3, It is characterized in that Electronic signature extraction includes: Perform fixed block division according to the electronic document data to obtain electronic document block data; Performing standardization processing on the electronic document block data to obtain the electronic document block processing data; Compressing the electronic document block processed data to obtain electronic document block compressed data; Generating intermediate hashes according to the electronic document block compression data to obtain intermediate hash data; A hash value is calculated based on the intermediate hash data to obtain the electronic signature data.

7. The method according to claim 6, It is characterized in that The electronic document block data includes first electronic document block data and second electronic document block data, and the fixed blocks include: Performing fixed functional division according to the electronic document data to obtain first electronic document division data; Record and fix blocks according to the electronic document data to obtain second electronic document block data; The functional fixed blocks are as follows: Functionally classifying the electronic document data to obtain electronic document classification data, wherein the electronic document classification data includes title classification data, paragraph classification data, image classification data, and table classification data; Performing title segmentation on the electronic document data according to the title classification data to obtain title segmentation data; Performing paragraph segmentation on the electronic document data according to the paragraph classification data to obtain paragraph segmentation data; Performing image segmentation on the electronic document data according to the image classification data to obtain image segmentation data; Divide the electronic document data into blocks according to the table classification data to obtain table block data; The title block data, the paragraph block data, the image block data and the table block data are integrated to obtain the first electronic document block data.

8. The method according to claim 7, It is characterized in that Record fixed blocks include: Obtain document query data corresponding to the electronic document data; Performing segmentation processing according to the electronic document data to obtain electronic document segmentation data; Perform weight sorting processing according to the document query data and the electronic document segmentation data to obtain the electronic document segmentation sorting data; Performing key segmentation extraction according to the electronic document segmentation sorting data to obtain the electronic document key segmentation data; Performing clustering calculation on the key segmented data of the electronic document to obtain segmented clustered data of the electronic document; The electronic document key segment data is clustered and segmented according to the electronic document segment clustering data to obtain second electronic document segment data.

9. The method according to claim 3, It is characterized in that Signature verification includes: Obtaining user location data, and performing regional signature verification according to the user location data and signature location data corresponding to the electronic signature data, to obtain first signature verification data; Obtaining user identity data, and performing user signature verification based on the user identity data and signature identity data corresponding to the electronic signature data to obtain second signature verification data; Perform signature content verification based on the electronic signature data and the meta-electronic signature data in the electronic document metadata to obtain third signature verification data; Integrate the first signature verification data, the second signature verification data, and the third signature verification data to obtain signature verification data; The regional signature verification is as follows: Obtain user location data, where the user location data includes user GPS location data, user Wi-Fi location data, and user mobile network location data; Performing location data fusion according to user location data to obtain location fusion data; Perform multi-dimensional position credibility calculation based on the position fusion data to obtain multi-dimensional position credibility data; Performing a position consistency check according to the multi-dimensional position credibility data to obtain position consistency check data; Performing geo-fence verification based on the location consistency check data to obtain first signature verification data; The location consistency check is as follows: When it is determined that the location consistency check data is location consistency reliable data, geo-fence verification is performed according to the location consistency check data and preset virtual geo-fence data to obtain first signature verification data; When it is determined that the location consistency check data is location consistency suspicious data, the terminal camera is turned on to collect environmental images to obtain environmental image data; Extract sunlight angle according to environmental image data to obtain sunlight angle data; Estimate the user's environmental position according to the sunlight angle data to obtain the user's environmental position data; Perform fitting screening according to the user environment location data and the user location data to obtain user location fitting data; The geo-fence verification is performed according to the user location fitting data and the preset virtual geo-fence data to obtain the first signature verification data.

10. An electronic file authenticity verification system, It is characterized in that Used to execute the electronic file authenticity verification method as claimed in claim 1, the electronic file authenticity verification system comprises: An electronic document basic data acquisition module is used to obtain electronic document data and corresponding electronic document metadata; The fixed information validity check module is used to check the validity of the fixed information according to the electronic document data and the electronic document metadata to obtain the validity data of the fixed information; A content authenticity detection module is used to perform content authenticity detection based on electronic document data and electronic document metadata to obtain content authenticity detection data; An association consistency detection module is used to perform association consistency detection based on the electronic document data and the electronic document metadata to obtain association consistency detection data; The electronic archive authenticity verification operation module is used to perform electronic archive authenticity verification operations based on solidified information validity data, content authenticity detection data, and associated consistency detection data.

Citation Information

Patent Citations

  • A calibration method and an electronic device for an electronically scanned document

    CN109190724A

  • UOF document-based national password electronic signature processing system and method

    CN111914305A

  • Method, system and equipment for detecting authenticity of metadata of electronic file and medium

    CN115964684A

  • Four-property detection method and system applied to electronic archive system

    CN116304263A

  • Electronic archive data security system and method

    CN117556442A

Cited By

  • Multi-level document security protection system and method for enterprise

    CN120611414A

  • A system and method for enterprise multi-level document security

    CN120611414B