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

Data query method and device

A data query and query method technology, applied in the network field, can solve problems such as difficult to understand the intuitive meaning of Lucene, complicated writing format, and difficult to troubleshoot errors.

Active Publication Date: 2021-03-26
BEIJING GRIDSUM TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the data query function is realized through the full-text search engine (Lucene) retrieval toolkit encapsulated in the distributed search engine. Although Lucene supports a relatively flexible query language (Query Domain Specific Language, abbreviated as Query DSL), Lucene is in It is not easy to understand in an intuitive sense, and the written format is relatively complicated, and it is not easy to troubleshoot errors

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] An exemplary embodiment of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the drawings, it is understood that the present disclosure can be implemented in various forms and should not be restricted herein. Instead, it is provided to provide more thoroughly understood the present disclosure, and can communicate the scope of the disclosure to those skilled in the art.

[0022] In order to make the advantages of the technical solution of the present invention, the present invention will be described in detail below with reference to the accompanying drawings and examples.

[0023] The embodiment of the present invention provides a data query method, such as figure 1 As shown, the method includes:

[0024] 101, receive data query statements.

[0025] Wherein, the data query statement contains the field name, field type, and query mode of the dat...

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 query method and device, relates to the technical field of networks, and aims at solving the problem that the existing data query manner is complicated in writing format, wrong in debugging and difficulty to modify. The main technical scheme is that the method comprises the following steps of receiving a data query statement, wherein the data query statement comprises field names, field types and query manners of the data query statement, and the data query statement is a query statement of an XLM language; verifying whether the data query statement is correct or not according to a preset XML query framework, the field names of the data query statement and basic query framework corresponding to the field names, wherein the preset XML query framework comprises the basic query frameworks corresponding to the field names, and the basic query frameworks comprise the field types and the query manners; and if the data query statement is correct, querying the field names according to the data query statement. The method and device are mainly used for data query.

Description

Technical field [0001] The present invention relates to the field of network technologies, and more particularly to a data query method and apparatus. Background technique [0002] The distributed search engine provides various query functions for large-scale data, convenient users to classify and statistics from different aspects, especially for users to store and quickly query real-time data on various media on the network. However, to build a real-time data query system, first need to establish a data collection system, then organize and classify the collected data, and then use the distributed search engine to index the data of these different formats, and finally according to these indexes. Query and display. [0003] At present, the data query function is implemented by the full-text search engine (Lucene) retrieval toolkit package package in a distributed search engine. Although Lucene supports relatively flexible query language (Query Domain SpecificLanguage, Simple is qu...

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/953
CPCG06F16/951
Inventor 史立华
Owner BEIJING GRIDSUM 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