Container port loading and unloading equipment fault data completion method based on deep learning

By constructing a deep learning model to extract and integrate features from multi-source heterogeneous data of container port loading and unloading equipment, the problem of missing operation and maintenance data was solved, high-precision completion of fault data was achieved, and port operation efficiency was improved.

CN115658671BActive Publication Date: 2024-08-27DALIAN UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211323312.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-27
Publication Date
2024-08-27
Estimated Expiration
2042-10-27

AI Technical Summary

Technical Problem

The difficulty of fault diagnosis of container port loading and unloading equipment has increased, and there are missing operation and maintenance data problems, which affects the efficiency of loading and unloading operations. Existing research lacks effective multi-source heterogeneous data completion methods.

Method used

Construct a high-level feature fusion model based on deep learning, using one-dimensional convolutional neural network (1D-CNN), naive long short-term memory network (LSTM), VGG16 and long-lasting recurrent convolutional network (LRCN) sub-models to analyze structured, Feature extraction and fusion of unstructured and non-time series data are used to identify the reasons for equipment downtime and complete fault data.

Benefits of technology

It achieves high-precision completion of fault data of container port loading and unloading equipment, effectively avoids the impact of missing data on fault identification, and improves port operation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115658671B
    Figure CN115658671B
Patent Text Reader

Abstract

The present invention discloses a method for completing fault data of container port loading and unloading equipment based on deep learning, comprising the following steps: step one: characterization of fault data of container loading and unloading equipment; step two: construction of a high-level feature fusion deep learning model; step three: data completion based on the high-level feature fusion deep learning model. The present invention utilizes a one-dimensional convolutional neural network (1D‑CNN) sub-model, a naive long short-term memory (LSTM) sub-model, and a VGG16 sub-model to process structured non-time series data, time series data, and unstructured image data, respectively, and constructs a long-term recurrent convolutional network (LRCN) sub-model to extract features from unstructured video data, which can effectively complete the completion of fault data of container port loading and unloading equipment. The deep learning model based on high-level feature fusion can provide a theoretical basis for the processing of multi-source heterogeneous data in ports.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of container port loading and unloading equipment fault data completion, and specifically relates to a container port loading and unloading equipment fault data completion method based on deep learning. Background Art

[0002] With the development of economic globalization and world economic integration, the container transportation industry has shown a rapid development momentum in recent years. The continuous increase in the throughput of container ports has put forward higher requirements for the cargo transshipment capacity and loading and unloading efficiency of ports. However, with the continuous complexity of modern industrial equipment and the development of port operations towards intelligence, the structure of large-scale loading and unloading equipment in container ports has become more and more complex, which has increased the difficulty of fault diagnosis. In addition, its working conditions are relatively harsh and it needs to operate continuously under high load and high power conditions. Failures will inevitably occur, causing the stagnation of container port loading and unloading operations, thus becoming a transshipment bottleneck for the container supply chain. The operation and maintenance data of container port loading and unloading equipment includes macro data, micro data and unstructured data, showing the characteristics of multi-source heterogeneity. In addition, due to human operation errors, system failures and other reasons, there is a problem of missing operation and maintenance data, which affects the fault identification of container port loading and unloading equipment and reduces the port operation efficiency. Existing research lacks a method to use multi-source heterogeneous operation and maintenance data of container ports to supplement the fault data of loading and unloading equipment. Summary of the invention

[0003] To solve the above problems, the present invention, based on the analysis of the characteristics of container port operation and maintenance data, aims at the problem that the data on the causes of equipment downtime in the operation and maintenance data are complicated and missing, constructs a deep learning model based on high-level feature fusion, and uses a one-dimensional convolutional neural network (1D Convolutional Neural Network, 1D-CNN) sub-model, a naive long short-term memory (Long Short Term Memory, LSTM) sub-model, and a VGG16 sub-model to process structured non-time series data, time series data and unstructured image data, respectively, and constructs a long-term recurrent convolutional network (LRCN) sub-model to extract features from unstructured video data, perform high-level feature fusion and identify the causes of equipment downtime, thereby completing the fault data completion of container port loading and unloading equipment.

[0004] The technical solution of the present invention:

[0005] A method for completing fault data of container port loading and unloading equipment based on deep learning, the steps are as follows:

[0006] Step 1: Characterization of container loading equipment failure data

