A system, method, device and storage medium for stamping electronic archives
By designing an electronic archive filing seal stamping system, the problem of the inability of the existing technology to effectively stamp an electronic archive seal has been solved, and the authenticity and integrity of electronic archives can be protected through filing stamp marking while retaining the attributes of the original archives. Prevent illegal tampering and denial.
Patent Information
- Application Number
- CN202410563782.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-08
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2044-05-08
AI Technical Summary
The prior art cannot effectively stamp the electronic archive seal after electronic archives are archived, resulting in the archives losing their original attributes, and the authenticity, integrity of the files and protection against illegal tampering.
An electronic archive filing seal stamping system is designed. Through the parameter acquisition module, filing seal configuration module, filing seal filling module and filing seal signing module, the archive metadata information is obtained, the filing seal stamp and filling elements are configured, and the filing is completed. Chapter element content, and write the signature value into the signature field of the signed electronic file through digital signature technology.
While retaining the original attributes of electronic files, the solidification of electronic files is achieved through filing stamp marking, which effectively prevents illegal tampering and denial, and protects the authenticity and integrity of electronic files.
Smart Images

Figure CN118468348B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic archives and electronic signatures, and in particular to a method, system, device and medium for stamping an electronic filing seal used for filing electronic archives. Background Art
[0002] The Archives Law stipulates that "electronic archives have the same validity as archives on traditional carriers", which clarifies the legal status of electronic archives in legal form. With the continuous development of information technology, electronic archives, especially single-set electronic archives, are gradually becoming a reality.
[0003] However, the existing specifications and standards do not mention how to stamp the electronic archive after archiving. In some practical applications, multiple electronic files in the electronic archive are usually merged into a PDF (Portable Document Format) or OFD (Open Format Document) file, and then the electronic signature technology is used to insert the seal pattern into the specified position of the merged and archived PDF or OFD file for signature synthesis. However, merging multiple files with electronic signatures into a PDF or OFD file has caused the archive itself to lose its original attributes and thus lack the validity of a certificate. Stamping the electronic archive on the document that has lost its original attributes cannot achieve the purpose of the archive stamp to protect the authenticity and integrity of the file and prevent illegal tampering and denial.
[0004] Publication number: CN114417407A, title: "A method and terminal for batch signing of electronic seals for electronic archives", by reading the text information of the document and matching it with the role information, thereby determining the signature position of each role in each document, effectively inserting the corresponding electronic seal to complete the signature, and being able to automatically realize the multi-seal signature of the electronic seal in a single or multiple texts. The essence of this method is to perform electronic signature operations in batches through the system, and there is no association between the signature files. It also fails to achieve the purpose of solidifying all archived files under a file number through the archive stamp, protecting the integrity of the archived electronic files, and preventing illegal tampering and denial. Its essence is not to stamp the archive stamp.
[0005] Publication number: CN111597150A, name "An automated archiving and sorting information system", strictly follows the provisions of "5.4.4: Electronic files can be generated by the system in the form of archiving stamps or marked on archived files in other forms such as barcodes" in the "Archiving File Sorting Rules". After the automatic filing is completed, the six archiving stamp elements of each file, including the archive number, organization (issue), year, storage period, file number, and number of pages, are determined. After the six elements are filled in, the archiving stamp is automatically stamped in the blank position in the upper right corner of the first page of the file in the standard archiving stamp format according to the electronic signature mode to complete the automatic stamping of the archiving stamp. Although this patented technology describes the filling of the dynamic content of the archiving stamp, its essence is still to combine multiple electronic files to be archived into one PDF or OFD, and then stamp an archiving stamp in the upper right corner of the first page of the file to complete it. The original properties of the electronic file have been destroyed and cannot be checked before the archiving stamp is stamped, and the electronic file certificate function has been lost.
[0006] In order to ensure the original properties and voucher validity of electronic archives, when archiving electronic archives based on the single-set system, multiple original electronic files archived at one time can be stored in the electronic archive folder according to the specified file directory in the form of ZIP (compressed package) to form an archive information package for archiving in accordance with GB / T 39362, DA / T 85 and other specifications. Therefore, while retaining the original properties of electronic archives, for the batch of archived electronic files in the archive information package, that is, the electronic folder, how to solidify the electronic archive information through the archiving chapter mark, effectively prevent illegal tampering and denial, and protect the authenticity and integrity of the electronic archives, is an urgent problem to be solved in the "single-set system" electronic archive archiving. Summary of the invention
[0007] In view of the above problems, the present invention provides a system and method for stamping electronic archives with archiving stamps, which can protect the authenticity and integrity of electronic archives through archiving stamp marks while retaining the original properties of electronic archives, thereby effectively preventing illegal tampering and denial of electronic archives.
[0008] According to a first aspect of the present invention, a filing seal stamping system for electronic archives is proposed, comprising a parameter acquisition module, a filing seal configuration module, a filing seal filling module, and a filing seal signing module, wherein the parameter acquisition module is used to obtain archive metadata information, filing seal element information, and archive description information from the electronic archive package file to be signed, establish a classification table of metadata information of the electronic archive file to be signed for the electronic archive package file list, calculate the hash of the electronic file list to be signed to generate a docHash list; the filing seal configuration module is used to submit the filing seal mold to the electronic seal platform for filing, obtain the seal code, configure the electronic filing seal mold, the filing seal, and the filing seal. Filling elements and archiving seal stamping rules; the archiving seal element filling module is used to extract or generate archiving seal filling elements according to the archiving seal filling element associated variable rule configuration relationship, fill the archiving seal element content into the actual coordinate position of the control, fill the archive description information into the archiving seal signature field as the signature extension information, and add the docHash list to the archiving seal signature field; the archiving seal signature module obtains the seal from the electronic seal platform, obtains the signature position according to the archiving seal configuration, retrieves the archiving seal seal from the seal filing library, and stamps the archiving seal seal to the signature position of the archived file to be signed; writes the signature value into the archiving seal signature field of the signed electronic file through the certificate private key.
[0009] Further preferably, the parameter acquisition module extracts the file name, file ID, and attribute information of the electronic file to be signed and archived to establish a list of files to be signed, and classifies the archive metadata information, among which the archive number, archiving year, organization, retention period, file number, and number of pages are classified as archive seal elements, and the file number and sub-file number information are classified as archive description information; a docHash list is generated based on the electronic file list sub-file number, file ID, file name, and file list hash.
[0010] Further preferably, the filling of the archiving chapter element content into the actual coordinate position of the control includes: the archiving chapter element filling module extracts the archiving chapter element content from the classification table of archive metadata information of the electronic file to be signed and archived according to the archiving chapter configuration; retrieves the archiving chapter mold configuration, the stamping position rule configuration, and the filling content rule configuration through the archive category, obtains the seal number and the seal pattern through the mold configuration, obtains the archiving chapter signature position through the stamping position rule configuration, and obtains the actual coordinates of the filling control position by superimposing the signature position; obtains the filling control associated fields and the filling content style through the archiving chapter content filling rule configuration according to the actual coordinates of the filling control, and fills in the archiving chapter element at the actual coordinate position of the control according to the archiving chapter content filling style.
[0011] Further preferably, the stamping of the archiving seal mold includes retrieving the archiving seal mold configuration, the archiving seal stamping position rule configuration and the seal authorization code through the archive category, obtaining the relative coordinate position of the seal position in each file in the electronic file to be signed and archived through the archiving seal stamping position rule configuration, determining the signature position, retrieving the seal mold from the seal filing library through the seal code, and adding the seal pattern as the signature appearance to the signature position of each file.
[0012] Further preferably, the writing of the signature value into the signature field of the signed electronic file through the certificate private key includes generating a group identifier for the batch signing of the archived files to be signed, calculating the signature value, filling the signature field of the signer certificate of the electronic file, signing the signature field using the private key corresponding to the signer certificate to obtain the signature value, writing the signature value into the signer certificate, writing the signer certificate structure data into the signature field of each PDF file to be signed, writing the hash value of the archived electronic files before and after the signing, groupID, archive information, and docHash list into the signature value structure, and forming a signature field together with the digital certificate, signature algorithm, and signing time, to form a detailed description of the batch signing behavior of this archived file.
[0013] According to the second aspect of the present application, a method for stamping an electronic archive with an archiving seal is proposed, comprising: a parameter acquisition module obtains archive element information, sub-item element information, and archiving seal filling element information from an electronic file to be signed and archived, establishes an archive metadata information classification table for the electronic file to be signed for the file list of the electronic archive package, calculates the hash of the electronic file list to be signed and generates a docHash list; configures the electronic archiving seal mold, archiving seal filling elements, and archiving seal stamping rules; extracts or generates archiving seal filling elements according to the configuration relationship of the archiving seal filling element associated variable rules, fills the archiving seal element content into the actual coordinate position of the control, fills the archive description information into the archiving seal signature field as the signature extension information, and adds the docHash list to the archiving seal signature field; obtains the mold from the electronic seal platform, obtains the signature position according to the archiving seal configuration, retrieves the archiving seal mold from the seal filing library, and stamps the archiving seal mold to the signature position of the archived file to be signed; writes the signature value into the signature field of the signed electronic file through the certificate private key.
[0014] Further optimization is to extract the file name, file ID, and attribute information of the electronic file to be signed and archived to establish a list of files to be signed, obtain the electronic file archive metadata information in the file list, and classify it, among which the archive number, archiving year, organization, retention period, file number, and number of pages are classified as archiving seal elements, and the file number and sub-file number information are classified as archive description information; generate a docHash list based on the electronic file list sub-file number, file ID, file name, and file list hash.
[0015] Further preferably, the filling of the archiving seal element content into the actual coordinate position of the control includes: extracting the archiving seal element content from the classification table of archive metadata information of the electronic file to be signed and archived according to the archiving seal configuration, and filling in the archiving seal element at the calculated actual coordinate position of the fill-in control; retrieving the archiving seal mold configuration, the stamping position rule configuration, and the filling content rule configuration through the archive category, obtaining the seal number and the seal pattern through the mold configuration, obtaining the archiving seal signature position through the stamping position rule configuration, and calculating the actual coordinates of the fill-in control position by superimposing the signature position; according to the actual coordinates of the fill-in control, obtaining the fill-in control associated fields and the fill-in content style through the archiving seal filling content rule configuration, and completing the archiving seal element filling at the actual coordinate position of the control according to the archiving seal filling content style.
[0016] Further preferably, the step of stamping the electronic archive file to be signed includes retrieving the archiving seal stamp configuration, the archiving seal stamp position rule configuration and the seal authorization code through the archive category, obtaining the relative coordinate position of the seal position in each file in the archived electronic file to be signed through the archiving seal stamp position rule configuration, determining the signature position, retrieving the seal from the seal filing library through the seal code, and adding the seal pattern as the signature appearance to the signature position of each file.
[0017] Further preferably, the writing of the signature value into the signature field of the signed electronic file through the certificate private key includes generating a group identifier for the batch signing of the archived files to be signed, calculating the hash of the archived files after filling in the archived seal elements and affixing the archived seal, writing the archive information, archived file hash, and docHash list into the signature value structure together, forming a signature field together with the digital certificate, signature algorithm, and signature time, and forming a detailed description of the batch signing behavior of the archived seal.
[0018] According to another aspect of the present application, there is provided an electronic device, comprising: a processor; and a memory storing a program, wherein the program comprises instructions, which when executed by the processor, cause the processor to execute the above-described method for stamping an electronic archive.
[0019] According to another aspect of the present application, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the method for stamping an electronic archive according to the above-mentioned method.
[0020] According to the present invention, the electronic files to be archived in the archive information package are signed in batches through the archive stamp. When any electronic file is opened, the archive information such as the file number, the archive number, the total number of files, the total number of pages, etc. of the current file can be checked through the signature field of the archive stamp. Whether other electronic files have been removed or added under the file can be checked through docHash. The original hash and the hash after signing can be calculated through the signature algorithm described in the signature field and compared with the hash information in the signature field to check whether the electronic file has been tampered with. The electronic file after the archive stamp is stamped according to the above method is completed. While retaining the original properties of the electronic file, the electronic archive stamp is used to realize the mark solidification of the archived electronic file, so as to achieve the purpose of protecting the authenticity and integrity of the electronic file through the archive stamp and preventing illegal tampering and denial. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions of specific embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and should not be regarded as limiting the scope.
[0022] Figure 1 Shown is a diagram of the relationship between the electronic archive filing chapter system in this exemplary embodiment;
[0023] Figure 2 Shown is a schematic diagram of the process of stamping an electronic file in this exemplary embodiment;
[0024] Figure 3 Shown is a schematic diagram of the electronic file filing stamp in this exemplary embodiment;
[0025] Figure 4 Shown is a schematic diagram of writing a signature value into the signature field of an archive chapter in this exemplary embodiment;
[0026] Figure 5 Shown is an electronic device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solution of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. However, it should be understood that the present application can be implemented in various forms and should not be interpreted as being limited to the embodiments described here. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present application. It should be understood that the drawings and embodiments of the present application are only for exemplary purposes and are not intended to limit the scope of protection of the present application.
[0028] It should be understood that the various steps described in the method implementation of the present application can be performed in different orders and / or performed in parallel. In addition, the method implementation may include additional steps and / or omit the steps shown. The scope of the present application is not limited in this respect.
[0029] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions of other terms will be given in the description below. It should be noted that the concepts of "first", "second", etc. mentioned in this application are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0030] It should be noted that the modifications of "one" and "plurality" mentioned in the present application are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0031] The names of the messages or information exchanged between multiple devices in the embodiments of the present application are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0032] like Figure 1 The figure shows a schematic diagram of the structure of an electronic archive archiving stamp system provided according to an exemplary embodiment of the present application, including: an archiving stamp configuration module, a parameter acquisition module, an archiving stamp filling module, and an archiving stamp signing module.
[0033] The parameter acquisition module acquires the archive element information, sub-item element information, and archive seal filling element information from the electronic file to be signed and archived, including: filling in the control coordinates.
[0034] Obtain the electronic archive element information and the archive chapter content element information. Obtain the file number of the archive to be stamped, the total number of files, obtain the sub-file number of each file, calculate the number of pages of each file and other electronic archive element information through built-in rules. According to the filling element generation rules configured in the electronic seal configuration module, obtain the corresponding field value of the electronic archive or calculate the corresponding value through the script, and obtain the archive chapter content element information including the archive number, organization (issue), year, file number, number of pages, etc. Among them, the archive chapter content element information is used to fill in the elements, and the electronic archive element information is used to write the signature field when stamping the archive chapter. The signature field information can clearly know the archive to which the current electronic archive belongs, the file number, the total number of pages, the current electronic file sub-file number, the total number of pages and other information.
[0035] The filing seal configuration module submits the filing seal template to the electronic seal platform for filing, obtains the seal code, configures the electronic filing seal template, filing seal filling elements and filing seal stamping rules. Including: parameter variable rules;
[0036] By configuring the electronic archiving stamp template, archiving stamp filling elements and archiving stamp stamping rules, you can choose whether to stamp the archiving stamp, the archiving stamp pattern (template) to be stamped, and the archiving stamp signature position for different archive categories.
[0037] Configuration of the stamp mold for the filing stamp, the rules for the stamping position for the filing stamp, the rules for filling in the content of the filing stamp, and the authority to adjust the filing stamp. Specifically include:
[0038] The archiving seal template configuration is to apply for the seal making interface through the electronic seal, and register the template drawing on the electronic seal platform, so as to realize the nationwide mutual inspection and verification of the archiving seal; because the archiving seal standards of different archives and different archive categories are different, different archiving seal templates can be called for different archive categories or classification standards through the archiving seal template configuration.
[0039] Due to the uncertainty of the content and format of the electronic files to be archived, the signature position cannot be configured in advance through the file template. In order to reduce and avoid the signing time and signature quality problems caused by the manual configuration of the signature position for each archived file, the signature position is configured in combination with the general stamping standard of the archived seal. For example, the relative position of the stamp can be configured in the blank space of the file. According to the text area, electronic signature position, signing time and page margin position in the electronic file to be signed, the relative position of the signature is calculated as the stamping position.
[0040] The configuration of the archiving stamp position rules includes configuring the position where the stamp is inserted into the electronic file, which page and position of the electronic archive file to be signed, etc., such as clearly specifying the cover page of each electronic file, the electronic signature page, the cover of the archive bag, etc.
[0041] Due to the uncertainty of the content format of the electronic files to be archived, the signature position cannot be configured in advance through the file template. If the signature position is manually configured every time the electronic files are archived, it will increase labor costs and time, and the configuration position is inaccurate and inconsistent, which may lead to omissions. Therefore, through the configuration of the archiving seal position rules, the relative position of the seal can be determined by calculation each time the archive is made, and the signature position can be dynamically generated before batch adjustment, which can greatly improve efficiency, save time and cost, etc.
[0042] For example, when configuring the signature position, you can set the seal position to the first page of each document, and you can set the distance of the left top point of the signature mold relative to the top / bottom margin of the document and the right / left margin.
[0043] Configuration of rules for filling in the archive chapter content, configuration of corresponding archive chapter content filling controls and control content filling rules for different archive categories and different archive chapter templates, specifically including: filling in control position configuration, filling in content style configuration, and filling in element associated variable rule configuration.
[0044] The filling control position configuration can be configured by dragging and dropping the archiving chapter element content control that needs to be dynamically filled in the archiving chapter stamp; the actual position of the archiving chapter element content filling control in the electronic file to be archived is obtained by combining the filling control position configuration with the stamp position. The actual coordinate position of the archiving chapter element content filling control and the archiving chapter signature position can be configured to be the same position in the file, or they can be configured to be different positions in the file.
[0045] The content filling style configuration includes the content filling font, initial font size, color, whether to support adaptive support, etc. When adaptive support is supported, if the number of characters in the content filling exceeds the width of the filling control, the font size will be dynamically adjusted to avoid problems such as the content filling being intercepted or the line breaking exceeding the seal filling area.
[0046] The filling element association variable rule configuration includes binding through database or dictionary table associated field mapping, and generation through script calculation. For example, the archive number, year, item number, etc. can be obtained from the electronic archive archiving metadata in the database, and the total number of pages of archived files with signatures and seals can be obtained through the file calculation script, etc.
[0047] The authorization for archiving stamp transfer is that the person who has the authority to call the archiving stamp authorizes the system, allowing the system to call the archiving stamp according to the configuration rules to stamp the archived electronic files. After obtaining the system authorization code, when the actual electronic files are archived, the system can automatically call and stamp the confirmed archived files according to the configuration rules through the authorization code.
[0048] The archiving chapter element filling module fills the acquired archiving chapter filling element information into the designated archiving chapter control position according to the acquired filling control coordinates and the coordinates and filling rules provided by the archiving configuration module.
[0049] Furthermore, the signature position is dynamically generated according to the configured stamping rules, and the actual coordinates of the filling content control are calculated by superimposing the signature position coordinates on the configured filling control coordinates. According to the configured filling content style, the obtained filling content elements are filled in batches in the designated positions of each electronic file to be archived to complete the filling of the archiving seal elements.
[0050] The archiving seal signing module obtains the seal mold, certificate, etc. from the national electronic seal platform according to the seal code, calls the electronic signature service module to stamp the archiving seal mold to the specified location of the archive file to be signed, and calls the digital signature module to write the digital signature information and archive element information, sub-item element information and sub-item hash list into the archive file signature field to complete the archiving seal signing.
[0051] Specifically, based on the system authorization code obtained for the authorization of archiving seal and retrieval seal permissions, after the system obtains the archiving instruction, the archiving seal template in the filing library is retrieved through the system authorization code, and the archiving seal template is stamped to the designated location of each archived file to be signed (such as a PDF file) through the signature service middleware, and the acquired archive information, current sub-file information, file hashes before and after signing, and hash lists of electronic files to be archived are written into the signature field to finally complete the signing of the archiving seal.
[0052] like Figure 2 The flowchart of the method for stamping the electronic archive with a filing seal in this exemplary embodiment is shown, and the specific steps are as follows:
[0053] S1. The parameter acquisition module obtains the list of archived electronic archive files and archive information. Specifically, it includes: extracting the file name, file ID, attributes and other information of the electronic file to be signed and archived to establish a list of files to be signed, obtaining the electronic file archive metadata information in the file list, and classifying it, and establishing a classification table for the archive metadata information of the electronic file to be signed and archived, such as the archive number, archiving year, organization (issue), storage period, file number, number of pages and other partial information can be classified as archive seal elements; the file number, sub-file number and other partial information are classified as archive description information, among which the archive description information is added to the archive seal signature field as signature extension information.
[0054] S2. Calculate the hash of the list of electronic files to be signed and archived to generate a docHash list. Specifically, it includes: calculating the hash of the list of electronic files to be signed and archived, generating a docHash list based on the list sub-item number, file ID, file name, and file list hash, and adding the docHash list to the signature field of the archive stamp. After the electronic files are signed and archived, the signature field in the archive stamp can be used to query and verify other file information of the same batch of archived signatures, and to identify the archived files in the same case file.
[0055] S3. According to the archiving chapter configuration, extract the archiving chapter element content from the metadata information classification table of the electronic file archive to be signed and archived, and fill in the archiving chapter element at the calculated actual coordinate position of the fill-in control.
[0056] Specifically including: retrieving the corresponding archiving seal mold configuration, archiving seal stamp position rule configuration, and archiving seal content filling rule configuration through archive categories; obtaining the seal number and seal pattern through the mold configuration; calculating the archiving seal signature position through the archiving seal stamp position rule configuration, obtaining the filling control position through the archiving seal content filling rule configuration, and obtaining the actual coordinates of the filling control by superimposing the archiving seal signature position on the filling control position; obtaining the filling control associated fields and filling content style through the archiving seal content filling rule configuration, extracting or generating the archiving seal filling elements according to the associated field mapping binding relationship in the filling element associated variable rule configuration, and completing the archiving seal element filling at the actual control coordinate position according to the archiving seal content filling style.
[0057] S4.According to the archive seal configuration, obtain the signature position coordinates, retrieve the seal template from the seal filing library, and stamp the electronic archive file to be signed (such as the signed PDF file in the archive file).
[0058] Specifically, it includes: retrieving the corresponding archiving seal mold configuration, archiving seal stamping position rule configuration and seal authorization code through the archive category, obtaining the relative coordinate position of the position to be stamped in each file in the archived electronic file to be signed through the archiving seal stamping position rule configuration, determining the signature position, and after the system verifies the identity information, retrieving the mold from the seal filing library through the seal code, and adding the mold pattern as the signature appearance to the signature position of each file.
[0059] S5. Generate groupID, write the file hash before and after the signature, archive information, docHash list, etc. into the signature value. Specifically, it includes: generating the group identifier groupID for the batch signature of the archived files to be signed, calculating the original hash of each file in the archive package to obtain the document docHash list, calculating the archive file hash after filling in the archive seal elements and stamping the archive seal, obtaining information such as file number, archive number, total number of pieces, total number of pages, sub-item number, sub-item page number and other archive information, writing the above archive information into the signature value signValue structure, and forming the signature domain together with the digital certificate, signature algorithm, and signature time, forming a detailed description of the batch signature behavior of this archive seal, when opening any document in the archive, checking the signature information can check and understand the overall information of the archive package, the current sub-item information and other sub-item information in the archive package.
[0060] S6. Use digital signature technology to write the signature value into PDF through the certificate private key to complete the signing.
[0061] The archiving stamp mold configuration configures different pointers for different archive classifications to call different archiving stamp molds. The archiving stamp mold is a seal pattern that has been registered in the seal library. After stamping, it supports nationwide mutual inspection and verification; the archiving stamp mold stamping position rule configuration includes setting the signature stamping position, configuring the relative position of the stamp inserted into the electronic file, the seal size, and whether it is scalable. For example, the seal position can usually be configured in the upper right corner of the first page of each document. The seal size can be configured by dragging and scaling, and the distance of the stamp vertex relative to the page margin can be set.
[0062] The authorization for archiving chapter and calling chapter is that the person who has the authority to call archiving chapter authorizes the system through the authorization code. The system automatically calls the archiving chapter according to the configuration rules through the authorization code to sign the electronic files to be archived.
[0063] The filling content rule configuration of the archiving chapter refers to the filling rules of the archiving chapter elements configured for different archiving chapters. According to the filling rules, the archive number, year, organization (issue), document number, number of pages and other element information can be generated in the archiving chapter. The filling element content and filling format of different archiving chapters are different, including: configuring the filling control according to the stamping position of the signature, configuring the style according to the filling content, and configuring the associated variable rules according to the filling elements.
[0064] Fill in the control position configuration, by superimposing the stamp position, calculate the actual position of the archive stamp element content filling control in the electronic file to be archived; fill in the content style configuration, including the fill in content font, initial font size, color, whether to support adaptation, etc.; fill in the element associated variable rule configuration, including: through the database or dictionary table associated field mapping binding, or / and through the script calculation method to generate associated variable rules, such as obtaining the collection number, year, file number and other associated fields from the electronic archive archiving metadata, establish a mapping relationship between the filling elements and the relevant archiving elements, and calculate the script to obtain the total number of pages of the file to be stamped, the stamped page number, etc.
[0065] The archiving stamp filling module fills in the archiving stamp elements, specifically including: dynamically generating a signature position according to the configured stamping position rules, calculating the actual coordinates of the filling content control by superimposing the signature position coordinates according to the configured filling control coordinates, and filling in the obtained filling content elements in batches to the designated positions of each electronic file to be archived according to the configured filling content style, to complete the filling of the archiving stamp elements.
[0066] The archiving seal signature module obtains the system authorization code based on the archiving seal transfer authority authorization. After the system obtains the archiving instruction, it retrieves the archiving seal mold in the seal filing library through the system authorization code. It can use the electronic signature service middleware, or directly retrieve the mold corresponding to the authorization code, and stamp the archiving seal mold to the designated location of each file to be archived (such as PDF), and write the acquired archive information, the current sub-file information of each file, the hash of the files before and after the signing, and the hash list of the electronic files to be archived this time into the signature field to complete the archiving seal signing. The electronic archive element information is written into the signature field when the archiving seal is stamped. The signature field information can clearly know the entire archive to which the current electronic archive belongs, the file number, the total number of pages, the current electronic file sub-file number, the number of pages, and other information.
[0067] Retrieve the corresponding archiving stamp mold configuration, archiving stamp position rule configuration, and archiving stamp content rule configuration through the archive category; obtain the seal number and mold pattern through the mold configuration; obtain the archiving stamp signature position through the archiving stamp position rule configuration calculation; obtain the filling control position, filling control associated fields, and filling content style through the archiving stamp content rule configuration; obtain the actual filling position of the archiving stamp by superimposing the filling control position coordinates based on the archiving stamp signature position coordinates; extract or generate the archiving stamp filling element content according to the binding field rule; fill in the element content at the obtained actual filling position of the control according to the archiving stamp content style to complete the archiving stamp element filling.
[0068] The corresponding archiving seal mold configuration, archiving seal stamping position rule configuration and seal authorization code are retrieved through the archive category. The relative coordinate position of the signature position in each document, namely the signature position, is obtained through the archiving seal stamping position rule configuration. After the system identity information is verified, the seal mold in the public security filing database is retrieved through the seal code, and the mold pattern is added to the signature position of each document as the signature appearance.
[0069] According to the configuration information, the corresponding archiving stamp rules are obtained according to the archive classification, and a coordinate function is established to determine the stamp position of the archiving stamp. The filling position of the archiving stamp elements is obtained through the coordinate function. The archiving stamp element content is filled in according to the filling rules. The archiving stamp pattern is retrieved through the signature service and stamped on the stamp position of the file to be archived to complete the signature of the electronic archive file.
[0070] like Figure 3 Shown is a schematic diagram of the electronic file archiving stamp in this exemplary embodiment.
[0071] Establish a rectangular coordinate system, such as taking the upper left corner of the PDF file as the coordinate origin, the upper edge to the right as the positive x-axis, and the left edge downward as the positive y-axis, through the coordinate function f i (x, y) Get the seal position of the archive seal control sealControl, where f x(s) is the vertical horizontal margin of the top of the archive stamp die relative to the top of the file, f y (s) is the vertical longitudinal margin between the top of the filing stamp die and the top of the document.
[0072] When the upper left corner of the file is the vertex, the corresponding vertex of the mold is the upper left corner. When the upper right corner of the file is the vertex, the corresponding vertex of the mold is the upper right corner, and so on.
[0073] Through the coordinate function f i (x,y) gets the filling position of the control widget(i), where f x (t) is the vertical horizontal margin of the vertex of the control relative to the vertex of the mold, f y (t) is the vertical longitudinal margin of the control vertex relative to the mold vertex. The control filling position is obtained by superimposing the distance between the mold vertex and the file vertex and the distance between the control vertex and the mold vertex, starting from the configured file vertex position. That is, the horizontal coordinate of the control filling position is f x (s)+f x (t), the ordinate is f y (s)+f y (t); When the upper left corner of the file is the vertex, the corresponding vertices of the mold and the control are all the upper left corner. When the upper right corner of the file is the vertex, the corresponding vertices of the mold and the control are all the upper right corner, and so on.
[0074] After determining the filling position of the control, further, according to the content of the configured archive chapter element filling control widget (i), extract or / and calculate the archive number, year, document number, organization (issue), storage period, number of pages and other parameters according to the associated variable data rules configured in the archive chapter configuration module, and add the archive chapter element information to the filling position of the archive file filling control according to the configured font, font size, color, etc.
[0075] After checking and confirming the authority, the electronic seal service middleware is used to retrieve the electronic seal template image from the filing library according to the configured filing seal code sealCode, and added to the seal position of the seal control sealControl of the file to be archived as the signature appearance, thereby completing the electronic filing seal stamping containing the filing seal elements.
[0076] Fill in the archive stamp element content in the obtained fill-in control coordinates, obtain the signature position coordinates according to the archive stamp configuration, retrieve the filing template, and stamp the PDF file to be signed, write the randomly generated groupID, the calculated file hash before and after signing, the docHash list, the obtained archive information, etc. into the signature value, and use the digital signature technology to write the signature value into the signature field of each PDF file through the certificate private key to complete the signing.
[0077] Calculate the hash of the electronic file list to be archived, and generate the list sub-item number, file ID, file name, file hash, etc. into a docHash list for subsequent use in adding the archive stamp signature field. The docHash list can be used to query and verify other files with the same batch of archive stamps.
[0078] Furthermore, electronic signatures are required for archiving electronic files, and electronic files in the same archive package are signed in batches, such as Figure 4 Shown is a schematic diagram of the synthesis of writing the signature value into the archive seal signature field of the signed electronic file in this exemplary embodiment.
[0079] Extract the list of electronic files to be archived as the list of files to be signed (such as: sub-item 1, sub-item 2, ... sub-item N), calculate the hash of the original text to obtain the document docHash list, randomly generate the group identifier groupID for batch signing of this archive chapter, write the groupID, archive information, original document hash value, document hash value after adding the archive chapter, docHash list, etc. into the signature value signValue structure of each file respectively, and use digital signature technology to write the signature value signValue structure data into the signature field of each PDF file through the certificate private key to complete the signing. Among them, signcontent includes: groupID, original document hash, signed document hash, and other extended data, which are written into the signature field. The signature field includes: groupID, file number, archive file hash list (sub-item number, sub-item hash), total number of files, total number of pages, current file sub-item number, current file page number, and seal pattern hash.
[0080] The signature value signValue mainly includes the signature content signContent, document property docPropty, signature certificate signCert, signature time signTime, signature algorithm identifier signAlgorithm, etc. Among them, the document property docPropty stores the docHash list of other documents to be signed in this batch, which is used to verify other documents in the same batch. The signature content signContent includes groupID, original document hash, signed document hash, docHash list, and file number, file total package hash, file number, file total number of pages, current file sub-file number, current file page number and other file information and electronic file (sub-file) information in the file.
[0081] After completing the batch signing of the archiving stamp for the files to be archived, any of the signed electronic files can be checked for validity, and all electronic files affected by this archiving stamp can be queried, and the seal pattern information can be placed in the signature field of each electronic file, thereby protecting the authenticity and integrity of the electronic files by affixing the electronic archiving stamp, and effectively preventing illegal tampering and denial.
[0082] Write the randomly generated groupID, the calculated file hash before and after signing, the docHash list, the obtained archive information, etc. into the signature value. The signature value signValue mainly includes the signature content signContent, document property docPropty, signature certificate signCert, signature time signTime, signature algorithm identifier signAlgorith, etc. Among them, the document property docPropty stores the docHash list of other documents to be signed in this batch, which is used to verify other documents signed in the same batch. The extracted list of electronic files to be archived is used as the list of files to be signed, and the original hash is calculated to obtain the document docHash. The original hash refers to the hash of the electronic file without the signature information; the group identifier groupID of the batch signing of the archive chapter is randomly generated as the unique identifier, which is used to distinguish the signature information of different archive chapters; the acquired archive information includes the file number, the archive number, the total number of pieces, the total number of pages, the sub-piece number, the number of sub-piece pages and other information, forming a detailed description of the batch signature object of this archive chapter, that is, the archived electronic file, in addition to the digital certificate, signature algorithm and signature time in the signature domain; the above information is written into the signature value signValue structure, and the digital signature technology is used to write the signature value into the signature position of the PDF file through the certificate private key.
[0083] Extract the list of files to be signed (signature confirmation part) and convert the signed files to PDF files. For the files to be signed this time, randomly generate a GUID as the batch group identifier groupID for this batch signing. The groupID uses a randomly generated GUID (globally unique identifier) to ensure uniqueness. The signature value signValue calculated by the certificate private key to the toSign structure, the signature value structure finally generated by the PDF signature: signature content signContent, data to be signed toSign, document property docPropty (stores the docHash list of other documents to be signed in this batch in the file list, used to verify other documents in the same batch), signer certificate signCert, signature time signTime, signature algorithm identifier signAlgorithm (such as SM3, SM2 algorithm can be used).
[0084] The signature domain is generated based on grapID, the hash of the original document on the current display page, and the extended data of other files to be signed. The signature domain includes: batch group identifier Groupid, the hash list of the source files to be signed in this batch, the signing initiation time, the signing initiation identifier, the file sequence number, and the signature handwriting. The hash value of each document to be signed is calculated separately, and the binary data of the document to be signed is obtained by the hash algorithm to obtain the hash of the original document to be signed. The signature data is filled in for each document to be signed separately, including the signature image, signature data, extended information, etc., and the groupID and all the hash values of the documents to be signed are written into the extended information. Among them, the signature image is a visualization content showing the final state of the signature to the user. The signature data records the signature characteristics of the user's signature this time, which serves as an important evidence for expressing the user's behavioral intention and confirming his identity. The extended information can be written into the user's identity information (ID number, mobile phone number, etc.) according to the needs of the business system as a basis for quickly locating the user in the later evidence.
[0085] The binary data of the signed data is hashed using a hash algorithm to recalculate the hash of each signature data packet filled with the signed data to obtain the document hash docHash. Through the document hash, the original electronic document to be signed on the current page is synthesized into the document image to be signed. The corresponding hash value is calculated based on the PDF file of the document image to be signed to ensure that the PDF display content cannot be changed.
[0086] Calculate the signature value, fill in the signed toSign field of the signer certificate signConet of the electronic file, then use the private key corresponding to the signer certificate to sign toSign, get the signature value signValue, write it to the signer certificate signContent, and finally write the signContent structure data to the signature field of each PDF file to complete the signing of the signed file. Use any signed electronic file to check the validity of the electronic file to query all the electronic files affected by this signing. Associate the original document hash value, groupID, and the hash value of the signed file to complete the electronic text synthesis.
[0087] The exemplary embodiment of the present application also provides an electronic device, comprising: at least one processor; and a memory connected to the at least one processor in communication. The memory stores a computer program that can be executed by the at least one processor, and the computer program is used to cause the electronic device to perform the method according to the embodiment of the present application when executed by the at least one processor.
[0088] The exemplary embodiment of the present application further provides a non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor of a computer, is used to cause the computer to perform a method according to an embodiment of the present application.
[0089] The exemplary embodiments of the present application further provide a computer program product, including a computer program, wherein when the computer program is executed by a processor of a computer, it is used to enable the computer to execute the method according to the embodiment of the present application.
[0090] refer to Figure 5 , the structural block diagram of the electronic device 800 that can be used as the server or client of the present application will now be described, which is an example of the hardware device that can be applied to various aspects of the present application. The electronic device is intended to represent various forms of digital electronic computer equipment, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices and other similar computing devices. The components shown herein, their connections and relationships, and their functions are only examples, and are not intended to limit the implementation of the present application described and / or required herein.
[0091] like Figure 5 As shown, the electronic device 300 includes a computing unit 301, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 308 into a random access memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the device 300 can also be stored. The computing unit 301, the ROM 302, and the RAM 303 are connected to each other via a bus 804. An input / output (I / O) interface 305 is also connected to the bus 304.
[0092] A plurality of components in the electronic device 300 are connected to the I / O interface 305, including: an input unit 306, an output unit 307, a storage unit 308, and a communication unit 309. The input unit 306 may be any type of device capable of inputting information to the electronic device 300, and the input unit 306 may receive input digital or character information, and generate key signal inputs related to user settings and / or function control of the electronic device. The output unit 307 may be any type of device capable of presenting information, and may include, but is not limited to, a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 308 may include, but is not limited to, a disk, an optical disk. The communication unit 309 allows the electronic device 300 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks, and may include, but is not limited to, a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as a Bluetooth device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.
[0093] The computing unit 301 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 301 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 801 performs the various methods and processes described above. For example, in some embodiments, the secure electronic document formation method may be implemented as a computer software program, which is tangibly included in a machine-readable medium. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 300 via the ROM 802 and / or the communication unit 309. In some embodiments, the computing unit 801 may be configured to perform the fusion of electronic signature basic data, biometric data, auxiliary certificate data, business attachments, and other data by any other appropriate means (e.g., by means of firmware).
[0094] The program code for implementing the method of the present application can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, implements the functions / operations specified in the flow chart and / or block diagram. The program code can be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0095] In the context of the present application, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0096] As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and / or device (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.
[0097] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0098] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0099] A computer system may include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship to each other.
Claims
1. A system for stamping electronic archives, characterized in that: The system comprises a parameter acquisition module, an archiving seal configuration module, an archiving seal filling module and an archiving seal signing module, wherein the parameter acquisition module is used to obtain archive metadata information, archiving seal element information and archive description information from the electronic archive package file to be signed, establish a classification table of metadata information of the electronic archive file to be signed for the electronic archive package file list, calculate the hash of the electronic file list to be signed to generate a docHash list; the archiving seal configuration module is used to obtain the seal code, configure the electronic archiving seal mold, the archiving seal filling elements and the archiving seal stamping rules; the archiving seal element filling ... element , which is used to extract or generate the filling elements of the archiving chapter according to the configuration relationship of the variable rules associated with the filling elements of the archiving chapter, fill the content of the archiving chapter elements into the actual coordinate position of the control, fill the archive description information into the archiving chapter signature field as the signature extension information, and add the docHash list to the archiving chapter signature field; the archiving chapter signature module obtains the seal from the electronic seal platform, obtains the signature position according to the archiving chapter configuration, retrieves the archiving chapter seal from the seal filing library, and stamps the archiving chapter seal to the signature position of the archived file to be signed; writes the signature value into the archiving chapter signature field of the signed electronic file through the certificate private key.
2. The system according to claim 1, characterized in that: Furthermore, the parameter acquisition module extracts the file name, file ID, and attribute information of the electronic file to be signed and archived to establish a list of files to be signed, and classifies the archive metadata information, among which the archive number, archiving year, organization, retention period, file number, and number of pages are classified as archive seal elements, and the file number and sub-file number information are classified as archive description information; a docHash list is generated based on the electronic file list sub-file number, file ID, file name, and file list hash.
3. The system according to claim 1, characterized in that: The method of filling the archive seal element content into the actual coordinate position of the control includes: the archive seal element filling module extracts the archive seal element content from the classification table of archived electronic file metadata information to be signed according to the archive seal configuration; retrieves the archive seal mold configuration, stamp position rule configuration, and fill content rule configuration through the archive category, obtains the seal number and seal pattern through the mold configuration, obtains the archive seal signature position through the stamp position rule configuration, and calculates the actual coordinates of the fill control position by superimposing the signature position; obtains the fill control associated fields and the fill content style through the archive seal content fill rule configuration according to the actual coordinates of the fill control, and fills the archive seal element at the actual coordinate position of the control according to the archive seal fill content style.
4. The system according to claim 1, characterized in that: The method of stamping the archiving seal mold includes retrieving the archiving seal mold configuration, the archiving seal stamping position rule configuration and the seal authorization code through the archive category, obtaining the relative coordinate position of the seal position in each file in the electronic file to be signed and archived through the archiving seal stamping position rule configuration, determining the signature position, retrieving the seal mold from the seal filing library through the seal code, and adding the seal mold pattern as the signature appearance to the signature position of each file.
5. The system according to any one of claims 1 to 4, characterized in that: Furthermore, the method of writing the signature value into the signature field of the signed electronic file through the certificate private key includes generating a group identifier for the batch signing of the archived files to be signed, calculating the signature value, filling the signature field of the signer certificate of the electronic file, signing the signature field using the private key corresponding to the signer certificate to obtain the signature value, writing the signature value into the signer certificate, writing the signer certificate structure data into the signature field of each PDF file to be signed, writing the hash value of the archived electronic files before and after the signing, groupID, archive information, and docHash list into the signature value structure, and forming a signature field together with the digital certificate, signature algorithm, and signing time, forming a detailed description of the batch signing behavior of this archived seal.
6. A method for stamping an electronic file, characterized in that: The parameter acquisition module obtains archive element information, sub-item element information, and archive seal filling element information from the electronic file to be signed and archived, establishes an archive metadata information classification table for the electronic file to be signed for the electronic archive package file list, calculates the hash of the electronic file list to be signed to generate a docHash list; configures the electronic archive seal mold, archive seal filling elements, and archive seal stamping rules; extracts or generates archive seal filling elements according to the archive seal filling element association variable rule configuration relationship, fills the archive seal element content into the actual coordinate position of the control, fills the archive description information into the archive seal signature field as the signature extension information, and adds the docHash list to the archive seal signature field; obtains the mold from the electronic seal platform, obtains the signature position according to the archive seal configuration, retrieves the archive seal mold from the seal filing library, and stamps the archive seal mold to the signature position of the archive file to be signed; writes the signature value into the signature field of the signed electronic file through the certificate private key.
7. The method according to claim 6, characterized in that Furthermore, the file name, file ID, and attribute information of the electronic file to be signed and archived are extracted to establish a list of files to be signed, and the metadata information of the electronic file archives in the file list is obtained and classified, among which the archive number, archiving year, organization, retention period, file number, and number of pages are classified as archiving seal elements, and the file number and sub-file number information are classified as archive description information; a docHash list is generated based on the sub-file number, file ID, file name, and file list hash of the electronic file list.
8. The method according to claim 6, characterized in that The method of filling the archive seal element content into the actual coordinate position of the control includes: extracting the archive seal element content from the classification table of archive metadata information of the electronic file to be signed and archived according to the archive seal configuration, and filling in the archive seal element at the calculated actual coordinate position of the fill-in control; retrieving the archive seal mold configuration, stamping position rule configuration, and filling content rule configuration through the archive category, obtaining the seal number and seal pattern through the mold configuration, obtaining the archive seal signature position through the stamping position rule configuration, and calculating the fill-in control position by superimposing the signature position; according to the actual coordinates of the fill-in control, obtaining the fill-in control associated fields and the fill-in content style through the archive seal filling content rule configuration, and completing the archive seal element filling at the actual coordinate position of the control according to the archive seal filling content style.
9. The method according to claim 6, characterized in that The method of stamping the electronic archive file to be signed includes: retrieving the archiving seal stamp configuration, the archiving seal stamp position rule configuration and the seal authorization code through the archive category, obtaining the relative coordinate position of the seal position in each file in the archived electronic file to be signed through the archiving seal stamp position rule configuration, determining the signature position, retrieving the seal from the seal filing library through the seal code, and adding the seal pattern as the signature appearance to the signature position of each file.
10. The method according to any one of claims 6 to 9, characterized in that: The method of writing the signature value into the signature field of the signed electronic file through the certificate private key includes generating a group identifier for the batch signing of the archived files to be signed, calculating the signature value, filling the signature field of the signer certificate of the electronic file, signing the signature field using the private key corresponding to the signer certificate to obtain the signature value, writing the signature value into the signer certificate, writing the signer certificate structure data into the signature field of each PDF file to be signed, writing the hash value of the archived electronic files before and after the signing, groupID, archive information, and docHash list into the signature value structure, and forming a signature field together with the digital certificate, signature algorithm, and signing time, forming a detailed description of the batch signing behavior of this archived seal.
11. An electronic device, characterized in that: include: processor; and a memory storing a program, wherein the program includes instructions, which, when executed by the processor, cause the processor to execute the method for stamping an electronic archive according to any one of claims 6-10.
12. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: in, The computer instructions are used to enable the computer to execute the method for stamping an electronic archive according to any one of claims 6-10.
Citation Information
Patent Citations
Automatic information filing and sorting system
CN111597150A
Method and terminal for signing electronic seals on electronic archives in batches
CN114417407A
Method and system for applying metadata to data sets of file objects
CA2668306A1
Method, system and equipment for checking authenticity of electronic archive file based on original handwriting signature and medium
CN115952560A