Data modification method and device of block chain, equipment and storage medium

A data modification and blockchain technology, applied in the computer field, can solve problems such as illegal information or wrong information cannot be modified or cleared, data cannot be modified, and affect the normal operation of blockchain services, etc., to achieve the effect of improving the speed of modification

Pending Publication Date: 2021-08-27
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The decentralized storage method of the blockchain system makes it impossible to modify the data after it is uploaded to the chain, which in turn leads to illegal information or wrong information that can never be modified or cleared after being uploaded to the chain, which has a negative impact on regulatory agencies or blockchain service providers
At present, although the modification of blockchain data can be realized through the consensus mechanism, the efficiency of data modification is low, which affects the normal operation of blockchain services

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 modification method and device of block chain, equipment and storage medium
  • Data modification method and device of block chain, equipment and storage medium
  • Data modification method and device of block chain, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0065] figure 1 It is a flow chart of a blockchain data modification method according to the first embodiment of the present application. This embodiment is applicable to the case of modifying transaction data in the blockchain, and the method is executed by the blockchain nodes. It can be executed by a block chain data modification device, which is realized by software and / or hardware, and is preferably configured in an electronic device deployed with block chain nodes. Such as figure 1 As shown, the method specifically includes the following:

[0066] S110. Determine the target transaction to be modified and the target modification method according to the data modification transaction request transmitted in the blockchain network.

[0067] In the specific embodiment of this application, the data modification transaction request is used to trigger the block chain to modify the transaction data stored in the block chain, which can be a control instruction for modifying block...

no. 2 example

[0081] figure 2 It is a flow chart of a block chain data modification method according to the second embodiment of the present application. This embodiment further explains the block data modification method on the basis of the first embodiment above. Each block chain The node can roll back the target transaction and the associated transactions affected by the target transaction to the original data state before the target transaction; according to the original data state and the target modification method, modify the target transaction and the associated transaction to obtain the target modification data; According to the target modification data, re-execute the target transaction and associated transactions in the target blockchain to obtain the modified transaction processing results in the block. Such as figure 2 As shown, the method specifically includes the following:

[0082] S210. Determine the target transaction to be modified and the target modification method ac...

no. 3 example

[0105] Figure 4 It is a flow chart of a blockchain data modification method according to the third embodiment of the present application. This embodiment is applicable to the case of modifying transaction data in the blockchain, and the method is executed by the block generation node. It can be executed by a block chain data modification device, which is realized by software and / or hardware, and is preferably configured in an electronic device deployed with a block chain consensus node. Such as Figure 4 As shown, the method specifically includes the following:

[0106] S410. In response to the data modification transaction request, acquire block data of the target blockchain after the blockchain node modifies the target blockchain according to the target transaction and the target modification method.

[0107] In the specific embodiment of this application, the modified block data of the target blockchain refers to that each blockchain node returns data to the local target...

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 modification method and device of block chains, equipment and a storage medium, and relates to the technical field of block chains. According to the specific implementation scheme, the method comprises the steps of determining a to-be-modified target transaction and a target modification mode according to a data modification transaction request transmitted in a block chain network; according to the target transaction and the target modification mode, modifying a block data state of a local target block chain to obtain modified block data in the target block chain, which is used for indicating the block generation node to repackage the block data of the target block chain, and generating a target branch chain of the target block chain, and replacing the target block chain with the target branch chain. According to the method, the block data state of the target block chain in the local is modified by each node, so that the block generation node can directly repackage the original block chain without consensus verification, and the block chain data modification speed is greatly improved.

Description

technical field [0001] The embodiments of the present application relate to the field of computer technology, in particular to the field of blockchain technology, and in particular to a data modification method, device, device and storage medium of blockchain. Background technique [0002] The decentralized storage method of the blockchain system makes it impossible to modify the data after it is uploaded to the chain, which in turn leads to the fact that illegal information or wrong information can never be modified or cleared after being uploaded to the chain, which has a negative impact on regulatory agencies or blockchain service providers. At present, although the modification of blockchain data can be realized through the consensus mechanism, the efficiency of data modification is low, which affects the normal operation of blockchain services. Contents of the invention [0003] The embodiment of the present application provides a blockchain data modification method, ...

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
IPC IPC(8): G06F16/23
CPCG06F16/23H04L9/50
Inventor 王玉操肖伟
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) 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