[0007] Data is divided into structured data and unstructured data based on data type.

[0008] In the container port operation and maintenance data, structured data mainly includes equipment downtime data, loading and unloading process data, navigation closure data and temperature data, etc.; unstructured data includes image data that can reflect the status of loading and unloading equipment and video data of equipment operation status taken by monitoring. in and They represent structured data sets and unstructured data sets respectively.

[0009] Let the structured data set be Among them, S (s′) ,s′=1,2,…,S′ represents a single-element data set, that is, each sample in the data set contains only one element; M (m′) ,m′=1,2,…,M′ represents a multi-element non-time series data set, that is, each sample in the data set contains multiple elements and there is no time correlation between the elements; T (t′) ,t′=1,2,…,T′ represents a multi-element time series data set, that is, each sample in the data set contains multiple elements and can be processed as a time series.

[0010] The unstructured data set is Among them, I (i′) ,i′=1,2,…,I′ represents the image data set, V (v′) ,v′=1,2,…,V′ represents the video data set.

[0011] The container port loading and unloading equipment downtime cause vector is b = {b1, b2}, where b1 represents the sample set with complete equipment downtime cause data, and b2 represents the sample set with missing equipment downtime cause data. Accordingly, let A = A1∪A2, where A1 is the data set in A corresponding to b1 in data collection time, and A2 is the data set in A corresponding to b2. The kth element b in b1 k The sample corresponding to ∈b1 in A1 is recorded as:

[0012]

[0013] in, Represents a single element data set S (1) The kth sample in .

[0014] Step 2: Building a deep learning model with high-level feature fusion

[0015] The construction process of high-level feature fusion deep learning model mainly includes preprocessing of multi-source heterogeneous data sets (including feature extraction and high-level feature fusion), determination of data labels, and division of data sets;

[0016] (1) Extract features from each data set based on the data type in the data chassis

[0017] (1.1) Single-element data set

[0018] Single element data set S (s′) Each sample of ,s′=1,2,…S′ contains only one element, which can be directly used as the input of high-level feature fusion of deep learning model, and its output is recorded as

[0019] (1.2) Multi-element non-time series data set

[0020] One-dimensional convolutional neural network (1D-CNN) model is often used to process multi-element non-time series data sets. The present invention utilizes a one-dimensional convolutional neural network (1D-CNN) sub-model to extract features from multi-element non-time series data sets.

[0021] After the 1D-CNN sub-model, the model input will be converted into a length of A one-dimensional vector, that is As an input for high-level feature fusion.

[0022] (1.3) Multi-element time series data set

[0023] The long short-term memory neural network model (LSTM) is a widely used model in deep learning methods. The naive long short-term memory network model refers to a model that only contains one LSTM layer. The present invention uses a naive LSTM sub-model to extract features from a multi-element time series data set.

[0024] After the naive LSTM sub-model, the model input It will be transformed into a one-dimensional vector of length n, that is As an input for high-level feature fusion.

[0025] (1.4) Image Data Set

[0026] Image Data Set I (i′) , i′=1,2,…,each sample of I′ is an RGB image. The VGG16 model is a typical two-dimensional convolutional neural network, including 16 parameter layers. The present invention uses the VGG16 sub-model to extract features from image data.

[0027] After passing through the VGG16 sub-model, a one-dimensional vector with a length of 4096 is output, recorded as As an input for high-level feature fusion.

[0028] (1.5) Video Data Collection

[0029] Each sample of the video data set is a video, and there is a temporal correlation between different frame images of the video. The convolutional neural network-long short-term memory (CNN-LSTM) model is usually used for processing, but this method may cause information loss and affect the prediction accuracy. To solve this problem, the present invention constructs a long-term recurrent convolutional network (LRCN) sub-model to extract features from video data. The model uses a two-dimensional convolutional long short-term memory layer (ConvLSTM2Dlayer) as the main body of the model. This layer is similar to the LSTM layer, but the input and output are both two-dimensional images. Therefore, the spatial information and temporal information contained in the image time series can be processed simultaneously. Compared with the traditional CNN-LSTM model, the prediction effect is better.

[0030] Explain the LRCN sub-model: Total The video of the frame image is divided into image sequences, each of which contains Λ (1) Frame images, each image has a size of (width × height × number of channels), then

