Data query method and device

A data query and data source technology, applied in the field of data query, can solve the problems of online query complexity, inability to apply directly, inconsistent and correct online and offline query logic, etc., and achieve the effect of reducing query delay.

Pending Publication Date: 2021-12-03
THE FOURTH PARADIGM BEIJING TECH CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, such solutions are usually implemented by SQL interpretation and translation. There are many processes such as SQL syntax parsing and conversion into native queries, which cannot be directly applied to online real-time query scenarios with low latency requirements. Therefore, Online real-time query has to still us

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

Example Embodiment

[0027] The following description of the invention will be provided with reference to the accompanying drawings to help the embodiments of the present invention defined by the claims and their equivalents. It includes various specific details to help understand, but these details are considered to be exemplary. Accordingly, there will be various changes and modifications to the embodiments described herein without departing from the scope and spirit of the present invention. In addition, descriptions of well-known functions and structures are omitted for clarity and conciseness.

[0028] It should be noted herein that the "at least one of the" several items in the present disclosure "means" any of the several items "," combination of any of the several items ", These three classes of "all of the" all of this ". For example, "at least one including A and B", including the following three sides: (1) comprises a; (2) comprising b; (3) including A and B. A further, for example, at leas...

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 data query method and device. The method comprises the steps of receiving a query language input by a terminal, wherein the query language carries query parameters; according to the query parameter and a query statement template corresponding to the query language, obtaining a query statement, the query statement template being pre-stored in a template library; and obtaining target data corresponding to the query language based on the query statement and feeding back to the terminal.

Description

technical field [0001] This application relates to the field of data query, and the following description relates to a data query method and device. Background technique [0002] Strategic systems (such as recommendation systems, search systems, etc.) are usually divided into two parts: offline and online, all of which require batch, streaming, or online real-time query operations on data. The data source of the queried data is usually structured It is personalized and diverse, such as from mysql, hdfs, hive, and also from kafka, elasticsearch, etc. And each data source corresponds to a query syntax. Developers need to manage various data service clients and translate them into different query languages ​​in combination with business logic for query. The biggest problem brought about by this is the problem of data management and query. The complexity becomes high and the development efficiency is low. Based on the above problems, in order to reduce the difference in the st...

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/2455G06F16/242
CPCG06F16/24553G06F16/2433
Inventor 李瀚桂权力
Owner THE FOURTH PARADIGM BEIJING TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products