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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com