Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Time series data storage method, device and equipment based on Hbase

A time-series data and storage device technology, applied in database indexing, digital data processing, structured data retrieval, etc., can solve the problems affecting retrieval performance, long rowkey, redundant storage of tags, etc., to improve retrieval efficiency and retrieval performance , speed up indexing, avoid the effect of redundant storage

Active Publication Date: 2021-04-30
HANGZHOU HIKVISION DIGITAL TECH
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this single-value model storage structure, the number of tags contained in tags is limited. If there are too many tags, the rowkey will be very long, which will affect the retrieval performance
Moreover, when this single-value model storage structure is applied to the Hbase database, how many columns the column cluster contains and how many times the rowkey must be stored means how many times the tags must be stored repeatedly. There is a problem of redundant storage of tags. In the face of massive When timing data, the impact of this redundancy will be very 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
  • Time series data storage method, device and equipment based on Hbase
  • Time series data storage method, device and equipment based on Hbase
  • Time series data storage method, device and equipment based on Hbase

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0054] see figure 1 , the Hbase-based time series data storage method of the embodiment of the present invention comprises the following steps:

[0055] S11: Obtain a piece of time-series data generated by the data source. The time-series data includes data generation time, data name, multiple data labels and at least one monitoring indicator. The multiple data labels include at least one identification label that uniquely identifies the data source.

[0056...

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 an Hbase-based time series data storage method, device and equipment. The method comprises the steps of obtaining a piece of time series data generated by a data source; sorting the plurality of data labels and the at least one monitoring index to obtain a label sorting result and an index sorting result, and associating the label sorting result and the index sorting result with the data names to obtain a sorting relationship; dividing timestamps according to a preset time interval, and recording the timestamps corresponding to the data generation time; forming a row key by the data name, the identification tag and the timestamp corresponding to the data generation time, forming a column of a tag column cluster by the data tags except the identification tag in the plurality of data tags according to a tag sorting result, and forming a column of an attribute column cluster by the at least one monitoring index according to an index sorting result, obtaining a multi-valued model storage structure; and storing the multi-valued model storage structure and the sorting relationship into an HBase database. By applying the method, the data label and the row key can be decoupled, and redundant storage is avoided.

Description

technical field [0001] The present invention relates to the technical field of data storage, in particular to an Hbase-based time series data storage method, device and equipment. Background technique [0002] With the advent of the Internet of Things and Industry 4.0, all data in different industries can be networked, and a large amount of time-organized data is generated every moment, which is called time series data. Time series data needs to be stored for later query, statistics and analysis. Common time-series data models are divided into single-value and multi-value models. In the single-value model, a row of data corresponds to only one monitoring indicator of time-series data. Taking the data generated by wind power generation as an example, the storage structure of the single-value model is shown in Table 1. . [0003] Table 1 Single value model storage structure [0004] metric timestamp manufacturer wind field model value power 2019-01...

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/22G06F16/2455
CPCG06F16/2228G06F16/2455Y02D10/00
Inventor 王玉华张建兴李林森金兵兵许正一
Owner HANGZHOU HIKVISION DIGITAL 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
Eureka Blog
Learn More
PatSnap group products