An application-based block chain fragmentation method and device

A blockchain and block technology, applied in the field of blockchain, can solve problems such as cross-chip communication, timeliness or atomic problems are difficult to solve, etc., to increase blockchain scalability, improve consensus efficiency and network Scalability, reducing the effect of cross-chip communication

Active Publication Date: 2019-10-01
ZHONGAN INFORMATION TECH SERVICES CO LTD +1
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] The centralization and security in the above process need to be carefully considered. In theory, it can be solved, but the problem of timeliness, that is, atomicity, is difficult to solve now, and this method of sharding is prone to cross-shard communication Happening

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
  • An application-based block chain fragmentation method and device
  • An application-based block chain fragmentation method and device
  • An application-based block chain fragmentation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] figure 1 It is a flowchart of the application-based blockchain sharding method provided by Embodiment 1 of the present invention. like figure 1 As shown, the application-based block chain fragmentation method provided by the embodiment of the present invention includes the following steps:

[0054] 101. The blockchain is divided into a main chain layer and multiple application sub-section layers. The main chain layer is responsible for the overall management of the blockchain, native asset transactions, and the collection of status checkpoints for multiple application sub-sections.

[0055] Specifically, the main chain layer adopts the pow consensus and has a block node management contract. Multiple application sub-blocks adopt the DPOS+BFT consensus and the corresponding token economic incentive mechanism.

[0056] figure 2 It is a schematic diagram of the blockchain structure based on application sharding, such as figure 2 As shown, the blockchain is divided int...

Embodiment 2

[0079] image 3 It is a schematic structural diagram of the application-based blockchain sharding device provided by Embodiment 2 of the present invention. like image 3 As shown, the application-based blockchain sharding device provided by the embodiment of the present invention includes: a blockchain construction module 21 , a setting module 22 , a determination module 23 and a communication module 24 .

[0080]Among them, the block chain building module 21 is used to divide the block chain into a main chain layer and multiple application sub-layers, and the main chain layer is used to be responsible for the overall management of the block chain, original asset transactions and the multiple application sub-layers. Collection of state checkpoints for the slices. Specifically, the main chain layer of the blockchain adopts the pow consensus and has a block node management contract. Multiple application sub-blocks adopt the DPOS+BFT consensus and the corresponding token econom...

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 method and device for sharding of a blockchain based on application, and belongs to the technical field of blockchains. The method comprises the steps of: dividing the blockchain into a main chain layer and a layer consisting of a plurality of application sub-shardings, wherein the main chain layer is used for taking charging of overall management of the blockchain, primary asset transactions and collection for state checkpoint of the plurality of application sub-shardings; enabling an application flag and a transaction partiton_num carried by each transaction to be set correspondingly to the corresponding application sub-sharding; determining the application sub-sharding to which the transaction belongs according to the application flag and the transaction partiton_num carried by each transaction; and performing communication among the plurality of application sub-shardings through a cross-sharding protocol of the main chain layer. The method of the inventionhas the beneficial effects that communication complexity in a communication blockchain network is greatly reduced while security is balanced, and a consensus efficiency and network expansibility areimproved, thus the method has a good application prospect, and can be promoted in various fields related to the blockchain.

Description

technical field [0001] The invention relates to the technical field of block chains, in particular to an application-based block chain sharding method and device. Background technique [0002] At present, there are more and more applications on Ethereum, and the situation of Ethereum network congestion occurs from time to time. When congestion occurs, a transaction will not be packaged for a day, or even longer, and other applications will be affected by it. The average throughput of more than a dozen transactions in Ethereum is far from satisfying existing applications, and developers are also trying to solve the scalability problem. Throughput can be one of the indicators to measure scalability. Scalability is restricted by the decentralization and security of the blockchain. At present, the three form a triangular relationship of mutual checks and balances. Here is a brief explanation of centralization, scalability and security. The so-called decentralization means that...

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/06H04L29/08G06Q40/04
Inventor 吴小川李雪峰孙亮
Owner ZHONGAN INFORMATION TECH SERVICES CO LTD
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