Electronic signature verification method and system

By performing two similarity calculations on electronic signatures and sealing, the problem of inaccurate similarity comparison caused by overlapping text and signatures in the existing technology is solved, and more accurate and efficient electronics are achieved Signature verification.

CN119444147AInactive Publication Date: 2025-02-14BEIJING GUOHUA CENTURY ELECTRONIC TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510021039.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-07
Publication Date
2025-02-14
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing verification methods for electronic signatures and seals are caused by the overlap of text and seals, resulting in inaccurate similarity comparison, which makes it difficult to identify false signatures or misjudgment of normal compliance signatures.

Method used

By performing two similarity calculations for the verification signature and verification signature, the verification signature after the first cut is compared with the verification signature, and the verification signature is stamped to the initial template file for the second time. Then compare and judge the security risks of the signature based on the two results.

Benefits of technology

It effectively avoids false signatures and seals being misjudged as compliance, and at the same time ensures that normal and compliant electronic signatures and seals will not be misjudged, improving the accuracy and efficiency of electronic signatures and seals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119444147A_ABST
    Figure CN119444147A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an electronic signature verification method and system, and belongs to the technical field of electronic government affair processing, and the method comprises the steps: obtaining a verification signature, receiving a to-be-verified signature and an initial template file, cutting the to-be-verified signature, carrying out the first similarity calculation of the cut to-be-verified signature and the verification signature, and carrying out the verification of the to-be-verified signature. The method comprises the following steps: obtaining a first similarity calculation result, stamping a verification signature to an initial template file, cutting the initial template file, carrying out second similarity calculation on the cut verification signature and a to-be-verified signature, obtaining a second similarity calculation result, and presetting three threshold values. And comparing the first similarity calculation result and the second similarity calculation result with three thresholds, and judging whether the signature to be verified has a security risk or not according to the comparison result, so that a false signature can be prevented from being explored, a normal and compliant electronic signature can be prevented from being wrongly judged, and the accuracy and efficiency of using the electronic signature by an enterprise are guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of electronic government affairs processing technology, and specifically, relates to a method and system for verifying an electronic signature. Background Art

[0002] With the development of the digital economy, electronic signatures, as the infrastructure of digital construction, are used as a means of identity authentication and have played an important role in many fields, providing strong support for the construction of digital economy and digital society. In many fields where users need to sign or stamp, most units use electronic signatures instead of the traditional method of manually stamping on paper. Electronic signatures use image processing technology to convert electronic signature operations into the same visual effect as stamping operations on paper documents, and use electronic signature technology to ensure the authenticity and integrity of electronic information and the non-repudiation of the signer.

[0003] The existing verification of electronic signatures mostly involves performing a similarity comparison between the pre-stored verification signature and the received signature to be verified, and judging whether the sender of the signature to be verified is risky based on the similarity comparison result. However, there are often texts on the stamping area of ​​the electronic signature, and the electronic signature will overlap with the text, affecting the similarity comparison. If the similarity threshold is lowered, false signatures may appear and cause contract disputes. If the similarity threshold is high, normal and compliant electronic signatures may also be misjudged, adding burden to enterprises in the process of using electronic signatures. Summary of the invention

[0004] In order to solve the above problems and technical defects, the embodiment of the present application adopts the following technical solution, a method for verifying an electronic signature, comprising the following steps: Step 1: Get the verification signature and receive the signature to be verified and the initial template file; Step 2: Cut the signature to be verified, perform a first similarity calculation between the cut signature to be verified and the verification signature, and obtain the first similarity calculation result; Step 3: stamp the verification signature onto the initial template file, then cut the initial template file, perform a second similarity calculation between the cut verification signature and the signature to be verified, and obtain the second similarity calculation result; Step 4: preset three thresholds, compare the first similarity calculation result and the second similarity calculation result with the three thresholds, and determine whether the signature to be verified has security risks based on the comparison results.

[0005] Preferably, the initial template file is a non-signature page template corresponding to the signature page where the signature to be verified is located.

