Signature method, signature device, electronic device and storage medium
By encrypting and combining tactile information in electronic signatures, combined with asymmetric encryption and identity authentication models, the problem of poor signature data security in the existing technology is solved, and higher signature data security and identity verification accuracy are achieved.
Patent Information
- Application Number
- CN202211118668.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-13
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2042-09-13
AI Technical Summary
In the existing electronic agreement signing process, signature data based on handwriting shape has poor security, is easy to forge, and has a single identity authentication, making it difficult to ensure the uniqueness and security of the signature data.
By obtaining the tactile information in the process of generating handwriting information, encrypting it, combining it with the signature document to generate signature data, using asymmetric encryption technology to ensure the security of data transmission, and combining the identity authentication model to verify the identity of the signer.
It improves the security of signature data, prevents forgery and signing, enhances the identity of the signer, and ensures the uniqueness of the signature data and the security of the transmission process.
Smart Images

Figure CN115455448B
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a signature method, a signature device, an electronic device and a storage medium. Background Art
[0002] In the process of signing an electronic agreement through a computer device, the signatory needs to sign the electronic document to confirm the signing. At present, when signing, the signatory mainly writes his / her name on the terminal, and the signatory is uniquely identified based on the uniqueness of the signatory's handwriting shape. However, in actual applications, the signatory's handwriting is easy to forge, which leads to poor security of the signature data obtained by this method. Summary of the invention
[0003] One purpose of the present application is to provide a signature method, a signature device, an electronic device and a storage medium, which can at least improve the security of signature data to a certain extent.
[0004] According to one aspect of an embodiment of the present application, a signing method is provided, including:
[0005] Acquiring tactile information in the process of generating handwriting information; the tactile information is the tactile perception information of the signer on the tactile signature device;
[0006] Encrypting the tactile information to obtain encrypted tactile information;
[0007] Acquire a signature document corresponding to the handwriting information; the signature document is an electronic document that needs to be signed;
[0008] The touch encryption information, the handwriting information and the signature document are combined to obtain signature data.
[0009] According to one aspect of an embodiment of the present application, a signature device is provided, including:
[0010] A tactile information acquisition module, used to acquire tactile information in the process of generating handwriting information; the tactile information is the tactile perception information of the signer for the tactile signature device;
[0011] A tactile information encryption module, used for encrypting the tactile information to obtain encrypted tactile information; the encrypted tactile information is the encrypted tactile information;
[0012] A signature document acquisition module, used to acquire a signature document corresponding to the handwriting information; the signature document is an electronic document that needs to be signed;
[0013] The signature data generation module is used to combine the touch encryption information, the handwriting information and the signature document to obtain signature data.
[0014] In some embodiments of the present application, based on the above technical solution, the signature device is configured as follows:
[0015] Acquire an original document and a first encrypted summary sent by a signature requester; the first encrypted summary is information obtained by encrypting a summary of the original document using the first private key;
[0016] Decrypting the first encrypted summary according to the public key corresponding to the first private key to obtain a summary of the original document;
[0017] If it is detected based on the digest of the original document that the original document has not been tampered with, the original document is used as a signed document corresponding to the handwriting information.
[0018] In some embodiments of the present application, based on the above technical solution, the signature device is configured as follows:
[0019] Obtaining a summary of the signature data;
[0020] Encrypting the summary of the signature data by using a second private key to obtain a second encrypted summary;
[0021] The signature data and the second encrypted summary are sent to the signature requesting party; the second encrypted summary is used to verify whether the signature data has been tampered with.
[0022] According to one aspect of an embodiment of the present application, a signing method is provided, the signing method comprising:
[0023] Obtaining an original document, and encrypting a digest of the original document to obtain a first encrypted digest;
[0024] Sending the original document and the first encrypted digest to the signature execution party; the original document and the first encrypted digest are used to instruct the signature execution party to return signature data, the signature data being data obtained by combining tactile encryption information, handwriting information and the signature document, the tactile encryption information being information encrypted from tactile information generated during the handwriting information generation process, and the tactile information being information of the signatory's tactile perception of a tactile signature device;
[0025] Receive signature data fed back by the signature executor based on the original document and the first encrypted digest.
[0026] According to one aspect of an embodiment of the present application, a signature device is provided, including:
[0027] a document and summary encryption module, configured to encrypt an original document and a summary of the original document by using a first private key to obtain an encrypted document and a first encrypted summary; the first private key is a private key used to encrypt the original document and the summary of the original document, the encrypted document is a document obtained by encrypting the original document, and the first encrypted summary is information obtained by encrypting the summary of the original document by using the first private key;
[0028] a sending module, configured to send the original document and the first encrypted summary to a signature execution party; the original document and the first encrypted summary are used to instruct the signature execution party to return signature data, wherein the signature data is data obtained by combining tactile encryption information, handwriting information and the signature document, wherein the tactile encryption information is information obtained by encrypting tactile information generated during the handwriting information generation process, and the tactile information is tactile perception information of the signer for a tactile signature device;
[0029] A receiving module is used to receive signature data fed back by the signature executor based on the original document and the first encrypted summary.
[0030] In some embodiments of the present application, based on the above technical solution, the signature device is configured as follows:
[0031] Receiving signature data and a second encrypted summary fed back by the signature executor according to the original document and the first encrypted summary; the second encrypted summary is information obtained by encrypting the summary of the signature data with a second private key;
[0032] Decrypting the second encrypted summary according to the public key corresponding to the second private key to obtain a summary of the signature data;
[0033] If it is detected based on the digest of the signature data that the signature data has not been tampered with, a signature result is obtained based on the signature data.
[0034] In some embodiments of the present application, based on the above technical solution, the signature device is configured as follows:
[0035] Detecting whether the identity corresponding to the signature data matches the identity of the signer;
[0036] If the identity corresponding to the signature data matches the identity of the signer, a signature result is obtained according to the signature data.
[0037] In some embodiments of the present application, based on the above technical solution, the signature device is configured as follows:
[0038] Sending the signature data to a third party; the signature data is used to instruct the third party to decrypt the tactile encryption information in the signature data to obtain tactile information, and predict the identity corresponding to the tactile information according to the identity authentication model to obtain the identity information corresponding to the tactile information, obtain the identity authentication result according to the identity information, and return the identity authentication result and the summary of the tactile information, wherein the identity authentication model is a prediction model obtained by training a preset model through tactile data samples and mapping relationship samples, and the mapping relationship samples are samples consisting of the correspondence between pre-calibrated tactile data and identity identifiers;
[0039] receiving an identity authentication result returned by the third party according to the signature data and a summary of the tactile information;
[0040] If the identity authentication result is that the tactile information matches the identity of the signer, and it is detected based on the summary of the tactile information that the tactile information has not been tampered with, then the identity corresponding to the signature data matches the identity of the signer.
[0041] According to one aspect of an embodiment of the present application, an electronic device is provided, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the electronic device implements the methods provided in the above-mentioned various optional implementation modes.
[0042] According to one aspect of an embodiment of the present application, a computer program medium is provided, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor of a computer, the computer executes the methods provided in the above-mentioned various optional implementations.
[0043] According to one aspect of the embodiments of the present application, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the above various optional implementations.
[0044] In the technical solution provided in the embodiment of the present application, the tactile information in the process of generating handwriting information is encrypted and combined with the signature document and handwriting information to form signature data. On the one hand, the tactile information is difficult to forge, and on the other hand, the encrypted tactile information can prevent others from signing on behalf of others, so that the identity of the signer can be identified by using the signature data, which greatly improves the security of the signature data compared to identifying the identity of the signer by the shape of the handwriting.
[0045] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.
[0046] It should be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] The above and other objects, features and advantages of the present application will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings.
[0048] Figure 1 A schematic flow chart of a signing method according to an embodiment of the present application is shown.
[0049] Figure 2 A schematic flow chart of a signing method according to an embodiment of the present application is shown.
[0050] Figure 3 A schematic diagram showing the communication interaction between a signatory, a requesting party and a third party according to an embodiment of the present application is shown.
[0051] Figure 4 A schematic diagram of the structure of a signature system according to an embodiment of the present application is shown.
[0052] Figure 5 A schematic structural diagram of a signature device according to an embodiment of the present application is shown.
[0053] Figure 6 A schematic structural diagram of a signature device according to an embodiment of the present application is shown.
[0054] Figure 7 A schematic structural diagram of an electronic device according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0055] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these example embodiments are provided so that the description of the present application will be more comprehensive and complete and the concepts of the example embodiments will be fully conveyed to those skilled in the art. The accompanying drawings are only schematic illustrations of the present application and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted.
[0056] In addition, the described features, structures or characteristics may be combined in one or more example embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the example embodiments of the present application. However, those skilled in the art will appreciate that the technical solution of the present application may be practiced while omitting one or more of the specific details, or other methods, components, steps, etc. may be adopted. In other cases, known structures, methods, implementations or operations are not shown or described in detail to avoid obscuring the present application and making the various aspects of the present application obscure.
[0057] Some of the blocks shown in the accompanying drawings are functional entities that do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0058] Figure 1 A schematic diagram of a signing method according to an embodiment of the present application is shown, and the method comprises the following steps:
[0059] Step S101, acquiring tactile information in the process of generating handwriting information.
[0060] The tactile information is the tactile perception information of the signer to the tactile signature device. The handwriting information may include strokes, stroke sequence, speed and time of generating the handwriting information, etc. The tactile signature device is a device capable of detecting tactile perception information.
[0061] In this embodiment, the execution subject is the signature execution party. The signature execution party is the party that performs the signature, and can be various terminal devices used to cooperate with the signer's handwritten signature and generate corresponding handwriting, such as tablet computers, smart phones and other devices with touch screens.
[0062] As an optional implementation, the signer signs on the screen of the signature execution party with a touch pen to generate handwriting information, and the signature execution party extracts the touch information recorded by the touch pen during the process of generating the handwriting information, such as pressure information. In addition, the time information of the process of generating the handwriting information can also be extracted from the touch pen. The signature execution party can detect and record the handwriting information through its touch screen.
[0063] As an optional implementation, the signature execution party is a terminal device with pressure sensing. Such a terminal device can detect the pressure through a pressure sensor, so that the pressure signal in the process of generating handwriting information can be detected by the terminal device, and tactile information including pressure information can be obtained.
[0064] As an optional implementation, the tactile information includes pressure information and speed information, which can well reflect the unique signature characteristics of the signer during the signing process, avoid being easily forged, and thus can more safely represent the identity of the signer.
[0065] Step S102: encrypt the tactile information to obtain encrypted tactile information.
[0066] In order to make the signature data more secure, the tactile information is encrypted to obtain tactile encrypted information. The tactile encrypted information can be further used as hidden identity authentication data to prevent it from being used to forge signatures after being directly transmitted to other devices. Correspondingly, the handwriting information can be used to publicly indicate the identity of the signer without being encrypted.
[0067] By extracting and encrypting the tactile information in the process of generating handwriting information, the tactile encrypted information can be prevented from being forged by others during transmission, and at the same time, it can also effectively prevent others from signing on behalf of others.
[0068] In addition, tactile information can be used to identify the identity of the signer. By adding tactile information, the problem of relatively single identity authentication can be avoided, enriching the elements and data types of handwriting anti-counterfeiting and identity authentication.
[0069] Step S103, obtaining the signature document corresponding to the handwriting information.
[0070] A signed document is an electronic document that requires a signature.
[0071] As an optional implementation, the signature document is an electronic document for signing sent directly by the signature requester. The signature execution party receives the signature document sent by the signature requester.
[0072] As an optional implementation, the signed document is the original document obtained by decrypting and verifying the summary of the original document sent by the signature requester. Before sending the original document, the signature executor first encrypts the summary of the original document to obtain a first encrypted summary, and sends the first encrypted summary to the signature executor. The signature executor verifies whether the original document has been tampered with in combination with the first encrypted summary. By first verifying in this way, the transmission security of the original document is higher, and the security of the signature data is further increased.
[0073] Step S104, combining the touch encryption information, the handwriting information and the signature document to obtain signature data.
[0074] In one embodiment, obtaining a signature document corresponding to handwriting information includes:
[0075] Obtaining an original document and a first encrypted summary sent by a signature requester; the first encrypted summary is information obtained by encrypting a summary of the original document using a first private key;
[0076] Decrypting the first encrypted summary according to the public key corresponding to the first private key to obtain a summary of the original document;
[0077] If it is detected based on the digest of the original document that the original document has not been tampered with, the original document is used as the signature document corresponding to the handwriting information.
[0078] In order to improve the security of the transmission of the original document during the signing process and prevent the original document from being leaked and tampered with, the signature requester can encrypt and encrypt the summary of the original document using an asymmetric encryption method. The summary of the original document is encrypted using the first private key to obtain an encrypted document summary, which is the first encrypted summary and is sent to the signature executor.
[0079] In one embodiment, after combining the tactile encryption information, the handwriting information and the signature document, the method further includes:
[0080] Get the summary of the signature data;
[0081] Encrypting the summary of the signature data by using the second private key to obtain a second encrypted summary;
[0082] The signature data and the second encrypted summary are sent to the signature requesting party; the second encrypted summary is used to verify whether the signature data has been tampered with.
[0083] In the above manner, asymmetric encryption is used for signature data. During the transmission of signature data, the uniqueness of the signature document is guaranteed, and the signature document is combined with the tactile information and handwriting information into an inseparable whole, so as to prevent the signature document or the tactile information or the handwriting information from being changed during the transmission process, thereby improving the uniqueness and security of the signature data.
[0084] As an optional implementation, after obtaining the signature data, the signature data is sent to the signature requesting party, that is, to the party providing the signature document. After obtaining the signature data, the signature requesting party can decrypt the tactile encryption information in the signature data, identify the identity of the signer based on the tactile information, and obtain the handwriting information of the real signer. This prevents the forgery of the signature data and improves the security of the signature data.
[0085] In the scenario of remote signing, the contracting parties use the above method to transmit the documents to be signed and the signature data to avoid data tampering, and can safely identify the identity of the signer, thereby improving the uniqueness and security of the remote signing.
[0086] The following is a detailed description of the process of generating signature data in conjunction with a specific scenario.
[0087] The tactile signal is extracted through the tactile signature device. The strokes and speed information are recorded through the screen, and the force and time data are extracted through the touch pen. A touch screen device with a pressure sensor can also be used to directly record the strokes, tactile signals and time information during the signing process through software.
[0088] The tactile information represented by force and speed is encrypted as hidden identity verification data to prevent it from being directly transmitted to a third party and used to forge a signature. The stroke sequence data represented by the image can be used as a mapping of the encrypted signature data to publicly indicate the identity of the signer.
[0089] When signing, the original document and summary are encrypted with the private key, and decrypted with the public key to confirm the integrity of the document, the identity of the document source, and whether the electronic document is correct. When the document is accurate, the document and handwritten signature information are combined, and the summary of the combined information is encrypted with the private key and transmitted to the protocol provider to complete the signing process.
[0090] The data summary extraction method can be obtained through hash functions and other methods. Its purpose is to provide it to others to verify the source and integrity of the data. It can ensure that the data has not been replaced during the data flow process and ensure the consistency of the data in the entire process.
[0091] By adopting the above method and combining it with tactile technology, the handwritten electronic signature is improved. By combining the characteristics of tactile information, the optimized representation of the handwritten electronic signature in the remote agreement signing process is achieved, which improves the security of signing contracts with handwritten electronic signatures to a certain extent.
[0092] In this embodiment, the tactile information generated during the handwriting information generation process is encrypted and combined with the signature document and handwriting information to form signature data. On the one hand, the tactile information is difficult to forge, and on the other hand, the encrypted tactile information can prevent others from signing on behalf of others, so that the identity of the signer can be identified by using the signature data, which greatly improves the security of the signature data compared to using the shape of the handwriting to identify the signer.
[0093] Figure 2 A schematic diagram of a signing method according to an embodiment of the present application is shown, and the method comprises the following steps:
[0094] Step S201, obtaining an original document, encrypting a digest of the original document, and obtaining a first encrypted digest.
[0095] In this embodiment, the execution subject is the signature requester, which is the communication party that requests to sign the electronic document.
[0096] Step S202: Send the original document and the first encrypted summary to the signature execution party.
[0097] The original document and the first encrypted summary are used to instruct the signature executor to return the signature data. The signature data is data obtained by combining the tactile encryption information, handwriting information and the signature document. The tactile encryption information is information encrypted from the tactile information generated in the process of generating the handwriting information. The tactile information is the tactile perception information of the signer for the tactile signature device.
[0098] Step S203: receiving signature data fed back by the signature executor based on the original document and the first encrypted digest.
[0099] In one embodiment, after sending the original document and the first encrypted digest to the signature execution party, the method further includes:
[0100] Receive the signature data and the second encrypted summary fed back by the signature executor based on the original document and the first encrypted summary; the second encrypted summary is information obtained by encrypting the summary of the signature data with the second private key;
[0101] Decrypting the second encrypted summary according to the public key corresponding to the second private key to obtain a summary of the signature data;
[0102] If it is detected based on the summary of the signature data that the signature data has not been tampered with, the signature result is obtained based on the signature data.
[0103] By adopting the above method, multiple asymmetric encryptions are performed to establish the indivisibility of the document and the signature, thereby preventing the signature data from being tampered with and improving the security of the signature data transmission process.
[0104] In one embodiment, after receiving the signature data fed back by the signature execution party based on the original document and the first encrypted digest, the method further includes:
[0105] Check whether the identity corresponding to the signature data matches the identity of the signer;
[0106] If the identity corresponding to the signature data matches the identity of the signer, the signature result is obtained based on the signature data.
[0107] As an optional implementation, detecting whether the identity corresponding to the signature data matches the identity of the signer includes: decrypting the tactile encryption information in the signature data to obtain tactile information, and predicting the identity corresponding to the tactile information based on an identity authentication model to obtain identity information corresponding to the tactile information, and obtaining an identity authentication result based on the identity information; if the identity authentication result is that the tactile information matches the identity of the signer, then the identity corresponding to the signature data matches the identity of the signer.
[0108] In one embodiment, detecting whether the identity corresponding to the signature data matches the identity of the signer includes:
[0109] Sending signature data to a third party; the signature data is used to instruct the third party to decrypt the tactile encryption information in the signature data to obtain the tactile information, and predict the identity corresponding to the tactile information according to the identity authentication model to obtain the identity information corresponding to the tactile information, obtain the identity authentication result according to the identity information, and return the identity authentication result and the summary of the tactile information. The identity authentication model is a prediction model obtained by training a preset model through tactile data samples and mapping relationship samples, and the mapping relationship samples are samples consisting of the correspondence between pre-calibrated tactile data and identity identifiers;
[0110] Receiving the identity verification result and the summary of the tactile information returned by the third party based on the signature data;
[0111] If the identity authentication result is that the tactile information matches the identity of the signer, and it is detected based on the summary of the tactile information that the tactile information has not been tampered with, then the identity corresponding to the signature data matches the identity of the signer.
[0112] Furthermore, if the identity authentication result is that the tactile information does not match the identity of the signer, then the identity corresponding to the signature data does not match the identity of the signer.
[0113] The identity corresponding to the tactile information is authenticated through the identity authentication model, so as to determine whether the signature data matches the signer, thereby improving the security of the signature data and improving the non-repudiation of the agreement signing process in the signing scenario.
[0114] As an optional implementation, the signature result is information confirming that the signature data is correct, or information that the signature data has been verified. In the contract signing scenario, the signature result is confirmation that the agreement has been signed.
[0115] Reference Figure 3 As shown, Figure 3 The figure shows the communication interaction diagram between the signatory (i.e., the signature execution party), the requesting party (i.e., the signature requesting party), and the third party. Figure 3 Describe the overall communication process.
[0116] The requester sends the original electronic document and the encrypted document summary to the signer. The requester generates an electronic document and an electronic document summary, encrypts the document summary with private key A, obtains the encrypted document summary, and sends the original electronic document and the encrypted document summary to the signer.
[0117] The signer detects that the electronic document has not been tampered with based on the document summary encryption information. The signer receives the original electronic document and the document summary encryption information, uses the public key corresponding to the private key A to decrypt the document summary encryption information, obtains the electronic document summary, and detects that the electronic document has not been tampered with based on the electronic document summary.
[0118] The signer obtains the handwriting information and the encrypted touch information. The signer further obtains the signature timestamp, strokes, and sequence; obtains the force and speed during the signing process, and uses the key C to encrypt the force and speed to obtain the encrypted handwriting touch data.
[0119] The signer generates a document signature combination. The signer combines the encrypted handwriting touch data, the original electronic document, and the signature timestamp, strokes, and sequence into a document signature combination.
[0120] The signer generates the combined summary encrypted information. The signer extracts the summary of the document signature combination and encrypts the summary of the document signature combination using private key B to obtain the combined summary encrypted information.
[0121] The signer sends the document signature combination and the combined digest encrypted information to the requester.
[0122] The requester sends the encrypted handwriting tactile data to the third party. The requester decrypts the combined summary encrypted information according to the public key corresponding to the private key B, obtains the summary of the document signature combination, and determines the integrity and accuracy of the document signature combination according to the summary of the document signature combination. If the document is complete and accurate, that is, it has not been tampered with, the encrypted handwriting tactile data in the document signature combination is sent to the third party.
[0123] The third party verifies that the identity corresponding to the tactile information is correct. The third party uses the key C to decrypt the encrypted handwriting tactile data to obtain the unencrypted handwriting tactile data, that is, the force and speed in the process of generating the handwriting information, and predicts the force and speed through the identity authentication model to obtain the handwriting identity corresponding to the tactile information.
[0124] The third party sends the result of the handwriting identity being correct to the requesting party. When the handwriting identity is detected to be correct, the result of the handwriting identity being correct and the summary of the handwriting touch data are sent to the requesting party.
[0125] The requester generates a signed document based on the correct result of handwriting identity and document signature combination.
[0126] Reference Figure 4 As shown, Figure 4The structural diagram of the signature system is shown. The signature system includes an identity authentication module, a document processing module and a signature generation module. The identity authentication module mainly includes functions such as handwriting and identity mapping data, signature data decoding, and identity authentication model; the document processing module includes functions such as document and document summary generation, data confirmation, and data comparison; the signature generation module includes functions such as handwriting signature data extraction, handwriting tactile data encryption, document signature combination, and combined data summary encryption. By combining the above three modules and using handwriting tactile data, the handwriting signature and document content are combined to jointly complete the remote signature process of the protocol.
[0127] The following is a detailed description of each module.
[0128] Signature generation module: Through the touch signature device, the stroke sequence, force speed and other information in the handwriting signature process are extracted, and the signing time is recorded. The handwriting touch information is encrypted using key C to prevent others from forging signature data, thereby forging and signing a contract. The document original and document summary encrypted data transmitted from the document processing module are received, and the document summary encrypted data is decrypted using the public key corresponding to private key A to verify whether the transmitted document data is correct. The unencrypted stroke sequence, signature timestamp, encrypted touch information, and the electronic document original and document summary encrypted information transmitted from the document processing module are combined to generate a document signature combination data containing the document and handwriting data. The document signature combination data is generated and signed using private key B to prevent the company from changing the document content after receiving the signature. Finally, it is transmitted to the document processing module. By using the touch data and other data in the handwriting handwriting signature process, the anti-counterfeiting effect in the handwriting signature is improved.
[0129] Identity verification module: Use the mapping relationship between identity information and handwriting tactile data to train the identity verification model, and use the model to verify the identity of the handwriting signer. For the data input into the decoding module, use the key C corresponding to the handwriting generation module to decrypt the handwriting tactile data, and input the obtained result into the identity verification model to verify the identity information of the handwriting signer. Return the obtained identity information result and the handwriting tactile summary to the document processing module. By using the handwriting and identity mapping data, an identity verification model is established to verify whether the handwriting corresponds to the person.
[0130] Document processing module: Generates the original data of the electronic document and records the timestamp of the final version of the document. Extracts the document summary and encrypts it with private key A, and inputs it and the original document into the signature generation module. Decrypts the document signature combination data transmitted by the signature generation module through the public key corresponding to private key B to confirm whether the document and signature data are accurate. Receives the identification results from the identity authentication module and completes the final agreement signing process by comparing the models. Through multiple asymmetric encryption actions with the handwritten signature content during the document transmission process, the inseparability of the document and the signature is determined.
[0131] By adopting the above method, the tactile information in the handwritten handwriting electronic signature process is extracted and used for the identity authentication of the handwritten handwriting signature data, which solves the problem of relatively single identity information authentication in the handwriting signature process and enriches the element types of handwriting anti-counterfeiting and identity authentication. The tactile data of the handwritten handwriting signature is encrypted to prevent others from forging and signing on behalf of others. The true identity of the signer is finally determined, which improves the security and non-repudiation of the agreement signing.
[0132] In addition, the document information and the handwriting signature information after combining the document information are encrypted using an asymmetric encryption method. In the decrypted information, the identities of the two parties to the remote agreement are attached, and the agreement content and the handwriting signature information are also bundled. While ensuring the uniqueness of the electronic document, the electronic document and the signature information are combined into an indivisible whole, preventing the replacement of the electronic document information or the signature information, and improving the inseparability of the data in the remote agreement signing process.
[0133] Figure 5 A signature device according to an embodiment of the present application is shown, and the device includes:
[0134] The tactile information acquisition module 301 is used to acquire the tactile information in the process of generating the handwriting information; the tactile information is the tactile perception information of the signer for the tactile signature device;
[0135] The touch information encryption module 302 is used to encrypt the touch information to obtain the touch encrypted information; the touch encrypted information is the information after the touch information is encrypted;
[0136] The signature document acquisition module 303 is used to acquire the signature document corresponding to the handwriting information; the signature document is an electronic document that needs to be signed;
[0137] The signature data generation module 304 is used to combine the touch encryption information, the handwriting information and the signature document to obtain the signature data.
[0138] In an exemplary embodiment of the present application, the device is configured as follows:
[0139] Obtaining an original document and a first encrypted summary sent by a signature requester; the first encrypted summary is information obtained by encrypting a summary of the original document using a first private key;
[0140] Decrypting the first encrypted summary according to the public key corresponding to the first private key to obtain a summary of the original document;
[0141] If it is detected based on the digest of the original document that the original document has not been tampered with, the original document is used as the signature document corresponding to the handwriting information.
[0142] In an exemplary embodiment of the present application, the device is configured as follows:
[0143] Get the summary of the signature data;
[0144] Encrypting the summary of the signature data by using the second private key to obtain a second encrypted summary;
[0145] The signature data and the second encrypted summary are sent to the signature requesting party; the second encrypted summary is used to verify whether the signature data has been tampered with.
[0146] Figure 6 A signature device according to an embodiment of the present application is shown, and the device includes:
[0147] The document and summary encryption module 401 is used to encrypt the original document and the summary of the original document by using the first private key to obtain an encrypted document and a first encrypted summary; the first private key is a private key used to encrypt the original document and the summary of the original document, the encrypted document is a document obtained by encrypting the original document, and the first encrypted summary is information obtained by encrypting the summary of the original document by using the first private key;
[0148] The sending module 402 is used to send the original document and the first encrypted summary to the signature execution party; the original document and the first encrypted summary are used to instruct the signature execution party to return the signature data, and the signature data is data obtained by combining the touch encryption information, the handwriting information and the signature document. The touch encryption information is the information encrypted from the touch information generated in the process of generating the handwriting information, and the touch information is the signatory's touch perception information for the touch signature device;
[0149] The receiving module 403 is used to receive the signature data fed back by the signature executor according to the original document and the first encrypted summary.
[0150] In an exemplary embodiment of the present application, the device is configured as follows:
[0151] Receive the signature data and the second encrypted summary fed back by the signature executor based on the original document and the first encrypted summary; the second encrypted summary is information obtained by encrypting the summary of the signature data with the second private key;
[0152] Decrypting the second encrypted summary according to the public key corresponding to the second private key to obtain a summary of the signature data;
[0153] If it is detected based on the summary of the signature data that the signature data has not been tampered with, the signature result is obtained based on the signature data.
[0154] In an exemplary embodiment of the present application, the device is configured as follows:
[0155] Check whether the identity corresponding to the signature data matches the identity of the signer;
[0156] If the identity corresponding to the signature data matches the identity of the signer, the signature result is obtained based on the signature data.
[0157] In an exemplary embodiment of the present application, the device is configured as follows:
[0158] Sending signature data to a third party; the signature data is used to instruct the third party to decrypt the tactile encryption information in the signature data to obtain the tactile information, and predict the identity corresponding to the tactile information according to the identity authentication model to obtain the identity information corresponding to the tactile information, obtain the identity authentication result according to the identity information, and return the identity authentication result and the summary of the tactile information. The identity authentication model is a prediction model obtained by training a preset model through tactile data samples and mapping relationship samples, and the mapping relationship samples are samples consisting of the correspondence between pre-calibrated tactile data and identity identifiers;
[0159] Receiving the identity verification result and the summary of the tactile information returned by the third party based on the signature data;
[0160] If the identity authentication result is that the tactile information matches the identity of the signer, and it is detected based on the summary of the tactile information that the tactile information has not been tampered with, then the identity corresponding to the signature data matches the identity of the signer.
[0161] Reference below Figure 7 An electronic device 50 according to an embodiment of the present application is described. Figure 7 The electronic device 50 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0162] like Figure 7 As shown, the electronic device 50 is in the form of a general computing device. The components of the electronic device 50 may include but are not limited to: at least one processing unit 510, at least one storage unit 520, and a bus 530 connecting different system components (including the storage unit 520 and the processing unit 510).
[0163] The storage unit stores program codes, which can be executed by the processing unit 510, so that the processing unit 510 executes the steps according to various exemplary embodiments of the present application described in the description of the exemplary method described above in this specification. For example, the processing unit 510 can execute the following steps: Figure 1 The steps shown in .
[0164] The storage unit 520 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 5201 and / or a cache storage unit 5202 , and may further include a read-only storage unit (ROM) 5203 .
[0165] The storage unit 520 may also include a program / utility 5204 having a set (at least one) of program modules 5205, such program modules 5205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0166] Bus 530 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0167] The electronic device 50 may also communicate with one or more external devices 600 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 50, and / or may communicate with any device that enables the electronic device 50 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 550. The input / output (I / O) interface 550 is connected to a display unit 540. Furthermore, the electronic device 50 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 360. As shown, the network adapter 560 communicates with other modules of the electronic device 50 via a bus 530. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 50, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0168] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a mobile terminal, etc.) to execute the method according to the implementation methods of the present application.
[0169] In an exemplary embodiment of the present application, a computer-readable storage medium is further provided, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor of a computer, the computer executes the method described in the above method embodiment.
[0170] According to one embodiment of the present application, a program product for implementing the method in the above method embodiment is also provided, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0171] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0172] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0173] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0174] Program code for performing the operations of the present application may be written in any combination of one or more programming languages, including object-oriented programming languages such as JAVA, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0175] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.
[0176] In addition, although the steps of the method in the present application are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.
[0177] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a mobile terminal, etc.) to execute the method according to the implementation methods of the present application.
[0178] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the appended claims.
Claims
1. A signature method, characterized in that: include: Acquiring tactile information in the process of generating handwriting information; The tactile information is the signatory's tactile perception information of the tactile signature device; Encrypting the touch information to obtain encrypted touch information; Acquire a signature document corresponding to the handwriting information; the signature document is an electronic document that needs to be signed; Combining the touch encryption information, the handwriting information and the signature document to obtain signature data; Acquiring a signed document corresponding to the handwriting information, including: acquiring an original document and a first encrypted summary sent by a signature requesting party; The first encrypted summary is information obtained by encrypting the summary of the original document with a first private key; the first encrypted summary is decrypted according to the public key corresponding to the first private key to obtain the summary of the original document; if it is detected based on the summary of the original document that the original document has not been tampered with, the original document is used as a signed document corresponding to the handwriting information.
2. The method according to claim 1, characterized in that After combining the tactile encryption information, the handwriting information and the signature document, the method further includes: Obtaining a summary of the signature data; Encrypting the summary of the signature data by using a second private key to obtain a second encrypted summary; The signature data and the second encrypted summary are sent to the signature requesting party; the second encrypted summary is used to verify whether the signature data has been tampered with.
3. A signature method, characterized in that: include: Obtaining an original document, and encrypting a digest of the original document to obtain a first encrypted digest; Sending the original document and the first encrypted digest to the signature execution party; the original document and the first encrypted digest are used to instruct the signature execution party to return signature data, the signature data being data obtained by combining tactile encryption information, handwriting information and the signature document, the tactile encryption information being information encrypted from tactile information generated during the handwriting information generation process, and the tactile information being information of the signatory's tactile perception of a tactile signature device; Receiving signature data fed back by the signature executor according to the original document and the first encrypted summary; After sending the original document and the first encrypted digest to the signature execution party, the method further includes: receiving signature data and a second encrypted digest fed back by the signature execution party according to the original document and the first encrypted digest; The second encrypted summary is information obtained by encrypting the summary of the signature data with a second private key; the second encrypted summary is decrypted according to the public key corresponding to the second private key to obtain the summary of the signature data; if it is detected according to the summary of the signature data that the signature data has not been tampered with, the signature result is obtained according to the signature data.
4. The method according to claim 3, characterized in that After receiving the signature data fed back by the signature executor according to the original document and the first encrypted digest, the method further includes: Detecting whether the identity corresponding to the signature data matches the identity of the signer; If the identity corresponding to the signature data matches the identity of the signer, a signature result is obtained according to the signature data.
5. The method according to claim 4, characterized in that Detecting whether the identity corresponding to the signature data matches the identity of the signer includes: Sending the signature data to a third party; the signature data is used to instruct the third party to decrypt the tactile encryption information in the signature data to obtain tactile information, and predict the identity corresponding to the tactile information according to the identity authentication model to obtain the identity information corresponding to the tactile information, obtain the identity authentication result according to the identity information, and return the identity authentication result and the summary of the tactile information, wherein the identity authentication model is a prediction model obtained by training a preset model through tactile data samples and mapping relationship samples, and the mapping relationship samples are samples consisting of the correspondence between pre-calibrated tactile data and identity identifiers; receiving an identity authentication result returned by the third party according to the signature data and a summary of the tactile information; If the identity authentication result is that the tactile information matches the identity of the signer, and it is detected based on the summary of the tactile information that the tactile information has not been tampered with, then the identity corresponding to the signature data matches the identity of the signer.
6. A signature device, characterized in that: The device includes a tactile information acquisition module, a tactile information encryption module, a signature document acquisition module and a signature data generation module. The tactile information acquisition module is used to acquire the tactile information in the process of generating handwriting information; The tactile information is the signatory's tactile perception information of the tactile signature device; The tactile information encryption module is used to encrypt the tactile information to obtain encrypted tactile information; the encrypted tactile information is the encrypted tactile information; The signature document acquisition module is used to acquire a signature document corresponding to the handwriting information; the signature document is an electronic document that needs to be signed; The signature data generating module is used to combine the touch encryption information, the handwriting information and the signature document to obtain signature data; Alternatively, the device includes a document and digest encryption module, a sending module and a receiving module, The document and summary encryption module is used to encrypt the original document and the summary of the original document by using a first private key to obtain an encrypted document and a first encrypted summary; the first private key is a private key used to encrypt the original document and the summary of the original document, the encrypted document is a document obtained by encrypting the original document, and the first encrypted summary is information obtained by encrypting the summary of the original document by using the first private key; The sending module is used to send the original document and the first encrypted summary to the signature execution party; the original document and the first encrypted summary are used to instruct the signature execution party to return signature data, the signature data is data obtained by combining tactile encryption information, handwriting information and the signature document, the tactile encryption information is information obtained by encrypting tactile information in the process of generating the handwriting information, and the tactile information is the signatory's tactile perception information for the tactile signature device; The receiving module is used to receive the signature data fed back by the signature executor according to the original document and the first encrypted summary; Acquiring a signature document corresponding to the handwriting information, comprising: acquiring an original document and a first encrypted summary sent by a signature requester; the first encrypted summary is information obtained by encrypting a summary of the original document with a first private key; decrypting the first encrypted summary according to a public key corresponding to the first private key to obtain a summary of the original document; if it is detected based on the summary of the original document that the original document has not been tampered with, taking the original document as the signature document corresponding to the handwriting information; After sending the original document and the first encrypted summary to the signature executor, the method also includes: receiving the signature data and the second encrypted summary fed back by the signature executor based on the original document and the first encrypted summary; the second encrypted summary is information obtained by encrypting the summary of the signature data with a second private key; decrypting the second encrypted summary according to the public key corresponding to the second private key to obtain the summary of the signature data; if it is detected according to the summary of the signature data that the signature data has not been tampered with, obtaining the signature result according to the signature data.
7. An electronic device, characterized in that: include: one or more processors; A storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, enables the electronic device to implement the method as described in any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that: Computer-readable instructions are stored thereon, and when the computer-readable instructions are executed by a processor of a computer, the computer is caused to execute the method according to any one of claims 1 to 5.
