A data modification and block verification method and device, an apparatus and a medium of a block chain

A technology of data modification and blockchain, which is applied in the direction of structured data retrieval, database distribution/replication, etc., can solve the problems that the existing technology does not provide solutions, simplify the process of modifying block verification, and solve difficult problems Effect

Active Publication Date: 2019-01-18
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF5 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 t

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
  • A data modification and block verification method and device, an apparatus and a medium of a block chain
  • A data modification and block verification method and device, an apparatus and a medium of a block chain
  • A data modification and block verification method and device, an apparatus and a medium of a block chain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] 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 an electronic device. The device can be implemented in the form of hardware and / or software, and can be integrated into the carrying block In the computing device of the chain node. see figure 1 , which specifically includes the following steps:

[0045] S110. Obtain a block data modification message.

[0046] 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 modifica...

Embodiment 2

[0074] figure 2 It is a flow chart of a blockchain data modification method provided by Embodiment 2 of the present invention. This embodiment is further optimized on the basis of the foregoing embodiments. see figure 2 , which specifically includes the following steps:

[0075] S210. Obtain a block data modification message.

[0076] S220, according to the block data modification message, identify whether the target transaction data to be modified is business-related data, if not, execute S230, and if yes, execute S260.

[0077] Wherein, the business association data may be data associated with subsequent transaction data, at least including: account element transfer data, for example, involving the transfer of virtual items between accounts. Non-business-associated data is independent data that has no relationship with subsequent transaction data, at least including plain text data, for example, a sentence spoken by a user.

[0078] Exemplarily, when obtaining the bloc...

Embodiment 3

[0085] image 3 It is a flow chart of a blockchain data modification method provided by Embodiment 3 of the present invention. On the basis of the above embodiments, this embodiment further explains the determination of the synchronization group where the target modification block is located. see image 3 , which specifically includes the following steps:

[0086] S310. Obtain a block data modification message.

[0087] S320. Determine the target modification block to be modified according to the block data modification message.

[0088] S330. Modify the block data in the target modification block according to the block data modification message.

[0089] S340. Obtain a transaction request for creating a synchronization group.

[0090] In this embodiment, the synchronization group creation transaction request refers to a transaction request for creating a synchronization group including the target modified block. Optionally, the synchronization group creation transaction r...

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 block verification method and device, an apparatus and a medium of a block chain. The method comprises the following steps: obtaininga 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; Determining a synchronization group and a synchronization signature of the target modification block according to the modified target modification block, wherein the synchronization signature of the synchronization group is used in place of the verification function of the block identification, and when the synchronization signature is verified to be passed, it is determined that the target modification block is verified to be passed. Through the technical scheme of the embodiment of the invention, the modification of the block chain data can be realized, the problem that the prior block chain technology is difficult to modify the transaction data is solved, and a simple and effective solution is provided for modifying the block chain data.

Description

technical field [0001] Embodiments of the present invention relate to block chain data processing technology, in particular to a block chain data modification and block verification 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 and block verification method, device, device, and medium, so as to realize modification of block data. [0005] In the first aspect, the embodiment...

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/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