[0006] Preferably, the process of the first similarity calculation is as follows: Obtaining the edge of the signature to be verified of the signature to be verified, and cutting the signature at the outer edge of the edge of the signature to be verified into a first rectangular image corresponding to the size of the verification signature; The first rectangular image is similar to the verification signature to obtain a first similarity calculation result.

[0007] Furthermore, the process of the second similarity calculation is as follows: Obtain the center point of the signature to be verified of the signature to be verified, locate the center point of the signature to be verified, and obtain the pixel coordinate position of the center point of the signature to be verified on the signature page; Stamp the verification signature onto the initial template file according to the pixel coordinate position of the center of the signature to be verified; Obtaining the verification signature edge of the verification signature, and cropping at the outer edge of the verification signature edge to crop into a second rectangular image that matches the size of the first rectangular image; The second rectangular image is subjected to similarity calculation with the first rectangular image to obtain a second similarity calculation result.

[0008] Furthermore, the process of comparing the two similarity calculation results with the three thresholds is as follows: The two thresholds are respectively a first threshold, a second threshold and a third threshold, the first threshold is greater than the second threshold, and the second threshold is greater than the third threshold; If the result of the first similarity calculation is greater than or equal to the third threshold, and the result of the second similarity calculation is greater than or equal to the first threshold, it is determined that the signature to be verified has no security risk; If the result of the first similarity calculation is greater than or equal to the third threshold, and the result of the second similarity calculation is greater than or equal to the second threshold and less than the first threshold, it is determined that the signature to be verified is suspected of having a security risk, and manual identification and judgment is performed; If the result of the first similarity calculation is less than the third threshold, it is determined that the signature to be verified has a security risk; If the second similarity calculation result is less than the second threshold, it is determined that the signature to be verified has a security risk.

[0009] An electronic signature verification system, comprising: The file acquisition module is used to obtain the verification signature and receive the signature to be verified and the initial template file; The first calculation module is used to cut the signature to be checked, perform a first similarity calculation between the cut signature to be checked and the verification signature, and obtain a first similarity calculation result; The second calculation module is used to stamp the verification signature onto the initial template file, then cut the initial template file, perform a second similarity calculation on the cut verification signature and the signature to be verified, and obtain a second similarity calculation result; The risk judgment module is used to preset three thresholds, compare the first similarity calculation result and the second similarity calculation result with the three thresholds, and judge whether the signature to be verified has security risks according to the comparison results.

[0010] Preferably, the initial template file is a non-signature page template corresponding to the signature page where the signature to be verified is located.

[0011] Preferably, the process of the first similarity calculation is as follows: Obtaining the edge of the signature to be verified of the signature to be verified, and cutting the signature at the outer edge of the edge of the signature to be verified into a first rectangular image corresponding to the size of the verification signature; The first rectangular image is similar to the verification signature to obtain a first similarity calculation result.

[0012] Furthermore, the process of the second similarity calculation is as follows: Obtain the center point of the signature to be verified of the signature to be verified, locate the center point of the signature to be verified, and obtain the pixel coordinate position of the center point of the signature to be verified on the signature page; Stamp the verification signature onto the initial template file according to the pixel coordinate position of the center of the signature to be verified; Obtaining the verification signature edge of the verification signature, and cropping at the outer edge of the verification signature edge to crop into a second rectangular image that matches the size of the first rectangular image; The second rectangular image is subjected to similarity calculation with the first rectangular image to obtain a second similarity calculation result.

[0013] Furthermore, the process of comparing the two similarity calculation results with the three thresholds is as follows: The two thresholds are respectively a first threshold, a second threshold and a third threshold, the first threshold is greater than the second threshold, and the second threshold is greater than the third threshold; If the result of the first similarity calculation is greater than or equal to the third threshold, and the result of the second similarity calculation is greater than or equal to the first threshold, it is determined that the signature to be verified has no security risk; If the result of the first similarity calculation is greater than or equal to the third threshold, and the result of the second similarity calculation is greater than or equal to the second threshold and less than the first threshold, it is determined that the signature to be verified is suspected of having a security risk, and manual identification and judgment is performed; If the result of the first similarity calculation is less than the third threshold, it is determined that the signature to be verified has a security risk; If the second similarity calculation result is less than the second threshold, it is determined that the signature to be verified has a security risk.

