CN112507021A - Block chain-based electronic contract management method and device and equipment - Google Patents

Block chain-based electronic contract management method and device and equipment Download PDF

Info

Publication number
CN112507021A
CN112507021A CN202011324088.4A CN202011324088A CN112507021A CN 112507021 A CN112507021 A CN 112507021A CN 202011324088 A CN202011324088 A CN 202011324088A CN 112507021 A CN112507021 A CN 112507021A
Authority
CN
China
Prior art keywords
electronic contract
contract
parties
electronic
signing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011324088.4A
Other languages
Chinese (zh)
Inventor
郭书玮
林清怀
郭二茹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
AMOY INSTITUTE OF TECHNOVATION
Original Assignee
AMOY INSTITUTE OF TECHNOVATION
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 AMOY INSTITUTE OF TECHNOVATION filed Critical AMOY INSTITUTE OF TECHNOVATION
Priority to CN202011324088.4A priority Critical patent/CN112507021A/en
Publication of CN112507021A publication Critical patent/CN112507021A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • 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/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic signatures
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management

Abstract

The invention discloses an electronic contract management method based on a block chain, which comprises the following steps: establishing an electronic contract according to the contract content of the user and sending the electronic contract to all signatory parties for signing; encrypting the electronic contract by a Shamir Secret Sharing algorithm to generate n Sharing keys, distributing the Sharing keys to all signatory parties according to the grades of the signatory parties, and storing the encrypted electronic contract to a block chain; sending the encrypted access address of the electronic contract to a signing party; when a user accesses the electronic contract, opening a link of the electronic contract and extracting an encrypted electronic contract; and confirming that the shared key for opening the electronic contract meets the opening condition, decrypting the electronic contract and providing the electronic contract for a user. The method can realize self-verification, transmission and management of information for the storage of the electronic contract, and the retrieval of the electronic contract can be realized only through multi-party authorization, thereby improving the security of the guarantee data and protecting the rights and interests of all parties.

Description