[0031] In the LRCN sub-model, there are three ConvLSTM2D modules, namely ConvLSTM2D1_x, ConvLSTM2D2_x and ConvLSTM2D3_x. Each module consists of two ConvLSTM2D layers and a two-dimensional maximum pooling layer.

[0032] Unlike the LSTM layer, which processes numerical sequence elements, the ConvLSTM2D layer processes two-dimensional images, that is, the input of the ConvLSTM2D layer is in the form of video. is included The video of images of time steps passes through the first ConvLSTM2D layer ConvLSTM2D1_1, and its output is recorded as The element at each time step of It can be calculated by the following formula:

[0033]

[0034]

[0035]

[0036]

[0037]

[0038] in, for The subsequence in is the input of the ConvLSTM2D layer, They are The input gate three-dimensional tensor, the forget gate three-dimensional tensor, and the output gate three-dimensional tensor are three neural networks with sigmoid function as activation function. is the memory state three-dimensional tensor, is the hidden state 3D tensor (or output 3D tensor), which is the value of each time step The output of is also part of the input for the next time step. and The initial value of is 0. Represents a weight tensor, and its subscript is used to distinguish different gates and states. Represents the bias, and its subscripts also correspond to different gates or states. tanh is the hyperbolic tangent activation function, * represents the convolution operation, and ° represents the Hadamard product, that is, the corresponding elements of the matrix are multiplied.

[0039] by and As the input of the above calculation formula, through recursive calculation, we can get The corresponding output in, is the number of convolution kernels used in the ConvLSTM2D1_1 layer. Since the Return Sequence parameter value of the ConvLSTM2D1_1 layer is set to True, its output All included The sequence composed of

[0040] It will be used as the input of the second ConvLSTM2D layer ConvLSTM2D1_2. Since the parameters of ConvLSTM2D1_2 and ConvLSTM2D1_1 are exactly the same, its output Size and same.

[0041] It will pass through a pooling layer, and the input of the pooling layer is The pooling operation is for each size After the maximum pooling operation, the output is Each element of It can be calculated according to the following formula:

[0042]

[0043] in, λ=1,2,…,Λ (1) , After the maximum pooling operation, the output in, Input The resolution is reduced to half of the previous one.

[0044] It will pass through two other ConvLSTM2D modules, ConvLSTM2D2_x and ConvLSTM2D3_x. Since the number of convolution kernels in the ConvLSTM2D layer in the ConvLSTM2D2_x and ConvLSTM2D3_x modules is 2 times and 4 times that of the corresponding layer in ConvLSTM2D2_x, respectively, the output after passing through the ConvLSTM2D3_x module The size becomes Right now in, and The change is caused by the maximum pooling layer in ConvLSTM2D2_x and ConvLSTM2D3_x. The change is due to the doubling of the number of convolution kernels in the ConvLSTM2D layer in the ConvLSTM2D2_x and ConvLSTM2D3_x modules.

[0045] After passing through the above three ConvLSTM2D modules, its output It will enter a fully connected module, which is similar to the fully connected module in the CNN model, containing a flat layer, two fully connected layers, and two Dropout layers.

[0046] Will be flattened into a one-dimensional vector by a flattening layer in, After two fully connected layers, the outputs are recorded as and and Each element in and It can be determined by the following formula:

[0047]

[0048]

[0049] in, and are the weights and biases of the fully connected layer, l = 1, 2. A dropout layer follows each fully connected layer to prevent overfitting of the model, and its output size does not change.

[0050] After the above LRCN sub-model, the model input Will be converted into a one-dimensional vector of length 32, that is As an input for high-level feature fusion.

[0051] (2) High-level feature fusion

[0052] (2.1) Perform batch normalization on each feature vector

[0053] Batch normalization is implemented through the batch normalization layer. The data feature vector is used as the input of the batch normalization layer, and its output is recorded as Calculate as follows:

[0054]

[0055] in, express The jth element in express The jth element in express expectations, for The variance of and ψ k is the correction coefficient learned during training. After the batch normalization layer, each element is standardized.

[0056] (2.2) The normalized output sets are fused through the fusion layer

