Unlock instant, AI-driven research and patent intelligence for your innovation.

Data query method and device, computer equipment and storage medium

A data query device and data query technology

Pending Publication Date: 2021-03-30
BEIJING GRIDSUM TECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Based on this, it is necessary to provide a simpler data query method, device, computer equipment and storage medium for the existing technical solutions that need to ensure the synchronization of permissions between spark-thrift and hiveserver2 at any time to achieve more complex problems

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0065] 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.

[0066] The data query method provided by this application can be applied to such as figure 1 shown in the application environment. Among them, the terminal 102 communicates with the first server 104 through the network, and the first server communicates with the second server 106 through the network. The first server is loaded with the Spark-thrift component, and the second server is loaded with the hiveserver2 component. First, the terminal 102 submits the corresponding The query request is sent to the big data server 104, and the data query is performed through the Spar...

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 data query method and device, computer equipment and a storage medium, which are applied to a Spark-thrift component and comprise the following steps: receiving a data queryrequest uploaded by a terminal; reading user information carried by the data query request; forwarding the data query request and the user information to a hiveserver 2 component; receiving a metadata query result which is sent by the hiveserver 2 component and corresponds to the user permission; and obtaining target data according to the metadata query result, and feeding back the target data tothe terminal. Based on the hiveserver 2 assembly, control over the user permission corresponding to the query request can be ensured, permission synchronization does not need to be ensured in the query process, and the method is simpler and easier to implement.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a data query method, device, computer equipment and storage medium. Background technique [0002] With the development of computer Internet technology, Hadoop technology appeared. Hadoop is a distributed system infrastructure. Users can develop distributed programs without knowing the underlying details of the distribution. Make full use of the power of the cluster for high-speed computing and storage. Hadoop implements HDFS (Hadoop Distributed File System, distributed file system). HDFS has the characteristics of high fault tolerance and is designed to be deployed on low-cost hardware; and it provides high throughput to access application data, suitable for applications with very large data sets. HDFS relaxes the requirements of POSIX (Portable Operating System Interface), and can access data in the file system in the form of streams. [0003] Hive and spark are...

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/14
CPCG06F16/148
Inventor 王昌坤
Owner BEIJING GRIDSUM TECH CO LTD