Saving method and system for time series data based on key value database

A time-series data and database technology, applied in electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as inability to store and query massive time-series data, achieve good query performance, strong applicability, and reduce data reading. Effect

Inactive Publication Date: 2018-07-06
TSINGHUA UNIV
View PDF2 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The present invention provides a method and system for storing time-series data based on a key-value database, which overcomes the problem of being unable to effectively store and query massive time-series data in the prior art

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
  • Saving method and system for time series data based on key value database
  • Saving method and system for time series data based on key value database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0040] The purpose of the present invention is to propose a storage method and system for time series data based on a key-value database, aiming at the problem that the performance of the existing traditional relational database reaches a bottleneck in the field of industrial time series data and cannot effectively store and query massive time series data .

[0041] figure 1 It is a flowchart of a method for storing time series data based on a key-value database according to an embodiment of the present invention, such as figure 1 As shown, the method includes:

[0042] S1. Obtain the original time-series data collected by the sensor, the original time-series data inclu...

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 provides a saving method and system for time series data based on a key value database. The method comprises the steps that S1, original time series data collected by a sensor is obtained, the original time series data comprises a plurality of attributes, and the attributes comprise an equipment number, a sensor number, a sampling time, a receiving time and a measuring value; S2, according to the sampling time, the original time series data is divided into a corresponding time partition, and time partition information of the original time series data is obtained; S3, the multipleattributes and the time partition information are combined to generate target time series data; S4, the equipment number, the sensor number and the time partition information are taken as first levelindexes, the sampling time is taken as a second level index, and the target time series data is saved in the key value database. According to the saving method and system for the time series data based on the key value database, the time partition information is introduced, the method and the system can adapt to different data sizes, data reading of non-query target is reduced, and a better timeseries data query performance is obtained on the basis of assurance of high-performance data writing.

Description

technical field [0001] The present invention relates to the technical field of computer data management, and more specifically, to a method and system for storing time series data based on a key-value database. Background technique [0002] The data that needs to be processed in the industrial field usually has multiple attributes, such as the data observed by the sensors in the field of vehicle equipment. Each piece of data generated by the GPS sensor in the mobile device includes attributes such as sampling time, device number, latitude and longitude, and altitude. Users will query these data, such as querying the data of certain devices, certain sensors, and certain time periods. The time series data storage system needs to quickly find the required data according to the user's query request. [0003] Time-series data in the industrial field generally has the characteristics of fast collection frequency and large data volume. Taking the field of vehicle equipment as an...

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): G06F17/30
CPCG06F16/2228G06F16/2219
Inventor 王建民黄向东孟祥伟张力
Owner TSINGHUA UNIV
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