Data modification and synchronization method, apparatus, device and storage medium for block chain

A technology of data modification and blockchain, applied in the field of blockchain, can solve the problems that the damaged blockchain is difficult to tamper with, the existing technology does not provide a solution, and it is difficult to clear data, etc.

Active Publication Date: 2019-03-29
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF3 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This makes it difficult for traditional blockchain networks, such as Bitcoin/Ethereum/Fabric, to clear any data that has been published on the blockchain network
For newly generated blocks, it can still be corrected through the soft fork scheme, but for the old blocks that have been confirmed by more blockchain nodes, the data on them cannot be cleared at all
[0004] If some criminals spread some harmful information on the blockchain network, such as pornography, terrori

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 and synchronization method, apparatus, device and storage medium for block chain
  • Data modification and synchronization method, apparatus, device and storage medium for block chain
  • Data modification and synchronization method, apparatus, device and storage medium for block chain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] figure 1It is a flow chart of a blockchain data modification method provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of modifying data in the blockchain, especially for checking the check nodes in the blockchain network A scenario in which the data of a synchronized block acquired from a common node in a common blockchain network is modified to remove harmful data. The solution of the embodiment of the present invention is applied to check the check nodes in the blockchain network. The method can be executed by the data modification device of the blockchain. The device can be implemented in the form of hardware and / or software, and can be integrated into the bearer Check the node's computing device. see figure 1 , which specifically includes:

[0053] S110, the check node obtains at least one synchronization block from a normal node, wherein the synchronization block is a normal block.

[0054] In this embodiment, the chec...

Embodiment 2

[0078] figure 2 It is a flow chart of a block chain data modification method provided by Embodiment 2 of the present invention. On the basis of the above embodiments, this embodiment further marks the check point for the check node in the checked block chain network. Node confirmation for explanation. Provides a scheme for making sure checkpoint flags are valid, see figure 2 , the method specifically includes:

[0079] S210, the check node obtains at least one synchronization block from a normal node, wherein the synchronization block is a normal block.

[0080]S220, the checking node checks the data of the synchronization block according to the set modification rules, so as to determine the target modification data.

[0081] S230, the check node modifies the target modification data.

[0082] S240, when it is determined that the checkpoint generation rule is satisfied, the checkpoint generates a checkpoint according to the synchronization block, and calculates a checkpo...

Embodiment 3

[0102] image 3 It is a flow chart of a block chain data modification method provided by Embodiment 3 of the present invention. On the basis of the above embodiments, this embodiment further performs checkpoint identification of checkpoints calculated by checkpoints based on data in synchronous blocks. explain. see image 3 , the method specifically includes:

[0103] S310. The check node obtains at least one synchronization block from the normal node, wherein the synchronization block is a normal block.

[0104] S320, the check node checks the data of the synchronization block according to the set modification rules, so as to determine the target modification data.

[0105] S330, the check node modifies the target modification data.

[0106] S340, when it is determined that the checkpoint generation rule is satisfied, the checkpoint generates a checkpoint according to the synchronization block.

[0107] S350, the check node exports the block data of the synchronization b...

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 and synchronization method, apparatus and device and a storage medium of a block chain. The data modification method of the block chain isapplied to inspect the inspection node in the block chain network. The method comprises the following steps: the inspection node obtains at least one synchronization block from an ordinary node, andthe synchronization block is an ordinary block; The checking node checks the data of the synchronous block according to the set modification rules to determine the target modification data; The inspection node modifies the target modification data; The checking node generates a checkpoint according to the synchronization block, and calculates and generates a checkpoint mark according to the data of the synchronization block. The checking node associates the checkpoint identifier with the synchronization block for recording; The checking node confirms the checkpoint identification by the checking node in the checking block chain network for storing in the checking block. A synchronization block is used for synchronous downloading of a common node. Through the technical proposal provided bythe embodiment of the invention, harmful data can be removed from the block chain.

Description

technical field [0001] Embodiments of the present invention relate to block chain technology, and in particular to a block chain data modification and synchronization method, device, device, and storage medium. 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. [0003] The data of the blockchain network is usually stored in a chain structure, each block points to the previous block, and the block identifier of each block is generated by all transaction data in this block through cryptography. This makes it difficult for traditional blockchain networks, such as Bitcoin / Ethereum / Fabric, to clear any data that has been published on the blockchain network. For newly generated blocks, it can still be corrected through the soft fork scheme, but for the old blocks that have been confirmed by more blockchain nodes, the data on them...

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/215G06F16/27
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