Time series data compression query method, device, computing equipment and storage medium

By fitting and segmenting time series data, and using the correlation coefficient formula and orthogonal projection properties to perform statistical calculations on the fitting function parameters, the problem of low accuracy caused by segment misalignment in time series data compression queries is solved, and a better implementation is achieved. High query accuracy.

CN114547146BInactive Publication Date: 2024-10-29HARBIN INST OF TECH
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202210162421.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-22
Publication Date
2024-10-29
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing time series data compression query algorithm has low accuracy in analysis and query due to the misalignment of compressed time series data segments. Therefore, a new method is urgently needed to improve the query accuracy.

Method used

By fitting and segmenting the original time series data, the fitting function is obtained and its parameters are stored. The correlation coefficient formula and orthogonal projection properties are used to perform statistical calculations on the fitting function parameters of the query time period to reduce the error between misaligned data segments. The correlation coefficient calculates the error bound to improve query accuracy.

Benefits of technology

It effectively reduces the error bound of query results, improves the accuracy of time series data compression queries, and enables more accurate correlation coefficient query results to be obtained without decompressing the compressed data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114547146B_ABST
    Figure CN114547146B_ABST
Patent Text Reader

Abstract

The present invention provides a time series data compression query method, device, computing equipment and storage medium, which relates to the field of data processing technology, wherein the method includes: obtaining the original time series data to be compressed; fitting and segmenting the original time series data to obtain the fitting function corresponding to each segment of the original time series data, and storing the parameters of each fitting function; obtaining the query request initiated by the user for the correlation coefficient of the time period to be queried; wherein the query request includes the correlation coefficient formula and the time period to be queried; according to the query request and the orthogonal projection property, the correlation coefficient formula is used to perform statistical calculations on the parameters of the fitting function corresponding to the time period to be queried, and the correlation coefficient query result is obtained. This scheme can reduce the error bound of the query result and improve the query accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of data processing technology, and in particular to a time series data compression query method, device, computing equipment and storage medium. Background Art

[0002] With the development of the digital economy, more and more application systems need to perform real-time analysis and query on time series data. The existing time series data compression query algorithm first compresses and stores the time series data, and then directly extracts statistical information from the compressed time series data to complete the query when performing real-time analysis and query on the compressed time series data. However, when performing analysis and query on time series data, the existing time series data compression query algorithm has low accuracy due to the misalignment of segments between compressed time series data.

[0003] Therefore, a new method for compressed query of time series data is urgently needed. Summary of the invention

[0004] In view of the problem of low query accuracy of existing time series data compression query algorithms, embodiments of the present invention provide a time series data compression query method, apparatus, computing device and storage medium, which can reduce the error bound of query results and improve query accuracy.

[0005] In a first aspect, an embodiment of the present invention provides a time series data compression query method, comprising:

[0006] Obtaining original time series data to be compressed;

[0007] Fitting and segmenting the original time series data to obtain fitting functions corresponding to each segment of the original time series data, and storing the parameters of each fitting function;

[0008] Obtaining a query request initiated by a user for a correlation coefficient of a time period to be queried; wherein the query request includes a correlation coefficient formula and the time period to be queried;

[0009] According to the query request and the properties of the orthogonal projection, the correlation coefficient formula is used to perform statistical calculations on the parameters of the fitting function corresponding to the time period to be queried, and the correlation coefficient query result is obtained.

[0010] Preferably, fitting and segmenting the original time series data to obtain a fitting function corresponding to each segment of the original time series data includes:

[0011] Step S1, starting from the initial fitting data point of the original time series data, fitting the original time series data to obtain a fitting function corresponding to the original time series data;

[0012] Step S2: when the estimated error obtained in the fitting process is greater than the set error, the fitting of the original time series data is stopped to obtain a stop fitting data point of the original time series data;

[0013] Step S3, taking the data between the start fitting data point and the stop fitting data point as a segment of original time series data;

[0014] The stop fitting data point is used as the start fitting data point for the next fitting, and steps S1-S3 are executed in a loop to complete the segmentation of the original time series data.

[0015] Preferably, it also includes:

[0016] Calculate error metrics based on the fitted function and the original time series data.

[0017] Preferably, according to the query request and the orthogonal projection property, the correlation coefficient formula is used to perform statistical calculations on the parameters of the fitting function corresponding to the time period to be queried to obtain the correlation coefficient query result, including:

[0018] Extract the parameters of the corresponding fitting function according to the correlation coefficient formula and the time period to be queried;

[0019] According to the extracted parameters of the fitting function, the corresponding original time series data are classified and judged to determine the classification results of each section of the original time series data;

[0020] According to the classification results and the orthogonal projection properties, statistical calculations are performed on the original time series data of each segment corresponding to the time period to be queried to obtain the correlation coefficient query result.

[0021] Preferably, the original time series data corresponding to the extracted fitting function is classified and judged according to the parameters thereof, and the classification results of each section of the original time series data are determined, including:

[0022] Using the parameters of the fitting function, classify and judge each segment of the original time series data to determine whether the corresponding fitting functions of each segment of the original time series data and other segments of the original time series data in the same time interval are aligned in the time interval where the segment of the original time series data is located;

[0023] If they are aligned, the segment of original time series data is determined as a directly calculated data segment;

[0024] If not, the segment of original time series data is determined as the data segment to be processed.

[0025] Preferably, statistical calculation is performed on each segment of original time series data corresponding to the time period to be queried according to the classification result and the orthogonal projection property to obtain a correlation coefficient query result, including:

[0026] For each data segment to be processed, the following steps are performed: fitting other original time series data segments in the same time interval as the data segment to be processed with functions of the same family as the data segment to be processed, and performing statistical calculations on the data segment to be processed and the fitting results;

[0027] Use the correlation coefficient formula to perform statistical calculations on the directly calculated data segment;

[0028] The correlation coefficient query result is obtained according to the statistical calculation results of the data segment to be processed and the direct calculation data segment.

[0029] Preferably, it also includes:

[0030] Calculate the inner product of the error vector of the data segment to be processed and the estimated vectors of other original time series data segments in the same time interval, and then calculate the error bound used to characterize the calculation accuracy of the correlation coefficient query result;

[0031] The inner product is calculated according to the following formula:

[0032]

[0033] Among them, T x , T y All are original time series data; T x ' is the original time series data T x The data segment to be processed in T y ' is the original time series data T y The data segment to be processed in; T x The interval where the i-th data segment to be processed is located; and Both represent T x The error vector of the i-th data segment to be processed in ; T x The error vector of all the data segments to be processed and the T of the corresponding interval y The inner product of the estimated vector of the data segment to be processed in; is T obtained according to the fitting function during segmentation y ′’s estimated vector; for In the interval The projection vector on ; In order to calculate the statistical The estimated vector obtained by fitting with any homologous function; For The second norm of the error obtained by fitting with any homologous function; and Both represent T xThe second norm of the estimated error of the i-th data segment to be processed in .

[0034] In a second aspect, an embodiment of the present invention further provides a time series data compression query device, comprising:

[0035] A data acquisition unit, used for acquiring original time series data to be compressed;

[0036] A data compression unit, used to fit and segment the original time series data, obtain a fitting function corresponding to each segment of the original time series data, and store parameters of each fitting function;

[0037] A query request acquisition unit, used to acquire a query request initiated by a user for a correlation coefficient of a time period to be queried; wherein the query request includes a correlation coefficient formula and a time period to be queried;

[0038] The data query unit is used to perform statistical calculations on the parameters of the fitting function corresponding to the time period to be queried using the correlation coefficient formula according to the query request and the orthogonal projection properties to obtain the correlation coefficient query result.

[0039] In a third aspect, an embodiment of the present invention further provides a computing device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method described in any embodiment of this specification is implemented.

[0040] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, enables the computer to execute the method described in any embodiment of this specification.

[0041] The embodiments of the present invention provide a time series data compression query method, apparatus, computing device and storage medium. When using the correlation coefficient formula to perform statistical calculations on the parameters of the fitting function corresponding to the time period to be queried, the error bound of the correlation coefficient calculation results between non-aligned original time series data segments is reduced by utilizing the orthogonal projection property, thereby reducing the error bound of the correlation coefficient query result and improving the query accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0043] Figure 1 This is a flow chart of a time series data compression query method provided by an embodiment of the present invention;

[0044] Figure 2 It is a schematic diagram of the operation flow of a time series data compression query method provided by an embodiment of the present invention;

[0045] Figure 3 is a schematic diagram of segment misalignment provided by an embodiment of the present invention;

[0046] Figure 4 A method for calculating an arithmetic operation error bound propagation provided by an embodiment of the present invention;

[0047] Figure 5 This is a comparison diagram of the HB data set error bound before and after improvement provided by an embodiment of the present invention;

[0048] Figure 6 is a comparison diagram of the HA data set error bound before and after improvement provided by an embodiment of the present invention;

[0049] Figure 7 is a hardware architecture diagram of a computing device provided by an embodiment of the present invention;

[0050] Figure 8 It is a structural diagram of a time series data compression query device provided by an embodiment of the present invention;

[0051] Fig. 9 It is a structural diagram of another time series data compression query device provided by an embodiment of the present invention;

[0052] Fig.10 This is a structural diagram of another time series data compression query device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0053] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0054] As mentioned above, due to the misalignment of the segments between the compressed original time series data segments, when querying the correlation coefficient between the original time series data, the accuracy of the correlation coefficient calculated directly using the compressed data is too low. Therefore, it is considered to use the orthogonal projection property to reduce the error bound of the correlation coefficient between the misaligned original time series data segments, so as to achieve the purpose of obtaining more accurate correlation coefficient query results only by compressing the data even if the compressed data is not decompressed.

[0055] The specific implementation of the above concept is described below.

[0056] Please refer to Figure 1 , an embodiment of the present invention provides a time series data compression query method, the method comprising:

[0057] Step 100, obtaining original time series data to be compressed;

[0058] Step 102, fitting and segmenting the original time series data to obtain fitting functions corresponding to each segment of the original time series data, and storing parameters of each fitting function;

[0059] Step 104, obtaining a query request initiated by a user for the correlation coefficient of the time period to be queried; wherein the query request includes the correlation coefficient formula and the time period to be queried;

[0060] Step 106 , according to the query request and the orthogonal projection property, the correlation coefficient formula is used to perform statistical calculations on the parameters of the fitting function corresponding to the time period to be queried, and obtain a correlation coefficient query result.

[0061] In an embodiment of the present invention, when using the correlation coefficient formula to perform statistical calculations on the parameters of the fitting function corresponding to the time period to be queried, the error bound of the correlation coefficient calculation results between the non-aligned original time series data segments is reduced by utilizing the orthogonal projection property, thereby reducing the error bound of the correlation coefficient query result and improving the query accuracy.

[0062] Described below Figure 1 How the various steps are performed.

[0063] First, with respect to step 100 , original time series data to be compressed is obtained.

[0064] In the embodiment of the present invention, the operation process of the time series data compression query method provided in this embodiment is as follows: Figure 2 As shown in the figure, the left frame is the compression stage, which is to compress the original time series data to obtain the compressed original time series data segment. The right frame is the query stage, which is to calculate the query result and the error bound used to characterize the accuracy of the query result based on the query request input by the user, using the compressed original time series data segment, and feedback to the user.

[0065] In order to support real-time queries by users, the compression phase can usually be set to an offline processing mode, and all input original time series data are used as the original time series data to be compressed, and all the original time series data to be compressed are compressed. Next, the compression phase and the query phase will be described separately.

[0066] Then, with respect to step 102, the original time series data is fitted and segmented to obtain a fitting function corresponding to each segment of the original time series data, and the parameters of each fitting function are stored.

