CN117473570A - Method and device for carrying out electronic signature - Google Patents

Method and device for carrying out electronic signature Download PDF

Info

Publication number
CN117473570A
CN117473570A CN202311572769.6A CN202311572769A CN117473570A CN 117473570 A CN117473570 A CN 117473570A CN 202311572769 A CN202311572769 A CN 202311572769A CN 117473570 A CN117473570 A CN 117473570A
Authority
CN
China
Prior art keywords
signature
preset
user
signatures
type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311572769.6A
Other languages
Chinese (zh)
Inventor
周博
王振杰
刘俊涛
骆训浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
709th Research Institute of CSSC
Original Assignee
709th Research Institute of CSSC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 709th Research Institute of CSSC filed Critical 709th Research Institute of CSSC
Priority to CN202311572769.6A priority Critical patent/CN117473570A/en
Publication of CN117473570A publication Critical patent/CN117473570A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/33User authentication using certificates

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Collating Specific Patterns (AREA)

Abstract

The present invention relates to the field of identity authentication, and in particular, to a method and apparatus for performing electronic signature. Mainly comprises the following steps: generating at least one type of preset signature for each user, and generating a consistent digital certificate for all preset signatures of each user, wherein the types of preset signatures comprise: one or more of name, signature, and additional content; acquiring signature positions needing to be signed in a document, and acquiring the type of a preset signature to be used at each signature position; acquiring preset signatures of corresponding types according to the identity information of the user, and combining the preset signatures of the corresponding types at each signature position into a signature block; filling corresponding signature blocks in each signature position in the document, and adding a digital certificate consistent with a preset signature in the document. The invention can improve the reusability of the electronic signature through various types of preset signatures; and the true effectiveness of the electronic signature is improved through the digital certificate and user identity verification.

Description