[0057] The function of the fusion layer is to combine all the feature vectors obtained in the above step (2.1) into a new one-dimensional vector in order. The output of the fusion layer is Since the lengths of the feature vectors of the above five sets are 1, n, 4096 and 32, so The size of C = 1×S′+n×M′+n×T′+4096×I′+32×U′, where S′, M′, T′, I′ and U′ are the number of sets of 5 types of data respectively.

[0058] (2.3) The output is passed through a fully connected layer with softmax activation function and Ω channels, where Ω is the total number of shutdown reason classification labels in the shutdown vector b, and its output is recorded as Each element of P is calculated according to the following formula:

[0059]

[0060] Where ω is the classification label of the downtime reason, ω=1,2,…,Ω,w i is the weight matrix, b i is the deviation vector, represents the probability that the classification label of sample k is predicted to be ω. For the kth sample, The ω corresponding to the largest P value is the classification label of the sample.

[0061] (3) Determination of data labels

[0062] Perform string matching on the description of the downtime reason in the data chassis to determine the b1 data label vector. This includes the following three cases:

[0063] Waiting process: The equipment downtime cause containing the word "waiting" or "process" is classified as waiting process.

[0064] Equipment failure: Equipment downtime causes that include any of the words "abnormal", "fault", "slip", "emergency stop", "replacement" or "maintenance" are classified as equipment failure.

[0065] Others: For data samples containing any of the words "cleaning", "strong wind", "heavy snow", "communication" or other process and equipment failures not included, the downtime reasons are classified as others.

[0066] (4) Dataset Division

[0067] The input data after preprocessing and data label determination is matched with the equipment shutdown data according to the equipment shutdown start time, denoted as {A, b}, where A = A1∪A2, b = {b1, b2}, A1 is the data set with data labels in the data set A, and the corresponding data label vector is denoted as b1, A2 is the data set without data labels in the data set A, and its corresponding data label vector is denoted as Need to be completed.

[0068] According to the cross-validation theory, the division of the data set can be summarized as:

[0069] The number of data in the data label vector b1 for equipment downtime reasons such as process, equipment failure, and others is n1, n2, and n3 respectively, and then the data of each part is randomly divided into four equal parts. The data after the four equal parts are constructed into 4 data sets The number of data containing the three reasons for downtime in each data set is n1 / 4, n2 / 4, and n3 / 4 respectively.

[0070] Divide the data into training, validation, and test sets.

[0071] Step 3: Data completion of deep learning models based on high-level feature fusion

[0072] (1) Model training and performance evaluation

[0073] The deep learning model is trained using the data in the training set and validation set, and the predictive performance of the model is evaluated using the data in the test set.

[0074] The present invention selects classification cross entropy loss as the loss function of the deep learning model. The loss function of sample k can be calculated according to the following formula:

[0075]

[0076] Among them, P ω,k The probability that the classification label of the kth sample is predicted to be ω, t ω,k is the ground truth. When the true label of the kth sample is ω, t ω,k The value of is 1, otherwise it is 0. For the training set data, the loss function is is the total number of samples in the training set.

[0077] The present invention uses a small batch gradient descent algorithm and an adaptive moment estimation algorithm to optimize the model. The convergence criterion of the model is to make the loss function of the training set The changes in tend to be stable. Applying the trained deep learning model to the test set data can evaluate the prediction performance of the model.

[0078] (2) Data completion

[0079] The deep learning model that has undergone model training and performance evaluation can be used for the sample set A2 with missing data on the cause of equipment downtime to predict the value of its data label b2 vector, complete the cause of equipment downtime for each sample, and complete the entire data completion process.

[0080] The beneficial effects of the present invention are as follows: In order to address the problem of missing data in the data chassis of the container port loading and unloading operation system due to human operational errors, system failures and the like, the present invention constructs a deep learning model based on high-level feature fusion, and uses the deep learning model to process the structured data and unstructured data of the container port loading and unloading operation system, thereby providing a high-precision prediction method for the fusion of multi-source heterogeneous data of the port, and realizing the completion of the fault data of the container port loading and unloading equipment, which can effectively avoid the adverse effects of data missing on the fault identification of the container port loading and unloading operation equipment, and fills the gap in the existing research on the lack of using the multi-source heterogeneous operation and maintenance data of the container port to complete the fault data of the loading and unloading equipment. BRIEF DESCRIPTION OF THE DRAWINGS

[0081] Figure 1 It is the basic flow chart of the present invention.

