Aircraft hazard identification method based on hybrid deep neural network

Through the multi-time window convolution bidirectional long short-term memory network model based on the hybrid deep neural network, the potential dangers of civil aircraft are identified, which solves the problem of inaccurate risk identification in the existing technology and achieves higher identification accuracy and safety. .

CN112330114BActive Publication Date: 2024-09-24NANJING AIRWORTHINESS RESEARCH INSTITUTE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011162423.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-27
Publication Date
2024-09-24
Estimated Expiration
2040-10-27

AI Technical Summary

Technical Problem

Existing technology fails to effectively identify potential hazards of civil aircraft and lacks specific risk identification methods, which affects the accuracy and preventability of risk management.

Method used

A method based on hybrid deep neural networks is used to construct a multi-time window hazard identification model through the combination of convolutional bidirectional long short-term memory network and fully connected neural network. The sliding time window method is used to preprocess historical monitoring data, extract features and Carry out hazard identification.

Benefits of technology

It improves the accuracy and forward-lookingness of hazard identification, enhances the safety of civil aircraft, and provides specific implementation methods for risk management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112330114B
    Figure CN112330114B
Patent Text Reader

Abstract

The present invention discloses a hazard identification method based on a hybrid deep neural network, comprising the following steps: collecting historical message data through an aircraft communication addressing and reporting system and performing normalization processing; preprocessing the normalized data using a sliding time window method, and dividing the preprocessed data into training data and test data; constructing a hybrid deep neural network, which is composed of a convolutional bidirectional long short-term memory network basic model and a fully connected neural network integrated model; training the hybrid deep neural network with training data; testing the trained hybrid deep neural network with test data, and completing the hazard identification function based on the output of the basic model using a fully connected neural network. The method of the present invention effectively improves the accuracy of hazard identification and has important theoretical and application value for civil aircraft risk management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the application of deep neural networks and the field of civil aviation risk management, and specifically to the establishment of a hazard identification model based on a multi-time window convolutional bidirectional long short-term memory network and the implementation of hazard identification for civil aircraft. Background Art

[0002] The Civil Aviation Administration of China (CAAC) pointed out in the "Requirements for Safety Management Systems for Aviation Operators" (AC-121 / 135-FS-2008-26) that the risk management process includes hazard identification, risk analysis, risk assessment and risk control. Hazard identification is the basis of risk management. Only by accurately identifying the existing or potential hazards of the aircraft can subsequent aircraft risk analysis and assessment be carried out. Based on the results of the risk analysis, a risk mitigation plan can be formulated to reduce safety accidents. The International Civil Aviation Organization (ICAO) emphasizes in the safety management system (SMS) that the identification of hazards should be proactive and forward-looking. ICAO also recommends that hazards that have not yet occurred must be actively identified. However, aviation organizations have not yet provided specific implementation methods for hazard identification. The method proposed in the present invention realizes proactive hazard identification while improving the accuracy of hazard identification.

[0003] Deep learning, also known as deep machine learning, deep structured learning, and hierarchical learning, is a type of machine learning algorithm that effectively trains deep neural networks and can be used to perform high-level abstract modeling of data. Deep neural networks can learn appropriate and effective features from large amounts of complex data. These features often achieve excellent results in solving practical problems, making deep learning widely favored by academia and industry. In the aviation field, deep learning algorithms have been maturely applied to remaining life prediction, engine vibration prediction, and aircraft landing speed prediction. There are still few reports on the application of deep learning in actual risk and hazard identification. Summary of the invention

[0004] The purpose of the present invention is to provide a hazard identification method based on a hybrid deep neural network, which utilizes the good feature self-learning characteristics of deep learning to extract features from historical monitoring data of civil aircraft, and on the basis of the extracted effective features, identifies possible hazards of civil aircraft to improve the safety of civil aircraft.

[0005] To achieve the above object, the technical solution adopted by the present invention is:

[0006] A hazard identification method based on a hybrid deep neural network comprises the following steps:

[0007] Step 1, data collection and normalization: collect historical message data through the aircraft communication addressing and reporting system, perform normalization, remove the unit restriction of the data, and convert it into dimensionless pure numerical value;

