Query recommendation method and apparatus

A query recommendation and historical query technology, applied in the field of data processing, can solve problems such as low efficiency, inconvenient operation, and long time consumption.

Inactive Publication Date: 2016-08-17
LETV INFORMATION TECH BEIJING
View PDF5 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, when using database query statements for data query, technicians need to input a query statement every time they query the data table, and each time they input a query statement, they need to type out each character one by one. The operation is very inconvenient, making the user's When querying, the time consumed is very long, which leads to low efficiency
[0004] Although, when some databases are querying, when the user clicks on the query data frame, the user's recent historical query statements will be displayed in the form of a menu, so that the user can select the historical query statement, and then make some modifications in the historical query statement, Although this can improve the character input speed when querying, but because they are all historical query statements, users still need to edit and adjust historical instructions every time they query new content, and the efficiency is still low.

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
  • Query recommendation method and apparatus
  • Query recommendation method and apparatus
  • Query recommendation method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0083] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.

[0084] figure 1 It is a flowchart of a query recommendation method according to an exemplary embodiment. like figure 1 As shown, the query recommendation method may include the following steps:

[0085] Step S101: Obtain historical query sentences entered by preset users.

[0086] In the embodiment of the present invention, there are many ways to obtain historical query statements. In one ca...

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 relates to a query recommendation method and apparatus. The method comprises the steps of obtaining a historical query statement input by a preset user; analyzing the historical query statement to obtain statement information of the historical query statement; according to the statement information, determining data table item information queried by the historical query statement, and according to the data table item information, determining a cluster tag corresponding to the preset user; according to cluster tags corresponding to a plurality of historical query statements, determining a recommendation query object corresponding to the preset user; and generating a recommendation query statement corresponding to the recommendation query object. During actual application, before the user inputs the query statement next time, the query statement can be displayed through a popup window or a pull-down menu, and correspondingly, the user can finish statement input only by clicking, so that each character does not need to be tapped on a keyboard, the input efficiency of the query statement is improved, and correspondingly the data query efficiency is enhanced.

Description

technical field [0001] The present disclosure relates to the technical field of data processing, and in particular to a query recommendation method and device. Background technique [0002] When performing data query on a relational database, it is necessary to use a database query statement, such as a structured query language (Structured Query Language, referred to as SQL), to expand the corresponding data query. [0003] At present, when using database query statements for data query, technicians need to input a query statement every time they query the data table, and each time they input a query statement, they need to type out each character one by one. The operation is very inconvenient, making the user's When querying, it takes a very long time, which leads to low efficiency. [0004] Although, when some databases are querying, when the user clicks on the query data frame, the user's recent historical query statements will be displayed in the form of a menu, so that...

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): G06F17/30
CPCG06F16/00G06F16/285G06F16/2428
Inventor 刘宏斌国铁龙
Owner LETV INFORMATION TECH BEIJING
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