[0014] Compared with the prior art, the beneficial effects of the embodiments of the present application are: This application performs a first similarity calculation between the signature to be verified and the verification signature, then stamps the verification signature, and performs a second similarity calculation between the stamped verification signature and the signature to be verified. By combining the two similarity calculation results, it is determined whether the signature to be verified has security risks. This can prevent false signatures from taking advantage of the situation, and ensure that normal and compliant electronic signatures will not be misjudged, thereby ensuring the accuracy and efficiency of the use of electronic signatures by enterprises. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In the attached picture: Figure 1 A schematic diagram of the method steps of an embodiment of the present application; Figure 2 Schematic diagram of the system structure of an embodiment of the present application. DETAILED DESCRIPTION

[0016] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Generally, the components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.

[0017] Example 1: Figure 1 As shown, a method and system for verifying an electronic signature include the following steps: Obtain verification signature, receive the signature to be verified and the initial template file; The initial template file is a page template without a signature corresponding to the signature page where the signature to be verified is located.

[0018] The stamp area of ​​the signature page of the initial template file usually has words such as "Party A's seal area", "Party B's seal area", "Party A's signature", "Party B's signature", "Date" and similar words. The signature to be verified is stamped on these words, while the initial template file has no stamp at the stamp area, only a blank page with words.

[0019] The signature to be verified is cut, and the cut signature to be verified is subjected to a first similarity calculation with the verification signature to obtain a first similarity calculation result; The process of the first similarity calculation is as follows: Obtaining the edge of the signature to be verified of the signature to be verified, and cutting the signature at the outer edge of the edge of the signature to be verified into a first rectangular image corresponding to the size of the verification signature; The first rectangular image is similar to the verification signature to obtain a first similarity calculation result.

[0020] Stamp the verification signature onto the initial template file, then cut the initial template file, perform a second similarity calculation between the cut verification signature and the signature to be verified, and obtain the second similarity calculation result; The process of the second similarity calculation is as follows: Get the center point of the signature to be verified of the signature to be verified. For example, if the edge of a circular signature is a circle, the center point of the signature to be verified is the center point of the circle; if the edge of an elliptical signature is an ellipse, the center point of the signature to be verified is the center point of the ellipse; if the edge of a square signature is a rectangle, the center point of the signature to be verified is the center of the rectangle. Position the center point of the signature to be verified and obtain the pixel coordinate position of the center point of the signature to be verified on the signature page where it is located. Stamp the verification signature onto the initial template file according to the pixel coordinate position of the center of the signature to be verified; Obtaining the verification signature edge of the verification signature, and cropping at the outer edge of the verification signature edge to crop into a second rectangular image that matches the size of the first rectangular image; The second rectangular image is subjected to similarity calculation with the first rectangular image to obtain a second similarity calculation result.

[0021] Three thresholds are preset, and the first similarity calculation result and the second similarity calculation result are compared with the three thresholds, and whether the signature to be verified has a security risk is determined based on the comparison results.

[0022] The process of comparing the two similarity calculation results with the three thresholds is as follows: The two thresholds are respectively a first threshold, a second threshold and a third threshold, the first threshold is greater than the second threshold, and the second threshold is greater than the third threshold; If the result of the first similarity calculation is greater than or equal to the third threshold, and the result of the second similarity calculation is greater than or equal to the first threshold, it is determined that the signature to be verified has no security risk; If the result of the first similarity calculation is greater than or equal to the third threshold, and the result of the second similarity calculation is greater than or equal to the second threshold and less than the first threshold, it is determined that the signature to be verified is suspected of having a security risk, and manual identification and judgment is performed; If the result of the first similarity calculation is less than the third threshold, it is determined that the signature to be verified has a security risk; If the second similarity calculation result is less than the second threshold, it is determined that the signature to be verified has a security risk.

