Electronic contract processing method and device
By collecting the signing data of the signing party and encrypting the identity information during the electronic contract signing process, the contract tampering and identity information leakage during the public network transmission of electronic contracts is solved, and higher data security and signing reliability are achieved.
Patent Information
- Application Number
- CN202411821497.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-11
- Publication Date
- 2025-04-11
AI Technical Summary
During the process of transmitting electronic contracts on the public network, contract tampering and identity information leakage are prone to occur.
The signing data of the signing party is collected through the initiator's terminal equipment to avoid the transmission of contract documents on the public network, and to use encrypted identity information instead of the transmission of electronic contracts to ensure the security and reliability of the signing process.
It improves the data security and signing reliability of electronic contracts, prevents contract tampering and identity information leakage, and enhances privacy and security.
Smart Images

Figure CN119814381A_ABST
Abstract
Description
Technical Field
[0001] This document relates to the field of data processing technology, and in particular to an electronic contract processing method and device. Background Art
[0002] With the continuous development of Internet technology and the continuous improvement of living standards, more and more production activities need to use contracts as a basis for judgment. With the continuous promotion of energy conservation and emission reduction, more and more users begin to use electronic contracts. Electronic contracts do not require both parties to the contract to use consumables and are also easy to store and query. However, electronic contracts also have problems in privacy and security. In the prior art, contract documents are usually transmitted to the signing parties through the public network, which is prone to contract leakage, attacks and other problems. How to better provide electronic contract signing services has become a focus of attention for all parties. Summary of the invention
[0003] The purpose of one embodiment of the present specification is to provide an electronic contract processing method and device to solve the problems of contract tampering and identity information leakage that may exist during the transmission of electronic contracts over the public network.
[0004] To solve the above technical problems, an embodiment of this specification is implemented as follows: In a first aspect, an embodiment of the present specification provides an electronic contract processing method, which is applied to a terminal device of an initiator, and the method includes: Obtaining a collection instruction for electronic contract signing submitted by the initiator through the application; If the collection instruction is a collection instruction for collecting identification codes, collect the signing identification code of the signatory; The signing identification code is parsed to obtain the encrypted identity information of the signatory, and a contract signing request carrying the encrypted identity information is generated and sent.
[0005] The electronic contract processing method provided in this embodiment is that during the electronic contract signing process, the initiator of the contract signing submits a collection instruction for contract signing through an application, and the initiator's terminal device collects the signing data of the signatory in response to the collection instruction. By collecting the signing data of the signatory offline, the transmission of the contract file in the public network is avoided, thereby improving the data security of the electronic contract. In the case where the collection instruction is a collection instruction for collecting an identification code, the signing identification code displayed by the signatory is collected, and the signing identification code is parsed to obtain the encrypted identity information of the signatory. By encrypting the identity information, the security of the signatory's identity information is guaranteed, and the reliability of the electronic contract signing is improved. Finally, a contract signing request carrying the encrypted identity information is generated and sent, and the electronic contract is transmitted instead of the encrypted identity information, thereby improving the reliability and privacy security of the electronic contract signing.
[0006] In a second aspect, another embodiment of the present specification provides another electronic contract processing method, which is applied to a server, and the method includes: Receiving a contract signing request for an electronic contract sent by a terminal device of an initiator; the signing request is generated after being collected by the terminal device in response to a collection instruction submitted by the initiator through an application program; If the signing request contains the encrypted identity information of the signatory, decrypt the encrypted identity information to obtain the identity information; Verifying whether the identity information matches the target signatory in the electronic contract; If so, the electronic contract is signed according to the identity identifier of the signatory.
[0007] This embodiment provides another electronic contract processing method. During the electronic contract signing process, the server receives a contract signing request for the electronic contract sent by the initiator's terminal device. By collecting the signing data of the signatory offline, the contract file is avoided from being transmitted in the public network, thereby improving the data security of the electronic contract. When the signing request contains the encrypted identity information of the signatory, the encrypted identity information is decrypted to obtain the identity information. By encrypting the identity information, the security of the signatory's identity information is guaranteed, thereby improving the reliability of the electronic contract signing. Then, it is verified whether the identity information matches the target signatory in the electronic contract. By pre-setting the signatory of the electronic contract, contract signing errors are avoided, thereby improving the reliability of the electronic contract signing. When a match is found, the electronic contract is signed according to the signatory's identity identifier. The electronic contract is transmitted instead of the encrypted identity information, thereby improving the reliability and privacy security of the electronic contract signing.
[0008] In a third aspect, another embodiment of the present specification provides an electronic contract processing device, including: A collection instruction acquisition module is used to obtain the collection instruction for electronic contract signing submitted by the initiator through the application; If the collection instruction is a collection instruction for collecting identification codes, running an identification code collection module, the identification code collection module is used to collect the signing identification code of the signatory; The signing request sending module is used to parse the signing identification code to obtain the encrypted identity information of the signatory, generate a contract signing request carrying the encrypted identity information, and send it.
[0009] In a fourth aspect, another embodiment of the present specification provides another electronic contract processing device, including: A signing request receiving module, used to receive a contract signing request for an electronic contract sent by a terminal device of an initiator; the signing request is generated after being collected by the terminal device in response to a collection instruction submitted by the initiator through an application program; If the signing request contains the encrypted identity information of the signatory, running a decryption module, the decryption module is used to decrypt the encrypted identity information to obtain the identity information; An identity verification module, used to verify whether the identity information matches the target signatory in the electronic contract; If so, run a contract signing module, which is used to sign the electronic contract according to the identity identifier of the signatory.
[0010] In the fifth aspect, another embodiment of the present specification provides an electronic contract processing device, comprising: a memory, a processor, and computer executable instructions stored on the memory and executable on the processor, wherein the computer executable instructions, when executed by the processor, implement the steps of the electronic contract processing method as described in the first aspect above.
[0011] In the sixth aspect, another embodiment of the present specification provides another electronic contract processing device, including: a memory, a processor, and computer executable instructions stored on the memory and executable on the processor, and when the computer executable instructions are executed by the processor, the steps of the electronic contract processing method as described in the second aspect above are implemented.
[0012] In the seventh aspect, another embodiment of the present specification provides a computer-readable storage medium, which is used to store computer-executable instructions. When the computer-executable instructions are executed by a processor, the steps of the electronic contract processing method described in the first aspect above are implemented.
[0013] In the eighth aspect, another embodiment of the present specification provides another computer-readable storage medium, which is used to store computer-executable instructions, and when the computer-executable instructions are executed by a processor, the steps of the electronic contract processing method as described in the second aspect above are implemented.
[0014] In the ninth aspect, another embodiment of the present specification provides a computer program product, wherein the computer program product includes an electronic contract processing program, and the electronic contract processing program is executed by a processor to implement the steps of the electronic contract processing method as described in the first aspect above.
[0015] In the tenth aspect, another embodiment of the present specification provides another computer program product, wherein the computer program product includes an electronic contract processing program, and the electronic contract processing program is executed by a processor to implement the steps of the electronic contract processing method as described in the second aspect above. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate one or more embodiments of the present specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present specification. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. Figure 1 A processing flow chart of an electronic contract processing method provided for one or more embodiments of this specification; Figure 2 A schematic diagram of a registration process of an application provided for one or more embodiments of this specification; Figure 3 A schematic diagram of a process of creating and uploading an electronic contract provided for one or more embodiments of this specification; Figure 4 A processing flow chart of an electronic contract processing method applied to an identification code signing scenario provided by one or more embodiments of this specification; Figure 5 A schematic diagram of a signing process of an electronic contract provided for one or more embodiments of this specification; Figure 6 A flowchart of another electronic contract processing provided for one or more embodiments of this specification; Figure 7 A schematic diagram of an electronic contract processing device provided for one or more embodiments of this specification; Figure 8 A schematic diagram of another electronic contract processing device provided for one or more embodiments of this specification; Fig. 9 A schematic diagram of the structure of an electronic contract processing device provided for one or more embodiments of this specification; Fig.10 A schematic diagram of the structure of another electronic contract processing device provided for one or more embodiments of this specification. DETAILED DESCRIPTION
[0017] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the technical solutions in one or more embodiments of this specification will be clearly and completely described below in conjunction with the drawings in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of them. Based on one or more embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this document.
[0018] This specification provides an embodiment of an electronic contract processing method: Reference Figure 1 , which shows a processing flow chart of an electronic contract processing method provided by this embodiment, referring to Figure 4 , which shows a processing flow chart of an electronic contract processing method applied to an identification code signing scenario provided by this embodiment.
[0019] Reference Figure 1 The electronic contract processing method provided in this embodiment can be applied to the terminal device of the initiator of the electronic contract, and specifically includes the following steps S102 to S106.
[0020] Step S102: obtaining a collection instruction for electronic contract signing submitted by the initiator through an application.
[0021] In this embodiment, the application is an application that provides services related to electronic contracts. The initiator and / or signatory of the electronic contract can register in the application. The initiator can create a contract signing task in the application. The initiator can also upload and / or create an electronic contract in the application. The initiator can add signatories to the electronic contract. Furthermore, the signatory can obtain a signing identification code containing identity information in the application.
[0022] In this embodiment, the signing identification code is an identification code used by the signatory to sign the contract. The signing identification code can be obtained based on the signatory's identity information and / or encrypted identity information encoding. The signatory can obtain the signing identification code after registering in the application. The signatory can also obtain the signing identification code after the initiator associates the signatory to the signing task in the application. Optionally, the signing identification code can correspond to the electronic contract one-to-one, that is, one electronic contract corresponds to a unique signing identification code. Alternatively, the signing identification code can also correspond to multiple electronic contracts, that is, the user's signing identification code can sign multiple electronic contracts. It should be noted that the collection instruction can be any one of the above three instructions, or a combination of two or more, such as scanning the code and reading the identity certificate during the signing process. The signing identification code can be a QR code.
[0023] In specific implementation, the initiator runs an application on a terminal device and submits a collection instruction for electronic contract signing in the application. The initiator's terminal device obtains the collection instruction to call a corresponding control for collection processing according to the type of the collection instruction; if the collection instruction is a collection instruction for identification code collection, execute step S104.
[0024] During the specific implementation process, in order to improve the reliability and availability of electronic contract signing, the signatory can sign the electronic contract in a variety of ways. Specifically, the signatory can sign the contract by displaying the signing identification code for the initiator to scan, and the corresponding collection instruction can be a code scanning instruction for collecting the identification code; the signatory can also sign the contract by displaying the identity credential for the initiator to collect an image, and the corresponding collection instruction can also be an image collection instruction for collecting the identity credential image; the signatory can also sign the contract by providing the identity credential for the initiator to read, and the corresponding collection instruction can also be a credential reading instruction for reading the identity credential.
[0025] In this embodiment, the initiator and the signatory sign the contract offline, and the electronic contract can be displayed on the terminal device of the initiator for browsing by the initiator and the signatory, avoiding the transmission of the electronic contract on the public network, improving the security of the electronic contract and enhancing the tamper-proof nature of the electronic contract. In the specific execution process, an encrypted signing identification code can be generated for the signatory to further improve the security of the identity information in the signing process. In an optional implementation provided by this embodiment, the signing identification code is displayed by the signatory's terminal device in the following manner: Obtaining a display instruction for displaying an identification code corresponding to the electronic contract submitted by the signatory through the application; Generate and send an identification code acquisition request carrying the electronic contract information, receive and display the signed identification code carrying the validity period.
[0026] Specifically, the signing identification code can be generated for one contract, that is, one electronic contract corresponds to one signing identification code. The signing identification code can also be dynamic, that is, the signing identification code carries a validity period and can be used to sign the electronic contract within the validity period. In addition, the signing identification code can also correspond to multiple electronic contracts, that is, one signing identification code can sign multiple electronic contracts.
[0027] In the specific execution process, the signing identification code may be generated by the initiator of the electronic contract after associating the signatory with the signing task of the electronic contract. Specifically, after the initiator adds the signatory to the signing task corresponding to the electronic contract in the application, the server detects that the signatory has the associated information of the signing task, and then encrypts and encodes the signatory's registered identity information to obtain the signing identification code of the signatory, thereby improving the security and availability of the signing identification code and improving the data processing efficiency. In view of this, the signing identification code may be generated after the initiator registers, that is, the initiator generates the signing identification code after registering the application. In an optional implementation manner provided by this embodiment, before receiving the signing request, the server further includes: Obtain a registration request, and call a third-party verification interface for verification based on the identity information in the registration request; If the verification is successful, the user corresponding to the identity information is added to the user database; If the test fails, no action is required; After detecting that the user has the associated information for electronic contract signing, encrypt the user ID and the identity information returned by the interface call to obtain the encrypted identity information; The user's signing identification code is obtained by performing encoding processing based on the encrypted identity information.
[0028] Specifically, the signing identification code can first be encrypted through a dynamic encryption method to perform a first-layer encryption on the user identification returned by the third-party organization, that is, the digital certificate and communication identification of the signer, and then the encrypted information obtained by the first layer of encryption is encrypted through an encryption matrix to obtain encrypted identity information, and the encrypted identity information is encoded to obtain the registered user, that is, the signing identification code of the signer.
[0029] For example, according to the DN information in the user's digital certificate, a dynamic unique Token is generated in combination with the user's mobile phone number, and finally a dynamic unique QRcode source data that can prove personal identity is generated. And the source data is stored in the user account in real time. The source data format after the combination is such as: CN=***@*429****************@*,OU=Individual-1,OU=****,O=************************,C=CN, eyJhbGciOiJIUzI1NiJ9.****, the business backend data is updated within a fixed time, and the DN is iterated in the loop to achieve the effect of dynamic unique source data. The dynamic unique source data is placed in a 260*260 or even larger matrix, with 26 uppercase and lowercase English characters, numbers and characters randomly and evenly placed. The coordinates of the upper left corner character in this matrix are [001,001], and the coordinates of the lower right corner character are [260…,260…]. This type of data source: CN=***@*429****************@*,OU= Individual-1,OU=****,O=************************,C=CN,eyJhbGciOiJIUzI1NiJ9.***** All the characters in get the coordinate matrix of the Token according to the randomly generated public key matrix that is uniquely and strongly associated with the contract information, and get a dynamically encrypted Token data source as the Qrcode (two-dimensional code) source data, which is the encrypted identity information. The encrypted identity information is encoded according to the international ISO18004 encoding rules to generate a dynamic unique QRcode pattern with a digital certificate.
[0030] In actual applications, the initiator may also perform a registration process before using the application to sign the electronic contract. Specifically, the initiator may register in the application. During the registration process, the initiator may upload the signing data to sign the electronic contract, thereby improving the reliability of the electronic contract signing. In an optional implementation manner provided in this embodiment, before obtaining the collection instruction, the following is also included: Generate and send a registration request in response to a registration instruction submitted by the initiator through an application; Receive the returned data collection page, and update the data collection page according to the signed data input by the initiator; According to the confirmation instruction submitted by the initiator, the data collection page carrying the signed data is sent, and the returned registration confirmation message is received and displayed.
[0031] In this embodiment, the initiator of the electronic contract can be an initiating user, an initiating merchant, or an initiating organization; accordingly, the signing data of the initiator can be the identity information, business information and / or organizational information of the initiator, such as: the identity information and / or signature image of the initiating user, or the organizational information and / or official seal image of the initiating organization.
[0032] For example, Figure 2 As shown, the registration of the initiator and the signatory in the application can be performed through the cooperation of the user terminal with the application front end, i.e., the application running on the user terminal, the application back end, i.e., the server, and a third-party organization.
[0033] In actual applications, the initiator may upload the electronic contract to be signed in advance, or may edit the contract template to obtain the electronic contract for signing, so as to improve the data processing efficiency and the signing efficiency of the electronic contract; in an optional implementation manner provided by this embodiment, before obtaining the collection instruction, it also includes: After detecting the trigger instruction of the creation control configured by the initiator for the contract creation page, generating and sending a contract creation request; The returned contract template is received, the contract template is edited according to the editing instruction, and the edited target contract is sent.
[0034] Specifically, the initiator can run the application on the terminal device to enter the contract creation page to trigger the creation control. After the initiator's terminal device detects the trigger instruction of the creation control, it generates a contract creation request and sends it to the server. The server returns the contract template. The initiator can enter the editing instruction for the contract template to edit it. The initiator's terminal device sends the edited target contract to the server to establish a signing task for the target contract.
[0035] In addition, the initiator may also pre-edit the electronic contract and store it in the terminal device, and may select the contract stored in the terminal device for uploading; in another optional implementation manner provided by this embodiment, before obtaining the collection instruction, it also includes: Obtaining a trigger instruction of an upload control configured by the initiator for a contract upload page; In response to the trigger instruction, the stored candidate contracts are read, and the target contract selected by the initiator from the candidate contracts is uploaded.
[0036] Specifically, the initiator can run the application on the terminal device to enter the contract upload page to trigger the upload control. After the initiator's terminal device detects the trigger instruction of the upload control, it reads the stored candidate contracts for the initiator to select. After the initiator selects the target contract, the terminal device uploads the target contract to the server to establish a signing task for the target contract.
[0037] For example, Figure 3 As shown, the initiator can perform contract upload processing through the initiator's terminal device in cooperation with the application front end, i.e., the application running on the user terminal, the application back end, i.e., the server, and a third-party organization.
[0038] In practical applications, the initiator also needs to sign the electronic contract; specifically, the initiator may sign the electronic contract in advance so that the signatory signs the electronic contract signed by the initiator, thereby improving the processing efficiency of the electronic contract. Alternatively, the initiator may sign the electronic contract after the signatory has signed the electronic contract. An optional implementation method provided in this embodiment also includes: Obtaining a signing instruction for electronic contract signing submitted by the initiator through the application; In response to the signing instruction, generating and sending a first signing request carrying the signing data of the initiator; Obtain the signed electronic contract and display it.
[0039] Step S104: collecting the signing identification code of the signatory.
[0040] In this embodiment, the initiator obtains the signing data of the signatory through the terminal device to process the electronic contract signing of the signatory, replacing the method of transmitting the electronic contract with the method of transmitting the signing data of the signatory, thereby improving the security of the electronic contract signing and avoiding the problem of tampering during the contract transmission process.
[0041] In a specific implementation, in response to a collection instruction for collecting the identification code, the image collection component is called to scan the signing identification code displayed by the terminal device of the signatory.
[0042] During the specific execution process, the collection instruction may also be a collection instruction for collecting the identity credential image of the signatory, that is, the terminal device of the initiator may collect the image when detecting the collection instruction for collecting the identity credential image, thereby improving the convenience of electronic contract signing; an optional implementation manner provided by this embodiment also includes: If the acquisition instruction is an image acquisition instruction for an identity credential image, calling an image acquisition component to acquire the identity credential image of the signatory; Extract features from the identity credential image to obtain the identity information of the signatory, generate a contract signing request carrying the identity information, and send the request; Obtain the signed electronic contract and display it.
[0043] Specifically, after the initiator's terminal device detects the instruction to collect the identity credential image, it calls the image acquisition component to collect the signatory's identity credential image, performs OCR (Optical Character Recognition) processing on the identity credential image to obtain the signatory's identity information, generates a contract signing request carrying the identity information, and sends it to the server so that the server verifies the identity information. After the verification is passed, the server signs the electronic contract based on the signatory's identity identification. The initiator's terminal device can obtain the electronic contract after the signing is completed and display it to the signing end.
[0044] For example, feature extraction is performed through image preprocessing, feature extraction, and character recognition. Image preprocessing includes: denoising, grayscale, and binarization; feature extraction includes: extracting edge and texture information; character recognition includes: using trained models and algorithms to match the extracted character features and identify the characters in the pattern. Denoising (noise reduction) uses image filtering technology, grayscale converts color patterns into grayscale images, and binarization converts grayscale images into image processing technologies with only black and white colors. After converting the document pattern into a pattern with only black and white colors, edge extraction confirms the edge position of the pattern based on the area where the grayscale value of the image pixel suddenly changes, and texture extraction extracts the color difference or level difference on the pattern that gives human vision. Character recognition uses the existing EAST (AnEfficient and Accurate Scene Text Detector) algorithm. First, a fully convolutional network directly generates a prediction of a character or text line, and then the NMS (Non-Maximum Suppression) algorithm is used to merge the final processing results.
[0045] In addition, the collection instruction may also be a read instruction for reading the identity credential of the signatory, that is, the terminal device of the initiator may read the identity credential when detecting the read instruction for reading the identity credential, thereby improving the convenience of electronic contract signing; another optional implementation manner provided by this embodiment also includes: If the collection instruction is a credential reading instruction of an identity credential, calling a near field communication component to read the identity credential of the signatory; Construct the identity information of the signatory according to the read identity credential data, generate and send a contract signing request carrying the identity information; Obtain the signed electronic contract and display it.
[0046] Specifically, after the initiator's terminal device detects the instruction to read the identity credential, it calls the near field communication component (RFID component and / or NFC component) to read the signer's identity credential, constructs the signer's identity information based on the unique sequence of the read identity credential, generates a contract signing request carrying the identity information and sends it to the server, so that the server verifies the identity information. After the verification is passed, the server signs the electronic contract based on the signer's identity identification. The initiator's terminal device can obtain the electronic contract after the signing is completed and display it to the signing end.
[0047] It should be noted that the three acquisition instructions and corresponding execution processes provided above can be executed one by one, or they can also be combined, for example: after the initiator's terminal device scans the signature identification code, the identity credential image is acquired and processed. It should also be noted that during the execution of the image acquisition instruction for the identity credential image and the reading instruction for reading the identity credential provided above, the operation of obtaining the signed electronic contract and displaying it may not be executed.
[0048] Based on the above-mentioned image acquisition instructions for performing image acquisition of identity credentials and reading instructions for reading identity credentials, after the initiator's terminal device generates a signing request based on the identity information and sends it to the server, the server can perform identity information verification processing to improve the validity of the electronic contract signing; in an optional implementation manner provided by this embodiment, after the server receives the signing request, it also includes: verifying whether the identity information matches the target signatory; if so, signing the electronic contract according to the identity identification of the signatory, obtaining the signed electronic contract and sending it to the terminal device; if not, no processing is performed.
[0049] During the specific verification process, a third-party institution, namely, a third-party trusted institution (CA institution) providing network identity authentication services, may verify the identity information in the contract signing request and the identity information of the target signatory of the electronic contract to improve the effectiveness of the verification. In an optional implementation manner provided in this embodiment, identity verification includes: Using the identity information as input to call a verification interface of a third-party organization to perform identity verification and obtain an identity verification result; If the identity verification fails, it is determined that there is no match; If the identity verification is successful, the match is confirmed.
[0050] Step S106, parsing the signing identification code to obtain the encrypted identity information of the signatory, generating and sending a contract signing request carrying the encrypted identity information.
[0051] In the specific implementation, the initiator's terminal device decodes the signing identification code to obtain the encrypted identity information of the signatory, generates a contract signing request for the electronic contract carrying the encrypted identity information, and sends it to the server; the server decrypts the encrypted identity information after receiving it, verifies the identity information obtained by decryption, and after the verification is passed, signs the electronic contract based on the identity identification of the signatory.
[0052] Specifically, the terminal device of the initiator can collect the signed identification code and decode it to obtain the encrypted identity information by identifying the identification code. For example: after collecting the signed identification code, the image preprocessing is performed first. The image preprocessing includes graying, filtering, and binarization of the image. The purpose is to obtain a binary processed image to facilitate the detection of the second step of the image-finding pattern. Among them, binarization refers to the image processing technology that converts the grayscale image into only black and white colors. After obtaining the binary image, it is necessary to perform image-finding pattern detection, and the image-finding pattern detection is detected by combining the contour detection algorithm. The correction of QRcode is divided into projection transformation view correction and image-finding pattern position correction. The projection view automatic correction algorithm assumes that the figure has only undergone affine transformation. After geometric transformation, it is still a parallelogram. According to the detected three image-finding pattern centers, combined with the properties of the parallelogram, the fourth vertex of the quadrilateral is calculated, and the transformed pixel point is calculated. Obtain the binarized front view of the Qrcode pattern. In order to enable the QRcode to be correctly recognized and decoded, it is necessary to correct the view that may have been selected. The processing method is to connect the three image-finding patterns in sequence, so that the reference triangle of the image-finding pattern is located at the upper left corner of the QR code. After the QR code is located and identified, the coordinate matrix information of the QR code needs to be decoded to obtain the encrypted identity information.
[0053] During the specific implementation process, the server may decrypt the encrypted identity information after receiving the contract signing request carrying the encrypted identity information, and verify the validity period of the signing identification code to improve the accuracy of the verification and the validity of the signing identification code; in an optional implementation manner provided in this embodiment, the server performs identity verification in the following manner: Querying the key corresponding to the electronic contract, and decrypting the encrypted identity information based on the key to obtain decrypted identity information; Detecting whether the decrypted identity information meets the verification conditions; If yes, confirm that the verification has passed; If not, an update reminder message of the signed identification code is generated and sent to the terminal device, and the first identity information returned by the terminal device is decrypted to obtain the identity information.
[0054] In this embodiment, the verification condition refers to whether the decrypted identity information matches the data format of the identity information. Specifically, as mentioned above, the signed identification code will be updated over time, and accordingly, the QRcode source data corresponding to the signed identification code and the corresponding key will also sign the identification code update. The identity information decrypted by the unmatched key does not match the identity information in format. For example, if there are punctuation marks in the name of the signer in the decrypted identity information, the verification condition is not met.
[0055] Based on this, when the decrypted identity information does not meet the verification conditions, the server can generate an update reminder message for the signing identification code and send it to the initiator's terminal device. The initiator's terminal device can display the update reminder message to the signer so that the signer can update the signing identification code. An optional implementation method provided in this embodiment also includes: obtaining an update reminder message for the signing identification code and displaying it.
[0056] It should be noted that the initiator's terminal device can also obtain the signed electronic contract for display to the initiator and / or the signatory; an optional implementation provided by this embodiment also includes: obtaining the signed electronic contract and displaying it.
[0057] In addition, after the electronic contract is signed, the signing status of the electronic contract can also be updated in the application so that the initiator and / or the signatory can view the signing status of the electronic contract.
[0058] It should be pointed out that, considering that identity information is private information of users and / or organizations to a certain extent, if you want to obtain identity information, you can apply for authorization before obtaining the identity. The authorization method can be to send an identity information acquisition reminder to the initiator and / or signatory during the application registration process. The initiator and / or signatory can obtain the authorization to obtain the identity information after confirming the reminder through instructions. In addition, authorization can also be obtained through other methods, such as obtaining authorization through agreements. That is to say: the identity information in this application is all legal information obtained after authorization by the initiator and / or signatory.
[0059] To summarize, the present embodiment provides one or more electronic contract processing methods. During the electronic contract signing process, the initiator of the contract signing submits a collection instruction for contract signing through an application. The initiator's terminal device collects the signing data of the signatory in response to the collection instruction. By collecting the signing data of the signatory offline, the transmission of the contract file in the public network is avoided, thereby improving the data security of the electronic contract. When the collection instruction is a collection instruction for collecting an identification code, the signing identification code displayed by the signatory is collected, and the signing identification code is parsed to obtain the encrypted identity information of the signatory. By encrypting the identity information, the security of the signatory's identity information is guaranteed, thereby improving the reliability of the electronic contract signing. Finally, a contract signing request carrying the encrypted identity information is generated and sent. The electronic contract is transmitted instead of the encrypted identity information, thereby improving the reliability and privacy security of the electronic contract signing.
[0060] The following combination Figure 4 , taking the application of the electronic contract processing method provided by this embodiment in the identification code signing scenario as an example, the electronic contract processing method provided by this embodiment is further explained. Figure 4 The electronic contract processing method applied to the identification code signing scenario specifically includes steps S402 to S410.
[0061] Step S402: obtaining a trigger instruction of the upload control configured by the initiator for the contract upload page.
[0062] Step S404, in response to the trigger instruction, the stored candidate contracts are read, and the target contract selected by the initiator from the candidate contracts is uploaded.
[0063] Step S406, obtaining the collection instruction for electronic contract signing submitted by the initiator through the application.
[0064] Step S408: calling the image acquisition component to scan the signing identification code of the signatory.
[0065] Previously, the terminal device of the signatory obtains a display instruction for displaying the identification code corresponding to the electronic contract submitted by the signatory through the application; generates and sends an identification code acquisition request carrying the electronic contract information, and receives and displays the signed identification code carrying the validity period.
[0066] Step S410: Parse the signing identification code to obtain the encrypted identity information of the signatory, generate a contract signing request carrying the encrypted identity information, and send it.
[0067] It should be noted that any one of steps S402 to S410 or any combination of multiple steps can be selected from steps S102 to S106 to form a new implementation method according to the needs of implementation deployment; and any one or multiple technical features in the technical scheme composed of steps S402 to S410 can be selected from steps S102 to S106 to form a new implementation method according to the needs of actual deployment, or the technical features in one or more optional implementation methods provided by steps S102 to S106 can be selected to form a new implementation method, which will not be described one by one here.
[0068] It should also be noted that you can also refer to Figure 5 The process sequence diagram shown is used to carry out the signing process of an electronic contract in the signing identification code scenario.
[0069] Another embodiment of the electronic contract processing method provided in this specification: Reference Figure 6 , which shows a processing flow chart of another electronic contract processing method provided by this embodiment. Another electronic contract processing method provided by this embodiment can be applied to a server and / or an application server, and specifically includes the following steps S602 to S608, referring to Figure 4 , which shows a processing flow sequence diagram of an electronic contract processing method applied to an identification code signing scenario provided by this embodiment.
[0070] Step S602: receiving a contract signing request for an electronic contract sent by a terminal device of the initiator.
[0071] In specific implementation, the initiator's terminal device obtains the collection instruction for electronic contract signing submitted by the initiator through the application, collects the signing identification code of the signatory in response to the collection instruction, parses the signing identification code to obtain the encrypted identity information of the signatory, generates a contract signing request carrying the encrypted identity information and sends it to the server; the server receives the signing request sent by the terminal device, and if the signing request contains the encrypted identity information of the signatory, executes step S604. Optionally, the signing request is generated after the terminal device collects in response to the collection instruction submitted by the initiator through the application. Optionally, the collection instruction includes: a scan code instruction for collecting the identification code, an image collection instruction for collecting the identity credential image and / or a read instruction for reading the identity identification.
[0072] In this embodiment, the application is an application that provides services related to electronic contracts. The initiator and / or signatory of the electronic contract can register in the application. The initiator can create a contract signing task in the application. The initiator can also upload and / or create an electronic contract in the application. The initiator can add signatories to the electronic contract. Furthermore, the signatory can obtain a signing identification code containing identity information in the application.
[0073] In this embodiment, the signing identification code is an identification code used by the signatory to sign the contract. The signing identification code can be obtained based on the signatory's identity information and / or encrypted identity information encoding. The signatory can obtain the signing identification code after registering in the application. The signatory can also obtain the signing identification code after the initiator associates the signatory to the signing task in the application. Optionally, the signing identification code can correspond to the electronic contract one-to-one, that is, one electronic contract corresponds to a unique signing identification code. Alternatively, the signing identification code can also correspond to multiple electronic contracts, that is, the user's signing identification code can sign multiple electronic contracts. It should be noted that the collection instruction can be any one of the above three instructions, or a combination of two or more, such as scanning the code and reading the identity certificate during the signing process. The signing identification code can be a QR code.
[0074] In the specific execution process, the signing identification code may be generated by the initiator of the electronic contract after associating the signatory with the signing task of the electronic contract. Specifically, after the initiator adds the signatory to the signing task corresponding to the electronic contract in the application, the server detects that the signatory has the associated information of the signing task, and then encrypts and encodes the signatory's registered identity information to obtain the signing identification code of the signatory, thereby improving the security and availability of the signing identification code and improving the data processing efficiency. In an optional implementation manner provided by this embodiment, before receiving the signing request, the server further includes: Obtain a registration request, and call a third-party verification interface for verification based on the identity information in the registration request; If the verification is successful, the user corresponding to the identity information is added to the user database; If the test fails, no action is required; After detecting that the user has the associated information for electronic contract signing, encrypt the user ID and the identity information returned by the interface call to obtain the encrypted identity information; The user's signing identification code is obtained by performing encoding processing based on the encrypted identity information.
[0075] Specifically, the signing identification code can first be encrypted through a dynamic encryption method to perform a first-layer encryption on the user identification returned by the third-party organization, that is, the digital certificate and communication identification of the signer, and then the encrypted information obtained by the first layer of encryption is encrypted through an encryption matrix to obtain encrypted identity information, and the encrypted identity information is encoded to obtain the registered user, that is, the signing identification code of the signer.
[0076] Step S604: decrypt the encrypted identity information to obtain identity information.
[0077] In specific implementation, the encrypted identity information contained in the signing request is decrypted to obtain the identity information of the signatory. Specifically, the encrypted identity information can be decrypted using the key of the electronic contract.
[0078] During the specific implementation process, the server may decrypt the encrypted identity information after receiving the contract signing request carrying the encrypted identity information, and verify the validity period of the signing identification code to improve the accuracy of the verification and the validity of the signing identification code; in an optional implementation manner provided in this embodiment, the server performs identity verification in the following manner: Querying the key corresponding to the electronic contract, and decrypting the encrypted identity information based on the key to obtain decrypted identity information; Detecting whether the decrypted identity information meets the verification conditions; If yes, confirm that the verification has passed; If not, an update reminder message of the signed identification code is generated and sent to the terminal device, and the first identity information returned by the terminal device is decrypted to obtain the identity information.
[0079] In this embodiment, the verification condition refers to whether the decrypted identity information matches the data format of the identity information. Specifically, as mentioned above, the signed identification code will be updated over time, and accordingly, the QRcode source data corresponding to the signed identification code and the corresponding key will also sign the identification code update. The identity information decrypted by the unmatched key does not match the identity information in format. For example, if there are punctuation marks in the name of the signer in the decrypted identity information, the verification condition is not met.
[0080] In actual applications, based on the contract signing request generated by different data collected by the initiator's terminal device in response to different collection instructions, the server can perform corresponding processing according to different signing requests; wherein, the contract signing request corresponding to the code scanning instruction carries encrypted identity information, and the contract signing request corresponding to the image acquisition instruction and / or the reading instruction carries unencrypted identity information; in view of this, an optional implementation manner provided by this embodiment further includes: If the signing request contains the identity information of the signatory, verify whether the identity information matches the target signatory; If so, the electronic contract is signed according to the identity identifier of the signatory, and the signed electronic contract is obtained and sent to the terminal device.
[0081] Step S606: verify whether the identity information matches the target signatory in the electronic contract.
[0082] In specific implementation, the identity information can be matched with the identity information of the target signer stored in the server. If they are consistent, it is determined that the verification is passed and step S608 is executed. If they are inconsistent, it is determined that the verification is not passed and no processing is performed. In addition, the identity information can be verified by a third-party organization. Specifically, the verification interface of the third-party organization can be called for verification.
[0083] During the specific execution process, for the contract signing request corresponding to the code scanning instruction, the signatory has registered the identity information on the server and / or the server of the application program, and in this regard, the identity information matching process can be performed on the server; for the contract signing request corresponding to the image acquisition instruction and / or the reading instruction, the signatory may not register the identity information on the application program, and in this regard, the verification process can be performed through a third-party organization to improve the effectiveness of the identity verification; in an optional implementation manner provided in this embodiment, verifying the identity information includes: Using the identity information as input to call a verification interface of a third-party organization to perform identity verification and obtain an identity verification result; If the identity information verification fails, it is determined that there is no match; If the identity verification is successful, the match is confirmed.
[0084] Step S608: signing the electronic contract according to the identity identifier of the signatory.
[0085] In specific implementation, the electronic contract signing process is performed according to the identity identifier of the signatory. Specifically, the identity identifier of the signatory can be pre-stored in the server, that is, the signatory can upload the identity identifier when registering. The identity identifier can be a signature image and / or an official seal image.
[0086] It should be noted that the initiator may also sign the electronic contract together with the signatory, and step S608 may be replaced by: signing the electronic contract according to the identity identifiers of the signatory and the initiator. In addition, the initiator may also sign the electronic contract before or after the signatory signs.
[0087] In summary, the present embodiment provides one or more electronic contract processing methods. During the electronic contract signing process, the server receives a contract signing request for the electronic contract sent by the initiator's terminal device. By collecting the signing data of the signatory offline, the contract file is avoided from being transmitted in the public network, thereby improving the data security of the electronic contract. When the signing request contains the encrypted identity information of the signatory, the encrypted identity information is decrypted to obtain the identity information. By encrypting the identity information, the security of the signatory's identity information is guaranteed, thereby improving the reliability of the electronic contract signing. Then, it is verified whether the identity information matches the target signatory in the electronic contract. By pre-setting the signatory of the electronic contract, contract signing errors are avoided, thereby improving the reliability of the electronic contract signing. When a match is found, the electronic contract is signed according to the signatory's identity identifier. By transmitting the encrypted identity information instead of transmitting the electronic contract, the reliability and privacy security of the electronic contract signing are improved.
[0088] It should be noted that the electronic contract processing method provided in the above embodiment can be applied to user terminals, and another electronic contract processing method provided in this embodiment can be applied to servers. The electronic contract processing method provided in this embodiment that can be applied to servers and the electronic contract processing method provided in the above embodiment that can be applied to user terminals have a coordinated relationship during execution. Therefore, when reading this embodiment, you can refer to the relevant content of the above embodiment. The relevant content of this embodiment is similar to the relevant content of the above embodiment, and this embodiment will not be repeated here.
[0089] The following combination Figure 4 , taking the application of the electronic contract processing method provided by this embodiment in the identification code signing scenario as an example, the electronic contract processing method provided by this embodiment is further explained. Figure 4 The electronic contract processing method applied to the identification code signing scenario specifically includes steps S412 to S424.
[0090] Step S412: receiving a contract signing request for the electronic contract sent by the initiator's terminal device.
[0091] Step S414, query the key corresponding to the electronic contract, and decrypt the encrypted identity information based on the key to obtain the decrypted identity information.
[0092] Step S416, detecting whether the decrypted identity information meets the verification conditions.
[0093] If yes, execute step S418; If not, execute step S420.
[0094] Step S418, verify whether the identity information matches the target signatory in the electronic contract.
[0095] Step S420: Generate an update reminder message for the signed identification code and send it to the terminal device, and decrypt the first identity information returned by the terminal device to obtain the identity information.
[0096] Step S422, verify whether the identity information matches the target signatory in the electronic contract.
[0097] After step S410 and step S422 are executed, if yes, execute step S424; if no, do nothing.
[0098] Step S424: signing the electronic contract according to the identity identifier of the signatory.
[0099] It should be noted that any one of steps S412 to S424 or any combination of multiple steps can be combined with any one of steps S602 to S608 to form a new implementation method according to the needs of implementation deployment; and any one or multiple technical features in the technical scheme composed of steps S412 to S424 can be combined with any one of steps S602 to S608 to form a new implementation method according to the needs of actual deployment, or the technical features in one or more optional implementation methods provided by steps S602 to S608 can be combined with a new implementation method, which will not be elaborated here.
[0100] Figure 7 A schematic diagram of an electronic contract processing device provided by an embodiment of the present invention is shown in FIG. Figure 7 As shown, the device comprises: The collection instruction acquisition module 702 is used to acquire the collection instruction for electronic contract signing submitted by the initiator through the application program; If the collection instruction is a collection instruction for collecting identification codes, the identification code collection module 704 is run, and the identification code collection module 704 is used to collect the signing identification code of the signatory; The signing request sending module 706 is used to parse the signing identification code to obtain the encrypted identity information of the signatory, generate a contract signing request carrying the encrypted identity information, and send it.
[0101] The present embodiment provides an electronic contract processing device. During the electronic contract signing process, the initiator of the contract signing submits a collection instruction for contract signing through an application program. First, the collection instruction acquisition module 702 is run to collect the signing data of the signatory in response to the collection instruction. By collecting the signing data of the signatory offline, the transmission of the contract file in the public network is avoided, thereby improving the data security of the electronic contract. When the collection instruction is a collection instruction for collecting an identification code, the identification code collection module 704 is run to collect the signing identification code displayed by the signatory, and the signing identification code is parsed to obtain the encrypted identity information of the signatory. By encrypting the identity information, the security of the signatory's identity information is guaranteed, thereby improving the reliability of the electronic contract signing. Finally, the signing request sending module 706 is run to generate and send a contract signing request carrying the encrypted identity information. The electronic contract is transmitted instead of the encrypted identity information, thereby improving the reliability and privacy security of the electronic contract signing.
[0102] The electronic contract processing device provided in one embodiment of this specification is capable of implementing each process in the aforementioned method embodiment and achieving the same functions and effects, which will not be repeated here.
[0103] Figure 8 A schematic diagram of another electronic contract processing device provided by an embodiment of the present invention, such as Figure 8 As shown, the device comprises: The signing request receiving module 802 is used to receive a contract signing request of an electronic contract sent by a terminal device of the initiator; the signing request is generated after the terminal device collects the collection instruction submitted by the initiator through the application program; If the signing request contains the encrypted identity information of the signatory, the decryption module 804 is executed, and the decryption module 804 is used to decrypt the encrypted identity information to obtain the identity information; An identity verification module 806 is used to verify whether the identity information matches the target signatory in the electronic contract; If yes, the contract signing module 808 is executed, and the contract signing module is used to sign the electronic contract according to the identity identifier of the signatory.
[0104] Another electronic contract processing device provided by this embodiment, during the electronic contract signing process, the server first runs the signing request receiving module 802 to receive the contract signing request of the electronic contract sent by the terminal device of the initiator, and avoids the transmission of the contract file in the public network by collecting the signing data of the signatory offline, thereby improving the data security of the electronic contract. When the signing request contains the encrypted identity information of the signatory, the decryption module 804 is run to decrypt the encrypted identity information to obtain the identity information. By encrypting the identity information, the security of the identity information of the signatory is guaranteed, and the reliability of the electronic contract signing is improved. Then, the identity verification module 806 is run to verify whether the identity information matches the target signatory in the electronic contract. By pre-setting the signatory of the electronic contract, the signing error of the contract is avoided, and the reliability of the electronic contract signing is improved. When the match is found, the identity verification module 808 is run to sign the electronic contract according to the identity identification of the signatory, and the reliability and privacy security of the electronic contract signing are improved by transmitting the encrypted identity information instead of transmitting the electronic contract.
[0105] Another electronic contract processing device provided in one embodiment of this specification can implement each process in the aforementioned method embodiment and achieve the same functions and effects, which will not be repeated here.
[0106] Furthermore, an embodiment of the present specification also provides an electronic contract processing device, Fig. 9 A schematic diagram of the structure of an electronic contract processing device provided in an embodiment of this specification, such as Fig. 9 As shown, the device includes: a memory 901, a processor 902, a bus 903 and a communication interface 904. The memory 901, the processor 902 and the communication interface 904 communicate through the bus 903, and the communication interface 904 may include an input and output interface, which includes but is not limited to a keyboard, a mouse, a display, a microphone, a loudspeaker, etc.
[0107] Fig. 9 In the embodiment, the memory 901 stores computer executable instructions that can be run on the processor 902. When the computer executable instructions are executed by the processor 902, the following process is implemented: Obtaining a collection instruction for electronic contract signing submitted by the initiator through the application; If the collection instruction is a collection instruction for collecting identification codes, collect the signing identification code of the signatory; The signing identification code is parsed to obtain the encrypted identity information of the signatory, and a contract signing request carrying the encrypted identity information is generated and sent.
[0108] The electronic contract processing device provided in this embodiment cooperates with the memory 901, the processor 902, the bus 903 and the communication interface 904. During the electronic contract signing process, the initiator of the contract signing submits a collection instruction for contract signing through an application program, and the terminal device of the initiator collects the signing data of the signatory in response to the collection instruction. By collecting the signing data of the signatory offline, the transmission of the contract file in the public network is avoided, thereby improving the data security of the electronic contract. When the collection instruction is a collection instruction for collecting an identification code, the signing identification code displayed by the signatory is collected, and the signing identification code is parsed to obtain the encrypted identity information of the signatory. By encrypting the identity information, the security of the signatory's identity information is guaranteed, thereby improving the reliability of the electronic contract signing. Finally, a contract signing request carrying the encrypted identity information is generated and sent. The electronic contract is transmitted instead of the encrypted identity information, thereby improving the reliability and privacy security of the electronic contract signing.
[0109] The electronic contract processing device provided in one embodiment of this specification can implement each process in the aforementioned method embodiment and achieve the same functions and effects, which will not be repeated here.
[0110] Furthermore, an embodiment of the present specification also provides another electronic contract processing device, Fig.10 A schematic diagram of another electronic contract processing device provided in an embodiment of this specification is shown as follows: Fig.10 As shown, the device includes: a memory 1001, a processor 1002, a bus 1003 and a communication interface 1004. The memory 1001, the processor 1002 and the communication interface 1004 communicate via the bus 1003, and the communication interface 1004 may include an input and output interface, which includes but is not limited to a keyboard, a mouse, a display, a microphone, a loudspeaker, etc.
[0111] Fig.10 In the embodiment, the memory 1001 stores computer executable instructions that can be run on the processor 1002, and when the computer executable instructions are executed by the processor 1002, the following process is implemented: Receiving a contract signing request for an electronic contract sent by a terminal device of an initiator; the signing request is generated after being collected by the terminal device in response to a collection instruction submitted by the initiator through an application program; If the signing request contains the encrypted identity information of the signatory, decrypt the encrypted identity information to obtain the identity information; Verifying whether the identity information matches the target signatory in the electronic contract; If so, the electronic contract is signed according to the identity identifier of the signatory.
[0112] Another electronic contract processing device provided by this embodiment, through the cooperation of memory 1001, processor 1002, bus 1003 and communication interface 1004, during the electronic contract signing process, the server receives the contract signing request of the electronic contract sent by the initiator's terminal device, and avoids the transmission of the contract file in the public network by collecting the signing data of the signatory offline, thereby improving the data security of the electronic contract. When the signing request contains the encrypted identity information of the signatory, the encrypted identity information is decrypted to obtain the identity information. By encrypting the identity information, the security of the signatory's identity information is guaranteed, and the reliability of the electronic contract signing is improved. Then, it is verified whether the identity information matches the target signatory in the electronic contract. By pre-setting the signatory of the electronic contract, the signing error of the contract is avoided, and the reliability of the electronic contract signing is improved. When a match is found, the electronic contract is signed according to the identity identification of the signatory, and the reliability and privacy security of the electronic contract signing are improved by transmitting the encrypted identity information instead of transmitting the electronic contract.
[0113] The electronic contract processing device provided in one embodiment of this specification can implement each process in the aforementioned method embodiment and achieve the same functions and effects, which will not be repeated here.
[0114] Furthermore, another embodiment of the present specification provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store computer-executable instructions, and when the computer-executable instructions are executed by a processor, the following process is implemented: Obtaining a collection instruction for electronic contract signing submitted by the initiator through the application; If the collection instruction is a collection instruction for collecting identification codes, collect the signing identification code of the signatory; The signing identification code is parsed to obtain the encrypted identity information of the signatory, and a contract signing request carrying the encrypted identity information is generated and sent.
[0115] The computer-readable storage medium provided in this embodiment is used for the electronic contract signing process. The initiator of the contract signing submits a collection instruction for the contract signing through an application program. The terminal device of the initiator collects the signature data of the signatory in response to the collection instruction. By collecting the signature data of the signatory offline, the transmission of the contract file in the public network is avoided, thereby improving the data security of the electronic contract. When the collection instruction is a collection instruction for collecting an identification code, the signature identification code displayed by the signatory is collected, and the encrypted identity information of the signatory is obtained by parsing the signature identification code. By encrypting the identity information, the security of the signatory's identity information is guaranteed, thereby improving the reliability of the electronic contract signing. Finally, a contract signing request carrying the encrypted identity information is generated and sent. The electronic contract is transmitted instead of the encrypted identity information, thereby improving the reliability and privacy security of the electronic contract signing.
[0116] The computer-readable storage medium includes a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0117] The computer-readable storage medium provided in an embodiment of this specification can implement each process in the aforementioned method embodiment and achieve the same functions and effects, which will not be repeated here.
[0118] Furthermore, another embodiment of the present specification provides another computer-readable storage medium, wherein the computer-readable storage medium is used to store computer-executable instructions, and when the computer-executable instructions are executed by a processor, the following process is implemented: Receiving a contract signing request for an electronic contract sent by a terminal device of an initiator; the signing request is generated after being collected by the terminal device in response to a collection instruction submitted by the initiator through an application program; If the signing request contains the encrypted identity information of the signatory, decrypt the encrypted identity information to obtain the identity information; Verifying whether the identity information matches the target signatory in the electronic contract; If so, the electronic contract is signed according to the identity identifier of the signatory.
[0119] Another computer-readable storage medium provided by this embodiment, during the electronic contract signing process, the server receives the contract signing request of the electronic contract sent by the terminal device of the initiator, and avoids the transmission of the contract file in the public network by collecting the signing data of the signatory offline, thereby improving the data security of the electronic contract. When the signing request contains the encrypted identity information of the signatory, the encrypted identity information is decrypted to obtain the identity information. By encrypting the identity information, the security of the signatory's identity information is guaranteed, and the reliability of the electronic contract signing is improved. Then, it is verified whether the identity information matches the target signatory in the electronic contract. By pre-setting the signatory of the electronic contract, the signing error of the contract is avoided, and the reliability of the electronic contract signing is improved. When there is a match, the electronic contract is signed according to the identity identification of the signatory. The reliability and privacy security of the electronic contract signing are improved by transmitting the encrypted identity information instead of transmitting the electronic contract.
[0120] The computer-readable storage medium includes a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0121] The computer-readable storage medium provided in an embodiment of this specification can implement each process in the aforementioned method embodiment and achieve the same functions and effects, which will not be repeated here.
[0122] Furthermore, another embodiment of the present specification also provides a computer program product, which implements the following process when executed by a processor: Obtaining a collection instruction for electronic contract signing submitted by the initiator through the application; If the collection instruction is a collection instruction for collecting identification codes, collect the signing identification code of the signatory; The signing identification code is parsed to obtain the encrypted identity information of the signatory, and a contract signing request carrying the encrypted identity information is generated and sent.
[0123] The computer program product provided by this embodiment is that during the electronic contract signing process, the initiator of the contract signing submits a collection instruction for contract signing through an application program, and the terminal device of the initiator collects the signature data of the signatory in response to the collection instruction. By collecting the signature data of the signatory offline, the transmission of the contract document in the public network is avoided, thereby improving the data security of the electronic contract. In the case where the collection instruction is a collection instruction for collecting an identification code, the signature identification code displayed by the signatory is collected, and the signature identification code is parsed to obtain the encrypted identity information of the signatory. By encrypting the identity information, the security of the signatory's identity information is guaranteed, and the reliability of the electronic contract signing is improved. Finally, a contract signing request carrying the encrypted identity information is generated and sent, and the electronic contract is transmitted instead of the encrypted identity information, thereby improving the reliability and privacy security of the electronic contract signing.
[0124] The computer program product provided in one embodiment of this specification can implement each process in the aforementioned method embodiment and achieve the same functions and effects, which will not be repeated here.
[0125] Furthermore, another embodiment of the present specification provides another computer program product, which implements the following process when executed by a processor: Receiving a contract signing request for an electronic contract sent by a terminal device of an initiator; the signing request is generated after being collected by the terminal device in response to a collection instruction submitted by the initiator through an application program; If the signing request contains the encrypted identity information of the signatory, decrypt the encrypted identity information to obtain the identity information; Verifying whether the identity information matches the target signatory in the electronic contract; If so, the electronic contract is signed according to the identity identifier of the signatory.
[0126] Another computer program product provided by this embodiment, during the electronic contract signing process, the server receives the contract signing request of the electronic contract sent by the terminal device of the initiator, and avoids the transmission of the contract file in the public network by collecting the signing data of the signatory offline, thereby improving the data security of the electronic contract. When the signing request contains the encrypted identity information of the signatory, the encrypted identity information is decrypted to obtain the identity information. By encrypting the identity information, the security of the signatory's identity information is guaranteed, and the reliability of the electronic contract signing is improved. Then, it is verified whether the identity information matches the target signatory in the electronic contract. By pre-setting the signatory of the electronic contract, the signing error of the contract is avoided, and the reliability of the electronic contract signing is improved. When there is a match, the electronic contract is signed according to the identity identification of the signatory. The reliability and privacy security of the electronic contract signing are improved by transmitting the encrypted identity information instead of transmitting the electronic contract.
[0127] Another computer program product provided in an embodiment of this specification can implement each process in the aforementioned method embodiment and achieve the same functions and effects, which will not be repeated here.
[0128] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0129] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0130] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0131] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0132] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0133] Memory may include non-permanent storage in a computer-readable storage medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable storage medium.
[0134] Computer-readable storage media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer-readable storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable storage media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0135] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0136] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0137] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. An electronic contract processing method, characterized in that: Applied to a terminal device of an initiator, the method comprises: Obtaining a collection instruction for electronic contract signing submitted by the initiator through the application; If the collection instruction is a collection instruction for collecting identification codes, collect the signing identification code of the signatory; The signing identification code is parsed to obtain the encrypted identity information of the signatory, and a contract signing request carrying the encrypted identity information is generated and sent.
2. The electronic contract processing method according to claim 1, characterized in that: After obtaining the collection instruction for electronic contract signing submitted by the initiator through the application, the method further includes: If the acquisition instruction is an image acquisition instruction for an identity credential image, calling an image acquisition component to acquire the identity credential image of the signatory; Extract features from the identity credential image to obtain the identity information of the signatory, generate a contract signing request carrying the identity information, and send the request; Obtain the signed electronic contract and display it.
3. The electronic contract processing method according to claim 1, characterized in that: After obtaining the collection instruction for electronic contract signing submitted by the initiator through the application, the method further includes: If the collection instruction is a credential reading instruction of an identity credential, calling a near field communication component to read the identity credential of the signatory; Construct the identity information of the signatory according to the read identity credential data, generate and send a contract signing request carrying the identity information; Obtain the signed electronic contract and display it.
4. The electronic contract processing method according to claim 1, characterized in that: The signing identification code is displayed by the terminal device of the signatory in the following manner: Obtaining a display instruction for displaying an identification code corresponding to the electronic contract submitted by the signatory through the application; Generate and send an identification code acquisition request carrying the electronic contract information, receive and display the signed identification code carrying the validity period.
5. The electronic contract processing method according to claim 1, characterized in that: Also includes: Obtaining a signing instruction for electronic contract signing submitted by the initiator through the application; In response to the signing instruction, generating and sending a first signing request carrying the signing data of the initiator; Obtain the signed electronic contract and display it.
6. The electronic contract processing method according to claim 5, characterized in that: The signed data is uploaded in the following way: Generate and send a registration request in response to a registration instruction submitted by the initiator through an application; Receive the returned data collection page, and update the data collection page according to the signed data input by the initiator; The data collection page carrying the signature data input by the initiator is sent according to the confirmation instruction submitted by the initiator.
7. The electronic contract processing method according to claim 1, characterized in that: Before obtaining the collection instruction for electronic contract signing submitted by the initiator through the application, the method further includes: After detecting the trigger instruction of the creation control configured by the initiator for the contract creation page, generating and sending a contract creation request; The returned contract template is received, the contract template is edited according to the editing instruction, and the edited target contract is sent.
8. The electronic contract processing method according to claim 1, characterized in that: Before obtaining the collection instruction for electronic contract signing submitted by the initiator through the application, the method further includes: Obtaining a trigger instruction of an upload control configured by the initiator for a contract upload page; In response to the trigger instruction, the stored candidate contracts are read, and the target contract selected by the initiator from the candidate contracts is uploaded.
9. An electronic contract processing method, characterized in that: Applied to a server, the method comprises: Receiving a contract signing request for an electronic contract sent by a terminal device of an initiator; the signing request is generated after being collected by the terminal device in response to a collection instruction submitted by the initiator through an application program; If the signing request contains the encrypted identity information of the signatory, decrypt the encrypted identity information to obtain the identity information; Verifying whether the identity information matches the target signatory in the electronic contract; If so, the electronic contract is signed according to the identity identifier of the signatory.
10. The electronic contract processing method according to claim 9, characterized in that: The decrypting the encrypted identity information to obtain the identity information includes: Querying the key corresponding to the electronic contract, and decrypting the encrypted identity information based on the key to obtain decrypted identity information; Detecting whether the decrypted identity information meets the verification conditions; If not, an update reminder message of the signed identification code is generated and sent to the terminal device, and the first identity information returned by the terminal device is decrypted to obtain the identity information.
11. The electronic contract processing method according to claim 9, characterized in that: After receiving the electronic contract signing request sent by the terminal device of the initiator, the method further includes: If the signing request contains the identity information of the signatory, verify whether the identity information matches the target signatory; If so, the electronic contract is signed according to the identity identifier of the signatory, and the signed electronic contract is obtained and sent to the terminal device.
12. The electronic contract processing method according to claim 11, characterized in that: The verifying whether the identity information matches the target signatory includes: Using the identity information as input to call a verification interface of a third-party organization to perform identity verification and obtain an identity verification result; If the identity verification is successful, the match is confirmed.
13. The electronic contract processing method according to claim 9, characterized in that: Before receiving the electronic contract signing request sent by the terminal device of the initiator, the method further includes: Obtain a registration request, and call a third-party verification interface for verification based on the identity information in the registration request; If the verification is successful, the user corresponding to the identity information is added to the user database; After detecting that the user has the associated information for electronic contract signing, encrypt the user ID and the identity information returned by the interface call to obtain the encrypted identity information; The user's signing identification code is obtained by performing encoding processing based on the encrypted identity information.
14. An electronic contract processing device, characterized in that: The device comprises: A collection instruction acquisition module is used to obtain the collection instruction for electronic contract signing submitted by the initiator through the application; If the collection instruction is a collection instruction for collecting identification codes, running an identification code collection module, the identification code collection module is used to collect the signing identification code of the signatory; The signing request sending module is used to parse the signing identification code to obtain the encrypted identity information of the signatory, generate a contract signing request carrying the encrypted identity information, and send it.
15. An electronic contract processing device, characterized in that: The device comprises: A signing request receiving module, used to receive a contract signing request for an electronic contract sent by a terminal device of an initiator; the signing request is generated after being collected by the terminal device in response to a collection instruction submitted by the initiator through an application program; If the signing request contains the encrypted identity information of the signatory, running a decryption module, the decryption module is used to decrypt the encrypted identity information to obtain the identity information; An identity verification module, used to verify whether the identity information matches the target signatory in the electronic contract; If so, run a contract signing module, wherein the contract signing module is used to sign the electronic contract according to the identity identifier of the signatory.
16. An electronic contract processing device, characterized in that: The device includes a memory and a processor, wherein the memory stores computer executable instructions, and when the computer executable instructions are executed on the processor, the steps of the electronic contract processing method described in any one of claims 1 to 8 or 9 to 13 can be implemented.
17. A computer-readable storage medium having computer-executable instructions stored therein, characterized in that: When the computer executable instructions are executed by the processor, they can implement the steps of the electronic contract processing method described in any one of claims 1-8 or 9-13.
18. A computer program product, characterized in that The computer program product includes an electronic contract processing program, which, when executed by a processor, can implement the steps of the electronic contract processing method described in any one of claims 1-8 or 9-13 above.
Citation Information
Patent Citations
Method and device for processing electronic contract
CN108876299A
Contract signing method and system, terminal equipment and storage medium
CN110263581A
Electronic contract signing method and device, computer equipment and storage medium
CN111651744A
Electronic contract signing method and system based on electronic signature
CN114692219A