[0067] It can be understood that the purpose of fitting the original time series data is to store the parameters of the fitting function without storing the original time series data, and then use the reason that the space occupied by storing parameters is much smaller than the space occupied by storing original data to achieve the purpose of compressing the original time series data. The purpose of segmentation is to make the fitting function fit the original time series data more closely and to make the estimation error between the fitting data and the original time series data smaller.

[0068] The original time series data can be segmented into fixed-length segments or variable-length segments. Fixed-length segmentation is to divide the original time series data into original time series data segments of fixed length through a fixed-size time window. Variable-length segmentation is to divide the original time series data into original time series data segments of unequal lengths by setting rules.

[0069] In the embodiment of the present invention, since variable-length segmentation has a better compression effect, the original time series data is divided into variable-length original time series data segments.

[0070] Specifically, the original time series data is fitted and segmented to obtain a fitting function corresponding to each segment of the original time series data, including:

[0071] Step S1, starting from the initial fitting data point of the original time series data, fitting the original time series data to obtain a fitting function corresponding to the original time series data;

[0072] Step S2: when the estimated error obtained in the fitting process is greater than the set error, the fitting of the original time series data is stopped to obtain a stop fitting data point of the original time series data;

[0073] Step S3, taking the data between the start fitting data point and the stop fitting data point as a segment of original time series data;

[0074] The stop fitting data point is used as the start fitting data point for the next fitting, and steps S1-S3 are executed in a loop to complete the segmentation of the original time series data.

[0075] In the embodiment of the present invention, segmentation and fitting are performed simultaneously, that is, the original time series data is fitted while segmentation is performed. Of course, segmentation can be performed first and then fitting, depending on the actual situation.

[0076] Therefore, in step S1, it is necessary to pre-select a function family for fitting, and select a function family with good fitting effect on the original time series data and smaller error bound. In the embodiment of the present invention, a first-order polynomial function family is selected.

[0077] For example, if a time series data segment of the given original time series data is T n =(1,5,[0.2,0.4,0.4,0.5,0.6]), represents the time series data T nThe values ​​of the data points in the interval [1,5] are 0.2, 0.4, 0.4, 0.5 and 0.6 respectively. Select a fitting function from the family of first-order polynomial functions to fit the time series data T n For fitting, the reference index of the fitting function is selected as the Euclidean distance, that is, the time series data T is selected n The fitting function with the smallest Euclidean distance between the original data value and the fitted estimate is:

[0078]

[0079] in, is the Euclidean distance, f n is the fitting function, F is a first-order polynomial function family, T n [r] is the time series data T n The original data value, f n [r] is the fitting function f n For time series data T n The fitted estimate of [a, b] is the time series data T n interval.

[0080] Therefore, according to the above Euclidean distance minimum principle, f is selected n =0.09×r+0.15 as the timing data T n The fitting function of .

[0081] In the embodiment of the present invention, the original time series data is fitted and segmented by taking the starting fitting data point as the left boundary of the sliding window, and continuously using the selected fitting function to fit and expand the right boundary until the estimated error obtained in the fitting process is greater than the set error, and then stopping the fitting, and taking the data between the left and right boundaries as an original time series data segment. The next data point of the right boundary at this time is taken as the starting fitting data point, and the cycle is repeated until the left boundary reaches the last data point of the original time series data, and the segmentation and fitting of the original time series data are completed.

[0082] In the embodiment of the present invention, it also includes: calculating error metric parameters according to the fitting function and the original time series data.

[0083] In order to verify the effect of this solution, the error bound used to characterize the calculation accuracy of the query result is calculated. In this embodiment, the error metric parameters are calculated based on the fitting function and the original time series data of each original time series data segment. Not only the parameters of the fitting function of each original time series data segment are stored, but also the error metric parameters of each original time series data segment are additionally stored.

[0084] In the embodiment of the present invention, the types and calculation formulas of the error metric parameters are shown in Table 1 below:

[0085] Table 1

[0086]

[0087]

[0088] Among them, ||ε T || 2 ,||f T || 2 , γ T are the second norm of the estimated error of the original time series data segment T, the second norm of the estimated value, and the absolute value of the estimated error, r is the time data point, T[r] is the original data value of the original time series data segment T, and f T [r] is the fitted estimate of the original time series data segment T, and [a,b] is the interval of the original time series data segment T.

[0089] Continuing with the example in step S1, according to the time series data T n =(1,5,[0.2,0.4,0.4,0.5,0.6]) and fitting function f n =0.09×r+0.15, the error metric parameter can be calculated using the calculation formula in Table 1: and

[0090] It can be understood that after segmented fitting, the time series data T is stored. n The fitting function f n The parameters and The three error metric parameter values ​​are used to calculate the time series data T n Therefore, after all the original time series data to be compressed in step 100 are segmented, the fitting function parameters and error measurement parameters of all the original time series data segments after segmentation are stored to achieve compression of all the original time series data.

[0091] Next, for step 104, a query request initiated by a user for the correlation coefficient of the time period to be queried is obtained; wherein the query request includes the correlation coefficient formula and the time period to be queried.

[0092] In this step, the query requests initiated by the user are divided into querying single time series data statistics and multi-time series data statistics. Among them, single time series data statistics are to query the mean, standard deviation or variance of a certain original time series data in a certain time period to be queried, and multi-time series data statistics are to query the correlation coefficient or mutual correlation coefficient between two original time series data in a certain time period to be queried, or query the autocorrelation coefficient of a certain original time series data under a set offset in a certain time period to be queried.

[0093] In the embodiment of the present invention, the calculation formula corresponding to the statistics of the query request and the command input to the system are as follows:

[0094] The calculation formula of the mean and the instructions for inputting the system are:

[0095]

[0096] The calculation formula for standard deviation and the instructions for inputting into the system are:

[0097]

[0098] The above mean and standard deviation are single time series data statistics. In the calculation formulas of the above mean and standard deviation and the instructions for inputting the system, μ T is the mean of the time series data T, is the standard deviation of the time series data T, [a, b] is the interval of the original time series data T, and r is the data point on the interval.