Block chain-based electronic contract management method and device and equipment
Technical Field
The invention relates to the technical field of block chains, in particular to an electronic contract management method, an electronic contract management device and electronic contract management equipment based on a block chain.
Background
The blockchain is a distributed shared account book and a database, is a recording technology different from a traditional centralized accounting mode, the blockchain data is commonly maintained by all nodes, each node participating in maintenance can obtain a copy of a complete record, and the transaction on the blockchain is guaranteed to be confirmed and credible, and any node does not modify the account book maintained by the node to be acknowledged by other nodes, so that the public account book can not be forged and tampered, and information sharing is realized. Therefore, the block chain has the characteristics of decentralization, no tampering, whole-course marking, traceability, collective maintenance, public transparency and the like.
At present, electronic contract service on the market is mainly electronic contract online signing and storing, but a contract saving and retrieving mechanism belongs to centralized management, and a service provider receives signing member application for signing and contract retrieving. But the contract content information is kept by the service provider and once the service provider server has a problem or the enterprise stops servicing, the electronic contract will not be retrieved. Secondly, for the existing electronic contract retrieval mechanism, the signing participants and the service provider can retrieve and read the electronic contract at will without a plurality of authorized parties, so that the content in the electronic contract is easy to leak, the guarantee of data security is reduced, and the rights and interests of other signing parties are damaged.
Disclosure of Invention
In view of this, the present invention provides a block chain-based electronic contract management method, device and apparatus, which can implement self-verification, transmission and management of information for storage of an electronic contract, and make the electronic contract read only by multi-party authorization, thereby improving security of data, ensuring fairness for each signing party, and protecting rights and interests of each party.
In order to achieve the above object, the present invention provides a block chain-based electronic contract management method, including:
establishing an electronic contract according to the contract content of the user and sending the electronic contract to all signatory parties for signing;
encrypting the electronic contract by a Shamir Secret Sharing algorithm to generate n Sharing keys, distributing the Sharing keys to all signatory parties according to the grades of the signatory parties, and storing the encrypted electronic contract to a block chain;
sending the encrypted access address of the electronic contract to a signing party;
when a user accesses the electronic contract, opening a link of the electronic contract and extracting an encrypted electronic contract; and the number of the first and second groups,
and confirming that the shared key for opening the electronic contract meets the opening condition, decrypting the electronic contract and providing the electronic contract for a user.
Preferably, the establishing of the electronic contract according to the contract content of the user and the sending of the electronic contract to all the contracting parties for contracting further includes:
the method comprises the steps of issuing a creating page of an electronic contract according to contract content of a user to establish the electronic contract;
responding to the operation that the user completes the creation, and sending the electronic contract to all the contracting parties for confirming the contract content;
and acquiring the signatures of all signatory parties for signing.
Preferably, the sending the electronic contract to all the contracting parties for confirmation of the contract content in response to the user completing the creating operation further includes:
and responding to the operation that the user completes the creation, and sending a signing invitation link of the electronic contract through an electronic mail or a short message to inform all signing parties of confirming the contract content.
Preferably, the acquiring the signatures of all the signatory parties for signing further includes:
and acquiring the signatures of all signatory parties, and selecting a synchronous mode or an asynchronous mode for signing.
Preferably, the signature further comprises:
signature is carried out by electronic signature of a handwriting board or signature of a fingerprint machine or face deposit and identification mode.
Preferably, the encrypting the electronic contract by the Shamir Secret Sharing algorithm generates n shared keys, and allocates the shared keys to the respective signatories according to the levels of the signatories, further including:
the electronic contract is encrypted through a Shamir Secret Sharing algorithm, n shared keys equal to the number of contract signatory persons are generated, and the n shared keys are distributed to the corresponding signatory persons according to the level of the contract signatory persons.
Preferably, the turn-on condition includes:
and if the shared key is enough, combining the shared key into an opening key according to the shared key.
Preferably, after the confirming that the shared key for opening the electronic contract satisfies an opening condition, decrypting the electronic contract and providing the electronic contract to a user, the method further includes:
and when the shared key for opening the electronic contract is confirmed not to meet the opening condition, sending a request for accessing the authority of the electronic contract to other signing parties, acquiring enough shared keys, and combining the shared keys into an opening key.
In order to achieve the above object, the present invention further provides an electronic contract management apparatus based on a block chain, the apparatus including:
the establishment module is used for establishing an electronic contract according to the contract content of the user and sending the electronic contract to all signatory parties for signing;
the encryption module is used for encrypting the electronic contract through a Shamir Secret Sharing algorithm to generate n Sharing keys, distributing the Sharing keys to all signatory parties according to the grades of the signatory parties, and storing the encrypted electronic contract to a block chain;
the sending module is used for sending the encrypted access address of the electronic contract to the signing party;
the extraction module is used for opening the link of the electronic contract and extracting the encrypted electronic contract when a user accesses the electronic contract; and the number of the first and second groups,
and the decryption module is used for confirming that the shared key for opening the electronic contract meets the opening condition, decrypting the electronic contract and providing the electronic contract for a user.
In order to achieve the above object, the present invention further proposes a block chain based electronic contract management apparatus, including a processor, a memory, and a computer program stored in the memory, where the computer program is capable of implementing the block chain based electronic contract management method according to the above embodiment when executed by the processor.
Has the advantages that:
by the scheme, self-verification, transmission and management of information can be realized for the storage of the electronic contract, and the electronic contract can be read only through multi-party authorization, so that the security of data is improved, the fairness of all contracting parties is ensured, and the rights and interests of all parties are protected.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of an electronic contract management method based on a block chain according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of an electronic contract management apparatus based on a block chain according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings of the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
The present invention will be described in detail with reference to the following examples.
The invention provides a block chain-based electronic contract management method, which can realize self-verification, transmission and management of information for the storage of an electronic contract, and can read the electronic contract only by multi-party authorization, thereby improving the security of guaranteed data, ensuring the fairness of all contracting parties and protecting the rights and interests of all parties.
Fig. 1 is a schematic flowchart illustrating a block chain-based electronic contract management method according to an embodiment of the present invention.
In this embodiment, the method includes:
and S11, establishing an electronic contract according to the contract content of the user and sending the electronic contract to all the contracting parties for contracting.
Wherein, the establishing of the electronic contract according to the contract content of the user and the sending to all the signing parties for signing further comprises:
and S11-1, the electronic contract is established according to the contract content of the user and the creation page of the electronic contract.
And S11-2, responding to the operation that the user completes the creation, and sending the electronic contract to all the contractors for confirmation of contract content.
Wherein, the sending the electronic contract to all the contracting parties for confirming the contract content in response to the operation of completing the creation by the user further comprises:
and responding to the operation that the user completes the creation, and sending a signing invitation link of the electronic contract through an electronic mail or a short message to inform all signing parties of confirming the contract content.
And S11-3, acquiring the signatures of all signatories for signing.
Wherein, the acquiring the signatures of all signatory parties for signing further comprises:
and acquiring the signatures of all signatory parties, and selecting a synchronous mode or an asynchronous mode for signing.
The signature further comprises:
signature is carried out by electronic signature of a handwriting board or signature of a fingerprint machine or face deposit and identification mode.
In this embodiment, the user may enter the block chain electronic contract platform, and issue a request for creating an electronic contract, and may also issue a request for retrieving an electronic contract. When a request for creating the electronic contract is sent out, a creating page of the electronic contract is sent according to the contract content of a user, wherein the content of the creating page at least comprises the contract content, the contract signing party and the contract starting condition, and can also comprise contract effective time, contract termination time, contract participation party and contract adoption synchronous mode or asynchronous mode and the like. The method comprises the following steps that all contract contracting parties are online to contract based on preset contract signing time in a synchronous mode, and video pictures are started to record head portraits of the contract contracting parties; and the asynchronous mode automatically signs for each contract signing party.
In this embodiment, after the setting is completed, the platform sends out the contract invitation link through Email or short message service, invites the contract signing parties to register on the platform and inspect the contract content, after all the signing parties finish confirming the electronic contract content, the platform notifies the contract content that the review is completed, and the platform notifies all the signing parties to sign. If the asynchronous mode is selected for signing, each signing party can automatically sign an electronic contract on the platform; if the synchronous signing mode is selected, the platform sends a message to inform all the signing parties, informs the signing parties after the time negotiation, and informs all the signing parties of online signing 30 minutes before the signing time. When signing a contract, the video picture is started to record the head portrait of the signing person.
And S12, encrypting the electronic contract through a Shamir Secret Sharing algorithm to generate n Sharing keys, distributing the Sharing keys to all signatory parties according to the grades of the signatory parties, and storing the encrypted electronic contract to a block chain.
The encrypting the electronic contract by the Shamir Secret Sharing algorithm generates n shared keys, and distributes the shared keys to all the signatory parties according to the grades of the signatory parties, and the encrypting method further comprises the following steps:
the electronic contract is encrypted through a Shamir Secret Sharing algorithm, n shared keys equal to the number of contract signatory persons are generated, and the n shared keys are distributed to the corresponding signatory persons according to the level of the contract signatory persons.
In this embodiment, after all the signatory parties complete the signing operation, each signatory party can sign a signature by means of a handwriting board electronic signature or a fingerprint machine signature or a face verification and identification mode, and the platform integrates the signature file and the electronic contract to generate a formal electronic contract which is provided for the signatory parties to confirm finally. And after all the signatory parties finish final confirmation, the platform encrypts the content of the electronic contract through the public chain account number and uploads the content to a public block chain for checking. That is, after all the signatory confirms the electronic contract, the platform uses the hash value (SHA256) of the electronic contract as the key SK of the encrypted file, and after the file is encrypted, the platform records the encrypted electronic contract on the block chain through the intelligent block chain contract.
The key generation of the contractor is to generate n keys by using a key encrypted by an electronic contract and a contract calling condition (k, n), and the n keys can be distributed to each contractor according to the importance grade of each contractor by using a Shamir Secret Sharing method, and the contract can be opened and checked as long as k keys (sk1, sk2, … and skk) are available.
And S13, sending the encrypted access address of the electronic contract to the signing party.
In this embodiment, after the encryption contract is uploaded to the blockchain, the blockchain returns the transaction number, and the transaction number can be queried for the encryption contract in each blockchain browser. And after the encryption contract is uploaded to the block chain, the platform sends respective shared keys and block chain transaction addresses to the signing parties.
S14, when the user calls the electronic contract, opening the link of the electronic contract and extracting the encrypted electronic contract; and the number of the first and second groups,
and S15, confirming that the sharing key for opening the electronic contract meets the opening condition, decrypting the electronic contract and providing the electronic contract for a user.
Wherein the turn-on condition includes:
and if the shared key is enough, combining the shared key into an opening key according to the shared key.
After confirming that the shared key for opening the electronic contract meets an opening condition, decrypting the electronic contract and providing the electronic contract to a user, the method further comprises the following steps:
and when the shared key for opening the electronic contract is confirmed not to meet the opening condition, sending a request for accessing the authority of the electronic contract to other signing parties, acquiring enough shared keys, and combining the shared keys into an opening key.
In this embodiment, the user may enter the block chain electronic contract platform, and when selecting a request for retrieving an electronic contract, the user may retrieve the electronic contract to be viewed through the list provided by the platform. The platform provides network domains of a plurality of block chain browsers and automatically brings block chain transaction numbers of the electronic contracts into the platform, and contract links can be directly started and data can be captured. The returned data is the encrypted electronic contract and needs to wait for the decryption of the next step.
In this embodiment, the returned encrypted electronic contract needs to be imported with a key to decrypt the contract. The method specifically comprises the following steps: after the acquisition blockchain browser captures the encrypted contract content of the specified blockchain transaction address, if the contractor has enough shared keys (SK1, SK2, … and skk), the encrypted contract content can be combined into the key SK of the encrypted electronic contract to decrypt and open the electronic contract. If the caller does not have enough shared keys, the caller can request other signatory parties to read the contract authority through the platform, and after the other signatory parties agree to the contract, the system combines the shared keys of the other signatory parties to generate the key SK of the encrypted electronic contract to decrypt and open the electronic contract.
By the scheme, self-verification, transmission and management of information can be realized for the storage of the electronic contract, and the electronic contract can be read only through multi-party authorization, so that the security of data is improved, the fairness of all contracting parties is ensured, and the rights and interests of all parties are protected.
The invention also provides an electronic contract management device based on the block chain, which can realize self verification, transmission and management of information for the storage of the electronic contract, and can read the electronic contract only by multi-party authorization, thereby improving the security of the guaranteed data, ensuring the fairness of all contracting parties and protecting the rights and interests of all parties.
Fig. 2 is a schematic structural diagram of an electronic contract management apparatus based on a block chain according to an embodiment of the present invention.
In this embodiment, the apparatus 10 includes:
and the establishing module 11 is configured to establish an electronic contract according to the contract content of the user and send the electronic contract to all signatory parties for signing.
Wherein, the establishing module 11 further includes:
and the issuing unit is used for issuing a creating page of the electronic contract according to the contract content of the user to establish the electronic contract.
And the confirming unit is used for responding to the operation of completing the creation of the user and sending the electronic contract to all the contracting parties to confirm the contract content. Wherein the content of the first and second substances,
the confirmation unit is further configured to:
and responding to the operation that the user completes the creation, and sending a signing invitation link of the electronic contract through an electronic mail or a short message to inform all signing parties of confirming the contract content.
And the acquisition unit is used for acquiring the signatures of all signatory parties for signing. Wherein the content of the first and second substances,
the obtaining unit is further configured to:
and acquiring the signatures of all signatory parties, and selecting a synchronous mode or an asynchronous mode for signing.
The signature further comprises:
signature is carried out by electronic signature of a handwriting board or signature of a fingerprint machine or face deposit and identification mode.
The encryption module 12 is configured to encrypt the electronic contract by a Shamir Secret Sharing algorithm to generate n shared keys, distribute the shared keys to each signatory according to the level of the signatory, and store the encrypted electronic contract in a block chain.
Wherein, the encryption module 12 is further configured to:
the electronic contract is encrypted through a Shamir Secret Sharing algorithm, n shared keys equal to the number of contract signatory persons are generated, and the n shared keys are distributed to the corresponding signatory persons according to the level of the contract signatory persons.
And the sending module 13 is configured to send the encrypted access address of the electronic contract to the signing party.
An extraction module 14, configured to open a link of the electronic contract and extract an encrypted electronic contract when a user accesses the electronic contract; and the number of the first and second groups,
and the decryption module 15 is configured to confirm that the shared key for opening the electronic contract meets an opening condition, decrypt the electronic contract, and provide the electronic contract to a user.
Wherein the turn-on condition includes:
and if the shared key is enough, combining the shared key into an opening key according to the shared key.
Wherein, the device 10 further comprises:
and the second confirmation module is used for sending a request for searching the authority of the electronic contract to other contracting parties when confirming that the shared key for opening the electronic contract does not meet the opening condition, acquiring enough shared keys and combining the shared keys into an opening key.
Each unit module of the apparatus 10 can respectively execute the corresponding steps in the above method embodiments, and therefore, the description of each unit module is omitted here, and please refer to the description of the corresponding steps above in detail.
An embodiment of the present invention further provides a block chain-based electronic contract management apparatus, including a processor, a memory, and a computer program stored in the memory, where the computer program is executable by the processor to implement the block chain-based electronic contract management method according to the above embodiment.
Illustratively, the computer program may be divided into one or more units, which are stored in the memory and executed by the processor to accomplish the present invention. The one or more units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program in the block chain-based electronic contract management apparatus.
The block chain based electronic contract management device may include, but is not limited to, a processor, a memory. It will be understood by those skilled in the art that the schematic diagram is merely an example of a blockchain-based electronic contract management apparatus, and does not constitute a limitation of the blockchain-based electronic contract management apparatus, and may include more or fewer components than those shown, or combine some components, or different components, for example, the blockchain-based electronic contract management apparatus may further include an input-output device, a network access device, a bus, and the like.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the control center of the block chain-based electronic contract management apparatus connecting the various parts of the entire block chain-based electronic contract management apparatus with various interfaces and lines.
The memory may be used for storing the computer programs and/or modules, and the processor may implement the various functions of the block chain-based electronic contract management apparatus by executing or executing the computer programs and/or modules stored in the memory and calling the data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Wherein the unit integrated by the block chain-based electronic contract management apparatus may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
The embodiments in the above embodiments can be further combined or replaced, and the embodiments are only used for describing the preferred embodiments of the present invention, and do not limit the concept and scope of the present invention, and various changes and modifications made to the technical solution of the present invention by those skilled in the art without departing from the design idea of the present invention belong to the protection scope of the present invention.

