Safety risk identification method for heavy-haul railway wireless communication system
The security risk identification method that combines singular spectrum analysis and Informer long-term sequence prediction method solves the problem of limited prediction effect caused by single data dimension and unclear features in heavy-haul railway wireless communication systems, and achieves the ability to efficiently identify malicious attacks. , which improves the risk perception efficiency of the system.
Patent Information
- Application Number
- CN202411054353.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-02
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-08-02
AI Technical Summary
Existing Technology In heavy-haul railway wireless communication systems, long-term sequence prediction methods have limited prediction effects due to single data dimensions and unclear features, making it difficult to effectively identify malicious attacks.
The singular spectrum analysis method is used to decompose the original data into data trend subsequences and data oscillator subsequences, combined with the Informer long-term series prediction method, predictions are made through the attention mechanism, and finally the predicted subsequences are superimposed and compared with the actual values to determine the system Whether it was maliciously attacked.
Eliminate noise through singular spectrum analysis, improve prediction accuracy, improve the system's risk perception capability, achieve an effective perception efficiency of 92.5%, and identify and take prevention and control measures in advance.
Smart Images

Figure CN118590887B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of safety of heavy-haul railway wireless communication systems, and in particular relates to a safety risk identification method for heavy-haul railway wireless communication systems. Background Art
[0002] Heavy-haul railways play a very important role in the transportation of bulk goods such as coal and iron ore due to their advantages of low cost and high transportation capacity. In order to further improve transportation efficiency and capacity, combined heavy-haul trains and virtual marshaling are usually adopted. Combined heavy-haul trains refer to two or more trains that are physically coupled through couplers, and multiple trains are synchronized through the locomotive synchronous control (locotrol) system. The locotrol system is mainly composed of master control equipment, slave equipment and wireless communication system. The master and slave locomotives transmit traction, braking commands and train running speed information in real time through the wireless communication system. Usually, locotrol installs two sets of locomotive synchronous control communication equipment at the same position of the master locomotive and the slave locomotive, and adopts dual-machine hot standby technology to ensure the reliability of communication. During the operation of the train, when the communication link fails and cannot work normally, it will immediately switch to the hot standby link. Virtual marshaling is an emerging technical means to enable the train to run in a virtual coupling mode by establishing a car-to-car communication link. According to the running status information of the front and rear cars, combined with its own control algorithm, the train realizes tracking operation under the protection of the signal system. In virtual marshaling, the following vehicle calculates the dynamic safety tracking distance between the leading and trailing vehicles based on the operating status information of the leading vehicle, and selects the real-time operating condition of the following vehicle based on the position relationship, speed relationship and dynamic safety tracking distance of the leading and trailing vehicles.
[0003] In summary, the security of wireless communication systems is extremely important for the safe operation of heavy-load trains for the following reasons: (1) For the locomotive synchronous control system, the synchronous traction and braking of multiple locomotives is a prerequisite for the safe operation of heavy-load trains. When the locomotive system is invaded by an attacker, the abnormal traffic will cause the slave locomotive to be unable to obtain the control command of the master locomotive in time, resulting in the master and slave locomotive control signals being out of sync. When the data transmitted by the locomotive system is maliciously tampered by the attacker, the control signals of the master and slave locomotives will diverge. Both attack methods will cause the longitudinal force between heavy-load train vehicles to continue to increase, causing squeezing or hooking, leading to serious safety accidents. (2) For virtual marshaling operation, heavy-load trains rely on vehicle-to-vehicle communication links to obtain operating status information such as the position and speed between adjacent trains. The rear train aims to track the position and speed of the front train, greatly shortening the train tracking interval. However, when the rear train faces an attack of abnormal traffic, due to the basic principle of fault-oriented safety in railway transportation, it will immediately initiate emergency braking, which is very dangerous for heavy-load trains with large axle weights, long marshaling, and high quality. In addition, if the following train obtains the operating status information of the preceding train that has been maliciously tampered with by the attacker, the following train will touch the safety protection boundary between trains, resulting in a train rear-end collision.
[0004] With the development of network informatization and intelligence, passive defense that simply relies on lagging behind attacks can no longer adapt to the dynamic changes of information systems and multi-dimensional network environments. More and more people are paying attention to active defense methods with predictive properties. Although traditional prediction methods based on convolutional neural networks and recurrent neural networks can effectively capture data historical sequence information, they have problems with gradient vanishing and limited transmission of long time series, which makes it difficult to meet the all-weather working needs of heavy-duty railways. Long short-term memory neural networks can better transmit the characteristic relationships of long time series between prediction network nodes, but they require a large amount of data for training. For very long sequences, gradient vanishing or gradient explosion problems may occur. The Transformer model that introduces the attention mechanism can better capture the dependency relationship in the sequence, but it is difficult to adapt to the problem of hierarchical time series information. Informer uses an innovative dynamic graph attention mechanism to realize long time series prediction. Through parallel computing, it outputs the results of all sequences to be predicted at one time, with the characteristics of fast prediction speed and high accuracy.
[0005] However, for long time series prediction methods, the prediction effect is often limited by the characteristics of historical data. This is because in actual engineering, whether it is communication traffic statistics or train operation status, the data dimension is relatively single and the characteristics are not obvious. Summary of the invention
[0006] The purpose of the present invention is to provide a safety risk identification method for a heavy-load railway wireless communication system, which effectively solves the problem that the prediction effect of long time series prediction methods is limited due to the relatively single data dimension and unclear characteristics in actual engineering.
[0007] To solve the above technical problems, the technical solution adopted by the present invention is: a method for identifying safety risks of a heavy-load railway wireless communication system, comprising the following steps: S1, preprocessing the wireless communication traffic and original data set collected during the operation of the train, wherein the preprocessing uses a singular spectrum analysis method to decompose the original data into a data trend subsequence, a data oscillation subsequence, and a noise subsequence.
[0008] S2. Based on the Informer long time series prediction method with the introduction of attention mechanism, the data trend subsequence and data oscillation subsequence obtained by decomposition in step S1 are predicted respectively to obtain the corresponding predicted subsequences.
[0009] S3. Superimpose all the prediction subsequences obtained in step S2 to obtain the prediction sequence of the original data.
[0010] S4. Compare the predicted sequence obtained in step S3 with the actual value, calculate the error between the predicted sequence and the actual value, and when the error exceeds the upper limit allowed by safety, determine that the wireless communication system is under malicious attack, and realize security risk identification.
[0011] Furthermore, in step S1, the original data set includes a speed data set of a train and a position data set of a train, and both the speed data set of the train and the position data set of the train present periodic characteristics and belong to a long time series.
[0012] Further, taking the train speed data set as an example, the train speed data set is based on Long time series of interval speed : V=[ v 1 , v 2 , … , v n ] , where Indicates The target speed value is transmitted from the master locomotive in the locomotive synchronization control system or the pilot train in the virtual formation to the slave locomotive or the tracking train through wireless communication at all times. , is the sequence length of the speed dataset.
[0013] In step S1, the long velocity series is divided into two parts according to a fixed length by singular spectrum analysis. Sequentially take out equal-length subsequences from the speed long time series to construct the trajectory matrix of the speed long time series : I V =[ I 1 , I 2 , ⋯ , I K ]= v 1 v 2 ⋯ v K v 2 v 3 ⋯ v K+1 ⋮ ⋮ ⋱ ⋮ v L v L+1 ⋯ v n ,in I b =[ v b , v b+1 , ⋯ , v b+L - 1 ] T , , , , is the length of each subsequence, i.e. the number of rows in the trajectory matrix, Is and Joint decision.
[0014] Trajectory Matrix Perform singular value decomposition and first calculate the trajectory matrix The covariance matrix of : , and calculate the covariance matrix The eigenvalue of and its corresponding eigenvector , so the trajectory matrix This breaks down into: ,in, is the number of nonzero eigenvalues, is the trajectory matrix No. singular values, which represent the relative relationship between the energy of the signal and the noise in the singular spectrum. is a long time series of velocity No. principal components, .
[0015] Contribution of each principal component : , sort the contributions of each principal component in descending order, and select the top principal components with a total contribution greater than 99%. The principal components are summed to generate a speed trend group, and the principal components with a total contribution greater than 99.9% and not in the front of the speed trend group are selected. The principal components are summed to generate the velocity oscillation group, and the remaining principal components are regarded as noise.
[0016] Then, the speed trend group and speed oscillation group are reconstructed into speed trend subsequence and speed oscillation subsequence respectively by using the diagonal average method. , ,like ,but ,on the contrary, , For the speed trend group or speed oscillation group Line Elements of a column.
[0017] Then the speed trend subsequence and speed oscillation subsequence Speed value It is expressed as: .
[0018] Compared with the prior art, the beneficial technical effects of the present invention are as follows: (1) The present invention proposes a method for identifying security risks of heavy-duty railway wireless communication systems by combining singular spectrum analysis and Informer. Based on the improved long-time series prediction method, the predicted values of network traffic and key fields of the message are compared with the actual values, effectively identifying whether the wireless communication network is under malicious attack.
[0019] (2) By performing singular spectrum analysis on the original time series, the present invention can effectively eliminate unknown noise in the data and explore the deep features of the original time series, thereby effectively improving the prediction accuracy.
[0020] (3) When the upper limit of safety allowance is set to 10%, the long time series prediction model based on the combination of singular spectrum analysis and Informer proposed in the present invention can effectively improve the system risk perception ability. The effective perception efficiency of the system risk of the present invention reaches 92.5%, thereby perceiving and guiding the protection mechanism to take prevention and control measures in time before the actual and effective safety risks occur. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 This is a comparison result of the risk identification performance of the methods based on RNN, LSTM and Example 1 when the safety allowable upper limit is set to 10%. DETAILED DESCRIPTION
[0022] Example 1: The present invention takes into account the comparison between the predicted value and the actual value of the wireless communication flow and the key fields of the message, and effectively identifies whether the wireless communication network is attacked maliciously. For the convenience of explanation, this example takes the prediction and risk identification of the speed value of the train as an example for detailed explanation.
[0023] (1) Whether it is the existing locomotive synchronous control system of the heavy-duty train operation control system or the next-generation heavy-duty train virtual marshaling technology based on vehicle-to-vehicle communication, the communication of control signals presents typical periodic characteristics. Therefore, the train speed data set is based on Long time series of interval speed : V=[ v 1 , v 2 , … , v n ] , where Indicates The target speed value is transmitted from the master locomotive in the locomotive synchronization control system or the pilot train in the virtual formation to the slave locomotive or the tracking train through wireless communication at all times. , is the sequence length of the speed dataset.
[0024] Considering that time series are composed of data trends, data oscillations and noise, in order to improve the prediction accuracy, the long speed series is decomposed into multidimensional subsequences through singular spectrum analysis to explore the characteristics of each subsequence. Sequentially take out equal-length subsequences from the speed long time series to construct the trajectory matrix of the speed long time series : I V =[ I 1 , I 2 , ⋯ , I K ]= v 1 v 2 ⋯ v K v 2 v 3 ⋯ v K+1 ⋮ ⋮ ⋱ ⋮ v L v L+1 ⋯ v n ,in I b =[ v b , v b+1 , ⋯ , v b+L - 1 ] T , , , usually , is the length of each subsequence, i.e., the number of rows in the trajectory matrix; Is and Joint decision.
[0025] Trajectory Matrix To perform singular value decomposition, you need to first calculate the trajectory matrix The covariance matrix of : , and calculate the covariance matrix The eigenvalue of and its corresponding eigenvector Therefore, the trajectory matrix It can be broken down into: ,in, is the number of nonzero eigenvalues, is the trajectory matrix No. singular values, which represent the relative relationship between the energy of the signal and the noise in the singular spectrum. is a long time series of velocity No. principal components, .
[0026] Since the speed long time series contains data trend sequence, data oscillation sequence and noise sequence, and considering that the actual data collected on site are inevitably interfered by environmental noise or other excitation sources, in order to improve the prediction accuracy, subsequences with high contribution are selected for reconstruction, thereby obtaining speed trend subsequence and speed oscillation subsequence respectively.
[0027] Contribution of each principal component : , sort the contributions of each principal component in descending order, and select the top principal components with a total contribution greater than 99%. The principal components are summed to generate a speed trend group, and the principal components with a total contribution greater than 99.9% and not in the front of the speed trend group are selected. The principal components are summed to generate the velocity oscillation group, and the remaining principal components are regarded as noise.
[0028] Next, the speed trend group and speed oscillation group are reconstructed into speed trend subsequence and speed oscillation subsequence respectively using the diagonal average method. , ,like ,but ,on the contrary, , For the speed trend group or speed oscillation group Line The elements of the speed trend subsequence and the speed oscillation subsequence are Speed value It is expressed as: .
[0029] (2) Next, the speed trend subsequence and speed oscillation subsequence obtained in step (1) are predicted respectively to obtain the corresponding predicted subsequences. The Informer long time series prediction method is an extended form based on the Transformer. It introduces a multi-head sparse probabilistic self-attention mechanism (ProbSpare Self-attention) to replace the traditional self-attention mechanism, thereby solving the limitations of high time complexity and complex encoding and decoding structure. The encoder and decoder of Informer both accept the historical data of the speed trend subsequence and the speed oscillation subsequence as input. The difference is that the input of the decoder also needs to be supplemented by a "0" value sequence of the same length as the time series to be predicted. The output of the Informer model at the corresponding position of the "0" value sequence is the prediction result.
[0030] The Informer long time series prediction method uses a multi-head sparse probabilistic self-attention mechanism to encode the speed trend subsequence and speed oscillation subsequence obtained in step (1) respectively. The input of the encoder is the speed trend subsequence and speed oscillation subsequence obtained after singular spectrum analysis of the original speed data set. The multi-head sparse probabilistic self-attention mechanism selects a few dot product pairs with higher scores and ignores other dot product pairs with lower scores, thereby reducing time complexity and memory usage while ensuring prediction accuracy.
[0031] Let query vector , key vector Sum value vector As the input of the self-attention model, the multi-head sparse self-attention mechanism is expressed as: ,in, is the proportionality factor that prevents the gradient from increasing when it is small, is the activation function, Represents the query vector The results after the probability sparse transformation. These results are then passed as input to the self-attention distillation layer. The self-attention distillation layer enables the model to process large-scale time series data more efficiently by further reducing the computational complexity. This layer is mainly composed of one-dimensional convolution layers, and the convolution operation helps to capture local patterns in the time series. The ELU function is selected as the activation function because it performs well in activating low-frequency signals and helps the model capture long-term dependencies in the time series. After the one-dimensional convolution processing, the feature map is downsampled through a pooling layer with a step size of 2. Finally, the feature maps of all multi-head self-attention layers are connected in series to form a richer feature representation as part of the input to the Informer model decoder.
[0032] The decoder input consists of a segment of the encoder input sequence cut from the end and a "0" padding sequence of the same length as the prediction length. The generative decoder proposed by Informer uses a standard decoder structure, consisting of two identical multi-head attention layers, and generates a prediction output through a forward process. .
[0033] The decoder of the Informer model also borrows the occluded attention mechanism from the Transformer model. During the training process, this mechanism masks the attention weights of specific positions to guide the model to pay more attention to important patterns and dependencies in time series data, which not only improves the prediction accuracy of the model but also helps reduce the risk of overfitting.
[0034] (3) Linearly superimpose the predicted subsequence of the speed trend subsequence and the predicted subsequence of the speed oscillation subsequence obtained in step (2) to obtain the original speed long time series The prediction sequence : ,in, Indicates The predicted speed value at time , is the length of the prediction sequence.
[0035] (4) Compare the speed prediction value obtained in step (3) with the actual received speed value and calculate the error between the two. When the error exceeds the upper limit of the safety allowance, it is determined that the wireless communication system is under malicious attack, thus realizing security risk identification.
[0036] The speed sequence of the train has typical nonlinear characteristics, and traditional time series prediction algorithms cannot solve this problem. At the same time, the prediction method based on neural networks can automatically learn useful features from the data and is more effective when processing large-scale, high-dimensional time series data. By learning the distribution and regularity of the data, the impact of noise and outliers can also be reduced, thereby improving the accuracy of the prediction. Therefore, this embodiment selects recurrent neural networks (RNNs) and long short-term memory networks (LSTMs) as benchmarks, and uses three evaluation indicators, namely, mean square error (MSE), mean absolute error (MAE), and mean absolute percentage error (MAPE) to evaluate the performance of the prediction model.
[0037] , , ,in, is the actual received speed value.
[0038] Table 1 Performance comparison of long time series prediction models based on RNN, LSTM and the method of this embodiment .
[0039] As shown in Table 1, the MAPE of the long time series prediction model based on RNN, LSTM and the method of this embodiment does not exceed 0.2, which illustrates the effectiveness of long time series prediction. For RNN, longer sequence lengths cause the gradient to gradually decrease, which hinders the effective propagation and utilization of information. Therefore, this gradient vanishing problem hinders the ability of RNN to capture long-term dependencies within the sequence, and ultimately affects its prediction performance. LSTM is a representative of long short-term memory. By introducing a gate mechanism, it can effectively preserve and utilize long-term dependencies in long time series prediction, thereby improving performance. However, the memory capacity of LSTM is limited, which reduces its ability to capture and maintain long-term dependencies in extremely long time series. The method of this embodiment uses a multi-head sparse self-attention mechanism to establish correlations between different positions in the input sequence, thereby enhancing its ability to capture long-term dependencies and thus improving prediction accuracy.
[0040] like Figure 1 As shown in the figure, when the upper limit of safety allowance is set to 10%, the risk identification performance comparison results based on RNN, LSTM and the method of this embodiment are shown. The results show that the method of this embodiment can effectively perceive and guide the protection mechanism to take prevention and control measures in time before the safety risk occurs, and its effective perception efficiency reaches 92.5%.
[0041] Of course, the above description is not a limitation of the present invention, and the present invention is not limited to the above examples. Changes, modifications, additions or substitutions made by technicians in this technical field within the essential scope of the present invention should also fall within the protection scope of the present invention.
Claims
1. A method for identifying safety risks of a heavy-haul railway wireless communication system, characterized in that: The following steps are involved: S1. Preprocessing the wireless communication traffic and original data set collected during the train operation process, wherein the preprocessing is to decompose the original data into a data trend subsequence, a data oscillation subsequence and a noise subsequence using a singular spectrum analysis method; S2, based on the Informer long time series prediction method with the introduction of the attention mechanism, the data trend subsequence and data oscillation subsequence decomposed in step S1 are predicted respectively to obtain the corresponding predicted subsequence; The Informer long time series prediction method is an extended form of Transformer, which introduces a multi-head sparse probabilistic self-attention mechanism to replace the traditional self-attention mechanism, thereby solving the limitations of high time complexity and complex encoding and decoding structure; Both the encoder and decoder of Informer accept the historical data of speed trend subsequence and speed oscillation subsequence as input. The input of Informer's encoder is the speed trend subsequence and speed oscillation subsequence obtained after singular spectrum analysis of the original speed data set. The multi-head sparse probabilistic self-attention mechanism reduces the time complexity and memory usage while ensuring the prediction accuracy. The decoder of Informer draws on the occluded attention mechanism in the Transformer model. During the training process, the occluded attention mechanism masks the attention weights of specific positions, guiding the Informer model to pay more attention to important patterns and dependencies in time series data. This not only improves the prediction accuracy of the Informer model, but also reduces the risk of overfitting. S3, superimposing all the prediction subsequences obtained in step S2 to obtain the prediction sequence of the original data; S4, comparing the predicted sequence obtained in step S3 with the actual value, calculating the error between the predicted sequence and the actual value, and when the error exceeds the upper limit of the safety allowance, determining that the wireless communication system is under malicious attack, thereby realizing security risk identification; In step S1, the original data set includes a speed data set of a train and a position data set of a train, and both the speed data set of the train and the position data set of the train present periodic characteristics and belong to a long time series; Take the train speed dataset as an example. The train speed dataset is based on Long time series of interval speed : , where Indicates The target speed value is transmitted from the master locomotive in the locomotive synchronization control system or the pilot train in the virtual formation to the slave locomotive or the tracking train through wireless communication at all times. , is the sequence length of the speed dataset; In step S1, the long velocity series is divided into two parts according to a fixed length by singular spectrum analysis. Sequentially take out equal-length subsequences from the speed long time series to construct the trajectory matrix of the speed long time series : ,in , , , , is the length of each subsequence, i.e. the number of rows in the trajectory matrix, Is and Joint decision making; Trajectory Matrix Perform singular value decomposition and first calculate the trajectory matrix The covariance matrix of : , and calculate the covariance matrix The eigenvalue of and its corresponding eigenvector , so the trajectory matrix This breaks down into: ,in, is the number of non-zero eigenvalues, is the trajectory matrix No. singular values, which represent the relative relationship between the energy of the signal and the noise in the singular spectrum. is a long time series of velocity No. principal components, ; Contribution of each principal component : , sort the contributions of each principal component in descending order, and select the top principal components with a total contribution greater than 99%. The principal components are summed to generate a speed trend group, and the principal components with a total contribution greater than 99.9% and not in the front of the speed trend group are selected. The principal components are summed to generate the velocity oscillation group, and the remaining principal components are regarded as noise; Then, the speed trend group and speed oscillation group are reconstructed into speed trend subsequence and speed oscillation subsequence respectively by using the diagonal average method. , ,like ,but ,on the contrary, , For the speed trend group or speed oscillation group Line Elements of a column; Then the speed trend subsequence and speed oscillation subsequence Speed value It is expressed as: 。
Citation Information
Patent Citations
Electricity price super short-term prediction method
CN108647824A
Distributed photovoltaic output prediction method considering micrometeorological factors
CN112561178A
Fault diagnosis method, device, equipment, medium and product
CN117061318A
