Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and system for querying blockchain for single errata of added blocks

A query method and technology of a query system, applied in database query, special data processing application, structured data retrieval, etc., can solve problems such as block chain consistency verification failure

Inactive Publication Date: 2020-08-21
BEIJING RZXT TECH DEV CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in some cases, when the block body data in a block on the blockchain does have errors, or due to the special needs of regulatory or policy departments, it needs to be modified and corrected, but if the data is forcibly Modification will inevitably lead to the failure of the consistency verification of the blockchain, resulting in a contradiction between modifying the block data and the consistency verification of the blockchain

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 and system for querying blockchain for single errata of added blocks
  • Method and system for querying blockchain for single errata of added blocks
  • Method and system for querying blockchain for single errata of added blocks

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] Figure 4 It is a flow chart of the method for querying the block chain for adding a single errata of a block provided by the embodiment of the present invention. The execution subject of this method may be a system with data processing functions, including a terminal and / or a server. The block chain in the embodiment of the present invention involves the following concepts: extended block chain, original block and copy block.

[0028] Extended blockchain: When a new block is generated for newly generated data, the part of the blockchain linked by the new block in the entire blockchain is called the extended blockchain, and each block in the extended blockchain is called original block. In this embodiment, a complete blockchain may include an extended blockchain, or an extended blockchain and at least one copy block linked to the extended blockchain. These copy blocks are only for the purpose of errata correcting the block body data of the blocks in the extended block...

Embodiment 2

[0077] Figure 9 The schematic diagram of the query system of the block chain for adding a single errata block provided by the embodiment of the present invention can be used to execute the method steps shown in the first embodiment, the block chain includes an extended block chain, or an The extended block chain and at least one copy block linked to the extended block chain; the copy block is a block generated after the block body data of the original block in the extended block chain is corrected; the copy block The block body data is compared with the block body data of the original block that has been errata, except that the content of the data to be errata is modified, other data corresponds to the same,

[0078] The block body data of the block in the block chain is stored in a data table, wherein the data table includes a plurality of first data in the block chain and the contents of the associated stored first data. A data record, the content of all the first data in ...

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

Embodiments of the invention provide a query method and system for a block chain subjected to single error correction by adding blocks, and belong to the technical field of the block chain. The method comprises the steps of receiving a data query request for block body data of blocks in a current formed extended block chain, wherein the data query request comprises key information of to-be-queried target data; according to the key information, performing a query in a third data record of a data table to obtain a target data record matched with the key information, wherein the third data record comprises a first data record corresponding to an original block which no copy block is associated with, and a second data record; and outputting data in the target data record. According to the scheme, the query method for the block chain is provided under the condition of finishing single error correction by adding the blocks, so that a user can accurately query wanted data.

Description

technical field [0001] The embodiments of the present invention belong to the technical field of block chains, and in particular relate to a block chain query method and system for adding single errata of blocks. Background technique [0002] With the continuous development of the Internet, blockchain technology has emerged as the times require. It is an Internet database technology with the characteristics of decentralization, openness and transparency. Specifically, the essence of blockchain technology is a method of data storage, transmission and certification that is decentralized and resides in a distributed structure. Data blocks are used to replace the current dependence of the Internet on central servers, so that all data changes or transaction items are It is recorded on multiple ledger nodes at the same time. Due to the distributed peer-to-peer network without a central control point, and the method of distributed collective operation, it can be said that the bloc...

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 Patents(China)
IPC IPC(8): G06F16/24
CPCG06F16/24
Inventor 谭智勇王子龙许进张勇
Owner BEIJING RZXT TECH DEV CO LTD