Claims (10)

1. A block chain-based electronic contract management method, the method comprising:
establishing an electronic contract according to the contract content of the user and sending the electronic contract to all signatory parties for signing;
encrypting the electronic contract by a Shamir Secret Sharing algorithm to generate n Sharing keys, distributing the Sharing keys to all signatory parties according to the grades of the signatory parties, and storing the encrypted electronic contract to a block chain;
sending the encrypted access address of the electronic contract to a signing party;
when a user accesses the electronic contract, opening a link of the electronic contract and extracting an encrypted electronic contract; and the number of the first and second groups,
and confirming that the shared key for opening the electronic contract meets the opening condition, decrypting the electronic contract and providing the electronic contract for a user.
2. The block chain-based electronic contract management method according to claim 1, wherein the establishing of the electronic contract according to the contract content of the user and the sending of the electronic contract to all the contracting parties for contracting comprises:
the method comprises the steps of issuing a creating page of an electronic contract according to contract content of a user to establish the electronic contract;
responding to the operation that the user completes the creation, and sending the electronic contract to all the contracting parties for confirming the contract content;
and acquiring the signatures of all signatory parties for signing.
3. The method of block chain-based electronic contract management according to claim 2, wherein said sending the electronic contract to all contracting parties for confirmation of contract content in response to the user completing the creation operation further comprises:
and responding to the operation that the user completes the creation, and sending a signing invitation link of the electronic contract through an electronic mail or a short message to inform all signing parties of confirming the contract content.
4. The method according to claim 2, wherein the acquiring signatures of all signatories for signing further comprises:
and acquiring the signatures of all signatory parties, and selecting a synchronous mode or an asynchronous mode for signing.
5. The method of block chain-based electronic contract management according to claim 4, wherein said signing further comprises:
signature is carried out by electronic signature of a handwriting board or signature of a fingerprint machine or face deposit and identification mode.
6. The method according to claim 1, wherein the encrypting the electronic contract by Shamir Secret Sharing algorithm and generating n shared keys, and distributing the shared keys to the respective signatories according to their grades, further comprises:
the electronic contract is encrypted through a Shamir Secret Sharing algorithm, n shared keys equal to the number of contract signatory persons are generated, and the n shared keys are distributed to the corresponding signatory persons according to the level of the contract signatory persons.
7. The method of block chain-based electronic contract management according to claim 1, wherein the start condition includes:
and if the shared key is enough, combining the shared key into an opening key according to the shared key.
8. The method according to claim 1, wherein after the shared key for confirming the opening of the electronic contract satisfies an opening condition, decrypting the electronic contract and providing the electronic contract to a user, the method further comprises:
and when the shared key for opening the electronic contract is confirmed not to meet the opening condition, sending a request for accessing the authority of the electronic contract to other signing parties, acquiring enough shared keys, and combining the shared keys into an opening key.
9. An electronic contract management apparatus based on a blockchain, the apparatus comprising:
the establishment module is used for establishing an electronic contract according to the contract content of the user and sending the electronic contract to all signatory parties for signing;
the encryption module is used for encrypting the electronic contract through a Shamir Secret Sharing algorithm to generate n Sharing keys, distributing the Sharing keys to all signatory parties according to the grades of the signatory parties, and storing the encrypted electronic contract to a block chain;
the sending module is used for sending the encrypted access address of the electronic contract to the signing party;
the extraction module is used for opening the link of the electronic contract and extracting the encrypted electronic contract when a user accesses the electronic contract; and the number of the first and second groups,
and the decryption module is used for confirming that the shared key for opening the electronic contract meets the opening condition, decrypting the electronic contract and providing the electronic contract for a user.
10. A blockchain-based electronic contract management apparatus comprising a processor, a memory, and a computer program stored in the memory, the computer program being executable by the processor to implement a method of blockchain-based electronic contract management according to any one of claims 1 to 8.
CN202011324088.4A 2020-11-23 2020-11-23 Block chain-based electronic contract management method and device and equipment Pending CN112507021A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011324088.4A CN112507021A (en) 2020-11-23 2020-11-23 Block chain-based electronic contract management method and device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011324088.4A CN112507021A (en) 2020-11-23 2020-11-23 Block chain-based electronic contract management method and device and equipment