[0008] Step 2, data preprocessing: Use the sliding time window method to preprocess the normalized data respectively, and divide the preprocessed data into training data and test data. Then, based on the integrated structure of the hybrid deep neural network, the training data is divided into two parts: training data 1 and training data 2. Training data 1 is used for training the basic model of the convolutional bidirectional long short-term memory network, and training data 2 is used for training the fully connected neural network integrated model; the test data is used for testing the recognition effect of the final hybrid deep neural network;

[0009] Step 3: Construction of hybrid deep neural network: The hybrid deep neural network consists of two parts. The first part is three convolutional bidirectional long short-term memory network basic models with different time window sizes, and the second part is a fully connected neural network integration model.

[0010] Step 4, hybrid deep neural network training: Use the training data 1 and training data 2 obtained in step 2 to train the hybrid deep neural network constructed in step 3; first, use the training data 1 to train three different basic models, then input the training data 2 into the trained basic model to obtain preliminary hazard identification results, and finally, use the preliminary hazard identification results to train the fully connected neural network integration model;

[0011] Step 5, hybrid deep neural network test: Use the test data obtained in step 2 to test the hybrid deep neural network trained in step 4. Based on the output of the basic model, use the fully connected neural network to complete the hazard identification function.

[0012] In step 1, the steps of data collection and normalization are:

[0013] Step 11: Assume that there are i parameters in the collected message data, each parameter contains j data, and determine the maximum value x of each parameter. i,max and the minimum value x i,min ;

[0014] Step 12: Calculate the normalized parameter value using the following formula:

[0015]

[0016] In step 2, the steps of preprocessing the normalized data using the sliding time window method are as follows:

[0017] Step 21, the three different time window sizes selected are S TW 1, STW 2 and S TW 3. The collected data contains N consecutive time points;

[0018] Step 22, preprocess the data using the sliding time window method, from 1 to S TW The data at 1 time point is used as the first set of input data, and the data at S TW The risk value at the 1+1 time point is used as the output value corresponding to the first set of data; slide back one time point, the 2nd to S TW The data of 1+1 time points are used as the second set of input data. TW The risk value at 1+2 time points is used as the output value corresponding to the second set of data. By analogy, we finally get n1 sets of time windows with a size of S. TW 1 data;

[0019] Step 23, with the time window size S TW 2. Repeat step 22 to obtain n2 groups of time windows with a size of S TW 2 data;

[0020] Step 24, with the time window size S TW 3. Repeat step 22 to obtain n3 groups of time windows with a size of S TW 3 data;

[0021] Step 25, the size of the n1 group time window obtained from step 22 is S TW 1, select the data from n1-T to n1 as test data; select the data from n1-TB to n1-T-1 as training data 2; and the remaining data as training data 1;

[0022] Step 26, the size of the n2 group time window obtained from step 23 is S TW 2, select the data from n2-T to n2 as test data; select the data from n2-TB to n2-T-1 as training data 2; and the remaining data as training data 1;

[0023] Step 27, the size of the n3 group time window obtained from step 24 is S TW 3, select the n3-T to n3 groups of data as test data; select the n3-TB to n3-T-1 groups of data as training data 2; the remaining data as training data 1;

[0024] Step 28, merging the 3*T groups of training data 2 obtained in steps 25 to 27 according to the time point of outputting the risk value to obtain T groups of new training data 2, where each group of data in the training data 2 includes input data of three time window sizes and one output data;

[0025] Step 29, merging the 3*B group test data obtained in steps 25 to 27 according to the time point of outputting the danger value to obtain B group test data, where each group of test data contains input data of three time window sizes and one output data.

[0026] In step 3, the steps of constructing the hybrid deep neural network are as follows:

[0027] Step 31, construction of basic model: the hybrid deep neural network has three convolutional bidirectional long short-term memory network basic models with different time window sizes. The network structure of each basic model is the same, consisting of a convolution-pooling layer, a bidirectional long short-term memory network layer and a fully connected layer. Each layer of the basic model is constructed separately;

