Method and device for expanding shards in a blockchain system

A blockchain and block technology, applied in the blockchain field, can solve problems such as waste of resources, reduce system availability, etc., to avoid interruption, realize hot state migration, and solve the effect of dynamic expansion.

Active Publication Date: 2021-12-21
ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] At present, the number of shards in the blockchain system is often constant. Therefore, when the business on the blockchain grows sharply, the entire system needs to be shut down and manually expanded, which reduces the availability of the system.
However, if a large number of fragments are used in the early stage of the business, it will cause a waste of resources

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
  • Method and device for expanding shards in a blockchain system
  • Method and device for expanding shards in a blockchain system
  • Method and device for expanding shards in a blockchain system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with this specification. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present specification as recited in the appended claims.

[0032] The terminology used in the specification is for the purpose of describing particular embodiments only and is not intended to limit the application. As used in this specification and the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the t...

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

This specification provides a method and device for expanding the fragmentation in the block chain system. The block chain system includes a first fragment, and the first fragment includes a first node; the method includes: the first node receives the An expansion request for the information of the first block to be executed; after the execution of the first block is completed, the first node sends the first world state corresponding to the first block to the second node; and executes at least one second block , record each state change information corresponding to each second block; after sending the first world state, the first node sends each state change information to the second node; the second node belongs to the block chain system to be added The second shard of ; the second node obtains the initial world state of the second shard based on the received first world state and each state change information. In this way, the automatic expansion of the blockchain system is realized, and the problem that the number of fragments in the blockchain system cannot be dynamically expanded with the increase in the number of transactions is solved.

Description

technical field [0001] One or more embodiments of this specification relate to the field of blockchain technology, and in particular to a method and device for expanding the capacity of fragments in a blockchain system. Background technique [0002] Blockchain is a new application model of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain is a chained data structure that combines data blocks in a sequential manner in chronological order, and is a cryptographically guaranteed non-tamperable and unforgeable distributed ledger. Due to the characteristics of decentralization, non-tamperable information, and autonomy, the blockchain has also received more and more attention and application. [0003] At present, a very important factor that limits the large-scale application of blockchain technology is performance, which mainly includes throughput, which can generally be measured by the n...

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): G06F16/23G06F16/27
CPCG06F16/2379G06F16/27
Inventor 郑子彬徐泉清郑沛霖闫莺张辉
Owner ALIPAY (HANGZHOU) INFORMATION TECH 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