[0023] Example 2: Figure 2 As shown, a verification system for an electronic signature includes: The file acquisition module is used to obtain the verification signature, receive the signature to be verified and the initial template file, the initial template file is the template of the page without signature corresponding to the signature page where the signature to be verified is located; The first calculation module is used to cut the signature to be checked, perform a first similarity calculation between the cut signature to be checked and the verification signature, and obtain a first similarity calculation result; The process of the first similarity calculation is as follows: Obtaining the edge of the signature to be verified of the signature to be verified, and cutting the signature at the outer edge of the edge of the signature to be verified into a first rectangular image corresponding to the size of the verification signature; The first rectangular image is similar to the verification signature to obtain a first similarity calculation result.

[0024] The second calculation module is used to stamp the verification signature onto the initial template file, then cut the initial template file, perform a second similarity calculation on the cut verification signature and the signature to be verified, and obtain a second similarity calculation result; The process of the second similarity calculation is as follows: Obtain the center point of the signature to be verified of the signature to be verified, locate the center point of the signature to be verified, and obtain the pixel coordinate position of the center point of the signature to be verified on the signature page; Stamp the verification signature onto the initial template file according to the pixel coordinate position of the center of the signature to be verified; Obtaining the verification signature edge of the verification signature, and cropping at the outer edge of the verification signature edge to crop into a second rectangular image that matches the size of the first rectangular image; The second rectangular image is subjected to similarity calculation with the first rectangular image to obtain a second similarity calculation result.

[0025] The risk judgment module is used to preset three thresholds, compare the first similarity calculation result and the second similarity calculation result with the three thresholds, and judge whether the signature to be verified has security risks according to the comparison results; The process of comparing the two similarity calculation results with the three thresholds is as follows: The two thresholds are respectively a first threshold, a second threshold and a third threshold, the first threshold is greater than the second threshold, and the second threshold is greater than the third threshold; If the result of the first similarity calculation is greater than or equal to the third threshold, and the result of the second similarity calculation is greater than or equal to the first threshold, it is determined that the signature to be verified has no security risk; If the result of the first similarity calculation is greater than or equal to the third threshold, and the result of the second similarity calculation is greater than or equal to the second threshold and less than the first threshold, it is determined that the signature to be verified is suspected of having a security risk, and manual identification and judgment is performed; If the result of the first similarity calculation is less than the third threshold, it is determined that the signature to be verified has a security risk; If the second similarity calculation result is less than the second threshold, it is determined that the signature to be verified has a security risk.

[0026] The above-mentioned embodiments only express the preferred implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for ordinary technicians in this field, several modifications, improvements and substitutions can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application.

Claims

1. A method for verifying an electronic signature, characterized in that: The following steps are involved: Step 1: Get the verification signature and receive the signature to be verified and the initial template file; Step 2: Cut the signature to be verified, perform a first similarity calculation between the cut signature to be verified and the verification signature, and obtain the first similarity calculation result; Step 3: stamp the verification signature onto the initial template file, then cut the initial template file, perform a second similarity calculation between the cut verification signature and the signature to be verified, and obtain the second similarity calculation result; Step 4: preset three thresholds, compare the first similarity calculation result and the second similarity calculation result with the three thresholds, and determine whether the signature to be verified has security risks based on the comparison results.

2. The electronic signature verification method according to claim 1, characterized in that: The initial template file is a page template without a signature corresponding to the signature page where the signature to be verified is located.

3. The electronic signature verification method according to claim 1, characterized in that: The process of the first similarity calculation is as follows: Obtaining the edge of the signature to be verified of the signature to be verified, and cutting the signature at the outer edge of the edge of the signature to be verified into a first rectangular image corresponding to the size of the verification signature; The first rectangular image is similar to the verification signature to obtain a first similarity calculation result.

4. The electronic signature verification method according to claim 3, characterized in that: The process of the second similarity calculation is as follows: Obtain the center point of the signature to be verified of the signature to be verified, locate the center point of the signature to be verified, and obtain the pixel coordinate position of the center point of the signature to be verified on the signature page; Stamp the verification signature onto the initial template file according to the pixel coordinate position of the center of the signature to be verified; Obtaining the verification signature edge of the verification signature, and cropping at the outer edge of the verification signature edge to crop into a second rectangular image that matches the size of the first rectangular image; The second rectangular image is subjected to similarity calculation with the first rectangular image to obtain a second similarity calculation result.

