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

Block chain parallel query method and system for setting off-chain errata

A query method and blockchain technology, applied in the direction of responding to the generation of errors, other database queries, error detection/correction, etc., can solve problems such as failure of blockchain consistency verification.

Inactive Publication Date: 2020-08-04
BEIJING RZXT TECH DEV CO LTD
View PDF6 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
  • Block chain parallel query method and system for setting off-chain errata
  • Block chain parallel query method and system for setting off-chain errata
  • Block chain parallel query method and system for setting off-chain errata

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0022] Figure 4 It is a flow chart of the block chain parallel query method for setting off-chain errata provided by the embodiment of the present invention. The execution subject of this method may be a system with data processing functions, including terminals and / or servers. The block chain in the embodiment of the present invention involves two data tables: the original data table and the errata table outside the chain.

[0023] Raw data table: used to store the block body data of each block in the blockchain, the raw data table includes a plurality of associated stored first data position information in the blockchain and the content of the first data Original records, the content of all the first data in the original data table constitutes the block body data of all blocks in the blockchain;

[0024] Off-chain errata: Stored in association with the original data table, the off-chain errata includes multiple errata records consisting of the position information of the a...

Embodiment 2

[0069] Figure 6 The schematic diagram of the block chain parallel query system for setting the errata table provided by the embodiment of the present invention can be used to execute the method steps shown in the first embodiment. The block body data of the blocks in the block chain are stored in a In the original data table, the original data table includes a plurality of original records composed of the location information of the associated stored first data in the blockchain and the content of the first data, and the contents of all the first data in the original data table the block body data making up all the blocks in said blockchain;

[0070] There is an off-chain errata stored in association with the original data table, and the off-chain errata includes a plurality of errata records composed of the position information of the associated stored first data in the blockchain and the second data. Among them, the off-chain errata The first data involved in the table cor...

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 method and system for querying block chains having out-chain corrigenda in parallel, and belong to the technical field of block chains. The method comprises the following steps of: receiving a data query request aiming at block body data of a block body in a currently formed block chain; carrying out query in an out-chain corrigendum according to key information in the data query request so as to obtain a target corrigendum record; carrying out query in an original data table to obtain a target original record; and if the target corrigendum record and the target original record comprise records aiming at position information in the same block chain, deleting the target original record which comprises the position information, and outputting the target corrigendum record and the residual target original record after the deletion operation as target data. The invention aims at providing a block chain query method under the condition of completing block chain data corrigendum through setting out-chain corrigenda, so that users can correctly query required 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 parallel query method and system for setting off-chain errata tables. 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 tha...

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/903G06F11/07
CPCG06F11/0751G06F16/903
Inventor 谭智勇王子龙许进张勇
Owner BEIJING RZXT TECH DEV CO LTD