Time series data aggregation query method, device, computer equipment and readable medium

A time-series data and query method technology, which is applied in computing, electrical digital data processing, digital data information retrieval, etc., can solve the problems of large aggregation query delay, low aggregation query efficiency, and high computing pressure, so as to reduce computing pressure, Reduce I/O pressure and improve efficiency

Active Publication Date: 2019-07-23
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In the above-mentioned aggregation query processing adopted by the prior art, each data storage node needs to transmit a large amount of original time series data to the computing node, resulting in a great pressure on the input / output (I / O) of the system; and the computing node needs to execute all Aggregation operations, the calculation pressure is too large; this leads to a large delay in the entire aggregation query, and low efficiency of the aggregation query

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 aggregation query method, device, computer equipment and readable medium
  • Time series data aggregation query method, device, computer equipment and readable medium
  • Time series data aggregation query method, device, computer equipment and readable medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0070] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0071] figure 1 It is a flow chart of Embodiment 1 of the aggregation query method for time series data in the present invention. Such as figure 1 As shown, the aggregation query method for time series data in this embodiment may specifically include the following steps:

[0072] 100. Receive an aggregation query request of the user's time series data; the aggregation query request carries an aggregation function, a query time window, and a query time range;

[0073] The executor of the time-series data aggregation query method in this embodiment may be a time-series data aggregation query device, the time-series data aggregation query device receives the user's time-series data aggregation query request, and can access all storage nodes of the ...

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 time series data aggregate query method and apparatus, a computer device and a readable medium. The method comprises the steps of receiving an aggregate query request of timeseries data of a user, wherein the aggregate query request carries an aggregate function, time windows and a time range; according to the time windows of an internal layer aggregate function of the aggregate function, the time range, and corresponding relationships between time of the time series data and storage nodes of the time series data, establishing two-dimensional fragmentation informationon a time dimension and a storage dimension in the time range, controlling the storage nodes corresponding to the time windows to locally execute related operations of the internal layer aggregate function according to the internal layer aggregate function and multiple storage node identifiers corresponding to the time windows identified in the two-dimensional fragmentation information, and returning operation results; and according to the received operation results corresponding to the time windows in the time range and the aggregate function, generating an aggregate query result. Accordingto the technical scheme, the aggregate query efficiency can be effectively improved.

Description

[0001] 【Technical field】 [0002] The present invention relates to the technical field of computer applications, in particular to a time series data aggregation query method, device, computer equipment and readable medium. [0003] 【Background technique】 [0004] In the Internet of Things scenario, time-series data will continue to be generated in large quantities. Time-series databases often use multi-node fragmentation storage. These historical time-series data can be used for effective monitoring and trend prediction. A typical example is to query the hourly data of the latest month. The average temperature, so the time series database needs to be able to support efficient aggregation operation query, referred to as aggregation query. [0005] When the existing time-series data is aggregated and queried, after receiving the query request from the user, it parses the query request and builds a logical query tree, analyzes and optimizes the logical query tree, and finally the ...

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/2455G06F16/2458
CPCG06F16/24556G06F16/2474G06F16/2477
Inventor 朱鸿伟简恒懿
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
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