CN109669940A - A kind of main side chain distributed storage mode based on block chain - Google Patents
A kind of main side chain distributed storage mode based on block chain Download PDFInfo
- Publication number
- CN109669940A CN109669940A CN201811341446.5A CN201811341446A CN109669940A CN 109669940 A CN109669940 A CN 109669940A CN 201811341446 A CN201811341446 A CN 201811341446A CN 109669940 A CN109669940 A CN 109669940A
- Authority
- CN
- China
- Prior art keywords
- chain
- block
- block chain
- main
- side 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
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/64—Protecting data integrity, e.g. using checksums, certificates or signatures
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention provides a kind of main side chain distributed storage mode based on block chain, includes the following steps, S1: establishing block chain main chain and carries out data connection from the main chain, is formed by several block chain side chains according to different region divisions;Each block chain main chain and block chain side chain all include several block units;S2: block chain side chain carries out data processing to the asset data relevant information in region corresponding to the block chain side chain, and reports asset data to handle information to block chain main chain according to preset cycle T;Block chain main chain obtains the data information message from each block chain side chain, and whole area data data informations is handled and stored, the main side chain storage mode changes lower mode stored using single main chain of traditional mode, storage efficiency is improved, and cost is greatly lowered.
Description
[technical field]
The present invention relates to distributed storage mode technical fields more particularly to one kind can effectively save cost, improves storage
The main side chain distributed storage mode based on block chain of efficiency.
[background technique]
In recent years, block chain technology had obtained a wide range of promotion and popularization, and more and more people start to understand and close
Infuse block chain technology, especially with block chain technology establish digital cash bit coin system, from bit coin system release with
Come, currency is encrypted as the decentralization of representative using bit coin and its derivative competition coin and is had received widespread attention, such system
Feature is based on block chain building Distributed sharing general ledger, to guarantee safe and reliable, the decentralization characteristic of system operation.
However, current decentralization encryption money-system use generally is single block chain structure, data information is all
It is recorded on a main chain, either trades since single chain cannot achieve different types of storage, give actual application
It brings big inconvenience sharp, is based on this, those skilled in the art have carried out a large amount of research and development and experiment, from block chain storage platform
The various aspects such as the construction of system, which are started with, to be improved and improves, and achieves preferable achievement.
[summary of the invention]
To overcome the problems of prior art, the present invention provides one kind and can effectively save cost, improve storage efficiency
The main side chain distributed storage mode based on block chain.
The scheme that the present invention solves technical problem is to provide a kind of main side chain distributed storage mode based on block chain, wraps
Include following steps,
S1: establishing block chain main chain and carries out data connection from the main chain, is formed according to different region divisions
Several block chain side chains;Each block chain main chain and block chain side chain all include several block units;
S2: block chain side chain carries out data processing to the asset data relevant information in region corresponding to the block chain side chain,
And asset data is reported to handle information to block chain main chain according to preset cycle T;Block chain main chain, which obtains, comes from each block chain
The data information message of side chain, and whole area data data informations is handled and stored;
S3: block chain main chain handles the data information from corresponding block chain side chain, and the area that synchronous transfer is new
Block message is to corresponding block chain side chain, the new block unit in next period for establishing the block chain side chain;
S4: the data information of the synchronous block chain main chain of each block chain side chain, and handled and verified, update entire block
The Distributed Storage of chain main chain and block chain side chain;
S5: main side chain distributed storage is completed.
Preferably, raw after block chain main chain obtains the data information message from block chain side chain in the step S2
The block chain main chain block unit of Cheng Xin.
Preferably, the time that the block chain main chain generates each new block unit is longer than in step S2, each block chain side
Chain reports the cycle T of asset data processing information to block chain main chain;And the block chain main chain generates each new block unit
Difference between duration and cycle T is the time that block chain main chain carries out node verification and the detection of data integrity degree.
Preferably, the block unit of the block chain main chain includes block head and block body;The block body includes current
The data information message that block is included, and block head includes the data summarization content of data information message;The block chain master
The block body of chain further include the corresponding all block chain side chains of the block chain main chain data information.
Preferably, the block chain side chain includes the identification information of the block chain side chain and by block chain side
The content data information that each block unit of chain is included.
Preferably, the identification information of the block chain side chain be step S3 in, by block chain main chain synchronous transfer to
The new block information of block chain side chain is generated.
Compared with prior art, a kind of main side chain distributed storage mode based on block chain of the present invention is by establishing block
Chain main chain and from the main chain carry out data connection, several block chain side chains are formed by according to different region divisions,
And each block chain main chain of guarantee and block chain side chain all include several block units, block chain side chain is to the block chain side chain
The asset data relevant information in corresponding region carries out data processing, and reports money to block chain main chain according to preset cycle T
Data processing of information is produced, block chain main chain obtains the data information message from each block chain side chain, and to whole number of regions
Handled and stored according to data information, the main side chain storage mode change traditional mode lower using single main chain into
The mode of row storage, improves storage efficiency, and cost is greatly lowered.
[Detailed description of the invention]
Fig. 1 is a kind of flow diagram of the main side chain distributed storage mode based on block chain of the present invention.
[specific embodiment]
To make the purpose of the present invention, technical solution and advantage are more clearly understood, with reference to the accompanying drawings and embodiments, to this
Invention is further elaborated.It should be appreciated that specific embodiment described herein is used only for explaining the present invention, not
For limiting the invention.
Referring to Fig. 1, a kind of main side chain distributed storage mode 1 based on block chain of the present invention includes the following steps,
S1: establishing block chain main chain and carries out data connection from the main chain, is formed according to different region divisions
Several block chain side chains;Each block chain main chain and block chain side chain all include several block units;
S2: block chain side chain carries out data processing to the asset data relevant information in region corresponding to the block chain side chain,
And asset data is reported to handle information to block chain main chain according to preset cycle T;Block chain main chain, which obtains, comes from each block chain
The data information message of side chain, and whole area data data informations is handled and stored;
S3: block chain main chain handles the data information from corresponding block chain side chain, and the area that synchronous transfer is new
Block message is to corresponding block chain side chain, the new block unit in next period for establishing the block chain side chain;
S4: the data information of the synchronous block chain main chain of each block chain side chain, and handled and verified, update entire block
The Distributed Storage of chain main chain and block chain side chain;
S5: main side chain distributed storage is completed.
The application is by establishing block chain main chain and carrying out data connection from the main chain, according to different region divisions
Several block chain side chains are formed by, and each block chain main chain of guarantee and block chain side chain all include several block lists
Member, block chain side chain carry out data processing to the asset data relevant information in region corresponding to the block chain side chain, and according to pre-
If cycle T to block chain main chain report asset data handle information, block chain main chain obtain the number from each block chain side chain
It is handled and is stored according to data information, and to whole area data data informations, which changes biography
Lower mode stored using single main chain of the mode of system, improves storage efficiency, and cost is greatly lowered.
Preferably, raw after block chain main chain obtains the data information message from block chain side chain in the step S2
The block chain main chain block unit of Cheng Xin.
Preferably, the time that the block chain main chain generates each new block unit is longer than in step S2, each block chain side
Chain reports the cycle T of asset data processing information to block chain main chain;And the block chain main chain generates each new block unit
Difference between duration and cycle T is the time that block chain main chain carries out node verification and the detection of data integrity degree.
Preferably, the block unit of the block chain main chain includes block head and block body;The block body includes current
The data information message that block is included, and block head includes the data summarization content of data information message;The block chain master
The block body of chain further include the corresponding all block chain side chains of the block chain main chain data information.
Preferably, the block chain side chain includes the identification information of the block chain side chain and by block chain side
The content data information that each block unit of chain is included.
Preferably, the identification information of the block chain side chain be step S3 in, by block chain main chain synchronous transfer to
The new block information of block chain side chain is generated.
Compared with prior art, a kind of main side chain distributed storage mode 1 based on block chain of the present invention is by establishing area
Block chain main chain and from the main chain carry out data connection, several block chain sides are formed by according to different region divisions
Chain, and each block chain main chain of guarantee and block chain side chain all include several block units, block chain side chain is to the block chain
The asset data relevant information in region corresponding to side chain carries out data processing, and according to preset cycle T on block chain main chain
Asset data is reported to handle information, block chain main chain obtains the data information message from each block chain side chain, and to whole areas
Numeric field data data information is handled and is stored, which changes traditional mode lower and utilize single master
The mode that chain is stored improves storage efficiency, and cost is greatly lowered.
The embodiments of the present invention described above are not intended to limit the scope of the present invention.It is any in the present invention
Spirit and principle within made modifications, equivalent substitutions and improvements etc., should be included in claim protection model of the invention
Within enclosing.
Claims (6)
1. a kind of main side chain distributed storage mode based on block chain, it is characterised in that: include the following steps,
S1: if establishing block chain main chain and carrying out data connection from the main chain, be formed by according to different region divisions
Dry block chain side chain;Each block chain main chain and block chain side chain all include several block units;
S2: block chain side chain carries out data processing to the asset data relevant information in region corresponding to the block chain side chain, and presses
Asset data is reported to handle information to block chain main chain according to preset cycle T;Block chain main chain, which obtains, comes from each block chain side chain
Data information message, and whole area data data informations is handled and is stored;
S3: block chain main chain handles the data information from corresponding block chain side chain, and the block letter that synchronous transfer is new
Corresponding block chain side chain is ceased, the new block unit in next period for establishing the block chain side chain;
S4: the data information of the synchronous block chain main chain of each block chain side chain, and handled and verified, update entire block chain master
The Distributed Storage of chain and block chain side chain;
S5: main side chain distributed storage is completed.
2. a kind of main side chain distributed storage mode based on block chain as described in claim 1, it is characterised in that: the step
In rapid S2, after block chain main chain obtains the data information message from block chain side chain, new block chain main chain block is generated
Unit.
3. a kind of main side chain distributed storage mode based on block chain as claimed in claim 2, it is characterised in that: the area
The time that block chain main chain generates each new block unit is longer than in step S2, and each block chain side chain reports assets to block chain main chain
The cycle T of data processing of information;And the difference that the block chain main chain generates between the duration and cycle T of each new block unit is
Block chain main chain carries out the time of node verification and the detection of data integrity degree.
4. a kind of main side chain distributed storage mode based on block chain as described in claim 1, it is characterised in that: the area
The block unit of block chain main chain includes block head and block body;The block body includes the data information letter that current block is included
Breath, and block head includes the data summarization content of data information message;The block body of the block chain main chain further includes the area Suo Gai
The data information of the corresponding all block chain side chains of block chain main chain.
5. a kind of main side chain distributed storage mode based on block chain as described in claim 1 or 4, it is characterised in that: institute
State the identification information that block chain side chain includes the block chain side chain and each block unit institute by the block chain side chain
The content data information included.
6. a kind of main side chain distributed storage mode based on block chain as claimed in claim 5, it is characterised in that: the area
The identification information of block chain side chain is to be believed in step S3 by the new block of block chain main chain synchronous transfer to block chain side chain
Breath is generated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811341446.5A CN109669940A (en) | 2018-11-12 | 2018-11-12 | A kind of main side chain distributed storage mode based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811341446.5A CN109669940A (en) | 2018-11-12 | 2018-11-12 | A kind of main side chain distributed storage mode based on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109669940A true CN109669940A (en) | 2019-04-23 |
Family
ID=66142280
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811341446.5A Pending CN109669940A (en) | 2018-11-12 | 2018-11-12 | A kind of main side chain distributed storage mode based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109669940A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110210845A (en) * | 2019-06-11 | 2019-09-06 | 网易(杭州)网络有限公司 | For the method, apparatus of block chain Data Migration, medium and calculate equipment |
CN110311958A (en) * | 2019-06-14 | 2019-10-08 | 柳州市蓝海数链科技有限公司 | A kind of block chain network system |
CN110542454A (en) * | 2019-09-10 | 2019-12-06 | 深圳市步云科技有限公司 | Environmental quality detection system based on block chain and Internet of things application technology |
CN110597926A (en) * | 2019-10-10 | 2019-12-20 | 山东爱城市网信息技术有限公司 | Method and system for establishing block chain side chain based on horizontal extension database |
CN110855790A (en) * | 2019-11-18 | 2020-02-28 | 深圳市步云科技有限公司 | Ozone detection system based on block chain and internet of things application data driving |
CN111199504A (en) * | 2019-12-29 | 2020-05-26 | 杭州拓深科技有限公司 | Decentralized fire protection maintenance supervision method based on block chain |
CN112000043A (en) * | 2020-08-28 | 2020-11-27 | 广州粤建三和软件股份有限公司 | High formwork real-time monitoring method, device, equipment and medium based on block chain |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107169865A (en) * | 2017-04-24 | 2017-09-15 | 北京果仁宝科技有限公司 | Asset data processing system based on block chain technology |
CN107464106A (en) * | 2017-07-25 | 2017-12-12 | 北京果仁宝科技有限公司 | The method and system merchandised between block chain main chain and side chain |
-
2018
- 2018-11-12 CN CN201811341446.5A patent/CN109669940A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107169865A (en) * | 2017-04-24 | 2017-09-15 | 北京果仁宝科技有限公司 | Asset data processing system based on block chain technology |
CN107464106A (en) * | 2017-07-25 | 2017-12-12 | 北京果仁宝科技有限公司 | The method and system merchandised between block chain main chain and side chain |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110210845A (en) * | 2019-06-11 | 2019-09-06 | 网易(杭州)网络有限公司 | For the method, apparatus of block chain Data Migration, medium and calculate equipment |
CN110210845B (en) * | 2019-06-11 | 2021-06-18 | 网易(杭州)网络有限公司 | Method, apparatus, medium, and computing device for blockchain data migration |
CN110311958A (en) * | 2019-06-14 | 2019-10-08 | 柳州市蓝海数链科技有限公司 | A kind of block chain network system |
CN110542454A (en) * | 2019-09-10 | 2019-12-06 | 深圳市步云科技有限公司 | Environmental quality detection system based on block chain and Internet of things application technology |
CN110597926A (en) * | 2019-10-10 | 2019-12-20 | 山东爱城市网信息技术有限公司 | Method and system for establishing block chain side chain based on horizontal extension database |
CN110855790A (en) * | 2019-11-18 | 2020-02-28 | 深圳市步云科技有限公司 | Ozone detection system based on block chain and internet of things application data driving |
CN111199504A (en) * | 2019-12-29 | 2020-05-26 | 杭州拓深科技有限公司 | Decentralized fire protection maintenance supervision method based on block chain |
CN111199504B (en) * | 2019-12-29 | 2023-09-26 | 杭州拓深科技有限公司 | Block chain-based decentralization fire control maintenance supervision method |
CN112000043A (en) * | 2020-08-28 | 2020-11-27 | 广州粤建三和软件股份有限公司 | High formwork real-time monitoring method, device, equipment and medium based on block chain |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109669940A (en) | A kind of main side chain distributed storage mode based on block chain | |
CN109829726B (en) | Block chain-based drug information management method and system | |
CN110827028B (en) | Block chain-based data acquisition transaction system and method | |
TW201939412A (en) | Identification method, device, server and storage medium for fraudulent transaction | |
CN101194181B (en) | A system and method for searching physical objects | |
CN103902476B (en) | A kind of webpage back door detection method and system based on non-credit | |
CN108428141A (en) | A kind of foodstuff traceability information management system based on ERP system Yu block chain | |
CN113191775B (en) | Pongshi cheating intelligent contract detection method based on transaction time sequence information on Ethernet | |
CN104850784B (en) | A kind of Malware cloud detection method of optic and system based on Hash characteristic vector | |
JP2005516268A5 (en) | ||
CN110046999A (en) | Block chain method of commerce and device | |
EP2248371A4 (en) | System and method for authenticating a user of multiple computer applications, networks or devices using a wireless device | |
CN201438319U (en) | Access control system compatible with secondary identity card | |
CN103870502A (en) | Enterprise mobile social network system based on face recognition | |
CN108881203A (en) | Data managing method, electronic equipment, storage medium and system based on block chain | |
CN110209729B (en) | Method and device for identifying data transfer object | |
CN105096195A (en) | Account money amount processing method and system based on internet application platform | |
CN109769009A (en) | A kind of decentralization cloud storage plateform system | |
CN106713329B (en) | A kind of RFID mutual authentication method based on intersection bit arithmetic and cyclic check function | |
TWI681306B (en) | Method, system and storage media for group notification based on user behavior | |
CN207650887U (en) | A kind of nothing based on finger print identifying snaps past brake system | |
CN109886678A (en) | A kind of art work traceability system based on block chain | |
CN107276742A (en) | A kind of authentication method of RFID system | |
CN106502579A (en) | Method for reconstructing and device when a kind of data storage fails | |
CN202143078U (en) | Dynamic password obtaining device with additional RFID |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190423 |