[0082] Figure 2 This is a structural diagram of a deep learning model based on high-level feature fusion. DETAILED DESCRIPTION

[0083] The specific implementation of the present invention is further described below in conjunction with the accompanying drawings and technical solutions.

[0084] A method for completing fault data of container port loading and unloading equipment based on high-level feature fusion deep learning of the present invention is as follows Figure 1 This embodiment takes the operation and maintenance data of a container port in my country as an example, and verifies the effectiveness of the container port loading and unloading equipment fault data completion method based on the high-level feature fusion deep learning model.

[0085] Step 1: Characterization of container handling equipment failure data

[0086] Based on the 126,248 equipment shutdown data of 16 loading and unloading equipment in the port area from 2017 to 2018, the data labels are matched with the relevant data sets of the loading and unloading equipment shutdown according to the shutdown start time in the equipment shutdown data to determine the input {A, b} of the deep learning model.

[0087] Among them, the number of complete data on equipment downtime reasons is 17,228, namely The corresponding part of A is A1, and {A1, b1} will be divided into training set, validation set and test set. The training set and validation set are used to train the deep learning model, and the test set is used to evaluate the performance of the deep learning model. The remaining 109,020 pieces of data are missing for the reasons for equipment downtime, that is, The corresponding part in A is A2. After the model training is completed, A2 is used as the input of the trained deep learning model to predict each value in b2, and the equipment downtime cause data can be completed.

[0088] Step 2: Construction of deep learning model based on high-level feature fusion

[0089] Aiming at the problem of completing the operation and maintenance data of container ports, a deep learning model based on high-level feature fusion is constructed. The model structure is shown in Figure 2 .

[0090] (1) Data preprocessing

[0091] The pre-processed data related to the downtime of loading and unloading equipment mainly include:

[0092] (1.1) Single-element data set

[0093] ① Work shift data: dummy variable, with the value of 1 (day shift) or 0 (night shift).

[0094] ② Temperature data: numerical variable, the value is the temperature per hour.

[0095] (1.2) Multi-element non-time series data set

[0096] ① Process number: a categorical variable. After one-hot encoding, since there are 388 kinds of operation processes in the target port area, the process number of each sample becomes a one-dimensional vector with a length of 388. The i-th value of the vector is 1, indicating that the process number is the i-th process among the 388 operation processes, and the other values ​​are 0.

[0097] (1.3) Multi-element time series data set

[0098] ① Equipment downtime-process correlation vector: one-dimensional time series data, the time step is divided into minutes, and the length is 1 hour. Then the equipment downtime-process correlation vector of each sample is a one-dimensional vector with a length of 60. The i-th value of this vector indicates whether there is any loading and unloading operation in progress within the i-th minute after the end of the downtime of a certain loading and unloading equipment. If there is an ongoing loading and unloading operation and the loading and unloading equipment included in the loading and unloading operation process is the downtime equipment, then the value is 1, otherwise it is 0. The size of the equipment downtime-process correlation vector corresponding to each piece of equipment downtime data is 1×N.

[0099] ② Equipment downtime-extreme weather correlation vector: one-dimensional time series data, similar to the equipment downtime-process correlation vector, with a length of 60. The i-th value of the vector indicates whether there is extreme weather within the i-th minute after the end of the loading and unloading equipment downtime. If there is extreme weather, the value is 1, otherwise it is 0.

[0100] (1.4) Image Data Set

[0101] ① Loading and unloading equipment image: The size of the loading and unloading equipment image after size transformation is 224 pixels × 224 pixels (width × height).

[0102] (1.5) Video Data Collection

[0103] ① Video within 10 seconds before the loading and unloading equipment stops: the first frame of the video per second is taken as a representative to form an image sequence. Each sequence contains 10 images, and the transformed image size is 224 pixels × 224 pixels (width × height).

[0104] (2) Determine data labels

[0105] The value of each element in the data label b1 is divided into one of the three situations: equal process, equipment failure, and others. After the data label is determined, the data of the three situations are 12088, 3403, and 1737 respectively.

[0106] (3) Dividing the Dataset

[0107] Divide the data in A1 into four equal parts according to the equipment downtime reason labels and construct four data sets Ensure that the number of data in each data set for equipment downtime reasons such as process, equipment failure, and others is 3022, 851, and 434 respectively. Divide the training set, validation set, and test set in a ratio of 2:1:1.