Publications (1)

Publication Number Publication Date
CN112507021A true CN112507021A (en) 2021-03-16

Family

ID=74959642

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011324088.4A Pending CN112507021A (en) 2020-11-23 2020-11-23 Block chain-based electronic contract management method and device and equipment

Country Status (1)

Country Link
CN (1) CN112507021A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108197891A (en) * 2018-01-05 2018-06-22 法信公证云(厦门)科技有限公司 A kind of electronic signature device and method based on block chain
CN108809652A (en) * 2018-05-21 2018-11-13 安徽航天信息有限公司 A kind of block chain encryption account book based on privacy sharing
CN109377198A (en) * 2018-12-24 2019-02-22 上海金融期货信息技术有限公司 A kind of signing system known together in many ways based on alliance's chain
CN111639361A (en) * 2020-05-15 2020-09-08 中国科学院信息工程研究所 Block chain key management method, multi-person common signature method and electronic device
US20200320529A1 (en) * 2019-04-03 2020-10-08 Bloomio Ag Method for user management for blockchain-based operations

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108197891A (en) * 2018-01-05 2018-06-22 法信公证云(厦门)科技有限公司 A kind of electronic signature device and method based on block chain
CN108809652A (en) * 2018-05-21 2018-11-13 安徽航天信息有限公司 A kind of block chain encryption account book based on privacy sharing
CN109377198A (en) * 2018-12-24 2019-02-22 上海金融期货信息技术有限公司 A kind of signing system known together in many ways based on alliance's chain
US20200320529A1 (en) * 2019-04-03 2020-10-08 Bloomio Ag Method for user management for blockchain-based operations
CN111639361A (en) * 2020-05-15 2020-09-08 中国科学院信息工程研究所 Block chain key management method, multi-person common signature method and electronic device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
彭杰: "(t,n)门限秘密共享方案研究", 《中国优秀硕士论文全文数据库 信息科技辑》 *

Similar Documents

Publication Publication Date Title
CN108898389B (en) Content verification method and device based on block chain and electronic equipment
CN110060162B (en) Data authorization and query method and device based on block chain
CA3058013C (en) Managing sensitive data elements in a blockchain network
US11238543B2 (en) Payroll based blockchain identity
US20230006842A1 (en) Blockchain-based data processing method and apparatus, computer device, computer-readable storage medium, and computer program product
CN108418680B (en) Block chain key recovery method and medium based on secure multi-party computing technology
WO2020082894A1 (en) Blockchain-based data deposit and acquisition methods and devices
CN108900533B (en) Shared data privacy protection method, system, terminal and medium
KR102025837B1 (en) Access control system with blockchain network and smart contract
WO2020088108A1 (en) Blockchain-based data attestation method and apparatus, and electronic device
TW202008290A (en) Blockchain-based service rental methods and devices
WO2019237570A1 (en) Electronic contract signing method, device and server
JP2019053269A (en) System and method for determining ballot of voter collected by electronic voting
CN111476572B (en) Block chain-based data processing method, device, storage medium and equipment
CN109635572B (en) Contract signing method and device based on block chain and terminal equipment
CN106452775A (en) Method and apparatus for accomplishing electronic signing and signing server
US11757640B2 (en) Non-fungible token authentication
CN109936620B (en) Block chain-based storage method, device, system and storage medium
WO2021036511A1 (en) Method for data encryption, storage and reading, terminal device, and storage medium
CN111683082A (en) Data sharing method and system based on block chain and electronic equipment
WO2009002059A2 (en) Method and system for sharing contents with removable storage
CN106548059A (en) The method of teacher, head of a family's mobile terminal and head of a family's authentication
CN112507021A (en) Block chain-based electronic contract management method and device and equipment
WO2007085726A1 (en) Certification with distributed certification authority
TWI721930B (en) Allocation document transmission system with multiple processing nodes

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210316

RJ01 Rejection of invention patent application after publication