Electronic contract signature processing method, device, computer equipment and storage medium

The identity of the contracting parties is verified through face recognition, and the electronic contract signing is processed directly in the business system, which solves the problem of low signing efficiency in the existing technology and improves the efficiency and security of electronic contract signing.

CN109492367BActive Publication Date: 2024-08-27PING AN INT FINANCIAL LEASING CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN201811209103.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-10-17
Publication Date
2024-08-27
Estimated Expiration
2038-10-17

AI Technical Summary

Technical Problem

In the existing online electronic signing method, the signing efficiency is low. Users are required to upload identity information and electronic contracts, and the identity is not verified again when signing, resulting in low efficiency.

Method used

An electronic contract is generated by receiving the business request sent by the terminal, and facial recognition is used to verify the identity of the contracting party. After passing the verification, it is signed and stored to improve contracting efficiency.

Benefits of technology

When signing a contract, the identity is verified through facial recognition, and the electronic contract is processed directly in the business system, which improves the verification efficiency and security of the contract and simplifies the contract signing process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109492367B
    Figure CN109492367B
Patent Text Reader

Abstract

The present application relates to an electronic contract signature processing method, device, computer equipment and storage medium based on face recognition. It includes: receiving a business request sent by a terminal, generating a corresponding electronic contract after processing the business request, the electronic contract includes a contracting party identifier; sending the electronic contract to a terminal corresponding to the contracting party identifier; receiving a contract signing request sent by a terminal corresponding to the contracting party identifier, the contract signing request includes a current face image of the contracting party identifier, and authenticating the contracting party based on the current face image; after the verification is passed, a prompt message is sent to the terminal corresponding to the contracting party identifier, so that the terminal corresponding to the contracting party identifier signs the electronic contract; receiving the signature information sent by the terminal corresponding to the contracting party identifier, and verifying the signature information, after the verification is passed, the signed electronic contract is stored and sent to the terminal corresponding to the contracting party identifier. The use of this method can effectively improve the efficiency of signing electronic contracts.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to an electronic contract signature processing method, apparatus, computer equipment and storage medium based on face recognition. Background Art

[0002] With the rapid development of computer technology and e-commerce, online electronic signing methods have emerged. This signing method no longer requires the two parties to agree on a time and place to sign, which greatly reduces the signing costs of the parties and brings great convenience to users. In the existing online signing method, the user's relevant signature information is collected in advance, and the user then uploads the electronic contract or document to be signed to a third-party signing platform or signing software for signing, and then sends it to the corresponding contracting party for signing.

[0003] However, this contract signing method requires users to upload their identity information and electronic contracts or documents on a third-party contract signing platform. After the user's identity information is verified during registration, the user's identity will not be verified again during contract signing, resulting in low contract signing verification efficiency, which in turn leads to low contract signing efficiency. Therefore, how to effectively improve the efficiency of electronic contract signing has become a technical problem that needs to be solved at present. Summary of the invention

[0004] Based on this, it is necessary to provide an electronic contract signature processing method, device, computer equipment and storage medium that can effectively improve the signing efficiency of electronic contracts in response to the above technical problems.

[0005] An electronic contract signature processing method, comprising:

[0006] Receiving a service request sent by a terminal, and generating a corresponding electronic contract after processing the service request, wherein the electronic contract includes an identifier of a contracting party;

[0007] Sending the electronic contract to a terminal corresponding to the identifier of the contracting party;

[0008] receiving a signing request sent by a terminal corresponding to the contracting party identifier according to the electronic contract, the signing request including a current face image of the contracting party identifier, and performing identity authentication on the contracting party according to the current face image;

[0009] After the verification is passed, a prompt message is sent to the terminal corresponding to the contracting party identifier, so that the terminal corresponding to the contracting party identifier signs the electronic contract;

[0010] The signature information sent by the terminal corresponding to the contracting party identification is received, and the signature information is verified. After the verification is passed, the signed electronic contract is stored and sent to the terminal corresponding to the contracting party identification.

[0011] In one of the embodiments, the identity authentication of the contracting party based on the current facial image includes: obtaining a corresponding facial image from a preset database based on the contracting party identifier; obtaining a preset facial recognition model, and calculating feature values ​​corresponding to the facial image and the current facial image through the facial recognition model; when the similarity value of the feature value reaches a preset threshold, the identity authentication is passed.

[0012] In one of the embodiments, before receiving the signing request sent by the terminal corresponding to the contracting party identifier according to the electronic contract, it also includes: receiving registration requests sent by multiple terminals, the registration requests carrying user identifiers, user information and taken facial images; obtaining the corresponding facial image from a preset database according to the user identifier; obtaining a preset facial recognition model, and calculating the feature values ​​corresponding to the facial image and the facial image through the facial recognition model; when the similarity value of the feature value reaches a preset threshold, the facial verification is passed; when the facial verification is passed, obtaining the corresponding user data from the preset database according to the user identifier; comparing the user information with the user data, and when they are consistent, the identity authentication is passed, and the registration request is processed.

[0013] In one of the embodiments, before receiving the signing request sent by the terminal corresponding to the contracting party identifier according to the electronic contract, it also includes: calculating the summary value corresponding to the electronic contract through a hash algorithm; obtaining the corresponding key according to the contracting party identifier; encrypting the electronic contract according to the summary value and the key corresponding to the contracting party identifier, and sending it to the terminal corresponding to the contracting party identifier, so that the corresponding terminal decrypts the electronic contract according to preset rules and then signs it.

[0014] In one of the embodiments, the signature information includes a digital signature and a timestamp signature of the contracting party, and the verification of the signature information includes: obtaining a key corresponding to the contracting party identifier, and verifying the digital signature in the signature information according to the key; verifying the timestamp signature according to preset rules; when the digital signature and the timestamp signature are verified, it means that the signature information verification is passed.

[0015] In one of the embodiments, the server includes a master node and multiple slave nodes, and the method further includes: receiving signing requests sent by multiple terminals, the master node polling the current load weights of the multiple slave nodes to obtain the current load balance of each slave node; allocating multiple signing requests to corresponding slave nodes according to the current load balance of each slave node, so that the multiple slave nodes process the multiple signing requests respectively; after the slave node processes the multiple signing requests, it generates corresponding signing tasks and sends them to the terminal corresponding to the signing party identifier; when the terminal corresponds to multiple signing tasks, multiple threads are allocated to the multiple signing tasks, so that the corresponding terminal processes the multiple signing tasks in batches.

[0016] An electronic contract signature processing device, comprising:

[0017] A receiving module, used for receiving a service request sent by a terminal, and generating a corresponding electronic contract after processing the service request, wherein the electronic contract includes an identifier of a contracting party;

[0018] A sending module, used for sending the electronic contract to a terminal corresponding to the signatory party's identifier;

