Blockchain-based electronic contract operation management system and method
The blockchain-based electronic contract operation and management system solves the problems of data authenticity and security in electronic contract management systems, realizes reliable and trustworthy management of electronic contracts, and improves business efficiency and supervision quality.
Patent Information
- Application Number
- CN202211441232.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-17
- Publication Date
- 2026-01-09
- Estimated Expiration
- 2042-11-17
AI Technical Summary
Existing electronic contract management systems, with their multi-party collaboration and centralized storage, struggle to guarantee data authenticity and consistency, and are subject to risks of information leakage and data tampering, lacking effective monitoring and accountability mechanisms.
The blockchain-based electronic contract operation and management system uses an on-chain and off-chain collaborative data storage solution to record operations throughout the electronic contract lifecycle. Leveraging the decentralized, immutable, and traceable characteristics of blockchain, it achieves reliable contract management and combines smart contracts for automatic execution and state changes.
It enables trusted management of electronic contracts throughout their entire lifecycle, reduces on-chain storage and transmission overhead, improves business processing efficiency and regulatory quality, and ensures the immutability and consistency of data.
Smart Images

Figure CN115713440B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of blockchain technology, and in particular to a blockchain-based electronic contract operation management system and method. Background Technology
[0002] The statements in this section are merely background information related to the present invention and do not necessarily constitute prior art.
[0003] An electronic contract is a computer-interpretable technical expression defined as a set of obligations to be performed between parties, with the definitions of these obligations encoded electronically. However, existing electronic contract management systems cannot fully achieve reliable management of electronic contracts.
[0004] On the one hand, the complete signing of electronic contracts requires collaboration among multiple parties in business. However, whether it is a traditional paper contract or today's electronic contract, the operations at each stage are still independent and opaque to each other, making it difficult to guarantee the authenticity and consistency of contract data.
[0005] On the other hand, from a storage perspective, existing electronic contract systems generally adopt a centralized storage architecture and a database-based storage model. Under this model, the security of electronic contracts is highly dependent on the central server, which makes the stored contract data susceptible to information leakage and data tampering. Furthermore, under this model, there is no perfect mechanism to monitor and record the access to and drafting process of contracts, making it difficult to provide evidence and hold individuals accountable when disputes arise regarding the content of the contracts. Summary of the Invention
[0006] To address the aforementioned issues, this invention proposes a blockchain-based electronic contract operation management system and method. This system records all operations throughout the electronic contract's lifecycle on the blockchain, enabling reliable and trustworthy contract management. Through a data storage scheme that combines on-chain and off-chain collaboration, it ensures that off-chain data is consistent and tamper-proof, while reducing on-chain storage and transmission overhead.
[0007] To achieve the above objectives, the present invention adopts the following technical solution:
[0008] In a first aspect, the present invention provides a blockchain-based electronic contract operation and management system, comprising: a contract drafting module, a contract execution module, a blockchain, and an off-chain storage network;
[0009] The contract drafting module is used to receive the entered electronic contract drafts and push contract approval tasks.
[0010] The contract execution module is used to receive approved electronic contracts and publish them. It stores the electronic contracts off-chain through on-chain and off-chain collaborative storage and execution methods, and anchors and executes them on-chain through smart contracts.
[0011] The contract execution module performs change, dispute and termination operations on the electronic contract under execution, sends operation data to be executed to the off-chain storage network, sends the operation transaction to be executed to the smart contract, pushes the approval task to the approver, sends the obtained approval signature to the smart contract through a transaction, and the smart contract automatically changes the state of the electronic contract according to the transaction;
[0012] The contract execution module performs the settlement operation on the electronic contract under execution, sends the settlement transaction to the smart contract, and performs the corresponding electronic contract state change;
[0013] The contract execution module changes the electronic contract after the execution change operation through the on-chain and off-chain collaborative storage and change method, stores the electronic contract change page off-chain, and anchors and executes it on the original smart contract through the smart contract and the contract number on-chain.
[0014] As an optional implementation, the process of publishing the electronic contract approved by the contract execution module includes:
[0015] The electronic contract text file is processed in units of pages to construct a Merkle tree;
[0016] The electronic contract text and the Merkle tree are stored in the off-chain storage network, and the off-chain storage index obtained by the data hash value is received;
[0017] The contract terms of the electronic contract, the data hash value of the Merkle tree and the off-chain storage index are written into the smart contract, and the smart contract is sent to the blockchain for automatic execution, and the state of the electronic contract is in execution.
[0018] As an optional implementation, when the execution change operation is performed, the specific process of the on-chain and off-chain collaborative storage and change method includes:
[0019] A new Merkle tree is constructed according to the electronic contract change page;
[0020] The electronic contract change page, the new Merkle tree and the change description file are stored in the off-chain storage network, and are associated with the original electronic contract through the electronic contract number;
[0021] The data hash value of the new Merkle tree is written into the new smart contract, the new smart contract is associated with the original smart contract through the electronic contract number, and is sent to the blockchain as an additional contract;
[0022] Send the change approval transaction, change the contract state of the original smart contract to approval, push the approval task to the approver, get the approval signature, send the approval signature transaction to the smart contract, and change the state of the electronic contract to execution.
[0023] As an alternative embodiment, the execution process of the dispute operation includes:
[0024] The entered contract dispute description file is received and stored in the off-chain storage network;
[0025] A dispute approval transaction containing an off-chain storage index is sent, and the electronic contract state is changed to under approval;
[0026] The approval task is pushed to the approver, and after obtaining the signature of the approver, an approval signature transaction is sent to the smart contract, and the electronic contract state is changed to under execution.
[0027] As an alternative embodiment, the execution process of the cancellation operation includes:
[0028] The entered contract cancellation description file is received and stored in the off-chain storage network;
[0029] A cancellation approval transaction containing a cancellation contract proof index is sent to the smart contract, and the electronic contract state is changed to under approval;
[0030] The approval task is pushed to the approver, and after obtaining the signature of the approver, an approval signature transaction is sent to the smart contract, and the electronic contract state is changed to cancelled.
[0031] As an alternative embodiment, the execution process of the settlement operation includes:
[0032] For an electronic contract that has been fulfilled, contract confirmation information, contract execution information, the signature of the contract executor on the entered information, and related supporting attachments are recorded, and are stored as a settlement proof in the off-chain storage network;
[0033] A settlement transaction containing the executor's signature and the off-chain storage index of the settlement proof is sent to the smart contract, and the electronic contract state is changed to settled.
[0034] As an alternative embodiment, the electronic contract draft includes a contract number, a contract type, a contract specific amount, a subject, a contracting party, a contract abstract, and a contract body file.
[0035] As an alternative embodiment, the electronic contract operation management system further includes a contract monitoring module, which is used to realize the record keeping of electronic contract full-cycle operations and the comprehensive query of electronic contract information.
[0036] As an alternative embodiment, the blockchain includes a smart contract and a transaction ledger;
[0037] The electronic contract is anchored in the blockchain in the form of a smart contract, key information of the electronic contract is in the form of a contract field, the content of the smart contract is not tamperable and is automatically executed, and the contract state can be maintained and changed by publishing a new transaction;
[0038] The transaction ledger records all operations of the electronic contract, such as publishing, changing, dispute, settlement, cancellation, and account trace.
[0039] As an optional implementation, the off-chain storage network is used for trusted storage of contract drafts, contract change data, contract dispute data, contract settlement data, contract cancellation data, and contract execution account book, data query is performed based on a data hash value as a unique index and identifier of off-chain storage data, and off-chain storage indexes are chained.
[0040] In a second aspect, the present application provides an electronic contract operation and management method based on a blockchain, comprising:
[0041] The received electronic contract draft is accepted, and a contract approval task is pushed;
[0042] The electronic contract that has passed the approval is received and published, the electronic contract is stored off-chain, and the electronic contract is anchored and executed on the chain through a smart contract by using an on-chain and off-chain collaborative storage execution mode;
[0043] The electronic contract in execution is changed, disputed, and cancelled, operation data to be executed is sent to an off-chain storage network, an operation transaction to be executed is sent to a smart contract, an approval task is pushed to an approver, an approval signature obtained is sent to the smart contract through a transaction, and the smart contract automatically changes the state of the electronic contract according to the transaction;
[0044] The electronic contract in execution is settled, a settlement transaction is sent to the smart contract, and the state of the electronic contract is changed accordingly;
[0045] The electronic contract after the execution change operation is stored off-chain by using an on-chain and off-chain collaborative storage and change mode, the electronic contract is anchored and executed on the chain through a smart contract and a contract number attached to the original smart contract.
[0046] In a third aspect, the present application provides an electronic device, comprising a memory and a processor, and computer instructions stored in the memory and running on the processor, when the computer instructions are run by the processor, the method of the second aspect is completed.
[0047] In a fourth aspect, the present application provides a computer readable storage medium for storing computer instructions, when the computer instructions are executed by a processor, the method of the second aspect is completed.
[0048] Compared with the prior art, the present application has the following advantages:
[0049] To solve the problems of difficulty in guaranteeing data authenticity and consistency under multi-party cooperation, information leakage and data tampering of centralized storage architecture in the existing electronic contract management system, the present application provides an electronic contract operation management system based on a blockchain, which uses the characteristics of decentralized network consensus, consistency, non-tamperability and data openness and traceability of the blockchain, clearly defines the management and access rights of each participant, traces all operations in the life cycle of the electronic contract on the chain, realizes reliable and trustworthy management of the contract, guarantees consistency and non-tamperability of off-chain data through the on-chain and off-chain collaborative data storage scheme, and reduces on-chain storage and transmission overheads.
[0050] The present application provides an electronic contract operation management system and method based on a blockchain, which chains the electronic contract and traces the whole process of contract publishing, execution and access on the chain, realizes process-based and trustworthy management of the electronic contract from initiation to completion, and improves business handling efficiency and supervision quality.
[0051] The present application provides an electronic contract operation management system and method based on a blockchain, which uses the smart contract technology of the blockchain to anchor the electronic contract in the blockchain in the form of a smart contract, does not rely on a third party to realize automatic execution of the contract initiation, drafting, execution and completion states and account behavior tracking and tracing, and realizes trustworthy electronic contract data.
[0052] The present application provides an electronic contract operation management system and method based on a blockchain, which proposes an on-chain and off-chain collaborative electronic contract data storage scheme, stores the summary information of the electronic contract on the chain, stores the drafted contract original file and other process data in the off-chain storage network, and provides tamper-proof storage indexes for the on-chain, guarantees consistency and non-tamperability of the electronic contract data, and reduces storage and transmission overheads on the blockchain.
[0053] The advantages of the additional aspects of the present application will be partially given in the following description, partially become obvious from the following description, or be learned through the practice of the present application. BRIEF DESCRIPTION OF DRAWINGS
[0054] The drawings accompanying the specification of the present application serve to provide further understanding of the present application, and the illustrative embodiments of the present application and the description thereof serve to explain the present application, and do not constitute an improper limitation on the present application.
[0055] Figure 1 The present application provides an electronic contract operation management system based on a blockchain for the present application embodiment 1, and a contract publishing and execution flowchart is provided for the present application embodiment 1.
[0056] Figure 2 The present application provides an electronic contract operation management system based on a blockchain for the present application embodiment 1, and a contract publishing and execution flowchart is provided for the present application embodiment 1.
[0057] Figure 3 Contract change execution flowchart provided for embodiment 1 of the present application;
[0058] Figure 4 Contract dispute execution flowchart provided for embodiment 1 of the present application;
[0059] Figure 5 Contract settlement execution flowchart provided for embodiment 1 of the present application;
[0060] Figure 6 Contract cancellation execution flowchart provided for embodiment 1 of the present application. DETAILED DESCRIPTION
[0061] The present application will be further described below in conjunction with the accompanying drawings and embodiments.
[0062] It should be noted that the following detailed description is exemplary in nature and is intended to provide further description of the present application. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
[0063] It is to be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments in accordance with the present application. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and / or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0064] The embodiments in the present application and the features in the embodiments can be combined with each other without conflict.
[0065] Embodiment 1
[0066] The present embodiment provides a blockchain-based electronic contract operation management system, as shown in Figure 1 including a contract drafting module, a contract execution module, a contract monitoring module, a blockchain and an off-chain storage network;
[0067] The contract drafting module is configured to receive an electronic contract draft and push a contract approval task;
[0068] The contract execution module is configured to receive an approved electronic contract and publish it, store the electronic contract off-chain and anchor and execute it on-chain through an on-chain and off-chain collaborative storage execution mode;
[0069] The contract execution module performs change, dispute and termination operations on the electronic contract under execution, sends operation data to be executed to an off-chain storage network, sends an operation transaction to be executed to a smart contract, pushes an approval task to an approver, sends an approval signature obtained to the smart contract through a transaction, and the smart contract automatically changes the state of the electronic contract according to the transaction;
[0070] The contract execution module performs a settlement operation on the electronic contract under execution, sends a settlement transaction to the smart contract, and performs a corresponding electronic contract state change.
[0071] The contract execution module changes the electronic contract after the execution change operation through on-chain and off-chain collaborative storage and change mode, stores the electronic contract change page off-chain, and anchors and executes the electronic contract change page on-chain through the smart contract and the contract number attached to the original smart contract.
[0072] In the embodiment, the contract drafting module is configured to receive an input electronic contract draft, push a contract approval task to an approver, and change the state of the electronic contract to “approved” after the approver completes the approval.
[0073] The electronic contract draft includes a contract number, type, specific amount, subject, contracting party, contract abstract, contract text file, and other attachments.
[0074] In the embodiment, the operations performed by the contract execution module include contract publishing, contract change, contract dispute, contract settlement, and contract termination.
[0075] Specifically:
[0076] The contract publishing is configured to send a newly initiated and approved electronic contract to the blockchain for execution through a smart contract. Figure 2 As shown in the figure, the specific execution process is as follows:
[0077] (1) Process the electronic contract text file in units of pages to construct a Merkle tree.
[0078] (2) Store the electronic contract draft and the Merkle tree in an off-chain storage network, and receive the off-chain storage index obtained by the data hash value fed back by the off-chain storage network.
[0079] (3) Write the contract terms of the electronic contract, the data hash value of the Merkle tree, and the off-chain storage index into the smart contract, and send the smart contract to the blockchain for automatic execution. The state of the electronic contract of the smart contract is “under execution”.
[0080] The contract terms include a contract number, storage index, contract abstract, contract signing time, contract validity period, contract state, and the like.
[0081] The contract change is used to change the electronic contract state to "in execution" and the electronic contract that needs to be changed. The electronic contract after the execution of the change operation is stored and changed through the on-chain and off-chain cooperation storage mode, and the change is as follows: Figure 3 As shown in the figure, the specific execution process is as follows:
[0082] (1) A new Merkle tree is constructed according to the electronic contract change page;
[0083] (2) The electronic contract change page, the new Merkle tree and the change description file are stored in the off-chain storage network, and are associated with the original electronic contract through the electronic contract number;
[0084] (3) The data hash value of the new Merkle tree is written into the new smart contract, the new smart contract is associated with the original smart contract through the electronic contract number, and is sent to the blockchain as an additional contract;
[0085] (4) Send the change approval transaction, change the contract state of the original smart contract to "in approval", and push the approval task to the approver. After getting the signature of the approver, send the approval signature transaction to the smart contract, and change the electronic contract state to "in execution".
[0086] The contract dispute is used to handle the electronic contract whose state is "in execution" and which has a dispute; as Figure 4 As shown in the figure, the specific execution process is as follows:
[0087] (1) The contract dispute statement and related files are recorded and stored in the off-chain storage network;
[0088] (2) Send the dispute transaction to the smart contract, change the electronic contract state to "in approval", and the transaction contains the storage index of the dispute data off-chain;
[0089] (3) Push the approval task to the approver;
[0090] (4) After the approval person approves and signs, send the approval signature transaction to the smart contract, and change the contract state to "in execution".
[0091] The contract settlement is used to complete the settlement and archiving of the electronic contract that has been executed; as Figure 5 As shown in the figure, the specific execution process is as follows:
[0092] (1) For the electronic contract that has been executed, the contract confirmation information, contract execution information, the signature of the contract executor on the recorded information and the supporting attachments related to the execution are recorded and stored in the off-chain storage network as the settlement proof;
[0093] (2) Send the settlement transaction containing the signature of the executor, the settlement proof storage index and other information to the smart contract, and change the contract state to "settled".
[0094] The contract cancellation is used to cancel the electronic contract whose state is "in execution" and needs to be cancelled; as Figure 6 As shown, the specific execution process is as follows:
[0095] (1) Receive the entered contract cancellation instructions and related cancellation files as cancellation contract proof, and store them to the off-chain storage network;
[0096] (2) Send the cancellation approval transaction containing the cancellation contract proof index to the smart contract, and change the contract state to "under approval";
[0097] (3) Push the approval task to the approver;
[0098] (4) After the approver signs, send the approver signature transaction to the contract, and change the contract state to "cancelled".
[0099] In this embodiment, the electronic contract operation management system further comprises a contract monitoring module, which is used to realize account leaving traces and comprehensive query;
[0100] Among them, the account leaving traces are used to record the execution of the electronic contract to form an account, and the account is stored to the off-chain storage network regularly, and the account off-chain storage index is uploaded to the chain, realizing the operation whole process leaving traces, and the information is traceable.
[0101] The comprehensive query is used to comprehensively query and count the number and total amount of electronic contracts according to the contract name, number, state, type, creation, execution department, contract creation date, etc.
[0102] In this embodiment, the blockchain comprises a smart contract and a transaction ledger;
[0103] Among them, the smart contract is an electronic contract code running on the electronic contract blockchain, which anchors the electronic contract in the form of a smart contract in the blockchain, and the key information of the electronic contract, such as contract number, off-chain storage index, contract state, etc. are in the form of contract fields, some fields such as contract state can be maintained and changed by publishing new transactions, the content of the smart contract cannot be tampered with and is automatically executed, ensuring the safety and reliability of the electronic contract.
[0104] The transaction ledger records all operations of the electronic contract such as publishing, changing, dispute, settlement, cancellation, account leaving traces, etc., and the operation records are maintained by the whole network, which cannot be tampered with, and the operation history record is traceable.
[0105] In the embodiment, the off-chain storage network is a P2P distributed storage network, preferably an IPFS storage network, used for storing contract draft data, contract change data, contract dispute data, contract settlement data, contract termination data, and contract execution ledger data, querying data based on data hash values as unique indexes and identifiers of off-chain storage data, and chaining the indexes to ensure consistency and non-tamperability of electronic contract data.
[0106] Embodiment 2
[0107] The embodiment provides a blockchain-based electronic contract operation management method, including:
[0108] receiving the entered electronic contract draft and pushing a contract approval task;
[0109] receiving the approved electronic contract for publishing, storing the electronic contract off-chain and anchoring and executing the electronic contract on-chain through a smart contract by using an on-chain and off-chain collaborative storage mode;
[0110] performing change, dispute and termination operations on the executing electronic contract, sending operation data to be executed to an off-chain storage network, sending a transaction to be executed to a smart contract, pushing an approval task to an approver, sending an approval signature obtained by the approver to the smart contract through a transaction, and automatically changing a state of the electronic contract by the smart contract according to the transaction;
[0111] performing settlement operations on the executing electronic contract, sending a settlement transaction to the smart contract, and performing corresponding state change of the electronic contract;
[0112] storing the electronic contract after the change operation off-chain and anchoring and executing the electronic contract on-chain by using a smart contract and a contract number to be appended to the original smart contract through an on-chain and off-chain collaborative storage and change mode.
[0113] In more embodiments, the following are also provided:
[0114] An electronic device includes a memory and a processor, and computer instructions stored in the memory and run on the processor, when the computer instructions are run by the processor, the method described in Embodiment 2 is completed. For brevity, this will not be repeated here.
[0115] It should be understood that in the embodiment, the processor can be a central processing unit CPU, and the processor can also be other general-purpose processors, digital signal processors DSPs, application-specific integrated circuits ASICs, ready-to-program gate arrays FPGA or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.
[0116] The memory can include read-only memory and random access memory, and provide instructions and data to the processor, a portion of the memory can also include non-volatile random access memory. For example, the memory can also store device type information.
[0117] A computer readable storage medium for storing computer instructions, the computer instructions being executed by a processor to complete the method described in embodiment 2.
[0118] The method in embodiment 2 can be directly embodied as a hardware processor to complete, or be completed by a combination of hardware and software modules in the processor. The software module can be located in a storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, register, etc. The storage medium is located in the memory, and the processor reads the information in the memory to complete the steps of the above method in combination with the hardware. To avoid repetition, it will not be described in detail here.
[0119] Those of ordinary skill in the art can realize that the units of the examples described in combination with the embodiments, i.e. the algorithm steps, can be realized by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are executed in hardware or software mode depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0120] Although the specific embodiments of the application are described above in combination with the drawings, it is not a limitation on the protection scope of the application, and those skilled in the art should understand that various modifications or changes made by those skilled in the art on the basis of the technical solutions of the application without creative labor are still within the protection scope of the application.
Claims
1. A blockchain-based electronic contract operation management system, characterized by, The application relates to a contract formulation module, a contract execution module, a blockchain and an off-chain storage network. The contract formulation module is used for receiving an entered electronic contract draft and pushing a contract approval task. The contract execution module is used for receiving an approved electronic contract and publishing the electronic contract, storing the electronic contract in an off-chain manner through on-chain and off-chain collaborative storage and execution, anchoring and executing the electronic contract on the chain through a smart contract, changing, settling disputes and canceling the electronic contract in execution, sending operation data to be executed to the off-chain storage network, sending an operation transaction to be executed to the smart contract, pushing an approval task to an approver, sending an approval signature obtained from the approver to the smart contract, and automatically changing an electronic contract state according to the transaction. The contract execution module is used for receiving an approved electronic contract and publishing the electronic contract, storing the electronic contract in an off-chain manner through on-chain and off-chain collaborative storage and execution, anchoring and executing the electronic contract on the chain through a smart contract, changing, settling disputes and canceling the electronic contract in execution, sending operation data to be executed to the off-chain storage network, sending an operation transaction to be executed to the smart contract, pushing an approval task to an approver, sending an approval signature obtained from the approver to the smart contract, and automatically changing an electronic contract state according to the transaction. The contract execution module is used for receiving an approved electronic contract and publishing the electronic contract, storing the electronic contract in an off-chain manner through on-chain and off-chain collaborative storage and execution, anchoring and executing the electronic contract on the chain through a smart contract, changing, settling disputes and canceling the electronic contract in execution, sending operation data to be executed to the off-chain storage network, sending an operation transaction to be executed to the smart contract, pushing an approval task to an approver, sending an approval signature obtained from the approver to the smart contract, and automatically changing an electronic contract state according to the transaction. The contract execution module is used for receiving an approved electronic contract and publishing the electronic contract, storing the electronic contract in an off-chain manner through on-chain and off-chain collaborative storage and execution, anchoring and executing the electronic contract on the chain through a smart contract, changing, settling disputes and canceling the electronic contract in execution, sending operation data to be executed to the off-chain storage network, sending an operation transaction to be executed to the smart contract, pushing an approval task to an approver, sending an approval signature obtained from the approver to the smart contract, and automatically changing an electronic contract state according to the transaction. The contract execution module is used for receiving an approved electronic contract and publishing the electronic contract, storing the electronic contract in an off-chain manner through on-chain and off-chain collaborative storage and execution, anchoring and executing the electronic contract on the chain through a smart contract, changing, settling disputes and canceling the electronic contract in execution, sending operation data to be executed to the off-chain storage network, sending an operation transaction to be executed to the smart contract, pushing an approval task to an approver, sending an approval signature obtained from the approver to the smart contract, and automatically changing an electronic contract state according to the transaction. The contract execution module is used for receiving an approved electronic contract and publishing the electronic contract, storing the electronic contract in an off-chain manner through on-chain and off-chain collaborative storage and execution, anchoring and executing the electronic contract on the chain through a smart contract, changing, settling disputes and canceling the electronic contract in execution, sending operation data to be executed to the off-chain storage network, sending an operation transaction to be executed to the smart contract, pushing an approval task to an approver, sending an approval signature obtained from the approver to the smart contract, and automatically changing an electronic contract state according to the transaction. The contract execution module is used for receiving an approved electronic contract and publishing the electronic contract, storing the electronic contract in an off-chain manner through on-chain and off-chain collaborative storage and execution, anchoring and executing the electronic contract on the chain through a smart contract, changing, settling disputes and canceling the electronic contract in execution, sending operation data to be executed to the off-chain storage network, sending an operation transaction to be executed to the smart contract, pushing an approval task to an approver, sending an approval signature obtained from the approver to the smart contract, and automatically changing an electronic contract state according to the transaction. 2. The blockchain-based electronic contract operation management system of claim 1, wherein, The push approval task to the approver, get the signature of the approver, send the approval signature transaction to the smart contract, change the electronic contract state to be cancelled.
3. The blockchain-based electronic contract operation management system of claim 1, wherein, The execution process of the completion operation includes: For the electronic contract that has been fulfilled, enter contract confirmation information, contract execution information, the signature of the contract executor on the entered information, and related supporting attachments, and store them as a completion certificate in the off-chain storage network; Send the completion transaction containing the executor's signature and the off-chain storage index of the completion certificate to the smart contract, and change the electronic contract state to be completed.
4. The blockchain-based electronic contract operation management system of claim 1, wherein, The electronic contract draft includes contract number, contract type, contract specific amount, subject, signatory, contract abstract, and contract text file.
5. The blockchain-based electronic contract operation management system of claim 1, wherein, The electronic contract operation management system also includes a contract monitoring module for implementing the ledger trace of the electronic contract throughout the cycle and comprehensive query of electronic contract information; The blockchain includes a smart contract and a transaction ledger; Anchoring the electronic contract in the form of a smart contract in the blockchain, the key information of the electronic contract exists in the form of a contract field, the content of the smart contract cannot be tampered with and is automatically executed, and the contract state is maintained and changed by publishing a new transaction; The transaction ledger records all operations of the electronic contract, including publishing, changing, dispute, completing, canceling, and ledger trace; The off-chain storage network is used to store contract drafts, contract change data, contract dispute data, contract completion data, contract cancellation data, and contract execution ledger, and data queries are based on data hash values as the unique index and identifier of off-chain storage data, and the off-chain storage index is uploaded to the chain. 6.A blockchain-based electronic contract operation management method, characterized by, It includes: Receive the entered electronic contract draft and push the contract approval task; Receive the approved electronic contract for publishing, store the electronic contract off-chain, and anchor and execute it on-chain through the smart contract; Change, dispute, and cancel the executing electronic contract, send the operation data to the off-chain storage network, send the operation transaction to the smart contract, push the approval task to the approver, and send the obtained approval signature to the smart contract through the transaction, and the smart contract automatically changes the electronic contract state according to the transaction; Complete the operation of the executing electronic contract, send the completion transaction to the smart contract, and change the corresponding electronic contract state; Change the electronic contract after the execution change operation by storing the electronic contract change page off-chain and anchoring and executing it on-chain through the smart contract and the original smart contract number; The process of publishing the approved electronic contract includes: Process the electronic contract text file in units of pages to build a Merkle tree; Store the electronic contract draft and the Merkle tree in the off-chain storage network, and receive the off-chain storage index obtained from the data hash value; Write the contract terms of the electronic contract, the data hash value of the Merkle tree, and the off-chain storage index into the smart contract, and send it to the blockchain in the form of a smart contract for automatic execution, with the electronic contract state being in execution. The specific process of the on-chain and off-chain collaborative storage and change method when performing the change operation includes: constructing a new Merkle tree according to the electronic contract change page; storing the electronic contract change page, the new Merkle tree and the change description file into the off-chain storage network, associating the new Merkle tree with the original electronic contract through the electronic contract number; writing the data hash value of the new Merkle tree into the new smart contract, associating the new smart contract with the original smart contract through the electronic contract number, and sending the new smart contract to the blockchain as an additional contract; sending a change approval transaction, changing the contract state of the original smart contract to under approval, pushing an approval task to an approver, sending an approval signature transaction to the smart contract after obtaining the signature of the approver, and changing the electronic contract state to under execution.
7. An electronic device, comprising: The computer program product comprises a memory and a processor, and computer instructions stored in the memory and run on the processor, and when the computer instructions are run by the processor, the method of claim 6 is completed.
8. A computer-readable storage medium, characterized in that, The computer program product is used for storing computer instructions, and when the computer instructions are executed by the processor, the method of claim 6 is completed.
Citation Information
Patent Citations
A secure data transaction method based on Merkel proof
CN109710617A
Method and system for anchoring trustable external database by blockchain intelligent contract
CN110222067A