CN115659185A - Method and device for processing time sequence data of operation and maintenance system - Google Patents
Method and device for processing time sequence data of operation and maintenance system Download PDFInfo
- Publication number
- CN115659185A CN115659185A CN202211093088.7A CN202211093088A CN115659185A CN 115659185 A CN115659185 A CN 115659185A CN 202211093088 A CN202211093088 A CN 202211093088A CN 115659185 A CN115659185 A CN 115659185A
- Authority
- CN
- China
- Prior art keywords
- time sequence
- time
- sequence
- data
- processing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000012545 processing Methods 0.000 title claims abstract description 89
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000012423 maintenance Methods 0.000 title claims abstract description 45
- 238000001514 detection method Methods 0.000 claims abstract description 72
- 230000000737 periodic effect Effects 0.000 claims abstract description 48
- 230000002159 abnormal effect Effects 0.000 claims abstract description 23
- 230000005484 gravity Effects 0.000 claims description 27
- 238000005311 autocorrelation function Methods 0.000 claims description 9
- 238000004364 calculation method Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 15
- 238000004891 communication Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 5
- 238000004458 analytical method Methods 0.000 description 4
- 230000005856 abnormality Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000000354 decomposition reaction Methods 0.000 description 2
- 238000005215 recombination Methods 0.000 description 2
- 230000006798 recombination Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 125000004432 carbon atom Chemical group C* 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000011524 similarity measure Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2458—Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
- G06F16/2474—Sequence data queries, e.g. querying versioned data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/284—Relational databases
- G06F16/285—Clustering or classification
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- Computational Linguistics (AREA)
- Software Systems (AREA)
- Probability & Statistics with Applications (AREA)
- Fuzzy Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Testing And Monitoring For Control Systems (AREA)
Abstract
The embodiment of the invention provides a method and a device for processing time sequence data of an operation and maintenance system, wherein the method comprises the following steps: acquiring time series data of a target object of an operation and maintenance system; carrying out periodic detection processing on the time sequence data to obtain a detection result of whether the time sequence data is a periodic time sequence; if the detection result shows that the time sequence data is a cycle time sequence, removing the cycle of the cycle time sequence from the time sequence data to obtain a target time sequence; and according to the target time sequence, carrying out detection, classification and/or prediction processing on the abnormal indexes of the target object to obtain a processing result, and outputting the processing result. The embodiment of the invention can realize the abnormal detection, classification or early warning treatment of the target object of the operation and maintenance system, and improve the operation performance of the operation and maintenance system.
Description
Technical Field
The present invention relates to the field of time series data processing technologies, and in particular, to a method and an apparatus for processing time series data of an operation and maintenance system.
Background
With the development of large data, time series data appears in more and more fields, such as internet of things, medical treatment, finance and the like. In an operation and maintenance scene, various kpi indexes are required to be subjected to automatic anomaly detection, classification or early warning treatment so as to monitor whether a system fails or not. In most cases, the upper and lower bounds of the index are set by means of a static threshold or k-sigma, and if the index exceeds the upper bound or is lower than the lower bound, the index is considered as abnormal. When the mode meets periodic indexes, the detection accuracy is poor.
As shown in fig. 1, the index (time series) includes two abnormalities a and B. When the detection is performed using k-sigma, only B-anomalies can be detected as shown in fig. 2.
The conventional data period detection method cannot well process time sequence data which simultaneously covers periods and trend components, so that inaccurate period detection is caused, the time sequence data cannot be effectively analyzed, and further, target objects in an operation and maintenance system cannot be effectively subjected to effective abnormal detection, classification or early warning treatment, and the performance of the operation and maintenance system is influenced.
Disclosure of Invention
The invention provides a method and a device for processing time sequence data of an operation and maintenance system. Based on the periodic detection of the time series data, the abnormity detection, classification or early warning processing of the target object of the operation and maintenance system is realized, and the operation performance of the operation and maintenance system is improved.
To solve the above technical problem, an embodiment of the present invention provides the following solutions:
a method for processing time series data of an operation and maintenance system comprises the following steps:
acquiring time sequence data of a target object of the operation and maintenance system;
carrying out periodic detection processing on the time sequence data to obtain a detection result of whether the time sequence data is a periodic time sequence;
if the detection result shows that the time sequence data is a cycle time sequence, removing the cycle of the cycle time sequence from the time sequence data to obtain a target time sequence;
and according to the target time sequence, carrying out detection, classification and/or prediction processing on the abnormal indexes of the target object to obtain a processing result, and outputting the processing result.
Optionally, the performing a periodic detection process on the time series data to obtain a detection result of whether the time series data is a periodic time series includes:
processing the time sequence data to obtain an autocorrelation sequence of the time sequence data;
processing the self-correlation sequence to obtain a similarity difference sequence of the self-correlation sequence;
obtaining a candidate period T of the time sequence data according to the similarity difference sequence;
obtaining the noise degree according to the candidate period T and the time sequence dataAnd the specific gravity of the trend component;
According to the noise levelAnd specific gravity of trend componentAnd obtaining a detection result of whether the time series data are periodic time series or not according to a corresponding threshold value.
Optionally, processing the time-series data to obtain an autocorrelation sequence of the time-series data includes:
according to an autocorrelation function, carrying out autocorrelation calculation on the time sequence data to obtain an autocorrelation sequence of the time sequence data; the autocorrelation function is:
wherein the time-series data isN represents the length of time-series data X;is the average of the time-series data X,;indicates the t-th point in the time-series data,。
optionally, the autocorrelation sequence of the time-series data is:
Optionally, obtaining a similarity difference sequence of the auto-correlation sequence includes:
computing subsequenceAndobtaining similarity difference sequences M through similarity difference under each length;
Optionally, obtaining the candidate period T of the time series data according to the similarity difference sequence includes:
according to the similarity difference sequence, orderBy the formulaObtaining a candidate period T of the time sequence data; wherein j is the index of the element M in the similarity difference sequence M.
Optionally, according to the waiting timeSelecting the period T and the time sequence data to obtain the noise degreeAnd specific gravity of trend componentThe method comprises the following steps:
according toObtaining the specific gravity of the trend componentOr according toObtaining the specific gravity of the trend componentOr, according toObtaining the specific gravity of the trend component。
Optionally, according to said noise levelAnd specific gravity of trend componentAnd a corresponding threshold, determining the time series data as a periodic time series, comprising:
if it isAnd, in addition,if the time sequence data X is a periodic time sequence, the period length is T;
The embodiment of the present invention further provides a device for processing time series data of an operation and maintenance system, where the device includes:
the acquisition module is used for acquiring time series data of a target object of the operation and maintenance system;
the processing module is used for carrying out periodic detection processing on the time sequence data to obtain a detection result of whether the time sequence data is a periodic time sequence; if the detection result shows that the time sequence data is a cycle time sequence, removing the cycle of the cycle time sequence from the time sequence data to obtain a target time sequence; and according to the target time sequence, carrying out detection, classification and/or prediction processing on the abnormal indexes of the target object to obtain a processing result, and outputting the processing result.
Embodiments of the present invention also provide a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the method as described above.
The scheme of the invention at least comprises the following beneficial effects:
according to the scheme, time sequence data of the target object of the operation and maintenance system are obtained; carrying out periodic detection processing on the time sequence data to obtain a detection result of whether the time sequence data is a periodic time sequence; if the detection result shows that the time sequence data is a cycle time sequence, removing the cycle of the cycle time sequence from the time sequence data to obtain a target time sequence; and according to the target time sequence, carrying out detection, classification and/or prediction processing on the abnormal indexes of the target object to obtain a processing result, and outputting the processing result. Based on the periodic detection of the time series data, the abnormity detection, classification or early warning processing of the target object of the operation and maintenance system is realized, and the operation performance of the operation and maintenance system is improved.
Drawings
FIG. 1 is a schematic diagram of time-series data in a method for processing time-series data;
FIG. 2 is a schematic diagram illustrating the effect of k-sigma anomaly detection performed on the time-series data shown in FIG. 1;
FIG. 3 is a schematic flow chart of a method for processing time-series data according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating raw data in a time series data cycle test according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a period component extracted from the time-series data of FIG. 4 according to an embodiment of the present invention (where a is a schematic diagram of the period component, and b is a schematic diagram of the comparison between the period component and the original data);
FIG. 6 is a schematic diagram of the target time sequence after the period is removed from the time sequence data of FIG. 4 according to an embodiment of the present invention (where a is a schematic diagram of the obtained residual sequence, and b is a schematic diagram of a comparison between the original data, the period component, and the residual sequence);
fig. 7 is a schematic diagram of a detection effect obtained by the time series data of fig. 4 according to the residual sequence in the embodiment of the present invention (where a is a schematic diagram of an abnormal point obtained by comparing the residual sequence with a threshold, b is a schematic diagram of an abnormal point obtained by comparing the original data, the residual sequence and the threshold, and c is a schematic diagram of an abnormal point obtained by comparing the original data with the threshold);
FIG. 8 is a schematic structural diagram of an apparatus for processing time-series data according to an embodiment of the present invention;
fig. 9 is a schematic diagram of an autocorrelation sequence obtained by processing time-series data according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
As shown in fig. 3, the present invention provides a method for detecting time-series data, including:
step 33, if the detection result indicates that the time sequence data is a periodic time sequence, removing a period of the periodic time sequence from the time sequence data to obtain a target time sequence, and as shown in fig. 6, removing a period component from a database calling delay index to obtain a residual sequence;
and step 34, according to the target time sequence, carrying out detection, classification and/or prediction processing on the abnormal indexes of the target object to obtain a processing result, and outputting the processing result.
The embodiment acquires time series data of a target object of the operation and maintenance system; carrying out periodic detection processing on the time sequence data to obtain a detection result of whether the time sequence data is a periodic time sequence; if the detection result shows that the time sequence data is a cycle time sequence, removing the cycle of the cycle time sequence from the time sequence data to obtain a target time sequence; and according to the target time sequence, carrying out detection, classification and/or prediction processing on the abnormal indexes of the target object to obtain a processing result, and outputting the processing result. Based on the periodic detection of the time series data, the abnormity detection, classification or early warning processing of the target object of the operation and maintenance system is realized, and the operation performance of the operation and maintenance system is improved.
In an alternative embodiment of the present invention, step 32 may include:
step 321, processing the time series data to obtain an autocorrelation sequence of the time series data; specifically, according to an autocorrelation function, performing autocorrelation calculation on the time-series data to obtain an autocorrelation sequence of the time-series data, as shown in fig. 9;
here, the autocorrelation function is:
wherein the time-series data isN represents the length of the time-series data X;is the average of the time-series data X,;indicating the t-th point in the sequence,,represents the mathematical expectation of X;
the autocorrelation sequence of the time series data is:
For example, for time seriesMean value ofThe sequence length is 12, and the autocorrelation sequence of the sequence X can be calculated according to the autocorrelation function;
Step 322, processing the autocorrelation sequence to obtain a similarity difference sequence of the autocorrelation sequence;
step 323, obtaining a candidate period T of the time sequence data according to the similarity difference sequence;
step 324, obtaining the noise degree according to the candidate period T and the time sequence dataAnd specific gravity of trend component;
Step 325, according to the noise levelAnd specific gravity of trend componentAnd obtaining a detection result of whether the time series data are periodic time series or not according to a corresponding threshold value.
In an alternative embodiment of the present invention, step 322 may include:
computing subsequenceAndobtaining similarity difference sequences M through similarity difference under each length;
are likeThe degree difference calculation function may be, for example, similarity difference measurement modes such as MSE, RMSE, MAE, DTW, and the like.
In an implementation example, the similarity difference calculation function may be an average absolute errorWhereinrepresents the above-mentioned subsequence,Represents the above-mentioned subsequence。
For example, for time seriesThe autocorrelation sequence of which isUsing the average absolute error as the similarity measure, then,(ii) a Similarity difference sequence。
In an alternative embodiment of the present invention, step 323 may include:
step 3231, ordering according to the similarity difference sequenceBy the formulaObtaining a candidate period T of the time sequence data; wherein j is the index of the element M in the similarity difference sequence M.
In an alternative embodiment of the present invention, step 324 may include:
step 3241, obtaining noise level according to the time sequence dataAnd specific gravity of trend component。
In particular, according toObtaining the degree of noiseOr according toObtaining the degree of noise(ii) a Here, ,period of time-series dataWhen the number of the carbon atoms is 7,。
in particular, according toObtaining the specific gravity of the trend componentOr according toObtaining the specific gravity of the trend componentOr according toObtaining the specific gravity of the trend component。
In an alternative embodiment of the present invention, step 325 may include:
if it isAnd, in addition,then, the time series data X is considered as a periodic time series with a period length T.
Here, based on T, the noise level of the sequence is calculatedAnd specific gravity of trend component,For describing the degree of noise on a sequence, the smaller the value, the smaller the noise, and the more significant the period.Description of the inventionThe smaller the degree, value, of the trending component on the sequence, the fewer the trending component, and the more pronounced the period.
If it isAnd, in addition,then, the time series data X is considered as a periodic time series with a period length T.
Wherein j is the index of the element M in the similarity difference sequence M;a preset noise threshold value,Is a preset trend threshold.
For example:;(ii) a In the M sequence, 0 is the smallestIf the corresponding index j is 6, then pass the formulaObtaining the candidate period of the time series dataIs 7.
In an alternative embodiment of the present invention, step 34 may include at least one of:
step 341, performing anomaly detection processing on preset time sequence data according to the target time sequence to obtain a detection result; as shown in fig. 7, the fixed threshold detection on the residual sequence is more accurate;
step 342, classifying preset time sequence data according to the target time sequence to obtain a classification result;
step 343, according to the target time sequence, carrying out prediction processing on preset time sequence data to obtain a prediction processing result;
according to the embodiment of the invention, whether the sequence is a periodic sequence can be judged through periodic detection of the time sequence data of the target object of the operation and maintenance system, and the preset sequence data is classified; the period length of the sequence can be automatically acquired; cycles can be eliminated from the sequence to facilitate subsequent anomaly detection and prediction processing.
In an operation and maintenance scene, the method is used for carrying out cycle detection and extraction on time sequence data of a target object, cycles are removed from an original sequence, abnormal detection, classification or prediction processing and the like are carried out on the removed data, if abnormal detection is carried out, as shown in fig. 4, the time sequence data of the target object is index data (unit: millisecond) of database calling delay, the index data is displayed in a week from 2020-05-15 to 2020-05-22, and an operation and maintenance person carries out analysis according to experience: from the index trend analysis, the data has obvious day period, and the analysis can know that in the vicinity of 2020-05-1812. The reason for analyzing by the operation and maintenance personnel may be that the operation and maintenance personnel are affected by a fault, so that the failure rate of database calling at the moment is high, and further, the whole sudden drop of calling delay is caused. When a fixed threshold value is adopted to process the data, the suspected abnormal points are not determined to be abnormal, but are determined to be normal data, and the data are inconsistent with the analysis of operation and maintenance personnel. By periodically detecting and extracting the data, the method of the present invention can extract periodic components from the index data, and obtain the processing result as shown in fig. 5 (a). Comparing the cycle component with the original index data, the abnormal values of 2020-05-18. Then, the periodic components are removed from the original sequence to obtain the processing result shown in fig. 6, and the residual sequence shown in fig. 6 (a) is obtained. By this processing, it can be seen from fig. 6 (b) that the abnormal data is more vivid on the residual sequence, and then the residual sequence is detected by using a fixed threshold or the like, so that the abnormality can be effectively identified, and the processing result shown in fig. 7 is obtained, so that the method of the present invention can identify the abnormality (the abnormal point of 2020-05-18 00.
According to the method provided by the embodiment of the invention, the period of the periodic time sequence is removed from the time sequence data to obtain a target time sequence based on the periodic detection of the time sequence data; according to the target time sequence, carrying out detection, classification and/or prediction processing on abnormal indexes of the target object to obtain a processing result, and outputting the processing result; the abnormity detection, classification or early warning processing of the target object of the operation and maintenance system is realized, and the operation performance of the operation and maintenance system is improved.
As shown in fig. 8, an embodiment of the present invention further provides a device 80 for processing time series data of an operation and maintenance system, where the device 80 includes:
the obtaining module 81 is configured to obtain time series data of a target object of the operation and maintenance system;
the processing module 82 is configured to perform periodic detection processing on the time series data to obtain a detection result of whether the time series data is a periodic time series; if the detection result shows that the time sequence data is a cycle time sequence, removing the cycle of the cycle time sequence from the time sequence data to obtain a target time sequence; and according to the target time sequence, carrying out detection, classification and/or prediction processing on the abnormal indexes of the target object to obtain a processing result, and outputting the processing result.
Optionally, the performing a periodic detection process on the time series data to obtain a detection result of whether the time series data is a periodic time series includes:
processing the time sequence data to obtain an autocorrelation sequence of the time sequence data;
processing the self-correlation sequence to obtain a similarity difference sequence of the self-correlation sequence;
obtaining a candidate period T of the time sequence data according to the similarity difference sequence;
obtaining the noise degree according to the candidate period T and the time sequence dataAnd specific gravity of trend component;
According to the noise levelAnd the specific gravity of the trend componentAnd obtaining a detection result of whether the time series data is a periodic time series or not according to a corresponding threshold value.
Optionally, processing the time-series data to obtain an autocorrelation sequence of the time-series data includes:
according to an autocorrelation function, carrying out autocorrelation calculation on the time sequence data to obtain an autocorrelation sequence of the time sequence data; the autocorrelation function is:
wherein the time-series data isN represents the length of the time-series data X;is the average of the time-series data X,;indicates the t-th point in the time-series data,。
optionally, the autocorrelation sequence of the time-series data is:
Optionally, obtaining a similarity difference sequence of the auto-correlation sequence includes:
computing subsequenceAndobtaining similarity difference sequences M through similarity difference under each length;
Optionally, obtaining the candidate period T of the time series data according to the similarity difference sequence includes:
according to the similarity difference sequence, orderBy the formulaObtaining a candidate period T of the time sequence data; wherein j is the index of the element M in the similarity difference sequence M.
Optionally, a noise level is obtained according to the candidate period T and the time-series dataAnd specific gravity of trend componentThe method comprises the following steps:
according toObtaining the specific gravity of the trend componentOr, according toObtaining the specific gravity of the trend componentOr, according toObtaining the specific gravity of the trend component。
Optionally, according to the degree of noiseAnd specific gravity of trend componentAnd a corresponding threshold, determining the time series data as a periodic time series, comprising:
if it isAnd, in addition,if the time sequence data X is a periodic time sequence, the period length is T;
It should be noted that the apparatus is an apparatus corresponding to the above method, and all the implementations in the above method embodiment are applicable to the embodiment of the apparatus, and the same technical effects can be achieved.
Embodiments of the present invention also provide a computing device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus; the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the corresponding operation of the method.
Embodiments of the present invention also provide a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the method as described above.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions may be stored in a computer-readable storage medium if they are implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
Furthermore, it is to be noted that in the device and method of the invention, it is obvious that the individual components or steps can be decomposed and/or recombined. These decompositions and/or recombinations are to be regarded as equivalents of the present invention. Also, the steps of performing the series of processes described above may naturally be performed chronologically in the order described, but need not necessarily be performed chronologically, and some steps may be performed in parallel or independently of each other. It will be understood by those skilled in the art that all or any of the steps or elements of the method and apparatus of the present invention may be implemented in any computing device (including processors, storage media, etc.) or network of computing devices, in hardware, firmware, software, or any combination thereof, which can be implemented by those skilled in the art using their basic programming skills after reading the description of the present invention.
The object of the invention is thus also achieved by a program or a set of programs running on any computing device. The computing device may be a general purpose device as is well known. The object of the invention is thus also achieved solely by providing a program product comprising program code for implementing the method or the apparatus. That is, such a program product also constitutes the present invention, and a storage medium storing such a program product also constitutes the present invention. It is to be understood that the storage medium may be any known storage medium or any storage medium developed in the future. It is further noted that in the apparatus and method of the present invention, it is apparent that each component or step can be decomposed and/or recombined. These decompositions and/or recombinations are to be regarded as equivalents of the present invention. Also, the steps of executing the series of processes described above may naturally be executed chronologically in the order described, but need not necessarily be executed chronologically. Some steps may be performed in parallel or independently of each other.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (10)
1. A method for processing time series data of an operation and maintenance system is characterized by comprising the following steps:
acquiring time sequence data of a target object of the operation and maintenance system;
carrying out periodic detection processing on the time sequence data to obtain a detection result of whether the time sequence data is a periodic time sequence;
if the detection result shows that the time sequence data is a cycle time sequence, removing the cycle of the cycle time sequence from the time sequence data to obtain a target time sequence;
and according to the target time sequence, carrying out detection, classification and/or prediction processing on the abnormal indexes of the target object to obtain a processing result, and outputting the processing result.
2. The method for processing time series data of an operation and maintenance system according to claim 1, wherein performing a periodic detection process on the time series data to obtain a detection result of whether the time series data is a periodic time series includes:
processing the time sequence data to obtain an autocorrelation sequence of the time sequence data;
processing the autocorrelation sequence to obtain a similarity difference sequence of the autocorrelation sequence;
obtaining a candidate period T of the time sequence data according to the similarity difference sequence;
obtaining a noise degree noise _ level and a trend component proportion trend _ level according to the candidate period T and the time sequence data;
and obtaining a detection result of whether the time sequence data is a periodic time sequence or not according to the noise degree noise _ level, the trend component specific gravity trend _ level and a corresponding threshold value.
3. The method for processing time series data of an operation and maintenance system according to claim 2, wherein processing the time series data to obtain an autocorrelation sequence of the time series data comprises:
according to an autocorrelation function, carrying out autocorrelation calculation on the time sequence data to obtain an autocorrelation sequence of the time sequence data; the autocorrelation function is:
5. The method for processing time series data of an operation and maintenance system according to claim 4, wherein the obtaining of the similarity difference sequence of the autocorrelation sequence comprises:
computing subsequenceAndobtaining similarity difference sequences M through similarity difference under each length;
6. The method for processing time series data of an operation and maintenance system according to claim 5, wherein obtaining the candidate period T of the time series data according to the similarity difference sequence comprises:
7. The method for processing time series data of an operation and maintenance system according to claim 6, wherein obtaining a noise level noise _ level and a trend component specific gravity trend _ level according to the candidate period T and the time series data comprises:
according toObtain the noise level noise _ level, or, according toObtaining the noise degree noise _ level; wherein,;
8. The method for processing time series data of an operation and maintenance system according to claim 7, wherein determining the time series data as a periodic time series according to the noise level noise _ level, the trend component specific gravity trend _ level, and a corresponding threshold value comprises:
if it isAnd, in addition,if the time sequence data X is a periodic time sequence, the period length is T;
9. An apparatus for processing time series data of an operation and maintenance system, the apparatus comprising:
the acquisition module is used for acquiring time series data of a target object of the operation and maintenance system;
the processing module is used for carrying out periodic detection processing on the time sequence data to obtain a detection result of whether the time sequence data is a periodic time sequence; if the detection result shows that the time sequence data is a cycle time sequence, removing the cycle of the cycle time sequence from the time sequence data to obtain a target time sequence; and according to the target time sequence, carrying out detection, classification and/or prediction processing on the abnormal indexes of the target object to obtain a processing result, and outputting the processing result.
10. A computer-readable storage medium having stored thereon instructions which, when executed on a computer, cause the computer to perform the method of any one of claims 1 to 8.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111485747.7A CN113886470A (en) | 2021-12-08 | 2021-12-08 | Method, device and equipment for processing time series data |
CN2021114857477 | 2021-12-08 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115659185A true CN115659185A (en) | 2023-01-31 |
Family
ID=79015795
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111485747.7A Pending CN113886470A (en) | 2021-12-08 | 2021-12-08 | Method, device and equipment for processing time series data |
CN202211093088.7A Pending CN115659185A (en) | 2021-12-08 | 2022-09-08 | Method and device for processing time sequence data of operation and maintenance system |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111485747.7A Pending CN113886470A (en) | 2021-12-08 | 2021-12-08 | Method, device and equipment for processing time series data |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN113886470A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116652396A (en) * | 2023-08-01 | 2023-08-29 | 南通大学 | Safety early warning method and system for laser inner carving machine |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20230341832A1 (en) * | 2022-04-26 | 2023-10-26 | Hitachi, Ltd. | Versatile anomaly detection system for industrial systems |
-
2021
- 2021-12-08 CN CN202111485747.7A patent/CN113886470A/en active Pending
-
2022
- 2022-09-08 CN CN202211093088.7A patent/CN115659185A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116652396A (en) * | 2023-08-01 | 2023-08-29 | 南通大学 | Safety early warning method and system for laser inner carving machine |
CN116652396B (en) * | 2023-08-01 | 2023-10-10 | 南通大学 | Safety early warning method and system for laser inner carving machine |
Also Published As
Publication number | Publication date |
---|---|
CN113886470A (en) | 2022-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN115659185A (en) | Method and device for processing time sequence data of operation and maintenance system | |
US10373065B2 (en) | Generating database cluster health alerts using machine learning | |
JP6361175B2 (en) | Abnormality diagnosis apparatus and program | |
EP2015186B1 (en) | Diagnostic systems and methods for predictive condition monitoring | |
EP3552067B1 (en) | Methods and systems for discovery of prognostic subsequences in time series | |
CN105259895B (en) | A kind of detection of industrial process small fault and separation method and its monitoring system | |
EP2905665A2 (en) | Information processing apparatus, diagnosis method, and program | |
JP2017196523A5 (en) | Brain activity analysis system, brain activity analysis device, and brain activity analysis program | |
CN108549914B (en) | Abnormal SER/SOE event identification method based on Apriori algorithm | |
AU2002246994A1 (en) | Diagnostic systems and methods for predictive condition monitoring | |
CN110008247B (en) | Method, device and equipment for determining abnormal source and computer readable storage medium | |
EP3333757B1 (en) | Predictive anomaly detection | |
CN112581719B (en) | Semiconductor packaging process early warning method and device based on time sequence generation countermeasure network | |
EP4160339A1 (en) | Abnormality/irregularity cause identifying apparatus, abnormality/irregularity cause identifying method, and abnormality/irregularity cause identifying program | |
CN116304909A (en) | Abnormality detection model training method, fault scene positioning method and device | |
EP4160341A1 (en) | Abnormal modulation cause identifying device, abnormal modulation cause identifying method, and abnormal modulation cause identifying program | |
CN114297264A (en) | Method and system for detecting abnormal segments of time sequence signal | |
CN116974268B (en) | Intelligent monitoring and early warning method for control system circuit | |
JP2009110262A (en) | Filter device, filtering method for filter device and filtering program | |
CN117591860A (en) | Data anomaly detection method and device | |
US11449781B2 (en) | Plant abnormality prediction system and method | |
CN113571092B (en) | Engine abnormal sound identification method and related equipment thereof | |
US20220253051A1 (en) | Method and assistance system for detecting an abnormal behaviour of a device | |
CN114580982B (en) | Method, device and equipment for evaluating data quality of industrial equipment | |
JP7449248B2 (en) | Support devices, support methods and support programs |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |