WO2021204010A1 - Time series anomaly detection method and apparatus, and computer device and storage medium - Google Patents

Time series anomaly detection method and apparatus, and computer device and storage medium Download PDF

Info

Publication number
WO2021204010A1
WO2021204010A1 PCT/CN2021/083751 CN2021083751W WO2021204010A1 WO 2021204010 A1 WO2021204010 A1 WO 2021204010A1 CN 2021083751 W CN2021083751 W CN 2021083751W WO 2021204010 A1 WO2021204010 A1 WO 2021204010A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
time series
neural network
convolutional neural
series
Prior art date
Application number
PCT/CN2021/083751
Other languages
French (fr)
Chinese (zh)
Inventor
陈桢博
郑立颖
徐亮
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2021204010A1 publication Critical patent/WO2021204010A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3447Performance evaluation by modeling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • G06N3/088Non-supervised learning, e.g. competitive learning
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Definitions

  • This application relates to the field of artificial intelligence technology, in particular to the field of deep learning, and in particular to a timing anomaly detection method, device, computer equipment, and storage medium.
  • the anomaly detection program of the operation and maintenance system is mainly responsible for monitoring the indicators of multiple objects such as applications and hardware in the operation and maintenance system (for example, the CPU usage indicator of a certain host object). When the indicator is abnormal, it will alert in real time to prompt work Personnel conduct investigation.
  • anomaly detection algorithms including statistical algorithms, machine learning algorithms, and deep learning algorithms. Among them, deep learning algorithms are more accurate and are currently the main research and application direction.
  • the purpose of this application is to provide a timing anomaly detection method, device, computer equipment and storage medium, aiming to solve the problems of reduced applicability and low accuracy of the timing anomaly detection method in the prior art.
  • an embodiment of the present application provides a timing anomaly detection method, which includes:
  • the time series abnormality detection model is used to detect the time series data to be tested, and the abnormal value of the time series data to be tested is obtained.
  • an embodiment of the present application provides a timing anomaly detection device, which includes:
  • the first convolution unit is configured to use the first convolutional neural network to perform convolution processing on the time series data samples of the operation and maintenance system to obtain the time series characteristics associated with local adjacent time steps;
  • An attention mechanism unit configured to use the attention mechanism to correlate the global time steps of the time sequence features to obtain the time sequence features associated with the global time steps;
  • the self-encoding unit is configured to use a variational self-encoding algorithm to encode and decode the time-series features associated with the global time step to obtain reconstructed time-series features;
  • the second convolution unit is configured to use a second convolutional neural network to perform convolution processing on the reconstructed time series feature to obtain time series restoration data;
  • a model construction unit configured to use the difference between the time series data sample and the time series restoration data to detect the abnormal value of the time series data sample, and complete the construction of the time series abnormality detection model
  • the model detection unit is configured to detect the time series data to be tested by using the time series abnormality detection model to obtain the abnormal value of the time series data to be tested.
  • embodiments of the present application provide a computer device, including a memory, a processor, and a computer program stored on the memory and running on the processor, wherein the processor executes the computer program When realizing the timing abnormality detection method as described in the first aspect.
  • an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program that, when executed by a processor, causes the processor to execute The timing anomaly detection method described in the aspect.
  • the convolutional neural network is combined with the attention mechanism to realize the extraction of time series features, and then complete the time series abnormality detection, and through the variational auto-encoding algorithm, the time series abnormality detection model is established based on the unsupervised learning method, which improves the applicability of the model And accuracy.
  • FIG. 1 is a schematic flowchart of a timing anomaly detection method provided by an embodiment of the application
  • FIG. 2 is a schematic diagram of a sub-flow of the timing anomaly detection method provided by an embodiment of the application
  • FIG. 3 is a schematic diagram of another sub-flow of the timing anomaly detection method provided by an embodiment of the application.
  • FIG. 4 is a schematic diagram of another sub-flow of the timing anomaly detection method provided by an embodiment of the application.
  • FIG. 5 is a schematic diagram of another sub-flow of the timing anomaly detection method provided by an embodiment of the application.
  • FIG. 6 is a schematic block diagram of a timing anomaly detection device provided by an embodiment of the application.
  • FIG. 7 is a schematic block diagram of subunits of a timing anomaly detection device provided by an embodiment of the application.
  • FIG. 8 is a schematic block diagram of another subunit of the timing anomaly detection device provided by an embodiment of the application.
  • FIG. 9 is a schematic block diagram of another subunit of the timing anomaly detection device provided by an embodiment of the application.
  • FIG. 10 is a schematic block diagram of another subunit of the timing anomaly detection device provided by an embodiment of the application.
  • FIG. 11 is a schematic block diagram of a computer device provided by an embodiment of the application.
  • FIG. 1 is a schematic flowchart of a timing anomaly detection method provided by an embodiment of the application. As shown in the figure, it includes steps S101 to S106:
  • S101 Use the first convolutional neural network to perform convolution processing on time series data samples of the operation and maintenance system to obtain time series characteristics associated with local adjacent time steps;
  • the function of the first convolutional neural network is to perform convolution processing on time series data samples, and then extract the time series features associated with local adjacent time steps.
  • a 2-layer convolutional layer is used. : The first convolutional layer and the second convolutional layer.
  • the embodiment of the present application can also superimpose the convolutional layer as required.
  • the step S101 includes steps S201 to S202:
  • S201 Perform convolution processing on the time series data sample by using the first convolution layer in the first convolutional neural network to obtain a first intermediate feature
  • Conv1D 1 represents the convolution operation of the first convolutional layer.
  • the first convolutional layer is a 1-dimensional convolutional layer
  • Conv1D 1 represents a 1-dimensional convolution Product operation
  • x1 represents the first intermediate feature obtained after convolution processing.
  • S202 Perform convolution processing on the first intermediate feature by using the second convolutional layer in the first convolutional neural network to obtain time-series features associated with local adjacent time steps.
  • x1 on the right is the first time feature before processing, that is, the first time feature of the input
  • Conv1D 2 represents the convolution operation of the second convolutional layer.
  • the second convolutional layer is 1.
  • One-dimensional convolution layer, then Conv1D 2 represents a one-dimensional convolution operation.
  • the x2 on the left represents the first intermediate feature obtained after convolution processing, that is, the timing feature associated with the local adjacent time step.
  • S102 Use the attention mechanism to correlate the global time steps of the time sequence features to obtain the time sequence features associated with the global time steps;
  • the above-mentioned first convolutional neural network can extract time-series features associated with local adjacent time steps, but cannot perform comprehensive associations on global time steps (steps). Therefore, the embodiment of the present application adds an attention mechanism to perform correlation calculation on the output data processed by the first convolutional neural network, so as to realize global timing correlation.
  • the step S102 includes steps S301 to S303:
  • the time-series features associated with local adjacent time steps are used as input data, and a query matrix, a key matrix, and a value matrix are respectively constructed.
  • the query matrix is the query
  • the key matrix is the key matrix.
  • the value matrix is the value matrix.
  • query matrix ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇
  • x2 is the time sequence feature associated with local adjacent time steps
  • Dense represents the fully connected layer Dense Layer
  • query represents the query matrix
  • key represents the key matrix
  • value represents the value matrix
  • the fully connected layer contains parameters w and b, and the calculation method is:
  • attention represents the attention weight
  • query represents the query matrix
  • key represents the key matrix
  • softmax represents the softmax activation function, that is, first performs a product operation on the query matrix and the key matrix, and then activates it to obtain the attention weight attention.
  • the softmax activation function can map the output data to the (0,1) interval, so that the output data can be understood as a probability.
  • an array V, V, V i represents the i-th element, then the value of this element is softmax
  • other activation functions may also be used in the embodiment of the present application to convert the output data into the (0,1) interval.
  • attention is the attention weight
  • value represents the value matrix
  • x2 is the time sequence feature associated with the local adjacent time step.
  • the embodiment of the present application realizes the global timing correlation.
  • S103 Use a variational self-encoding algorithm to encode and decode the time-series characteristics associated with the global time step to obtain reconstructed time-series characteristics
  • Variational self-encoding algorithm VAE as a kind of self-encoding algorithm, includes an encoder and a decoder. The encoder receives input, and the decoder reconstructs the input through sampling.
  • the step S103 includes steps S401 to S402:
  • S401 Input the time sequence characteristics associated with the global time step into an encoder for encoding, and generate a mean value and a standard deviation through a fully connected layer;
  • encoding is performed by the encoder, which performs dimensionality reduction through convolution pooling, and generates a mean value and a standard deviation through a fully connected layer for subsequent input to the decoder.
  • the decoder performs dimensionality enhancement through deconvolution and depooling, and performs standard normal distribution sampling on the input mean and standard deviation, thereby completing the reconstruction of the timing features.
  • x3 represents the time sequence characteristics associated with the global time step
  • x4 represents the time sequence characteristics of the reconstruction
  • VAE represents the variational auto-encoding algorithm
  • S104 Perform convolution processing on the reconstructed time series feature by using the second convolutional neural network to obtain time series restoration data
  • the reconstruction step is lossy to the input information, so this step cannot well restore the abnormal samples that will not be involved in the model training process. Therefore, the embodiment of the present application performs convolution processing after VAE reconstruction.
  • the step S104 includes steps S501 to S502:
  • S501 Perform convolution processing on the reconstructed time series feature by using the third convolution layer in the second convolutional neural network to obtain a second intermediate feature;
  • Conv1D 1 represents the convolution operation of the third convolutional layer.
  • the third convolutional layer is a 1-dimensional convolutional layer, then Conv1D 1 represents 1.
  • x5 represents the second intermediate feature obtained after convolution processing.
  • x5 on the right is the second time feature before processing, that is, the input second time feature
  • Conv1D 2 represents the convolution operation of the fourth convolutional layer.
  • the fourth convolutional layer is 1.
  • One-dimensional convolution layer, then Conv1D 2 represents a one-dimensional convolution operation.
  • the x6 on the left represents the second intermediate feature obtained after the convolution process, that is, the time series restored data.
  • model training and abnormality detection can be performed, thereby completing the construction of the time series abnormality detection model.
  • the method includes:
  • the loss function is used to iteratively optimize the timing anomaly detection model until the preset number of iterations is reached or the loss value is less than a preset loss threshold.
  • the loss function ELBO lower bound of evidence
  • the Adam adaptive moment estimation
  • S106 Use the time series abnormality detection model to detect the time series data to be tested, and obtain an abnormal value of the time series data to be tested.
  • the time series data to be tested can be detected based on the time series abnormality detection model, so as to determine the abnormal value of the time series data to be tested.
  • the model can be restored with a higher degree of similarity after reconstruction.
  • a certain error will occur with the original data after the model is reconstructed. This error can be measured by MSE (Mean Square Error). When the MSE value reaches a preset measurement threshold, it means that the reconstruction error exceeds the upper limit, and the corresponding sample is identified as an abnormal sample.
  • FIG. 6 is a schematic block diagram of a timing anomaly detection device provided by an embodiment of the application, which includes:
  • the first convolution unit 601 is configured to use the first convolutional neural network to perform convolution processing on time series data samples of the operation and maintenance system to obtain time series characteristics associated with local adjacent time steps;
  • the attention mechanism unit 602 is configured to use the attention mechanism to correlate the global time steps of the time sequence features to obtain the time sequence features associated with the global time steps;
  • the self-encoding unit 603 is configured to use a variational self-encoding algorithm to encode and decode the time-series features associated with the global time step to obtain reconstructed time-series features;
  • the second convolution unit 604 is configured to use a second convolutional neural network to perform convolution processing on the reconstructed time series feature to obtain time series restoration data;
  • the model construction unit 605 is configured to use the difference between the time series data sample and the time series restoration data to detect the abnormal value of the time series data sample, and complete the construction of the time series abnormality detection model;
  • the model detection unit 606 is configured to detect the time series data to be tested by using the time series anomaly detection model to obtain the abnormal value of the time series data to be tested.
  • the first convolution unit 601 includes:
  • the first convolutional layer processing unit 701 is configured to use the first convolutional layer in the first convolutional neural network to perform convolution processing on the time series data sample to obtain a first intermediate feature;
  • the second convolutional layer processing unit 702 is configured to use the second convolutional layer in the first convolutional neural network to perform convolution processing on the first intermediate feature to obtain time sequence features associated with local adjacent time steps.
  • the attention mechanism unit 602 includes:
  • the matrix construction unit 801 is configured to use the time-series features associated with locally adjacent time steps as input data, and respectively construct a query matrix, a key matrix, and a value matrix according to the input data;
  • the activation unit 802 is configured to multiply the query matrix by the key matrix, and activate the product result by using an activation function to obtain the attention weight;
  • the global correlation unit 803 is configured to multiply the attention weight by the value matrix, connect it with input data, and output the time sequence characteristics associated with the global time step.
  • the self-encoding unit 603 includes:
  • the encoding unit 901 is configured to input the time sequence characteristics associated with the global time step into the encoder for encoding, and generate a mean value and a standard deviation through a fully connected layer;
  • the decoding unit 902 is configured to input the mean value and the standard deviation to the decoder to perform standard normal distribution sampling to obtain reconstructed time series characteristics.
  • the second convolution unit 604 includes:
  • the third convolutional layer processing unit 1001 uses the third convolutional layer in the second convolutional neural network to perform convolution processing on the reconstructed time series feature to obtain a second intermediate feature;
  • the fourth convolutional layer processing unit 1002 uses the fourth convolutional layer in the second convolutional neural network to perform convolution processing on the second intermediate feature to obtain time series restored data.
  • the timing abnormality detection device 600 further includes:
  • a loss calculation unit configured to calculate a loss function based on the difference between the time series data sample and the time series restoration data
  • the optimization unit is configured to use the loss function to iteratively optimize the timing anomaly detection model until the preset number of iterations is reached or the loss value is less than a preset loss threshold.
  • the convolutional layers of the first convolutional neural network and the second convolutional neural network are both 1-dimensional convolutional layers.
  • the device provided by the embodiment of the application realizes the extraction of timing features through the combination of convolutional neural network and the attention mechanism, and then completes timing anomaly detection, and establishes the timing anomaly detection model based on unsupervised learning through the variational autoencoding algorithm, which improves The applicability and accuracy of the model are improved.
  • the foregoing timing abnormality detection device 600 may be implemented in the form of a computer program, and the computer program may be run on a computer device as shown in FIG. 11.
  • FIG. 11 is a schematic block diagram of a computer device according to an embodiment of the present application.
  • the computer device 1100 is a server, and the server may be an independent server or a server cluster composed of multiple servers.
  • the computer device 1100 includes a processor 1102, a memory, and a network interface 1105 connected through a system bus 1101, where the memory may include a non-volatile storage medium 1103 and an internal memory 1104.
  • the non-volatile storage medium 1103 can store an operating system 11031 and a computer program 11032.
  • the processor 1102 can execute the timing abnormality detection method.
  • the processor 1102 is used to provide computing and control capabilities, and support the operation of the entire computer device 1100.
  • the internal memory 1104 provides an environment for the operation of the computer program 11032 in the non-volatile storage medium 1103.
  • the processor 1102 can execute the timing abnormality detection method.
  • the network interface 1105 is used for network communication, such as providing data information transmission.
  • the structure shown in FIG. 11 is only a block diagram of part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device 1100 to which the solution of the present application is applied.
  • the specific computer device The 1100 may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
  • the processor 1102 is used to run a computer program 11032 stored in the memory to realize the following function: use the first convolutional neural network to perform convolution processing on the time series data samples of the operation and maintenance system to obtain local adjacent time step correlations Use the attention mechanism to associate the global time step of the time sequence feature to obtain the time sequence feature associated with the global time step; use the variational auto-encoding algorithm to encode and decode the time sequence feature associated with the global time step, Obtain reconstructed time series features; use a second convolutional neural network to perform convolution processing on the reconstructed time series features to obtain time series restored data; use the difference between the time series data sample and the time series restored data to detect the time series The abnormal value of the data sample completes the construction of the time series abnormality detection model; the time series abnormality detection model is used to detect the time series data to be tested, and the abnormal value of the time series data to be tested is obtained.
  • the embodiment of the computer device shown in FIG. 11 does not constitute a limitation on the specific configuration of the computer device.
  • the computer device may include more or less components than those shown in the figure. Or combine certain components, or different component arrangements.
  • the computer device may only include a memory and a processor. In such an embodiment, the structures and functions of the memory and the processor are consistent with the embodiment shown in FIG. 11, and will not be repeated here.
  • the processor 1102 may be a central processing unit (Central Processing Unit, CPU), and the processor 1102 may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSPs), Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor.
  • a computer-readable storage medium may be a non-volatile computer-readable storage medium, or may be a volatile computer-readable storage medium.
  • the computer-readable storage medium stores a computer program, where the computer program implements the following steps when executed by the processor: using the first convolutional neural network to perform convolution processing on the time-series data samples of the operation and maintenance system to obtain locally adjacent time-step correlations Time sequence features; use the attention mechanism to associate the global time steps of the time sequence features to obtain the time sequence features associated with the global time steps; use the variational auto-encoding algorithm to encode and decode the time sequence features associated with the global time steps to obtain Reconstructed time series features; use a second convolutional neural network to perform convolution processing on the reconstructed time series features to obtain time series restoration data; use the difference between the time series data sample and the time series restoration data to detect the time series data
  • the abnormal value of the sample completes the construction of the time series abnormality detection model; the time series abnormality detection model is

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biophysics (AREA)
  • Software Systems (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Computational Linguistics (AREA)
  • Biomedical Technology (AREA)
  • Artificial Intelligence (AREA)
  • Mathematical Physics (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Quality & Reliability (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Computer Hardware Design (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

A time series anomaly detection method and apparatus, and a computer device and a storage medium. The method comprises: using a first convolutional neural network to perform convolution processing on a time series data sample, so as to obtain a time series feature associated with a local neighboring time step (S101); using an attention mechanism to be associated with a global time step of the time series feature, so as to obtain a time series feature associated with the global time step (S102); using a variational auto-encoding algorithm to encode and decode the time series feature associated with the global time step, so as to obtain a reconstructed time series feature (S103); using a second convolutional neural network to perform convolution processing on the reconstructed time series feature, so as to obtain time series restoration data (S104); using the difference between the time series data sample and the time series restoration data to detect an outlier of the time series data sample, and completing the construction of a time series anomaly detection model (S105); and using the time series anomaly detection model to perform detection on time series data to be subjected to detection, so as to obtain an outlier of said time series data (S106). The applicability and accuracy of a model are thus improved.

Description

一种时序异常检测方法、装置、计算机设备及存储介质Time sequence abnormality detection method, device, computer equipment and storage medium
本申请要求于2020年11月19日提交中国专利局、申请号为202011306700.5,发明名称为“一种时序异常检测方法、装置、计算机设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed with the Chinese Patent Office on November 19, 2020, the application number is 202011306700.5, and the invention title is "a timing anomaly detection method, device, computer equipment and storage medium", and its entire content Incorporated in this application by reference.
技术领域Technical field
本申请涉及人工智能技术领域,具体涉及深度学习领域,特别涉及一种时序异常检测方法、装置、计算机设备及存储介质。This application relates to the field of artificial intelligence technology, in particular to the field of deep learning, and in particular to a timing anomaly detection method, device, computer equipment, and storage medium.
背景技术Background technique
运维系统的异常检测程序,主要负责监控运维系统中关于应用、硬件等多个对象的指标(例如某一主机对象的CPU使用率指标),当指标发生异常时则实时告警,从而提示工作人员进行排查。异常检测算法种类较多,包括统计算法、机器学习算法、深度学习算法。其中,深度学习算法精度更高,是当前主要的研究和应用方向。The anomaly detection program of the operation and maintenance system is mainly responsible for monitoring the indicators of multiple objects such as applications and hardware in the operation and maintenance system (for example, the CPU usage indicator of a certain host object). When the indicator is abnormal, it will alert in real time to prompt work Personnel conduct investigation. There are many types of anomaly detection algorithms, including statistical algorithms, machine learning algorithms, and deep learning algorithms. Among them, deep learning algorithms are more accurate and are currently the main research and application direction.
但发明人发现,现有技术中,异常检测过程中,普遍无法提供大量标注数据,造成监督学习算法的适用性降低、准确率不高。However, the inventor found that in the prior art, in the process of anomaly detection, it is generally impossible to provide a large amount of labeled data, which causes the applicability and accuracy of the supervised learning algorithm to decrease.
申请内容Application content
本申请的目的是提供一种时序异常检测方法、装置、计算机设备及存储介质,旨在解决现有技术中时序异常检测方法适用性降低、准确率不高的问题。The purpose of this application is to provide a timing anomaly detection method, device, computer equipment and storage medium, aiming to solve the problems of reduced applicability and low accuracy of the timing anomaly detection method in the prior art.
第一方面,本申请实施例提供一种时序异常检测方法,其中,包括:In the first aspect, an embodiment of the present application provides a timing anomaly detection method, which includes:
利用第一卷积神经网络对运维系统的时序数据样本进行卷积处理,得到局部邻近时间步关联的时序特征;Use the first convolutional neural network to perform convolution processing on the time series data samples of the operation and maintenance system to obtain the time series characteristics associated with local adjacent time steps;
利用注意力机制对所述时序特征的全局时间步进行关联,得到全局时间步关联的时序特征;Use the attention mechanism to correlate the global time steps of the time sequence features to obtain the time sequence features associated with the global time steps;
利用变分自编码算法对所述全局时间步关联的时序特征进行编码和解码,得到重构的时序特征;Encoding and decoding the time-series features associated with the global time step by using a variational self-encoding algorithm to obtain reconstructed time-series features;
利用第二卷积神经网络对所述重构的时序特征进行卷积处理,得到时序还原数据;Using a second convolutional neural network to perform convolution processing on the reconstructed time series feature to obtain time series restoration data;
利用所述时序数据样本与所述时序还原数据的差异检测所述时序数据样本的异常值,完成时序异常检测模型的构建;Use the difference between the time series data sample and the time series restoration data to detect the abnormal value of the time series data sample, and complete the construction of the time series abnormality detection model;
利用所述时序异常检测模型对待测时序数据进行检测,得到所述待测时序数据的异常值。The time series abnormality detection model is used to detect the time series data to be tested, and the abnormal value of the time series data to be tested is obtained.
第二方面,本申请实施例提供一种时序异常检测装置,其中,包括:In a second aspect, an embodiment of the present application provides a timing anomaly detection device, which includes:
第一卷积单元,用于利用第一卷积神经网络对运维系统的时序数据样本进行卷积处理,得到局部邻近时间步关联的时序特征;The first convolution unit is configured to use the first convolutional neural network to perform convolution processing on the time series data samples of the operation and maintenance system to obtain the time series characteristics associated with local adjacent time steps;
注意力机制单元,用于利用注意力机制对所述时序特征的全局时间步进行关联,得到全局时间步关联的时序特征;An attention mechanism unit, configured to use the attention mechanism to correlate the global time steps of the time sequence features to obtain the time sequence features associated with the global time steps;
自编码单元,用于利用变分自编码算法对所述全局时间步关联的时序特征进行编码和解 码,得到重构的时序特征;The self-encoding unit is configured to use a variational self-encoding algorithm to encode and decode the time-series features associated with the global time step to obtain reconstructed time-series features;
第二卷积单元,用于利用第二卷积神经网络对所述重构的时序特征进行卷积处理,得到时序还原数据;The second convolution unit is configured to use a second convolutional neural network to perform convolution processing on the reconstructed time series feature to obtain time series restoration data;
模型构建单元,用于利用所述时序数据样本与所述时序还原数据的差异检测所述时序数据样本的异常值,完成时序异常检测模型的构建;A model construction unit, configured to use the difference between the time series data sample and the time series restoration data to detect the abnormal value of the time series data sample, and complete the construction of the time series abnormality detection model;
模型检测单元,用于利用所述时序异常检测模型对待测时序数据进行检测,得到所述待测时序数据的异常值。The model detection unit is configured to detect the time series data to be tested by using the time series abnormality detection model to obtain the abnormal value of the time series data to be tested.
第三方面,本申请实施例提供一种计算机设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现如第一方面所述的时序异常检测方法。In a third aspect, embodiments of the present application provide a computer device, including a memory, a processor, and a computer program stored on the memory and running on the processor, wherein the processor executes the computer program When realizing the timing abnormality detection method as described in the first aspect.
第四方面,本申请实施例提供一种计算机可读存储介质,其中,所述计算机可读存储介质存储有计算机程序,所述计算机程序当被处理器执行时使所述处理器执行如第一方面所述的时序异常检测方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program that, when executed by a processor, causes the processor to execute The timing anomaly detection method described in the aspect.
本申请实施例通过卷积神经网络结合注意力机制,实现时序特征的提取,进而完成时序异常检测,并且通过变分自编码算法,基于无监督学习方式建立时序异常检测模型,提高了模型适用性和准确率。In the embodiment of the application, the convolutional neural network is combined with the attention mechanism to realize the extraction of time series features, and then complete the time series abnormality detection, and through the variational auto-encoding algorithm, the time series abnormality detection model is established based on the unsupervised learning method, which improves the applicability of the model And accuracy.
附图说明Description of the drawings
为了更清楚地说明本申请实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present application more clearly, the following will briefly introduce the drawings used in the description of the embodiments. Obviously, the drawings in the following description are some embodiments of the present application. Ordinary technicians can obtain other drawings based on these drawings without creative work.
图1为本申请实施例提供的时序异常检测方法的流程示意图;FIG. 1 is a schematic flowchart of a timing anomaly detection method provided by an embodiment of the application;
图2为本申请实施例提供的时序异常检测方法的子流程示意图;FIG. 2 is a schematic diagram of a sub-flow of the timing anomaly detection method provided by an embodiment of the application;
图3为本申请实施例提供的时序异常检测方法的又一子流程示意图;FIG. 3 is a schematic diagram of another sub-flow of the timing anomaly detection method provided by an embodiment of the application;
图4为本申请实施例提供的时序异常检测方法的又一子流程示意图;FIG. 4 is a schematic diagram of another sub-flow of the timing anomaly detection method provided by an embodiment of the application;
图5为本申请实施例提供的时序异常检测方法的又一子流程示意图;FIG. 5 is a schematic diagram of another sub-flow of the timing anomaly detection method provided by an embodiment of the application;
图6为本申请实施例提供的时序异常检测装置的示意性框图;FIG. 6 is a schematic block diagram of a timing anomaly detection device provided by an embodiment of the application;
图7为本申请实施例提供的时序异常检测装置的子单元示意性框图;FIG. 7 is a schematic block diagram of subunits of a timing anomaly detection device provided by an embodiment of the application; FIG.
图8为本申请实施例提供的时序异常检测装置的又一子单元示意性框图;FIG. 8 is a schematic block diagram of another subunit of the timing anomaly detection device provided by an embodiment of the application; FIG.
图9为本申请实施例提供的时序异常检测装置的又一子单元示意性框图;FIG. 9 is a schematic block diagram of another subunit of the timing anomaly detection device provided by an embodiment of the application; FIG.
图10为本申请实施例提供的时序异常检测装置的又一子单元示意性框图;FIG. 10 is a schematic block diagram of another subunit of the timing anomaly detection device provided by an embodiment of the application; FIG.
图11为本申请实施例提供的计算机设备的示意性框图。FIG. 11 is a schematic block diagram of a computer device provided by an embodiment of the application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of them. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
应当理解,当在本说明书和所附权利要求书中使用时,术语“包括”和“包含”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It should be understood that when used in this specification and appended claims, the terms "including" and "including" indicate the existence of the described features, wholes, steps, operations, elements and/or components, but do not exclude one or The existence or addition of multiple other features, wholes, steps, operations, elements, components, and/or collections thereof.
还应当理解,在此本申请说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本申请。如在本申请说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。It should also be understood that the terms used in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in the specification of this application and the appended claims, unless the context clearly indicates other circumstances, the singular forms "a", "an" and "the" are intended to include plural forms.
还应当进一步理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should be further understood that the term "and/or" used in the specification and appended claims of this application refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations .
请参阅图1,图1为本申请实施例提供的一种时序异常检测方法的流程示意图,如图所示,其包括步骤S101~S106:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a timing anomaly detection method provided by an embodiment of the application. As shown in the figure, it includes steps S101 to S106:
S101、利用第一卷积神经网络对运维系统的时序数据样本进行卷积处理,得到局部邻近时间步关联的时序特征;S101: Use the first convolutional neural network to perform convolution processing on time series data samples of the operation and maintenance system to obtain time series characteristics associated with local adjacent time steps;
本申请实施例中,第一卷积神经网络的作用是对时序数据样本进行卷积处理,进而提取局部邻近时间步(step)关联的时序特征,本申请实施例中采用了2层卷积层:第一卷积层和第二卷积层,当然本申请实施例也可按照需求进行叠加卷积层。In the embodiment of this application, the function of the first convolutional neural network is to perform convolution processing on time series data samples, and then extract the time series features associated with local adjacent time steps. In the embodiment of this application, a 2-layer convolutional layer is used. : The first convolutional layer and the second convolutional layer. Of course, the embodiment of the present application can also superimpose the convolutional layer as required.
在一实施例中,如图2所示,所述步骤S101包括步骤S201~S202:In an embodiment, as shown in FIG. 2, the step S101 includes steps S201 to S202:
S201、利用所述第一卷积神经网络中的第一卷积层对所述时序数据样本进行卷积处理,得到第一中间特征;S201: Perform convolution processing on the time series data sample by using the first convolution layer in the first convolutional neural network to obtain a first intermediate feature;
此步骤中,按如下公式进行卷积处理:x1=Conv1D 1(x0) In this step, perform convolution processing according to the following formula: x1 = Conv1D 1 (x0)
其中,x0为输入的时序数据样本,Conv1D 1表示第一卷积层的卷积运算,本申请实施例中,所述第一卷积层为1维卷积层,那么Conv1D 1表示1维卷积运算。x1代表卷积处理后得到的第一中间特征。 Where x0 is the input time series data sample, Conv1D 1 represents the convolution operation of the first convolutional layer. In the embodiment of the present application, the first convolutional layer is a 1-dimensional convolutional layer, then Conv1D 1 represents a 1-dimensional convolution Product operation. x1 represents the first intermediate feature obtained after convolution processing.
S202、利用所述第一卷积神经网络中的第二卷积层对所述第一中间特征进行卷积处理,得到局部邻近时间步关联的时序特征。S202. Perform convolution processing on the first intermediate feature by using the second convolutional layer in the first convolutional neural network to obtain time-series features associated with local adjacent time steps.
此步骤中,按如下公式进行卷积处理:x2=Conv1D 2(x1) In this step, perform convolution processing according to the following formula: x2 = Conv1D 2 (x1)
其中,右边的x1为处理前的第一时间特征,即输入的第一时间特征,Conv1D 2表示第二卷积层的卷积运算,本申请实施例中,所述第二卷积层为1维卷积层,那么Conv1D 2表示1维卷积运算。左边的x2代表卷积处理后得到的第一中间特征,即局部邻近时间步关联的时序特征。 Wherein, x1 on the right is the first time feature before processing, that is, the first time feature of the input, and Conv1D 2 represents the convolution operation of the second convolutional layer. In the embodiment of the present application, the second convolutional layer is 1. One-dimensional convolution layer, then Conv1D 2 represents a one-dimensional convolution operation. The x2 on the left represents the first intermediate feature obtained after convolution processing, that is, the timing feature associated with the local adjacent time step.
S102、利用注意力机制对所述时序特征的全局时间步进行关联,得到全局时间步关联的时序特征;S102: Use the attention mechanism to correlate the global time steps of the time sequence features to obtain the time sequence features associated with the global time steps;
上述第一卷积神经网络能够提取局部邻近时间步关联的时序特征,但无法对全局时间步(step)进行综合关联。故本申请实施例加入了注意力机制,对经过所述第一卷积神经网络处理的输出数据进行关联计算,以实现全局时序关联。The above-mentioned first convolutional neural network can extract time-series features associated with local adjacent time steps, but cannot perform comprehensive associations on global time steps (steps). Therefore, the embodiment of the present application adds an attention mechanism to perform correlation calculation on the output data processed by the first convolutional neural network, so as to realize global timing correlation.
在一实施例中,如图3所示,所述步骤S102包括步骤S301~S303:In an embodiment, as shown in FIG. 3, the step S102 includes steps S301 to S303:
S301、将所述局部邻近时间步关联的时序特征作为输入数据,根据所述输入数据分别构 建查询矩阵、键矩阵和值矩阵;S301. Use the time sequence characteristics associated with the local adjacent time steps as input data, and construct a query matrix, a key matrix, and a value matrix according to the input data.
在所述步骤S301中,首先将局部邻近时间步关联的时序特征作为输入数据,并分别构建查询矩阵、键矩阵和值矩阵,所述查询矩阵矩阵即query,所述键矩阵即key矩阵,所述值矩阵即value矩阵。In the step S301, firstly, the time-series features associated with local adjacent time steps are used as input data, and a query matrix, a key matrix, and a value matrix are respectively constructed. The query matrix is the query, and the key matrix is the key matrix. The value matrix is the value matrix.
具体分别按如下公式计算得到query矩阵、key矩阵和value矩阵:Specifically, the query matrix, key matrix and value matrix are calculated according to the following formulas:
query=Dense q(x2) query=Dense q (x2)
key=Dense k(x2) key=Dense k (x2)
value=Dense v(x2) value=Dense v (x2)
其中,x2为局部邻近时间步关联的时序特征,Dense表示全连接层Dense Layer,query表示query矩阵、key表示key矩阵、value表示value矩阵,其中的q、k、v分别表示矩阵转换。Among them, x2 is the time sequence feature associated with local adjacent time steps, Dense represents the fully connected layer Dense Layer, query represents the query matrix, key represents the key matrix, and value represents the value matrix, where q, k, and v respectively represent matrix conversion.
其中,query、key、value三者计算方法相同,通过全连接层即可输出矩阵作为结果。全连接层内含参数w与b,计算方法为:Among them, the calculation methods of query, key, and value are the same, and the matrix can be output as the result through the fully connected layer. The fully connected layer contains parameters w and b, and the calculation method is:
y=w×x+by=w×x+b
对于query矩阵、key矩阵和value矩阵,三者的参数w与b有所不同,所以对于同样的x=x2,得到不同的y,即query、key和value。For the query matrix, key matrix and value matrix, the parameters w and b of the three are different, so for the same x=x2, different ys are obtained, namely query, key and value.
S302、将所述查询矩阵乘以所述键矩阵,并利用激活函数对乘积结果进行激活,得到注意力权重;S302. Multiply the query matrix by the key matrix, and use an activation function to activate the product result to obtain attention weights;
此步骤按如下公式计算注意力权重:attention=softmax(query*key)In this step, the attention weight is calculated according to the following formula: attention=softmax(query*key)
其中,attention表示注意力权重,query表示query矩阵,key表示key矩阵,softmax表示softmax激活函数,即先对query矩阵与所述key矩阵进行乘积运算,然后对其激活,得到注意力权重attention。Among them, attention represents the attention weight, query represents the query matrix, key represents the key matrix, and softmax represents the softmax activation function, that is, first performs a product operation on the query matrix and the key matrix, and then activates it to obtain the attention weight attention.
softmax激活函数的计算方法如下:The calculation method of the softmax activation function is as follows:
Figure PCTCN2021083751-appb-000001
Figure PCTCN2021083751-appb-000001
所述softmax激活函数可以将输出数据映射到(0,1)区间内,从而将输出数据作为概率理解。例如对于一个数组V,V i表示V中的第i个元素,那么这个元素的softmax值就是
Figure PCTCN2021083751-appb-000002
除上述softmax激活函数之外,本申请实施例还可以采用其他激活函数将输出数据转换至(0,1)区间内。
The softmax activation function can map the output data to the (0,1) interval, so that the output data can be understood as a probability. For example, an array V, V, V i represents the i-th element, then the value of this element is softmax
Figure PCTCN2021083751-appb-000002
In addition to the above softmax activation function, other activation functions may also be used in the embodiment of the present application to convert the output data into the (0,1) interval.
S303、将所述注意力权重与所述值矩阵相乘,并与输入数据进行连接,输出得到全局时间步关联的时序特征。S303. Multiply the attention weight by the value matrix, and connect it with the input data, and output the time sequence characteristics associated with the global time step.
此步骤按如下公式计算全局时间步关联的时序特征:x3=attention*value+x2In this step, the timing characteristics associated with the global time step are calculated according to the following formula: x3=attention*value+x2
其中,attention为注意力权重,value表示value矩阵,x2为局部邻近时间步关联的时序特征。Among them, attention is the attention weight, value represents the value matrix, and x2 is the time sequence feature associated with the local adjacent time step.
也就是先将注意力权重attention与value矩阵进行乘积运算,然后将乘积结果加上局部邻近时间步关联的时序特征,从而得到全局时间步关联的时序特征。由于计算过程中的注意 力权重attention能够表征整个时间序列中每一时间步间的相互时序关联,所以本申请实施例实现了全局时序关联。That is, first perform the product operation of the attention weight attention and the value matrix, and then add the result of the product to the time series characteristics associated with the local adjacent time steps, so as to obtain the time series characteristics associated with the global time step. Since the attention weight in the calculation process can represent the mutual timing correlation between each time step in the entire time sequence, the embodiment of the present application realizes the global timing correlation.
S103、利用变分自编码算法对所述全局时间步关联的时序特征进行编码和解码,得到重构的时序特征;S103: Use a variational self-encoding algorithm to encode and decode the time-series characteristics associated with the global time step to obtain reconstructed time-series characteristics;
经过步骤S102的全局时序关联计算后,便可进行步骤S103的变分自编码运算。变分自编码算法VAE作为自编码算法的一种,包括编码器与解码器,编码器接收输入,解码器通过采样,对输入进行重构。After the global timing correlation calculation in step S102, the variational self-encoding operation in step S103 can be performed. Variational self-encoding algorithm VAE, as a kind of self-encoding algorithm, includes an encoder and a decoder. The encoder receives input, and the decoder reconstructs the input through sampling.
在一实施例中,如图4所示,所述步骤S103包括步骤S401~S402:In an embodiment, as shown in FIG. 4, the step S103 includes steps S401 to S402:
S401、将所述全局时间步关联的时序特征输入至编码器中进行编码,并通过全连接层生成均值与标准差;S401: Input the time sequence characteristics associated with the global time step into an encoder for encoding, and generate a mean value and a standard deviation through a fully connected layer;
此步骤中,通过所述编码器进行编码,所述编码器是通过卷积池化进行降维,并通过全连接层生成均值与标准差,以便后续输入至解码器。In this step, encoding is performed by the encoder, which performs dimensionality reduction through convolution pooling, and generates a mean value and a standard deviation through a fully connected layer for subsequent input to the decoder.
S402、将所述均值与标准差输入至解码器进行标准正态分布采样,得到重构的时序特征。S402. Input the mean value and the standard deviation to a decoder to perform standard normal distribution sampling to obtain reconstructed time series characteristics.
此步骤中,解码器通过反卷积反池化进行升维,并对输入的均值与标准差进行标准正态分布采样,从而完成对时序特征的重构。In this step, the decoder performs dimensionality enhancement through deconvolution and depooling, and performs standard normal distribution sampling on the input mean and standard deviation, thereby completing the reconstruction of the timing features.
本实施例整体上可以以如下公式进行表示:x4=VAE(x3)This embodiment as a whole can be expressed by the following formula: x4=VAE(x3)
其中,x3表示全局时间步关联的时序特征,x4表示重构的时序特征,VAE即代表变分自编码算法。Among them, x3 represents the time sequence characteristics associated with the global time step, x4 represents the time sequence characteristics of the reconstruction, and VAE represents the variational auto-encoding algorithm.
S104、利用第二卷积神经网络对所述重构的时序特征进行卷积处理,得到时序还原数据;S104: Perform convolution processing on the reconstructed time series feature by using the second convolutional neural network to obtain time series restoration data;
在上述步骤103中,重构这一步骤,对输入信息而言是有损的,因此这一步骤无法很好还原模型训练过程中不会涉及的异常样本。所以,本申请实施例在经过VAE重构后再进行卷积处理。In the above step 103, the reconstruction step is lossy to the input information, so this step cannot well restore the abnormal samples that will not be involved in the model training process. Therefore, the embodiment of the present application performs convolution processing after VAE reconstruction.
在一实施例中,如图5所示,所述步骤S104包括步骤S501~S502:In an embodiment, as shown in FIG. 5, the step S104 includes steps S501 to S502:
S501、利用所述第二卷积神经网络中的第三卷积层对所述重构的时序特征进行卷积处理,得到第二中间特征;S501: Perform convolution processing on the reconstructed time series feature by using the third convolution layer in the second convolutional neural network to obtain a second intermediate feature;
此步骤中,按如下公式进行卷积处理:x5=Conv1D 1(x4) In this step, perform convolution processing according to the following formula: x5 = Conv1D 1 (x4)
其中,x4为输入的重构的时序特征,Conv1D 1表示第三卷积层的卷积运算,本申请实施例中,所述第三卷积层为1维卷积层,那么Conv1D 1表示1维卷积运算。x5代表卷积处理后得到的第二中间特征。 Where x4 is the time sequence feature of the input reconstruction, and Conv1D 1 represents the convolution operation of the third convolutional layer. In the embodiment of the present application, the third convolutional layer is a 1-dimensional convolutional layer, then Conv1D 1 represents 1. Dimensional convolution operation. x5 represents the second intermediate feature obtained after convolution processing.
S502、利用所述第二卷积神经网络中的第四卷积层对所述第二中间特征进行卷积处理,得到时序还原数据。S502. Perform convolution processing on the second intermediate feature by using the fourth convolution layer in the second convolutional neural network to obtain time-series restoration data.
此步骤中,按如下公式进行卷积处理:x6=Conv1D 2(x5) In this step, perform convolution processing according to the following formula: x6 = Conv1D 2 (x5)
其中,右边的x5为处理前的第二时间特征,即输入的第二时间特征,Conv1D 2表示第四卷积层的卷积运算,本申请实施例中,所述第四卷积层为1维卷积层,那么Conv1D 2表示1维卷积运算。左边的x6代表卷积处理后得到的第二中间特征,即时序还原数据。 Wherein, x5 on the right is the second time feature before processing, that is, the input second time feature, and Conv1D 2 represents the convolution operation of the fourth convolutional layer. In the embodiment of the present application, the fourth convolutional layer is 1. One-dimensional convolution layer, then Conv1D 2 represents a one-dimensional convolution operation. The x6 on the left represents the second intermediate feature obtained after the convolution process, that is, the time series restored data.
S105、利用所述时序数据样本与所述时序还原数据的差异检测所述时序数据样本的异常 值,完成时序异常检测模型的构建;S105. Use the difference between the time series data sample and the time series restoration data to detect the abnormal value of the time series data sample, and complete the construction of the time series abnormality detection model;
本步骤中,基于所述时序数据样本与所述时序还原数据的差异,可以进行模型训练和异常检测,从而完成时序异常检测模型的构建。In this step, based on the difference between the time series data sample and the time series restoration data, model training and abnormality detection can be performed, thereby completing the construction of the time series abnormality detection model.
在一实施例中,所述步骤S105之后,包括:In an embodiment, after the step S105, the method includes:
基于所述时序数据样本与所述时序还原数据的差异计算损失函数;Calculating a loss function based on the difference between the time series data sample and the time series restoration data;
利用所述损失函数对所述时序异常检测模型进行迭代优化,直至达到预设的迭代次数或者损失值小于预设损失阈值。The loss function is used to iteratively optimize the timing anomaly detection model until the preset number of iterations is reached or the loss value is less than a preset loss threshold.
在本实施例中,基于所述时序数据样本与所述时序还原数据的差异,计算损失函数ELBO(证据下界),并基于损失函数ELBO,采用Adam(自适应矩估计)优化算法对所述时序异常检测模型进行迭代训练,完成模型的训练。训练的终止可以是迭代次数达到预设的迭代次数,也可以是损失值小于预设损失阈值。In this embodiment, based on the difference between the time series data sample and the time series restoration data, the loss function ELBO (lower bound of evidence) is calculated, and based on the loss function ELBO, the Adam (adaptive moment estimation) optimization algorithm is used to optimize the time series. The anomaly detection model is iteratively trained to complete the training of the model. The termination of training can be that the number of iterations reaches the preset number of iterations, or the loss value is less than the preset loss threshold.
S106、利用所述时序异常检测模型对待测时序数据进行检测,得到所述待测时序数据的异常值。S106: Use the time series abnormality detection model to detect the time series data to be tested, and obtain an abnormal value of the time series data to be tested.
本申请实施例中,基于所述时序异常检测模型可以对待测时序数据进行检测,从而确定待测时序数据的异常值。对于正常样本,模型重构后能够实现较高相似度地还原。而对于异常样本,模型重构后便会与原始数据产生一定误差。这一误差可通过MSE(均方误差)度量,当MSE值达到预设度量阈值,即表示重构误差超过上限,从而将对应的样本识别为异常样本。In the embodiment of the present application, the time series data to be tested can be detected based on the time series abnormality detection model, so as to determine the abnormal value of the time series data to be tested. For normal samples, the model can be restored with a higher degree of similarity after reconstruction. For abnormal samples, a certain error will occur with the original data after the model is reconstructed. This error can be measured by MSE (Mean Square Error). When the MSE value reaches a preset measurement threshold, it means that the reconstruction error exceeds the upper limit, and the corresponding sample is identified as an abnormal sample.
请参阅图6,图6为本申请实施例提供的一种时序异常检测装置的示意性框图,其包括:Please refer to FIG. 6. FIG. 6 is a schematic block diagram of a timing anomaly detection device provided by an embodiment of the application, which includes:
第一卷积单元601,用于利用第一卷积神经网络对运维系统的时序数据样本进行卷积处理,得到局部邻近时间步关联的时序特征;The first convolution unit 601 is configured to use the first convolutional neural network to perform convolution processing on time series data samples of the operation and maintenance system to obtain time series characteristics associated with local adjacent time steps;
注意力机制单元602,用于利用注意力机制对所述时序特征的全局时间步进行关联,得到全局时间步关联的时序特征;The attention mechanism unit 602 is configured to use the attention mechanism to correlate the global time steps of the time sequence features to obtain the time sequence features associated with the global time steps;
自编码单元603,用于利用变分自编码算法对所述全局时间步关联的时序特征进行编码和解码,得到重构的时序特征;The self-encoding unit 603 is configured to use a variational self-encoding algorithm to encode and decode the time-series features associated with the global time step to obtain reconstructed time-series features;
第二卷积单元604,用于利用第二卷积神经网络对所述重构的时序特征进行卷积处理,得到时序还原数据;The second convolution unit 604 is configured to use a second convolutional neural network to perform convolution processing on the reconstructed time series feature to obtain time series restoration data;
模型构建单元605,用于利用所述时序数据样本与所述时序还原数据的差异检测所述时序数据样本的异常值,完成时序异常检测模型的构建;The model construction unit 605 is configured to use the difference between the time series data sample and the time series restoration data to detect the abnormal value of the time series data sample, and complete the construction of the time series abnormality detection model;
模型检测单元606,用于利用所述时序异常检测模型对待测时序数据进行检测,得到所述待测时序数据的异常值。The model detection unit 606 is configured to detect the time series data to be tested by using the time series anomaly detection model to obtain the abnormal value of the time series data to be tested.
在一实施例中,如图7所示,所述第一卷积单元601包括:In an embodiment, as shown in FIG. 7, the first convolution unit 601 includes:
第一卷积层处理单元701,用于利用所述第一卷积神经网络中的第一卷积层对所述时序数据样本进行卷积处理,得到第一中间特征;The first convolutional layer processing unit 701 is configured to use the first convolutional layer in the first convolutional neural network to perform convolution processing on the time series data sample to obtain a first intermediate feature;
第二卷积层处理单元702,用于利用所述第一卷积神经网络中的第二卷积层对所述第一中间特征进行卷积处理,得到局部邻近时间步关联的时序特征。The second convolutional layer processing unit 702 is configured to use the second convolutional layer in the first convolutional neural network to perform convolution processing on the first intermediate feature to obtain time sequence features associated with local adjacent time steps.
在一实施例中,如图8所示,所述注意力机制单元602包括:In an embodiment, as shown in FIG. 8, the attention mechanism unit 602 includes:
矩阵构建单元801,用于将局部邻近时间步关联的时序特征作为输入数据,根据所述输入数据分别构建查询矩阵、键矩阵和值矩阵;The matrix construction unit 801 is configured to use the time-series features associated with locally adjacent time steps as input data, and respectively construct a query matrix, a key matrix, and a value matrix according to the input data;
激活单元802,用于将所述查询矩阵乘以所述键矩阵,并利用激活函数对乘积结果进行激活,得到注意力权重;The activation unit 802 is configured to multiply the query matrix by the key matrix, and activate the product result by using an activation function to obtain the attention weight;
全局关联单元803,用于将所述注意力权重与所述值矩阵相乘,并与输入数据进行连接,输出得到全局时间步关联的时序特征。The global correlation unit 803 is configured to multiply the attention weight by the value matrix, connect it with input data, and output the time sequence characteristics associated with the global time step.
在一实施例中,如图9所示,所述自编码单元603包括:In an embodiment, as shown in FIG. 9, the self-encoding unit 603 includes:
编码单元901,用于将所述全局时间步关联的时序特征输入至编码器中进行编码,并通过全连接层生成均值与标准差;The encoding unit 901 is configured to input the time sequence characteristics associated with the global time step into the encoder for encoding, and generate a mean value and a standard deviation through a fully connected layer;
解码单元902,用于将所述均值与标准差输入至解码器进行标准正态分布采样,得到重构的时序特征。The decoding unit 902 is configured to input the mean value and the standard deviation to the decoder to perform standard normal distribution sampling to obtain reconstructed time series characteristics.
在一实施例中,如图10所示,所述第二卷积单元604包括:In an embodiment, as shown in FIG. 10, the second convolution unit 604 includes:
第三卷积层处理单元1001,利用所述第二卷积神经网络中的第三卷积层对所述重构的时序特征进行卷积处理,得到第二中间特征;The third convolutional layer processing unit 1001 uses the third convolutional layer in the second convolutional neural network to perform convolution processing on the reconstructed time series feature to obtain a second intermediate feature;
第四卷积层处理单元1002,利用所述第二卷积神经网络中的第四卷积层对所述第二中间特征进行卷积处理,得到时序还原数据。The fourth convolutional layer processing unit 1002 uses the fourth convolutional layer in the second convolutional neural network to perform convolution processing on the second intermediate feature to obtain time series restored data.
在一实施例中,所述时序异常检测装置600还包括:In an embodiment, the timing abnormality detection device 600 further includes:
损失计算单元,用于基于所述时序数据样本与所述时序还原数据的差异计算损失函数;A loss calculation unit, configured to calculate a loss function based on the difference between the time series data sample and the time series restoration data;
优化单元,用于利用所述损失函数对所述时序异常检测模型进行迭代优化,直至达到预设的迭代次数或者损失值小于预设损失阈值。The optimization unit is configured to use the loss function to iteratively optimize the timing anomaly detection model until the preset number of iterations is reached or the loss value is less than a preset loss threshold.
在一实施例中,所述第一卷积神经网络和第二卷积神经网络的卷积层均为1维卷积层。In an embodiment, the convolutional layers of the first convolutional neural network and the second convolutional neural network are both 1-dimensional convolutional layers.
本申请实施例提供的装置,通过卷积神经网络结合注意力机制,实现时序特征的提取,进而完成时序异常检测,并且通过变分自编码算法,基于无监督学习方式建立时序异常检测模型,提高了模型适用性和准确率。The device provided by the embodiment of the application realizes the extraction of timing features through the combination of convolutional neural network and the attention mechanism, and then completes timing anomaly detection, and establishes the timing anomaly detection model based on unsupervised learning through the variational autoencoding algorithm, which improves The applicability and accuracy of the model are improved.
上述时序异常检测装置600可以实现为计算机程序的形式,该计算机程序可以在如图11所示的计算机设备上运行。The foregoing timing abnormality detection device 600 may be implemented in the form of a computer program, and the computer program may be run on a computer device as shown in FIG. 11.
请参阅图11,图11是本申请实施例提供的计算机设备的示意性框图。该计算机设备1100是服务器,服务器可以是独立的服务器,也可以是多个服务器组成的服务器集群。Please refer to FIG. 11, which is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device 1100 is a server, and the server may be an independent server or a server cluster composed of multiple servers.
参阅图11,该计算机设备1100包括通过系统总线1101连接的处理器1102、存储器和网络接口1105,其中,存储器可以包括非易失性存储介质1103和内存储器1104。Referring to FIG. 11, the computer device 1100 includes a processor 1102, a memory, and a network interface 1105 connected through a system bus 1101, where the memory may include a non-volatile storage medium 1103 and an internal memory 1104.
该非易失性存储介质1103可存储操作系统11031和计算机程序11032。该计算机程序11032被执行时,可使得处理器1102执行时序异常检测方法。The non-volatile storage medium 1103 can store an operating system 11031 and a computer program 11032. When the computer program 11032 is executed, the processor 1102 can execute the timing abnormality detection method.
该处理器1102用于提供计算和控制能力,支撑整个计算机设备1100的运行。The processor 1102 is used to provide computing and control capabilities, and support the operation of the entire computer device 1100.
该内存储器1104为非易失性存储介质1103中的计算机程序11032的运行提供环境,该计算机程序11032被处理器1102执行时,可使得处理器1102执行时序异常检测方法。The internal memory 1104 provides an environment for the operation of the computer program 11032 in the non-volatile storage medium 1103. When the computer program 11032 is executed by the processor 1102, the processor 1102 can execute the timing abnormality detection method.
该网络接口1105用于进行网络通信,如提供数据信息的传输等。本领域技术人员可以 理解,图11中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备1100的限定,具体的计算机设备1100可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。The network interface 1105 is used for network communication, such as providing data information transmission. Those skilled in the art can understand that the structure shown in FIG. 11 is only a block diagram of part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device 1100 to which the solution of the present application is applied. The specific computer device The 1100 may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
其中,所述处理器1102用于运行存储在存储器中的计算机程序11032,以实现如下功能:利用第一卷积神经网络对运维系统的时序数据样本进行卷积处理,得到局部邻近时间步关联的时序特征;利用注意力机制对所述时序特征的全局时间步进行关联,得到全局时间步关联的时序特征;利用变分自编码算法对所述全局时间步关联的时序特征进行编码和解码,得到重构的时序特征;利用第二卷积神经网络对所述重构的时序特征进行卷积处理,得到时序还原数据;利用所述时序数据样本与所述时序还原数据的差异检测所述时序数据样本的异常值,完成时序异常检测模型的构建;利用所述时序异常检测模型对待测时序数据进行检测,得到所述待测时序数据的异常值。Wherein, the processor 1102 is used to run a computer program 11032 stored in the memory to realize the following function: use the first convolutional neural network to perform convolution processing on the time series data samples of the operation and maintenance system to obtain local adjacent time step correlations Use the attention mechanism to associate the global time step of the time sequence feature to obtain the time sequence feature associated with the global time step; use the variational auto-encoding algorithm to encode and decode the time sequence feature associated with the global time step, Obtain reconstructed time series features; use a second convolutional neural network to perform convolution processing on the reconstructed time series features to obtain time series restored data; use the difference between the time series data sample and the time series restored data to detect the time series The abnormal value of the data sample completes the construction of the time series abnormality detection model; the time series abnormality detection model is used to detect the time series data to be tested, and the abnormal value of the time series data to be tested is obtained.
本领域技术人员可以理解,图11中示出的计算机设备的实施例并不构成对计算机设备具体构成的限定,在其他实施例中,计算机设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。例如,在一些实施例中,计算机设备可以仅包括存储器及处理器,在这样的实施例中,存储器及处理器的结构及功能与图11所示实施例一致,在此不再赘述。Those skilled in the art can understand that the embodiment of the computer device shown in FIG. 11 does not constitute a limitation on the specific configuration of the computer device. In other embodiments, the computer device may include more or less components than those shown in the figure. Or combine certain components, or different component arrangements. For example, in some embodiments, the computer device may only include a memory and a processor. In such an embodiment, the structures and functions of the memory and the processor are consistent with the embodiment shown in FIG. 11, and will not be repeated here.
应当理解,在本申请实施例中,处理器1102可以是中央处理单元(Central Processing Unit,CPU),该处理器1102还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。其中,通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that in this embodiment of the application, the processor 1102 may be a central processing unit (Central Processing Unit, CPU), and the processor 1102 may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSPs), Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor.
在本申请的另一实施例中提供计算机可读存储介质。该计算机可读存储介质可以为非易失性的计算机可读存储介质,也可以是易失性的计算机可读存储介质。该计算机可读存储介质存储有计算机程序,其中计算机程序被处理器执行时实现以下步骤:利用第一卷积神经网络对运维系统的时序数据样本进行卷积处理,得到局部邻近时间步关联的时序特征;利用注意力机制对所述时序特征的全局时间步进行关联,得到全局时间步关联的时序特征;利用变分自编码算法对所述全局时间步关联的时序特征进行编码和解码,得到重构的时序特征;利用第二卷积神经网络对所述重构的时序特征进行卷积处理,得到时序还原数据;利用所述时序数据样本与所述时序还原数据的差异检测所述时序数据样本的异常值,完成时序异常检测模型的构建;利用所述时序异常检测模型对待测时序数据进行检测,得到所述待测时序数据的异常值。In another embodiment of the present application, a computer-readable storage medium is provided. The computer-readable storage medium may be a non-volatile computer-readable storage medium, or may be a volatile computer-readable storage medium. The computer-readable storage medium stores a computer program, where the computer program implements the following steps when executed by the processor: using the first convolutional neural network to perform convolution processing on the time-series data samples of the operation and maintenance system to obtain locally adjacent time-step correlations Time sequence features; use the attention mechanism to associate the global time steps of the time sequence features to obtain the time sequence features associated with the global time steps; use the variational auto-encoding algorithm to encode and decode the time sequence features associated with the global time steps to obtain Reconstructed time series features; use a second convolutional neural network to perform convolution processing on the reconstructed time series features to obtain time series restoration data; use the difference between the time series data sample and the time series restoration data to detect the time series data The abnormal value of the sample completes the construction of the time series abnormality detection model; the time series abnormality detection model is used to detect the time series data to be tested, and the abnormal value of the time series data to be tested is obtained.
说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以对本申请进行若干改进和修饰,这些改进和修饰也落入本申请权利要求的保护范围内。The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. It should be pointed out that for those of ordinary skill in the art, without departing from the principles of this application, several improvements and modifications can be made to this application, and these improvements and modifications also fall within the protection scope of the claims of this application.
还需要说明的是,在本说明书中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的状况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should also be noted that in this specification, 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 these entities or operations. There is any such actual relationship or sequence between operations. Moreover, the terms "include", "include" 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 not only includes those elements, but also includes those that are not explicitly listed Other elements of, or also include elements inherent to this process, method, article or equipment. Under the condition of no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other same elements in the process, method, article or equipment including the element.

Claims (20)

  1. 一种时序异常检测方法,其中,包括:A timing anomaly detection method, which includes:
    利用第一卷积神经网络对运维系统的时序数据样本进行卷积处理,得到局部邻近时间步关联的时序特征;Use the first convolutional neural network to perform convolution processing on the time series data samples of the operation and maintenance system to obtain the time series characteristics associated with local adjacent time steps;
    利用注意力机制对所述时序特征的全局时间步进行关联,得到全局时间步关联的时序特征;Use the attention mechanism to correlate the global time steps of the time sequence features to obtain the time sequence features associated with the global time steps;
    利用变分自编码算法对所述全局时间步关联的时序特征进行编码和解码,得到重构的时序特征;Encoding and decoding the time-series features associated with the global time step by using a variational self-encoding algorithm to obtain reconstructed time-series features;
    利用第二卷积神经网络对所述重构的时序特征进行卷积处理,得到时序还原数据;Using a second convolutional neural network to perform convolution processing on the reconstructed time series feature to obtain time series restoration data;
    利用所述时序数据样本与所述时序还原数据的差异检测所述时序数据样本的异常值,完成时序异常检测模型的构建;Use the difference between the time series data sample and the time series restoration data to detect the abnormal value of the time series data sample, and complete the construction of the time series abnormality detection model;
    利用所述时序异常检测模型对待测时序数据进行检测,得到所述待测时序数据的异常值。The time series abnormality detection model is used to detect the time series data to be tested, and the abnormal value of the time series data to be tested is obtained.
  2. 根据权利要求1所述的时序异常检测方法,其中,所述利用第一卷积神经网络对运维系统的时序数据样本进行卷积处理,得到局部邻近时间步关联的时序特征,包括:The timing anomaly detection method according to claim 1, wherein the using the first convolutional neural network to perform convolution processing on the timing data samples of the operation and maintenance system to obtain the timing features associated with local adjacent time steps comprises:
    利用所述第一卷积神经网络中的第一卷积层对所述时序数据样本进行卷积处理,得到第一中间特征;Using the first convolutional layer in the first convolutional neural network to perform convolution processing on the time series data sample to obtain a first intermediate feature;
    利用所述第一卷积神经网络中的第二卷积层对所述第一中间特征进行卷积处理,得到局部邻近时间步关联的时序特征。The second convolutional layer in the first convolutional neural network is used to perform convolution processing on the first intermediate feature to obtain time-series features associated with local adjacent time steps.
  3. 根据权利要求1所述的时序异常检测方法,其中,所述利用注意力机制对所述时序特征的全局时间步进行关联,得到全局时间步关联的时序特征,包括:The method for timing anomaly detection according to claim 1, wherein said using an attention mechanism to associate the global time steps of the time sequence features to obtain the time sequence features associated with the global time steps comprises:
    将局部邻近时间步关联的时序特征作为输入数据,根据所述输入数据分别构建查询矩阵、键矩阵和值矩阵;Taking the time-series features associated with locally adjacent time steps as input data, and constructing a query matrix, a key matrix, and a value matrix according to the input data;
    将所述查询矩阵乘以所述键矩阵,并利用激活函数对乘积结果进行激活,得到注意力权重;Multiplying the query matrix by the key matrix, and using an activation function to activate the product result to obtain the attention weight;
    将所述注意力权重与所述值矩阵相乘,并与输入数据进行连接,输出得到全局时间步关联的时序特征。The attention weight is multiplied by the value matrix, and connected with the input data, and output is the time sequence feature associated with the global time step.
  4. 根据权利要求1所述的时序异常检测方法,其中,所述利用变分自编码算法对所述全局时间步关联的时序特征进行编码和解码,得到重构的时序特征,包括:The method for timing anomaly detection according to claim 1, wherein the encoding and decoding of the timing features associated with the global time step using a variational self-encoding algorithm to obtain the reconstructed timing features comprises:
    将所述全局时间步关联的时序特征输入至编码器中进行编码,并通过全连接层生成均值与标准差;Input the time sequence characteristics associated with the global time step into an encoder for encoding, and generate a mean value and a standard deviation through a fully connected layer;
    将所述均值与标准差输入至解码器进行标准正态分布采样,得到重构的时序特征。The mean value and standard deviation are input to the decoder to perform standard normal distribution sampling to obtain reconstructed time series characteristics.
  5. 根据权利要求1所述的时序异常检测方法,其中,所述利用第二卷积神经网络对所述重构的时序特征进行卷积处理,得到时序还原数据,包括:The time sequence abnormality detection method according to claim 1, wherein said using a second convolutional neural network to perform convolution processing on the reconstructed time sequence feature to obtain time sequence restoration data comprises:
    利用所述第二卷积神经网络中的第三卷积层对所述重构的时序特征进行卷积处理,得到第二中间特征;Using the third convolutional layer in the second convolutional neural network to perform convolution processing on the reconstructed time series feature to obtain a second intermediate feature;
    利用所述第二卷积神经网络中的第四卷积层对所述第二中间特征进行卷积处理,得到时序还原数据。The fourth convolutional layer in the second convolutional neural network is used to perform convolution processing on the second intermediate feature to obtain time series restored data.
  6. 根据权利要求1所述的时序异常检测方法,其中,利用所述时序数据样本与所述时序还原数据的差异检测所述时序数据样本的异常值,完成时序异常检测模型的构建之后,包括:The time-series abnormality detection method according to claim 1, wherein the difference between the time-series data sample and the time-series restoration data is used to detect the abnormal value of the time-series data sample, and after completing the construction of the time-series abnormality detection model, the method comprises:
    基于所述时序数据样本与所述时序还原数据的差异计算损失函数;Calculating a loss function based on the difference between the time series data sample and the time series restoration data;
    利用所述损失函数对所述时序异常检测模型进行迭代优化,直至达到预设的迭代次数或者损失值小于预设损失阈值。The loss function is used to iteratively optimize the timing anomaly detection model until the preset number of iterations is reached or the loss value is less than a preset loss threshold.
  7. 根据权利要求1所述的时序异常检测方法,其中,所述第一卷积神经网络和第二卷积神经网络的卷积层均为1维卷积层。The method for timing anomaly detection according to claim 1, wherein the convolutional layers of the first convolutional neural network and the second convolutional neural network are both 1-dimensional convolutional layers.
  8. 一种时序异常检测装置,其中,包括:A timing abnormality detection device, which includes:
    第一卷积单元,用于利用第一卷积神经网络对运维系统的时序数据样本进行卷积处理,得到局部邻近时间步关联的时序特征;The first convolution unit is configured to use the first convolutional neural network to perform convolution processing on the time series data samples of the operation and maintenance system to obtain the time series characteristics associated with local adjacent time steps;
    注意力机制单元,用于利用注意力机制对所述时序特征的全局时间步进行关联,得到全局时间步关联的时序特征;An attention mechanism unit, configured to use the attention mechanism to correlate the global time steps of the time sequence features to obtain the time sequence features associated with the global time steps;
    自编码单元,用于利用变分自编码算法对所述全局时间步关联的时序特征进行编码和解码,得到重构的时序特征;The self-encoding unit is configured to use a variational self-encoding algorithm to encode and decode the time-series characteristics associated with the global time step to obtain reconstructed time-series characteristics;
    第二卷积单元,用于利用第二卷积神经网络对所述重构的时序特征进行卷积处理,得到时序还原数据;The second convolution unit is configured to use a second convolutional neural network to perform convolution processing on the reconstructed time series feature to obtain time series restoration data;
    模型构建单元,用于利用所述时序数据样本与所述时序还原数据的差异检测所述时序数据样本的异常值,完成时序异常检测模型的构建;A model construction unit, configured to use the difference between the time series data sample and the time series restoration data to detect the abnormal value of the time series data sample, and complete the construction of the time series abnormality detection model;
    模型检测单元,用于利用所述时序异常检测模型对待测时序数据进行检测,得到所述待测时序数据的异常值。The model detection unit is configured to detect the time series data to be tested by using the time series abnormality detection model to obtain the abnormal value of the time series data to be tested.
  9. 一种计算机设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现如权利要求1所述的时序异常检测方法。A computer device, comprising a memory, a processor, and a computer program stored on the memory and running on the processor, wherein the processor implements the computer program described in claim 1 when the processor executes the computer program Timing anomaly detection method.
  10. 根据权利要求9所述的计算机设备,其中,所述利用第一卷积神经网络对运维系统的时序数据样本进行卷积处理,得到局部邻近时间步关联的时序特征,包括:9. The computer device according to claim 9, wherein said using the first convolutional neural network to perform convolution processing on time series data samples of the operation and maintenance system to obtain time series characteristics associated with local adjacent time steps comprises:
    利用所述第一卷积神经网络中的第一卷积层对所述时序数据样本进行卷积处理,得到第一中间特征;Using the first convolutional layer in the first convolutional neural network to perform convolution processing on the time series data sample to obtain a first intermediate feature;
    利用所述第一卷积神经网络中的第二卷积层对所述第一中间特征进行卷积处理,得到局部邻近时间步关联的时序特征。The second convolutional layer in the first convolutional neural network is used to perform convolution processing on the first intermediate feature to obtain time-series features associated with local adjacent time steps.
  11. 根据权利要求9所述的计算机设备,其中,所述利用注意力机制对所述时序特征的全局时间步进行关联,得到全局时间步关联的时序特征,包括:The computer device according to claim 9, wherein said using the attention mechanism to associate the global time step of the time sequence feature to obtain the time sequence feature associated with the global time step comprises:
    将局部邻近时间步关联的时序特征作为输入数据,根据所述输入数据分别构建查询矩阵、键矩阵和值矩阵;Taking the time-series features associated with locally adjacent time steps as input data, and constructing a query matrix, a key matrix, and a value matrix according to the input data;
    将所述查询矩阵乘以所述键矩阵,并利用激活函数对乘积结果进行激活,得到注意力权 重;Multiplying the query matrix by the key matrix, and using an activation function to activate the product result to obtain the attention weight;
    将所述注意力权重与所述值矩阵相乘,并与输入数据进行连接,输出得到全局时间步关联的时序特征。The attention weight is multiplied by the value matrix, and connected with the input data, and output is the time sequence feature associated with the global time step.
  12. 根据权利要求9所述的计算机设备,其中,所述利用变分自编码算法对所述全局时间步关联的时序特征进行编码和解码,得到重构的时序特征,包括:9. The computer device according to claim 9, wherein the encoding and decoding of the time sequence characteristics associated with the global time step using a variational self-encoding algorithm to obtain the reconstructed time sequence characteristics comprises:
    将所述全局时间步关联的时序特征输入至编码器中进行编码,并通过全连接层生成均值与标准差;Input the time sequence characteristics associated with the global time step into an encoder for encoding, and generate a mean value and a standard deviation through a fully connected layer;
    将所述均值与标准差输入至解码器进行标准正态分布采样,得到重构的时序特征。The mean value and standard deviation are input to the decoder to perform standard normal distribution sampling to obtain reconstructed time series characteristics.
  13. 根据权利要求9所述的计算机设备,其中,所述利用第二卷积神经网络对所述重构的时序特征进行卷积处理,得到时序还原数据,包括:9. The computer device according to claim 9, wherein said using a second convolutional neural network to perform convolution processing on the reconstructed time series feature to obtain time series restoration data comprises:
    利用所述第二卷积神经网络中的第三卷积层对所述重构的时序特征进行卷积处理,得到第二中间特征;Using the third convolutional layer in the second convolutional neural network to perform convolution processing on the reconstructed time series feature to obtain a second intermediate feature;
    利用所述第二卷积神经网络中的第四卷积层对所述第二中间特征进行卷积处理,得到时序还原数据。The fourth convolutional layer in the second convolutional neural network is used to perform convolution processing on the second intermediate feature to obtain time series restored data.
  14. 根据权利要求9所述的计算机设备,其中,利用所述时序数据样本与所述时序还原数据的差异检测所述时序数据样本的异常值,完成时序异常检测模型的构建之后,包括:The computer device according to claim 9, wherein the difference between the time series data sample and the time series restoration data is used to detect the abnormal value of the time series data sample, and after completing the construction of the time series abnormality detection model, the method comprises:
    基于所述时序数据样本与所述时序还原数据的差异计算损失函数;Calculating a loss function based on the difference between the time series data sample and the time series restoration data;
    利用所述损失函数对所述时序异常检测模型进行迭代优化,直至达到预设的迭代次数或者损失值小于预设损失阈值。The loss function is used to iteratively optimize the timing anomaly detection model until the preset number of iterations is reached or the loss value is less than a preset loss threshold.
  15. 一种计算机可读存储介质,其中,所述计算机可读存储介质存储有计算机程序,所述计算机程序当被处理器执行时使所述处理器执行如权利要求1所述的时序异常检测方法。A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program that, when executed by a processor, causes the processor to execute the timing abnormality detection method according to claim 1.
  16. 根据权利要求15所述的计算机可读存储介质,其中,所述利用第一卷积神经网络对运维系统的时序数据样本进行卷积处理,得到局部邻近时间步关联的时序特征,包括:15. The computer-readable storage medium according to claim 15, wherein the using the first convolutional neural network to perform convolution processing on the time series data samples of the operation and maintenance system to obtain the time series characteristics associated with local adjacent time steps comprises:
    利用所述第一卷积神经网络中的第一卷积层对所述时序数据样本进行卷积处理,得到第一中间特征;Using the first convolutional layer in the first convolutional neural network to perform convolution processing on the time series data sample to obtain a first intermediate feature;
    利用所述第一卷积神经网络中的第二卷积层对所述第一中间特征进行卷积处理,得到局部邻近时间步关联的时序特征。The second convolutional layer in the first convolutional neural network is used to perform convolution processing on the first intermediate feature to obtain time-series features associated with local adjacent time steps.
  17. 根据权利要求15所述的计算机可读存储介质,其中,所述利用注意力机制对所述时序特征的全局时间步进行关联,得到全局时间步关联的时序特征,包括:15. The computer-readable storage medium according to claim 15, wherein said using an attention mechanism to associate the global time step of the time sequence feature to obtain the time sequence feature associated with the global time step comprises:
    将局部邻近时间步关联的时序特征作为输入数据,根据所述输入数据分别构建查询矩阵、键矩阵和值矩阵;Taking the time-series features associated with locally adjacent time steps as input data, and constructing a query matrix, a key matrix, and a value matrix according to the input data;
    将所述查询矩阵乘以所述键矩阵,并利用激活函数对乘积结果进行激活,得到注意力权重;Multiplying the query matrix by the key matrix, and using an activation function to activate the product result to obtain the attention weight;
    将所述注意力权重与所述值矩阵相乘,并与输入数据进行连接,输出得到全局时间步关联的时序特征。The attention weight is multiplied by the value matrix, and connected with the input data, and output is the time sequence feature associated with the global time step.
  18. 根据权利要求15所述的计算机可读存储介质,其中,所述利用变分自编码算法对所 述全局时间步关联的时序特征进行编码和解码,得到重构的时序特征,包括:The computer-readable storage medium according to claim 15, wherein the encoding and decoding of the time sequence characteristics associated with the global time step using a variational self-encoding algorithm to obtain the reconstructed time sequence characteristics comprises:
    将所述全局时间步关联的时序特征输入至编码器中进行编码,并通过全连接层生成均值与标准差;Input the time sequence characteristics associated with the global time step into an encoder for encoding, and generate a mean value and a standard deviation through a fully connected layer;
    将所述均值与标准差输入至解码器进行标准正态分布采样,得到重构的时序特征。The mean value and standard deviation are input to the decoder to perform standard normal distribution sampling to obtain reconstructed time series characteristics.
  19. 根据权利要求15所述的计算机可读存储介质,其中,所述利用第二卷积神经网络对所述重构的时序特征进行卷积处理,得到时序还原数据,包括:15. The computer-readable storage medium according to claim 15, wherein said using a second convolutional neural network to perform convolution processing on the reconstructed time series feature to obtain time series restored data comprises:
    利用所述第二卷积神经网络中的第三卷积层对所述重构的时序特征进行卷积处理,得到第二中间特征;Using the third convolutional layer in the second convolutional neural network to perform convolution processing on the reconstructed time series feature to obtain a second intermediate feature;
    利用所述第二卷积神经网络中的第四卷积层对所述第二中间特征进行卷积处理,得到时序还原数据。The fourth convolutional layer in the second convolutional neural network is used to perform convolution processing on the second intermediate feature to obtain time series restored data.
  20. 根据权利要求15所述的计算机可读存储介质,其中,利用所述时序数据样本与所述时序还原数据的差异检测所述时序数据样本的异常值,完成时序异常检测模型的构建之后,包括:15. The computer-readable storage medium according to claim 15, wherein the difference between the time series data sample and the time series restoration data is used to detect the abnormal value of the time series data sample, and after completing the construction of the time series abnormality detection model, the method comprises:
    基于所述时序数据样本与所述时序还原数据的差异计算损失函数;Calculating a loss function based on the difference between the time series data sample and the time series restoration data;
    利用所述损失函数对所述时序异常检测模型进行迭代优化,直至达到预设的迭代次数或者损失值小于预设损失阈值。The loss function is used to iteratively optimize the timing anomaly detection model until the preset number of iterations is reached or the loss value is less than a preset loss threshold.
PCT/CN2021/083751 2020-11-19 2021-03-30 Time series anomaly detection method and apparatus, and computer device and storage medium WO2021204010A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011306700.5 2020-11-19
CN202011306700.5A CN112380098B (en) 2020-11-19 2020-11-19 Timing sequence abnormality detection method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2021204010A1 true WO2021204010A1 (en) 2021-10-14

Family

ID=74584388

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/083751 WO2021204010A1 (en) 2020-11-19 2021-03-30 Time series anomaly detection method and apparatus, and computer device and storage medium

Country Status (2)

Country Link
CN (1) CN112380098B (en)
WO (1) WO2021204010A1 (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113988268A (en) * 2021-11-03 2022-01-28 西安交通大学 Heterogeneous multi-source time sequence anomaly detection method based on unsupervised full-attribute graph
CN114186583A (en) * 2021-12-02 2022-03-15 国家石油天然气管网集团有限公司 Method and system for recovering abnormal signal of corrosion detection of tank wall of oil storage tank
CN114297036A (en) * 2022-01-05 2022-04-08 腾讯科技(深圳)有限公司 Data processing method and device, electronic equipment and readable storage medium
CN114692767A (en) * 2022-03-31 2022-07-01 中国电信股份有限公司 Abnormality detection method and apparatus, computer-readable storage medium, and electronic device
CN115292659A (en) * 2022-08-02 2022-11-04 成都毅创空间科技有限公司 Time sequence data abnormity detection method for smart home
CN115879777A (en) * 2023-03-03 2023-03-31 吉林大学 Intelligent petroleum safety deduction system and method based on space-time big data
CN115903705A (en) * 2022-11-30 2023-04-04 福建省杭氟电子材料有限公司 Production management control system for preparing electronic grade hexafluobutadiene
CN116086790A (en) * 2023-04-11 2023-05-09 杭州鄂达精密机电科技有限公司 Performance detection method and system for high-pressure valve of hydrogen fuel cell
CN116362503A (en) * 2023-03-30 2023-06-30 国网河南省电力公司安阳供电公司 Electric power regulating method and system based on artificial intelligence
CN116499607A (en) * 2023-06-27 2023-07-28 之江实验室 Optical fiber sensing signal noise reduction method and device and storage medium
CN116772944A (en) * 2023-08-25 2023-09-19 克拉玛依市燃气有限责任公司 Intelligent monitoring system and method for gas distribution station
CN116776273A (en) * 2023-08-23 2023-09-19 烟台云朵软件有限公司 Running state monitoring method and system of Internet of things equipment
CN117241443A (en) * 2023-09-15 2023-12-15 中山市松伟照明电器有限公司 Intelligent lighting lamp based on Internet of things and intelligent control method thereof
CN117270467A (en) * 2023-09-11 2023-12-22 浙江欧诗漫晶体纤维有限公司 Production control system and method for polycrystalline mullite fiber
CN117786464A (en) * 2024-02-22 2024-03-29 广州市原子高科同位素医药有限公司 Abnormality early warning method and system for electric heating constant temperature incubator
CN117831743A (en) * 2024-03-02 2024-04-05 长春职业技术学院 Household care health monitoring management system and method based on Internet of things technology
CN117834256A (en) * 2023-12-29 2024-04-05 广东云达智能物联科技有限公司 Internet of things equipment safety monitoring system based on big data

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112380098B (en) * 2020-11-19 2024-03-19 平安科技(深圳)有限公司 Timing sequence abnormality detection method and device, computer equipment and storage medium
CN113239075B (en) * 2021-05-13 2023-05-12 中国公路工程咨询集团有限公司 Construction data self-checking method and system
CN113111098B (en) * 2021-06-11 2021-10-29 阿里云计算有限公司 Method and device for detecting query of time sequence data and time sequence database system
CN113780387A (en) * 2021-08-30 2021-12-10 桂林电子科技大学 Time sequence anomaly detection method based on shared self-encoder
CN116681434A (en) * 2023-06-07 2023-09-01 科睿特软件集团股份有限公司 Behavior management system and method based on annual card anti-theft swiping algorithm

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180060665A1 (en) * 2016-08-29 2018-03-01 Nec Laboratories America, Inc. Dual Stage Attention Based Recurrent Neural Network for Time Series Prediction
CN110490132A (en) * 2019-08-16 2019-11-22 京东城市(北京)数字科技有限公司 Data processing method and device
CN111815053A (en) * 2020-07-09 2020-10-23 北京中超伟业信息安全技术股份有限公司 Prediction method and system for industrial time sequence data
CN111860785A (en) * 2020-07-24 2020-10-30 中山大学 Time sequence prediction method and system based on attention mechanism cyclic neural network
CN111880998A (en) * 2020-07-30 2020-11-03 平安科技(深圳)有限公司 Service system anomaly detection method and device, computer equipment and storage medium
CN112380098A (en) * 2020-11-19 2021-02-19 平安科技(深圳)有限公司 Time sequence abnormity detection method and device, computer equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110134946B (en) * 2019-04-15 2023-04-18 深圳智能思创科技有限公司 Machine reading understanding method for complex data
CN110349676B (en) * 2019-06-14 2021-10-29 华南师范大学 Time-series physiological data classification method and device, storage medium and processor
CN111338878A (en) * 2020-02-21 2020-06-26 平安科技(深圳)有限公司 Anomaly detection method and device, terminal device and storage medium
CN111679949A (en) * 2020-04-23 2020-09-18 平安科技(深圳)有限公司 Anomaly detection method based on equipment index data and related equipment
CN111858928B (en) * 2020-06-17 2022-11-18 北京邮电大学 Social media rumor detection method and device based on graph structure counterstudy

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180060665A1 (en) * 2016-08-29 2018-03-01 Nec Laboratories America, Inc. Dual Stage Attention Based Recurrent Neural Network for Time Series Prediction
CN110490132A (en) * 2019-08-16 2019-11-22 京东城市(北京)数字科技有限公司 Data processing method and device
CN111815053A (en) * 2020-07-09 2020-10-23 北京中超伟业信息安全技术股份有限公司 Prediction method and system for industrial time sequence data
CN111860785A (en) * 2020-07-24 2020-10-30 中山大学 Time sequence prediction method and system based on attention mechanism cyclic neural network
CN111880998A (en) * 2020-07-30 2020-11-03 平安科技(深圳)有限公司 Service system anomaly detection method and device, computer equipment and storage medium
CN112380098A (en) * 2020-11-19 2021-02-19 平安科技(深圳)有限公司 Time sequence abnormity detection method and device, computer equipment and storage medium

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113988268B (en) * 2021-11-03 2024-04-05 西安交通大学 Heterogeneous multi-source time sequence anomaly detection method based on unsupervised full attribute graph
CN113988268A (en) * 2021-11-03 2022-01-28 西安交通大学 Heterogeneous multi-source time sequence anomaly detection method based on unsupervised full-attribute graph
CN114186583A (en) * 2021-12-02 2022-03-15 国家石油天然气管网集团有限公司 Method and system for recovering abnormal signal of corrosion detection of tank wall of oil storage tank
CN114297036B (en) * 2022-01-05 2023-06-09 腾讯科技(深圳)有限公司 Data processing method, device, electronic equipment and readable storage medium
CN114297036A (en) * 2022-01-05 2022-04-08 腾讯科技(深圳)有限公司 Data processing method and device, electronic equipment and readable storage medium
CN114692767A (en) * 2022-03-31 2022-07-01 中国电信股份有限公司 Abnormality detection method and apparatus, computer-readable storage medium, and electronic device
CN114692767B (en) * 2022-03-31 2024-01-19 中国电信股份有限公司 Abnormality detection method and apparatus, computer-readable storage medium, and electronic device
CN115292659A (en) * 2022-08-02 2022-11-04 成都毅创空间科技有限公司 Time sequence data abnormity detection method for smart home
CN115292659B (en) * 2022-08-02 2023-03-21 成都毅创空间科技有限公司 Intelligent household time sequence data abnormity detection method
CN115903705A (en) * 2022-11-30 2023-04-04 福建省杭氟电子材料有限公司 Production management control system for preparing electronic grade hexafluobutadiene
CN115879777A (en) * 2023-03-03 2023-03-31 吉林大学 Intelligent petroleum safety deduction system and method based on space-time big data
CN116362503A (en) * 2023-03-30 2023-06-30 国网河南省电力公司安阳供电公司 Electric power regulating method and system based on artificial intelligence
CN116362503B (en) * 2023-03-30 2023-11-07 国网河南省电力公司安阳供电公司 Electric power regulating method and system based on artificial intelligence
CN116086790A (en) * 2023-04-11 2023-05-09 杭州鄂达精密机电科技有限公司 Performance detection method and system for high-pressure valve of hydrogen fuel cell
CN116086790B (en) * 2023-04-11 2023-06-23 杭州鄂达精密机电科技有限公司 Performance detection method and system for high-pressure valve of hydrogen fuel cell
CN116499607A (en) * 2023-06-27 2023-07-28 之江实验室 Optical fiber sensing signal noise reduction method and device and storage medium
CN116499607B (en) * 2023-06-27 2023-09-08 之江实验室 Optical fiber sensing signal noise reduction method and device and storage medium
CN116776273A (en) * 2023-08-23 2023-09-19 烟台云朵软件有限公司 Running state monitoring method and system of Internet of things equipment
CN116776273B (en) * 2023-08-23 2023-11-03 烟台云朵软件有限公司 Running state monitoring method and system of Internet of things equipment
CN116772944B (en) * 2023-08-25 2023-12-01 克拉玛依市燃气有限责任公司 Intelligent monitoring system and method for gas distribution station
CN116772944A (en) * 2023-08-25 2023-09-19 克拉玛依市燃气有限责任公司 Intelligent monitoring system and method for gas distribution station
CN117270467A (en) * 2023-09-11 2023-12-22 浙江欧诗漫晶体纤维有限公司 Production control system and method for polycrystalline mullite fiber
CN117241443A (en) * 2023-09-15 2023-12-15 中山市松伟照明电器有限公司 Intelligent lighting lamp based on Internet of things and intelligent control method thereof
CN117241443B (en) * 2023-09-15 2024-06-04 中山市松伟照明电器有限公司 Intelligent lighting lamp based on Internet of things and intelligent control method thereof
CN117834256A (en) * 2023-12-29 2024-04-05 广东云达智能物联科技有限公司 Internet of things equipment safety monitoring system based on big data
CN117786464A (en) * 2024-02-22 2024-03-29 广州市原子高科同位素医药有限公司 Abnormality early warning method and system for electric heating constant temperature incubator
CN117786464B (en) * 2024-02-22 2024-05-24 广州市原子高科同位素医药有限公司 Abnormality early warning method and system for electric heating constant temperature incubator
CN117831743A (en) * 2024-03-02 2024-04-05 长春职业技术学院 Household care health monitoring management system and method based on Internet of things technology

Also Published As

Publication number Publication date
CN112380098A (en) 2021-02-19
CN112380098B (en) 2024-03-19

Similar Documents

Publication Publication Date Title
WO2021204010A1 (en) Time series anomaly detection method and apparatus, and computer device and storage medium
CN111880998B (en) Service system anomaly detection method and device, computer equipment and storage medium
Caceres et al. A probabilistic Bayesian recurrent neural network for remaining useful life prognostics considering epistemic and aleatory uncertainties
CN115018021B (en) Machine room abnormity detection method and device based on graph structure and abnormity attention mechanism
WO2022227388A1 (en) Log anomaly detection model training method, apparatus and device
CN115185736B (en) Micro-service call chain abnormity detection method and device based on graph convolution neural network
CN115841046B (en) Accelerated degradation test data processing method and device based on wiener process
CN116760742A (en) Network traffic anomaly detection method and system based on multi-stage hybrid space-time fusion
Wang et al. Reliability evaluation of a load-sharing parallel system with failure dependence
Shi et al. Multilayer-graph-embedded extreme learning machine for performance degradation prognosis of bearing
Jia et al. State of health prediction of lithium-ion batteries based on bidirectional gated recurrent unit and transformer
CN112131274B (en) Method, device, equipment and readable storage medium for detecting abnormal points of time sequence
CN113139586B (en) Model training method, device abnormality diagnosis method, electronic device, and medium
CN117235664A (en) Fault diagnosis method and system for power distribution communication equipment and computer equipment
CN117113247A (en) Drainage system abnormality monitoring method, equipment and storage medium based on two-classification and clustering algorithm
CN115932593A (en) Power station temperature thermal runaway early warning method, system and terminal
CN115217152A (en) Method and device for predicting opening and closing deformation of immersed tunnel pipe joint
CN114679335A (en) Network security risk assessment training and assessment method and equipment for power monitoring system
CN114968992A (en) Data identification cleaning and compensation method and device, electronic equipment and storage medium
CN112685555B (en) Complaint work order quality detection method and device
Lijun et al. An intuitionistic calculus to complex abnormal event recognition on data streams
Gkillas et al. Resource efficient federated learning for deep anomaly detection in industrial IoT applications
CN112231615A (en) Sensitive information detection method and device for article
CN116127785B (en) Reliability evaluation method, device and equipment based on multiple performance degradation
CN114553558B (en) Data processing method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21784548

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21784548

Country of ref document: EP

Kind code of ref document: A1