Method and device for carrying out electronic signature
Technical Field
The present invention relates to the field of identity authentication, and in particular, to a method and apparatus for performing electronic signature.
Background
In a traditional signature authentication scenario, the signature mode is based on handwriting signature in a paper document, and is not environment-friendly and limited by geographic location. Especially in medical or scientific institutions, many documents to be signed are faced every day, and there is a high demand for non-tampering of the documents and authenticity of the signature, and conventional paper signatures are time-consuming, labor-consuming and not easy to manage.
In modern society, the use of electronic documents, such as electronic contracts, electronic authorization documents, etc., is becoming more and more common. Electronic signatures on these electronic documents are also increasingly being widely used as an important means of confirming the authenticity and integrity of documents. However, in the current electronic signature system, the same signature form as that of a paper document is still generally used, and a user is required to sign each position needing to be signed in the electronic document one by one in a handwriting board or touch screen form, so that the signature process is tedious and takes a long time; or the signature of the user is generated into a fixed signature picture, the signature picture is pasted at a fixed position in the electronic document, the user cannot flexibly adjust according to personal requirements, and the problems that the signature position is inaccurate, text content is difficult to identify or cover and the like are caused.
Meanwhile, although the single-form electronic signature can meet the business requirements of institutions such as banks or real estate, the flow control is not strict, verification of file and signature validity is lacking, the compliance requirement of electronic signature of medical or scientific research institutions cannot be met, and verification of the authenticity of the signature is not easy.
In view of this, how to overcome the defects existing in the prior art, and solve the problem that the existing electronic signature method cannot meet the use requirement is a problem to be solved in the technical field.
Disclosure of Invention
Aiming at the defects or improvement demands of the prior art, the invention solves the problem that the prior electronic signature method cannot meet the use demands.
The embodiment of the invention adopts the following technical scheme:
in a first aspect, the present invention provides a method for performing electronic signature, specifically: generating at least one type of preset signature for each user, and generating a consistent digital certificate for all preset signatures of each user, wherein the types of preset signatures comprise: one or more of name, signature, and additional content; acquiring signature positions needing to be signed in a document, and acquiring the type of a preset signature to be used at each signature position; acquiring preset signatures of corresponding types according to the identity information of the user, and combining the preset signatures of the corresponding types at each signature position into a signature block; filling corresponding signature blocks in each signature position in the document, and adding a digital certificate consistent with a preset signature in the document.
Preferably, the generating at least one type of preset signature for each user specifically includes: acquiring a template of a preset signature through a picture and/or a text input by a user; carrying out image recognition on a template in a user picture form, and extracting at least one type of preset signature in the template; and/or generating at least one type of preset signature according to the template in the text form.
Preferably, the generating at least one type of preset signature according to the template in text form specifically includes: searching a historical signature of a user according to the text in the template, and generating a preset signature of a name type according to an image of the historical signature; and/or generating a corresponding signature image according to the text in the template, and using the generated signature image as a preset signature of the signature type; and/or generating a preset signature of the additional content type by using the designated font according to the text in the template.
Preferably, the generating a consistent digital certificate for all preset signatures of each user specifically includes: generating a private key for the digital certificate by using the content of the preset signature, and finishing the authentication of a digital certificate issuing organization by using the generated private key; the method comprises the steps of obtaining a signature verification digital certificate issued by a digital certificate issuing organization, and taking the obtained signature verification digital certificate as a digital certificate of a signature template.
Preferably, the obtaining signature positions in the document, where the signature needs to be performed, and obtaining a type of a preset signature to be used at each signature position specifically includes: analyzing the document by using one or more modes of keyword matching, semantic analysis and/or image analysis, acquiring all signature positions needing to be signed in the document according to an analysis result, and acquiring the type of preset signature needed to be used at each signature position according to the analysis result.
Preferably, the obtaining a preset signature of a corresponding type according to the identity information of the user specifically includes: and carrying out identity verification on the user according to the identity information, and when the identity verification passes, acquiring a preset signature of the corresponding user according to the identity information, and acquiring a preset signature of the corresponding type from the preset signature of the corresponding user.
Preferably, the combining the preset signature of the corresponding type at each signature position into a signature block specifically includes: identifying a signature area on each signature position, and acquiring the size information of a signature block according to the size information of the signature area; and combining the preset signatures of the corresponding types into signature blocks in an image format according to the characteristics of the preset signatures of the corresponding types and the size information of the signature blocks.
Preferably, the combining the preset signatures of the corresponding types into the signature blocks in the image format according to the characteristics of the preset signatures of the corresponding types and the size information of the signature blocks specifically includes: determining drawing information of the signature block according to the size information of the signature block, wherein the drawing information of the signature block comprises: one or more of a starting position, an overall size, and an overall direction; determining drawing information of each type of preset signature according to the characteristics of each type of preset signature, wherein the drawing information of each type of preset signature comprises: one or more of the order of arrangement, relative position, and size ratio; and combining the images with the preset signatures of the corresponding types according to the drawing information of the signature block and the drawing information of the preset signatures of the corresponding types, and taking the combined images as the signature block.
Preferably, the adding the digital certificate consistent with the preset signature in the document specifically includes: and acquiring a digital certificate used by a preset signature of the corresponding user according to the identity information of the user, and adding the acquired digital certificate into the document.
In another aspect, the present invention provides an apparatus for performing electronic signature, specifically: the electronic signature method comprises at least one processor and a memory, wherein the at least one processor and the memory are connected through a data bus, and the memory stores instructions executed by the at least one processor, and the instructions are used for completing the electronic signature method in the first aspect after being executed by the processor.
Compared with the prior art, the invention has the beneficial effects that: through various types of preset signatures, the reusability of the electronic signature is improved; and the true effectiveness of the electronic signature is improved through the digital certificate and user identity verification.
In the preferred scheme, the accuracy of the position and the size of the electronic signature and the use flexibility and the readability of the preset signature are improved through different combination modes, position adjustment and size adjustment of the signature block. By the method, a user can rapidly complete a plurality of signatures in different forms in the electronic document according to personal requirements, and the signatures are ensured to be real, accurate and clear.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present invention, the drawings that are required to be used in the embodiments of the present invention will be briefly described below. It is evident that the drawings described below are only some embodiments of the present invention and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art.
FIG. 1 is a flowchart of a method for performing electronic signature according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of the size of a signature block and the configuration of a signature area according to an embodiment of the present invention;
FIG. 3 is a flowchart of another method for performing electronic signature according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a signature block in an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus for performing electronic signature according to an embodiment of the present invention;
wherein, the reference numerals are as follows:
11: a processor; 12: a memory.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The present invention is an architecture of a specific functional system, so that in a specific embodiment, functional logic relationships of each structural module are mainly described, and specific software and hardware implementations are not limited.
In addition, the technical features of the embodiments of the present invention described below may be combined with each other as long as they do not collide with each other. The invention will be described in detail below with reference to the drawings and examples.
Example 1:
the method provided by the embodiment relates to the technical field of electronic signature, and can be widely applied to various scenes needing electronic signature, such as contract signing, file authorization and the like. The whole set of electronic signature process is used for controlling the conventional signature and the signature process in some compliant electronic signature scenes, so that the problems that in the prior art, the signature mode is single, the signature authenticity cannot be ensured, the signature position is fixed and the like are solved, and the efficiency and the effectiveness of the electronic signature are improved.
As shown in fig. 1, the method for performing electronic signature provided by the embodiment of the invention specifically includes the following steps:
step 101: at least one type of preset signature is generated for each user, and a consistent digital certificate is generated for all preset signatures of each user.
In the actual scenario of electronic signatures, it may be necessary to sign multiple documents, or to sign multiple locations in the same document, especially in documents such as engineering drawings, scientific research files, medical records, or bidding documents, it may be necessary to sign tens or even hundreds of different locations and forms. In order to improve the reusability of the electronic signature, it is ensured that users do not need to be required for different positions, sizes and forms, and in this embodiment, a preset signature for the electronic signature is first generated for each user. The user may save the custom preset signature for reuse in a later signing process.
In an actual signature scenario, the electronic signature typically includes the name of the signer, possibly a signature such as a personal seal, a public seal or a contract seal, and possibly additional content such as a timestamp, confirmation information, processing comments, comment scores, and the like. Therefore, in this embodiment, a plurality of different types of preset signatures may be set as needed, and the types of preset signatures include: one or more of name, signature, and additional content. In practical implementation, only a certain type of preset signature can be selected for signature according to practical needs, and multiple types of preset signatures can be combined for signature. In practical implementations, the preset signature may be stored using a transparent background picture format in order to facilitate subsequent assembly and signing, avoiding obscuring the file content.
On the other hand, if the electronic signature is used as an identity authentication method, if the existing direct handwriting electronic signature method or simple picture electronic signature method is used, the problems of signature theft, signature forging and the like may exist, and the authenticity of the electronic signature cannot be ensured. To solve this problem, in this embodiment, a digital certificate is assigned to each user by using the digital certificate as a verification means of the authenticity of the electronic signature. The user issues a certificate request to a digital certificate authority, which then performs real-name authentication, and issues a digital certificate, which can be used to verify the validity of the signature and the integrity of the document.
Step 102: and acquiring signature positions needing to be signed in the document, and acquiring the type of preset signature to be used at each signature position.
In order to facilitate electronic signing, it is first necessary to acquire a document that needs to be signed. In practical implementation, the electronic document to be signed can be directly generated or searched through the service system, and contracts, documents, certificates and the like to be signed can be scanned or uploaded. Meanwhile, in order to facilitate unified processing or capping of the digital certificate, all documents can be converted into a unified form capable of capping the digital certificate. For example: the document is converted into PDF format, and the corresponding PDF file is set for editing and digital certificate can be covered.
After the document is acquired, all signature positions which need to be signed in the document are also acquired, and the signature positions determine the positions where signature blocks are drawn in the electronic document, and the positions are usually determined by a document management specification or reserved in the document where the signature needs to be performed.
For signature locations specified by a document management specification or a business specification, the signature locations may be specified by a user or administrator, for example, by selection or selection of boxes or the like. First, it is necessary to determine in which document the signature needs to be placed, and which page in the document, for example: a first page, a last page, or a designated page. After determining the number of pages to place, it is also necessary to determine the location of the signature in each page, for example: center of header, center of footer, lower right corner, upper left corner, etc. In actual implementation, the location of the signature in each page may be the same or different.
For signature locations reserved in a document, there will typically be corresponding text descriptions and blank locations reserved for signatures. Therefore, the document can be analyzed, corresponding text or image features are searched for, so that the signature position of each to-be-signed in the document is obtained, and the signature type of each signature position is obtained. Specific: analyzing the document by using one or more modes of keyword matching, semantic analysis and/or image analysis, acquiring all signature positions needing to be signed in the document according to an analysis result, and acquiring the type of preset signature needed to be used at each signature position according to the analysis result. For example: the signature position is obtained by searching keywords such as signature, signature and the like in the document, and the signature position and the like are obtained by analyzing a blank or space and the like needing to be signed in the document in a neural network mode.
In different signature locations, it may be desirable to use different types of preset signatures, or to use multiple preset signature combinations. For example, only a name needs to be used at signature position 1, a name and a date needs to be used at signature position 2, a name, a date and a signature needs to be used at signature position 3, and a name, a date, confirmation information and a signature need to be used at signature position 4. Thus, after the signature positions are acquired, the type of preset signature to be used for each position needs to be acquired. In practical implementation, the type of the preset signature used in each position can be obtained through the result of the document analysis. For example, when a certain signature position contains the keywords "signature" and "date", it is indicated that the position requires the use of both types of preset signatures, name and date.
Step 103: and acquiring preset signatures of corresponding types according to the identity information of the user, and combining the preset signatures of corresponding types at each signature position into a signature block.
After the positions needing to be signed and the signature type of each position are obtained, the preset signature of the corresponding type can be obtained. In order to ensure that the preset signature is not stolen, identity authentication needs to be performed on the user before the preset signature is acquired. And carrying out identity verification on the user according to the identity information, and when the identity verification passes, acquiring a preset signature of the corresponding user according to the identity information, and acquiring a preset signature of the corresponding type from the preset signature of the corresponding user. In the implementation, the identity information can use an account number password preset by a user, can also use a mobile phone verification code, and can also use a face recognition and identity card verification mode to verify the identity of the signer. Meanwhile, the user identity information can also be used as a search key word of the preset signature to acquire the preset signature of the user and the digital certificate of the user.
Because each signature position may contain one or more types of preset signatures, in order to facilitate the electronic signature of each position, after the preset signature to be used is obtained, multiple types of preset signatures can be formed into a complete signature block according to the signature requirement of each position. In specific implementation, the preset templates can be used for combination, the user can also customize the combination, and the position, sequence, size, direction and the like of each type of preset signature can be adjusted according to the needs, so as to adapt to the signature service needs and user preferences under different scenes.
Step 104: filling corresponding signature blocks in each signature position in the document, and adding a digital certificate consistent with a preset signature in the document.
After the signature block is generated, the signature block can be used for signing on the corresponding signature position. In specific implementation, the signature block can be converted into a picture which can be inserted into the document, or converted into other forms which can be accepted by the document, and then inserted into a blank area corresponding to the signature position, so that the signature is completed. Furthermore, in order to improve the data multiplexing performance, the signature positions containing the same type of preset signature can use the same signature block, and the size of blank areas at different signature positions can be adapted by adjusting the whole size of the signature block.
In actual implementation, the user can jump to each signature position one by one, and the user confirms whether the current signature position needs to be signed; all signatures can be automatically completed and then confirmed by a user; and the signature or batch automatic signature after user confirmation can be respectively carried out on different positions according to the importance degree of the signature. By using the method, the signature of a plurality of signature positions and even a plurality of documents can be finished in batches, and the repeated signing of different positions or documents by a user is avoided. Meanwhile, the user can also check the display effect of the signature block in real time in the file preview area and adjust the display effect to prevent the signature block from deflecting, being too small or covering the file content.
After the signature and the confirmation are completed, the digital certificate used by the preset signature of the corresponding user is acquired according to the identity information of the user, and the acquired digital certificate is added into the document. The digital certificate of the capped user is ensured through the digital certificate to prove the authenticity of the signature. Meanwhile, the signed user, the signature position and the confirmation time can be added into the document in an encryption coding mode, so that the related information of signature authenticity verification is further reserved.
In order to further ensure the authenticity and effectiveness of the signature, in the process, secondary identity verification can be performed by inputting a password again, using verification codes to authenticate, using certificate numbers to verify, identifying the face and other modes, so as to confirm that the user who is currently signed is the user; and sends out a prompt to the corresponding user in a message or mail mode, etc. so as to avoid the signature from being stolen.
After steps 101-104 provided in this embodiment, a usable signature block is quickly generated for each signature position through preset signature and document parsing. The user can complete the signature of a large number of documents only by providing the preset signature once and simply confirming each time the signature is required. Meanwhile, the authenticity and the validity of the signature are ensured through the digital certificate and the identity authentication.
In the method provided by the embodiment, the multiplexing of the signature is realized through the preset signature. Firstly, providing a picture or text for signature by a user, and acquiring a template of a preset signature through the picture and/or text input by the user. After the preset signature is obtained, the preset signature may be generated for each user in various forms.
(1) And carrying out image recognition on the template in the form of the user picture, and extracting at least one type of preset signature in the template.
For a preset signature of name type, authenticity must be ensured, and thus generation from a user's authentic signature image is required. The user can write the signature on paper, take a photograph or scan and upload, take a photograph or scan the piece as the template of the form of picture; the user can also sign through the mouse or the handwriting board directly when signing, directly obtain the signature picture drawn by the user, and take the signature picture as a template in the picture form.
For a preset signature of signature type, the electronic part or scanned picture of the signature can also be used as a template in the form of a picture, due to its own image characteristics.
For the preset signature of the additional content type, a signature picture of the common content can be obtained as a template, and then the template is analyzed and combined into the preset signature of the additional content. For example: and acquiring pictures such as numbers, common opinions, common business expressions and the like, generating corresponding preset signature elements, and selecting the preset signature elements for combination during signature so as to acquire the required signature.
After the template in the form of the picture is obtained, the picture can be subjected to image recognition or image processing, the background of the picture or the scanning piece is removed, and a signature image without the background is extracted, so that the preset signature can be conveniently adjusted and combined in the subsequent use. After the signature image is extracted, the signature image can be further subjected to image processing, such as image alignment, definition improvement, stroke edge burr removal, vectorization and the like, so that the visual effect of signature display is improved.
(2) At least one type of preset signature is generated from the template in text form.
For preset signatures of name or signature type, in some scenarios, it is not possible or convenient to obtain a signature or signature picture of the user. For the preset signature of the additional content type, the content of the preset signature is more varied, and the preset signature is inconvenient to acquire all handwriting originals of users as templates. In these scenarios, a preset signature may be generated from the content of the text by entering the text.
In particular implementations, the preset signature may be generated from a template in text form in the following manner.
(1) Searching a historical signature of a user according to the text in the template, and generating a preset signature of the name type according to the image of the historical signature.
For the preset signature of name type, in order to ensure the authenticity of the signature and the consistency of the electronic signature and the user's real signature, under the condition that the user is inconvenient to directly write the signature, the electronic document signed by the user can be searched, the historical signature picture of the user is extracted from the electronic document, and then the historical signature picture is used as a template to extract the preset signature.
In some scenes, there is no historical signature of the user, or the electronic signature of the user needs to be distinguished from the handwritten signature, a preset signature of a name type can be automatically generated according to the text input by the user, the automatically generated preset signature can use a font designated by the user or a preset font, or a plurality of artistic font signatures can be generated and then selected by the user.
(2) And generating a corresponding signature image according to the text in the template, and using the generated signature image as a preset signature of the signature type.
When the signed picture cannot be directly obtained, the signature of the picture version can be drawn through a signature making tool, for example, the signature of the canvas picture version is generated.
(3) A preset signature of the additional content type is generated using the specified font based on the text in the template.
For the preset signature of the additional content type, because the content flexibility is higher, the real signature pictures of all the signature contents possibly needed to be used cannot be obtained, and therefore, the corresponding preset signature needs to be automatically carried out according to the text content. The text content can be directly input by the user, or can be automatically generated according to the service requirement and then confirmed by the user. The font of the preset signature can also be selected according to the needs, for example: the selection system presets fonts or uses artificial intelligence to generate preset signatures consistent with the user's handwritten fonts.
In practical implementation, in order to reduce the data volume of the preset signature of the additional content type, only the preset signature of the common content such as the number can be stored, the font designated by the user is stored, and the required electronic signature is generated immediately according to the text and the designated font when the signature is performed.
Through the mode, the preset signature which needs to be used when the signature is carried out can be simply and conveniently obtained, so that the subsequent signature can be reused conveniently.
After the preset signature is obtained, the obtained preset signature can be combined into a signature block. Specific: and acquiring the type of the preset signature to be used at each signature position, and acquiring the preset signature of the corresponding type from the preset signatures of the corresponding users. And identifying the signature area at each signature position, and acquiring the size information of the signature block according to the size information of the signature area. And combining the preset signatures of the corresponding types into signature blocks in an image format according to the characteristics of the preset signatures of the corresponding types and the size information of the signature blocks. In practical implementation, in order to achieve the best display effect, the size of the signature block and the size of the signature area are not generally consistent, but the reserved margins are set according to needs, as shown in fig. 2, where a solid line box represents the reserved signature area in the document, a dotted line box represents the display area of the signature block, dx represents the lateral margin, and dy represents the longitudinal margin, and in practical implementation, different margins may be used above, below, to the left and to the right of the signature block respectively.
As shown in fig. 3, all types of preset signatures may be combined into a signature block in an image format in the following manner.
Step 201: and determining drawing information of the signature block according to the size information of the signature block.
In a specific implementation, the drawing information of the signature block includes: one or more of a starting position, an overall size, and an overall direction. The coordinate system of the drawing information is consistent with the coordinate system of each page of document, the left upper corner of the document page is taken as a coordinate starting point, the left upper corner coordinate and the right lower corner coordinate of the signature block are calculated according to the coordinates of the signature area and the reserved frame width, the left upper corner coordinate of the signature block is taken as the coordinate of the starting position, the right lower corner coordinate of the signature block is used for determining the overall size of the signature block, and the character arrangement direction in the signature block is determined to be transverse or longitudinal according to the ordinate and abscissa proportion of the overall size.
Step 202: and determining drawing information of each type of preset signature according to the characteristics of each type of preset signature.
In each signature block, a plurality of types of preset signatures may be included, for example: name, timestamp, comment, reason, remark, etc. In order to obtain the best display effect in each signature block and match the signature requirement of the position, it is also necessary to determine the drawing information of each type of preset signature, where the drawing information includes: one or more of the order, relative position, and size ratio. In practical implementation, the drawing information can be determined according to the size of the signature block and the characteristics of the signature position, and the drawing mode of each preset signature and the relative relation between different preset signatures are determined by the drawing information.
Step 203: and combining the images with the preset signatures of the corresponding types according to the drawing information of the signature block and the drawing information of the preset signatures of the corresponding types, and taking the combined images as the signature block.
After the signature block and the drawing information of all the preset signatures are obtained, the preset signatures can be combined into the signature block according to the drawing information. Different drawing information is used, so that the signature block presents different display effects and matches different use scenes. As shown in fig. 4, a plurality of different forms of signature blocks in different scenarios are illustrated, wherein the solid line boxes represent the overall area of the signature block and the dashed line boxes represent the area of each preset signature.
After steps 201 to 203 provided in this embodiment, a signature block of each signature position may be generated, and after the signature block is filled into the corresponding signature position according to the corresponding drawing information, the electronic signature of the document may be completed.
Further, in practical implementations, the location in the document where the signature is required may be indicated using text content, or the signature location of the user may be prompted and limited using an underline, border, or other positioning mark. In the signing process, the user can process the positioning mark differently due to personal habit and compliance requirements. For example: overlaying names or signatures on certain texts according to compliance requirements; the signature size is kept, and partial signatures are not beyond the frame or cover the frame; the signature size is reduced, and the signature is kept within the frame. Therefore, when the preset signature is acquired, a coverage mode used by the user needs to be acquired. In practical implementation, a corresponding coverage manner may be set in the preset signature. When calculating the signature position, the size information of the signature block and the drawing information of the signature block, corresponding adjustment is needed according to the coverage mode, so that the signature block covers a text or a positioning mark indicating the signature position according to the habit of a user and the compliance requirement, thereby avoiding that the signature does not meet the compliance requirement and enabling the signature to better meet the real signature habit of the user.
In the method provided in this embodiment, a digital certificate is used as the flag information of signature authenticity. In the authentication process of the digital certificate, a private key and a public key are required to form a key pair, in this embodiment, in order to strengthen the binding relationship between the preset signature and the digital certificate, the private key for the digital certificate can be generated by using the content of the preset signature, and the authentication of the digital certificate issuing mechanism is completed by using the generated private key; the method comprises the steps of obtaining a signature verification digital certificate issued by a digital certificate issuing organization, and taking the obtained signature verification digital certificate as a digital certificate of a signature template.
Meanwhile, the digital certificates can be stored in the intelligent terminal or the personal computer of each user, whether the user currently carrying out signature is a compliant user or not is verified through the digital certificates of the users, and only the user with the valid digital certificate can carry out valid signature, otherwise, the user cannot pass signature check. In some scenarios, the user may also be authorized by the digital certificate, delegating other users or administrator agents to sign.
In order to further avoid signature theft, the preset signature can be encrypted by using a digital certificate, and the preset signature is decrypted by the digital certificate when the preset signature is acquired, so that the preset signature is prevented from being stolen or misused.
By the method, the digital certificate can be authenticated at the same time of signing. When the signed file is signed and confirmed, the validity of the signature and the integrity of the file can be verified through the time stamp and the validity period of the digital certificate, so that the signature is truly effective and stably not tampered. For signed documents in pdf format, the Adobe Reader may be used to open, looking directly at the digital certificate's timestamp and expiration date in the corresponding status fields.
The method for carrying out electronic signature provides a brand new electronic signature mode, and is suitable for all current paper and electronic class signature signatures. The paper file is converted into an electronic document, the signature position is analyzed in the electronic document, and a signature block can be generated by using a preset signature, so that quick batch signature is realized. And, add the digital certificate in the signature flow, in order to prevent file and signature from being tampered with. The method provided by the embodiment solves the problems that the current paper signature wastes resources and is limited by space and time, the traditional electronic signature is not flexible enough and cannot be tampered, and the time and space cost of a signature initiator and a signer are saved.
Example 2:
based on the method for performing electronic signature provided in embodiment 1, in different specific application scenarios, the method can be supplemented and adjusted according to different use requirements or actual scenarios. In the following technical solutions, in the case that there is no conflict, one or more technical solutions may be selected and used in combination with the technical solution in embodiment 1.
In some scenes, when the preset signatures are combined into signature blocks, besides the signature blocks are automatically generated by using the modes of the steps 201-203, the automatically generated signature blocks can be adjusted by the user so as to adapt to the needs of more scenes and meet the personalized requirements of the user.
In practical implementation, a visualized signature block design page can be provided for a user, and in the signature block design page, the user can adjust the signature block and each preset signature in the signature block design page, and edit and preview drawing information of the signature block and each type of preview signature.
In specific implementation, the signature block design page can complete the actual editing and adjusting process through editing modes of two different scales of a document view and a signature block view.
(1) A document view.
The user of the document view displays the overall display effect of the signature block in a certain page of the document, and can set and adjust the drawing information of the signature block such as the start position, the overall size, and the overall direction in step 201.
In the document view, a user can adjust the initial position of the signature block, coordinate value calculation is carried out in a relative positioning mode in CSS in the dragging and dropping process, namely, the position of the left upper corner of the signature block relative to the left upper corner of the document is recorded; adjusting the overall size of the signature block in an equal proportion scaling mode by adjusting the frame position of the signature block or setting a proportional value, and adjusting the relative positioning of the left lower corner of each preset signature relative to the left upper corner of the signature block in an equal proportion during scaling; the overall orientation of the signature block is determined by adjustment of the overall dimensions, or by rotation or selection. In the document view, the user can complete the adjustment of the overall display effect of the signature block in the document through the form of what you see is what you get.
(2) A signature block view.
The signature block view is used for displaying various types of preset signatures contained in the signature block, and can set and adjust the drawing information of the preset signatures such as the arrangement sequence, the relative position, the size ratio and the like in the step 202.
In the signature block view, a user can adjust the position, the size and the direction of each preset signature in the signature block in a moving, zooming, rotating and other modes, so that the arrangement sequence, the relative position and the size proportion of the preset signatures are changed, different areas of a document are adapted, and personal preferences are met.
After the user completes the adjustment of the signature block in the signature block design page, a confirmation operation can be performed. The system will display the adjusted signature position for the user to preview and confirm. The user-defined signature block after user confirmation can also be saved for reuse in a later signature process. In the subsequent signing process, the stored signature block is automatically applied to the required signature position so as to ensure the accuracy and consistency of the signature.
After steps 301-303 provided in this embodiment, the user is allowed to specify an accurate and freely adjustable signature position in the electronic document according to personal needs. This provides greater flexibility and convenience, enabling the user to better control the appearance and layout of the signature.
In the editing and adjustment process described above, a variety of input devices and techniques may be applied to provide greater flexibility and convenience. In practical application, the user can select the most suitable signature mode according to practical conditions so as to achieve the best signature effect and experience. Examples of the adjustment process of some input devices are provided below, and in practical implementation, some of the following input devices may be selected, or a combination of various input devices may be used, and other input devices or input technologies may be matched.
(1) Electronic signature position adjustment based on a mouse. The user can click, drag, zoom in and zoom out the signature position by using the mouse, adjust the position, the size and the angle of the whole signature block or each preset signature, and preview the signature effect in real time.
(2) Electronic signature position adjustment based on the touch screen. The user uses the touch screen to perform touch operation, and similar to mouse operation, the signature position is adjusted in real time, so that the purpose of customizing the signature position is achieved.
(3) Electronic signature position adjustment based on speech recognition. A user sends out a voice command through a microphone, the system receives the voice command and analyzes the recognition keywords, and the position of the signature is automatically moved, enlarged and reduced to provide a user-defined operation for the subsequent signature.
(4) Electronic signature position adjustment based on gesture recognition. The user uses gesture recognition to provide a signature position instruction, and the system adjusts the signature position and previews according to the instruction input by the user. The user can make fine adjustments in the signature preview and confirm the signature position.
Through the above input device and technique, greater flexibility and convenience may be provided in the process of electronic signing by a user. The user can select the most suitable signature position adjustment mode according to actual conditions so as to achieve the best signature effect and experience.
Example 3:
on the basis of the method for performing electronic signature provided in the foregoing embodiments 1 to 2, the present invention further provides an apparatus for performing electronic signature, which may be used to implement the foregoing method, as shown in fig. 5, and is a schematic apparatus architecture of an embodiment of the present invention. The apparatus for performing electronic signature of the present embodiment includes one or more processors 11 and a memory 12. In fig. 5, a processor 11 is taken as an example.
The processor 11 and the memory 12 may be connected by a bus or otherwise, for example in fig. 5.
The memory 12 is used as a nonvolatile computer-readable storage medium for a method of performing electronic signature, and can be used for storing nonvolatile software programs, nonvolatile computer-executable programs, and modules, as in the methods of performing electronic signature in embodiments 1 to 2. The processor 11 executes various functional applications and data processing of the apparatus for electronic signature, that is, implements the method for electronic signature of embodiments 1 to 2, by running the nonvolatile software programs, instructions, and modules stored in the memory 12.
Memory 12 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, memory 12 may optionally include memory located remotely from processor 11, which may be connected to processor 11 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The program instructions/modules are stored in the memory 12 and when executed by the one or more processors 11 perform the method of electronic signing in embodiments 1 to 2 described above, for example, performing the steps shown in fig. 1 and 3 described above.
Those of ordinary skill in the art will appreciate that all or a portion of the steps in the various methods of the embodiments may be implemented by a program that instructs associated hardware, the program may be stored on a computer readable storage medium, the storage medium may include: read Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the invention.

