CN110942382B - Electronic contract generation method and device, computer equipment and storage medium - Google Patents

Electronic contract generation method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN110942382B
CN110942382B CN201910979190.9A CN201910979190A CN110942382B CN 110942382 B CN110942382 B CN 110942382B CN 201910979190 A CN201910979190 A CN 201910979190A CN 110942382 B CN110942382 B CN 110942382B
Authority
CN
China
Prior art keywords
fingerprint image
client
electronic
electronic signature
encrypted data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910979190.9A
Other languages
Chinese (zh)
Other versions
CN110942382A (en
Inventor
陈爽
戴广宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910979190.9A priority Critical patent/CN110942382B/en
Publication of CN110942382A publication Critical patent/CN110942382A/en
Application granted granted Critical
Publication of CN110942382B publication Critical patent/CN110942382B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/18Legal services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Economics (AREA)
  • Tourism & Hospitality (AREA)
  • Theoretical Computer Science (AREA)
  • Marketing (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Technology Law (AREA)
  • Primary Health Care (AREA)
  • Human Resources & Organizations (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Development Economics (AREA)
  • Collating Specific Patterns (AREA)

Abstract

The invention discloses a method for generating an electronic contract, which comprises the following steps: receiving a service request sent by a client, wherein the service request comprises identity information of the client and a to-be-handled service identifier; acquiring a corresponding electronic contract template according to the to-be-handled service identifier, and returning the electronic contract template to a client; receiving an electronic signature and a fingerprint image to be verified, which correspond to the electronic contract template and are sent by a client; acquiring a prestored electronic signature and fingerprint image of the client from a blockchain network according to the identity information of the client; comparing the electronic signature to be verified and the fingerprint image with a prestored electronic signature and fingerprint image respectively; and if the electronic signature and the fingerprint image to be verified are consistent with the prestored electronic signature and the prestored fingerprint image, generating an electronic contract according to the electronic contract template, the verified electronic signature and the verified fingerprint image. The invention solves the problem of lower security of the user identity verification in the existing electronic signature mode.

Description

Electronic contract generation method and device, computer equipment and storage medium
Technical Field
The present invention relates to the field of information technologies, and in particular, to a method and apparatus for generating an electronic contract, a computer device, and a storage medium.
Background
During the business of banks and clients, a large number of electronic business certificates are generated. These electronic service vouchers include both the service content and the signature information of the client on the service vouchers. The client needs to pre-store the corresponding signature information in different banks so as to verify the electronic signature submitted by the current client when the banks generate the electronic service certificates. However, in the prior art, different banks independently manage their own customer data, and the banks cannot share the customer data; and each bank stores the signature information of the client in a local server, so that the signature information of the client is easy to be tampered or illegally stolen by other people, and the signature information of the client can be lost when the server is attacked. Signature information is taken as private information of clients, access to the private information is not registered or monitored in the prior art, and the security is poor. The security of verifying the client based on locally stored client signature information is low.
Therefore, finding a method for improving the security of the user identity verification in the existing electronic signature manner is a technical problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The embodiment of the invention provides a method, a device, terminal equipment and a storage medium for generating an electronic contract, which are used for solving the problem of low security of user identity verification in the existing electronic signature mode.
A method of generating an electronic contract, comprising:
Receiving a service request sent by a client, wherein the service request comprises identity information of the client and a to-be-handled service identifier;
Acquiring a corresponding electronic contract template according to the to-be-handled service identifier, and returning the electronic contract template to the client;
Receiving an electronic signature and a fingerprint image to be verified, which correspond to the electronic contract template and are sent by the client;
Acquiring a prestored electronic signature and fingerprint image of the client from a blockchain network according to the identity information of the client;
comparing the electronic signature to be verified and the fingerprint image with a prestored electronic signature and fingerprint image respectively;
And if the electronic signature and the fingerprint image to be verified are consistent with the prestored electronic signature and fingerprint image, generating an electronic contract according to the electronic contract template and the verified electronic signature and fingerprint image.
Further, the receiving the electronic signature and the fingerprint image to be verified, which correspond to the electronic contract template and are sent by the client, includes:
Receiving a plurality of encrypted data packets corresponding to an electronic signature to be verified and a fingerprint image sent by the client according to the electronic contract template, wherein each encrypted data packet carries a serial number;
generating an encryption/decryption key according to the identity information of the client and the electronic signature, and decrypting the encrypted data packet with the minimum sequence number by adopting the encryption/decryption key to obtain a fingerprint image fragment with the minimum sequence number and the encryption/decryption key of the next encrypted data packet;
decrypting the encrypted data packet with the smallest sequence number in the rest encrypted data packets by adopting the encryption/decryption key of the next encrypted data packet, and the like until the decryption of all the encrypted data packets is completed, so as to obtain fingerprint image fragments in all the encrypted data packets;
And splicing the fingerprint image fragments from small to large according to the sequence number to obtain the fingerprint image corresponding to the electronic contract template.
Further, the obtaining the electronic signature and the fingerprint image pre-stored by the client from the blockchain network according to the identity information of the client comprises:
Sending a first acquisition request to another server of the blockchain network node where the server is located, wherein the first acquisition request comprises an electronic certificate of the server and identity information of a client, so that the other server performs authority verification according to the electronic certificate of the server, and searches an electronic signature and a fingerprint image prestored by the client according to the identity information of the client when verification is passed;
And receiving a prestored electronic signature and fingerprint image returned by the other server according to the identity information of the client.
Further, the obtaining the electronic signature and the fingerprint image pre-stored by the client from the blockchain network according to the identity information of the client comprises:
sending a second acquisition request to the blockchain network, wherein the second acquisition request comprises an electronic certificate of the server and identity information of a client, so that nodes on the blockchain network perform consensus verification according to the electronic certificate of the server, and search an electronic signature and a fingerprint image prestored by the client according to the identity information of the client when verification is passed;
and receiving a prestored electronic signature and fingerprint image returned by the blockchain network according to the identity information of the client.
Further, after acquiring the electronic signature and fingerprint image pre-stored by the client from the blockchain network according to the identity information of the client, the method further comprises:
Sending an acquisition record uplink request to the blockchain network, wherein the acquisition record uplink request comprises an electronic certificate of the server, so that nodes on the blockchain network perform consensus verification on the electronic certificate, and when verification is passed, adding a block to store the prestored acquisition record of the electronic signature and the fingerprint image in the blockchain;
and receiving the acquisition record uplink result returned by the block chain network.
Further, after generating an electronic contract from the electronic contract template and the verified electronic signature and fingerprint image, the method further comprises:
Sending an electronic contract uplink request to the blockchain network, wherein the electronic contract uplink request comprises an electronic certificate of a server, a verified electronic signature, a fingerprint image and an electronic contract, so that nodes on the blockchain network carry out consensus verification on the electronic certificate of the server, and when verification is passed, blocks are added in the blockchain to store the verified electronic signature, the verified fingerprint image and the electronic contract;
And receiving an electronic contract uplink result returned by the block chain network.
An electronic contract generation apparatus, comprising:
the service receiving module is used for receiving a service request sent by the client, wherein the service request comprises identity information of the client and a to-be-handled service identifier;
the template acquisition module is used for acquiring a corresponding electronic contract template according to the to-be-handled service identifier and returning the electronic contract template to the client;
The information receiving module to be verified is used for receiving an electronic signature and a fingerprint image to be verified, which correspond to the electronic contract template and are sent by the client;
the pre-stored information acquisition module is used for acquiring the electronic signature and the fingerprint image pre-stored by the client from the blockchain network according to the identity information of the client;
The comparison module is used for comparing the electronic signature to be verified and the fingerprint image with a prestored electronic signature and a prestored fingerprint image respectively;
and the contract generation module is used for generating an electronic contract according to the electronic contract template and the verified electronic signature and fingerprint image if the electronic signature and fingerprint image to be verified are consistent with the prestored electronic signature and fingerprint image.
Further, the pre-stored information acquisition module includes:
The first request unit is used for sending a first acquisition request to another server of the blockchain network node where the server is located, wherein the first acquisition request comprises an electronic certificate of the server and identity information of a client, so that the other server performs authority verification according to the electronic certificate of the server, and searches a prestored electronic signature and fingerprint image of the client according to the identity information of the client when verification passes;
The first receiving unit is used for receiving a prestored electronic signature and fingerprint image returned by the other server according to the identity information of the client; and/or
The second request unit is used for sending a second acquisition request to the blockchain network, wherein the second acquisition request comprises the electronic certificate of the server and the identity information of the client, so that nodes on the blockchain network perform consensus verification according to the electronic certificate of the server, and when verification passes, the electronic signature and the fingerprint image prestored by the client are searched according to the identity information of the client;
and the second receiving unit is used for receiving the prestored electronic signature and fingerprint image returned by the blockchain network according to the identity information of the client.
A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method of generating an electronic contract as described above when the computer program is executed.
A computer readable storage medium storing a computer program which, when executed by a processor, performs the steps of the method of generating an electronic contract as described above.
The embodiment of the invention introduces a blockchain into a transaction flow of a bank, stores a prestored electronic signature and fingerprint image of a client in a blockchain network in advance, and returns the electronic contract template to the client when receiving a service request sent by the client and obtaining identity information and a to-be-handled service identifier of the client; then receiving an electronic signature and a fingerprint image to be verified, which are sent by the client according to the electronic contract template; then, according to the identity information of the client, acquiring the electronic signature and the fingerprint image prestored by the client from a blockchain network; finally, comparing the electronic signature and the fingerprint image to be verified with a prestored electronic signature and fingerprint image; and if the electronic signature and the fingerprint image to be verified are consistent with the prestored electronic signature and fingerprint image, the identity information of the client passes verification, and an electronic contract is generated according to the electronic contract template and the verified electronic signature and fingerprint image. The invention increases the verification of the fingerprint image, stores the electronic signature and the fingerprint image by using the blockchain network, improves the security of the verification of the client identity by the existing electronic signature mode, ensures that the electronic signature and the fingerprint image of different users are difficult to steal and tamper, and can ensure the security of the electronic signature and the fingerprint image even if the storage server is broken.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments of the present invention will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method of generating an electronic contract according to an embodiment of the invention;
FIG. 2 is a flowchart of step S103 in the method for generating an electronic contract according to an embodiment of the present invention;
FIG. 3 is a flowchart of step S104 in the method for generating an electronic contract according to an embodiment of the present invention;
FIG. 4 is another flowchart of step S104 in the method for generating an electronic contract according to an embodiment of the present invention;
FIG. 5 is a flow chart of a method for generating an electronic contract to obtain record chaining in accordance with an embodiment of the present invention;
FIG. 6 is a flow chart of the uplink of electronic contracts in the method of generating electronic contracts according to an embodiment of the present invention;
FIG. 7 is a schematic block diagram of an electronic contract generation apparatus in accordance with an embodiment of the present invention;
FIG. 8 is a schematic diagram of a computer device in accordance with an embodiment of the invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The method for generating the electronic contract provided by the embodiment of the invention is described in detail below. The embodiment of the invention introduces the blockchain into the business flow of the bank, and the method for generating the electronic contract generates the electronic contract for the bank and simultaneously the client signs the electronic contract, which comprises the verification process of the bank organization on the identity of the client. In the embodiment of the invention, the method for generating the electronic contract is applied to a server of a banking institution. The server can be communicated with clients such as computer equipment and self-service terminals in front of a counter to acquire service requests of the clients, and can be communicated with node servers on a blockchain network to acquire stored electronic signatures and fingerprint images prestored by the clients. According to the embodiment of the invention, the electronic signatures and the fingerprint images prestored by the clients are stored in the blockchain network in advance, so that the electronic signatures and the fingerprint images of different users are difficult to steal and tamper, the safety of the electronic signatures and the fingerprint images can be ensured even if the storage server is broken, and the safety of the client identity verification by the existing electronic signature mode is improved. The method for generating the electronic contract provided by the embodiment of the invention is described in detail below. As shown in fig. 1, the electronic signature method includes:
in step S101, a service request sent by a client is received, where the service request includes identity information of the client and a to-be-handled service identifier.
The client refers to a terminal device which can interact with a user to obtain a service request relative to a server, and the terminal device comprises, but is not limited to, a computer device, a self-service terminal and an intelligent terminal. The customer's identity information includes, but is not limited to, identification card numbers, passport numbers, port Australian pass numbers, driver license numbers for identifying the customer. The to-be-handled service identifier refers to identification information of banking services applied for handling by clients and is used for distinguishing different services. Illustratively, the services include, but are not limited to, borrowing services, securities investment services, clearing services, payment settlement services, escrow services, vouchering services, and the like.
In step S102, a corresponding electronic contract template is obtained according to the to-be-handled service identifier, and the electronic contract template is returned to the client.
In the embodiment of the invention, the electronic contract templates corresponding to different services are stored in the server. For a to-be-handled business needing to sign an electronic contract, the embodiment of the invention obtains an electronic contract template corresponding to the to-be-handled business according to the to-be-handled business identifier. And sending the electronic contract template to the client for the bank client in front of the client to read and guide the signature thereof.
In step S103, an electronic signature and a fingerprint image to be verified, which correspond to the electronic contract template and are sent by the client side, are received.
And the client receives the electronic contract template returned by the server and displays the electronic contract template for the bank client to read. After the bank client reads the electronic contract template, the electronic signature can be input through preset signature software, and the fingerprint image can be input through a preset fingerprint collector, so that the electronic contract can be signed. The client receives the electronic signature and the fingerprint image input by the current bank client and sends the electronic signature and the fingerprint image to the server for verification. And the server receives the electronic signature and the fingerprint image which are sent by the client to be verified.
Optionally, as a preferred example of the present invention, in order to improve security of transmission of a fingerprint image between a client and a server, an embodiment of the present invention performs encrypted transmission of the fingerprint image. Fig. 2 shows a specific implementation flow of step S103 in the method for generating an electronic contract according to the embodiment of the present invention. As shown in fig. 3, the step S103 of receiving the electronic signature and the fingerprint image to be verified, which correspond to the electronic contract template and are sent by the client, includes:
in step S201, a plurality of encrypted data packets corresponding to the electronic signature to be verified and the fingerprint image sent by the client according to the electronic contract template are received, where each encrypted data packet carries a serial number.
The client firstly divides the fingerprint image into a plurality of segments, and allocates a sequence number to each fingerprint image segment according to the sequence in the fingerprint image formed by each segment, wherein the allocated sequence number of the first fingerprint image segment divided is the smallest, the allocated sequence number of the second fingerprint image segment is larger than the former sequence number, and so on, and the allocated sequence number of the last fingerprint image segment is the largest. Each fingerprint image segment is then encrypted, each fingerprint image segment corresponding to a different encryption/decryption key. When an encrypted data packet corresponding to the fingerprint image is generated, the client firstly encrypts the fingerprint image fragment with the largest sequence number by adopting an encryption/decryption key of the fingerprint image fragment with the largest sequence number to obtain the encrypted data packet with the largest sequence number; then, encrypting the encryption/decryption key of the fingerprint image segment with the largest sequence number and the fingerprint image segment with the largest sequence number by adopting the encryption/decryption key corresponding to the fingerprint image segment with the largest sequence number to obtain an encrypted data packet with the largest sequence number; and similarly, for the fingerprint image segment with the minimum sequence number, encrypting the encryption/decryption key of the fingerprint image segment with the minimum sequence number and the fingerprint image segment with the minimum sequence number by adopting the encryption/decryption key corresponding to the fingerprint image segment with the minimum sequence number to obtain an encrypted data packet with the minimum sequence number. The encryption/decryption keys corresponding to the fingerprint image segments with the minimum sequence number are obtained by adopting a secret key algorithm according to the identity information of the client and the electronic signature, and the encryption/decryption keys corresponding to other fingerprint image segments are generated by using random numbers.
Thus, the client only needs to send the plurality of encrypted data packets and serial numbers thereof corresponding to the electronic signature to be verified and the fingerprint image to the server. Through carrying out orderly split to fingerprint image and being a plurality of encryption data package and transmitting again, even the fingerprint image transmission in-process has been stolen partial data package, the party of stealing also can't decrypt the data package, is favorable to improving the security in the fingerprint image transmission process.
The server receives the plurality of encrypted data packets and serial numbers thereof corresponding to the electronic signature to be verified and the fingerprint image from the client, so that the data transmission quantity is reduced.
In step S202, an encryption/decryption key is generated according to the identity information of the client and the electronic signature, and the encryption/decryption key is used to decrypt the encrypted data packet with the smallest sequence number, so as to obtain the fingerprint image segment with the smallest sequence number and the encryption/decryption key of the next encrypted data packet.
As described above, the encryption/decryption key corresponding to the fingerprint image segment with the smallest sequence number is obtained by calculating according to the identity information and the electronic signature of the client by using the secret key algorithm, the server can generate the encryption/decryption key according to the identity information and the electronic signature of the client by using the secret key algorithm, and the encryption/decryption key is used for decrypting the encrypted data packet with the smallest sequence number to obtain the fingerprint image segment with the smallest sequence number and the encryption/decryption key of the next encrypted data packet. The next encrypted data packet is the encrypted data packet corresponding to the fingerprint image fragment with the small sequence number.
In step S203, the encryption/decryption key of the next encrypted data packet is used to decrypt the encrypted data packet with the smallest sequence number in the remaining encrypted data packets, and so on, until decryption of all the encrypted data packets is completed, so as to obtain fingerprint image segments in all the encrypted data packets.
Here, the encryption/decryption key of the next encrypted data packet obtained in step S202 is the encryption/decryption key corresponding to the next encrypted data packet to be decrypted. The encrypted data packet with the smallest sequence number is decrypted, the encrypted data packet with the smallest sequence number in the rest encrypted data packets is the next encrypted data packet to be decrypted, the server acquires the encrypted data packet with the smallest sequence number from the rest encrypted data packets, so as to obtain the next encrypted data packet to be decrypted, and then the next encrypted data packet to be decrypted is decrypted by adopting the encryption/decryption key of the next encrypted data packet obtained in the step S202, so as to obtain the fingerprint image fragment and the encryption/decryption key of the next encrypted data packet. And continuing to decrypt the encrypted data packet with the minimum sequence number in the rest encrypted data packets by using the encryption/decryption key of the next encrypted data packet until fingerprint image fragments in all the encrypted data packets are obtained.
In step S204, the fingerprint image segments are spliced from small to large according to the sequence number, so as to obtain a fingerprint image corresponding to the electronic contract template.
And after obtaining fingerprint images of all the encrypted data packets, splicing the fingerprint image fragments from small to large according to the sequence numbers of the fingerprint images so as to reconstruct the fingerprint images.
According to the embodiment of the invention, the fingerprint image is orderly split into a plurality of encrypted data packets for transmission, so that even if part of the data packets are stolen in the transmission process of the fingerprint image, the data packets cannot be decrypted by a stealer, and the security in the transmission process of the fingerprint image is improved. Each encrypted data packet includes a fingerprint image fragment and an encryption/decryption key for the next encrypted data packet. The encryption/decryption key of the encrypted data packet with the minimum sequence number is generated by the server according to the electronic signature and the identity information of the client, and then the server acquires the encryption/decryption key of the next encrypted data packet according to the decrypted encrypted data packet so as to decrypt the next encrypted data packet, thereby enhancing the confidentiality of the key of the encrypted data packet and solving the problem of key distribution security.
In step S104, the electronic signature and the fingerprint image pre-stored by the client are obtained from the blockchain network according to the identity information of the client.
In the embodiment of the invention, a plurality of electronic signatures and fingerprint images prestored by clients are stored on a blockchain network, and in order to facilitate distinguishing, the embodiment of the invention stores the electronic signatures and the fingerprint images prestored by the clients in association with the identity information of the clients. And after the identity information of the client is obtained, acquiring the electronic signature and the fingerprint image prestored by the client from the blockchain network by taking the identity information as an index.
Optionally, the blockchain network includes a plurality of nodes, each node includes one or more servers, and the electronic signature and the fingerprint image pre-stored by the client may be stored on another server of the node where the server is located or may be stored on another node of the blockchain network.
As a preferred example of the present invention, when the electronic signature and the fingerprint image pre-stored by the client are stored on another server of the node where the server is located, as shown in fig. 3, the step S104 includes:
In step S301, a first acquisition request is sent to another server of the blockchain network node where the server is located, where the first acquisition request includes an electronic certificate of the server and identity information of a client, so that the other server performs permission verification according to the electronic certificate of the server, and searches for an electronic signature and a fingerprint image pre-stored by the client according to the identity information of the client when verification passes.
Here, the first acquisition request is for acquiring a pre-stored electronic signature and fingerprint image from the other server. When the electronic signature and the fingerprint image prestored by the client are stored on another server of the blockchain node where the server is located, the server sends a first acquisition request to the other server. The first acquisition request comprises an electronic certificate of the server and identity information of a client, wherein the electronic certificate of the server is used for carrying out authority verification on the server by the other server, and the identity information of the client is used for searching an electronic signature and a fingerprint image prestored by the client when verification is passed.
And when the authority verification of the other server to the server is passed, responding to the first acquisition request, and sending the electronic signature and the fingerprint image prestored by the client to the server.
In step S302, a pre-stored electronic signature and fingerprint image returned by the other server according to the identity information of the client is received.
The above-described embodiments enable the retrieval of pre-stored electronic signatures and fingerprint images based on the retrieval from another server of the same node of the blockchain network. It can be appreciated that when a banking institution accesses a node on the blockchain network and updates the prestored electronic signature and fingerprint image to the server, the above embodiment realizes that the client data is directly read from the blockchain network, and the security of reading the client data is improved by performing authority verification on the requester when the client data is read.
As a preferred example of the present invention, when the electronic signature and fingerprint image pre-stored by the client are stored on another node of the blockchain network, as shown in fig. 4, the step S104 includes:
In step S401, a second acquisition request is sent to the blockchain network, where the second acquisition request includes the electronic certificate of the server and the identity information of the client, so that the node on the blockchain network performs consensus verification according to the electronic certificate of the server, and searches the electronic signature and the fingerprint image pre-stored by the client according to the identity information of the client when verification passes.
Here, the second acquisition request is for acquiring a pre-stored electronic signature and fingerprint image from a blockchain network. The server sends a second acquisition request to the blockchain network when the client pre-stored electronic signature and fingerprint image are stored on another node of the blockchain network. The second acquisition request comprises an electronic certificate of the server and identity information of a client, wherein the electronic certificate of the server is used for carrying out consensus verification on the server by a node on a blockchain network, and the identity information of the client is used for searching an electronic signature and a fingerprint image prestored by the client when verification is passed.
And when the node on the blockchain network agrees with the server and the authentication passes, the blockchain network responds to the second acquisition request and sends the electronic signature and the fingerprint image prestored by the client to the server.
In step S402, a pre-stored electronic signature and fingerprint image returned by the blockchain network according to the identity information of the client is received.
The above-described embodiments enable the retrieval of pre-stored electronic signatures and fingerprint images based on the retrieval from another node of a blockchain network. It can be appreciated that when different banking institutions access a node on the blockchain network respectively, the above embodiment realizes sharing of client data among different banking institutions, and transparency and security of the shared client data are improved by performing consensus check on a requester when the client data are shared.
Optionally, as another preferred example of the present invention, after obtaining the pre-stored electronic signature and fingerprint image, the method further includes the step of linking the acquisition record. Fig. 5 shows a flowchart of an implementation of obtaining a record uplink according to an embodiment of the present invention. As shown in fig. 5, the method may further include:
In step S501, an acquisition record uplink request is sent to the blockchain network, where the acquisition record uplink request includes an electronic credential of the server, so that a node on the blockchain network performs consensus verification on the electronic credential, and when the verification passes, a block is added in the blockchain to store the pre-stored electronic signature and the acquisition record of the fingerprint image.
The server sends a request for obtaining a record uplink to the blockchain network, wherein the request for obtaining the record uplink is used for requesting to write the obtained record of the electronic signature and the fingerprint image into the blockchain. And the acquisition record uplink request carries the electronic certificate of the server. The electronic certificate of the server is used for carrying out consensus verification on the server by nodes on a blockchain network.
And each node in the blockchain network performs consensus verification on the electronic certificate of the server, if the electronic certificate passes the consensus verification, the blockchain allows the acquisition record to be requested to be uplink, and the prestored electronic signature and the acquisition record of the fingerprint image are stored through adding blocks. And if the consensus verification is not passed, refusing to acquire the record uplink request.
In step S502, the acquisition record uplink result returned by the blockchain network is received.
Therefore, through the steps S501 and S502, the access records of the electronic signature and the fingerprint image are stored in the blockchain, so that traceability of the access records of the electronic signature and the fingerprint image is realized, access of the electronic signature and the fingerprint image is ensured, and the security of a banking business handling process is improved.
In step S105, the electronic signature and the fingerprint image to be verified are compared with pre-stored electronic signature and fingerprint image, respectively.
Here, the embodiment of the invention compares the electronic signature to be verified, the prestored electronic signature, the fingerprint image to be verified and the prestored fingerprint image respectively.
In step S106, if the electronic signature and the fingerprint image to be verified are consistent with the prestored electronic signature and fingerprint image, an electronic contract is generated according to the electronic contract template and the verified electronic signature and fingerprint image.
And (S105) comparing, if the electronic signature to be verified is consistent with the prestored electronic signature and the fingerprint image to be verified is consistent with the prestored fingerprint image, and the identity information of the client is verified, associating the electronic contract template with the verified electronic signature and the fingerprint image to generate an electronic contract.
According to the embodiment of the invention, the verification of the fingerprint image is increased, the block chain network is used for storing the electronic signature and the fingerprint image, so that the security of the verification of the client identity by the existing electronic signature mode is improved, the electronic signatures and the fingerprint images of different users are difficult to steal and tamper, the security of the electronic signature and the fingerprint image can be ensured even if the storage server is broken, and the security of the verification of the client identity by the existing electronic signature mode is effectively improved.
Optionally, as another preferred example of the present invention, after obtaining the electronic contract, further includes the step of linking the electronic contract. Fig. 6 shows a flow of implementing the electronic integrated uplink according to the embodiment of the present invention, and as shown in fig. 6, the method may further include:
in step S601, an electronic contract uplink request is sent to the blockchain network, where the electronic contract uplink request includes an electronic certificate of a server, a verified electronic signature, a fingerprint image and an electronic contract, so that nodes on the blockchain network perform consensus verification on the electronic certificate of the server, and when the verification passes, a block is added in the blockchain to store the verified electronic signature, the fingerprint image and the electronic contract.
The server sends an electronic contract uplink request to the blockchain network, wherein the electronic contract uplink request is used for requesting the generated electronic contract, the verified electronic signature and the fingerprint image to be written into the blockchain. The electronic certificate of the server is carried in the electronic contract uplink request and is used for carrying out consensus verification on the server by nodes on a blockchain network.
Each node in the blockchain network performs consensus verification on the electronic certificate of the server, if the electronic certificate passes the consensus verification, the blockchain allows the electronic contract to be requested to be uplink, and the electronic contract, the verified electronic signature and the fingerprint image are stored through adding blocks. If the consensus verification is not passed, rejecting the electronic consensus uplink request. It will be appreciated that the electronic contract, verified electronic signature and fingerprint image may be stored in an encrypted or unencrypted manner on the blockchain, requiring the requestor to use the key to decrypt when stored in an encrypted manner.
In step S602, an electronic contract uplink result returned by the blockchain network is received.
Therefore, through steps S601 and S602, the signed electronic contract is stored in the blockchain, or the electronic signature, the fingerprint image and the signed electronic contract uploaded by the client are stored in the blockchain together, so that traceability of the electronic contract, the verified electronic signature and the fingerprint image is realized, the electronic contract is prevented from being stolen and tampered, and the signing security of the electronic contract is improved.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present invention.
In an embodiment, an electronic contract generating apparatus is provided, where the electronic contract generating apparatus corresponds to the electronic contract generating method in the above embodiment one by one. As shown in fig. 7, the apparatus for generating an electronic contract includes a service receiving module 71, a template acquiring module 72, an information to be verified receiving module 73, a pre-stored information acquiring module 74, a comparing module 75, and a contract generating module 76. The functional modules are described in detail as follows:
The service receiving module 71 is configured to receive a service request sent by a client, where the service request includes identity information of the client and a to-be-handled service identifier;
The template obtaining module 72 is configured to obtain a corresponding electronic contract template according to the to-be-handled service identifier, and return the electronic contract template to the client;
The to-be-verified information receiving module 73 is configured to receive an electronic signature to be verified and a fingerprint image corresponding to the electronic contract template sent by the client;
a prestored information acquisition module 74, configured to acquire an electronic signature and a fingerprint image prestored by the client from a blockchain network according to the identity information of the client;
A comparison module 75, configured to compare the electronic signature to be verified and the fingerprint image with a pre-stored electronic signature and fingerprint image, respectively;
and the contract generation module 76 is used for generating an electronic contract according to the electronic contract template and the verified electronic signature and fingerprint image if the electronic signature and fingerprint image to be verified are consistent with the prestored electronic signature and fingerprint image.
Optionally, the information receiving module to be verified 73 includes:
the receiving unit is used for receiving a plurality of encrypted data packets corresponding to the electronic signature to be verified and the fingerprint image, which are sent by the client according to the electronic contract template, wherein each encrypted data packet carries a serial number;
The decryption unit is used for generating an encryption/decryption key according to the identity information of the client and the electronic signature, and decrypting the encrypted data packet with the minimum sequence number by adopting the encryption/decryption key to obtain a fingerprint image fragment with the minimum sequence number and the encryption/decryption key of the next encrypted data packet;
The decryption unit is further configured to: decrypting the encrypted data packet with the smallest sequence number in the rest encrypted data packets by adopting the encryption/decryption key of the next encrypted data packet, and the like until the decryption of all the encrypted data packets is completed, so as to obtain fingerprint image fragments in all the encrypted data packets;
and the splicing unit is used for splicing the fingerprint image fragments from small to large according to the sequence number to obtain the fingerprint image corresponding to the electronic contract template.
Optionally, the pre-stored information obtaining module 74 includes:
The first request unit is used for sending a first acquisition request to another server of the blockchain network node where the server is located, wherein the first acquisition request comprises an electronic certificate of the server and identity information of a client, so that the other server performs authority verification according to the electronic certificate of the server, and searches a prestored electronic signature and fingerprint image of the client according to the identity information of the client when verification passes;
The first receiving unit is used for receiving a prestored electronic signature and fingerprint image returned by the other server according to the identity information of the client; and/or
The second request unit is used for sending a second acquisition request to the blockchain network, wherein the second acquisition request comprises the electronic certificate of the server and the identity information of the client, so that nodes on the blockchain network perform consensus verification according to the electronic certificate of the server, and when verification passes, the electronic signature and the fingerprint image prestored by the client are searched according to the identity information of the client;
and the second receiving unit is used for receiving the prestored electronic signature and fingerprint image returned by the blockchain network according to the identity information of the client.
Optionally, the apparatus further comprises:
A record uplink request module, configured to send an acquire record uplink request to the blockchain network, where the acquire record uplink request includes an electronic credential of the server, so that a node on the blockchain network performs consensus verification on the electronic credential, and adds a block to store an acquire record of the pre-stored electronic signature and fingerprint image in a blockchain when verification passes;
and the record uplink result acquisition module is used for receiving the acquired record uplink result returned by the block chain network.
Optionally, the apparatus further comprises:
The block chain network comprises a block chain network, a common uplink request module and a common uplink request module, wherein the block chain network is used for transmitting an electronic common uplink request to the block chain network, the electronic common uplink request comprises an electronic certificate of a server, a verified electronic signature, a fingerprint image and an electronic contract, so that nodes on the block chain network carry out consensus verification on the electronic certificate of the server, and when verification passes, blocks are added in the block chain to store the verified electronic signature, the verified fingerprint image and the electronic contract;
and the contract uplink result receiving module is used for receiving an electronic contract uplink result returned by the blockchain network.
For specific limitations on the generation means of the electronic contract, reference may be made to the above limitations on the generation method of the electronic contract, and no further description is given here. Each module in the electronic contract generating apparatus may be implemented in whole or in part by software, hardware, or a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, and the internal structure of which may be as shown in fig. 8. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured 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, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a method of generating an electronic contract.
In one embodiment, a computer device is provided comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of when executing the computer program:
Receiving a service request sent by a client, wherein the service request comprises identity information of the client and a to-be-handled service identifier;
acquiring an acquired electronic contract template according to the to-be-handled service identifier, and returning the electronic contract template to the client;
Receiving an electronic signature and a fingerprint image to be verified, which correspond to the electronic contract template and are sent by the client;
Acquiring a prestored electronic signature and fingerprint image of the client from a blockchain network according to the identity information of the client;
comparing the electronic signature to be verified and the fingerprint image with a prestored electronic signature and fingerprint image respectively;
And if the electronic signature and the fingerprint image to be verified are consistent with the prestored electronic signature and fingerprint image, generating an electronic contract according to the electronic contract template and the verified electronic signature and fingerprint image.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
Receiving a service request sent by a client, wherein the service request comprises identity information of the client and a to-be-handled service identifier;
Acquiring a corresponding electronic contract template according to the to-be-handled service identifier, and returning the electronic contract template to the client;
Receiving an electronic signature and a fingerprint image to be verified, which correspond to the electronic contract template and are sent by the client;
Acquiring a prestored electronic signature and fingerprint image of the client from a blockchain network according to the identity information of the client;
comparing the electronic signature to be verified and the fingerprint image with a prestored electronic signature and fingerprint image respectively;
And if the electronic signature and the fingerprint image to be verified are consistent with the prestored electronic signature and fingerprint image, generating an electronic contract according to the electronic contract template and the verified electronic signature and fingerprint image.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile 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. By way of illustration and not limitation, RAM is available in a variety of 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), among others.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention.

Claims (9)

1. The method for generating the electronic contract is characterized by being applied to a server and comprising the following steps of:
Receiving a service request sent by a client, wherein the service request comprises identity information of the client and a to-be-handled service identifier;
Acquiring a corresponding electronic contract template according to the to-be-handled service identifier, and returning the electronic contract template to the client;
Receiving a plurality of encrypted data packets corresponding to an electronic signature to be verified and a fingerprint image sent by the client according to the electronic contract template, wherein each encrypted data packet carries a serial number, and the generation process of the plurality of encrypted data packets comprises:
The client divides the fingerprint image into a plurality of fragments, allocates a serial number to each fingerprint image fragment according to the sequence in the fingerprint image formed by each fragment, wherein the serial number allocated by the first fingerprint image fragment divided is the smallest, the serial number allocated by the second fingerprint image fragment is larger than the previous serial number, and so on, the serial number allocated by the last fingerprint image fragment is the largest, encrypts each fingerprint image fragment, each fingerprint image fragment corresponds to different encryption/decryption keys, and the client firstly encrypts the fingerprint image fragment with the largest serial number by adopting the encryption/decryption key of the fingerprint image fragment with the largest serial number to obtain an encrypted data packet with the largest serial number; then, encrypting the encryption/decryption key of the fingerprint image segment with the largest sequence number and the fingerprint image segment with the largest sequence number by adopting the encryption/decryption key corresponding to the fingerprint image segment with the largest sequence number to obtain an encrypted data packet with the largest sequence number; similarly, for the fingerprint image segment with the minimum sequence number, encrypting the encryption/decryption key of the fingerprint image segment with the minimum sequence number and the fingerprint image segment with the minimum sequence number by adopting an encryption/decryption key corresponding to the fingerprint image segment with the minimum sequence number to obtain an encrypted data packet with the minimum sequence number, wherein the encryption/decryption key corresponding to the fingerprint image segment with the minimum sequence number is obtained by adopting a secret key algorithm according to the identity information of the client and the electronic signature, and the encryption/decryption keys corresponding to other fingerprint image segments are generated by adopting random numbers;
generating an encryption/decryption key according to the identity information of the client and the electronic signature, and decrypting the encrypted data packet with the minimum sequence number by adopting the encryption/decryption key to obtain a fingerprint image fragment with the minimum sequence number and the encryption/decryption key of the next encrypted data packet;
decrypting the encrypted data packet with the smallest sequence number in the rest encrypted data packets by adopting the encryption/decryption key of the next encrypted data packet, and the like until the decryption of all the encrypted data packets is completed, so as to obtain fingerprint image fragments in all the encrypted data packets;
Splicing the fingerprint image segments from small to large according to the sequence number to obtain a fingerprint image corresponding to the electronic contract template;
Acquiring a prestored electronic signature and fingerprint image of the client from a blockchain network according to the identity information of the client;
comparing the electronic signature to be verified and the fingerprint image with a prestored electronic signature and fingerprint image respectively;
And if the electronic signature and the fingerprint image to be verified are consistent with the prestored electronic signature and fingerprint image, generating an electronic contract according to the electronic contract template and the verified electronic signature and fingerprint image.
2. The method for generating an electronic contract according to claim 1, characterized in that said acquiring the electronic signature and fingerprint image pre-stored by the client from a blockchain network according to the identity information of the client includes:
Sending a first acquisition request to another server of the blockchain network node where the server is located, wherein the first acquisition request comprises an electronic certificate of the server and identity information of a client, so that the other server performs authority verification according to the electronic certificate of the server, and searches an electronic signature and a fingerprint image prestored by the client according to the identity information of the client when verification is passed;
And receiving a prestored electronic signature and fingerprint image returned by the other server according to the identity information of the client.
3. The method for generating an electronic contract according to claim 1, characterized in that said acquiring the electronic signature and fingerprint image pre-stored by the client from a blockchain network according to the identity information of the client includes:
sending a second acquisition request to the blockchain network, wherein the second acquisition request comprises an electronic certificate of the server and identity information of a client, so that nodes on the blockchain network perform consensus verification according to the electronic certificate of the server, and search an electronic signature and a fingerprint image prestored by the client according to the identity information of the client when verification is passed;
and receiving a prestored electronic signature and fingerprint image returned by the blockchain network according to the identity information of the client.
4. The method of generating an electronic contract according to claim 1, characterized in that after acquiring an electronic signature and a fingerprint image pre-stored by the client from a blockchain network based on the identity information of the client, the method further comprises:
Sending an acquisition record uplink request to the blockchain network, wherein the acquisition record uplink request comprises an electronic certificate of the server, so that nodes on the blockchain network perform consensus verification on the electronic certificate, and when verification is passed, adding a block to store the prestored acquisition record of the electronic signature and the fingerprint image in the blockchain;
and receiving the acquisition record uplink result returned by the block chain network.
5. The method of generating an electronic contract according to claim 1, characterized in that after generating an electronic contract from the electronic contract template and the verified electronic signature and fingerprint image, the method further comprises:
Sending an electronic contract uplink request to the blockchain network, wherein the electronic contract uplink request comprises an electronic certificate of a server, a verified electronic signature, a fingerprint image and an electronic contract, so that nodes on the blockchain network carry out consensus verification on the electronic certificate of the server, and when verification is passed, blocks are added in the blockchain to store the verified electronic signature, the verified fingerprint image and the electronic contract;
And receiving an electronic contract uplink result returned by the block chain network.
6. An electronic contract generating device, characterized in that the electronic contract generating device is applied to a server and comprises:
the service receiving module is used for receiving a service request sent by the client, wherein the service request comprises identity information of the client and a to-be-handled service identifier;
the template acquisition module is used for acquiring a corresponding electronic contract template according to the to-be-handled service identifier and returning the electronic contract template to the client;
The information receiving module to be verified is used for receiving a plurality of encrypted data packets corresponding to the electronic signature to be verified and the fingerprint image, which are sent by the client according to the electronic contract template, wherein each encrypted data packet carries a serial number, and the generation process of the plurality of encrypted data packets comprises:
The client divides the fingerprint image into a plurality of fragments, allocates a serial number to each fingerprint image fragment according to the sequence in the fingerprint image formed by each fragment, wherein the serial number allocated by the first fingerprint image fragment divided is the smallest, the serial number allocated by the second fingerprint image fragment is larger than the previous serial number, and so on, the serial number allocated by the last fingerprint image fragment is the largest, encrypts each fingerprint image fragment, each fingerprint image fragment corresponds to different encryption/decryption keys, and the client firstly encrypts the fingerprint image fragment with the largest serial number by adopting the encryption/decryption key of the fingerprint image fragment with the largest serial number to obtain an encrypted data packet with the largest serial number; then, encrypting the encryption/decryption key of the fingerprint image segment with the largest sequence number and the fingerprint image segment with the largest sequence number by adopting the encryption/decryption key corresponding to the fingerprint image segment with the largest sequence number to obtain an encrypted data packet with the largest sequence number; similarly, for the fingerprint image segment with the minimum sequence number, encrypting the encryption/decryption key of the fingerprint image segment with the minimum sequence number and the fingerprint image segment with the minimum sequence number by adopting an encryption/decryption key corresponding to the fingerprint image segment with the minimum sequence number to obtain an encrypted data packet with the minimum sequence number, wherein the encryption/decryption key corresponding to the fingerprint image segment with the minimum sequence number is obtained by adopting a secret key algorithm according to the identity information of the client and the electronic signature, and the encryption/decryption keys corresponding to other fingerprint image segments are generated by adopting random numbers;
generating an encryption/decryption key according to the identity information of the client and the electronic signature, and decrypting the encrypted data packet with the minimum sequence number by adopting the encryption/decryption key to obtain a fingerprint image fragment with the minimum sequence number and the encryption/decryption key of the next encrypted data packet;
decrypting the encrypted data packet with the smallest sequence number in the rest encrypted data packets by adopting the encryption/decryption key of the next encrypted data packet, and the like until the decryption of all the encrypted data packets is completed, so as to obtain fingerprint image fragments in all the encrypted data packets;
Splicing the fingerprint image segments from small to large according to the sequence number to obtain a fingerprint image corresponding to the electronic contract template;
the pre-stored information acquisition module is used for acquiring the electronic signature and the fingerprint image pre-stored by the client from the blockchain network according to the identity information of the client;
The comparison module is used for comparing the electronic signature to be verified and the fingerprint image with a prestored electronic signature and a prestored fingerprint image respectively;
and the contract generation module is used for generating an electronic contract according to the electronic contract template and the verified electronic signature and fingerprint image if the electronic signature and fingerprint image to be verified are consistent with the prestored electronic signature and fingerprint image.
7. The electronic contract generation apparatus of claim 6, characterized in that the pre-stored information acquisition module includes:
The first request unit is used for sending a first acquisition request to another server of the blockchain network node where the server is located, wherein the first acquisition request comprises an electronic certificate of the server and identity information of a client, so that the other server performs authority verification according to the electronic certificate of the server, and searches a prestored electronic signature and fingerprint image of the client according to the identity information of the client when verification passes;
The first receiving unit is used for receiving a prestored electronic signature and fingerprint image returned by the other server according to the identity information of the client; and/or
The second request unit is used for sending a second acquisition request to the blockchain network, wherein the second acquisition request comprises the electronic certificate of the server and the identity information of the client, so that nodes on the blockchain network perform consensus verification according to the electronic certificate of the server, and when verification passes, the electronic signature and the fingerprint image prestored by the client are searched according to the identity information of the client;
and the second receiving unit is used for receiving the prestored electronic signature and fingerprint image returned by the blockchain network according to the identity information of the client.
8. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method of generating an electronic contract according to any one of claims 1 to 5 when the computer program is executed by the processor.
9. A computer-readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method of generating an electronic contract according to any one of claims 1 to 5.
CN201910979190.9A 2019-10-15 2019-10-15 Electronic contract generation method and device, computer equipment and storage medium Active CN110942382B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910979190.9A CN110942382B (en) 2019-10-15 2019-10-15 Electronic contract generation method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910979190.9A CN110942382B (en) 2019-10-15 2019-10-15 Electronic contract generation method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110942382A CN110942382A (en) 2020-03-31
CN110942382B true CN110942382B (en) 2024-05-28

Family

ID=69905934

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910979190.9A Active CN110942382B (en) 2019-10-15 2019-10-15 Electronic contract generation method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110942382B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111488399A (en) * 2020-05-06 2020-08-04 北京俩撇科技有限公司 Block chain system, transaction processing method and device
CN112380575B (en) * 2020-11-17 2024-03-15 深圳市联创知识产权服务中心 Multiparty electronic signature synthesis method, device, equipment and storage medium
CN112861649B (en) * 2021-01-19 2024-05-10 平安科技(深圳)有限公司 Fingerprint signature generation method and device, electronic equipment and computer storage medium
CN113706235A (en) * 2021-06-02 2021-11-26 万融网际(吉林)数字运营有限公司 Electronic contract signing method
CN114169863A (en) * 2021-12-07 2022-03-11 中国建设银行股份有限公司 Signing method, signing device, electronic equipment and computer readable medium
CN115396117A (en) * 2022-08-24 2022-11-25 济南超级计算技术研究院 Block chain based tamper-proof electronic document signing and verifying method and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002268550A (en) * 2001-03-09 2002-09-20 Seiko Instruments Inc Image ciphering method and ciphering program and recording medium storing ciphered image file
JP2005204126A (en) * 2004-01-16 2005-07-28 Amano Corp Electronic signature method and device
WO2008086714A1 (en) * 2006-12-30 2008-07-24 Zte Corporation A method and system for realizing safety of cipher key in multi-network fusion mobile multi-media broadcasting system
CN108306876A (en) * 2018-01-30 2018-07-20 平安普惠企业管理有限公司 Client identity verification method, device, computer equipment and storage medium
CN108805573A (en) * 2018-04-21 2018-11-13 深圳市元征科技股份有限公司 A kind of Information Authentication method, server and storage medium
CN109087166A (en) * 2018-07-23 2018-12-25 深圳慧通商务有限公司 Identity identifying method, device and system
CN109409876A (en) * 2018-09-27 2019-03-01 深圳壹账通智能科技有限公司 Electronic contract signature method, apparatus, equipment and storage medium based on block chain
CN109460966A (en) * 2018-10-12 2019-03-12 深圳壹账通智能科技有限公司 Contract signing method, apparatus and terminal device based on requesting party's classification

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102005051577B4 (en) * 2005-10-21 2008-04-30 Engel Solutions Ag Method for encrypting or decrypting data packets of a data stream and signal sequence and data processing system for carrying out the method
US10122714B2 (en) * 2013-08-01 2018-11-06 Bitglass, Inc. Secure user credential access system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002268550A (en) * 2001-03-09 2002-09-20 Seiko Instruments Inc Image ciphering method and ciphering program and recording medium storing ciphered image file
JP2005204126A (en) * 2004-01-16 2005-07-28 Amano Corp Electronic signature method and device
WO2008086714A1 (en) * 2006-12-30 2008-07-24 Zte Corporation A method and system for realizing safety of cipher key in multi-network fusion mobile multi-media broadcasting system
CN108306876A (en) * 2018-01-30 2018-07-20 平安普惠企业管理有限公司 Client identity verification method, device, computer equipment and storage medium
CN108805573A (en) * 2018-04-21 2018-11-13 深圳市元征科技股份有限公司 A kind of Information Authentication method, server and storage medium
CN109087166A (en) * 2018-07-23 2018-12-25 深圳慧通商务有限公司 Identity identifying method, device and system
CN109409876A (en) * 2018-09-27 2019-03-01 深圳壹账通智能科技有限公司 Electronic contract signature method, apparatus, equipment and storage medium based on block chain
CN109460966A (en) * 2018-10-12 2019-03-12 深圳壹账通智能科技有限公司 Contract signing method, apparatus and terminal device based on requesting party's classification

Also Published As

Publication number Publication date
CN110942382A (en) 2020-03-31

Similar Documents

Publication Publication Date Title
CN110942382B (en) Electronic contract generation method and device, computer equipment and storage medium
CN110581860B (en) Identity authentication method, device, storage medium and equipment based on block chain
CN109325342B (en) Identity information management method, device, computer equipment and storage medium
US20170352031A1 (en) Systems and methods for providing a personal distributed ledger
CN113632125A (en) Securely sharing personal data stored in a blockchain using a contactless card
US8788836B1 (en) Method and apparatus for providing identity claim validation
WO2018111302A1 (en) System and method for securely processing an electronic identity
KR20210040078A (en) Systems and methods for safe storage services
CN109903043B (en) Block chain-based secure transaction method, device, equipment and storage medium
CN112632581A (en) User data processing method and device, computer equipment and storage medium
WO2021003977A1 (en) Default information query method and apparatus, and computer device and storage medium
CN114024710A (en) Data transmission method, device, system and equipment
CN113015991A (en) Secure digital wallet processing system
US20210142319A1 (en) Systems and methods for distributed data mapping
KR20220048997A (en) Integrated authentication system for distributed identity platforms
CN111881483A (en) Resource account binding method, device, equipment and medium based on block chain
US20240048395A1 (en) Method and system for authentication credential
CN113836554A (en) Method for managing certificate information based on block chain, electronic equipment and storage medium
US20180315053A1 (en) Systems and methods for identity atomization and usage
CN111062059B (en) Method and device for service processing
KR101876672B1 (en) Digital signature method using block chain and system performing the same
CN111541708B (en) Identity authentication method based on power distribution
US8621231B2 (en) Method and server for accessing an electronic safe via a plurality of entities
CN106157028B (en) Financial IC card multi-time card issuing system and method based on trusted platform
CN110401535B (en) Digital certificate generation, secure communication and identity authentication method and device

Legal Events

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