Unlock instant, AI-driven research and patent intelligence for your innovation.

A data query method and device

A data query and data technology, applied in the field of data query, can solve problems such as low efficiency and reduce data query efficiency, and achieve the effect of improving efficiency

Active Publication Date: 2019-11-19
ZHEJIANG DAHUA TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when using the index engine to query data, when the query statement includes a join operation, the operation of the distributed index needs to obtain all the records that meet the filter conditions, and then perform the join operation among all the obtained records that meet the conditions, and get all the records that meet the conditions The efficiency of conditional records is very low. Since Lucene is a paging query, only a small number of records are obtained in one query, resulting in the need for multiple operations to finally meet the conditions; when using a database to query data, when the amount of data is large, ordinary query , the speed of fuzzy query is not as fast as that of search engine query, thus reducing the efficiency of data query

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 data query method and device
  • A data query method and device
  • A data query method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some of the embodiments of the present invention, rather than all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0046] The embodiment of the present invention provides a data query method and device, which are used to determine the query path of each query statement according to its own judgment during data query, so as to improve the efficiency of data query.

[0047] see figure 2 , a data query method provided by an embodiment of the present invention, the method comprising:

[0048]S201. Receive the query statement sent by the user, and conv...

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 data querying method and device. The data querying method and device are used for determining querying paths of all querying statements according to own judgment when data querying is conducted to improve the data querying efficiency. The data querying method comprises the steps that the querying statements sent by a user are received and converted into a logic execution plan tree; whether the querying statements are complex statements or not is judged according to arithmetic operators included in the converted logic execution plan tree, if yes, data querying is conducted according to a database querying mode, and otherwise, data querying is conducted according to pre-created indexes in a search engine mode or in an index engine mode.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a data query method and device. Background technique [0002] With a large amount of business data and social networks accumulating more and more various data, how to quickly query records that meet the conditions in massive data storage is a relatively big challenge. [0003] At present, the full-text search engine (lucene), which is a relatively common and mature search engine framework, realizes relatively powerful data query through inverted index technology. The index engine has its own query syntax and has considerable advantages for search; in addition, For existing database systems, there are a large number of indexing technologies, such as B+ tree indexing, bitmap indexing, etc., which also greatly improve the query speed. [0004] Of course, in the text search function of the database at present, the inverted index has a relatively common application. It is a m...

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/953G06F16/951G06F16/22G06F16/242G06F16/2458
CPCG06F16/951
Inventor 黄乐刘勋
Owner ZHEJIANG DAHUA TECH CO LTD