Block chain fine-grained editing method supporting rapid state updating

A block chain, fine-grained technology, applied in the field of block chain, can solve the problem that the stability and correctness of the global state data of the block chain cannot be guaranteed, the state update behavior does not propose an efficient strategy for shaping, and affects editable blocks Chain performance and availability and other issues, to achieve the effect of improving performance and availability

Active Publication Date: 2022-08-02
PEKING UNIV +1
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the process of blockchain nodes re-executing transactions to update the state, the stability and correctness of the global state data of the blockchain cannot be guaranteed
Therefore, during the state update period, the blockchain cannot perform normal block operations, which affects the performance and usability of the editable blockchain
[0005] However, the existing research on editable blockchains only involves the agreement to reach a consensus on an editing behavior in the whole network, and there is no effective strategy for the state update behavior in actual execution.

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 fine-grained editing method supporting rapid state updating
  • Block chain fine-grained editing method supporting rapid state updating
  • Block chain fine-grained editing method supporting rapid state updating

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The present invention will be further described in detail below with reference to the accompanying drawings. The examples are only used to explain the present invention, but not to limit the scope of the present invention.

[0025] A. When the editable blockchain executes normally, to execute to transaction Tx i For example, in addition to the normal operation of the blockchain, perform the following additional operations (such as figure 1 shown):

[0026] A1. During the execution of the transaction Tx i In the process, recording important intermediate states of transaction execution, important condition judgments, and relying on the context generation during condition judgment and trigger condition judgment can skip part of the code execution process and directly obtain a shortcut to the result. Record these fast execution information and integrate them into fast execution code F that can be executed quickly and can cope with some changes. i . So that after a subs...

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 fine-grained editing method supporting rapid state updating, and the method comprises the steps: for each transaction executed by an editable block chain for the first time, generating a rapid execution code of the transaction according to the execution process information of the transaction, and recording a read set and a write set of the execution process of the transaction; after an editing event that a block chain editing authority owner edits a certain historical transaction on a block chain occurs, transactions of which the states of read set elements are changed compared with those in the first execution are optimally executed in parallel, and the execution of the transactions is accelerated by using a quick execution code generated in the first execution of the transactions. And after all transactions in a certain block B are updated, state tree, transaction tree and receipt tree information in the block heads of the block B and all blocks which are influenced by the update before are updated in parallel. According to the method and the device, the time and computing resources required by updating the state of the block chain node after the editable block chain node performs the editing operation can be reduced, and the performance of the editable block chain is improved.

Description

technical field [0001] The invention belongs to the technical field of blockchain, relates to the execution process of blockchain transactions, the storage process and storage structure of blockchain data, and specifically relates to a blockchain fine-grained editing method that supports rapid status update. Background technique [0002] The blockchain is a shared database, and the data or information stored in it has the characteristics of "unforgeable", "full traces", "traceable", "open and transparent" and "collective maintenance". However, the traditional blockchain technology lacks the ability to supervise the data on the chain, and some illegal information cannot be deleted after being uploaded to the blockchain. Therefore, the concept and technology of editable blockchain is derived. [0003] For editable blockchain, according to the different data editing objects, it can be divided into block-level, transaction-level and data item-level editing operations. The block...

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/22G06F16/27G06Q40/04
CPCG06F16/2329G06F16/2379G06F16/2228G06F16/27G06Q40/04
Inventor 关志陈钟王珂杨璧鸿李青山
Owner PEKING UNIV
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