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

Data fragmentation method and device for block chain

A data sharding and blockchain technology, applied in the computer field, can solve problems such as time-consuming routing, increase system complexity, and reduce execution efficiency, so as to improve processing capacity and simplify deployment and maintenance work

Pending Publication Date: 2021-06-18
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The two-layer or multi-layer root chain + sub-chain structure of the existing sharding technology is complicated to deploy and maintain, and the routing of transactions between different sub-chains is relatively time-consuming. If there is a business dependency between the sub-chains, it needs to More cross-chain operations to complete the execution of a single transaction increase the complexity of the system and reduce the execution efficiency
[0005] For the new generation of solutions represented by Cosmos-SDK to quickly build a customized blockchain through a modular software architecture, it is not applicable to fragmentation solutions for general blockchain architectures such as Ethereum 2.0, and there is currently a lack of corresponding solutions Program

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
  • Data fragmentation method and device for block chain
  • Data fragmentation method and device for block chain
  • Data fragmentation method and device for block chain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The present disclosure will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0030] It should be noted that, in the case of no conflict, the embodiments in the present disclosure and the features in the embodiments can be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and embodiments.

[0031] Figure 1a , 1b Shown is an exemplary system architecture 100 to which embodiments of the data sharding method for blockchain or the data sharding device for blockchain of the present disclosure can be applied.

[0032] like Figure 1a As shown, the system archi...

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 embodiment of the invention discloses a data fragmentation method and device for a block chain. According to one specific embodiment, the method comprises the steps of mounting storage corresponding to a core module and storage corresponding to a fragment module, wherein the core module is a necessary module of all nodes in the block chain, and the fragment module is an optional module of all the nodes in the block chain; in response to a received transaction request including a transaction type, determining whether a transaction of the transaction type needs to be executed according to the fragment role; if so, executing the transaction of the transaction type to obtain a transaction execution result; if the transaction type belongs to the fragmentation transaction, writing the transaction execution result into the storage corresponding to the fragmentation module, otherwise, writing the transaction execution result into the storage corresponding to the core module; taking the Hash correspondingly stored by the core module as the application state Hash, putting the application state Hash into the block head to carry out global consistency consensus, and writing the storage Hash of the fragmentation module into the position of the corresponding fragmentation in the block head. According to the implementation mode, the fragmentation operation is completed in a single chain.

Description

technical field [0001] The embodiments of the present disclosure relate to the field of computer technology, and in particular to a data fragmentation method and device for blockchain. Background technique [0002] Blockchain is a distributed software that achieves global consensus on the order of operation execution through a consensus mechanism in a decentralized distributed network. Constrained by the consensus mechanism, consensus needs to be reached among all network nodes, so the throughput of the blockchain can generally only reach the upper limit of several hundred to several thousand, and cannot expand as the business volume increases. The feature of data sharding is formally proposed to solve the scalability of the blockchain network. [0003] Through sharding, the number of transactions that each network node needs to process is greatly reduced, making it possible to increase the expansion mechanism of the blockchain processing capacity by adding network nodes. ...

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): G06F16/22G06F16/23G06F16/27G06Q40/04
CPCG06F16/2255G06F16/2365G06F16/27G06Q40/04
Inventor 程司雷陈浩栋曹京奇张磊刘晓赫王辉
Owner BEIJING BAIDU NETCOM SCI & 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