[0019] A verification module, configured to receive a signing request sent by a terminal corresponding to the contracting party identifier according to the electronic contract, wherein the signing request includes a current face image of the contracting party identifier, and perform identity authentication on the contracting party according to the current face image;

[0020] The sending module is further used to send prompt information to the terminal corresponding to the contracting party identifier after verification, so that the terminal corresponding to the contracting party identifier signs the electronic contract;

[0021] The verification module is also used to receive signature information sent by the terminal corresponding to the contracting party identification, and verify the signature information. After the verification is passed, the signed electronic contract is stored and sent to the terminal corresponding to the contracting party identification.

[0022] In one of the embodiments, the verification module is also used to obtain a corresponding facial image from a preset database based on the contracting party identifier; obtain a preset facial recognition model, and calculate the feature values ​​corresponding to the facial image and the current facial picture through the facial recognition model; when the similarity value of the feature value reaches a preset threshold, the identity authentication is passed.

[0023] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0024] Receiving a service request sent by a terminal, and generating a corresponding electronic contract after processing the service request, wherein the electronic contract includes an identifier of a contracting party;

[0025] Sending the electronic contract to a terminal corresponding to the identifier of the contracting party;

[0026] receiving a signing request sent by a terminal corresponding to the contracting party identifier according to the electronic contract, the signing request including a current face image of the contracting party identifier, and performing identity authentication on the contracting party according to the current face image;

[0027] After the verification is passed, a prompt message is sent to the terminal corresponding to the contracting party identifier, so that the terminal corresponding to the contracting party identifier signs the electronic contract;

[0028] The signature information sent by the terminal corresponding to the contracting party identification is received, and the signature information is verified. After the verification is passed, the signed electronic contract is stored and sent to the terminal corresponding to the contracting party identification.

[0029] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:

[0030] Receiving a service request sent by a terminal, and generating a corresponding electronic contract after processing the service request, wherein the electronic contract includes an identifier of a contracting party;

[0031] Sending the electronic contract to a terminal corresponding to the identifier of the contracting party;

[0032] receiving a signing request sent by a terminal corresponding to the contracting party identifier according to the electronic contract, the signing request including a current face image of the contracting party identifier, and performing identity authentication on the contracting party according to the current face image;

[0033] After the verification is passed, a prompt message is sent to the terminal corresponding to the contracting party identifier, so that the terminal corresponding to the contracting party identifier signs the electronic contract;

[0034] The signature information sent by the terminal corresponding to the contracting party identification is received, and the signature information is verified. After the verification is passed, the signed electronic contract is stored and sent to the terminal corresponding to the contracting party identification.

[0035] In the above-mentioned electronic contract signature processing method, device, computer equipment and storage medium, the server receives the business request sent by the terminal, processes the business request and generates the corresponding electronic contract, and the electronic contract includes the contracting party identification, thereby being able to effectively generate the corresponding electronic contract according to the business. The electronic contract is sent to the terminal corresponding to the contracting party identification, and the contract signing request sent by the terminal corresponding to the contracting party identification according to the electronic contract is received. The contract signing request includes the current face picture of the contracting party identification, and the identity of the contracting party is authenticated according to the current face picture; after the verification is passed, a prompt message is sent to the terminal corresponding to the contracting party identification, so that the terminal corresponding to the contracting party identification signs the electronic contract; the signature information sent by the terminal corresponding to the contracting party identification is received, and the signature information is verified. After the verification is passed, the signed electronic contract is stored and sent to the terminal corresponding to the contracting party identification. When signing, the contracting subject is authenticated through face recognition, which effectively improves the verification efficiency of the contract. The corresponding electronic contract is generated by directly processing the business request in the business system, and the contract signing system is directly called to sign the electronic contract, which effectively improves the signing efficiency of the electronic contract. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 This is an application scenario diagram of an electronic contract signature processing method in an embodiment;

[0037] Figure 2 A schematic diagram of a process for processing electronic contract signatures in one embodiment;

[0038] Figure 3 A schematic diagram of a flow chart of steps for authenticating the identity of a contracting party in one embodiment;

[0039] Figure 4 A schematic diagram of a flow chart of steps for performing distributed processing on a contract signing request in one embodiment;

[0040] Figure 5 is a structural block diagram of an electronic contract signature processing device in one embodiment;

[0041] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0043] The electronic contract signature processing method provided in this application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. Among them, the terminal 102 can be but not limited to various personal computers, laptops, smart phones, tablet computers and portable wearable devices, and the server 104 can be implemented by an independent server or a server cluster composed of multiple servers. The server 104 can receive business requests sent by multiple terminals 102, and generate corresponding electronic contracts after processing the business requests. The electronic contract includes the contracting party identification, thereby effectively generating the corresponding electronic contract according to the business. Send the electronic contract to the terminal 102 corresponding to the contracting party identification, and receive the contract signing request sent by the terminal 102 corresponding to the contracting party identification according to the electronic contract. The contract signing request includes the current face picture of the contracting party identification, and the contracting party is authenticated according to the current face picture; after the verification is passed, a prompt message is sent to the terminal 102 corresponding to the contracting party identification, so that the terminal 102 corresponding to the contracting party identification signs the electronic contract; receive the signature information sent by the terminal 102 corresponding to the contracting party identification, and verify the signature information. After the verification is passed, the signed electronic contract is stored and sent to the terminal corresponding to the contracting party identification. When signing a contract, the identity of the contracting party is verified through facial recognition, which effectively improves the efficiency of contract verification. By directly processing the business request in the business system to generate the corresponding electronic contract, and directly calling the contract system to sign the electronic contract, the efficiency of electronic contract signing is effectively improved.

[0044] In one embodiment, Figure 2 As shown, a method for processing electronic contract signature is provided, which is applied to Figure 1 The server in the example is used to illustrate the following steps:

[0045] Step 202: receiving a service request sent by a terminal, and generating a corresponding electronic contract after processing the service request. The electronic contract includes the identifier of the contracting party.

[0046] The business system may include multiple sub-business systems. For example, the insurance system may include an insurance system, an underwriting system, a verification system, and a signature system. Users may initiate business requests in the business system through the corresponding terminal, such as insurance, leasing, and loan business requests, and the business requests may include user information. After receiving the business request sent by the terminal, the server processes the business request according to the user information, and generates a corresponding electronic contract after processing. The electronic contract includes the contracting party identifier. Among them, the contracting party identifier may include multiple ones.

[0047] Step 204: Send the electronic contract to the terminal corresponding to the contracting party's identification.

[0048] Step 206: Receive a signing request sent by the terminal corresponding to the contracting party's identification according to the electronic contract. The signing request includes a current face image of the contracting party's identification, and perform identity authentication on the contracting party according to the current face image.

[0049] After the server processes the business request sent by the terminal and generates a corresponding electronic contract, the server sends the electronic contract to the terminals corresponding to the multiple contracting party identifiers.