[0099] The calculation formula of the correlation coefficient and the instructions for inputting the system are:

[0100]

[0101] The calculation formula of the mutual correlation coefficient and the command to input the system are:

[0102]

[0103] The calculation formula of the autocorrelation coefficient and the instructions for inputting the system are:

[0104]

[0105] The above correlation coefficients, cross-correlation coefficients and autocorrelation coefficients are multi-time series data statistics. In the calculation formulas and input system instructions for the above correlation coefficients, cross-correlation coefficients and autocorrelation coefficients, μ T is the mean of the time series data T, σ T is the standard deviation of the time series data T, r(T 1 ,T 2 ) is T 1 and T 2 The correlation coefficient, r(T 1 ,T 2 ,m) is T 1 and T 2 The mutual correlation coefficient, r(T 1 ,m) is T 1 The autocorrelation coefficient, [a 1 ,b 1 ] is the original time series data T 1 The interval [a 2 ,b2 ] is the original time series data T 2 The interval of , m is the offset of the translation operation.

[0106] In the instructions of the query request input system, Sum(), Constant() and Shift() are all time series data operation rules that can be recognized by the algorithm.

[0107] Finally, for step 106, according to the query request and the orthogonal projection property, the correlation coefficient formula is used to perform statistical calculations on the parameters of the fitting function corresponding to the time period to be queried, and the correlation coefficient query result is obtained.

[0108] In one embodiment of the present invention, the correlation coefficient query result can be obtained by at least the following steps N1-N3:

[0109] N1: Extract the parameters of the corresponding fitting function according to the correlation coefficient formula and the time period to be queried.

[0110] It can be understood that the parameters of the fitting function of the data segment corresponding to the original time series data are extracted according to the correlation coefficient formula in the query request instruction input by the user and the time period to be queried.

[0111] N2: Classify and judge the original time series data corresponding to the extracted fitting function parameters to determine the classification results of each segment of the original time series data.

[0112] In the embodiment of the present invention, mainly for the query of multiple time series data statistics, the specific classification judgment method may include:

[0113] The parameters of the fitting function are used to classify and judge each segment of original time series data, and determine whether the corresponding fitting function of each segment of original time series data and other segments of original time series data in the same time interval is aligned in the time interval where the segment of original time series data is located; if aligned, the segment of original time series data is determined as a directly calculated data segment; if not aligned, the segment of original time series data is determined as a data segment to be processed.

[0114] In the embodiment of the present invention, when the segmentation method is variable-length segmentation, or the query request is a mutual correlation coefficient or an autocorrelation coefficient, a translation operation will be performed on the original time series data. Both of these situations will cause the segment misalignment phenomenon to occur.

[0115] For example, if Figure 3 This is a schematic diagram of segment misalignment. It can be seen that Represents the original time series data T 1 The i-th original time series data segment is the fitting data vector obtained according to the corresponding fitting function parameters. and Represent the original time series data T2 The fitting data vector is obtained based on the parameters of the corresponding fitting function from the jth and j+1th original time series data segments. and For the same interval, we can see and are two straight line segments, then and The fitting function is not a function of the same family.

[0116] When calculating according to the correlation coefficient formula, T 1 ×T 2 , at this time T 1 and T 2 In the data segment, there may be unaligned data segments, or there may be both unaligned data segments and aligned data segments. Therefore, it is necessary to 1 and T 2 Classify and judge each time series data in T 1 Each time series data in the same time interval is T 2 Whether the fitting functions corresponding to the time series data segments in are aligned. It can be understood that at this time T 2 There may be more than one time series data segment in the , if aligned, T 1 The time series data in this segment is determined as the direct calculation data segment. If it is not aligned, T 1 The time series data segment is determined as the data segment to be processed. Next, determine T 2 Each time series data in the same time interval is T 1 Whether the fitting functions corresponding to the time series data segments in the 2 The directly calculated data segment and the data segment to be processed in .

[0117] N3: According to the classification results and the orthogonal projection properties, statistical calculations are performed on the original time series data of each segment corresponding to the time period to be queried to obtain the correlation coefficient query result.

[0118] Specifically, for each data segment to be processed, the following are executed: fitting other original time series data segments in the same time interval as the data segment to be processed with functions of the same family as the data segment to be processed, and performing statistical calculations on the data segment to be processed and the fitting results; performing statistical calculations on the directly calculated data segment using the correlation coefficient formula; and obtaining the correlation coefficient query results based on the statistical calculation results of the data segment to be processed and the directly calculated data segment.

[0119] For example, for all unaligned data segments to be processed T 1 ′ and T 2 ′The i-th data segment and Need to be with T with the same interval 2 ′, use any function of the same family, that is, any function in the first-order polynomial function family to fit, that is, T in the same interval 2 The multiple data segments in ′ are fitted into a straight line segment. Similarly, the calculation The same fitting method as above is used.

[0120] Then, the correlation coefficient of the fitted data segment to be processed is calculated according to the correlation coefficient formula, and the direct calculation data segment can directly use the correlation coefficient formula for statistical calculation. Then, the statistical calculation results of the data segment to be processed and the direct calculation data segment are calculated according to the correlation coefficient formula to obtain the query result of the correlation coefficient.

[0121] In order to verify the effect of this solution, the embodiment of the present invention further includes: calculating the inner product of the error vector of the data segment to be processed and the estimated vector of other original time series data segments located in the same time interval, and then calculating the error bound used to characterize the calculation accuracy of the correlation coefficient query result;

[0122] In the embodiment of the present invention, the fitting function and error metric stored in each time series data segment are used to provide subsequent query results and error bounds for characterizing the calculation accuracy of the query results. For example, the original time series data to be compressed is T 1 ,T 2 ...T n , T 1 ,T 2 ...T n After compression, the original time series data T is stored 1 ,T 2 ...T n When the user enters a query q, R is the exact query result calculated using the original data value after decompressing the original time series data. The approximate query result is calculated using the parameters of the fitting function in the compressed data. The actual feedback to the customer is the approximate query result. In order to feedback the error between the approximate query result output by the customer and the accurate query result calculated after decompression, this solution can reduce the error ε and make the approximate query result is closer to the accurate query result. Therefore, by calculating the upper bound of the error ε, the error bound Using error bounds To show the effect of this solution.