[0028] Step 32, construction of a fully connected neural network integration model: establish l layers of fully connected layers, the number of neurons in each layer decreases layer by layer, and the fully connected neural network is Operation, the operation result is connected with the softmax classifier to complete the final recognition task; among them, fc l is the output of the lth layer, δ(·) is the activation function, and are the weight matrix and bias respectively.

[0029] The step 31 comprises:

[0030] Step 311, construction of convolution-pooling layer: establish l convolution-pooling layers, and set the number of convolution layer filters to the corresponding time window size S TW , the pooling window size is S; the convolution layer performs convolution operation Extract data features and input the feature map obtained by the convolution layer into the pooling layer for maximum pooling operation in represents the feature map of the nth filter obtained at layer l, represents the ReLU activation function, represents the mth feature map of the l-1th layer, represents the convolution kernel of the nth filter in the l-1th layer, represents the bias, S is the pooling layer window size, is the value obtained by the nth filter of the ith neuron in the l-1th layer, It is the feature map obtained by the nth filter in the l-1th layer;

[0031] Step 312, construction of a bidirectional LSTM network layer: The bidirectional LSTM network consists of a forward LSTM network and a backward LSTM network, which have the same input but transmit information in opposite directions; the number of neurons in the bidirectional LSTM network is set to the corresponding time window size S TW ; The LSTM network consists of three gate functions, a hidden state unit and a memory state unit; o t =σ(W o ·[h t-1 ,x t ]+b o ) is the output gate function, f t =σ(W f ·[h t-1 ,x t ]+b f ) is the forget gate function, i t =σ(W i ·[h t-1 ,x t ]+b i ) is the input gate function, and the hidden state unit is The memory state unit is in, is the memory state unit value of the current input value, c t-1 is the memory state unit value of the input value at the previous time point, σ is the sigmoid function, W o and b o is the weight matrix and bias of the output gate function, W f and b f is the weight matrix and bias of the forget gate function, W i and b i is the weight matrix and bias of the input gate function, W c and b c are the weight matrices and biases of the memory cells, Represents the vector product of two vectors;

[0032] In the bidirectional LSTM network structure, the same input data is input into the forward LSTM network layer and the backward LSTM network layer to calculate the hidden state h of the forward LSTM network layer. t =LSTM(x t ,h t-1 ) and the hidden state h′ of the backward LSTM network layer t =LSTM(x t ,h′ t+1 ); Then, the two hidden states are concatenated to calculate the output o of the bidirectional LSTM network layer t =W ho ht +W h′o h′ t +b′ o ; where LSTM(·) represents the operation defined in long short-term memory, W ho and W h′o Represent the weights of the forward LSTM network layer and the backward LSTM network layer, b′ o Represents the bias of the output layer;

[0033] Step 313, construction of fully connected layer: establish l layers of fully connected layer, and the number of neurons in the first layer is set to the corresponding time window size S TW , the number of neurons in other layers decreases layer by layer, and the fully connected layer is connected with the softmax classifier to complete the preliminary recognition task.

[0034] In step 4, the steps of hybrid deep neural network model training are as follows:

[0035] Step 41, parameter initialization: use the standardized Glorot initializer to initialize the weights in the bidirectional long short-term memory network layer, and the standardized He initializer to initialize the weights of other layers; set the batch size n batch , the maximum number of training iterations n epoch ; Use Dropout and Early stopping methods to avoid overfitting, and the Dropout rate is set to 0.5;

[0036] Step 42, input the training data 1 into the corresponding basic model for training to obtain a recognition result;

[0037] Step 43, calculate the loss function Where B is the number of samples, T s represents the true label value of the sth sample, and y represents the output of the softmax classifier;

[0038] Step 44, updating basic model parameters;

[0039] Step 45, repeat steps 42 to 44 until the Early Stopping condition is met or the maximum number of iterations is reached, and finally a basic model with complete training is obtained;

[0040] Step 46, input the training data 2 into the trained basic model to obtain a preliminary recognition result, and then input the obtained preliminary recognition result into the fully connected neural network integration model for training to obtain a recognition result;

