A data cross-storage method based on blockchain cross-chain

A cross-storage and blockchain technology, applied in the field of computer blockchain, can solve the problem of difficulty in ensuring the security and integrity of the blockchain, and achieve the effect of saving memory and ensuring security and integrity

Active Publication Date: 2021-06-22
NORTHEASTERN UNIV LIAONING
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] In the existing blockchain-based data storage methods, all are based on single-blockchain data storage. When malicious nodes want to tamper with the data of the blockchain, the existing methods are difficult to guarantee the security of the blockchain. and integrity

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A data cross-storage method based on blockchain cross-chain
  • A data cross-storage method based on blockchain cross-chain
  • A data cross-storage method based on blockchain cross-chain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] Such as figure 2 As shown, the data cross-storage method based on blockchain cross-chain of the present invention includes the following steps:

[0044] Step 1: Establish n blockchains, add blocks to the blockchain based on the PBFT consensus mechanism, if there is a blockchain added to the block that triggers the block transfer condition, perform steps 2 to 5; if there is no block The chain is added to the block that triggers the block transfer condition, and continues to add blocks to the blockchain based on the PBFT consensus mechanism.

[0045] Among them, the transfer block condition is a fixed step condition or an indefinite step condition; when the transfer block condition is a fixed step condition, if the block chain is added to the 2mth block (m=1,2,3,... ...), then the 2mth block triggers the transfer block condition; when the transfer block condition is an indefinite step condition, if the block chain is added to the 2nd m Block block (m=1,2,3,...), then t...

Embodiment 2

[0070] The difference between the second embodiment and the first embodiment above is that:

[0071] Such as Figure 4 As shown, blockchain A is added to the 4th block, the 4th block triggers the transfer block condition, and the 4th block is recorded as a transition block. Block chain C is randomly selected, and block chain C is added to the second block. When the transition block of block chain A is connected to block chain C, this block is also a transition block for block chain C. At this time, for blockchain C, it is also necessary to select a suitable blockchain to migrate the block, and select blockchain D through random selection. Query blockchain D. Blockchain D is connected to the fifth block. Blockchain D is not added to the block that triggers the transfer block condition. The transition block of blockchain A can be connected to the block through blockchain C. On the block chain D, so that the block chain D is used as the select chain, and the obtained path block...

Embodiment 3

[0077] The difference between the third embodiment and the second embodiment above is that:

[0078] Such as Figure 5 As shown, blockchain A is added to the 8th block, and the 8th block triggers the transition block condition, and the 8th block is recorded as a transition block. Block chain E is randomly selected, and block chain E is added to the second m Block block, continue to select the block chain. After randomly selecting all blockchains (the order is E->F->D->B->I->G->C->J->H), it is found that all blockchains are just connected to the first 2 m block, the transition block of blockchain A can be connected to the finally selected blockchain H through the 8 blockchains of the route, so that the blockchain H is used as the select chain, and the set of route blockchains S={ E,F,D,B,I,G,C,J}.

[0079] At this point, add a complete transition block in blockchain H, and add block headers in blockchain A and blockchains E, F, D, B, I, G, C, and J.

[0080] Among them, th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to the technical field of computer block chains, in particular to a cross-chain data storage method based on block chains. Step 1: Establish n blockchains, add blocks to the blockchain based on the PBFT consensus mechanism, if there is a blockchain added to the block that triggers the block transfer condition, execute steps 2 to 5, if not, continue Add a block; Step 2: Select a block chain added to the block that triggers the transfer block condition to be recorded as the original chain, and record the block as a transition block; Step 3: Select the select chain in the non-original chain set; Step 4: Add a complete transition block in the select chain; Step 5: Add block headers in the original chain and the block chain in the block chain set S. The invention can effectively guarantee the security and integrity of the block chain, and save the memory occupied during operation.

Description

technical field [0001] The invention relates to the technical field of computer block chains, in particular to a cross-chain data storage method based on block chains. Background technique [0002] Blockchain technology is a distributed ledger that maintains the same global state jointly by multiple parties who do not trust each other. It has the advantages of decentralization, redundant storage, tamper-proof, and traceability. The main contents include chain structure, consensus mechanism and related algorithms such as asymmetric encryption. Without the intervention of a third party, people who do not trust each other can share data through blockchain technology. Therefore, blockchain has important applications in finance, economy, and technology. [0003] The blockchain is a chain structure with blocks as the unit. Generally, the data structure of the blockchain is as follows: figure 1 shown. Each block consists of a block header and a block body. The block header stor...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/08
CPCH04L67/1097
Inventor 信俊昌姚钟铭郝琨王之琼蒋忠中范子嘉罗艺栖李云飞
Owner NORTHEASTERN UNIV LIAONING
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products