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

Big-data-based query method and device, computer device and storage medium

A query method and computer technology, applied in the computer field, can solve problems such as limited query data volume, query that cannot perform multiple data table connection operations, and a single query engine

Active Publication Date: 2018-12-18
KANG JIAN INFORMATION TECH (SHENZHEN) CO LTD
View PDF4 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Traditionally, only a single query engine
A single query engine has its own disadvantages
The query engine Hive needs to perform multiple disk reads and writes during the query process, and each read and write to the disk will cause a delay
The query engine Presto is a memory-based distributed real-time query engine, which cannot execute queries that require connection operations on multiple data tables.
As a result, there is a problem of long query delay or limited query data volume in the process of big data 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
  • Big-data-based query method and device, computer device and storage medium
  • Big-data-based query method and device, computer device and storage medium
  • Big-data-based query method and device, computer device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0022] The query method based on big data provided by this application can be applied to such as figure 1 shown in the application environment. Wherein, the terminal 102 communicates with the server 104 through the network. Server 104 communicates with cluster of computer nodes 106 over a network. Among them, the terminal 102 can be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices, and the server 104 can be realized by an independent server or a server cluster composed of multiple servers, a...

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 present application relates to a big-data-based query method and device, a computer device and a storage medium. The method comprises the following steps of: receiving a query request uploaded bya terminal, wherein query request carries the query criteria, and the query data targeted by the query criteria are stored in the computer node cluster; determining a complexity of a query condition in response to a query request; when the complexity is lower than the preset threshold, calling the query engine Presto to query the corresponding target data in the computer node cluster according tothe query criteria. When the complexity is higher than the preset threshold, the query engine Hive is called to query the corresponding target data in the computer node cluster according to the querycriteria. The queried target data are obtained and sent to the terminal for display. Adopting the method, the corresponding query engine can be adaptively selected in the large data query process.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a query method, device, computer equipment and storage medium based on big data. Background technique [0002] With the development of big data technology, a variety of query engines based on big data have emerged. For example, query engine Hive and query engine Presto. In the traditional way, only a single query engine is used. A single query engine has its own disadvantages. The query engine Hive needs to perform multiple disk reads and writes during the query process, and each read and write to the disk will cause a delay. The query engine Presto is a memory-based distributed real-time query engine, which cannot perform queries that require connection operations on multiple data tables. As a result, there is a problem of long query delay or limited query data volume in the process of big data query. Contents of the invention [0003] Based on this, it is nec...

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
Inventor 王玉黄奉线
Owner KANG JIAN INFORMATION TECH (SHENZHEN) 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