[0050] After the terminal corresponding to the contracting party's ID receives the electronic contract sent by the server, the terminal obtains the contract signing instruction triggered by the user, and then prompts the user to take a photo in real time, and obtains the current face image of the contracting party user through the terminal's camera. After the terminal obtains the current face image of the contracting party, it sends a contract signing request for the electronic contract to the server, and the contract signing request carries the current face image of the contracting party's ID.

[0051] After the server receives the signing request sent by the terminal corresponding to the contracting party's identification according to the electronic contract, it authenticates the identity of the contracting party based on the current facial image. Specifically, the facial image of the user is obtained from a preset database according to the contracting party's identification. The preset database may be a public security database. Before receiving the signing request sent by the terminal corresponding to the contracting party's identification according to the electronic contract, the server may pre-build a facial recognition model. Then the server obtains the preset facial recognition model, inputs the current facial image of the contracting party and the obtained facial image into the facial recognition model, and calculates the feature values ​​corresponding to the facial image and the current facial image through the facial recognition model. When the similarity value of the feature value reaches the preset threshold, it indicates that the contracting party user is himself, and the identity authentication is passed.

[0052] Step 208: After the verification is passed, a prompt message is sent to the terminal corresponding to the contracting party's identity, so that the terminal corresponding to the contracting party's identity signs the electronic contract.

[0053] After the server passes the identity authentication of the contracting party based on the current face image, it sends a prompt message to the terminal corresponding to the contracting party's ID, so that the terminal corresponding to the contracting party's ID can obtain the pre-generated digital signature, sign the electronic contract with the digital signature, and add a timestamp signature. In this way, the terminal corresponding to the contracting party's ID can effectively sign the electronic contract.

[0054] Step 210, receiving the signature information sent by the terminal corresponding to the contracting party identification, and verifying the signature information. After the verification is passed, the signed electronic contract is stored and sent to the terminal corresponding to the contracting party identification.

[0055] After the terminal corresponding to the contracting party's identification signs the electronic contract, it sends the signed electronic contract and signature information to the server. The server receives the signature information sent by the terminal corresponding to the contracting party's identification and verifies the signature information. Specifically, the server verifies the digital signature and timestamp signature in the signature information to verify whether the digital signature and timestamp signature have been tampered with. When the signature information is verified, the server stores the signed electronic contract and sends it to the terminal corresponding to the contracting party's identification.

[0056] For example, when the business request is for a personal bank card business, the user first inputs the relevant user information through the corresponding terminal, and sends a business request for a personal bank card to the server through the terminal. The server generates a corresponding electronic contract after processing the personal bank card business, and sends the electronic contract to the user's terminal. When the user initiates a signing instruction through the terminal, the current face picture taken by the user in real time is obtained, and a signing request is generated and sent to the server. After the server receives the signing request sent by the user terminal, it first identifies and verifies the current face picture in the signing request to verify whether the current user is a registered user. When the user's identity authentication is passed, a prompt message that the signature can be made is sent to the user terminal, so that the user terminal signs the electronic contract. By performing facial recognition on the user to verify the user's identity before signing, the security of electronic contract signing is effectively guaranteed.

[0057] Furthermore, the electronic contract may also include corresponding contract types, and the contract types may include electronic contracts for private business and public business. Among them, the contracting parties in the electronic contract for private business may be individuals, and the contracting parties in the electronic contract for public business may be units. For example, private business may include personal savings, personal consumer credit, personal intermediary business, personal housing loans, personal investment and financial management business, bank card business, transfer business, personal electronic banking and other businesses, that is, "business for individuals". Public business may include corporate electronic banking, unit deposit business, credit business, institutional business, international business, entrusted housing finance, fund settlement, intermediary business, asset promotion, fund custody, etc., that is, "business for units".

[0058] After receiving the service request sent by the terminal, the server processes the service request and generates a corresponding electronic contract, which includes multiple contracting party identifiers and contract types. When the contract type of the electronic contract is private business, the electronic contract is signed according to the above method.

[0059] When the contract type of the electronic contract is a public business, the server processes the business request sent by the terminal and generates the corresponding electronic contract, and then sends the electronic contract to the terminals corresponding to the multiple contracting party identifiers. After the terminal corresponding to the contracting party identifier receives the electronic contract sent by the server, the corresponding terminal obtains the signing instruction triggered by the user and sends a signing request for the electronic contract to the server, and the signing request carries the contracting party information of the contracting party identifier.

[0060] After the server receives the signing request sent by the terminal corresponding to the contracting party identifier according to the electronic contract, it authenticates the identity of the contracting party according to the contracting party information. Specifically, the user data of the contracting party is obtained from the preset database according to the contracting party identifier. Among them, the preset database can be an industrial and commercial bureau database, a bank database, etc. Before receiving the signing request sent by the terminal corresponding to the contracting party identifier according to the electronic contract, the server can pre-build an evaluation model. Then the server obtains the preset evaluation model, inputs the contracting party information of the contracting party and the obtained user data into the evaluation model, and evaluates the identity, corporate status and credit information of the contracting party through the evaluation model. When the corresponding evaluation value reaches the preset threshold, it means that the operation and credit of the contracting party user are good, and the identity authentication is passed. Therefore, when the electronic contract is an electronic contract for public business, the identity of the contracting party can be effectively verified.

[0061] After the verification is passed, a prompt message is sent to the terminal corresponding to the contracting party's ID, so that the terminal corresponding to the contracting party's ID signs the electronic contract. The signature information sent by the terminal corresponding to the contracting party's ID is received and verified. After the verification is passed, the signed electronic contract is stored and sent to the terminal corresponding to the contracting party's ID. By directly processing the business request in the business system and generating the corresponding electronic contract, the signing system is called to sign the electronic contract, and the identity of the contracting party is authenticated before signing, which effectively improves the signing efficiency of the electronic contract.

[0062] Furthermore, when the parties to the electronic contract include both individuals and organizations, the identities of the parties are verified by identifying their identity types and using different methods. When the identity type corresponding to the identification of the party to the electronic contract is an individual, the above-mentioned private business processing method is used to sign the electronic contract. When the identity type corresponding to the identification of the party to the electronic contract is an organization, the above-mentioned public business processing method is used to sign the electronic contract. Thus, different identity authentication methods are used according to the different identity types of the contracting parties, which effectively improves the efficiency of the identity authentication of the contracting parties.

[0063] In the traditional way, after the user registers and verifies the identity on the third-party signing platform, the electronic contract to be signed is uploaded to the third-party signing platform for signing. This method is not connected with the specific business, and the user needs to obtain the electronic contract by himself and upload it to the third-party signing platform for signing. The business process is relatively cumbersome and unprofessional, which leads to low efficiency in signing electronic contracts. In addition, in the traditional way, after the user registers and verifies the identity on the third-party signing platform, the identity of the contracting party will not be verified again during the process of uploading the electronic contract for signing. It is possible that the identity of the contracting party is not real, resulting in low security and efficiency in signing.

