Time series data storage method and device

A time-series data and data technology, applied in database indexing, digital data processing, structured data retrieval, etc., can solve problems such as failure to solve data writing pressure, low efficiency, and data writing performance that cannot meet demand

Pending Publication Date: 2020-10-23
HANGZHOU HIKVISION DIGITAL TECH
View PDF0 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method effectively reduces the problem of repeated attribute storage of the same data, but the writing performance of the data after splitting cannot meet the demand, and the efficiency of associated query is low
For example, in the process of equipment operation and maintenance, there are 100 pieces of data reported every 5 minutes by a million-level equipment, and the writing performance of storage needs to reach a very high writing speed. In this case, the data query work cannot be performed.
[0013] In another storage method, a secondary index is performed on the basis of the primary index of the label field based on the data storage structure and method, but this method essentially only reduces the row key (RowKey) of the data point, and does not modify the data. The query is effectively improved, which essentially fails to solve the current data writing pressure

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 and device
  • Time series data storage method and device
  • Time series data storage method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0080] In order to make the purpose, technical means and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings.

[0081] In the present invention, the data points obtained by constructing the time series data model are used for data storage, that is, data writing.

[0082] see figure 2 as shown, figure 2 It is a schematic flow chart of writing time-series data into the time-series database for this application. When the client sends a time series data write request, the write process includes,

[0083] Step 201, verifying the time series data parameters to determine the legitimacy of the time series data;

[0084] Step 202, for the time-series data whose verification is successful, start the mapping code data writing process to query the mapping code corresponding to the measurement, label value, etc., or create the corresponding mapping code;

[0085] For the time-se...

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 time series data storage method, which comprises the steps of processing to-be-stored time series data into a defined data structure, and assembling the defined data structure into storage data; wherein the data structure at least comprises a measurement name, a label key, measurement and a time precision field of the time series data; wherein the warehouse-in data takesa mapping code at least comprising a measurement name mapping code, a timestamp and a label value included in a label key as a row key in the data point and takes a time difference relative to the timestamp as a limiter in the data point, and the time difference is related to time precision; and writing the storage data into a time sequence database. According to the method and the device, the label data which can be contained in the row key in the data point is improved, the multi-value storage of the time series data is realized, and the storage pressure caused by splitting the time series data is avoided.

Description

technical field [0001] The present invention relates to the field of time-series databases, in particular to a method for storing time-series data. Background technique [0002] Time series data is a series of data based on time, and data with time tags is also called time series data. [0003] Time series data is mainly collected and generated by various types of real-time monitoring, inspection and analysis equipment in the power industry, chemical industry, etc. The typical characteristics of these industrial data are: fast generation frequency, each monitoring point can generate multiple pieces of data; heavily dependent on the collection time, each piece of data requires a unique time; there are many measuring points and a large amount of information, and the conventional real-time monitoring system has thousands of monitoring points, and the monitoring points generate data every second. Dozens of gigabytes of data are generated every day. [0004] see figure 1 as sh...

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/2458
CPCG06F16/22G06F16/2477
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
Try Eureka
PatSnap group products