5. The electronic signature verification method according to claim 4, characterized in that: The process of comparing the two similarity calculation results with the three thresholds is as follows: The two thresholds are respectively a first threshold, a second threshold and a third threshold, the first threshold is greater than the second threshold, and the second threshold is greater than the third threshold; If the result of the first similarity calculation is greater than or equal to the third threshold, and the result of the second similarity calculation is greater than or equal to the first threshold, it is determined that the signature to be verified has no security risk; If the result of the first similarity calculation is greater than or equal to the third threshold, and the result of the second similarity calculation is greater than or equal to the second threshold and less than the first threshold, it is determined that the signature to be verified is suspected of having a security risk, and manual identification and judgment is performed; If the result of the first similarity calculation is less than the third threshold, it is determined that the signature to be verified has a security risk; If the second similarity calculation result is less than the second threshold, it is determined that the signature to be verified has a security risk.

6. An electronic signature verification system, characterized in that: include: The file acquisition module is used to obtain the verification signature and receive the signature to be verified and the initial template file; The first calculation module is used to cut the signature to be checked, perform a first similarity calculation between the cut signature to be checked and the verification signature, and obtain a first similarity calculation result; The second calculation module is used to stamp the verification signature onto the initial template file, then cut the initial template file, perform a second similarity calculation on the cut verification signature and the signature to be verified, and obtain a second similarity calculation result; The risk judgment module is used to preset three thresholds, compare the first similarity calculation result and the second similarity calculation result with the three thresholds, and judge whether the signature to be verified has security risks according to the comparison results.

7. The electronic signature verification system according to claim 6, characterized in that: The initial template file is a page template without a signature corresponding to the signature page where the signature to be verified is located.

8. The electronic signature verification system according to claim 6, characterized in that: The process of the first similarity calculation is as follows: Obtaining the edge of the signature to be verified of the signature to be verified, and cutting the signature at the outer edge of the edge of the signature to be verified into a first rectangular image corresponding to the size of the verification signature; The first rectangular image is similar to the verification signature to obtain a first similarity calculation result.

9. The electronic signature verification system according to claim 8, characterized in that: The process of the second similarity calculation is as follows: Obtain the center point of the signature to be verified of the signature to be verified, locate the center point of the signature to be verified, and obtain the pixel coordinate position of the center point of the signature to be verified on the signature page; Stamp the verification signature onto the initial template file according to the pixel coordinate position of the center of the signature to be verified; Obtaining the verification signature edge of the verification signature, and cropping at the outer edge of the verification signature edge to crop into a second rectangular image that matches the size of the first rectangular image; The second rectangular image is subjected to similarity calculation with the first rectangular image to obtain a second similarity calculation result.

10. The electronic signature verification system according to claim 9, characterized in that: The process of comparing the two similarity calculation results with the three thresholds is as follows: The two thresholds are respectively a first threshold, a second threshold and a third threshold, the first threshold is greater than the second threshold, and the second threshold is greater than the third threshold; If the result of the first similarity calculation is greater than or equal to the third threshold, and the result of the second similarity calculation is greater than or equal to the first threshold, it is determined that the signature to be verified has no security risk; If the result of the first similarity calculation is greater than or equal to the third threshold, and the result of the second similarity calculation is greater than or equal to the second threshold and less than the first threshold, it is determined that the signature to be verified is suspected of having a security risk, and manual identification and judgment is performed; If the result of the first similarity calculation is less than the third threshold, it is determined that the signature to be verified has a security risk; If the second similarity calculation result is less than the second threshold, it is determined that the signature to be verified has a security risk.

Citation Information

Patent Citations

  • Electronic signature check method and system

    CN107302434A

  • Electronic device, physical seal identification method and computer readable storage medium

    CN108491870A

  • Effective identification method, device and system for electronic signature and storage medium

    CN111291636A

  • Separated storage electronic signature encryption protection system based on Internet

    CN114978772A

  • Data security guarantee method, device and equipment and readable storage medium

    CN117150532A