CN113778811A - Fault monitoring method and system based on deep convolution migration learning software system - Google Patents

Fault monitoring method and system based on deep convolution migration learning software system Download PDF

Info

Publication number
CN113778811A
CN113778811A CN202111157772.2A CN202111157772A CN113778811A CN 113778811 A CN113778811 A CN 113778811A CN 202111157772 A CN202111157772 A CN 202111157772A CN 113778811 A CN113778811 A CN 113778811A
Authority
CN
China
Prior art keywords
data set
network
fault
target domain
source domain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111157772.2A
Other languages
Chinese (zh)
Inventor
吴勇
廖明霞
董一英
沈谷峰
杨婷婷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing University of Post and Telecommunications
Original Assignee
Chongqing University of Post and Telecommunications
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 Chongqing University of Post and Telecommunications filed Critical Chongqing University of Post and Telecommunications
Priority to CN202111157772.2A priority Critical patent/CN113778811A/en
Publication of CN113778811A publication Critical patent/CN113778811A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • 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/3452Performance evaluation by statistical analysis
    • 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/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging
    • 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/04Architecture, e.g. interconnection topology
    • G06N3/047Probabilistic or stochastic 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biomedical Technology (AREA)
  • Software Systems (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Computational Linguistics (AREA)
  • Biophysics (AREA)
  • Artificial Intelligence (AREA)
  • Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Probability & Statistics with Applications (AREA)
  • Computer Hardware Design (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention relates to a software system fault monitoring method and system based on deep convolution transfer learning, belonging to the field of computer software testing and comprising the following steps: collecting a software system load data set under the existing load S, and constructing a source domain data set; point segmentation is carried out on each group of original response time, and a source domain sample data set is constructed; constructing a target domain data set, and performing point segmentation on each group of original response time in the target domain data set to construct a target domain sample data set; and carrying out fault monitoring on the software system by using the source domain sample data set and the target domain sample data set through deep convolution transfer learning. The invention can still obtain more ideal fault monitoring effect when the conditions of less fault samples under multiple loads or missing of a certain fault sample and the like occur, and can save a large amount of time without retraining the network model in the data set under new loads.

Description

Fault monitoring method and system based on deep convolution migration learning software system
Technical Field
The invention belongs to the field of computer software testing, and relates to a method and a system for monitoring system faults based on deep convolution transfer learning software.
Background
With the increasing size and complexity of computer software, the quality of the computer software is difficult to be effectively controlled and guaranteed. In the software system, when the load is applied to the adjacent boundary in the running process of a large number of users, the software system can have faults of different degrees. How to effectively extract and utilize the existing response time information to quickly and accurately identify and predict software faults is a key problem in the field of software fault monitoring at present.
The software system cannot respond or stop running, which causes poor user experience for users, and may cause great surface influence on company image, even may cause great damage. Therefore, by monitoring, monitoring and downtime prediction of the software system, the equipment is expanded or distributed for maintenance when the equipment fails or is about to fail, and the method has important significance for improving the reliability and the economy of the software system.
In the process of monitoring the actual load, the software system is usually operated under the condition of different loads, the response time is short, and the fault state of the software system is less. Therefore, the fault state data monitored and collected by the software system in the actual load has the characteristics of multiple loads, fewer fault state samples and even the defect of a certain fault state sample. When the traditional diagnosis method is faced with fault data samples under different loads, a network model needs to be re-established when the loads change, and the process of the traditional diagnosis method takes a lot of time. Moreover, most of the traditional diagnosis methods rely on a large amount of fault label data, and when the conditions that the fault state samples are insufficient or the fault state samples are missing occur, the generalization capability of the traditional network model is poor, and the fault monitoring effect is not ideal.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a method and a system for monitoring a fault of a software system based on deep convolution migration learning, which can still obtain an ideal fault monitoring effect when the conditions of fewer fault samples under multiple loads or missing a certain fault sample occur, and can save a lot of time without retraining a network model for a data set under a new load. The transfer learning is a learning method for solving problems in different but related fields by using existing knowledge, and the method realizes field knowledge sharing by transferring the knowledge obtained by learning in a source field into a target field, thereby solving the problem of poor performance of a training model caused by few learning samples and unbalanced sample distribution in the target field. Compared with methods such as incremental learning, multi-task learning and self-learning, the migration learning emphasizes the correlation between learning tasks and utilizes the correlation to complete the migration between knowledge. The concept of Deep learning originates from the field of artificial intelligence machine learning, and a Deep Neural Network (DNN) model composed of multiple hidden layers is a remarkable characteristic of the Deep learning model. Compared with a shallow neural network model, the DNN can combine bottom layer features to form more abstract high-level feature representation, so that implicit feature expression of data is found, and features of information are effectively extracted and represented through layer-by-layer conversion of data features. Transfer Learning (Transfer Learning) is a machine Learning method, which transfers knowledge in one field (i.e., a source field) to another field (i.e., a target field) to enable the target field to obtain a better Learning effect.
In order to achieve the purpose, the invention provides the following technical scheme:
on one hand, the invention provides a software system fault monitoring method based on deep convolution transfer learning, which comprises the following steps:
s1: collecting a software system load data set under the existing load S, and constructing a source domain sample data set;
s2: point division is carried out on each group of original response time, and a source domain data set is constructed;
s3: constructing a target domain sample data set, and performing point segmentation on each group of original response time in the target domain data set to construct a target domain data set;
s4: and carrying out fault monitoring on the software system by using the source domain data set and the target domain data set through deep convolution transfer learning.
Further, in step S1, the software system load sample data set under the existing load S is classified into w states according to the fault type, and the original response time under each fault type
Figure BDA0003284895330000021
Where w represents the data class, w is 1, 2, 3 … n, x0~xnRepresented as the 1 st to n +1 th group fault signals in the w fault state.
Further, in the step S2, the source domain data set construction method includes the following steps:
s21: setting a window sliding step length s and a window length l according to the number N of data points, and generating a sample number t; sample di={X0,X1,X2,...XL1, 2, 3, ·, t; obtaining a source domain data set M from a samples={d1,,,d2,,d3,…dt,};
S22: setting a source domain test set in a source domain data set
Figure BDA0003284895330000022
And source domain training set
Figure BDA0003284895330000023
R, the source domain training set
Figure BDA0003284895330000024
Sample number a ═ t · r, source domain test set
Figure BDA0003284895330000025
The sample number b is t (1-r).
Further, in step S3, the machine response time of the software system under different loads in the four states of normal operation state, data abnormality, local user abnormality, and downtime is collected
Figure BDA0003284895330000026
Constructing a target domain sample data set according to the machine response time
Figure BDA0003284895330000027
Wherein, w' is 1, 2, 3, 4, which respectively represents four states of normal operation state, program data abnormity, local error and downtime.
Further, setting window sliding step length and window length, and constructing a target domain data set MT(ii) a Setting the proportion of the test set and the training set, and constructing a target domain data training set
Figure BDA0003284895330000028
And target domain data test set
Figure BDA0003284895330000029
Further, in step S4, the fault monitoring includes the following steps:
s41: training source domain data
Figure BDA00032848953300000210
Inputting a set of one-dimensional depth convolution neural network I to pre-train and initialize network parameters, and testing the set through a source domain
Figure BDA0003284895330000031
Testing the network effect, if the testing effect is ideal, pre-training to finish determining parameters and finishing training the network, otherwise, continuously adjusting the network to perform back propagation and continuously updating the parameters until the network achieves the ideal effect on the test set to finish training;
s42: targeting domain dataset M using convolutional neural network hierarchyTPerforming transfer learning, freezing the global mean pooling layer L in the feature extraction module and the feature classification module of the one-dimensional deep convolutional neural network IGAnd L in the full connection layerFAdding a new Softmax layer for the network model I to adapt to the target domain data set
Figure BDA0003284895330000032
Completing network level adjustment and constructing new network I2
S43: to network I2Fine tuning is performed by locking feature classification modules D, and L1,L2,L3Weight parameter of layer, unfreezing L4Layer parameters, obtaining network I after fine adjustment3
S44: acquiring original fault signals of the software system in real time and transmitting the signals to a network I3And obtaining a fault monitoring result of the current software system.
Further, the one-dimensional depth convolution neural network I model construction method in step S41 includes the following steps:
(1) construction of a convolution pooling layer Lj
Lj={Cj,Pj,Bj}
In the formula, Cj、Pj、BjThe convolution layer, the pooling layer and the normalization layer are respectively used for feature extraction; j is the number of the convolution pooling module;
(2) stacking 4 convolution pooling layers to construct a feature extraction module S', S ═ L1,L2,L3,L4};
(3) Adding a characteristic classification module D, D ═ LG,LF,LsoftmaxThe feature classification module comprises a global mean pooling layer LGAll-connected layer LFSoftmax layer
Figure BDA0003284895330000033
And completing the network construction.
Further, in the step S43, the target domain training data set is used
Figure BDA0003284895330000034
To network I3Training is carried out to enable the network to extract deep abstract features from the target domain data set
Figure BDA0003284895330000035
Via the full connection layer LFSoftmax layer
Figure BDA0003284895330000036
And outputting the fault probability distribution of each fault type of the target domain, wherein the maximum probability of the fault probability distribution corresponds to the fault type and serves as a diagnosis result.
On the other hand, the invention provides a load diagnosis system based on a deep convolution migration learning software system, which comprises a source domain sample data set construction module, a source domain data set construction module, a target domain data set construction module and a fault monitoring module;
the source domain sample data set construction module collects a software system load data set under the existing load S and constructs a source domain sample data set;
the source domain data set construction module performs point number segmentation on each group of original response time to construct a source domain data set;
the target domain data set construction module constructs a target domain sample data set, and performs point segmentation on each group of original response time in the target domain data set to construct a target domain sample data set;
and the fault monitoring module carries out fault monitoring on the software system by using the deep convolution transfer learning on the source domain data set and the target domain data set.
Further, when the fault monitoring module detects a fault, the method includes: training set of source domain data
Figure BDA0003284895330000041
Inputting one-dimensional deep convolution neural network I to pre-train and initialize network parameters, and passing through a source domain test set
Figure BDA0003284895330000042
Testing the network effect of the network, if the test effect is ideal, pre-training to complete the determination of parameters and complete the training of the network, otherwise, continuously adjusting the network to perform back propagation and continuously updating the parameters until the network achieves the ideal effect on the test set to complete the training; targeting domain dataset M using convolutional neural network hierarchyTPerforming transfer learning, freezing the global mean pooling layer L in the feature extraction module S' and the feature classification module of the one-dimensional deep convolutional neural network IGAnd weighting parameters of LF in the full connection layer, and adding a new Softmax layer for adapting the network model I to the target domain data set
Figure BDA0003284895330000043
New network I is constructed by adjusting transmission completion network level2(ii) a Acquiring original fault signals of the software system in real time and transmitting the signals to a network I3And obtaining a fault monitoring result of the current software system.
The invention has the beneficial effects that: compared with the traditional fault monitoring method, the deep winding machine migration learning method provided by the invention still has higher fault monitoring precision when a few sample data sets or missing sample data sets are faced. 2. Compared with the traditional fault monitoring method, the deep convolution transfer learning method provided by the invention utilizes the convolutional neural network hierarchical structure transfer learning, and can save a large amount of time when new load training is faced.
Additional advantages, objects, and features of the invention will be set forth in part in the description which follows and in part will become apparent to those having ordinary skill in the art upon examination of the following or may be learned from practice of the invention. The objectives and other advantages of the invention may be realized and attained by the means of the instrumentalities and combinations particularly pointed out hereinafter.
Drawings
For the purposes of promoting a better understanding of the objects, aspects and advantages of the invention, reference will now be made to the following detailed description taken in conjunction with the accompanying drawings in which:
FIG. 1 is a schematic overall flow chart of a fault monitoring method based on a deep convolution migration learning software system according to the present invention;
FIG. 2 is a schematic diagram of a one-dimensional convolutional network structure according to the present invention;
FIG. 3 is a schematic diagram of the network migration learning of the present invention;
fig. 4 is a schematic diagram of network migration learning fine tuning according to the present invention.
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention in a schematic way, and the features in the following embodiments and examples may be combined with each other without conflict.
Wherein the showings are for the purpose of illustrating the invention only and not for the purpose of limiting the same, and in which there is shown by way of illustration only and not in the drawings in which there is no intention to limit the invention thereto; to better illustrate the embodiments of the present invention, some parts of the drawings may be omitted, enlarged or reduced, and do not represent the size of an actual product; it will be understood by those skilled in the art that certain well-known structures in the drawings and descriptions thereof may be omitted.
The same or similar reference numerals in the drawings of the embodiments of the present invention correspond to the same or similar components; in the description of the present invention, it should be understood that if there is an orientation or positional relationship indicated by terms such as "upper", "lower", "left", "right", "front", "rear", etc., based on the orientation or positional relationship shown in the drawings, it is only for convenience of description and simplification of description, but it is not an indication or suggestion that the referred device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and therefore, the terms describing the positional relationship in the drawings are only used for illustrative purposes, and are not to be construed as limiting the present invention, and the specific meaning of the terms may be understood by those skilled in the art according to specific situations.
As shown in fig. 1, the present invention provides a method for monitoring system faults based on deep convolution transfer learning software, which includes the following steps:
s1, collecting the software system load data set under the existing load S, and constructing the source domain sample data set
Figure BDA0003284895330000051
Figure BDA0003284895330000052
The software system load sample data set under the existing load S is classified into w states according to fault types, and the original response time under each fault type
Figure BDA0003284895330000053
Where w represents the data class, w is 1, 2, 3 … n, xNRepresented as the nth set of fault signals in the w fault state.
S2, performing point number segmentation on each group of original response time to construct a source domain data set;
to be provided with
Figure BDA0003284895330000054
One set of signals x in (1)1For example, for x1Point segmentation is carried out to construct a source domain sample data set, and the specific steps are as follows:
and S21, setting a window sliding step length S and a window length l according to the number N of the data points, and generating a sample with the number t. Sample di={X0,X1,X2,...XL1, 2, 3, ·, t; obtaining a source domain data set M from a samples={d1,,,d2,,d3,…dt,};
S22, setting a source domain test set in a source domain data set
Figure BDA0003284895330000055
And source domain training set
Figure BDA0003284895330000056
R, the source domain training set
Figure BDA0003284895330000057
Sample number a ═ t · r, source domain test set
Figure BDA0003284895330000058
Sample number b ═ t · (1-r); in the present embodiment, the ratio r is preferably 0.3.
S3, constructing a target domain sample data set
Figure BDA0003284895330000059
Dividing the number of points of each group of original response time in the target domain data set to construct a target domain data set;
collecting original response time of software system under different loads in four states of normal operation state, abnormal program data, local error and downtime
Figure BDA00032848953300000510
Constructing a target domain sample data set according to the response time
Figure BDA00032848953300000511
Figure BDA00032848953300000512
W is 1, 2, 3 and 4, which respectively represent a normal running state, tooth surface abrasion, planet gear tooth breakage and rolling element bearing loss;
setting window sliding step size and window length according to step S21, and constructing target domain data set MTSetting the ratio of the test set to the training set according to the step S22, and constructing a training set of target domain data
Figure BDA0003284895330000061
And target domain data test set
Figure BDA0003284895330000062
S4, carrying out fault monitoring on the software system by using the deep convolution transfer learning of the source domain data set and the target domain data set, which comprises the following specific steps:
s41, training set of source domain data
Figure BDA0003284895330000063
Inputting one-dimensional deep convolution neural network I to pre-train and initialize network parameters, and passing through a source domain test set
Figure BDA0003284895330000064
And testing the network effect of the network, if the test effect is ideal, pre-training to finish determining parameters and finishing training the network, otherwise, continuously adjusting the network to perform back propagation and continuously updating the parameters until the network achieves the ideal effect on the test set to finish training. The initialization of the internal parameters of the network comprises the steps of setting learning rate, activating function, weighting parameters, extracting characteristics and the like.
As shown in fig. 2, the method for constructing the one-dimensional depth convolution neural network I model includes:
(1) construction of a convolution pooling layer Lj
Lj={Cj,Pj,Bj}
In the formula, Cj、Pj、BjThe convolution layer, the pooling layer and the normalization layer are respectively used for feature extraction; j is the convolution pooling module number.
(2) Superposing 4 convolution pooling layers to construct a feature extraction module S, S ═ L1,L2,L3,L4}。
(3) Adding a characteristic classification module D, D ═ LG,LF,LsoftmaxThe feature classification module comprises a global mean pooling layer LGAll-connected layer LFSoftmax layer
Figure BDA0003284895330000065
And completing the network construction.
The source domain data training set passes through C of each convolution pooling layer in the feature extraction modulej、Pj、BjConvolution kernel operation, pooling operation, normalization operation output characteristics of
Figure BDA0003284895330000066
Superposition of 4 convolutional pooling layers S ═ L1,L2,L3,L4Get the final characteristics
Figure BDA0003284895330000067
Final characteristics
Figure BDA0003284895330000068
Outputting the characteristic value y after passing through the global mean pooling layerfg(ii) a Full connection layer pair yfgPerforming characteristic combination and Dropodt operation to output characteristic value ytAnd is combined with ytAnd (4) inputting the probability distribution of each fault type of the source domain into a Softmax classifier, and taking the maximum probability of the probability distribution corresponding to the fault type as a diagnosis result.
S42, utilizing the convolutional neural network hierarchy structure to carry out the data set M of the target domainTPerforming transfer learning, freezing a feature extraction module S of the network model I and a global mean pooling layer L in the feature classification moduleGAnd L in the full connection layerFAdding a new Softmax layer for the network model I to adapt to the target domain data set
Figure BDA0003284895330000069
Completing network level adjustment and constructing new network I2As shown in fig. 3.
Training set using target domain data
Figure BDA00032848953300000610
For new network 12Training and updating Softmax layer
Figure BDA00032848953300000611
Pass the target domain test set
Figure BDA00032848953300000612
And testing the network, finishing the transfer learning if the testing effect is ideal, and otherwise, continuing to perform network iteration and performing back propagation until the network achieves the ideal effect on the testing set.
S43, network I2Fine tuning is performed by locking feature classification modules D, and L1,L2,L3Weight parameter of layer, unfreezing L4Layer parameters, obtaining network I after fine adjustment3As shown in fig. 4.
Training a data set using a target domain
Figure BDA0003284895330000071
To network I3Training is carried out to enable the network to extract deep abstract features from the target domain data set
Figure BDA0003284895330000072
Via the full connection layer LFSoftmax layer
Figure BDA0003284895330000073
And outputting the fault probability distribution of each fault type of the target domain, wherein the maximum probability of the fault probability distribution corresponds to the fault type and serves as a diagnosis result.
S44, real-time obtaining step S3SoftwareThe original fault signal of the system is transmitted to the network I in step S433And obtaining a fault monitoring result of the current software system.
The invention also provides a system load diagnosis system based on the deep convolution transfer learning software, which comprises: the system comprises a source domain sample data set construction module, a source domain data set construction module, a target domain data set construction module and a fault monitoring module;
a source domain data set construction module collects a software system load data set under the existing load S and constructs a source domain sample data set;
the source domain data set construction module performs point number segmentation on each group of original response time to construct a source domain data set;
the target domain data set construction module constructs a target domain sample data set, and performs point segmentation on each group of original response time in the target domain sample data set to construct a target domain data set;
and the fault monitoring module carries out fault monitoring on the software system by using the deep convolution transfer learning on the source domain data set and the target domain data set.
In the above embodiment, in the fault monitoring module, the fault monitoring includes the following steps:
training set of source domain data
Figure BDA0003284895330000074
Inputting one-dimensional deep convolution neural network I to pre-train and initialize network parameters, and passing through a source domain test set
Figure BDA0003284895330000075
Testing the network effect of the network, if the test effect is ideal, pre-training to complete the determination of parameters and complete the training of the network, otherwise, continuously adjusting the network to perform back propagation and continuously updating the parameters until the network achieves the ideal effect on the test set to complete the training;
targeting domain dataset M using convolutional neural network hierarchyTPerforming transfer learning, freezing a feature extraction module S of the network model I and a global mean pooling layer L in the feature classification moduleGAnd L in the full connection layerFAdding a new Softmax layer for the network model I to adapt to the target domain data set
Figure BDA0003284895330000076
Completing network level adjustment and constructing new network I2
To network I2Fine tuning is performed by locking feature classification modules D, and L1,L2,L3Weight parameter of layer, unfreezing L4Layer parameters, obtaining network I after fine adjustment3
Acquiring original fault signals of the software system in real time and transmitting the signals to a network I3And obtaining a fault monitoring result of the current software system.
In conclusion, the invention constructs the one-dimensional deep convolutional neural network, performs the migration learning by utilizing the hierarchical structure of the one-dimensional convolutional neural network, and provides the software system fault monitoring method based on the deep convolutional migration learning. The invention uses the existing source domain data set to pre-train the one-dimensional convolutional neural network, and uses the hierarchical structure of the one-dimensional convolutional neural network to complete the transfer learning of the target domain data set.
Finally, the above embodiments are only intended to illustrate the technical solutions of the present invention and not to limit the present invention, and although the present invention has been described in detail with reference to the preferred embodiments, it will be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions, and all of them should be covered by the claims of the present invention.

Claims (10)

1. A method for monitoring system faults based on deep convolution transfer learning software is characterized in that: the method comprises the following steps:
s1: collecting a software system load data set under the existing load S, and constructing a source domain sample data set;
s2: point division is carried out on each group of original response time, and a source domain data set is constructed;
s3: constructing a target domain sample data set, and performing point segmentation on each group of original response time in the target domain data set to construct a target domain data set;
s4: and carrying out fault monitoring on the software system by using the source domain data set and the target domain data set through deep convolution transfer learning.
2. The method for monitoring the system fault based on the deep convolution transfer learning software according to claim 1, characterized in that: in step S1, the software system load sample data set under the existing load S is classified into w states according to the fault type, and the original response time under each fault type
Figure FDA0003284895320000011
Where w represents the data class, w is 1, 2, 3 … n, x0~xnRepresented as the 1 st to n +1 th group fault signals in the w fault state.
3. The method for monitoring the system fault based on the deep convolution transfer learning software according to claim 1, characterized in that: in the step S2, the source domain data set construction method includes the steps of:
s21: setting a window sliding step length s and a window length l according to the number N of data points, and generating a sample number t; sample di={X0,X1,X2,...XL1, 2, 3, ·, t; obtaining a source domain data set M from a samples={d1,,,d2,,d3,...dt,};
S22: setting a source domain test set in a source domain data set
Figure FDA0003284895320000012
And source domain training set
Figure FDA0003284895320000013
R, the source domain training set
Figure FDA0003284895320000014
Sample number a ═ t · r, source domain test set
Figure FDA0003284895320000015
The sample number b is t (1-r).
4. The method for monitoring the system fault based on the deep convolution transfer learning software according to claim 1, characterized in that: in step S3, the machine response time of the software system under different loads in four states of normal operation, data abnormality, local user abnormality and downtime is collected
Figure FDA0003284895320000016
Constructing a target domain sample data set according to the machine response time
Figure FDA0003284895320000017
Wherein, w' is 1, 2, 3, 4, which respectively represents four states of normal operation state, program data abnormity, local error and downtime.
5. The method for monitoring the system fault based on the deep convolution transfer learning software according to claim 4, characterized in that: setting window sliding step length and window length, and constructing a target domain data set MT(ii) a Setting the proportion of the test set and the training set, and constructing a target domain data training set
Figure FDA0003284895320000018
And target domain data test set
Figure FDA0003284895320000019
6. The method for monitoring the system fault based on the deep convolution transfer learning software according to claim 1, characterized in that: in step S4, the fault monitoring includes the following steps:
s41: training source domain data
Figure FDA00032848953200000110
Inputting a set of one-dimensional depth convolution neural network I to pre-train and initialize network parameters, and testing the set through a source domain
Figure FDA00032848953200000111
Testing the network effect, if the testing effect is ideal, pre-training to finish determining parameters and finishing training the network, otherwise, continuously adjusting the network to perform back propagation and continuously updating the parameters until the network achieves the ideal effect on the test set to finish training;
s42: targeting domain dataset M using convolutional neural network hierarchyTPerforming transfer learning, freezing the global mean pooling layer L in the feature extraction module and the feature classification module of the one-dimensional deep convolutional neural network IGAnd L in the full connection layerFThe weight parameter of (2) is a network model IAdding a new Softmax layer to the target domain dataset
Figure FDA0003284895320000021
Completing network level adjustment and constructing new network I2
S43: to network I2Fine tuning is performed by locking feature classification modules D, and L1,L2,L3Weight parameter of layer, unfreezing L4Layer parameters, obtaining network I after fine adjustment3
S44: acquiring original fault signals of the software system in real time and transmitting the signals to a network I3And obtaining a fault monitoring result of the current software system.
7. The method for monitoring the system fault based on the deep convolution transfer learning software according to claim 6, characterized in that: the one-dimensional depth convolution neural network I model construction method in the step S41 comprises the following steps:
(1) construction of a convolution pooling layer Lj
Lj={Cj,Pj,Bj}
In the formula, Cj、Pj、BjThe convolution layer, the pooling layer and the normalization layer are respectively used for feature extraction; j is the number of the convolution pooling module;
(2) stacking 4 convolution pooling layers to construct a feature extraction module S', S ═ L1,L2,L3,L4};
(3) Adding a characteristic classification module D, D ═ LG,LF,LsoftmaxThe feature classification module comprises a global mean pooling layer LGAll-connected layer LFSoftmax layer
Figure FDA0003284895320000022
And completing the network construction.
8. The software system fault monitoring method based on deep convolution migration learning according to claim 6,the method is characterized in that: in the step S43, a target domain training data set is used
Figure FDA0003284895320000023
To network I3Training is carried out to enable the network to extract deep abstract features from the target domain data set
Figure FDA0003284895320000024
Via the full connection layer LFSoftmax layer
Figure FDA0003284895320000025
And outputting the fault probability distribution of each fault type of the target domain, wherein the maximum probability of the fault probability distribution corresponds to the fault type and serves as a diagnosis result.
9. A load diagnosis system based on a deep convolution migration learning software system is characterized in that: the system comprises a source domain sample data set construction module, a source domain data set construction module, a target domain data set construction module and a fault monitoring module;
the source domain sample data set construction module collects a software system load data set under the existing load S and constructs a source domain sample data set;
the source domain data set construction module performs point number segmentation on each group of original response time to construct a source domain data set;
the target domain data set construction module constructs a target domain sample data set, and performs point segmentation on each group of original response time in the target domain data set to construct a target domain sample data set;
and the fault monitoring module carries out fault monitoring on the software system by using the deep convolution transfer learning on the source domain data set and the target domain data set.
10. The deep convolution transfer learning-based software system load diagnosis system according to claim 9, wherein: when the fault monitoring module carries out fault detection, the fault monitoring method comprises the following steps: training set of source domain data
Figure FDA0003284895320000031
Inputting one-dimensional deep convolution neural network I to pre-train and initialize network parameters, and passing through a source domain test set
Figure FDA0003284895320000032
Testing the network effect of the network, if the test effect is ideal, pre-training to complete the determination of parameters and complete the training of the network, otherwise, continuously adjusting the network to perform back propagation and continuously updating the parameters until the network achieves the ideal effect on the test set to complete the training; performing transfer learning on the target domain data set MT by using the hierarchical structure of the convolutional neural network, freezing the global mean pooling layer L in the feature extraction module S 'and the feature classification module S' of the one-dimensional deep convolutional neural network IGAnd L in the full connection layerFAdding a new Softmax layer for the network model I to adapt to the target domain data set
Figure FDA0003284895320000033
New network I is constructed by adjusting transmission completion network level2(ii) a Acquiring original fault signals of the software system in real time and transmitting the signals to a network I3And obtaining a fault monitoring result of the current software system.
CN202111157772.2A 2021-09-28 2021-09-28 Fault monitoring method and system based on deep convolution migration learning software system Pending CN113778811A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111157772.2A CN113778811A (en) 2021-09-28 2021-09-28 Fault monitoring method and system based on deep convolution migration learning software system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111157772.2A CN113778811A (en) 2021-09-28 2021-09-28 Fault monitoring method and system based on deep convolution migration learning software system

Publications (1)

Publication Number Publication Date
CN113778811A true CN113778811A (en) 2021-12-10

Family

ID=78854917

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111157772.2A Pending CN113778811A (en) 2021-09-28 2021-09-28 Fault monitoring method and system based on deep convolution migration learning software system

Country Status (1)

Country Link
CN (1) CN113778811A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114239733A (en) * 2021-12-21 2022-03-25 华中科技大学 Machine tool response modeling method and system based on transfer learning and response prediction method
CN114782362A (en) * 2022-04-20 2022-07-22 广州东焊智能装备有限公司 Intelligent welding detection system based on deep migration learning

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2185908A1 (en) * 1994-04-12 1995-10-19 Brent Gregory Architecture and methods for a hardware description language source level analysis and debugging system
US20040117392A1 (en) * 2002-12-16 2004-06-17 Hermann Burgmeier Value mapping
CN110751186A (en) * 2019-09-26 2020-02-04 北京航空航天大学 Cross-project software defect prediction method based on supervised expression learning
US20200150622A1 (en) * 2018-11-13 2020-05-14 Guangdong University Of Technology Method for detecting abnormity in unsupervised industrial system based on deep transfer learning
CN112163640A (en) * 2020-10-30 2021-01-01 北京信息科技大学 Planetary gearbox fault diagnosis method and system based on deep convolution migration learning

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2185908A1 (en) * 1994-04-12 1995-10-19 Brent Gregory Architecture and methods for a hardware description language source level analysis and debugging system
US20040117392A1 (en) * 2002-12-16 2004-06-17 Hermann Burgmeier Value mapping
US20200150622A1 (en) * 2018-11-13 2020-05-14 Guangdong University Of Technology Method for detecting abnormity in unsupervised industrial system based on deep transfer learning
CN110751186A (en) * 2019-09-26 2020-02-04 北京航空航天大学 Cross-project software defect prediction method based on supervised expression learning
CN112163640A (en) * 2020-10-30 2021-01-01 北京信息科技大学 Planetary gearbox fault diagnosis method and system based on deep convolution migration learning

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
宫丽娜等: "软件缺陷预测技术研究进展", 《软件学报》 *
电视中心工艺技术系统建设丛书编委会: "《电视中心工艺技术系统建设测量与测试》", 31 December 2017 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114239733A (en) * 2021-12-21 2022-03-25 华中科技大学 Machine tool response modeling method and system based on transfer learning and response prediction method
CN114782362A (en) * 2022-04-20 2022-07-22 广州东焊智能装备有限公司 Intelligent welding detection system based on deep migration learning
CN114782362B (en) * 2022-04-20 2023-07-18 广州东焊智能装备有限公司 Welding intelligent detection system based on deep migration learning

Similar Documents

Publication Publication Date Title
Zhao et al. Deep multi-scale convolutional transfer learning network: A novel method for intelligent fault diagnosis of rolling bearings under variable working conditions and domains
Li et al. A systematic review of deep transfer learning for machinery fault diagnosis
Tang et al. A novel adaptive convolutional neural network for fault diagnosis of hydraulic piston pump with acoustic images
Xu et al. Fault diagnosis of rolling bearing of wind turbines based on the variational mode decomposition and deep convolutional neural networks
Wang et al. Attention-guided joint learning CNN with noise robustness for bearing fault diagnosis and vibration signal denoising
He et al. Ensemble transfer CNNs driven by multi-channel signals for fault diagnosis of rotating machinery cross working conditions
Ren et al. A novel model with the ability of few-shot learning and quick updating for intelligent fault diagnosis
CN112163640A (en) Planetary gearbox fault diagnosis method and system based on deep convolution migration learning
WO2024021246A1 (en) Cross-device incremental bearing fault diagnosis method based on continuous learning
CN108256556A (en) Wind-driven generator group wheel box method for diagnosing faults based on depth belief network
Su et al. Hierarchical diagnosis of bearing faults using branch convolutional neural network considering noise interference and variable working conditions
CN110554657A (en) Health diagnosis system and diagnosis method for operation state of numerical control machine tool
Qin et al. A new supervised multi-head self-attention autoencoder for health indicator construction and similarity-based machinery RUL prediction
CN113778811A (en) Fault monitoring method and system based on deep convolution migration learning software system
CN114297918A (en) Aero-engine residual life prediction method based on full-attention depth network and dynamic ensemble learning
CN114429152A (en) Rolling bearing fault diagnosis method based on dynamic index antagonism self-adaption
CN116593157A (en) Complex working condition gear fault diagnosis method based on matching element learning under small sample
Lv et al. Deep transfer network with multi-kernel dynamic distribution adaptation for cross-machine fault diagnosis
CN108805195A (en) A kind of motor group method for diagnosing faults based on two-value deep-neural-network
Wei et al. WSAFormer-DFFN: A model for rotating machinery fault diagnosis using 1D window-based multi-head self-attention and deep feature fusion network
Zhu et al. A transfer learning method using high-quality pseudo labels for bearing fault diagnosis
WO2019178930A1 (en) Fault diagnosis method for mechanical device
Chang et al. Temporal convolution-based sorting feature repeat-explore network combining with multi-band information for remaining useful life estimation of equipment
CN109726770A (en) A kind of analog circuit fault testing and diagnosing method
Zheng et al. An unsupervised transfer learning method based on SOCNN and FBNN and its application on bearing fault diagnosis

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20211210