[0041] Step 47, calculating the loss function and updating the integrated model parameters;

[0042] Step 48, repeat steps 46 and 47 until the Early Stopping condition is met or the maximum number of iterations is reached, and finally a trained hybrid deep neural network is obtained.

[0043] In step 5, the steps of hybrid deep neural network testing are as follows:

[0044] Step 51, inputting the input data of three different time window sizes in the test data into the corresponding basic models respectively to obtain preliminary recognition results;

[0045] Step 52, input the preliminary identification result into the fully connected neural network integration model to obtain the final hazard identification result.

[0046] Step 53, compare the danger identification result obtained by the hybrid deep neural network with the actual danger value to analyze the identification effect.

[0047] Beneficial effects: The present invention utilizes the good feature self-learning characteristics of deep learning to extract features from historical monitoring data of civil aircraft. Based on the extracted effective features, the present invention identifies the possible dangers of civil aircraft and improves the safety of civil aircraft. The method of the present invention effectively improves the accuracy of hazard identification and has important theoretical and application value for civil aircraft risk management. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 The method flow of the present invention;

[0049] Figure 2 The format of historical message data;

[0050] Figure 3 Identify results for hazards

[0051] Figure 4 This is the ROC analysis result. DETAILED DESCRIPTION

[0052] The present invention will be further explained below in conjunction with the accompanying drawings.

[0053] like Figure 1 As shown, an aircraft hazard identification method based on a hybrid deep neural network of the present invention comprises the following steps:

[0054] Step 1, data collection and normalization: First, collect historical message data through the aircraft communication addressing and reporting system. The format of the message is as follows: Figure 2 As shown in the figure, there are 20 valid parameters involved. Then, the parameters that remain constant during the operation of the aircraft and the parameters representing the control signal are manually deleted. After deleting the relevant parameters, there are 11 parameters left. Finally, the unit restriction of the data is removed through normalization and converted into dimensionless pure values.

[0055] The steps of normalization are:

[0056] (1.1) Assume that there are i parameters in the collected message data, each parameter contains j data, and determine the maximum value x of each parameter i,max and the minimum value x i,min .

[0057] (1.2) Calculate the normalized parameter value

[0058] Step 2, data preprocessing: Use the sliding time window method to further preprocess the normalized data; the normalized data is divided into training data and test data; then, based on the proposed integrated structure of the hybrid deep neural network, the training data is divided into two parts: training data 1 and training data 2; training data 1 is used to train the basic model of the convolutional bidirectional long short-term memory network; training data 2 is used to train the fully connected neural network integrated model; the test data is used to test the recognition effect of the hybrid deep neural network. The specific steps are as follows:

[0059] (2.1) The three different time window sizes selected are S TW 1=10,S TW 2 = 20 and S TW 3 = 30, the message data of P = 4 aircraft are collected, and the message data of the 4 aircraft contain N1 = 671, N2 = 407, N3 = 787 and N4 = 716 consecutive time points respectively;

[0060] (2.2) The data is further processed using the sliding time window method. The data from the 1st to 10th time points are used as the first set of input data, and the risk value at the 11th time point is used as the output value corresponding to the first set of data; sliding back one time point, the data from the 2nd to 11th time points are used as the second set of input data, and the risk value at the 12th time point is used as the output value corresponding to the second set of data. This is repeated in this way, and finally n1=1813 groups of time windows with a size of S are obtained. TW 1 = 10 data;

[0061] (2.3) With a time window size of 20, repeat step (2.2) to obtain n2 = 1723 groups of time window sizes S TW 2 = 20 data;

[0062] (2.4) With a time window size of 30, repeat step (2.2) to obtain n3=1647 groups of time window sizes S TW 3 = 30 data;

[0063] (2.5) The n1=1813 group time window size obtained from step (2.2) is S TW 1=10 data, select the n1-T to n1 groups of data as test data, and select T=236 groups of test data in total; select the n1-TB= to n1-T-1 groups of data as training data 2, and select B=472 groups of training data 2 in total; the remaining data is used as training data 1;

