Supercharge Your Innovation With Domain-Expert AI Agents!

Blockchain query method based on distributed search engine, and storage medium

A search engine and query method technology, applied in the blockchain field, can solve problems such as heavy storage burden, single point of failure, low query efficiency, etc., achieve the effect of solving query function and efficiency, and reducing storage burden

Pending Publication Date: 2021-11-30
广州汇智通信技术有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the use of relational databases to solve the problem of insufficient query functions and performance of native blockchains has the following disadvantages: relational databases are usually centralized, which runs counter to the original intention of blockchain decentralization, and is easy to use in A single point of failure is caused in the application. After the relational database reaches 100 million-level data, the query efficiency is also low. By downlinking all the blockchain data to the relational database, the additional storage burden is heavy

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
  • Blockchain query method based on distributed search engine, and storage medium
  • Blockchain query method based on distributed search engine, and storage medium
  • Blockchain query method based on distributed search engine, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0019] Such as figure 1 As shown, the block chain query method based on the distributed search engine in this embodiment introduces the distributed search engine, replaces the relational database as the middle layer of the application layer and the block chain, and realizes the fast query of the block chain. The block chain query method based on the distributed search engine of the example is the same as synchronizing the latest data in the block chain through the search engine regularly, and performing word segmentation processing on the data through the word segmenter. The search engine builds an inverted index of word segmentation and corresponding data, and stores them in the search engine. The search engine responds to the query requirements of the application layer, locates the data of the blockchain according to the inverted index and returns the query results.

[0020] Among them, the inverted index is relative to the forward index. The positive index uses the record...

Embodiment 2

[0042] A computer-readable storage medium stores a program thereon, and when the program is executed by a processor, the processor executes the method of Embodiment 1.

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 blockchain query method based on a distributed search engine, and a storage medium. According to the method, after the file is written into the block chain, the search engine is introduced to perform word segmentation on the file, then the reverse index is established based on the file word segmentation result, the reverse index is subjected to fragmentation processing, and then the file ID meeting the condition can be obtained through the search engine according to the input condition; and the matched file content is quickly searched on the storage node through the file ID. According to the method, the distributed search engine is introduced to replace a relational database, the problems of block chain query function and efficiency are thoroughly solved, and meanwhile, the additional storage burden is relieved.

Description

technical field [0001] The invention relates to the field of block chains, in particular to a block chain query method and storage medium based on a distributed search engine. Background technique [0002] In recent years, blockchain technology has become well known with the popularity of Bitcoin in the investment market. Technically speaking, the blockchain is essentially a way of storing data records - chain storage. In terms of application, the blockchain forms a distributed ledger maintained by the collective through cryptography. Therefore, the blockchain has the characteristics of non-tampering, decentralization, traceability throughout the process, traceability, and openness and transparency. Based on these characteristics, blockchain technology is more and more widely used, and query browsing, as the most basic operation of each application, also puts forward high requirements on the response speed of the system. The implementation logic of the native blockchain q...

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
IPC IPC(8): G06F16/31G06F16/953G06F40/279
CPCG06F16/319G06F16/953G06F40/279
Inventor 郑博洪王宏宇初润润戢润林马海波罗丹丹王丽斌韦文停廖桂红
Owner 广州汇智通信技术有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More