[0123] In one embodiment of the present invention, when calculating the correlation coefficient query result according to the correlation coefficient formula, T 1 ×T2 , then first calculate T 1 ×T 2 The error bound of T 1 ×T 2 There are two cases of error bounds:

[0124] Case 1, T 1 and T 2 Each time series data segment in is aligned.

[0125] Case 2, T 1 and T 2 The timing data segments in are not aligned.

[0126] The above two situations are explained below respectively.

[0127] First, situation one is explained.

[0128] In case 1, a T 1 ×T 2 The calculation formula of the error bound is as follows:

[0129]

[0130] in, is the original time series data T 1 The error vector of the i-th data segment, is the original time series data T 2 The fitting data vector obtained by using the fitting function for the i-th data segment, k is the original time series data T 1 The number of segments after segmentation, and are the original time series data T 1 The second norm of the estimated error of the i-th data segment and the original time series data T 2 The quadratic norm of the estimated error of the i-th data segment.

[0131] In addition, the orthogonal projection property is: Let F be a family of functions that form the vector space VS, and f T ∈F is the function selected from the family to fit the time series data T, then f T It is the orthogonal projection of the time series data T on F.

[0132] The orthogonal projection property shows that the error vector ε T With any f T ∈F orthogonal, that is, <∈ T , f T >=0, so given two time series data segments and If two time series data segments are aligned, and the fitting function and If they all belong to the vector space VS, that is, if the fitting functions are of the same family, then we have and

[0133] Because in case 1, T 1 and T 2 The time series data segments in are aligned and are all first-order polynomial function families, so the above T 1 ×T 2 In the calculation formula of the error bound, the dot product of the first two error vectors is 0, so T 1 ×T 2 The error margin is smaller.

[0134] The second situation is described below.

[0135] In case 2, another T 1 ×T 2 The calculation formula of the error bound is as follows:

[0136]

[0137] Among them, T 1 [r] and T 2 [r] are time series data T 1 and T 2 The original data value, r is the data point, is the original time series data T 1 The error vector of the i-th data segment, is the original time series data T 2 The fitting data vector obtained by using the fitting function for the i-th data segment, k 1 and k 2 are the original time series data T 1 and T 2 The number of segments after segmentation, and are the original time series data T 1 The interval of the i-th data segment and the original time series data T 2 The interval of the i-th data segment, and are the original time series data T 1 The second norm of the estimated error of the i-th data segment and the original time series data T 2 The quadratic norm of the estimated error of the i-th data segment. express In the interval The projection vector on Indicates In the interval The projection vector on Indicates T 2 In the interval All time series data segments on T 1 The error vector of all time series data segments and the T of the corresponding interval 2 The inner product of the estimated vector of the time series data segment in, T 2 The error vector of all time series data segments and the T of the corresponding interval 1 The inner product of the estimated vectors for the time series data segments in .

[0138] Due to the situation in T 1 and T 2 The time series data segments in are not aligned, so in case 2, the other T 1 ×T 2 The two items in the calculation formula ① of the error bound cannot be eliminated using the orthogonal projection property, resulting in T 1 ×T 2 The error margin is larger.

[0139] Therefore, in the embodiment of the present invention, since the other original time series data segments in the same time interval as the data segment to be processed are fitted again using the function of the same family as the data segment to be processed, T x The error vector of all the data segments to be processed and the T of the corresponding interval y The inner product of the estimated vector of the data segment to be processed can be calculated according to the following formula:

[0140]

[0141] Among them, T x , T y All are original time series data; T x ' is the original time series data T x The data segment to be processed in T y ' is the original time series data T y The data segment to be processed in; T x The interval where the i-th data segment to be processed is located; and Both represent T x The error vector of the i-th data segment to be processed in ; T x The error vector of all the data segments to be processed and the T of the corresponding interval y The inner product of the estimated vector of the data segment to be processed in; is T obtained according to the fitting function during segmentation y ′’s estimated vector; for In the interval The projection vector on ; In order to calculate the statistical The estimated vector obtained by fitting with any homologous function; For The second norm of the error obtained by fitting with any homologous function; and Both represent T x The second norm of the estimated error of the i-th data segment to be processed in .

[0142] Since the calculation of the data segment to be processed is case 2, we continue to use the example of case 2 to illustrate and calculate T 1 ×T 2 According to the above inner product formula, we can get the error bound of and The calculation result will be and Replace step N3 in case 2 respectively, another T 1 ×T 2 The calculation formula of the error bound is and So and The calculation results and Much smaller than step N3, another T 1 ×T 2 The calculation formula of the error bound is and The value of .

[0143] The calculation of the directly calculated data segment obtained by classification is case 1, so the directly calculated data segment can be obtained according to the calculation formula of case 1. Then the correlation coefficient query result can be determined according to the calculation results of the data segment to be processed and the directly calculated data segment. 1 ×T 2 If the error bound is reduced, the error bound of the correlation coefficient query result will also become smaller, that is, the purpose of achieving sufficiently accurate correlation coefficient query results even without decompressing the time series data is achieved.

[0144] It should be noted that as long as it involves the multiplication of two time series data segments and there is a misalignment of the segments, the present solution can be used to reduce the error bound. In the embodiment of the present invention, the query request is the correlation coefficient, the autocorrelation coefficient and the mutual correlation coefficient, which all involve the multiplication of two time series data segments and there is a misalignment of the segments. Therefore, it is not just about finding the correlation coefficient, and here only the correlation coefficient is used as an example to illustrate.

