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

An indexing method for key words on blockchain database

A keyword and database technology, applied in database indexing, structured data retrieval, data processing applications, etc., can solve problems such as unfavorable data sharing, impracticality, centralization, etc., to ensure non-tampering and improve applicability , the effect of improving data security

Active Publication Date: 2021-02-19
NORTHEASTERN UNIV LIAONING
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although these central institutions can be regarded as peer-to-peer entities, and their transactions with users can be recorded on the blockchain, such as using Bitcoin to pay phone bills, this approach is impractical because it is not conducive to institutional management User data (including user credit rating, etc.)
In fact, the existing central institutions manage their own databases that store user-related information, but this model has many defects: 1) Different databases may store the same basic identity information of users, resulting in high data redundancy ;2) Different central institutions manage their own data, which is not conducive to data sharing among institutions; 3) Each database is mostly managed by a single institution, which makes users have to trust the institution unconditionally, and there is a centralization problem; 4) Users cannot independently verify the correctness of the data. If the data is maliciously tampered with, neither the user nor the organization can detect it.
However, there are relatively few studies on blockchain query. Most of them use synchronization technology to synchronize transaction data to traditional databases, and build indexes based on each data item to achieve fast query. However, this method does not guarantee that the index cannot be tampered with, so The immutable feature of the blockchain is lost

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
  • An indexing method for key words on blockchain database
  • An indexing method for key words on blockchain database
  • An indexing method for key words on blockchain database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0035] The technical terms of the block chain designed by the present invention are explained as follows:

[0036] Hash pointer: The hash pointer of a data item refers to the fixed-length hash value obtained after the content of the data item is hashed. At the same time, the hash value is the key, and the content of the data item is the value. Store this k-v pair in the k-v database, then the key is the hash pointer of the data item;

[0037] transaction: if figure 1 As shown, it is a transaction structure diagram. The transaction is divided into two parts: the transaction header (Transaction) and the schema (Schema). The transaction header includes: version number (Vers...

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 an indexing method for a keyword key on a block chain database, which relates to the technical field of block chain data query. Firstly, the common node generates transaction records according to the original data with keyword input by the user; the storage node packages the transaction into a block; the block data is written into the disk file; transaction data is queried according to the key value, and a query result is output; normal users verify the trustworthiness of the results. The invention indexes directly according to the data keyword to realize the data inquiry. The transaction structure in the traditional block chain is extended to store the schema structure similar to the traditional database, which improves the applicability. Data authority is managed according to digital signature technology to improve data security. Whether the index is tampered with or not is judged through MerkleRBTree self-perceiving, and whether the transaction is tampered with or not is judging according to the transaction hash, so as to ensure that the data is not tampered with. At the same time, the data verification function of the lightweight node is realized, so thatthe query end can effectively detect the data credibility.

Description

technical field [0001] The invention relates to the technical field of blockchain data query, in particular to an indexing method for a keyword key on a blockchain database. Background technique [0002] With the rise of a series of cryptocurrencies such as Bitcoin and Ethereum, the underlying blockchain technology has also received more and more attention. The core intention of Bitcoin is to achieve decentralization, that is, to realize digital currency transactions between two peer-to-peer entities without the participation of third-party trusted institutions. However, there are inevitably many natural centers in the real world, such as banks that provide loans, telecom operators that provide telecom services, and so on. Although these central institutions can be regarded as peer-to-peer entities, and their transactions with users can be recorded on the blockchain, such as using Bitcoin to pay phone bills, this approach is impractical because it is not conducive to instit...

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/22G06F21/62G06F21/64G06Q20/38
CPCG06F21/6227G06F21/64G06Q20/3829
Inventor 申德荣焦通聂铁铮寇月于戈
Owner NORTHEASTERN UNIV LIAONING
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