[0064] In the above-mentioned electronic contract signature processing method, the server receives the business request sent by the terminal, and generates the corresponding electronic contract after processing the business request. The electronic contract includes the contracting party identification, so that the corresponding electronic contract can be effectively generated according to the business. The electronic contract is sent to the terminal corresponding to the contracting party identification, and the contract signing request sent by the terminal corresponding to the contracting party identification according to the electronic contract is received. The contract signing request includes the current face picture of the contracting party identification, and the contracting party is authenticated according to the current face picture; after the verification is passed, a prompt message is sent to the terminal corresponding to the contracting party identification, so that the terminal corresponding to the contracting party identification signs the electronic contract; the signature information sent by the terminal corresponding to the contracting party identification is received, and the signature information is verified. After the verification is passed, the signed electronic contract is stored and sent to the terminal corresponding to the contracting party identification. When signing, the contracting subject is authenticated through face recognition, which effectively improves the verification efficiency of the contract. By directly processing the business request in the business system to generate the corresponding electronic contract, and directly calling the contract signing system to sign the electronic contract, the signing efficiency of the electronic contract is effectively improved.

[0065] In one embodiment, Figure 3 As shown in the figure, the steps of authenticating the identity of the contracting party based on the current face image include the following:

[0066] Step 302: Obtain a corresponding facial image from a preset database according to the contracting party identifier.

[0067] Step 304, obtaining a preset face recognition model, and calculating feature values ​​corresponding to the face image and the current face picture through the face recognition model.

[0068] Step 306: When the similarity value of the feature value reaches a preset threshold, the identity verification is passed.

[0069] After the server processes the business request sent by the terminal and generates the corresponding electronic contract, it sends the electronic contract to the terminals corresponding to the multiple contracting party identifiers. After the terminal corresponding to the contracting party identifier receives the electronic contract sent by the server, the terminal obtains the contracting instruction triggered by the user, and the terminal prompts the user to take a real-time photo, and obtains the current face picture of the contracting party user through the terminal's shooting device. Specifically, after the terminal takes the current face picture, the server can also evaluate the shooting quality of the current face picture. The evaluation of the shooting quality can include head angle evaluation, brightness evaluation and dynamic blur evaluation. For example, the evaluation includes determining whether the head is within a preset deflection angle, whether the brightness is within a preset brightness value, and whether the blur value is within a preset range. If the shooting quality evaluation does not meet the requirements, the user is prompted to adjust the content, such as "please straighten your head", "please lower your head slightly", "please move slightly away from the camera", etc., to prompt the user to reshoot. In addition, the evaluation of shooting quality can also include determining whether the user wears thick-framed glasses or sunglasses, and whether the hair covers the ears or other facial features.

[0070] After the shooting quality assessment is passed, the terminal obtains the current face image of the contracting party and sends a signing request for the electronic contract to the server, which carries the current face image of the contracting party's ID. After the server receives the signing request sent by the terminal corresponding to the contracting party's ID according to the electronic contract, it authenticates the contracting party based on the current face image.

[0071] Specifically, the server obtains the user's facial image from a preset database according to the contracting party identifier. The contracting party identifier may include the ID number of the contracting party, the preset database may be a public security database, and the server obtains the identity information corresponding to the contracting party identifier through a corresponding interface, and the identity information includes the facial image corresponding to the ID card. Before receiving the contract signing request sent by the terminal corresponding to the contracting party identifier according to the electronic contract, the server may pre-build a facial recognition model. Then the server obtains the preset facial recognition model, inputs the current facial image of the contracting party and the acquired facial image into the facial recognition model, and calculates the feature values ​​corresponding to the facial image and the current facial image through the facial recognition model. The facial recognition process may include the steps of facial acquisition, facial feature location, facial feature extraction, and facial feature similarity comparison. The server may first collect the facial image and the facial region portion in the facial image, and further, may add corresponding coordinates to the facial region portion, detect facial features in the added coordinates, and locate the positions of facial features in the face. Facial feature positioning includes positioning multiple features of the face including organs, including positioning multiple features of the face including eyebrows, eyes, nose, mouth and the like.

[0072] Furthermore, the server extracts facial features from the current face image and the face image of the ID card, and extracts multiple feature information of each feature according to the preset extraction rules. Facial features can include parameters such as length, slope, grayscale difference, etc. to express the three-dimensional size of each part, the tilt direction, the distance from other parts, and other feature information. Facial features can be a set of feature information.

[0073] The server calculates the feature values ​​corresponding to the facial features based on multiple feature information, and performs similarity calculation on the feature values ​​of the current face image and the feature values ​​of the face image on the ID card. The similarity calculation can be to compare the two sets of feature information one by one, and define each feature information as having a certain weight, for example, the weight of important feature information is large, and the weight of secondary feature information is relatively small. When the similarity value of the feature value reaches the preset threshold, it means that the identity of the current contracting party is consistent with the identity information stored in the database, and the identity verification is passed. The feature values ​​corresponding to the face image and the current face image are calculated through the face recognition model. When the similarity value of the feature value reaches the preset threshold, it means that the contracting party user is the person himself, and the identity verification is passed.

[0074] In one embodiment, before receiving the signing request sent by the terminal corresponding to the signing party identifier, it also includes: receiving registration requests sent by multiple terminals, the registration requests carrying user identifiers, user information and taken facial images; obtaining the corresponding facial image from a preset database according to the user identifier; obtaining a preset facial recognition model, and calculating the feature values ​​corresponding to the facial image and the facial image through the facial recognition model; when the similarity value of the feature value reaches a preset threshold, the facial verification is passed; when the facial verification is passed, the corresponding user data is obtained from the preset database according to the user identifier; the user information is compared with the user data, and when they are consistent, the identity authentication is passed, and the registration request is processed.

[0075] Before handling business, users need to register in the business system or business platform and verify their identity information. Specifically, users can send a registration request to the server through the corresponding terminal, and the registration request carries the user ID, user information and a real-time facial image. After the server receives the designated registration request, it obtains the corresponding facial image from the preset database according to the user ID in the registration request. Among them, the user ID can be the user's ID card number, the preset database can be a public security database, and the server obtains the identity information corresponding to the user ID through the corresponding interface, and the identity information includes the facial image corresponding to the ID card.

[0076] Then the server obtains the preset face recognition model, inputs the face picture taken by the user and the obtained face image into the face recognition model, and calculates the feature values ​​corresponding to the face image and the face picture through the face recognition model. When the similarity value of the feature value reaches the preset threshold, it means that the user's identity information is consistent with that in the database, that is, the registered user is himself, and the face verification is passed.

