CN116029869A - Enterprise electronic contract management method based on blockchain - Google Patents
Enterprise electronic contract management method based on blockchain Download PDFInfo
- Publication number
- CN116029869A CN116029869A CN202310081081.1A CN202310081081A CN116029869A CN 116029869 A CN116029869 A CN 116029869A CN 202310081081 A CN202310081081 A CN 202310081081A CN 116029869 A CN116029869 A CN 116029869A
- Authority
- CN
- China
- Prior art keywords
- contract
- target user
- user contract
- target
- character string
- 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
Links
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention relates to electronic contract management, in particular to an enterprise electronic contract management method based on blockchain, which comprises the steps of obtaining user contract data and carrying out identity verification on a co-signing party according to the identity information of the contract signing party in the user contract data; after the identity verification is passed, contract signature information corresponding to a contract signing party is obtained, and the contract signature information is written into corresponding user contract data to obtain a target user contract; establishing corresponding storage blocks in the block chain according to different types of user contract data, storing target user contracts into the corresponding storage blocks, and simultaneously carrying out backup on the target users in a safe storage platform; encrypting the target user contract in the storage block, and broadcasting the encrypted target user contract to other nodes in the block chain; the technical scheme provided by the invention can effectively overcome the defects that the storage safety of the electronic contract is low, the management of the electronic contract is chaotic, and the validity of the electronic contract cannot be verified.
Description
Technical Field
The invention relates to electronic contract management, in particular to an enterprise electronic contract management method based on a blockchain.
Background
With the rapid development of computer technology, many daily activities are gradually realizing intellectualization and electronization. The prior method for signing the contract adopts paper agreement, and then both sides sign and seal the contract, so that the contract is effective and established, and the electronic contract is gradually becoming a more common contract signing mode.
The rise of electronic contracts makes the signing and management of electronic contracts particularly important. In the process of signing an electronic contract, the steps of drafting contract content, transmitting the contract, signing the contract, encrypting the contract and the like are often carried out, and compared with the traditional contract signing mode, the existing electronic contract signing process still has the problems of multiple processes, large potential safety hazard and the like. In the management process of the electronic contracts, the network environment is public and transparent, and meanwhile, the number of the electronic contracts is large, so that the problems of confusion of electronic contract management, low storage safety and the like exist. In addition, in the management process after the electronic contract is signed, the validity of the electronic contract cannot be verified.
Disclosure of Invention
(one) solving the technical problems
Aiming at the defects existing in the prior art, the invention provides an enterprise electronic contract management method based on a blockchain, which can effectively overcome the defects of lower electronic contract storage safety, disordered electronic contract management and incapability of verifying the validity of an electronic contract existing in the prior art.
(II) technical scheme
In order to achieve the above purpose, the invention is realized by the following technical scheme:
a block chain-based enterprise electronic contract management method comprises the following steps:
s1, acquiring user contract data, and carrying out identity verification on a contract signing party according to the identity information of the contract signing party in the user contract data;
s2, after the identity verification is passed, contract signature information corresponding to the contract signing party is obtained, and the contract signature information is written into corresponding user contract data to obtain a target user contract;
s3, establishing corresponding storage blocks in the blockchain according to different types of user contract data, storing target user contracts into the corresponding storage blocks, and simultaneously carrying out backup on the target users in a safe storage platform;
s4, encrypting the target user contract in the storage block, and broadcasting the encrypted target user contract to other nodes in the block chain;
s5, acquiring a contract checking instruction, and respectively acquiring a target user contract to be checked and a corresponding backup target user contract from the storage block and the safe storage platform according to the contract checking instruction;
s6, converting the target user contract to be checked and the backup target user contract into a first character string and a second character string respectively by utilizing a secure hash algorithm;
s7, determining whether the target user contract to be checked is valid or not according to the first character string and the second character string.
Preferably, the acquiring the user contract data in S1 includes:
and constructing an initial contract transmission frame, and acquiring user contract data based on the initial contract transmission frame.
Preferably, in S3, storing the target user contract in the corresponding storage block, and simultaneously backing up the target user contract in the secure storage platform, including:
adjusting the initial contract transmission frame according to the type of the target user contract to obtain a target contract transmission frame;
and storing the target user contract into a corresponding storage block by utilizing the target contract transmission frame, and simultaneously backing up the target user contract in a safe storage platform.
Preferably, the storing the target user contract in the corresponding storage block by using the target contract transmission frame, and simultaneously backing up the target user contract in the secure storage platform includes:
acquiring a target user contract in real time, and generating contract identification information according to the type of the target user contract;
storing the target user contract into a corresponding storage block based on contract identification information of the target user contract by utilizing a target contract transmission frame, and backing up the target user contract and a corresponding storage area in a secure storage platform;
the contract identification information comprises type codes and sequence number codes of target user contracts, and corresponding storage areas are built in the secure storage platform in advance according to different types of user contract data.
Preferably, in S4, encrypting the target user contract in the storage block, and broadcasting the encrypted target user contract to other nodes in the blockchain includes:
and establishing an intelligent contract according to the contract identification information of the target user contract and the identity information of the contract signing party, limiting the operation authority corresponding to each contract signing party of the target user contract in the blockchain based on the intelligent contract, and managing the target user contract data.
Preferably, in S2, writing the contract signature information into corresponding user contract data to obtain a target user contract, including:
establishing a contract authenticity authentication mechanism, and inputting a contract image of a target user contract into a trained contract authenticity matching model;
the contract authenticity matching model calculates the matching degree between the contract image of the target user contract and each user contract sample to judge the authenticity of the target user contract, and generates the target user contract authenticity authentication information.
Preferably, the target user contract includes a first target user contract and a second target user contract;
the first target user contract is user contract data written with contract signing information corresponding to a first contract signing party, and the second target user contract is a first target user contract written with contract signing information corresponding to a second contract signing party.
Preferably, the first target user contract adds a first signature time written with contract signature information corresponding to the first contract signing party and fingerprint information corresponding to the first contract signing party in the user contract data;
and the second target user contract is matched with the second signature time of writing the contract signature information corresponding to the second contract signing party in the first target user contract, and the fingerprint information corresponding to the second contract signing party.
Preferably, in S6, the method for converting the target user contract to be verified and the backup target user contract into the first character string and the second character string respectively by using a secure hash algorithm includes:
decrypting the target user contract to be verified, which is obtained from the storage block, and the corresponding backup target user contract, which is obtained from the secure storage platform, and converting the target user contract to be verified and the backup target user contract into a first character string and a second character string respectively by utilizing a secure hash algorithm.
Preferably, in S7, determining whether the target user contract to be checked is valid according to the first character string and the second character string includes:
and calculating the matching degree between the first character string and the second character string, and determining whether the target user contract to be checked is valid or not according to the matching degree.
(III) beneficial effects
Compared with the prior art, the enterprise electronic contract management method based on the blockchain has the following beneficial effects:
1) Acquiring user contract data, and carrying out identity verification on the contract signing party according to the identity information of the contract signing party in the user contract data; after the identity verification is passed, contract signature information corresponding to a contract signing party is obtained, and the contract signature information is written into corresponding user contract data to obtain a target user contract; establishing corresponding storage blocks in the block chain according to different types of user contract data, storing target user contracts into the corresponding storage blocks, and simultaneously carrying out backup on the target users in a safe storage platform; encrypting the target user contract in the storage block, and broadcasting the encrypted target user contract to other nodes in the block chain; on one hand, the safety of storing the electronic contracts can be effectively improved by storing the target user contracts on the blockchain and backing up the target user contracts in the safe storage platform, and on the other hand, the management of the electronic contracts is more orderly by carrying out partition storage on different types of target user contracts in the blockchain;
2) Acquiring a contract checking instruction, and respectively acquiring a target user contract to be checked and a corresponding backup target user contract from a storage block and a safe storage platform according to the contract checking instruction; converting the target user contract to be checked and the backup target user contract into a first character string and a second character string respectively by utilizing a secure hash algorithm; determining whether the target user contract to be checked is valid or not according to the first character string and the second character string; and converting the target user contract to be checked and the backup target user contract into character strings by utilizing a secure hash algorithm, and comparing the character strings to determine whether the target user contract to be checked is valid or not, thereby realizing the verification of the validity of the electronic contract.
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 evident that the drawings in the following description are only some embodiments of the present invention and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art.
FIG. 1 is a schematic flow chart of the present invention;
FIG. 2 is a flow chart of the in-chain storage of target user contracts in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more clear, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It will be apparent that the described embodiments 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.
A block chain-based enterprise electronic contract management method is disclosed in fig. 1 and 2, wherein (1) user contract data is obtained, and identity verification is performed on the signing party according to the identity information of the signing party in the user contract data.
Wherein, obtain user contract data, include:
and constructing an initial contract transmission frame, and acquiring user contract data based on the initial contract transmission frame.
(2) And after the identity verification is passed, acquiring contract signature information corresponding to the contract signing party, and writing the contract signature information into corresponding user contract data to obtain the target user contract.
Writing the contract signature information into corresponding user contract data to obtain a target user contract, wherein the method comprises the following steps:
establishing a contract authenticity authentication mechanism, and inputting a contract image of a target user contract into a trained contract authenticity matching model;
the contract authenticity matching model calculates the matching degree between the contract image of the target user contract and each user contract sample to judge the authenticity of the target user contract, and generates the target user contract authenticity authentication information.
In the technical scheme of the application, the target user contracts comprise a first target user contract and a second target user contract:
1) The first target user contract is the user contract data written with the contract signing information corresponding to the first contract signing party, and the second target user contract is the first target user contract written with the contract signing information corresponding to the second contract signing party;
2) The first target user contract adds a first signature time written with contract signature information corresponding to a first contract signing party and fingerprint information corresponding to the first contract signing party into user contract data;
the second target user contract is added with a second signature time for writing contract signature information corresponding to the second contract signing party and fingerprint information corresponding to the second contract signing party in the first target user contract.
(3) Corresponding storage blocks are established in the block chain according to different types of user contract data, target user contracts are stored in the corresponding storage blocks, and meanwhile the target users are backed up in a safe storage platform together.
Storing the target user contract into a corresponding storage block, and simultaneously, backing up the target user contract in a secure storage platform, wherein the method comprises the following steps:
adjusting the initial contract transmission frame according to the type of the target user contract to obtain a target contract transmission frame;
and storing the target user contract into a corresponding storage block by utilizing the target contract transmission frame, and simultaneously backing up the target user contract in a safe storage platform.
Storing the target user contract into a corresponding storage block by using a target contract transmission frame, and simultaneously backing up the target user contract in a safe storage platform, wherein the method comprises the following steps:
acquiring a target user contract in real time, and generating contract identification information according to the type of the target user contract;
storing the target user contract into a corresponding storage block based on contract identification information of the target user contract by utilizing a target contract transmission frame, and backing up the target user contract and a corresponding storage area in a secure storage platform;
the contract identification information comprises type codes and sequence number codes of target user contracts, and corresponding storage areas are built in the secure storage platform in advance according to different types of user contract data.
(4) Encrypting the target user contract in the storage block, and broadcasting the encrypted target user contract to other nodes in the block chain.
The method for encrypting the target user contract in the storage block and broadcasting the encrypted target user contract to other nodes in the block chain comprises the following steps:
and establishing an intelligent contract according to the contract identification information of the target user contract and the identity information of the contract signing party, limiting the operation authority corresponding to each contract signing party of the target user contract in the blockchain based on the intelligent contract, and managing the target user contract data.
According to the technical scheme, the user contract data is obtained, and identity verification is carried out on the contract signing party according to the identity information of the contract signing party in the user contract data; after the identity verification is passed, contract signature information corresponding to a contract signing party is obtained, and the contract signature information is written into corresponding user contract data to obtain a target user contract; establishing corresponding storage blocks in the block chain according to different types of user contract data, storing target user contracts into the corresponding storage blocks, and simultaneously carrying out backup on the target users in a safe storage platform; encrypting the target user contract in the storage block, and broadcasting the encrypted target user contract to other nodes in the block chain; on one hand, the security of the storage of the electronic contract can be effectively improved by storing the target user contract on the blockchain and backing up the target user contract in the secure storage platform, and on the other hand, the management of the electronic contract is more orderly by carrying out partition storage on different types of target user contracts in the blockchain.
As shown in fig. 1, (5) a contract checking instruction is obtained, and a target user contract to be checked and a corresponding backup target user contract are respectively obtained from a storage block and a secure storage platform according to the contract checking instruction.
(6) The target user contract to be checked and the backup target user contract are respectively converted into a first character string and a second character string by utilizing a secure hash algorithm, and the method specifically comprises the following steps:
decrypting the target user contract to be verified, which is obtained from the storage block, and the corresponding backup target user contract, which is obtained from the secure storage platform, and converting the target user contract to be verified and the backup target user contract into a first character string and a second character string respectively by utilizing a secure hash algorithm.
(7) According to the first character string and the second character string, determining whether the target user contract to be checked is valid or not specifically comprises the following steps:
and calculating the matching degree between the first character string and the second character string, and determining whether the target user contract to be checked is valid or not according to the matching degree.
According to the technical scheme, the contract checking instruction is obtained, and the target user contract to be checked and the corresponding backup target user contract are respectively obtained from the storage block and the safe storage platform according to the contract checking instruction; converting the target user contract to be checked and the backup target user contract into a first character string and a second character string respectively by utilizing a secure hash algorithm; determining whether the target user contract to be checked is valid or not according to the first character string and the second character string; and converting the target user contract to be checked and the backup target user contract into character strings by utilizing a secure hash algorithm, and comparing the character strings to determine whether the target user contract to be checked is valid or not, thereby realizing the verification of the validity of the electronic contract.
The above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; 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.
Claims (10)
1. A block chain-based enterprise electronic contract management method is characterized in that: the method comprises the following steps:
s1, acquiring user contract data, and carrying out identity verification on a contract signing party according to the identity information of the contract signing party in the user contract data;
s2, after the identity verification is passed, contract signature information corresponding to the contract signing party is obtained, and the contract signature information is written into corresponding user contract data to obtain a target user contract;
s3, establishing corresponding storage blocks in the blockchain according to different types of user contract data, storing target user contracts into the corresponding storage blocks, and simultaneously carrying out backup on the target users in a safe storage platform;
s4, encrypting the target user contract in the storage block, and broadcasting the encrypted target user contract to other nodes in the block chain;
s5, acquiring a contract checking instruction, and respectively acquiring a target user contract to be checked and a corresponding backup target user contract from the storage block and the safe storage platform according to the contract checking instruction;
s6, converting the target user contract to be checked and the backup target user contract into a first character string and a second character string respectively by utilizing a secure hash algorithm;
s7, determining whether the target user contract to be checked is valid or not according to the first character string and the second character string.
2. The blockchain-based enterprise electronic contract management method of claim 1, wherein: s1, acquiring user contract data, wherein the method comprises the following steps:
and constructing an initial contract transmission frame, and acquiring user contract data based on the initial contract transmission frame.
3. The blockchain-based electronic contract management method of an enterprise, as set forth in claim 2, characterized in that: and S3, storing the target user contract into a corresponding storage block, and simultaneously, carrying out backup on the target user contract and the target user contract in a safe storage platform, wherein the method comprises the following steps:
adjusting the initial contract transmission frame according to the type of the target user contract to obtain a target contract transmission frame;
and storing the target user contract into a corresponding storage block by utilizing the target contract transmission frame, and simultaneously backing up the target user contract in a safe storage platform.
4. The blockchain-based electronic contract management method of enterprises of claim 3, wherein: storing the target user contract to a corresponding storage block by using the target contract transmission frame, and simultaneously backing up the target user contract in a safe storage platform, wherein the method comprises the following steps:
acquiring a target user contract in real time, and generating contract identification information according to the type of the target user contract;
storing the target user contract into a corresponding storage block based on contract identification information of the target user contract by utilizing a target contract transmission frame, and backing up the target user contract and a corresponding storage area in a secure storage platform;
the contract identification information comprises type codes and sequence number codes of target user contracts, and corresponding storage areas are built in the secure storage platform in advance according to different types of user contract data.
5. The blockchain-based electronic contract management method of an enterprise, as set forth in claim 4, wherein: s4, encrypting the target user contract in the storage block, broadcasting the encrypted target user contract to other nodes in the block chain, and then, comprising:
and establishing an intelligent contract according to the contract identification information of the target user contract and the identity information of the contract signing party, limiting the operation authority corresponding to each contract signing party of the target user contract in the blockchain based on the intelligent contract, and managing the target user contract data.
6. The blockchain-based enterprise electronic contract management method of claim 1, wherein: writing the contract signature information into corresponding user contract data to obtain a target user contract, wherein the method comprises the following steps:
establishing a contract authenticity authentication mechanism, and inputting a contract image of a target user contract into a trained contract authenticity matching model;
the contract authenticity matching model calculates the matching degree between the contract image of the target user contract and each user contract sample to judge the authenticity of the target user contract, and generates the target user contract authenticity authentication information.
7. The blockchain-based electronic contract management method of enterprises of claim 6, wherein: the target user contracts comprise a first target user contract and a second target user contract;
the first target user contract is user contract data written with contract signing information corresponding to a first contract signing party, and the second target user contract is a first target user contract written with contract signing information corresponding to a second contract signing party.
8. The blockchain-based electronic contract management method of an enterprise, as set forth in claim 7, wherein: the first target user contract adds a first signature time written with contract signature information corresponding to a first contract signing party and fingerprint information corresponding to the first contract signing party in user contract data;
and the second target user contract is matched with the second signature time of writing the contract signature information corresponding to the second contract signing party in the first target user contract, and the fingerprint information corresponding to the second contract signing party.
9. The blockchain-based enterprise electronic contract management method of claim 1, wherein: s6, converting the target user contract to be checked and the backup target user contract into a first character string and a second character string respectively by utilizing a secure hash algorithm, wherein the method comprises the following steps:
decrypting the target user contract to be verified, which is obtained from the storage block, and the corresponding backup target user contract, which is obtained from the secure storage platform, and converting the target user contract to be verified and the backup target user contract into a first character string and a second character string respectively by utilizing a secure hash algorithm.
10. The blockchain-based electronic contract management method of enterprises of claim 9, wherein: s7, determining whether the target user contract to be checked is valid or not according to the first character string and the second character string, including:
and calculating the matching degree between the first character string and the second character string, and determining whether the target user contract to be checked is valid or not according to the matching degree.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310081081.1A CN116029869A (en) | 2023-02-08 | 2023-02-08 | Enterprise electronic contract management method based on blockchain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310081081.1A CN116029869A (en) | 2023-02-08 | 2023-02-08 | Enterprise electronic contract management method based on blockchain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116029869A true CN116029869A (en) | 2023-04-28 |
Family
ID=86075795
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310081081.1A Pending CN116029869A (en) | 2023-02-08 | 2023-02-08 | Enterprise electronic contract management method based on blockchain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116029869A (en) |
-
2023
- 2023-02-08 CN CN202310081081.1A patent/CN116029869A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210279736A1 (en) | Blockchain secure transaction method and device based on biomarker authentication | |
CN103679436B (en) | A kind of electronic contract security system and method based on biological information identification | |
CN109710823A (en) | Archive management method, file administration network and electronic equipment based on block chain | |
CN108009445B (en) | Semi-centralized trusted data management system | |
CN109687965A (en) | The real name identification method of subscriber identity information in a kind of protection network | |
CN115208628B (en) | Data integrity verification method based on block chain | |
CN112131309A (en) | Data evidence storing method and system based on block chain technology | |
CN114003925A (en) | Signature combined online declaration method and system based on block chain | |
CN112801606A (en) | Electronic contract system of cone block chain | |
CN113205345A (en) | Agricultural product certificate tracing system based on Ether house block chain technology and tracing method thereof | |
CN108733783A (en) | A kind of student status information management system based on privately owned block chain | |
CN108540447A (en) | A kind of certification authentication method and system based on block chain | |
CN112000993A (en) | Block chain-based data storage verification method, equipment and storage medium | |
CN112751676B (en) | Signing and certification method, hash value generation method, certification equipment and storage medium | |
CN113761578A (en) | Document true checking method based on block chain | |
CN104751042A (en) | Credibility detection method based on password hash and biometric feature recognition | |
CN114169888B (en) | Universal type cryptocurrency custody method supporting multiple signatures | |
CN116029869A (en) | Enterprise electronic contract management method based on blockchain | |
CN116127429A (en) | Data right determining method based on symbol mapping coding and block chain | |
CN115587129A (en) | Anti-electricity-stealing electronic evidence storing and anti-counterfeiting method and system in power industry | |
CN114565485A (en) | Labor contract management method and system based on block chain ipfs storage | |
CN113935874A (en) | District chain-based book management system for studying income | |
CN111260528B (en) | Real estate information verification method based on asymmetric algorithm | |
Petcu et al. | A Practical Implementation Of A Digital Document Signature System Using Blockchain | |
Jiang et al. | Traitor tracing scheme for relational databases based on blockchain |
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 |