Theater data accurate query method based on HBase distributed storage system

A data and precise technology, applied in the field of theater data storage and query optimization, can solve the problems of complex data query, lack of consideration of large amount of data storage, lack of optimization of query methods, etc., achieve high performance, reduce data processing time, The effect of achieving user random read and access efficiency

Pending Publication Date: 2022-04-12
ZHEJIANG UNIV OF TECH
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention mainly solves the problem that the original technical solution lacks the consideration of storing a large amount of data and the optimization of the query method, which makes the data query more complicated, and provides an accurate query method for theater data based on the Hbase distributed storage system , using the HBase platform can randomly access data, write and read data can be completed according to requiremen

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
  • Theater data accurate query method based on HBase distributed storage system
  • Theater data accurate query method based on HBase distributed storage system
  • Theater data accurate query method based on HBase distributed storage system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0034] A precise query optimization method for theater data based on HBase, such as figure 1 shown, including the following steps:

[0035] S1 uses C++ to access HBase through Thrift;

[0036] S1.1 Write the HBase.thrift file to define the HBase data structure and service interface;

[0037] S1.2 Use the Thrift code generator to generate several codes that conform to the agreed communication format;

[0038] S1.3 uses the thrift application framework, including the library functions provided by thrift itself, other third-party support libraries and generated codes to access the database. The HBase installation package comes with the HBase.thrift file for generating API codes, and the Thrift software is required to use the Thrift code generator.

[0039] Users only need to declare their own services in Thrift, and the corresponding code blocks will be automatically generated through the compilation function of Thrift. Finally, users only need to implement coding according to...

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 theater data accurate query optimization method based on HBase. The theater data accurate query optimization method comprises the following steps: 1) accessing the HBase by using C + + through Thrift; (2) generating a file writing interface by using Thrift, and putting an HBase. Thritf file in an HBase source code under a main directory of a root user; (3) accessing the HBase in the program; the method comprises the following steps: starting the service of HBASETHRIF2service at a server side, calling an API (Application Program Interface) to write an interface program by referring to a function definition in a generated file, applying for accessing a database from the server by a client side, and calling a Thrift function to open the connection of the database; 4) adopting a PARTITION algorithm to carry out direct connection operation, and reducing data processing time; and 5) performing computation-intensive and large-data-volume operation by using a Spark distributed computing platform, and realizing efficient query of data through the iterative computation advantage of the Spark platform.

Description

technical field [0001] The invention relates to the technical field of theater data storage and query optimization, in particular to an HBase-based precise query optimization method for theater data. Background technique [0002] According to data, for specific theater data management, there are a large number of employees and actors in the theater, and there are various types of performing arts equipment, and the quantity is also huge. Therefore, these data need to be stored in the database in a standardized manner, and the data in the database can be quickly retrieved. Inquiry, so that managers can add, delete or modify these data in a timely manner, so as to ensure the timeliness and stability of daily management and performances. Therefore, the distributed storage system Hbase is used to store data based on columns, and a direct connection query strategy is selected to provide accurate data management services. [0003] Chinese patent document CN111914155A discloses a "...

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
IPC IPC(8): G06F16/2453G06F16/25G06F16/27
Inventor 李慧敏陈永毅张丹
Owner ZHEJIANG UNIV OF TECH
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