Method and device for expanding fragment in block chain 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-10-01
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 fragment in block chain system
  • Method and device for expanding fragment in block chain system
  • Method and device for expanding fragment in block chain 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

The invention provides a method and a device for expanding a fragment in a block chain system. The block chain system comprises a first fragment, and the first fragment comprises a first node. The method comprises the following steps that a first node receives a capacity expansion request comprising information of a first block to be executed; after the first block is executed, the first node sends a first world state corresponding to the first block to the second node; at least one second block is executed, and each piece of state change information corresponding to each second block is recorded; after the first world state is sent, the first node sends each piece of state change information to the second node; the second node belongs to a second fragment to be added into the block chain system; and the second node obtains the initial world state of the second fragment based on the received first world state and each piece of state change information. Therefore, automatic capacity expansion of the block chain system is realized, and the problem that the number of fragments in the block chain system cannot be dynamically expanded along with increase of 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 Applications(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