[0145] The above is a proof process based on the principle. In the calculation process, from the calculation formulas corresponding to various statistics of the query request and the formulas of the instructions input to the system in step 104, it can be seen that when Sum() is used as an aggregate value, the query request q can be associated with multiple aggregate values ​​through arithmetic operations, such as in In order to provide a certain error bound for the query request q, it is important to calculate the error bound for each aggregate value. Once each aggregate value After being calculated, the error bound of the final result can be obtained by the calculation method of arithmetic operation error bound propagation. The specific calculation method of arithmetic operation error bound propagation is as follows: Figure 4 As shown. Among them, Approximate results for each aggregate value.

[0146] Next, the stored error metric is used to calculate the error bound that characterizes the accuracy of the query result calculation. Given the aggregation value Agg = Sum(T) and the compressed time series data To calculate There are two ways to discuss according to T:

[0147] (1) If T is the original time series data segment,

[0148] For example, when the query request is the mean of the original time series data T, according to the calculation formula of the mean in step 104 and the instruction input to the system, it can be seen that in Sum(T), T is the original time series data and has only one aggregate value. Then the error bound used to characterize the calculation accuracy of the mean query result is:

[0149]

[0150] Where k is the number of segments of the original time series data T, It is the absolute value of the estimated error of the i-th time series data segment after the original time series data is segmented into T.

[0151] (2) If T is data generated by time series data operations (such as constant() and Shift()), then Agg = Sum(T) can be expressed as an expression tree. Add error metric parameters to the leaf nodes, and then propagate the error bounds of the leaf nodes to the root nodes according to the input system instructions of the query request, and finally sum to obtain an error bound for the aggregate value. After obtaining the error bounds of each aggregate value using the same expression tree method, according to the input system instructions of the corresponding query request in step 104, as well as Figure 4 The calculation method of the arithmetic operation error bound propagation is shown to obtain the error bound of the query result.

[0152] For example, when the query request is the standard deviation, correlation coefficient, cross-correlation coefficient and autocorrelation coefficient in step 104, the method of approach (2) is used.

[0153] When the query request is query T 1 and T 2 When the correlation coefficient is , the instruction of the system is input according to the correlation coefficient in step 104:

[0154]

[0155] From the instruction formula of the correlation coefficient input system, it can be seen that there are three aggregation values, which are and In these three aggregate values, T is data generated by the time series data operations constant() and Shift().

[0156] So next, we use the expression tree method to calculate

[0157] The error bound of this aggregate value. The error bound expression tree of this aggregate value is as follows:

[0158]

[0159] Referring to the above expression tree, the leaf node at the bottom layer is the original time series data T 1 and T 2 , the error metric parameters of each time series data segment in the query time period, and the error metric parameters of the simulated time series data segment formed by using the mean of the time series data segment. The leaf nodes of the middle layer are the error bounds after subtracting each time series data segment from the simulated time series data segment. That is, the left side is the original time series data T 1 The error bounds after subtracting each data segment from the simulated time series data segment, and the right side is the original time series data T 2 Medium and T 1 The error bounds after subtracting the data segment of the corresponding interval from the simulated time series data segment.

[0160] Then, according to the instruction formula of the correlation coefficient input system, the leaf nodes of the left and right middle layers are multiplied. If the two time series data segments are case 1, that is, the time series data segments are aligned, then it is the error bound of if in VS in the expression tree. If the two time series data segments are case 2, that is, the time series data segments are not aligned, then it is the error bound of if in ANY in the expression tree. The error bound of multiplying the leaf nodes of the left and right middle layers is calculated using the same method for each time series data segment in the time period to be queried, and the sum is obtained. The error bound for this aggregate value.

[0161] It is understandable that the same logic can be obtained and The error bounds of the two aggregate values ​​are then calculated based on the input system instruction formula of the query request for the correlation coefficient in step 104, as well as Figure 4 The calculation method of the arithmetic operation error bound propagation shown is used to obtain the error bound of the correlation coefficient query result.

[0162] It should be noted that the error bound of if in ANY shown in the expression tree above is the calculation result without refitting the same family function. According to this solution, the error bound of if in ANY should be and Replace with and That's it.

[0163] Next, we use a real data set to demonstrate the effectiveness of this solution. Since the algorithm is used in edge scenarios, Huawei's lightweight edge device Atlas 500 for a wide range of edge application scenarios is used as the algorithm deployment environment, Ubuntu 18.04 is used as the development environment (the test results of the development environment and the deployment environment are almost the same), and C++ is used as the algorithm implementation language.

[0164] In this algorithm, two real data sets are used: transaction record data set (HB) and air quality record data set (HA). The following Table 2 shows the statistical information of these two data sets:

[0165] Table 2

[0166] Dataset Number of time series data Average number of data points for each time series data unit HB 8 4,860,000 minute HA 11 1,587,258 minute

[0167] The HB dataset contains the digital currency transaction prices every minute from 2012 to 2018, with commas as delimiters and stored in csv format, with missing values ​​in the data. When processing this dataset, the previous non-missing value is used to fill the current missing value, and each time series data is exported separately without the column name.

[0168] The HA dataset contains 11 different air quality indicators in San Diego from September 10, 2011 to September 10, 2014, such as air pressure, temperature, wind direction, etc. There are no missing values ​​in the data. When processing this dataset, each time series data is directly exported separately without including the column name.

[0169] like Figure 5 As shown in Figure 1, the error bounds of the correlation coefficient query results of two time series data with means of 3077.54134 and 3077.508174 on the HB dataset are shown. At this time, the means of the time series data are almost equal, and the improved error bounds are reduced at different compression rates.

[0170] like Figure 6As shown in the figure, the error bounds of the correlation coefficient query results of two time series data with mean values ​​of 916.8301267 and 61.85144078 on the HA dataset are shown. At this time, the mean values ​​of the time series data differ by one order of magnitude, and the improved error bounds are significantly reduced at different compression rates.

[0171] Therefore, this scheme has the effect of reducing the error bound of the correlation coefficient query result, especially when the mean of the time series data differs by one order of magnitude, the effect of reducing the error bound is more significant.

