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

A method for blockchain data indexing

A data indexing and blockchain technology, applied in the blockchain field, can solve the problems of poor real-time performance, low data synchronization efficiency, poor performance, etc., to ensure data reliability, ensure transaction atomicity, and improve efficiency. Effect

Active Publication Date: 2020-08-28
HANGZHOU QULIAN TECH CO LTD
View PDF4 Cites 0 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
  • A method for blockchain data indexing
  • A method for blockchain data indexing
  • A method for blockchain data indexing

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 blockchain data indexing method. The method first persists the block to the block file, persists a layer of index data to the index database, and then obtains the matching transaction position according to the query condition, and finally obtains the transaction position from the block Files get fully traded. By expanding the processing process of blockchain data storage, the present invention stores blockchain index data in an independent index database and ensures the atomicity of multi-database transactions. Define the transaction note index field to correlate the connection between the transaction and the business information, and finally obtain the data index mechanism of the complete transaction based on the key information of the transaction; since it is not necessary to retraverse and parse the blocks on the blockchain, it can quickly index to the specific transaction , which greatly improves the efficiency of blockchain transaction backtracking, and at the same time ensures data reliability, laying the foundation 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 Patents(China)
IPC IPC(8): G06F16/22G06F16/245G06F16/27G06F16/23G06Q20/38
CPCG06F16/2272G06F16/245G06F16/27G06F16/2365G06Q20/389G06F16/22G06F16/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