CN112417466A - Block chain-based electronic archive file evidence storage and verification method and system - Google Patents
Block chain-based electronic archive file evidence storage and verification method and system Download PDFInfo
- Publication number
- CN112417466A CN112417466A CN202011081734.9A CN202011081734A CN112417466A CN 112417466 A CN112417466 A CN 112417466A CN 202011081734 A CN202011081734 A CN 202011081734A CN 112417466 A CN112417466 A CN 112417466A
- Authority
- CN
- China
- Prior art keywords
- file
- block
- chain
- information
- verifying
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/172—Caching, prefetching or hoarding of files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/18—File system types
- G06F16/182—Distributed file systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/12—Applying verification of the received information
- H04L63/123—Applying verification of the received information received data contents, e.g. message integrity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/06—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
- H04L9/0643—Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
Abstract
The invention discloses a method and a system for storing and verifying an electronic archive file based on a block chain, wherein the method comprises a safe storage subchain system, a certificate storage and verification system and a synchronous node; the intelligent contract of the safe storage sub-chain system submits the archived electronic archive meta-information and the chain ID to a production node; the production node of the certificate storing and verifying system receives the file meta information and the chain ID for verification, extracts the current timestamp and generates a new block; the production node of the evidence storing and verifying system performs alliance in-chain broadcasting on the new block and synchronizes the new block to the synchronous node; the synchronous node checks the file meta-information in the synchronous block; the synchronous node stores file meta-information and opens a service interface; the invention provides the whole network on-line checking, verifying and tracing on the basis of ensuring the confidentiality of the file by applying a block chain technology, a plurality of production nodes and an automatic synchronization technology.
Description
Technical Field
The invention relates to the technical field of electronic archive file certificate storage and verification, in particular to a block chain-based electronic archive file certificate storage and verification method and system.
Background
The use of the block chain-based electronic archive file safe storage system implements distributed archive management and safe storage of the block chain in an area range, cannot avoid the problem of information island, and is inconvenient for users to look up and verify at any time and any place; remote calling in different places of the electronic files, cross-department, cross-enterprise, cross-city and cross-region calling of the files, effective application of file data, anytime and anywhere user lookup, verification of file authenticity and difficult certificate storage.
Verification application based on the block chain technology is born, but a scheme for supporting the requirement of unified verification on the file line of national archives, national universities and enterprises based on a full-network verification solution on a block chain network for safe storage of full files is not available for a while.
Therefore, a method and system for storing and verifying an electronic archive file based on a block chain become a problem to be solved urgently.
Disclosure of Invention
The invention aims to solve the technical problems of easy counterfeiting, easy tampering, easy deletion, difficult source tracing, difficult verification, difficult secrecy and other safe storage and information isolated island of the electronic archive file in the prior art.
In order to solve the technical problems, the technical scheme provided by the invention is as follows: a block chain-based electronic archive file evidence storing and verifying method and system comprises a method for storing and verifying an encrypted electronic archive file by using a block chain technology, a method for storing and verifying a non-encrypted electronic archive file by using a block chain technology and a block chain-based electronic archive file evidence storing and verifying system;
the method for storing and verifying the encrypted electronic archive file by using the block chain technology comprises the following steps:
step 1, intelligent contracts of a safe storage sub-chain system submit archived electronic archive meta-information and chain IDs to production nodes;
step 2, a production node of the evidence storage and verification system receives the file meta information and the chain ID for verification, extracts a current timestamp and generates a new block;
step 3, the production node of the evidence storing and verifying system performs alliance chain in-broadcasting on the new block and synchronizes the new block to the synchronous node;
step 4, the synchronous node checks the file meta-information in the synchronous block;
step 5, the synchronous node stores archive meta-information and opens a service interface;
the method for storing and verifying the non-encrypted electronic archive file by using the block chain technology comprises the following steps:
step 1, an intelligent contract of a safe storage subchain system carries out hash algorithm calculation on an electronic archive file packet, extracts archive meta information and submits the archive meta information to a production node of a storage and verification system;
step 2, the synchronous node of the certificate storage and verification system receives the file meta-information and the data of the original certificate storage for verification;
and 3, the synchronous node of the certificate storage and verification system returns a verification result to the safe storage sub-chain system through an interface.
Furthermore, the system for storing and verifying the electronic archive file based on the block chain comprises a sub-chain system of the secure storage, a system for storing and verifying the electronic archive file and a synchronous node;
the intelligent contract of the safe storage sub-chain system submits the archived electronic archive meta-information and the chain ID to a production node;
the production node of the certificate storing and verifying system receives the file meta information and the chain ID for verification, extracts the current timestamp and generates a new block; the production node of the evidence storing and verifying system performs alliance in-chain broadcasting on the new block and synchronizes the new block to the synchronous node;
the synchronous node checks the file meta information in the synchronous block; and the synchronous node stores archive meta-information and opens a service interface.
Further, the archive meta-package information includes, but is not limited to, an archive name, an archive number, a package hash value, a name of a file in a package, a file creation time, a file type, a file size, and an archive file.
Further, the new block comprises a block head and block data, wherein the block head is a version number, a last block hash value, a Merkle tree root value and timestamp information which are extracted after the production node receives the file meta-information and the chain ID for verification; and the block data is data assembled by the production node after the received file meta information and file package verification data are received.
Further, the Hash value of the previous block is obtained by hashing the whole block header of the previous block according to a Hash algorithm.
Further, the Merkle tree root value is calculated by all transactions, and the Merkle tree root value is recorded in the block header.
Compared with the prior art, the invention has the advantages that: the invention prevents eavesdropping in the transmission process by using the safe communication technology of the block chain technology; the application of the block chain type storage structure can effectively prevent the file files from being maliciously tampered; the modification of the block chain technology applied archive file can be recorded and cannot be tampered, and the change track of the archive can be effectively recorded to play a tracing role; by applying a block chain technology, multiple production nodes and an automatic synchronization technology, the whole network on-line check, verification and traceability are provided on the basis of guaranteeing the confidentiality of the file; thoroughly changed the transmission mode and the operation system of archives information, promoted archives work efficiency, reduced archives management cost, improved archives management benefit, improved the output of public trust, improved convenient for people's service.
Drawings
FIG. 1 is a block chain-based system framework diagram of an electronic archive certification and verification system according to the present invention.
FIG. 2 is a flowchart of a method for verifying and certifying an encrypted electronic file using a blockchain technique according to the present invention.
Fig. 3 is a flowchart of a method for storing and verifying an unencrypted electronic archive file by using a blockchain technique according to the method for storing and verifying an electronic archive file based on a blockchain of the present invention.
Detailed Description
The following describes the method and system for storing and verifying an electronic archive file based on a block chain in detail with reference to the accompanying drawings.
The present invention will be described in detail with reference to the accompanying fig. 1 to 3.
A block chain-based electronic archive file evidence storing and verifying method and system comprises a method for storing and verifying an encrypted electronic archive file by using a block chain technology, a method for storing and verifying a non-encrypted electronic archive file by using a block chain technology and a block chain-based electronic archive file evidence storing and verifying system;
the method for storing and verifying the encrypted electronic archive file by using the block chain technology comprises the following steps:
step 1, intelligent contracts of a safe storage sub-chain system submit archived electronic archive meta-information and chain IDs to production nodes;
step 2, a production node of the evidence storage and verification system receives the file meta information and the chain ID for verification, extracts a current timestamp and generates a new block;
step 3, the production node of the evidence storing and verifying system performs alliance chain in-broadcasting on the new block and synchronizes the new block to the synchronous node;
step 4, the synchronous node checks the file meta-information in the synchronous block;
step 5, the synchronous node stores archive meta-information and opens a service interface;
the method for storing and verifying the non-encrypted electronic archive file by using the block chain technology comprises the following steps:
step 1, an intelligent contract of a safe storage subchain system carries out hash algorithm calculation on an electronic archive file packet, extracts archive meta information and submits the archive meta information to a production node of a storage and verification system;
step 2, the synchronous node of the certificate storage and verification system receives the file meta-information and the data of the original certificate storage for verification;
and 3, the synchronous node of the certificate storage and verification system returns a verification result to the safe storage sub-chain system through an interface.
The system for storing and verifying the electronic archive file based on the block chain comprises a sub-chain system of the secure storage, a system for storing and verifying the electronic archive file and a synchronous node;
the intelligent contract of the safe storage sub-chain system submits the archived electronic archive meta-information and the chain ID to a production node;
the production node of the certificate storing and verifying system receives the file meta information and the chain ID for verification, extracts the current timestamp and generates a new block; the production node of the evidence storing and verifying system performs alliance in-chain broadcasting on the new block and synchronizes the new block to the synchronous node;
the synchronous node checks the file meta information in the synchronous block; and the synchronous node stores archive meta-information and opens a service interface.
The archive meta-package information includes, but is not limited to, an archive name, an archive number, a package hash value, a name of a file in a package, a file creation time, a file type, a file size, and an archive file.
The new block comprises a block head and block data, wherein the block head is a version number extracted after the production node receives the file meta-information and the chain ID for verification, a last block hash value, a Merkle tree root value and timestamp information; and the block data is data assembled by the production node after the received file meta information and file package verification data are received.
And the Hash value of the previous block is obtained by taking the Hash of the whole block head of the previous block according to a Hash algorithm.
The Merkle tree root is calculated from all transactions and is recorded in the chunk header.
The invention relates to a block chain-based electronic archive file evidence storage and verification method and a system, which are implemented in the following specific steps:
example 1: the method for storing and verifying the encrypted electronic archive file by using the block chain technology is as follows:
the safe storage sub-chain system calls an interface provided by the system described by the invention through an intelligent contract to submit file meta-information and a chain ID, wherein the file meta-package information comprises but is not limited to a file name, a file number, a package hash value, a file name in a package, file creation time, a file type, a file size, a file hash and the like, and then the file meta-information and the chain ID are submitted to a production node together;
the production node receives the file meta information and the chain ID for verification, and extracts the version number, the last block hash value, the Merkle tree root value and the timestamp information to generate a block head; after receiving the file meta information and the file package, the production node performs data verification, and after the data is verified, new block data is assembled, wherein the new block comprises a block head and block data; the production node performs alliance intra-chain broadcasting on the new block and synchronizes the new block to the synchronization node;
the synchronization node verifies the file meta-information and the file in the received production node synchronization new block, verifies the integrity of the file meta-information and the link ID, and stores the verified meta-information and the link ID of the file in the synchronization node;
and storing archive meta information under the synchronous node link, and opening a service interface.
Example 2: the method for storing and verifying the unencrypted electronic archive file by using the block chain technology is as follows:
an archive requirement department or a supervision department calls an interface provided by the system described by the invention to submit and verify archive meta-information in a safe storage subchain system through an intelligent contract, the intelligent contract of the safe storage subchain system analyzes and extracts archive package information according to an archive record specification, and the name, the number, the package hash value, the name of files in a package, the file creation time, the file type, the file size, the archive file hash and the like are stored in an archive meta-information list, and then the archive meta-information is submitted to a production node;
the production node of the certificate storage and verification platform receives the file meta-information and the verification application, and performs information verification on the received file meta-information, the file meta-information of the original certificate and the chain ID;
and the intelligent contract of the synchronous node of the deposit evidence and verification system returns the verification result to the safe storage sub-chain system through the interface.
The invention prevents eavesdropping in the transmission process by using the safe communication technology of the block chain technology; the application of the block chain type storage structure can effectively prevent the file files from being maliciously tampered; the modification of the block chain technology applied archive file can be recorded and cannot be tampered, and the change track of the archive can be effectively recorded to play a tracing role; by applying a block chain technology, multiple production nodes and an automatic synchronization technology, the whole network on-line check, verification and traceability are provided on the basis of guaranteeing the confidentiality of the file; thoroughly changed the transmission mode and the operation system of archives information, promoted archives work efficiency, reduced archives management cost, improved archives management benefit, improved the output of public trust, improved convenient for people's service.
The present invention and its embodiments have been described above, and the description is not intended to be limiting, and the drawings are only one embodiment of the present invention, and the actual structure is not limited thereto. In summary, those skilled in the art should appreciate that they can readily use the disclosed conception and specific embodiments as a basis for designing or modifying other structures for carrying out the same purposes of the present invention without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (6)
1. A block chain-based electronic archive file evidence storing and verifying method and system are characterized by comprising a method for storing and verifying an encrypted electronic archive file by using a block chain technology, a method for storing and verifying a non-encrypted electronic archive file by using the block chain technology and a block chain-based electronic archive file evidence storing and verifying system;
the method for storing and verifying the encrypted electronic archive file by using the block chain technology comprises the following steps:
step 1, intelligent contracts of a safe storage sub-chain system submit archived electronic archive meta-information and chain IDs to production nodes;
step 2, a production node of the evidence storage and verification system receives the file meta information and the chain ID for verification, extracts a current timestamp and generates a new block;
step 3, the production node of the evidence storing and verifying system performs alliance chain in-broadcasting on the new block and synchronizes the new block to the synchronous node;
step 4, the synchronous node checks the file meta-information in the synchronous block;
step 5, the synchronous node stores archive meta-information and opens a service interface;
the method for storing and verifying the non-encrypted electronic archive file by using the block chain technology comprises the following steps:
step 1, an intelligent contract of a safe storage subchain system carries out hash algorithm calculation on an electronic archive file packet, extracts archive meta information and submits the archive meta information to a production node of a storage and verification system;
step 2, the synchronous node of the certificate storage and verification system receives the file meta-information and the data of the original certificate storage for verification;
and 3, the synchronous node of the certificate storage and verification system returns a verification result to the safe storage sub-chain system through an interface.
2. The method and system for storing and verifying the electronic archive file based on the block chain as claimed in claim 1, wherein: the system for storing and verifying the electronic archive file based on the block chain comprises a sub-chain system of the secure storage, a system for storing and verifying the electronic archive file and a synchronous node;
the intelligent contract of the safe storage sub-chain system submits the archived electronic archive meta-information and the chain ID to a production node;
the production node of the certificate storing and verifying system receives the file meta information and the chain ID for verification, extracts the current timestamp and generates a new block; the production node of the evidence storing and verifying system performs alliance in-chain broadcasting on the new block and synchronizes the new block to the synchronous node;
the synchronous node checks the file meta information in the synchronous block; and the synchronous node stores archive meta-information and opens a service interface.
3. The method and system for storing and verifying the electronic archive file based on the block chain as claimed in claim 2, wherein: the archive meta-package information includes, but is not limited to, an archive name, an archive number, a package hash value, a name of a file in a package, a file creation time, a file type, a file size, and an archive file.
4. The method and system for storing and verifying the electronic archive file based on the block chain as claimed in claim 2, wherein: the new block comprises a block head and block data, wherein the block head is a version number extracted after the production node receives the file meta-information and the chain ID for verification, a last block hash value, a Merkle tree root value and timestamp information; and the block data is data assembled by the production node after the received file meta information and file package verification data are received.
5. The method and system for certification and verification of an electronic archive file based on a blockchain as claimed in claim 4, wherein: and the Hash value of the previous block is obtained by taking the Hash of the whole block head of the previous block according to a Hash algorithm.
6. The method and system for certification and verification of an electronic archive file based on a blockchain as claimed in claim 4, wherein: the Merkle tree root is calculated from all transactions and is recorded in the chunk header.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011081734.9A CN112417466A (en) | 2020-10-12 | 2020-10-12 | Block chain-based electronic archive file evidence storage and verification method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011081734.9A CN112417466A (en) | 2020-10-12 | 2020-10-12 | Block chain-based electronic archive file evidence storage and verification method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112417466A true CN112417466A (en) | 2021-02-26 |
Family
ID=74854869
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011081734.9A Pending CN112417466A (en) | 2020-10-12 | 2020-10-12 | Block chain-based electronic archive file evidence storage and verification method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112417466A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112988982A (en) * | 2021-05-17 | 2021-06-18 | 江苏联著实业股份有限公司 | Autonomous learning method and system for computer comparison space |
CN113626775A (en) * | 2021-07-31 | 2021-11-09 | 西南电子技术研究所(中国电子科技集团公司第十研究所) | Credible scientific and technological information evidence chain tracing method |
CN115865378A (en) * | 2023-02-22 | 2023-03-28 | 中科云证科技(杭州)有限公司 | Streaming media real-time evidence storing and checking method based on block chain |
CN116192398A (en) * | 2023-01-05 | 2023-05-30 | 重庆易保全网络科技有限公司 | Electronic evidence authentication and exchange method and system based on blockchain |
CN117113199A (en) * | 2023-10-23 | 2023-11-24 | 浙江星汉信息技术股份有限公司 | File security management system and method based on artificial intelligence |
-
2020
- 2020-10-12 CN CN202011081734.9A patent/CN112417466A/en active Pending
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112988982A (en) * | 2021-05-17 | 2021-06-18 | 江苏联著实业股份有限公司 | Autonomous learning method and system for computer comparison space |
CN112988982B (en) * | 2021-05-17 | 2021-08-24 | 江苏联著实业股份有限公司 | Autonomous learning method and system for computer comparison space |
CN113626775A (en) * | 2021-07-31 | 2021-11-09 | 西南电子技术研究所(中国电子科技集团公司第十研究所) | Credible scientific and technological information evidence chain tracing method |
CN116192398A (en) * | 2023-01-05 | 2023-05-30 | 重庆易保全网络科技有限公司 | Electronic evidence authentication and exchange method and system based on blockchain |
CN115865378A (en) * | 2023-02-22 | 2023-03-28 | 中科云证科技(杭州)有限公司 | Streaming media real-time evidence storing and checking method based on block chain |
CN115865378B (en) * | 2023-02-22 | 2023-05-23 | 中科云证科技(杭州)有限公司 | Streaming media real-time certification and verification method based on blockchain |
CN117113199A (en) * | 2023-10-23 | 2023-11-24 | 浙江星汉信息技术股份有限公司 | File security management system and method based on artificial intelligence |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112417466A (en) | Block chain-based electronic archive file evidence storage and verification method and system | |
CN109766673B (en) | Alliance type audio and video copyright block chain system and audio and video copyright chaining method | |
CN109409122B (en) | File storage method, electronic device and storage medium | |
CN113114759B (en) | Chain-crossing method and system for realizing multi-chain intercommunication | |
CN109815748B (en) | Central data source monitoring method based on block chain | |
CN110430039B (en) | Production management system and method based on block chain | |
CN110309197B (en) | Project data verification method and device | |
CN110704864B (en) | Block chain-based government integrity archive license management method | |
CN111783128B (en) | Verifiable distributed database access control method | |
WO2020177481A1 (en) | Blockchain-based traffic counting method, apparatus and device | |
CN112732695B (en) | Cloud storage data security deduplication method based on block chain | |
CN111046407A (en) | Data storage system based on block chain | |
CN112035895A (en) | Electronic contract evidence obtaining method and system based on transaction mode | |
CN113127562A (en) | Low-redundancy block chain data storage and retrieval method and system | |
CN110909381A (en) | Block chain-based user comment tamper-proof system and method | |
CN114357492A (en) | Medical data privacy fusion method and device based on block chain | |
CN112329029A (en) | Block chain-based electronic archive file safe storage method and system | |
CN115567312A (en) | Alliance chain data authority management system and method capable of meeting multiple scenes | |
CN114938311A (en) | Data processing method and system based on artificial intelligence | |
CN111177265A (en) | Block chain domain division method | |
CN112583772B (en) | Data acquisition and storage platform | |
CN113570321B (en) | Hydrogen energy data management system | |
CN114078061A (en) | Electric power core data traceability system based on block chain | |
CN113938491B (en) | Instruction data traceable tamper-proof method and system based on block chain technology | |
CN113342743A (en) | Electronic archive data interaction method based on block chain bottom layer of alliance chain |
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 |