[0172] like Figure 7 , Figure 8 As shown, an embodiment of the present invention provides a time series data compression query device. The device embodiment can be implemented by software, or by hardware or a combination of software and hardware. From the hardware level, Figure 7 As shown, it is a hardware architecture diagram of a computing device where a time series data compression query device provided by an embodiment of the present invention is located, except Figure 7 In addition to the processor, memory, network interface, and non-volatile memory shown in the figure, the computing device in which the device is located in the embodiment may also generally include other hardware, such as a forwarding chip responsible for processing messages, etc. Taking software implementation as an example, Figure 8 As shown, as a device in a logical sense, the CPU of the computing device in which it is located reads the corresponding computer program in the non-volatile memory into the memory and runs it. This embodiment provides a time series data compression query device, including:

[0173] The data acquisition unit 801 is used to acquire the original time series data to be compressed;

[0174] The data compression unit 802 is used to fit and segment the original time series data, obtain the fitting function corresponding to each segment of the original time series data, and store the parameters of each fitting function;

[0175] The query request acquisition unit 803 is used to acquire a query request initiated by a user for the correlation coefficient of the time period to be queried; wherein the query request includes the correlation coefficient formula and the time period to be queried;

[0176] The data query unit 804 is used to perform statistical calculations on the parameters of the fitting function corresponding to the time period to be queried using the correlation coefficient formula according to the query request and the orthogonal projection property, so as to obtain a correlation coefficient query result.

[0177] In one embodiment of the present invention, the data compression unit 802, when performing fitting and segmentation on the original time series data to obtain a fitting function corresponding to each segment of the original time series data, is specifically used to perform:

[0178] Step S1, starting from the initial fitting data point of the original time series data, fitting the original time series data to obtain a fitting function corresponding to the original time series data;

[0179] Step S2: when the estimated error obtained in the fitting process is greater than the set error, the fitting of the original time series data is stopped to obtain a stop fitting data point of the original time series data;

[0180] Step S3, taking the data between the start fitting data point and the stop fitting data point as a segment of original time series data;

[0181] The stop fitting data point is used as the start fitting data point for the next fitting, and steps S1-S3 are executed in a loop to complete the segmentation of the original time series data.

[0182] Please refer to Fig. 9 , the time series data compression query device may also include:

[0183] The error metric generation unit 805 is used to calculate error parameters according to the fitting function and the original time series data.

[0184] In one embodiment of the present invention, the data query unit 804, when executing the statistical calculation of the parameters of the fitting function corresponding to the time period to be queried using the correlation coefficient formula according to the query request and the orthogonal projection properties to obtain the correlation coefficient query result, is specifically used to extract the corresponding fitting function parameters according to the correlation coefficient formula and the time period to be queried; classify and judge the corresponding original time series data according to the extracted fitting function parameters to determine the classification results of each section of the original time series data; and perform statistical calculations on each section of the original time series data corresponding to the time period to be queried according to the classification results and the orthogonal projection properties to obtain the correlation coefficient query result.

[0185] In one embodiment of the present invention, the data query unit 804, when performing classification judgment on the corresponding original time series data according to the extracted parameters of the fitting function and determining the classification results of each segment of the original time series data, is specifically used to use the parameters of the fitting function to classify and judge each segment of the original time series data, and determine whether the corresponding fitting functions of each segment of the original time series data and other segments of the original time series data in the same time interval are aligned in the time interval where the segment of the original time series data is located; if aligned, the segment of the original time series data is determined as a directly calculated data segment; if not aligned, the segment of the original time series data is determined as a data segment to be processed.

[0186] In one embodiment of the present invention, the data query unit 804, when performing statistical calculations on each segment of original time series data corresponding to the time period to be queried based on the classification results and the orthogonal projection properties to obtain the correlation coefficient query result, is also used to perform, for each data segment to be processed, the following: fitting other original time series data segments in the same time interval as the data segment to be processed with a function of the same family as the data segment to be processed, and performing statistical calculations on the data segment to be processed and the fitting results; performing statistical calculations on the directly calculated data segment using the correlation coefficient formula; and obtaining the correlation coefficient query result based on the statistical calculation results of the data segment to be processed and the directly calculated data segment.

[0187] Please refer to Fig.10 , the time series data compression query device may also include:

[0188] The error bound calculation unit 806 is used to calculate the inner product of the error vector of the data segment to be processed and the estimated vectors of other original time series data segments located in the same time interval, and then calculate the error bound used to characterize the calculation accuracy of the correlation coefficient query result.

[0189] The inner product in the error bound calculation unit 806 is calculated according to the following formula:

[0190]

[0191] Among them, T x , T y All are original time series data; T x ' is the original time series data T x The data segment to be processed in T y ' is the original time series data T y The data segment to be processed in; T x The interval where the i-th data segment to be processed is located; and Both represent T x The error vector of the i-th data segment to be processed in ; T x The error vector of all the data segments to be processed and the T of the corresponding interval y The inner product of the estimated vector of the data segment to be processed in; is T obtained according to the fitting function during segmentation y ′’s estimated vector; for In the interval The projection vector on ; In order to calculate the statistical The estimated vector obtained by fitting with any homologous function; For The second norm of the error obtained by fitting with any homologous function; and Both represent T x The second norm of the estimated error of the i-th data segment to be processed in .

[0192] It is understandable that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on a time series data compression query device. In other embodiments of the present invention, a time series data compression query device may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0193] The information interaction, execution process and other contents between the modules in the above-mentioned device are based on the same concept as the embodiment of the method of the present invention. For the specific contents, please refer to the description in the embodiment of the method of the present invention, and no further description is given here.

[0194] An embodiment of the present invention further provides a computing device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, a time series data compression query method in any embodiment of the present invention is implemented.

[0195] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the processor executes a time series data compression query method in any embodiment of the present invention.

[0196] Specifically, a system or device equipped with a storage medium can be provided, on which software program code that implements the functions of any of the above-mentioned embodiments is stored, and a computer (or CPU or MPU) of the system or device can be enabled to read and execute the program code stored in the storage medium.