[0077] Furthermore, when the face verification is passed, the corresponding user data is obtained from the preset database according to the user identification. Among them, the preset database may include a bank database, an industrial and commercial information database, and a credit platform database. The user information is compared with the user data. When they are consistent, the identity authentication is passed, and the registration request is processed. Furthermore, the server can also obtain a preset evaluation model, and use the evaluation model to perform risk and credit evaluation on the user information and user data, and then obtain the evaluation result of the user. When the evaluation result indicates that the user is not at risk, the user's identity authentication is passed. When the evaluation result indicates that the user is at risk, a prompt message indicating that the registration is not passed is sent to the corresponding terminal.

[0078] Furthermore, the server can also verify through SMS dynamic verification codes at the same time. For example, the server can simultaneously use multiple methods such as face recognition verification, business information verification, mobile phone real-name verification, bank card four elements and SMS dynamic passwords to strengthen the identity verification of registered users.

[0079] When the user's identity verification is passed, the server generates the user's digital certificate and corresponding key based on the user information, and sends the user's digital certificate and corresponding key to the user's terminal. For example, when the user is an individual user, a corresponding personal digital certificate is generated for the user; when the user is an enterprise user, a corresponding enterprise digital certificate is generated for the user. During the registration process, the efficiency of user identity verification is effectively improved by performing multiple verifications of user face recognition and user information, thereby improving the security of electronic contract signing.

[0080] In one embodiment, before receiving the signing request sent by the terminal corresponding to the contracting party identifier, it also includes: calculating the summary value corresponding to the electronic contract through a hash algorithm; obtaining the corresponding key according to the contracting party identifier; encrypting the electronic contract according to the summary value and the key corresponding to the contracting party identifier, and sending it to the terminal corresponding to the contracting party identifier, so that the corresponding terminal decrypts the electronic contract according to preset rules and then signs it.

[0081] After receiving the service request sent by the terminal, the server processes the service request according to the user information and generates a corresponding electronic contract after processing, wherein the electronic contract includes the identifier of the contracting party, wherein the identifier of the contracting party may include multiple identifiers.

[0082] After the server processes the service request sent by the terminal and generates the corresponding electronic contract, it encrypts the electronic contract. Specifically, the server can use a hash algorithm to calculate the summary value of the electronic contract. After the user completes the registration, the server will generate a corresponding digital certificate and key for the registered user, and send the generated digital certificate and key to the corresponding terminal, where the user's key can be stored in the server, for example, the user's public key can be stored in the database.

[0083] After the server calculates the summary value of the electronic contract through the hash algorithm, it obtains the user's key from the database according to the contracting party's identity, and uses the key to encrypt the summary value, thereby encrypting the electronic contract. After the server encrypts the electronic contract, it sends the electronic contract to the terminal corresponding to the contracting party's identity. After the terminal corresponding to the contracting party's identity receives the electronic contract, it decrypts the electronic contract according to the preset rules. For example, the terminal can use the same hash algorithm to summarize the electronic contract, and use the private key corresponding to the contracting party's identity to decrypt and verify it. After the terminal decrypts the electronic contract, it can perform the signature processing. By encrypting the transmitted electronic contract, the security of the electronic contract data is effectively guaranteed.

[0084] In one embodiment, the signature information includes the digital signature and timestamp signature of the contracting party, and the step of verifying the signature information includes: obtaining the key corresponding to the contracting party identifier, and verifying the digital signature in the signature information according to the key; verifying the timestamp signature according to preset rules; when the digital signature and timestamp signature are verified, it means that the signature information verification is passed.

[0085] After the server processes the business request sent by the terminal and generates the corresponding electronic contract, it sends the electronic contract to the terminals corresponding to the multiple contracting party identifiers. After the terminal corresponding to the contracting party identifier receives the electronic contract sent by the server, it sends a signing request for the electronic contract to the server, and the signing request carries the current face image of the contracting party identifier.

[0086] After receiving the signing request sent by the terminal corresponding to the contracting party identification according to the electronic contract, the server authenticates the identity of the contracting party according to the current face image. After the server passes the identity authentication of the contracting party according to the current face image, it sends a prompt message to the terminal corresponding to the contracting party identification, so that the terminal corresponding to the contracting party identification obtains the pre-generated digital signature, signs the electronic contract with the digital signature, and adds a timestamp signature. In this way, the terminal corresponding to the contracting party identification can effectively sign the electronic contract.

[0087] The terminal corresponding to the contracting party's identification will generate a signature using a preset algorithm rule during the signing of the electronic contract. For example, the terminal can obtain the current timestamp and the preset signature identification, generate a random number, generate corresponding signature information based on the timestamp, signature identification, random number and digital certificate, sign the electronic contract using the generated signature information, and encrypt the electronic contract and signature information.

[0088] After the terminal corresponding to the contracting party's identification signs the electronic contract, the signed electronic contract and signature information are sent to the server. The server receives the signature information sent by the terminal corresponding to the contracting party's identification and verifies the signature information.

[0089] Specifically, the server can calculate the signature information according to the preset algorithm rules, obtain the corresponding key according to the contracting party identifier, and verify the digital signature in the signature information according to the key of the contracting party identifier. The server also verifies the timestamp signature according to the preset rules. When the digital signature and timestamp signature are verified, it means that the signature information verification is passed. For example, when the signature information is generated according to the timestamp, signature identifier, random number and digital certificate, the server calculates the parameters in the signature information according to the corresponding algorithm rules, and then verifies the timestamp, signature identifier, random number and digital certificate respectively. When all parameters are verified, the signature information verification is passed. By verifying the signature information of the electronic contract, the security and validity of the electronic contract signature are effectively guaranteed.

[0090] In one embodiment, the server includes a master node and multiple slave nodes, and the method further includes a step of performing distributed processing on the signing request, which specifically includes the following contents:

[0091] Step 402, receiving the signing requests sent by multiple terminals, the master node polls the current load weights of multiple slave nodes to obtain the current load balance of each slave node.

[0092] The server may be a server cluster, which includes a master server and multiple slave nodes. The server may be a master server in the server cluster, i.e., a master node. After receiving a signing request sent by a terminal corresponding to the contracting party's identification according to an electronic contract, the server polls the current load weights of multiple slave nodes in the cluster to obtain the current load weight of each slave node.

[0093] Step 404: distribute the multiple contract requests to the corresponding slave nodes according to the current load balancing of each slave node, so that the multiple slave nodes process the multiple contract requests respectively.

[0094] The master node selects a corresponding slave node identifier for the contract request according to the current load weight of each slave node in the cluster, and performs smoothing on the current load weight corresponding to the selected slave node identifier, and uses the result of the smoothing process to select the slave node identifier corresponding to the next contract request, until the corresponding slave node identifiers are selected for multiple contract requests. Thus, the master node allocates multiple contract requests to the corresponding slave nodes according to the selected slave node identifiers, so that each slave node processes the allocated contract request. Specifically, each slave node processes the allocated contract request. Through smoothing, the resource consumption of the slave node to which the contract request is currently allocated can be offset to prevent repeated calculation of its load weight, thereby achieving load balancing of multiple slave nodes in the cluster.