Claims (10)

1. A method of electronically signing comprising:
generating at least one type of preset signature for each user, and generating a consistent digital certificate for all preset signatures of each user, wherein the types of preset signatures comprise: one or more of name, signature, and additional content;
acquiring signature positions needing to be signed in a document, and acquiring the type of a preset signature to be used at each signature position;
acquiring preset signatures of corresponding types according to the identity information of the user, and combining the preset signatures of the corresponding types at each signature position into a signature block;
filling corresponding signature blocks in each signature position in the document, and adding a digital certificate consistent with a preset signature in the document.
2. The method for performing electronic signature as recited in claim 1, wherein the generating at least one type of preset signature for each user specifically comprises:
acquiring a template of a preset signature through a picture and/or a text input by a user;
carrying out image recognition on a template in a user picture form, and extracting at least one type of preset signature in the template; and/or generating at least one type of preset signature according to the template in the text form.
3. The method for performing electronic signature as recited in claim 2, wherein the generating at least one type of preset signature according to the template in text form specifically includes:
searching a historical signature of a user according to the text in the template, and generating a preset signature of a name type according to an image of the historical signature;
and/or generating a corresponding signature image according to the text in the template, and using the generated signature image as a preset signature of the signature type;
and/or generating a preset signature of the additional content type by using the designated font according to the text in the template.
4. The method for performing electronic signing according to claim 1, wherein the generating a consistent digital certificate for all preset signatures of each user specifically comprises:
generating a private key for the digital certificate by using the content of the preset signature, and finishing the authentication of a digital certificate issuing organization by using the generated private key;
the method comprises the steps of obtaining a signature verification digital certificate issued by a digital certificate issuing organization, and taking the obtained signature verification digital certificate as a digital certificate of a signature template.
5. The method for performing electronic signature as set forth in claim 1, wherein the step of obtaining signature locations in the document to be signed and obtaining a type of a preset signature to be used at each signature location specifically includes:
analyzing the document by using one or more modes of keyword matching, semantic analysis and/or image analysis, acquiring all signature positions needing to be signed in the document according to an analysis result, and acquiring the type of preset signature needed to be used at each signature position according to the analysis result.
6. The method for performing electronic signature as set forth in claim 4, wherein the obtaining the corresponding type of preset signature according to the identity information of the user specifically includes:
and carrying out identity verification on the user according to the identity information, and when the identity verification passes, acquiring a preset signature of the corresponding user according to the identity information, and acquiring a preset signature of the corresponding type from the preset signature of the corresponding user.
7. The method for performing electronic signature as set forth in claim 1, wherein the combining the preset signatures of the corresponding types at each signature location into a signature block specifically includes:
identifying a signature area on each signature position, and acquiring the size information of a signature block according to the size information of the signature area;
and combining the preset signatures of the corresponding types into signature blocks in an image format according to the characteristics of the preset signatures of the corresponding types and the size information of the signature blocks.
8. The method for performing electronic signature as set forth in claim 7, wherein the combining the preset signatures of the respective types into the signature block of the image format according to the characteristics of the preset signatures of the respective types and the size information of the signature block, specifically includes:
determining drawing information of the signature block according to the size information of the signature block, wherein the drawing information of the signature block comprises: one or more of a starting position, an overall size, and an overall direction;
determining drawing information of each type of preset signature according to the characteristics of each type of preset signature, wherein the drawing information of each type of preset signature comprises: one or more of the order of arrangement, relative position, and size ratio;
and combining the images with the preset signatures of the corresponding types according to the drawing information of the signature block and the drawing information of the preset signatures of the corresponding types, and taking the combined images as the signature block.
9. The method for performing electronic signature as recited in claim 1, wherein the adding the digital certificate consistent with the preset signature to the document specifically comprises:
and acquiring a digital certificate used by a preset signature of the corresponding user according to the identity information of the user, and adding the acquired digital certificate into the document.
10. An apparatus for performing electronic signatures, characterized by:
comprising at least one processor and a memory connected by a data bus, the memory storing instructions for execution by the at least one processor, the instructions, when executed by the processor, for performing the method of electronically signing of any one of claims 1-9.
CN202311572769.6A 2023-11-22 2023-11-22 Method and device for carrying out electronic signature Pending CN117473570A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311572769.6A CN117473570A (en) 2023-11-22 2023-11-22 Method and device for carrying out electronic signature

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311572769.6A CN117473570A (en) 2023-11-22 2023-11-22 Method and device for carrying out electronic signature

