Time series data storing and querying method and storing and processing platform
A time-series data and database technology, applied in the database field, can solve problems such as slow writing and reading speed, inability to store and data, performance and scale difficult to meet user requirements, etc., and achieve the effect of increasing the writing speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] Such as figure 1 As shown, it is a schematic flowchart of a method for storing time series data provided by an embodiment of the present invention. The method is applied to a database, and the database includes index files and data files. figure 1 It can be seen that the steps of the method for storing time series data include:
[0032] Step S101: Receive time series data to be stored and compress to obtain compressed time series data.
[0033] First, the database receives the time series data to be stored and the compression algorithm identification of the time series data to be stored. The compression algorithm identification is selected by the user according to the user's own needs and sent to the database.
[0034]Second, compare the compression algorithm identifier with the algorithm identifier corresponding to the compression function in the database. Here, the interface definition of the time series data compression and decompressor: ICompressor is defined in ...
Embodiment 2
[0062] The embodiment of the present invention also provides a query method for time series data, which is applied to a database, such as image 3 As shown, it is a schematic flowchart of a time series data query method provided by an embodiment of the present invention, which is represented by image 3 It can be seen that the query method of the time series data includes the following steps:
[0063] Step S301: Receive a query request from a client.
[0064] Step S302: Analyze the time range of the query request, and search the index file for index entries with timestamps within the time range.
[0065] The time range of the query request includes the start time and end time of the request. Considering the monotonically increasing nature of time series data timestamps, the timestamps stored in the index file are naturally ordered, and a simple dichotomy can be used for searching. It has the simplicity of implementation and the efficiency of query.
[0066] Step S303: Find ...
Embodiment 3
[0080] The embodiment of the present invention also provides a method for storing, querying and processing time series data.
[0081] First, a time series data platform system is deployed on a computer server, through which the interactive communication between the server and the application program can be realized. Such as Figure 4 As shown, it is a schematic diagram of a time series data transmission process provided by the embodiment of the present invention, which is represented by Figure 4 It can be seen that the application program sends time series data to the database platform through various channels (TCP, named pipe, HTTP, etc.). For application developers, they only need to select the corresponding implementation call, and do not need to deal with the technical details of the channel by themselves, which fully improves the developer's efficiency and saves development time. At the same time, application developers can also expand with multiple systems and customi...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com