[0108] The four data set divisions (CV1 to CV4) are shown in Table 1.

[0109] Table 1. Training set, validation set and test set

[0110]

[0111] (4) Setting deep learning model parameters

[0112] The deep learning model parameter settings include optimization algorithms, training times, and evaluation indicators. After the two optimization algorithms are combined with the four data set divisions CV1-CV4, there are a total of 8 working conditions: the data set divisions of working conditions S1-S4 are CV1-CV4 and the stochastic gradient descent (SGD) algorithm is used, and the data set divisions of working conditions S5-S8 are CV1-CV4 and the adaptive moment estimation (Adam) algorithm is used.

[0113] Step 3: Container port loading and unloading equipment fault data completion based on high-level feature fusion deep learning model

[0114] (1) Model training and performance evaluation

[0115] The deep learning model is trained under 8 working conditions (S1-S8) using training set and validation set data. Comparing the working conditions of the two algorithms, the adaptive moment estimation (Adam) algorithm converges faster than the stochastic gradient descent (SGD) algorithm, but the training process may fluctuate. Both algorithms can converge quickly (within 300 training times), the model training results are not much different, and both can obtain training results that meet the actual needs of the project, which can be used for test set data to evaluate the prediction effect of the deep learning model.

[0116] (2) Data completion

[0117] The trained deep learning model is applied to the test set data to obtain the confusion matrix of each working condition S1-S8, see Table 2.

[0118] Table 2 Confusion matrix for working conditions S1-S8

[0119]

[0120] According to the confusion matrix of each working condition, the calculation accuracy of each working condition can be calculated, and the results are shown in Table 3.

[0121] Table 3 Accuracy of test sets under various working conditions

[0122]

[0123] From Table 3, we can see that:

[0124] ① The accuracy of the test set under each working condition is about 86%, and the prediction accuracy basically meets the requirements, which can be used to complete the missing data on the cause of equipment downtime.

[0125] ② Since the cross-validation method was used when dividing the data set, the results in Table 3 also show that the deep learning model is more robust to the data and will not cause large fluctuations in the results due to changes in the data set.

[0126] ③Both the stochastic gradient descent (SGD) algorithm and the adaptive moment estimation (Adam) algorithm can be used as optimization algorithms for deep learning models, which have little effect on the prediction results, indicating that the deep learning model has good robustness to the adopted optimization algorithm.

[0127] The trained deep learning model is applied to the 109,020 data with missing equipment downtime reason data, and A2 is used as the input of the trained deep learning model to predict each value in b2, so as to complete the equipment downtime reason data and clean the data chassis. In this embodiment, among the 109,020 data after data completion, the amount of data with downtime reason of equal process is 92,013, the amount of data with downtime reason of equipment failure is 11,590, and the amount of data with downtime reason of other is 5,417.

Claims