Publications (1)

Publication Number Publication Date
CN117473570A true CN117473570A (en) 2024-01-30

Family

ID=89637903

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311572769.6A Pending CN117473570A (en) 2023-11-22 2023-11-22 Method and device for carrying out electronic signature

Country Status (1)

Country Link
CN (1) CN117473570A (en)

Similar Documents

Publication Publication Date Title
US20210049708A1 (en) Tax document imaging and processing
US9916626B2 (en) Presentation of image of source of tax data through tax preparation application
US9400806B2 (en) Image triggered transactions
CN108171032A (en) A kind of identity identifying method, electronic device and computer readable storage medium
CN110059689B (en) Sample set construction method, device, computer equipment and storage medium
US20180267946A1 (en) Techniques and systems for storing and protecting signatures and images in electronic documents
CN107463074B (en) Imaging method and imaging device
CN109409349B (en) Credit certificate authentication method, credit certificate authentication device, credit certificate authentication terminal and computer readable storage medium
DE202010018557U1 (en) Linking rendered ads to digital content
WO2021151270A1 (en) Method and apparatus for extracting structured data from image, and device and storage medium
CN112036147B (en) Method, device, computer equipment and storage medium for converting picture into webpage
WO2022126978A1 (en) Invoice information extraction method and apparatus, computer device and storage medium
JP2020057186A5 (en)
JP2022066321A (en) Information processing device and program
CN112699646A (en) Data processing method, device, equipment and medium
CN117473570A (en) Method and device for carrying out electronic signature
CN113259538B (en) Electronic file transferring system
CN112395834B (en) Brain graph generation method, device and equipment based on picture input and storage medium
JP5878004B2 (en) Multiple document recognition system and multiple document recognition method
CN115223183A (en) Information extraction method and device and electronic equipment
CN115690819A (en) Big data-based identification method and system
KR101183621B1 (en) Fingerprint sensing and administrative procedure automation system
CN112541744A (en) Account opening data processing method and device, computer equipment and storage medium
CN114429634A (en) Identity authentication information filling method, system, device and storage medium
CN116842909B (en) Intelligent signature method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination