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

Block chain data indexing method

A data indexing and blockchain technology, applied in the blockchain field, can solve problems such as low data synchronization efficiency, poor performance, and poor real-time performance, and achieve the goal of ensuring atomicity of transactions, improving efficiency, and ensuring data reliability Effect

Active Publication Date: 2020-06-26
HANGZHOU QULIAN TECH CO LTD
View PDF4 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The former data synchronization efficiency is low, the real-time performance is not strong, and additional redundant storage overhead is added, and the query from the off-chain database has been separated from the blockchain, and the data is not reliable
The latter structured the blockchain block data and transaction data and stored them in a relational database. For the existing Key-Value-based storage architecture, the transformation cost is high and the performance is not as good as NoSQL

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 data indexing method
  • Block chain data indexing method
  • Block chain data indexing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The purpose and effect of the present invention will become more obvious by describing the present invention in detail according to the accompanying drawings and specific embodiments.

[0028] A blockchain data indexing method, specifically as figure 1 shown, including the following steps:

[0029] S1, the blockchain client generates a blockchain transaction and sends it to the verification node;

[0030] The blockchain transaction includes transaction participants, transaction generation time, transaction note information and transaction note index information, and the transaction participants include a transaction sender and a transaction receiver. Wherein, the transaction note information field and the transaction note index information field are extensions of the present invention to the existing transaction data structure.

[0031] The transaction note information field is any business-related data customized by the client, such as certificate deposit hash, commo...

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 discloses a block chain data indexing method, which comprises the following steps of: firstly persisting a block to a block file, persisting a layer of index data to an index database, then obtaining a conforming transaction position according to a query condition, and finally obtaining a complete transaction from the block file. According to the invention, Tthe processing process ofblock chain data storage is expanded; the block chain index data is stored in the independent index database, and the multi-database transaction atomicity is ensured; a data index mechanism for customizing business information in a transaction annotation field, associating a transaction with the business information by customizing a transaction annotation index field, and finally obtaining a complete transaction based on transaction key information is established. The specific transaction can be quickly indexed without re-traversing and analyzing the blocks on the block chain, so that the transaction backtracking efficiency of the block chain is greatly improved, the data reliability is ensured, and a foundation is laid for transaction data backtracking.

Description

technical field [0001] The invention belongs to the technical field of block chains, and in particular relates to a method for indexing block chain data. Background technique [0002] With the rapid development and popularization of blockchain technology, the technical research of blockchain and its derivative applications have also shown explosive growth. The characteristics of blockchain data that cannot be tampered with, data can be verified, and data can be traced make it a core cutting-edge technology for realizing smart government affairs, smart medical care, charity tracking and traceability. Existing blockchain systems generally adopt a hybrid storage architecture of Key-Value database storage engine and file storage. Continuous data such as blocks and transactions are stored in files, and other data are stored in Key-Value NoSQL databases. Therefore, for data retrieval, only coarse-grained queries can be performed based on the Key value, and the structured data of ...

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): G06F16/22G06F16/245G06F16/27G06F16/23G06Q20/38
CPCG06F16/2272G06F16/245G06F16/27G06F16/2365G06Q20/389G06F16/22G06F16/2453G06F16/2379
Inventor 邱炜伟李伟蔡亮黄方蕾马晓敏
Owner HANGZHOU QULIAN TECH CO LTD
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