[0095] Step 406: After processing the multiple contract signing requests, the slave node generates a corresponding contract signing task and sends it to the terminal corresponding to the contract signing party identifier.

[0096] Step 408: When the terminal corresponds to multiple contract signing tasks, multiple threads are allocated to the multiple contract signing tasks so that the corresponding terminal can process the multiple contract signing tasks in batches.

[0097] After processing the assigned signing request, multiple slave nodes generate corresponding signing tasks, add corresponding task identifiers, and send them to the terminal corresponding to the signing party identifier.

[0098] The terminal corresponding to each contracting party identification may receive multiple contracting tasks. When the contracting party identification includes multiple corresponding contracting tasks, the server allocates a corresponding thread to each contracting task according to the task identification. After the terminal corresponding to the contracting party identification receives multiple contracting tasks, it calls multiple threads corresponding to the multiple contracting tasks and uses the pre-generated digital signature to process multiple contracting tasks in batches at the same time. The server allocates multiple contracting requests according to the current load weight of each slave node, so that multiple slave nodes in the cluster can process multiple contracting requests in parallel respectively, thereby effectively improving the processing efficiency of contracting requests. By allocating multiple threads to contracting tasks, the corresponding terminal can process multiple contracting tasks in batches, which effectively improves the signing efficiency of electronic contracts.

[0099] In one embodiment, the server can process registration requests of multiple users at the same time through the big data processing platform, and perform identity authentication, as well as process signing requests of multiple electronic contracts. Among them, the server can pre-establish a distributed database, for example, a user identity information database, an industrial and commercial information database, an electronic contract database, etc. The server stores the acquired data in the corresponding database and establishes a corresponding index. When the server authenticates the user, it calls the information in the corresponding database for verification. When the server processes the electronic contract, it obtains the corresponding data from the corresponding database for processing according to the type of the electronic contract. The efficiency of electronic signing is effectively improved by performing identity authentication and processing of electronic contracts through the big data platform.

[0100] In one embodiment, after the server processes the business request sent by the terminal and generates the corresponding electronic contract, the server sends the electronic contract to the terminals corresponding to the multiple contracting party identifiers. When the terminal corresponding to the contracting party identifier receives the electronic contract sent by the server, if the terminal detects that there is a problem with the electronic contract, it sends a contract withdrawal request to the server, and the withdrawal request includes the withdrawal reason information. The server verifies the withdrawal reason information in the withdrawal request. After the verification is passed, the server adds a withdrawal mark to the electronic contract, indicating that the electronic contract is withdrawn and is in an invalid state. By verifying the withdrawal request of the electronic contract, the flexibility of the electronic contract signing is effectively improved, thereby effectively improving the efficiency of online electronic signing.

[0101] It should be understood that although Figure 2-4 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-4 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0102] In one embodiment, Figure 5 As shown, an electronic contract signature processing device is provided, including: a contract generation module 502, a contract generation module 504, an identity authentication module 506 and a signature verification module 508, wherein:

[0103] The contract generation module 502 is used to receive a business request sent by a terminal, and generate a corresponding electronic contract after processing the business request. The electronic contract includes the identifier of the contracting party;

[0104] The contract sending module 504 is used to send the electronic contract to the terminal corresponding to the contracting party's identification;

[0105] Identity verification module 506, used to receive a contract signing request sent by a terminal corresponding to the contracting party's identification according to the electronic contract, the contract signing request including a current face image of the contracting party's identification, and to perform identity verification on the contracting party according to the current face image;

[0106] The contract sending module 504 is also used to send a prompt message to the terminal corresponding to the contracting party's identifier after the verification is passed, so that the terminal corresponding to the contracting party's identifier signs the electronic contract;

[0107] The signature verification module 508 is used to receive the signature information sent by the terminal corresponding to the contracting party identification and verify the signature information. After the verification is passed, the signed electronic contract is stored and sent to the terminal corresponding to the contracting party identification.

[0108] In one embodiment, the identity authentication module 506 is also used to obtain a corresponding facial image from a preset database based on the contracting party identifier; obtain a preset facial recognition model, and calculate the feature values ​​corresponding to the facial image and the current facial image through the facial recognition model; when the similarity value of the feature value reaches a preset threshold, the identity authentication is passed.

[0109] In one embodiment, the device also includes a request receiving module for receiving registration requests sent by multiple terminals, the registration requests carrying user identification, user information and taken face pictures; the identity authentication module 506 is also used to obtain the corresponding face image from a preset database according to the user identification; obtain a preset face recognition model, and calculate the feature values ​​corresponding to the face image and the face picture through the face recognition model; when the similarity value of the feature value reaches a preset threshold, the face verification is passed; when the face verification is passed, the corresponding user data is obtained from the preset database according to the user identification; the user information is compared with the user data, and when they are consistent, the identity authentication is passed, and the registration request is processed.

[0110] In one embodiment, the device also includes a contract encryption module, which is used to calculate the summary value corresponding to the electronic contract through a hash algorithm; obtain the corresponding key according to the contracting party identifier; encrypt the electronic contract according to the summary value and the key corresponding to the contracting party identifier, and send it to the terminal corresponding to the contracting party identifier, so that the corresponding terminal decrypts the electronic contract according to preset rules and signs it.

[0111] In one embodiment, the signature information includes the digital signature and timestamp signature of the contracting party. The signature verification module 508 is also used to obtain the key corresponding to the contracting party identifier, and verify the digital signature in the signature information according to the key; verify the timestamp signature according to preset rules; when the digital signature and timestamp signature are verified, it means that the signature information verification is passed.

[0112] In one embodiment, the server includes a master node and multiple slave nodes. The device also includes a node allocation module, which is used to receive signing requests sent by multiple terminals. The master node polls the current load weights of the multiple slave nodes to obtain the current load balance of each slave node; according to the current load balance of each slave node, multiple signing requests are allocated to the corresponding slave nodes, so that the multiple slave nodes process the multiple signing requests respectively; after the slave node processes the multiple signing requests, it generates corresponding signing tasks and sends them to the terminal corresponding to the signing party identifier; the device also includes a batch processing module, which is used to allocate multiple threads to multiple signing tasks when the terminal corresponds to multiple signing tasks, so that the corresponding terminal batch processes multiple signing tasks.

[0113] The specific definition of the electronic contract signature processing device can be found in the definition of the electronic contract signature processing method above, which will not be repeated here. Each module in the above-mentioned electronic contract signature processing device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0114] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data such as electronic contracts, facial images, user information, etc. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an electronic contract signature processing method is implemented.

[0115] Those skilled in the art will understand that Figure 6The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0116] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0117] Receiving a business request sent by a terminal, and generating a corresponding electronic contract after processing the business request, wherein the electronic contract includes an identifier of a contracting party;