[0197] In this case, the program code itself read from the storage medium can realize the function of any one of the above-mentioned embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.

[0198] The storage medium embodiments for providing the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), a magnetic tape, a non-volatile memory card, and a ROM. Alternatively, the program code can be downloaded from a server computer by a communication network.

[0199] In addition, it should be clear that the functions of any of the above embodiments can be implemented not only by executing the program code read by the computer, but also by enabling an operating system operating on the computer to complete part or all of the actual operations based on instructions from the program code.

[0200] In addition, it can be understood that the program code read from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion module connected to the computer, and then based on the instructions of the program code, a CPU installed on the expansion board or expansion module is enabled to perform part or all of the actual operations, thereby realizing the functions of any of the above-mentioned embodiments.

[0201] It should be noted that, in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical factors in the process, method, article or device including the elements.

[0202] A person of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk, etc., various media that can store program codes.

[0203] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A time series data compression query method, characterized in that: include: Obtaining the original time series data to be compressed; Fitting and segmenting the original time series data to obtain fitting functions corresponding to each segment of the original time series data, and storing parameters of each fitting function; Obtaining a query request initiated by a user for a correlation coefficient of a time period to be queried; wherein the query request includes a correlation coefficient formula and the time period to be queried; According to the query request and the orthogonal projection property, the correlation coefficient formula is used to perform statistical calculations on the parameters of the fitting function corresponding to the time period to be queried, to obtain a correlation coefficient query result; The method of performing statistical calculations on the parameters of the fitting function corresponding to the time period to be queried using the correlation coefficient formula according to the query request and the orthogonal projection property to obtain a correlation coefficient query result includes: Extracting the corresponding parameters of the fitting function according to the correlation coefficient formula and the time period to be queried; Classify and judge the original time series data corresponding to the fitting function according to the extracted parameters of the fitting function, and determine the classification results of each section of the original time series data; Perform statistical calculations on each segment of original time series data corresponding to the time period to be queried according to the classification results and orthogonal projection properties to obtain a correlation coefficient query result; The step of classifying and judging the original time series data corresponding to the fitting function according to the extracted parameters of the fitting function to determine the classification results of each section of the original time series data includes: Using the parameters of the fitting function to classify and judge each segment of original time series data, determine whether the corresponding fitting functions of each segment of original time series data and other segments of original time series data in the same time interval are aligned in the time interval where the segment of original time series data is located; If they are aligned, the segment of original time series data is determined as a directly calculated data segment; If not, the segment of original time series data is determined as the data segment to be processed; The step of performing statistical calculations on each segment of original time series data corresponding to the time period to be queried according to the classification results and the orthogonal projection properties to obtain a correlation coefficient query result includes: For each data segment to be processed, the following steps are performed: fitting other original time series data segments in the same time interval as the data segment to be processed with functions of the same family as the data segment to be processed, and performing statistical calculations on the data segment to be processed and the fitting results; Performing statistical calculation on the directly calculated data segment using the correlation coefficient formula; The correlation coefficient query result is obtained according to the statistical calculation results of the data segment to be processed and the directly calculated data segment.

2. The method according to claim 1, characterized in that The fitting and segmenting of the original time series data to obtain a fitting function corresponding to each segment of the original time series data includes: Step S1, starting from the initial fitting data point of the original time series data, fitting the original time series data to obtain a fitting function corresponding to the original time series data; Step S2: when the estimated error obtained in the fitting process is greater than the set error, stop fitting the original time series data to obtain a stop fitting data point of the original time series data; Step S3, taking the data between the start fitting data point and the stop fitting data point as a segment of original time series data; The stop fitting data point is used as the start fitting data point for the next fitting, and steps S1-S3 are executed in a loop to complete the segmentation of the original time series data.

3. The method according to claim 1, characterized in that Also includes: An error metric parameter is calculated based on the fitting function and the original time series data.

4. The method according to claim 1, characterized in that: Also includes: Calculate the inner product of the error vector of the data segment to be processed and the estimated vectors of other original time series data segments located in the same time interval, and then calculate the error bound used to characterize the calculation accuracy of the correlation coefficient query result; The inner product is calculated according to the following formula: in, , All are original time series data; The original time series data The data segment to be processed in; The original time series data The data segment to be processed in; for The interval where the i-th data segment to be processed is located; and Both represent The error vector of the i-th data segment to be processed in ; for The error vector of all the data segments to be processed in the corresponding interval The inner product of the estimated vector of the data segment to be processed in; is obtained based on the fitting function during segmentation The estimated vector of ; for In the interval The projection vector on ; For statistical calculations The estimated vector obtained by fitting any homologous function; For The second norm of the error obtained by fitting with any homologous function; and Both represent The second norm of the estimated error of the i-th data segment to be processed in .

5. A time series data compression query device, used to implement the method according to any one of claims 1 to 4, characterized in that: include: A data acquisition unit, used for acquiring original time series data to be compressed; A data compression unit, used for fitting and segmenting the original time series data, obtaining a fitting function corresponding to each segment of the original time series data, and storing parameters of each fitting function; A query request acquisition unit, used to acquire a query request initiated by a user for a correlation coefficient of a time period to be queried; wherein the query request includes a correlation coefficient formula and a time period to be queried; The data query unit is used to perform statistical calculations on the parameters of the fitting function corresponding to the time period to be queried using the correlation coefficient formula according to the query request and the orthogonal projection property, so as to obtain a correlation coefficient query result.

6. A computing device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method according to any one of claims 1 to 4 is implemented.

7. A computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, causes the computer to execute the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Time series data aggregation retrieval method and device and medium

    CN110046183A

  • Time series data storage query method and device, server and storage medium

    CN111078755A

  • Method and apparatus for establishing index for data

    CN112639761A

  • Monotonic ordered data processing method based on partwise function fitting and related equipment

    CN114020736A

  • Compressing a time series of data

    US8742959B1