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

A data statistics method and system based on hbase database

A data statistics and database technology, applied in the field of data statistics and systems based on Hbase database, can solve the problems of high system overhead, unconfigurable, high overhead, etc.

Active Publication Date: 2020-10-20
济南宇视智能科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0015] (1) The scalability is poor. Still take the above-mentioned vehicle information as an example, whether it is the time, daily, weekly, monthly, annual report, etc. in the time dimension, or the vehicle type, vehicle color, and violation type in the statistical type dimension, etc., It is necessary to rebuild the table, restart the process or thread to do it, which is relatively expensive for the calculation and memory of the system
Moreover, neither the time dimension nor the statistical type dimension can be configured. Adding a new time period or statistical type requires redevelopment, and the workload is huge;
[0016] (2) poor real-time performance, because the storage method similar to the above-mentioned scheme in the prior art is to query the data of the required time period from a large amount of historical data, then store it in the temporary table first, and then summarize the data to the required time period from the temporary table For reports, the data source is historical data, which determines that the real-time performance of this solution is not high
[0017] (3) The overhead is high. The above-mentioned data storage process is based on the statistical granularity of the time dimension. In practical applications, if there are many statistical types in the statistical granularity of the time dimension and the statistical type dimension, this process will do a lot Repeated work, so the overhead on the system will be relatively large

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
  • A data statistics method and system based on hbase database
  • A data statistics method and system based on hbase database
  • A data statistics method and system based on hbase database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] As mentioned in the background technology, in the data statistics process based on the Hbase database in the prior art, it is first necessary to store the data in a temporary table according to the time period, and then store it in Hbase according to the user's needs. When counting, it is necessary to re-create the table, summarize the data of the previous table and store it in the corresponding table. The process needs to be redeveloped, and the workload is heavy. The table is summarized to the required report, but its real-time performance is not high, and the overhead of the system is too large at runtime.

[0060] In view of the above problems, this application proposes a data statistics method and system to simplify the steps in the data statistics process and reduce the dependence on the specific statistical granularity and statistical type in the data statistics process.

[0061] The embodiment of this application proposes a data statistics method. Before introdu...

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 data statistical method and system based on an Hbase database. According to received data, a storage format of the data is created, wherein a row key RowKey in the storage format is composed of a statistical granularity and a fixed statistical type of the data, a column Column can be formed by splicing of a matching statistical type name and a statistical value, according to the first statistical granularity and the storage format, the data is stored in the Hbase, when a second statistical granularity specified by a user is inconsistent with the first statistical granularity, a combined format is determined according to the second statistical granularity and the storage format, and the combination statistics is conducted on the data stored in the Hbase according to the combined format. The dependency on the specific statistical granularity and the statistical type is reduced in the data statistical process, and the instantaneity of the data statistical result is improved.

Description

technical field [0001] The invention relates to the technical field, in particular to a data statistics method based on an Hbase database, and in particular to a data statistics system based on an Hbase. Background technique [0002] Now is the era of data, where all kinds of data pile up into mountains, how to find regular statistical data based on certain dimensions in these messy data is becoming more and more important. Statistical data can provide an important basis for decision-making, research, analysis, etc. Therefore, a fast, efficient, real-time, and intelligent statistical solution can bring important value. [0003] HBase is a distributed, column-oriented open source database, a distributed storage system for structured data. HBase is different from general relational databases. It is a database suitable for unstructured data storage. In addition, HBase is column-based rather than row-based. [0004] The process of the existing data storage method based on Hba...

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 Patents(China)
IPC IPC(8): G06F16/22G06F16/2458G06F16/27
CPCG06F16/221G06F16/2462G06F16/27
Inventor 袁艳黄群
Owner 济南宇视智能科技有限公司