Check patentability & draft patents in minutes with Patsnap Eureka AI!

Approximate query method for predicting future queries based on offline learning historical queries

A technology of historical query and offline learning, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve problems such as low prediction accuracy and complicated process, so as to save costs, simplify the modeling process, and improve accuracy sexual effect

Active Publication Date: 2019-12-20
NANKAI UNIV
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004]The purpose of this invention is to solve the problems of complex process and low prediction accuracy brought by the existing technology of approximate query by learning the underlying data distribution, and proposes a An Approximate Query Method Based on Offline Learning Historical Query Prediction for Future 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
  • Approximate query method for predicting future queries based on offline learning historical queries
  • Approximate query method for predicting future queries based on offline learning historical queries
  • Approximate query method for predicting future queries based on offline learning historical queries

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] The schematic diagram of the method of the present invention is as figure 1 As shown, the method flow is as follows figure 2 shown.

[0055] Introduce the concrete implementation of the method of the present invention below in conjunction with embodiment, at first we select three data sets, are respectively China Mobile broadband Internet access information data set, TPC-H data set and synthetic data set. China Mobile Broadband Internet Information Dataset includes user records of historical online behavior for 6 consecutive days in a certain month in 2015, image 3 Some typical fields of the data set and their meanings are listed, and we use some aggregation queries commonly used in statistical Internet information as query sets. TPC-H is a commonly used benchmark data set for decision support, which contains 22 common queries, and we use 21 queries containing aggregation operations as the query set on this data set. Synthetic datasets refer to generated datasets w...

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 an approximate query method for predicting future queries based on offline learning historical queries, and belongs to the field of database technology application. The methodcomprises the following steps of: 1, modeling underlying data distribution by offline learning historical queries: 1.1, splitting complex SQL queries into simple queries; 1.2, extracting features contained in the SQL query and an approximate result; 1.3, modeling underlying data distribution by utilizing historical queries, an approximate result and a real result; 2, predicting a result of newly-arrived queries on line: 2.1, splitting the newly-arrived queries into simple queries; 2.2, predicting a query result on line for each simple query; 2.3, combining the prediction results of the simplequery, and outputting a final prediction result. The complexity of constructing the underlying data distribution model can be reduced, the accuracy of the underlying data distribution model can be improved, and query accuracy can be improved without excessive time consumption.

Description

technical field [0001] The invention belongs to the technical field of databases, and in particular relates to an approximate query method for predicting future queries based on off-line learning historical queries. Background technique [0002] Social media, mobile devices, and wireless sensors are generating large spatiotemporal data at an unprecedented rate, and aggregated queries on big data have become the basis of many decision support systems. Traditional databases process data queries in a blocking manner, and it takes a long time to return an accurate result after the user submits the query, so the query efficiency is low. On the one hand, the query time required to return an accurate result is unacceptable to the user. On the other hand, a decision support system does not need a completely accurate answer in many scenarios, as long as the approximate result and the real result can make the same decision. Users are more inclined to choose an answer that is not com...

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/2458
CPCG06F16/2462
Inventor 温延龙李云袁晓洁
Owner NANKAI UNIV
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