Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data modification method, apparatus, equipment and medium for block chain

A technology of data modification and blockchain, applied in database update, other database retrieval, structured data retrieval, etc., can solve the problems that the existing technology does not provide solutions

Active Publication Date: 2019-01-15
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF7 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in specific scenarios, there is still a need for data modification in the blockchain, and the existing technology does not provide an effective solution

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] figure 1 It is a flow chart of a blockchain data modification method provided by Embodiment 1 of the present invention. This embodiment is applicable to modifying data in a blockchain, especially transaction data. The applicable blockchain can be a public chain, a private chain or a consortium chain. The solution of the embodiment of the present invention is applied to a block chain node, and the method can be executed by a block chain data modifying device or device. The device can be implemented in hardware and / or software, and can be integrated into a block chain In the electronic equipment of the node. Specifically include the following steps:

[0031] S101. Obtain a block data modification message.

[0032] Wherein, the modification message of the block data may be a control instruction for modifying the block data, or may be a transaction request initiated to modify the block data. The block data modification message may include modification initiator informat...

Embodiment 2

[0055] figure 2 It is a flow chart of a block chain data modification method provided by Embodiment 2 of the present invention. The method is further optimized on the basis of the above embodiment, and a preferred example is provided. Specifically, as figure 2 As shown, the method includes:

[0056] S201. Obtain a block data modification message.

[0057] S202. Determine the target modification block to be modified according to the block data modification message.

[0058] S203. Modify the block data in the target modification block according to the block data modification message.

[0059] The modified block data may be business-associated data or non-business-associated data. Business-associated data is, for example, element transfer data, such as digital currency transfers in or out. Non-business related data may be, for example, plain text data, image data, and the like. For business-associated data, when it is modified or deleted, it may affect the processing of tr...

Embodiment 3

[0069] Figures 3A-3C The flow chart of the blockchain data modification method provided by Embodiment 3 of the present invention. This embodiment provides a preferred example based on the foregoing embodiments, which is suitable for receiving Situations where transactional requests occur in real time, such as Figures 3A-3C The flow charts of the three processing methods in this case are respectively. next combine Figures 3A-3C The following three processing methods are introduced in detail.

[0070] Figure 3A It is the first processing method provided in this embodiment, and the method includes:

[0071] S301. Obtain a block data modification message.

[0072] S302. If a real-time transaction request is received, the transaction request is processed and added as transaction data to the block currently being processed.

[0073] Exemplarily, the first processing method provided by this embodiment can also receive real-time transaction requests during the process of mod...

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, apparatus,equipment and a medium of a block chain. The method comprises the following steps: obtaining a block data modification message; determining a target modification block to be modified according to the block data modification message; modifying block data in a target modification block according to the block data modification message; taking a previous block of the target modification block as a redo start block, reprocessing transaction data in the target modification block and subsequent blocks to generate a new block chain, and connecting the new block chain to the redo start block; subsequent blocks subsequent to the redo start block are discarded. The technical proposal of the embodiment of the invention canrealize the modification of the block chain data, and provides an effective solution for the modification of the block chain data.

Description

technical field [0001] Embodiments of the present invention relate to block chain data processing technology, and in particular to a block chain data modification method, device, equipment and medium. Background technique [0002] Blockchain is a decentralized technology that improves the trust of the network by storing block data through multiple nodes. [0003] The existing blockchain technology stores the blockchain together by all nodes to increase the difficulty of modifying transaction data, thereby preventing malicious tampering. However, in specific scenarios, there is still a need for data modification in the blockchain, and the existing technology does not provide an effective solution. Contents of the invention [0004] Embodiments of the present invention provide a block chain data modification method, device, equipment and medium, so as to realize block data modification. [0005] In the first aspect, the embodiment of the present invention provides a blockc...

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/901G06F16/23H04L29/08
CPCH04L67/1097
Inventor 肖伟
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products