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

Data query method and device, equipment and medium

A data query and data source technology, applied in the field of data processing, can solve problems such as accelerated execution, no automatic routing selection, and data source processing languages ​​that do not correspond to each other, and achieve the effect of solving insufficient support and improving support

Pending Publication Date: 2021-10-01
SANGFOR TECH INC
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, federated query is mainly implemented based on SQL (Structured Query Language, Structured Query Language). However, in the current federated query scenario, the industry does not support SQL well enough, that is, the SQL language corresponds to some data source processing languages. No, it cannot be converted into the processing language of the corresponding data source
And the same executor is often used for different data sources, and there is no automatic routing to select the appropriate query executor to speed up execution

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0054] see figure 1 As shown, the embodiment of the present application discloses a data query method, which includes:

[0055] Step S11: Obtain the data query statement to be executed, and convert the data query statement to be executed into a syntax tree to be executed, wherein the data query statement to be executed is a query statement written in a pre-developed search processing language, and the The search processing language corresponds to t...

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, equipment and a medium, and the method comprises the steps: obtaining a to-be-executed data query statement, and converting the to-be-executed data query statement into a to-be-executed syntax tree, wherein the to-be-executed data query statement is a query statement written by using a pre-developed search processing language, and the search processing language has a corresponding relationship with processing languages of different data sources and processing languages of different query actuators; determining to-be-queried data source information corresponding to the to-be-executed data query statement according to the to-be-executed syntax tree; and executing a query plan corresponding to the to-be-executed syntax tree by utilizing a target query executor determined according to the to-be-queried data source information so as to obtain a query result corresponding to the to-be-executed data query statement. In this way, different data sources can be queried, and a specific query executor can be selected according to the data sources so as to accelerate the query process.

Description

technical field [0001] The present application relates to the technical field of data processing, and in particular to a data query method, device, equipment, and medium. Background technique [0002] Federated query is to initiate a query across multiple data sources, and filter and aggregate the results as needed. This can effectively solve the problem that data between multiple data sources cannot be operated uniformly, and solve the problem of difficult user rights management of multiple data sources. At present, federated query is mainly implemented based on SQL (Structured Query Language, Structured Query Language). However, in the current federated query scenario, the industry does not support SQL well enough, that is, the SQL language corresponds to some data source processing languages. If not, it cannot be converted into the processing language of the corresponding data source. And the same executor is often used for different data sources, and there is no automa...

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 Applications(China)
IPC IPC(8): G06F16/242G06F16/2453
CPCG06F16/242G06F16/2453
Inventor 陆平李汶钢
Owner SANGFOR TECH INC
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