Method, apparatus, apparatus and medium for data modification and block verification of block chain

A data modification, blockchain technology, applied in the direction of digital data protection, electrical digital data processing, computer security devices, etc., can solve the problems that the existing technology does not provide solutions, etc.

Active Publication Date: 2019-02-15
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF5 Cites 10 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
  • Method, apparatus, apparatus and medium for data modification and block verification of block chain
  • Method, apparatus, apparatus and medium for data modification and block verification of block chain
  • Method, apparatus, apparatus and medium for data modification and block verification of block chain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] 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 electronic equipment of the chain node, the following steps are specifically included:

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

[0041] 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 ma...

Embodiment 2

[0057] figure 2 The flow chart of the blockchain data modification method provided by Embodiment 2 of the present invention. This embodiment is based on the foregoing embodiments, and specifically provides the specific situation of determining the modification stamp and verifying the modification authority according to the block data modification message. introduce. Such as figure 2 As shown, the method includes:

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

[0059] S202. Determine a modification stamp according to the block data modification message.

[0060] Optionally, there are many ways to determine the modification stamp according to the modification message, which is not limited in this embodiment of the present invention. Can include at least the following:

[0061] (1) Obtain the modification stamp from the block data modification message, where the modification stamp is obtained by signing the modified block data with the private key of the identit...

Embodiment 3

[0086] image 3 A flow chart of a block chain data modification method provided by Embodiment 3 of the present invention. This method is further optimized on the basis of the above-mentioned embodiments, and a preferred example is provided. Specifically, as image 3 As shown, the method includes:

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

[0088] S302, according to the block data modification message, identify whether the target transaction data to be modified is business-related data, if not, execute S303, and if yes, execute S307.

[0089] 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.

[0090] Exemplarily,...

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 method, a device, a device and a medium for data modification and block verification of a block chain. The method comprises the following steps: obtaining ablock data modification message; Modifying block data in a target modification block according to the block data modification message; setting A modification stamp for tion function of the block identification, and when the modification stamp is verified to be passed, it is determined that the target modification block is verified to be passed. The technical proposal of the embodiment of the invention can realize 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, in particular to block chain data modification and block verification methods, devices, equipment and media. 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] The embodiment of the present invention provides a block chain data modification and block verification method, device, equipment and medium, so as to realize block data modification. [0005] In the first aspect, the embodime...

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): G06F21/60G06F21/62G06F21/64
CPCG06F21/602G06F21/6227G06F21/64
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