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

Method for implementing transaction query in distributed database on basis of block chain

A blockchain and distributed technology, applied in the field of blockchain, can solve the problems of ineffective use of data and difficult transactions, and achieve the effect of improving utilization.

Active Publication Date: 2017-10-13
BEIJING UNIV OF POSTS & TELECOMM
View PDF4 Cites 58 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, there is no such transaction query method in the current Bitcoin project based on blockchain technology, that is, for any specified transaction, query the validity of the transaction and the block it belongs to. In the current situation, if there is only one transaction ID, when a large amount of data in the historical ledger of the blockchain cannot be effectively utilized, it is very difficult to judge whether the transaction is valid

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 for implementing transaction query in distributed database on basis of block chain
  • Method for implementing transaction query in distributed database on basis of block chain
  • Method for implementing transaction query in distributed database on basis of block chain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to make the gist of the present invention more obvious and understandable, the present invention will be further described below in conjunction with the accompanying drawings and examples. Many details and specific examples are set forth in the following description, and these examples are provided to enable a more thorough understanding of the present invention and to fully and vividly convey the present invention to those skilled in the art. Although the present invention can be implemented in many other ways different from the descriptions herein, those skilled in the art can make corresponding promotions without violating the connotation of the present invention, so the present invention is not limited by the specific examples and specific accompanying drawings disclosed below. restricted.

[0036] figure 1It shows a schematic flowchart of a method for transaction query in a blockchain-based distributed database according to an embodiment of the present 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

The invention provides a method for implementing transaction query in a distributed database on the basis of a block chain. The method comprises the following steps: step S101, designing a Bloom filter, and finding out a candidate block which comprises an assigned transaction ID according to the designed Bloom filter; step S102, traversing and screening the candidate block, finding out a specific block, which comprises a transaction ID, of target transaction, and then constructing a Verify Message; step S103, verifying the completeness of a transaction path of the block by analysis of the Verify Message; and step S104, returning corresponding information according to a verify result, and implementing query of optional transaction in the distributed database on the basis of the block chain. By the method, query of the optional transaction in the distributed database on the basis of the block chain is realized, and the utilization rate of data of the block chain is increased.

Description

technical field [0001] The invention relates to the technical field of block chains, in particular to a block chain-based method for transaction query in a distributed database. Background technique [0002] From the perspective of data, the blockchain is essentially a distributed database. The "distributed" here means that the blockchain technology uses a chain storage structure to not only solve the problem of distributed data storage, but also solve the problem of storage. Distributed consistency problem. Blockchain technology uses distributed accounting books to ensure reliable data transmission and access, and uses automatically executable smart contracts to program and manipulate data. [0003] Blockchain technology involves a number of technologies related to transaction queries, such as Bloom filter (Bloom filter), which is a probability-based filtering method that allows users to describe a specific keyword combination without having to express it precisely. Bloom ...

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): G06F17/30
CPCG06F16/2246G06F16/2255G06F16/2458
Inventor 黄智濒丁平周锋许瀚元刘欣王珏桑燊
Owner BEIJING UNIV OF POSTS & TELECOMM
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