[0064] (2.6) The size of the n2 group time window obtained from step (2.3) is S TW 2=20 data, select the n2-T to n2 groups of data as test data, and select T=236 groups of test data in total; select the n2-TB to n2-T-1 groups of data as training data 2, and select B=472 groups of training data 2 in total; the remaining data is used as training data 1;

[0065] (2.7) The size of the n3 group time window obtained from step (2.4) is S TW 3=30 data, select the n3-T to n3 groups of data as test data, and select T=236 groups of test data in total; select the n3-TB to n3-T-1 groups of data as training data 2, and select B=472 groups of training data 2 in total; the remaining data is used as training data 1;

[0066] (2.8) The 3*T groups of training data 2 obtained in steps (2.5) to (2.7) are merged according to the time point of outputting the risk value to obtain T groups of new training data 2. Each group of data in the training data 2 contains input data of three time window sizes and one output data;

[0067] (2.9) The 3*B group test data obtained in steps (2.5) to (2.7) are merged according to the time point of outputting the risk value to obtain the B group test data. Each group of test data contains input data of three time window sizes and one output data.

[0068] Step 3, hybrid deep neural network construction: The hybrid deep neural network consists of two parts. The first part is three convolutional bidirectional long short-term memory network basic models with different time window sizes. The network structure of each basic model is the same, which is divided into convolution-pooling layer, bidirectional long short-term memory network layer and fully connected layer; the second part is a fully connected neural network integration model, which consists of multiple layers of fully connected layers. The specific steps are as follows:

[0069] (3.1) Construction of basic models: The hybrid deep neural network has three basic models with different time window sizes. Each basic model consists of a convolution-pooling layer, a bidirectional long short-term memory network layer, and a fully connected layer. Each layer of the basic model needs to be constructed separately;

[0070] (3.1.1) Convolutional layer construction: l = 1 convolution-pooling layer is established, and the number of convolutional layer filters is set to the corresponding time window size S TW ∈{10,20,30}, the pooling window size is S=2×1. The convolution layer performs convolution operations Extract data features and input the feature map obtained by the convolution layer into the pooling layer for maximum pooling operation in represents the feature map of the nth filter obtained at layer l, represents the ReLU activation function, represents the mth feature map of the l-1th layer, represents the convolution kernel of the nth filter in the l-1th layer, represents the bias, S is the pooling layer window size, is the value obtained by the nth filter of the ith neuron in the l-1th layer, It is the feature map obtained by the nth filter in the l-1th layer;

[0071] (3.1.2) Construction of the bidirectional LSTM network layer. The bidirectional LSTM network consists of a forward LSTM network and a backward LSTM network. They have the same input but transmit information in opposite directions. The number of neurons in the bidirectional LSTM network is set to the corresponding time window size S TW ∈{10,20,30}. The LSTM network consists of three gate functions, a hidden state unit and a memory state unit. t =σ(W o ·[h t-1 ,x t ]+b o ) is the output gate function, f t =σ(W f ·[h t-1 ,x t ]+b f ) is the forget gate function, i t =σ(W i ·[h t-1 ,x t ]+b i ) is the input gate function, and the hidden state unit is The memory state unit is in, is the memory state unit value of the current input value, c t-1 is the memory state unit value of the input value at the previous time point, σ is the sigmoid function, W o and b o is the weight matrix and bias of the output gate function, W f and bf is the weight matrix and bias of the forget gate function, W i and b i is the weight matrix and bias of the input gate function, W c and b c are the weight matrices and biases of the memory cells, Represents the vector product of two vectors;