[0118] Sending the electronic contract to the terminal corresponding to the identification of the contracting party;

[0119] receiving a signing request sent by a terminal corresponding to the contracting party's identification according to the electronic contract, the signing request including a current face image of the contracting party's identification, and performing identity authentication on the contracting party according to the current face image;

[0120] After the verification is passed, a prompt message is sent to the terminal corresponding to the contracting party's ID, so that the terminal corresponding to the contracting party's ID signs the electronic contract;

[0121] The signature information sent by the terminal corresponding to the contracting party identification is received, and the signature information is verified. After the verification is passed, the signed electronic contract is stored and sent to the terminal corresponding to the contracting party identification.

[0122] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining a corresponding facial image from a preset database based on the contracting party identifier; obtaining a preset facial recognition model, and calculating feature values ​​corresponding to the facial image and the current facial image through the facial recognition model; when the similarity value of the feature value reaches a preset threshold, the identity authentication is passed.

[0123] In one embodiment, the processor also implements the following steps when executing the computer program: receiving registration requests sent by multiple terminals, the registration requests carrying user identification, user information and taken face pictures; obtaining the corresponding face image from a preset database according to the user identification; obtaining a preset face recognition model, and calculating the feature values ​​corresponding to the face image and the face picture through the face recognition model; when the similarity value of the feature value reaches a preset threshold, the face verification is passed; when the face verification is passed, the corresponding user data is obtained from the preset database according to the user identification; comparing the user information with the user data, and when they are consistent, the identity authentication is passed, and the registration request is processed.

[0124] In one embodiment, when the processor executes the computer program, the following steps are also implemented: calculating the summary value corresponding to the electronic contract through a hash algorithm; obtaining the corresponding key according to the contracting party identifier; encrypting the electronic contract according to the summary value and the key corresponding to the contracting party identifier, and sending it to the terminal corresponding to the contracting party identifier, so that the corresponding terminal decrypts the electronic contract according to preset rules and then signs it.

[0125] In one embodiment, the signature information includes the digital signature and timestamp signature of the contracting party, and the processor also implements the following steps when executing the computer program: obtaining the key corresponding to the contracting party identifier, and verifying the digital signature in the signature information according to the key; verifying the timestamp signature according to preset rules; when the digital signature and timestamp signature are verified, it means that the signature information verification is passed.

[0126] In one embodiment, the server includes a master node and multiple slave nodes, and the processor also implements the following steps when executing the computer program: receiving signing requests sent by multiple terminals, the master node polls the current load weights of the multiple slave nodes to obtain the current load balance of each slave node; allocating multiple signing requests to corresponding slave nodes according to the current load balance of each slave node, so that the multiple slave nodes process the multiple signing requests respectively; after the slave node processes the multiple signing requests, it generates corresponding signing tasks and sends them to the terminal corresponding to the signing party identifier; the device also includes a batch processing module, which is used to allocate multiple threads to multiple signing tasks when the terminal corresponds to multiple signing tasks, so that the corresponding terminal batch processes multiple signing tasks.

[0127] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0128] Receiving a business request sent by a terminal, and generating a corresponding electronic contract after processing the business request, wherein the electronic contract includes an identifier of a contracting party;

[0129] Sending the electronic contract to the terminal corresponding to the identification of the contracting party;

[0130] receiving a signing request sent by a terminal corresponding to the contracting party's identification according to the electronic contract, the signing request including a current face image of the contracting party's identification, and performing identity authentication on the contracting party according to the current face image;

[0131] After the verification is passed, a prompt message is sent to the terminal corresponding to the contracting party's ID, so that the terminal corresponding to the contracting party's ID signs the electronic contract;

[0132] The signature information sent by the terminal corresponding to the contracting party identification is received, and the signature information is verified. After the verification is passed, the signed electronic contract is stored and sent to the terminal corresponding to the contracting party identification.

[0133] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining a corresponding facial image from a preset database based on the contracting party identifier; obtaining a preset facial recognition model, and calculating feature values ​​corresponding to the facial image and the current facial image through the facial recognition model; when the similarity value of the feature value reaches a preset threshold, the identity authentication is passed.

[0134] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: receiving registration requests sent by multiple terminals, the registration requests carrying user identification, user information and taken face pictures; obtaining the corresponding face image from a preset database according to the user identification; obtaining a preset face recognition model, and calculating the feature values ​​corresponding to the face image and the face picture through the face recognition model; when the similarity value of the feature value reaches a preset threshold, the face verification is passed; when the face verification is passed, the corresponding user data is obtained from the preset database according to the user identification; comparing the user information with the user data, and when they are consistent, the identity authentication is passed, and the registration request is processed.

[0135] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: calculating the summary value corresponding to the electronic contract through a hash algorithm; obtaining the corresponding key according to the contracting party identifier; encrypting the electronic contract according to the summary value and the key corresponding to the contracting party identifier, and sending it to the terminal corresponding to the contracting party identifier, so that the corresponding terminal decrypts the electronic contract according to preset rules and then signs it.

[0136] In one embodiment, the signature information includes the digital signature and timestamp signature of the contracting party. When the computer program is executed by the processor, the following steps are also implemented: obtaining the key corresponding to the contracting party identifier, and verifying the digital signature in the signature information according to the key; verifying the timestamp signature according to preset rules; when the digital signature and timestamp signature are verified, it means that the signature information verification is passed.

[0137] In one embodiment, the server includes a master node and multiple slave nodes, and the computer program also implements the following steps when executed by the processor: receiving signing requests sent by multiple terminals, the master node polls the current load weights of the multiple slave nodes to obtain the current load balance of each slave node; allocating multiple signing requests to corresponding slave nodes according to the current load balance of each slave node, so that the multiple slave nodes process the multiple signing requests respectively; after the slave node processes the multiple signing requests, it generates corresponding signing tasks and sends them to the terminal corresponding to the signing party identifier; the device also includes a batch processing module, which is used to allocate multiple threads to multiple signing tasks when the terminal corresponds to multiple signing tasks, so that the corresponding terminal batch processes multiple signing tasks.