1. A method for completing fault data of container port loading and unloading equipment based on deep learning, characterized in that: Here are the steps: Step 1: Characterization of container loading equipment failure data Divide data into structured data and unstructured data based on data type; In the container port operation and maintenance data, structured data mainly includes equipment downtime data, loading and unloading operation process data, navigation closure data and temperature data, etc.; unstructured data includes image data that can reflect the status of loading and unloading equipment and video data of equipment operation status taken by monitoring. The complete set of container port operation and maintenance data is recorded as in and Represent structured data sets and unstructured data sets respectively; Let the structured data set be Among them, S (s′) ,s′=1,2,…,S′ represents a single-element data set, that is, each sample in the data set contains only one element; M (m′) ,m′=1,2,…,M′ represents a multi-element non-time series data set, that is, each sample in the data set contains multiple elements and there is no time correlation between the elements; T (t′) ,t′=1,2,…,T′ represents a multi-element time series data set, that is, each sample in the data set contains multiple elements and can be processed as a time series; The unstructured data set is Among them, I (i′) ,i′=1,2,…,I′ represents the image data set, V (v′) ,v′=1,2,…,V′ represents the video data set; The container port loading and unloading equipment downtime cause vector is b = {b1, b2}, where b1 represents the sample set with complete equipment downtime cause data, and b2 represents the sample set with missing equipment downtime cause data; accordingly, let A = A1∪A2, where A1 is the data set in A corresponding to b1 in data collection time, and A2 is the data set in A corresponding to b2; the kth element b in b1 k The sample corresponding to ∈b1 in A1 is recorded as: Step 2: Building a deep learning model with high-level feature fusion (1) Extract features from each data set based on the data type in the data chassis (1.1) Single-element data set Single element data set S (s′) Each sample of ,s′=1,2,…S′ contains only one element, which is directly used as an input of the high-level feature fusion of the deep learning model, and its output is recorded as (1.2) Multi-element non-time series data set The one-dimensional convolutional neural network 1D-CNN sub-model is used to extract features from multi-element non-time series data sets; After the 1D-CNN sub-model, the model input will be converted into a length of A one-dimensional vector, that is As an input for high-level feature fusion; (1.3) Multi-element time series data set A naive LSTM sub-model is used to extract features from multi-element time series data sets; After the naive LSTM sub-model, the model input It will be transformed into a one-dimensional vector of length n, that is As an input for high-level feature fusion; (1.4) Image Data Set Image Data Set I (i′) ,i′=1,2,…,each sample of I′ is an RGB image; the VGG16 sub-model is used to extract features from the image data; After passing through the VGG16 sub-model, a one-dimensional vector with a length of 4096 is output, recorded as As an input for high-level feature fusion; (1.5) Video Data Collection Construct a long-term recurrent convolutional network (LRCN) sub-model to extract features from video data; The LRCN sub-model is specifically as follows: Total The video of the frame image is divided into image sequences, each of which contains Λ (1) Frame image, the size of each image is width × height × number of channels. but In the LRCN sub-model, there are three ConvLSTM2D modules, namely ConvLSTM2D1_x, ConvLSTM2D2_x and ConvLSTM2D3_x. Each module consists of two ConvLSTM2D layers and a two-dimensional maximum pooling layer. The sequence elements processed by the ConvLSTM2D layer are two-dimensional images, that is, the input of the ConvLSTM2D layer is in the form of video; in the LRCN sub-model, the input is included The video of images of time steps, after passing through the first ConvLSTM2D layer ConvLSTM2D1_1, its output is recorded as The element at each time step of Calculated by the following formula: in, for The subsequence in is the input of the ConvLSTM2D layer, They are The input gate three-dimensional tensor, the forget gate three-dimensional tensor and the output gate three-dimensional tensor are three neural networks with sigmoid function as activation function; is the memory state three-dimensional tensor, is a hidden state 3D tensor or output 3D tensor, which is the number of pixels per time step. The output of is also part of the input for the next time step. and The initial value of is 0; Represents the weight tensor, and its subscript is used to distinguish different gates and states; represents the deviation, and its subscripts also correspond to different gates or states; tanh is the hyperbolic tangent activation function, * represents the convolution operation, represents the Hadamard product, that is, the corresponding elements of the matrix are multiplied; by and As the input of the above calculation formula, through recursive calculation, we can get The corresponding output Among them, Q (1) is the number of convolution kernels used in the ConvLSTM2D1_1 layer; since the Return Sequence parameter value of the ConvLSTM2D1_1 layer is set to True, its output All included The sequence composed of It will be used as the input of the second ConvLSTM2D layer ConvLSTM2D1_2. Since the parameters of ConvLSTM2D1_2 and ConvLSTM2D1_1 are exactly the same, its output Size and same; It will pass through a pooling layer, and the input of the pooling layer is The pooling operation is for each size After the maximum pooling operation, the output is Each element of Calculated according to the following formula: in, λ=1,2,…,Λ (1) , After the maximum pooling operation, the output in, Input The resolution is reduced to half of the previous one; It will pass through two other ConvLSTM2D modules, ConvLSTM2D2_x and ConvLSTM2D3_x. Since the number of convolution kernels in the ConvLSTM2D layer in the ConvLSTM2D2_x and ConvLSTM2D3_x modules is 2 times and 4 times that of the corresponding layer in ConvLSTM2D2_x, respectively, the output after passing through the ConvLSTM2D3_x module The size becomes Right now in, and The change is caused by the maximum pooling layer in ConvLSTM2D2_x and ConvLSTM2D3_x. The change is due to the doubling of the number of convolution kernels in the ConvLSTM2D layer in the ConvLSTM2D2_x and ConvLSTM2D3_x modules; After passing through the above three ConvLSTM2D modules, its output Enter a fully connected module, which consists of a flat layer, two fully connected layers, and two Dropout layers; Will be flattened into a one-dimensional vector by a flattening layer in, After two fully connected layers, the outputs are recorded as and and Each element in and Determined by the following formula: in, and are the weights and biases of the fully connected layer, l = 1, 2; each fully connected layer is followed by a dropout layer to prevent overfitting of the model, and its output size does not change; After the above LRCN sub-model, the model input Will be converted into a one-dimensional vector of length 32, that is As an input for high-level feature fusion; (2) High-level feature fusion (2.1) Perform batch normalization on each feature vector Batch normalization is achieved through the batch normalization layer. The data feature vector is used as the input of the batch normalization layer, and its output is recorded as Calculate as follows: in, express The jth element in express The jth element in express expectations, for The variance of and ψ k is the correction coefficient learned during the training process; after the batch normalization layer, each element is standardized; (2.2) The normalized output sets are fused through the fusion layer The function of the fusion layer is to combine all the feature vectors obtained in step (2.1) into a new one-dimensional vector in order. The output of the fusion layer is Since the lengths of the feature vectors of the five data sets are 1, n, 4096 and 32, so Size Among them, S′, M′, T′, I′ and U′ are the number of sets of 5 types of data respectively; (2.3) The output is passed through a fully connected layer with softmax activation function and Ω channels, where Ω is the total number of classification labels of the shutdown reasons in the shutdown vector b. The output is recorded as Each element of P is calculated according to the following formula: Where ω is the classification label of the downtime reason, ω=1,2,…,Ω,w i is the weight matrix, b i is the deviation vector, represents the probability that the classification label of sample k is predicted to be ω; for the kth sample, In the equation, the ω corresponding to the largest P value is the classification label of the sample; (3) Determination of data labels Perform string matching on the description of the downtime reason in the data chassis to determine the b1 data label vector; this includes the following three cases: Waiting process: The equipment downtime causes containing the word "waiting" or "process" are classified as waiting process; Equipment failure: Equipment downtime causes that include any of the words "abnormal", "failure", "slip", "emergency stop", "replacement" and "maintenance" are classified as equipment failure; Others: For data samples containing any of the words "cleaning", "strong wind", "heavy snow", "communication" or other process and equipment failures not included, the downtime reasons are classified as others; (4) Dataset Division The input data after preprocessing and data label determination is matched with the equipment shutdown data according to the equipment shutdown start time, denoted as {A, b}, where A = A1∪A2, b = {b1, b2}, A1 is the data set with data labels in the data set A, and the corresponding data label vector is denoted as b1, A2 is the data set without data labels in the data set A, and its corresponding data label vector is denoted as Need to be completed; According to the cross-validation theory, the division of the data set can be summarized as: The number of data in the data label vector b1 where the reasons for equipment downtime are equal process, equipment failure, and others are n1, n2, and n3 respectively. Then, the data in each part are randomly divided into four equal parts. The data after the four equal parts are divided into four data sets. The number of data containing the three reasons for downtime in each data set is n1 / 4, n2 / 4, and n3 / 4 respectively; Divide the data into training set, validation set and test set, Step 3: Data completion of deep learning models based on high-level feature fusion (1) Model training and performance evaluation Use the data in the training set and validation set to train the deep learning model, and use the data in the test set to evaluate the model's predictive performance; The classification cross entropy loss is selected as the loss function of the deep learning model; the loss function of sample k can be calculated as follows: Among them, P ω,k The probability that the classification label of the kth sample is predicted to be ω, t ω,k is the ground truth. When the true label of the kth sample is ω, t ω,k The value of is 1, otherwise it is 0; for the training set data, its loss function is is the total number of samples in the training set; The model is optimized using the mini-batch gradient descent algorithm and the adaptive moment estimation algorithm. The convergence criterion of the model is to make the loss function of the training set The changes tend to be stable; the trained deep learning model is applied to the test set data to evaluate the prediction performance of the model; (2) Data completion The deep learning model that has undergone model training and performance evaluation is used for the sample set A2 with missing data on the cause of equipment downtime to predict the value of its data label b2 vector, complete the cause of equipment downtime for each sample, and complete the entire data completion process.