[0072] In the bidirectional LSTM network structure, the same input data is input into the forward LSTM network layer and the backward LSTM network layer to calculate the hidden state h of the forward LSTM network layer. t =LSTM(x t ,h t-1 ) and the hidden state h′ of the backward LSTM network layer t =LSTM(x t ,h′ t+1 Then, the two hidden states are concatenated to compute the output o of the bidirectional LSTM layer. t =W ho h t +W h′o h′ t +b′ o . Where LSTM(·) represents the operation defined in long short-term memory, W ho and W h′o Represent the weights of the forward LSTM network layer and the backward LSTM network layer, b′ o Represents the bias of the output layer;

[0073] (3.1.3) Construction of fully connected layers: l = 2 fully connected layers are established, and the number of neurons in the first layer is set to the corresponding time window size S TW ∈{10,20,30}, the number of neurons in the second layer is S TW / 2. The fully connected layer is connected to the softmax classifier to complete the initial recognition task;

[0074] (3.2) Construction of the fully connected neural network integration model. We built l = 3 fully connected layers, and the number of neurons in each layer decreased gradually to 100, 50, and 20 respectively. The operation result is connected with the softmax classifier to complete the final recognition task. l is the output of the lth layer, δ(·) is the activation function, and are the weight matrix and bias respectively.

[0075] Step 4, hybrid deep neural network training: Use the training data 1 and training data 2 obtained in the second step to train the hybrid deep neural network. First, use training data 1 to train three different basic models; then, input training data 2 into the trained basic model to obtain preliminary hazard identification results; finally, use the preliminary hazard identification results to train the fully connected neural network integration model. The specific steps are as follows:

[0076] (4.1) Parameter initialization: Use the standardized Glorot initializer to initialize the weights in the BiLSTM layer and the standardized He initializer to initialize the weights of other layers. Set the batch size n batch =64, maximum number of training iterations n epoch = 100. Use Dropout and Early stopping methods to avoid overfitting. The default Dropout rate is set to 0.5;

[0077] (4.2) Input the training data 1 into the corresponding basic model for training to obtain the recognition result;

[0078] (4.3) Calculate the loss function Where B is the number of samples, T s represents the true label value of the sth sample, and y represents the output of the softmax classifier. The AC25.1309-1 document released by the FAA divides dangers into catastrophic dangers, major dangers (more serious situations), major dangers, and minor dangers. According to the above classification results, the value of y ranges from 1 to 5, where 1 represents no danger, 2 represents minor danger, 3 represents major danger, 4 represents major danger (more serious situations), and 5 represents catastrophic danger;

[0079] (4.4) Update basic model parameters;

[0080] (4.5) Repeat steps (4.2) to (4.4) until the Early Stopping condition is met or the maximum number of iterations is reached, and finally the basic model is trained.

[0081] (4.6) Input the training data 2 into the trained basic model to obtain a preliminary recognition result. Then input the obtained preliminary recognition result into the fully connected neural network integration model for training to obtain a recognition result;

[0082] (4.7) Calculate the loss function and update the integrated model parameters;

[0083] (4.8) Repeat steps (4.6) and (4.7) until the Early Stopping condition is met or the maximum number of iterations is reached, and finally a trained hybrid deep neural network is obtained.

[0084] Step 5: Hybrid deep neural network test: Use the test data obtained in step 2 to test the hybrid deep neural network trained in step 4, and use the fully connected neural network to complete the hazard identification function based on the output of the basic model. The specific steps are as follows:

[0085] (5.1) The input data of three different time window sizes in the test data are input into the corresponding basic models respectively to obtain the preliminary recognition results.

[0086] (5.2) Input the preliminary recognition results into the fully connected neural network integration model to obtain the final hazard recognition results. Figure 3 shown.

[0087] (5.3) The hazard identification results obtained by the hybrid deep neural network are compared with the actual hazard value, and the ROC curve is used to analyze the identification effect. The ROC analysis results are shown in Figure 4 shown.

[0088] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A hazard identification method based on a hybrid deep neural network, characterized in that: The following steps are involved: Step 1, data collection and normalization: collect historical message data through the aircraft communication addressing and reporting system, perform normalization, remove the unit restriction of the data, and convert it into a dimensionless pure value; Step 2, data preprocessing: Use the sliding time window method to preprocess the normalized data respectively, and divide the preprocessed data into training data and test data. Then, based on the integrated structure of the hybrid deep neural network, the training data is divided into two parts: training data 1 and training data 2. Training data 1 is used for training the basic model of the convolutional bidirectional long short-term memory network, and training data 2 is used for training the fully connected neural network integrated model; the test data is used for testing the recognition effect of the final hybrid deep neural network; Step 3: Construction of hybrid deep neural network: The hybrid deep neural network consists of two parts. The first part is three convolutional bidirectional long short-term memory network basic models with different time window sizes, and the second part is a fully connected neural network integration model. Step 4, hybrid deep neural network training: Use the training data 1 and training data 2 obtained in step 2 to train the hybrid deep neural network constructed in step 3; first, use the training data 1 to train three different basic models, then input the training data 2 into the trained basic model to obtain preliminary hazard identification results, and finally, use the preliminary hazard identification results to train the fully connected neural network integration model; Step 5, hybrid deep neural network test: Use the test data obtained in step 2 to test the hybrid deep neural network trained in step 4, and use the fully connected neural network to complete the hazard identification function based on the output of the basic model; In step 1, the steps of data collection and normalization are: Step 11: Assume that there are i parameters in the collected message data, each parameter contains j data, and determine the maximum value x of each parameter. i,max and the minimum value x i,min ; Step 12: Calculate the normalized parameter value using the following formula: In step 2, the steps of preprocessing the normalized data using the sliding time window method are as follows: Step 21, the three different time window sizes selected are S TW 1, S TW 2 and S TW 3. The collected data contains N consecutive time points; Step 22, preprocess the data using the sliding time window method, from 1 to S TW The data at 1 time point is used as the first set of input data, and the data at S TW The risk value at the 1+1 time point is used as the output value corresponding to the first set of data; slide back one time point, the 2nd to S TW The data of 1+1 time points are used as the second set of input data. TW The risk value at 1+2 time points is used as the output value corresponding to the second set of data. By analogy, we finally get n1 sets of time windows with a size of S. TW 1 data; Step 23, with the time window size S TW 2. Repeat step 22 to obtain n2 groups of time windows with a size of S TW 2 data; Step 24, with the time window size S TW 3. Repeat step 22 to obtain n3 groups of time windows with a size of S TW 3 data; Step 25, the size of the n1 group time window obtained from step 22 is S TW 1, select the n1-T to n1 groups of data as test data; Select the data from the n1-TB to n1-T-1 groups as training data 2; the remaining data as training data 1; Step 26, the size of the n2 group time window obtained from step 23 is S TW 2, select the n2-T to n2 groups of data as test data; Select the data from the n2-TB to the n2-T-1 group as training data 2; the remaining data as training data 1; Step 27, the size of the n3 group time window obtained from step 24 is S TW 3, select the n3-T to n3 groups of data as test data; Select the data from n3-TB to n3-T-1 as training data 2; the remaining data as training data 1; Step 28, merging the 3*T groups of training data 2 obtained in steps 25 to 27 according to the time point of outputting the risk value to obtain T groups of new training data 2, where each group of data in the training data 2 includes input data of three time window sizes and one output data; Step 29, merging the 3*B group test data obtained in steps 25 to 27 according to the time point of outputting the danger value to obtain B group test data, where each group of test data contains input data of three time window sizes and one output data; In step 3, the steps of constructing the hybrid deep neural network are as follows: Step 31, construction of basic model: the hybrid deep neural network has three convolutional bidirectional long short-term memory network basic models with different time window sizes. The network structure of each basic model is the same, consisting of a convolution-pooling layer, a bidirectional long short-term memory network layer and a fully connected layer. Each layer of the basic model is constructed separately; Step 32, construction of a fully connected neural network integration model: establish l layers of fully connected layers, the number of neurons in each layer decreases layer by layer, and the fully connected neural network is Operation, the operation result is connected with the softmax classifier to complete the final recognition task; among them, fc l is the output of the lth layer, δ(·) is the activation function, and are the weight matrix and bias respectively; The step 31 comprises: Step 311, construction of convolution-pooling layer: establish l convolution-pooling layers, and set the number of convolution layer filters to the corresponding time window size S TW , the pooling window size is S; the convolution layer performs convolution operation Extract data features and input the feature map obtained by the convolution layer into the pooling layer for maximum pooling operation in represents the feature map of the nth filter obtained at layer l, represents the ReLU activation function, represents the mth feature map of the l-1th layer, represents the convolution kernel of the nth filter in the l-1th layer, represents the bias, S is the pooling layer window size, is the value obtained by the nth filter of the ith neuron in the l-1th layer, It is the feature map obtained by the nth filter in the l-1th layer; Step 312, construction of a bidirectional LSTM network layer: The bidirectional LSTM network consists of a forward LSTM network and a backward LSTM network, which have the same input but transmit information in opposite directions; the number of neurons in the bidirectional LSTM network is set to the corresponding time window size S TW ; The LSTM network consists of three gate functions, a hidden state unit and a memory state unit; o t =σ(W o ·[h t-1 ,x t ]+b o ) is the output gate function, f t =σ(W f ·[h t-1 ,x t ]+b f ) is the forget gate function, i t =σ(W i ·[h t-1 ,x t ]+b i ) is the input gate function, and the hidden state unit is The memory state unit is in, is the memory state unit value of the current input value, c t-1 is the memory state unit value of the input value at the previous time point, σ is the sigmoid function, W o and b o is the weight matrix and bias of the output gate function, W f and b f is the weight matrix and bias of the forget gate function, W i and b i is the weight matrix and bias of the input gate function, W c and b c are the weight matrices and biases of the memory cells, Represents the vector product of two vectors; In the bidirectional LSTM network structure, the same input data is input into the forward LSTM network layer and the backward LSTM network layer to calculate the hidden state h of the forward LSTM network layer. t =LSTM(x t ,h t-1 ) and the hidden state h′ of the backward LSTM network layer t =LSTM(x t ,h′ t+1 ); Then, the two hidden states are concatenated to calculate the output o of the bidirectional LSTM network layer t =W ho h t +W h′o h′ t +b′ o ; where LSTM(·) represents the operation defined in long short-term memory, W ho and W h′o Represent the weights of the forward LSTM network layer and the backward LSTM network layer, b′ o Represents the bias of the output layer; Step 313, construction of fully connected layer: establish l layers of fully connected layer, and the number of neurons in the first layer is set to the corresponding time window size S TW , the number of neurons in other layers decreases layer by layer, and the fully connected layer is connected with the softmax classifier to complete the preliminary recognition task; In step 4, the steps of hybrid deep neural network model training are as follows: Step 41, parameter initialization: use the standardized Glorot initializer to initialize the weights in the bidirectional long short-term memory network layer, and the standardized He initializer to initialize the weights of other layers; set the batch size n batch , the maximum number of training iterations n epoch ; Use Dropout and Early stopping methods to avoid overfitting, and the Dropout rate is set to 0.5; Step 42, input the training data 1 into the corresponding basic model for training to obtain a recognition result; Step 43, calculate the loss function Where B is the number of samples, T s represents the true label value of the sth sample, and y represents the output of the softmax classifier; Step 44, updating basic model parameters; Step 45, repeat steps 42 to 44 until the Early Stopping condition is met or the maximum number of iterations is reached, and finally a basic model with complete training is obtained; Step 46, inputting the training data 2 into the trained basic model to obtain a preliminary recognition result, and then inputting the obtained preliminary recognition result into the fully connected neural network integration model for training to obtain a recognition result; Step 47, calculating the loss function and updating the integrated model parameters; Step 48, repeat steps 46 and 47 until the Early Stopping condition is met or the maximum number of iterations is reached, and finally a trained hybrid deep neural network is obtained.

2. The hazard identification method based on hybrid deep neural network according to claim 1 is characterized in that: In step 5, the steps of hybrid deep neural network testing are as follows: Step 51, inputting the input data of three different time window sizes in the test data into the corresponding basic models respectively to obtain preliminary recognition results; Step 52, inputting the preliminary recognition result into the fully connected neural network integration model to obtain the final hazard recognition result; Step 53, compare the danger identification result obtained by the hybrid deep neural network with the actual danger value to analyze the identification effect.