Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Block chain full fragmentation method and device based on P2P storage network and multi-layer architecture

A technology of storage network and blockchain, applied in the field of full sharding of blockchain based on P2P storage network and multi-layer architecture, can solve the problem of low scalability, improve scalability, reduce communication complexity and bandwidth requirements Effect

Active Publication Date: 2020-05-08
SICHUAN INTERSTELLAR ROEWE TECH CO LTD
View PDF5 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In order to solve the problem of low scalability in the existing block chain sharding technology, the purpose of the present invention is to provide a P2P storage network to solve the problem of state sharding, and use a three-layer architecture to make bandwidth requirements and network The total TPS number is in a linear relationship, which reduces the communication complexity and bandwidth requirements, and improves the scalability of fragmentation. Fragmentation method and device

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
  • Block chain full fragmentation method and device based on P2P storage network and multi-layer architecture
  • Block chain full fragmentation method and device based on P2P storage network and multi-layer architecture
  • Block chain full fragmentation method and device based on P2P storage network and multi-layer architecture

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] Such as Figure 1~4 As shown, the block chain full sharding method based on P2P storage network and multi-layer architecture provided by this embodiment includes a cross-shard transaction packaging stage and a cross-shard transaction unpacking stage.

[0052] The following is a detailed description of the step-by-step process of the cross-shard transaction packaging phase:

[0053] Transaction packaging is the process of issuing transactions:

[0054] The cross-shard transaction packaging phase includes the following steps:

[0055] First of all, in this embodiment, a multi-layer architecture is used to realize the fragmentation of transactions, thereby making the blockchain linearly scalable, and within the size range allowed by the block, the total number of fragments of the blockchain system can be expanded from tens of to thousands. The specific method for creating a multi-layer architecture is as in step S101.

[0056] S101. Perform network fragmentation on the...

Embodiment 2

[0139] Such as Figure 5 As shown, this embodiment provides an embodiment of a block chain full sharding device based on a P2P storage network and a multi-layer architecture, including a memory and a processor connected by communication, wherein a computer program is stored on the memory, and the The processor is used to execute the computer program to implement the block chain full sharding method based on the P2P storage network and multi-layer architecture as described in the first embodiment.

[0140] The working process and technical effects achieved in this embodiment are consistent with those in Embodiment 1, and will not be repeated here.

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 discloses a block chain full fragmentation method and device based on a P2P storage network and a multi-layer architecture. On one hand, network fragmentation is utilized to divide wholenetwork block chain nodes into a fragmentation chain, a relay chain and a beacon chain; namely, a beacon-relay-fragmentation three-layer architecture is adopted to realize cross-chain communication of fragments; the network requirements of the nodes and the total TPS number of the network form a linear relationship; on the other hand, the transaction is divided into W primitives and D primitives,the D primitives are grouped, the hash values corresponding to the D primitives are calculated, and the essence is that the W primitives are executed on fragments of an initiator, the D primitives are stored in a P2P storage network, and the hash values corresponding to the D primitives can perform cross-chain communication and are finally executed on fragments of a receiver. By means of the design, through the P2P storage network, a large amount of data only need to be subjected to cross-chain communication through hash values of the data, the communication complexity and bandwidth requirements are reduced, and the expansibility of the block chain fragmentation technology is greatly improved.

Description

technical field [0001] The present invention relates to the technical field of block chain sharding, in particular to a block chain full sharding method and device based on a P2P storage network and a multi-layer architecture. Background technique [0002] In blockchain technology, before data is packaged and block-produced, the data needs to be broadcast across the network. With the growth of the network, there are more and more data and nodes in the blockchain, and a large amount of data is often spent Broadcast time, which greatly reduces the block generation performance of the same blockchain. [0003] Therefore, blockchain sharding technology came into being. Sharding is a traditional conceptual expansion technology based on dividing the database into several fragments. It divides the database into multiple fragments and places these fragments on different servers. In the public chain system, the transactions on the network will be divided into different fragments, whi...

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 Applications(China)
IPC IPC(8): G06Q20/38G06F16/27G06F16/22
CPCG06Q20/3829G06F16/27G06F16/2255H04L9/3239H04L67/1097H04L9/50H04L9/0618H04L67/1044
Inventor 祝启忠
Owner SICHUAN INTERSTELLAR ROEWE TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products