CN111190959A - Data-based encryption method and system for block chain decentralized storage - Google Patents
Data-based encryption method and system for block chain decentralized storage Download PDFInfo
- Publication number
- CN111190959A CN111190959A CN201911280101.8A CN201911280101A CN111190959A CN 111190959 A CN111190959 A CN 111190959A CN 201911280101 A CN201911280101 A CN 201911280101A CN 111190959 A CN111190959 A CN 111190959A
- Authority
- CN
- China
- Prior art keywords
- data
- module
- chain
- packet
- block chain
- 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
- 238000000034 method Methods 0.000 title claims abstract description 20
- 238000004806 packaging method and process Methods 0.000 claims abstract description 5
- 230000011218 segmentation Effects 0.000 claims description 9
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- 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/602—Providing cryptographic facilities or services
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Bioethics (AREA)
- Computing Systems (AREA)
- Health & Medical Sciences (AREA)
- Data Mining & Analysis (AREA)
- Power Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Storage Device Security (AREA)
Abstract
The invention provides a data-based encryption method and system for block chain decentralized storage. The block chain decentralized storage data-based encryption method comprises the following steps: s1: dividing a data packet to be stored into 21 unordered data packets in a node sequence in a mode of packaging an uplink by marking a hash value in a transaction block on a block chain; s2: marking a header hash of each data packet, and then forming a special hash table of the data packet; s3: the information is stored on the chain in a privacy public chain mode, and only a storage device or an owner accesses or authorizes the access; s4: the data packets are randomly stored in 21 devices of the decentralized network with the block chain address mark closest to the network. The encryption method and system based on data for block chain decentralized storage have the advantages of reasonable design, high safety and high stealing difficulty.
Description
Technical Field
The invention relates to the technical field of block chains, in particular to a data-based encryption method and system for decentralized storage of a block chain.
Background
Centralized proprietary data storage services are being replaced by decentralized distributed open data storage services; relying on the three-party trusted storage to be replaced by verifiable programmable trusted storage; fragile location addressing (IP) is replaced by flexible content addressing (IPFS); inefficient monolithic packaging services are replaced by the point-to-point algorithm storage market; bitcoin, etherhouse, and other blockchain networks have demonstrated the effectiveness of decentralizing trading books. These public ledgers handle complex intelligent contractual applications and encrypted assets that are transacted with values of hundreds of billions of dollars. The participants of these systems form a decentralized network without a central authority or trusted party that provides useful payment services, which is the first example of a wide range of internet open services. How to store data is also verified for ownership with blockchains, data distribution storage and granting access using intelligent contracts becomes the largest requirement in distributed storage data.
The encryption security of the existing block chain for decentralized storage of data is still to be improved, and the data is easy to be stolen.
Therefore, there is a need to provide a new method and system for block-chain decentralized storage of data-based encryption that solves the above-mentioned problems.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a data-based encryption method and system for decentralized storage of block chains, which are reasonable in design, high in safety and high in stealing difficulty.
In order to solve the above technical problem, the present invention provides a block chain decentralized storage data-based encryption method and system, comprising the following steps:
s1: dividing a data packet to be stored into 21 unordered data packets in a node sequence in a mode of packaging an uplink by marking a hash value in a transaction block on a block chain;
s2: marking a header hash of each data packet, and then forming a special hash table of the data packet;
s3: the information is stored on the chain in a privacy public chain mode, and only a storage device or an owner accesses or authorizes the access;
s4: the data packets are randomly stored in 21 devices of the decentralized network with the block chain address mark closest to the network.
Preferably, in S3, the single hash is scattered in the on-chain block of the transparent public chain, and is used for searching and retrieving the retrieval device.
Preferably, each device only has 1 data packet but cannot acquire a plurality of data packets, and when a plurality of data packets are acquired, the original data packets cannot be combined due to no complete hash value table, so that the privacy of the data is guaranteed, and the encryption of the data is completed.
The invention also provides a block chain decentralized storage data-based encryption system which comprises a data packet module, a data packet segmentation module, a data packet marking module, a hash table module, a storage chain module, decentralized network equipment and a network module.
Preferably, the data packet module, the data packet segmentation module, the data packet marking module, the hash table module, the storage chain module and the decentralized network device are all connected with the network module.
Preferably, the data packet module, the data packet segmentation module, the data packet marking module, the hash table module, the storage chain module and the decentralized network device are sequentially connected.
Compared with the related art, the encryption method and system based on data for block chain decentralized storage provided by the invention have the following beneficial effects:
the invention provides a data-based encryption method and system for block chain decentralized storage, which can effectively solve the problem of unclear ownership of the current data, return user and node data to the benefit of a data creator from a service provider, and greatly increase the privacy and the stealing difficulty of the data.
Drawings
FIG. 1 is a flow chart of a method for block-chain decentralized storage of data-based encryption in accordance with the present invention;
FIG. 2 is a schematic block diagram of a blockchain decentralized storage data-based encryption system according to the present invention.
Detailed Description
The invention is further described with reference to the following figures and embodiments.
Referring to fig. 1 and fig. 2 in combination, fig. 1 is a flow chart of a method for block chain decentralized storage of data-based encryption according to the present invention; FIG. 2 is a schematic block diagram of a blockchain decentralized storage data-based encryption system according to the present invention. The invention provides a data-based encryption method and system for block chain decentralized storage, which comprises the following steps:
s1: dividing a data packet to be stored into 21 unordered data packets in a node sequence in a mode of packaging an uplink by marking a hash value in a transaction block on a block chain;
s2: marking a header hash of each data packet, and then forming a special hash table of the data packet;
s3: the information is stored on the chain in a privacy public chain mode, and only a storage device or an owner accesses or authorizes the access;
s4: the data packets are randomly stored in 21 devices of the decentralized network with the block chain address mark closest to the network.
In S3, the single hash is scattered in the on-chain blocks of the transparent public chain, and is used for searching and retrieving the retrieval device.
Only 1 part of data packets exist in each device, so that a plurality of data packets cannot be obtained, and when the plurality of data packets are obtained, the original data packets cannot be combined due to the fact that a complete hash value table does not exist, so that privacy of data is guaranteed, and encryption of the data is completed.
The invention also provides a block chain decentralized storage data-based encryption system which comprises a data packet module, a data packet segmentation module, a data packet marking module, a hash table module, a storage chain module, decentralized network equipment and a network module.
The data packet module, the data packet segmentation module, the data packet marking module, the hash table module, the storage chain module and the decentralized network device are all connected with the network module.
The data packet module, the data packet segmentation module, the data packet marking module, the hash table module, the storage chain module and the decentralized network device are connected in sequence.
Compared with the related art, the encryption method and system based on data for block chain decentralized storage provided by the invention have the following beneficial effects:
the invention provides a data-based encryption method and system for block chain decentralized storage, which can effectively solve the problem of unclear ownership of the current data, return user and node data to the benefit of a data creator from a service provider, and greatly increase the privacy and the stealing difficulty of the data.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (6)
1. A method for block chain decentralized storage of data-based encryption, comprising the steps of:
s1: dividing a data packet to be stored into 21 unordered data packets in a node sequence in a mode of packaging an uplink by marking a hash value in a transaction block on a block chain;
s2: marking a header hash of each data packet, and then forming a special hash table of the data packet;
s3: the information is stored on the chain in a privacy public chain mode, and only a storage device or an owner accesses or authorizes the access;
s4: the data packets are randomly stored in 21 devices of the decentralized network with the block chain address mark closest to the network.
2. The blockchain decentralized storage data-based encryption method according to claim 1, wherein in S3, the single hash is scattered in the chain blocks of the transparent public chain for search and retrieval of the retrieval device.
3. The method as claimed in claim 1, wherein each device has only 1 packet and cannot acquire multiple packets, and when multiple packets are acquired, the multiple packets cannot be combined into an original packet due to no complete hash table, so as to ensure privacy of data, thereby completing encryption of data.
4. A block chain decentralized storage data-based encryption system is characterized by comprising a data packet module, a data packet segmentation module, a data packet marking module, a hash table module, a storage chain module, decentralized network equipment and a network module.
5. The system of claim 4, wherein the packet module, the packet segmentation module, the packet tagging module, the hash table module, the memory chain module, and the decentralized network device are coupled to the network module.
6. The system of claim 4, wherein the packet module, the packet segmentation module, the packet tagging module, the hash table module, the memory chain module, and the decentralized network device are connected in sequence.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911280101.8A CN111190959A (en) | 2019-12-13 | 2019-12-13 | Data-based encryption method and system for block chain decentralized storage |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911280101.8A CN111190959A (en) | 2019-12-13 | 2019-12-13 | Data-based encryption method and system for block chain decentralized storage |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111190959A true CN111190959A (en) | 2020-05-22 |
Family
ID=70709216
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911280101.8A Pending CN111190959A (en) | 2019-12-13 | 2019-12-13 | Data-based encryption method and system for block chain decentralized storage |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111190959A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112215565A (en) * | 2020-09-25 | 2021-01-12 | 重庆市盈科物联网信息技术有限公司 | Traffic driving business handling method and system based on Internet + |
CN113708936A (en) * | 2021-08-26 | 2021-11-26 | 南京邮电大学 | Block chain-based multiple scattered order verification method and system for personal information |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107249046A (en) * | 2017-08-15 | 2017-10-13 | 李俊庄 | A kind of distributed cloud storage system construction method based on block chain |
CN108737374A (en) * | 2018-04-12 | 2018-11-02 | 三维通信股份有限公司 | The method for secret protection that data store in a kind of block chain |
CN109587253A (en) * | 2018-12-11 | 2019-04-05 | 浙江大学 | A method of distributed storage is realized to file based on block chain |
US20190140822A1 (en) * | 2016-12-30 | 2019-05-09 | Cloudminds (Shenzhen) Robotics Systems Co., Ltd. | Block chain permission control method, device, and node apparatus |
CN109918375A (en) * | 2019-02-26 | 2019-06-21 | 杭州云象网络技术有限公司 | It is a kind of based on block chain and the big text of distributed storage storage, index and search method |
CN110046521A (en) * | 2019-04-24 | 2019-07-23 | 成都派沃特科技股份有限公司 | Decentralization method for secret protection |
US20190332921A1 (en) * | 2018-04-13 | 2019-10-31 | Vosai, Inc. | Decentralized storage structures and methods for artificial intelligence systems |
-
2019
- 2019-12-13 CN CN201911280101.8A patent/CN111190959A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190140822A1 (en) * | 2016-12-30 | 2019-05-09 | Cloudminds (Shenzhen) Robotics Systems Co., Ltd. | Block chain permission control method, device, and node apparatus |
CN107249046A (en) * | 2017-08-15 | 2017-10-13 | 李俊庄 | A kind of distributed cloud storage system construction method based on block chain |
CN108737374A (en) * | 2018-04-12 | 2018-11-02 | 三维通信股份有限公司 | The method for secret protection that data store in a kind of block chain |
US20190332921A1 (en) * | 2018-04-13 | 2019-10-31 | Vosai, Inc. | Decentralized storage structures and methods for artificial intelligence systems |
CN109587253A (en) * | 2018-12-11 | 2019-04-05 | 浙江大学 | A method of distributed storage is realized to file based on block chain |
CN109918375A (en) * | 2019-02-26 | 2019-06-21 | 杭州云象网络技术有限公司 | It is a kind of based on block chain and the big text of distributed storage storage, index and search method |
CN110046521A (en) * | 2019-04-24 | 2019-07-23 | 成都派沃特科技股份有限公司 | Decentralization method for secret protection |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112215565A (en) * | 2020-09-25 | 2021-01-12 | 重庆市盈科物联网信息技术有限公司 | Traffic driving business handling method and system based on Internet + |
CN113708936A (en) * | 2021-08-26 | 2021-11-26 | 南京邮电大学 | Block chain-based multiple scattered order verification method and system for personal information |
CN113708936B (en) * | 2021-08-26 | 2022-08-16 | 南京邮电大学 | Block chain-based multiple scattered order verification method and system for personal information |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110163007B (en) | Block chain-based data integrity verification method, equipment and storage medium | |
CN110060162B (en) | Data authorization and query method and device based on block chain | |
TWI701572B (en) | Data access method, system and device | |
US11263344B2 (en) | Data management method and registration method for an anonymous data sharing system, as well as data manager and anonymous data sharing system | |
CN106127075B (en) | Encryption method can search for based on secret protection under a kind of cloud storage environment | |
CN108564182B (en) | Equipment full life cycle management system and method based on block chain technology | |
CN108737374A (en) | The method for secret protection that data store in a kind of block chain | |
CN109493055A (en) | Networking block chain equipment, data processing method and device based on block chain | |
Lu et al. | A Fine‐Grained IoT Data Access Control Scheme Combining Attribute‐Based Encryption and Blockchain | |
CN112685790B (en) | Block chain data security and privacy protection method | |
CN110177109B (en) | Double-proxy cross-domain authentication system based on identification password and alliance chain | |
CN112131227A (en) | Data query method and device based on alliance chain | |
CN110599142B (en) | Data storage method, device, computer equipment and storage medium | |
CN108881203A (en) | Data managing method, electronic equipment, storage medium and system based on block chain | |
CN105007301A (en) | Electronic evidence processing system and method based on social platform | |
CN108021677A (en) | The control method of cloud computing distributed search engine | |
CN111339130A (en) | Data query method, related equipment and readable storage medium | |
CN110109874A (en) | A kind of non-stop layer distributed document retrieval method based on block chain | |
CN111190959A (en) | Data-based encryption method and system for block chain decentralized storage | |
CN110910143A (en) | Identity identification generation method, device, related node and medium | |
CN101730085B (en) | Address book data synchronizing method and system | |
CN114338527B (en) | IPv6 active identifier processing method and system | |
TW202321938A (en) | Data sharing method and device, equipment and storage medium | |
CN109739932A (en) | Date storage method, device, computer equipment and computer readable storage medium | |
CN114172639B (en) | Quantum encryption communication method based on block 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200522 |
|
RJ01 | Rejection of invention patent application after publication |