[0138] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0139] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0140] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. An electronic contract signature processing method, applied to a server, include: Receiving a service request sent by a terminal, and generating a corresponding electronic contract after processing the service request, wherein the electronic contract includes an identifier of a contracting party; Sending the electronic contract to a terminal corresponding to the identifier of the contracting party; If a contract withdrawal request sent by the terminal is received, and the contract withdrawal request includes withdrawal reason information, the withdrawal reason information is verified, and if the verification passes, the electronic contract is set to an invalid state; wherein the contract withdrawal request is generated when the terminal detects that there is a problem with the electronic contract; Receiving a contract signing request sent by the terminal corresponding to the contracting party identification according to the electronic contract, the contract signing request includes a current face picture of the contracting party identification, and authenticating the contracting party according to the current face picture, including: extracting face features from the current face picture and the face image of the corresponding ID card, extracting multiple feature information of each feature according to a preset extraction rule, and calculating a feature value corresponding to the face feature according to the multiple feature information; calculating the similarity between the feature value of the current face picture and the feature value of the face image of the corresponding ID card, and when the similarity value reaches a preset threshold, the identity authentication is passed; wherein the similarity calculation is to compare the two sets of feature information one by one, and each feature information has a corresponding weight; After the verification is passed, a prompt message is sent to the terminal corresponding to the contracting party identifier, so that the terminal corresponding to the contracting party identifier signs the electronic contract; Receiving signature information sent by the terminal corresponding to the contracting party identifier, and verifying the signature information, including: the signature information includes the digital signature and the timestamp signature of the contracting party; obtaining the key corresponding to the contracting party identifier, and verifying the digital signature in the signature information according to the key; verifying the timestamp signature according to a preset rule; when the digital signature and the timestamp signature are verified, it means that the signature information verification is passed; After verification, the signed electronic contract is stored and sent to the terminal corresponding to the identification of the contracting party; Among them, the server includes a master node and multiple slave nodes. If signing requests are received from multiple terminals, the master node polls the current load weights of the multiple slave nodes to obtain the current load balance of each slave node; multiple signing requests are allocated to corresponding slave nodes according to the current load balance of each slave node, so that multiple slave nodes can process multiple signing requests respectively; after the slave node processes the multiple signing requests, it generates corresponding signing tasks and sends them to the terminal corresponding to the signing party identifier; when the terminal corresponds to multiple signing tasks, multiple threads are allocated to the multiple signing tasks, so that the corresponding terminal can batch process multiple signing tasks.

2. The method according to claim 1, It is characterized in that The identity verification of the contracting party according to the current face image includes: Acquire a corresponding facial image from a preset database according to the contracting party identifier; Obtaining a preset face recognition model, and calculating feature values ​​corresponding to the face image and the current face picture through the face recognition model; When the similarity value of the feature value reaches a preset threshold, the identity authentication is passed.

3. The method according to claim 1, It is characterized in that Before receiving the signing request sent by the terminal corresponding to the signing party identifier according to the electronic contract, the method further includes: Receiving registration requests sent by multiple terminals, wherein the registration requests carry user identification, user information, and captured facial images; Acquire a corresponding face image from a preset database according to the user identifier; Obtain a preset face recognition model, and calculate the feature values ​​corresponding to the face image and the face picture through the face recognition model; When the similarity value of the feature value reaches a preset threshold, the face verification is passed; When the face verification is passed, the corresponding user data is obtained from the preset database according to the user identification; The user information is compared with the user data, and when they are consistent, the identity authentication is passed, and the registration request is processed.

4. The method according to any one of claims 1 to 3, It is characterized in that Before receiving the signing request sent by the terminal corresponding to the signing party identifier according to the electronic contract, the method further includes: Calculate the summary value corresponding to the electronic contract by using a hash algorithm; Acquire a corresponding key according to the contracting party identifier; The electronic contract is encrypted according to the summary value and the key corresponding to the contracting party identifier, and sent to the terminal corresponding to the contracting party identifier, so that the corresponding terminal decrypts the electronic contract according to a preset rule and then signs it.

5. The method according to claim 1, It is characterized in that The electronic contract includes corresponding contract types, and the contract types include electronic contracts for private business and public business.

6. The method according to claim 1, It is characterized in that The service request is initiated in a service system through the terminal; the service system includes multiple sub-service systems.

7. An electronic contract signature processing device, applied to a server, include: A contract generation module, used for receiving a business request sent by a terminal, and generating a corresponding electronic contract after processing the business request, wherein the electronic contract includes an identifier of a contracting party; A contract sending module, used to send the electronic contract to the terminal corresponding to the contracting party identifier; if a contract withdrawal request sent by the terminal is received, the contract withdrawal request includes withdrawal reason information, then the withdrawal reason information is verified, and if the verification passes, the electronic contract is set to an invalid state; wherein the contract withdrawal request is generated when the terminal detects that there is a problem with the electronic contract; An identity authentication module is used to receive a contract signing request sent by a terminal corresponding to the contracting party's identification according to the electronic contract, wherein the contract signing request includes a current face image of the contracting party's identification, and to authenticate the contracting party according to the current face image, including: extracting face features from the current face image and the face image of the corresponding ID card, and extracting multiple feature information of each feature according to a preset extraction rule, and calculating a feature value corresponding to the face feature according to the multiple feature information; performing similarity calculation on the feature value of the current face image and the feature value of the face image of the corresponding ID card, and when the similarity value reaches a preset threshold, the identity authentication is passed; wherein the similarity calculation is to compare the two sets of feature information one by one, and each feature information has a corresponding weight; The contract sending module is also used to send prompt information to the terminal corresponding to the contracting party identifier after verification, so that the terminal corresponding to the contracting party identifier signs the electronic contract; A signature verification module, used to receive the signature information sent by the terminal corresponding to the contracting party identifier, and verify the signature information, including: the signature information includes the digital signature and timestamp signature of the contracting party; obtaining the key corresponding to the contracting party identifier, and verifying the digital signature in the signature information according to the key; verifying the timestamp signature according to a preset rule; when the digital signature and the timestamp signature are verified, it means that the signature information is verified; after the verification is passed, the signed electronic contract is stored and sent to the terminal corresponding to the contracting party identifier; A node allocation module is used in which the server includes a master node and multiple slave nodes. If signing requests are received from multiple terminals, the master node polls the current load weights of the multiple slave nodes to obtain the current load balance of each slave node; multiple signing requests are allocated to corresponding slave nodes according to the current load balance of each slave node, so that the multiple slave nodes process the multiple signing requests respectively; after the slave node processes the multiple signing requests, it generates corresponding signing tasks and sends them to the terminal corresponding to the signing party identifier; when the terminal corresponds to multiple signing tasks, multiple threads are allocated to the multiple signing tasks, so that the corresponding terminal processes the multiple signing tasks in batches.

8. The device according to claim 7, It is characterized in that The verification module is also used to obtain a corresponding face image from a preset database according to the contracting party identifier; obtain a preset face recognition model, and calculate the feature values ​​corresponding to the face image and the current face picture through the face recognition model; When the similarity value of the feature value reaches a preset threshold, the identity authentication is passed.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Signing method, forging judgment method and tampering judgment method of electronic contract

    CN105631248A

  • System and method for performing digital signature and anticounterfeiting verification on contract

    CN105844481A

  • Electronic contract signing method and system

    CN106301782A

  • Method and system for fixing electronic evidence and user identity by blockchain

    CN106779385A

  • Electronic contract creating and signing method and system

    CN107133777A