Unmanned aerial vehicle injection attack detection method and system based on edge cloud collaborative double-layer model
Through the edge-cloud collaborative two-layer model combined with the LOF and SAX-VSM models, efficient detection of UAV data injection attacks is achieved, which solves the problems of detection accuracy and resource consumption in the UAV system, and improves the timeliness and accuracy of detection. sex.
Patent Information
- Application Number
- CN202410611143.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-16
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-05-16
AI Technical Summary
Existing UAV data injection attack detection methods have reduced accuracy and high resource consumption when applied to UAV systems, and cannot meet UAV network resource constraints and real-time detection requirements, especially in multi-machine collaboration and wireless networks. The detection efficiency is low in the environment.
A detection method based on the edge-cloud collaborative two-layer model is used to perform real-time detection on the drone through a lightweight detection model, and the data is uploaded to the cloud for complete detection. It combines the LOF and SAX-VSM models for injection attack detection to achieve two-layer detection.
It improves the detection accuracy of drone data injection attacks, reduces the consumption of computing resources, alleviates the wireless network delay problem, and improves the timeliness and accuracy of detection.
Smart Images

Figure CN118714570A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of unmanned system security, and in particular to a method and system for detecting unmanned aerial vehicle injection attacks based on an edge-cloud collaborative double-layer model. Background Art
[0002] With the widespread use of drones in military and civilian fields, their security issues have become a focus of attention. False Data Injection (FDI) attacks, which tamper with drone sensor perception data or control commands to cause drones to deviate from normal behavior, are a major threat currently facing drones. Attackers tamper with the perception data or control command content between the ground control station and the drone by invading the communication channel, causing the drone to be injected with attack control or fall into a fault state. In particular, as the intensity of the attack increases, the attacker can tamper with multiple types of data at the same time to cause a greater attack effect, and even cause a cascade failure of the fleet control. Therefore, it is crucial to achieve efficient detection of drone data injection attacks.
[0003] According to the type of data tampering, data injection attacks can be divided into three categories: perception data injection attacks, control signal data injection attacks, and collaborative attacks. Collaborative attacks mainly refer to attacks in which attackers tamper with control signals and perception data at the same time. Generally speaking, the more attack targets an attacker targets, the more harmful it will be and the stronger its concealment ability will be. However, the requirements for its attack capability are also higher. In particular, with the rise of large-scale cluster operations of unmanned systems, the control architecture of unmanned systems such as drone swarms has gradually evolved from the traditional ground control station-drone single control architecture to the edge-cloud collaborative control architecture. The cloud connects to the ground control station, obtains a large amount of drone data, and generates decisions. The ground control station sends control commands to the drone. On the other hand, since drones have certain computing capabilities, considering the need for many real-time execution tasks, drones have the need for on-board decision-making for some special tasks. Based on the above situation, the current drone mission control has derived an edge-cloud collaborative control architecture.
[0004] There are currently a large number of data injection attack detection schemes. For example, for smart grid data injection attacks, researchers have proposed data injection attack detection methods based on state estimation and data injection attack detection methods based on command signal sequence association. However, because the above methods are mainly targeted at the smart grid field, although they have good detection capabilities, they face the following problems when directly applied to UAV systems: (1) The particularity of the UAV system reduces the accuracy of traditional attack detection algorithms. Unlike traditional smart grids, the operation trajectory and task execution of UAVs are variable and particular. In particular, UAVs have different characteristics in physical structure and control theory. Therefore, it is difficult to achieve efficient detection by directly applying detection models applied to smart grids and other fields to UAV data injection attack scenarios. On the other hand, the coordination of multiple UAVs makes the detection problem more complicated. Different from the traditional detection modeling of a single system and a single function, the heterogeneity of sensor data and control command data and large-scale multi-variable time series data make it difficult to use traditional models to construct accurate detection mechanisms, that is, the detection efficiency is low. (2) The limited resources of UAVs make it difficult to deploy and apply traditional detection algorithms. Traditional cyber-physical systems do not have resource constraints. Therefore, in the design of detection schemes, the collected data is often gathered and tested. This scheme requires that the system is not limited in terms of network bandwidth resources, computing resources, etc. In particular, as the network scale continues to increase and the detection model becomes more and more complex, the demand for computing resources increases sharply, that is, the existing detection scheme is difficult to meet the actual situation of limited network resources of drones (3) Wireless networks are difficult to support real-time detection-control closed loops and cannot meet real-time detection needs. During the execution of the mission, the drone transmits data such as detection effects through wireless networks between multiple drones and between drones and ground control stations. However, wireless networks are unstable and have slow transmission rates. For traditional detection frameworks, data first needs to be gathered and then analyzed. After obtaining the detection results and forming control commands, they are transmitted to the drone via the wireless network. The above process requires two wireless network passes. This method will seriously affect the safety protection efficiency of the unmanned system. Summary of the invention
[0005] Technical problem to be solved by the present invention: In response to the above-mentioned problems in the prior art, a method and system for detecting drone injection attacks based on an edge-cloud collaborative two-layer model are provided. The present invention aims to enhance the detection capability of attack data through a complete detection model on the cloud, and to compensate for the impact of wireless network performance on detection delay through edge-side detection capabilities, thereby improving the data injection attack detection capability for drones in terms of timeliness, resource consumption and accuracy.
[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is: A drone injection attack detection method based on an edge-cloud collaborative two-layer model includes: Step S101, using the lightweight detection model located on the drone in the edge-cloud collaborative two-layer model to perform injection attack detection on the drone's sensor data. If an injection attack is detected, an alarm is issued and the system exits; otherwise, the drone's sensor data is uploaded to the cloud and the process goes to step S102; Step S102: The sensor data uploaded by the drone is combined with the sensor data uploaded by other drones through the complete detection model located in the cloud in the edge-cloud collaborative two-layer model to form time series data, and the formed time series data is subjected to injection attack detection. If an injection attack is detected, an alarm is issued and the system exits; otherwise, the detection is terminated and the system exits.
[0007] Optionally, the lightweight detection model in step S101 is a LOF detection model, and performing injection attack detection on the sensor data of the drone by using the LOF detection model includes: Step S201: the data points corresponding to the sensor data of the current drone ={ } T , calculate the current data point With existing data point collection Any point in Neighbor distance, where is the current flight speed of the drone, is the current three-dimensional position coordinate of the drone, ~ They are the 1st to k-1th data points respectively; Step S202, calculate the existing data point set The current data point The specified number of points closest to the neighbor With the current data point The average distance between As the current data point K-neighbor distance ; Determine the current data point The data point whose neighbor distance in the neighborhood is less than or equal to the constant parameter 10, gets the current data point The 10th distance neighbor , and calculate the current data point The local reachable density ; Step S203, based on the current data point K-neighbor distance , local reachable density Calculate the current data point If the local injection attack factor LOF is greater than the preset threshold, it is determined that an injection attack is detected, otherwise it is determined that no injection attack is detected, and the current data point Add to existing data point set .
[0008] Optionally, in step S202, the current data point is calculated The local reachable density The calculation function expression is: , In the above formula, The current data point The 10th distance neighbor of The current data point Any data point in the 10th distance neighborhood of The calculation function expression is: , In the above formula, To obtain the maximum value, For data points The 10-neighbor distance, For data points With data points The approaching distance.
[0009] Optionally, the current data point in step S203 The calculation function expression of the local injection attack factor LOF is: , In the above formula, The threshold value is 10. The local reachable density of The current data point Any data point in the 10th distance neighborhood of .
[0010] Optionally, in step S102, the sensor data uploaded by the drone is combined with the sensor data uploaded by other drones to form time series data, including: Step S301, converting the sensor data uploaded by the drone into one-dimensional data by combining each of the r data points in the sensor data uploaded by other drones and arranging them in time; Step S302, dividing and grouping the 1-dimensional data arranged according to time, and each group forms a multi-dimensional vector; Step S303, dividing the value domain of the 1-dimensional data of the r data points into a plurality of sub-regions according to equal probability; Step S304, construct a sequence list of the specified window size for each multidimensional vector by means of a sliding window, and perform character conversion on the sequence list. The conversion rule is to check which sub-region the elements in the sequence list belong to, and determine the preset character string corresponding to the sub-region by looking up the table, thereby obtaining a character sequence with the specified window size as the length as the time series data for injection attack detection for the complete detection model.
[0011] Optionally, the function expression for converting multidimensional data into one-dimensional data in step S301 is: , In the above formula, is the i-th 1-dimensional data, n represents The dimension of Represents the data of the jth dimension in the i-th data point.
[0012] Optionally, the complete detection model in step S102 is a SAX-VSM detection model, and when the formed time series data is subjected to injection attack detection through the SAX-VSM detection model, each character of the character sequence with the input specified window size as the length corresponds to a one-bit output of the SAX-VSM detection model, and the output is 1 or 0. If the outputs of the SAX-VSM detection model corresponding to all characters are 0, it is determined that no injection attack is detected, otherwise it is determined that an injection attack is detected.
[0013] In addition, the present invention also provides a drone injection attack detection system based on the edge-cloud collaborative two-layer model, including interconnected drones and cloud computing devices, and the drones and cloud computing devices are programmed or configured to execute the drone injection attack detection method based on the edge-cloud collaborative two-layer model.
[0014] In addition, the present invention also provides a computer-readable storage medium, in which a computer program is stored, and the computer program is used to be programmed or configured by a microprocessor to execute the drone injection attack detection method based on the edge-cloud collaborative two-layer model.
[0015] In addition, the present invention also provides a computer program product, which stores computer program instructions, and the computer program instructions are used to be programmed or configured by a microprocessor to execute the drone injection attack detection method based on the edge-cloud collaborative two-layer model.
[0016] Compared with the prior art, the present invention mainly has the following advantages: (1) Provide high-precision detection of drone data injection attacks. Traditional cyber-physical system data injection attacks focus more on power grids and water networks, and do not focus on the system characteristics of drones themselves, and cannot be effectively applied to drone data injection attack detection. The edge-cloud collaborative two-layer model of the present invention is a two-layer structure consisting of a complete detection model located in the cloud and a lightweight detection model located on each drone. By jointly using the two-layer detection model, it can efficiently detect data injection attacks against drones and achieve efficient protection against data injection attacks.
[0017] (2) Solve the resource bottleneck of drones. If the traditional detection mechanism is directly applied to drones, it will seriously consume the computing resources of drones, and the computing resources of drones themselves are limited. Therefore, the method of this embodiment introduces an edge-cloud collaborative two-layer detection architecture, so that the edge side runs a simple detection algorithm and the cloud side runs a complex and efficient algorithm, thereby solving the problem of limited computing resources.
[0018] (3) The high dynamics of drones during flight further exposes the instability defects of wireless networks, which is prone to the problem of prolonged detection time. The method of the present invention introduces an edge-cloud collaborative detection architecture to detect some data on the edge side, which can alleviate the problem of long detection time for some attacks to a certain extent. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 Schematic diagram of the basic flow of the method of the embodiment of the present invention.
[0020] Figure 2 It is a structural diagram of the edge-cloud collaborative two-layer model in an embodiment of the present invention.
[0021] Figure 3 Detailed flowchart of the method of the embodiment of the present invention. DETAILED DESCRIPTION
[0022] like Figure 1 As shown, the drone injection attack detection method based on the edge-cloud collaborative two-layer model in this embodiment includes: Step S101, using the lightweight detection model located on the drone in the edge-cloud collaborative two-layer model to perform injection attack detection on the drone's sensor data. If an injection attack is detected, an alarm is issued and the system exits; otherwise, the drone's sensor data is uploaded to the cloud and the process goes to step S102; Step S102: The sensor data uploaded by the drone is combined with the sensor data uploaded by other drones through the complete detection model located in the cloud in the edge-cloud collaborative two-layer model to form time series data, and the formed time series data is subjected to injection attack detection. If an injection attack is detected, an alarm is issued and the system exits; otherwise, the detection is terminated and the system exits.
[0023] like Figure 2 As shown, the edge-cloud collaborative two-layer model in this embodiment is a two-layer structure consisting of a complete detection model located in the cloud and a lightweight detection model located on each drone. In this embodiment, the two-layer structure includes a command center on each drone and in the cloud. A lightweight detection model runs on each drone to achieve efficient real-time detection; on the other hand, this mode reduces the resource consumption of the drone during the model training process. The cloud command center runs based on the complete detection model to achieve further accurate detection, thereby realizing two-stage detection of injection attacks. This embodiment includes performing injection attack detection on the sensor data of the drone through a lightweight detection model located on the drone in the edge-cloud collaborative two-layer model. If an injection attack is detected, an alarm is triggered and the system exits. Otherwise, the sensor data uploaded by the drone is combined with the sensor data uploaded by other drones through the complete detection model located on the cloud side in the edge-cloud collaborative two-layer model to form time series data, and the formed time series data is subjected to injection attack detection. If an injection attack is detected, an alarm is triggered and the system exits. Injection attacks cause drone control abnormalities by tampering with sensor perception data and control signals. This embodiment collects and analyzes sensor and control signals through the edge-cloud collaborative two-layer model on the edge side and the cloud side to discover whether there is an injection attack on the data. This embodiment enhances the detection capability of attack data through a complete detection model on the cloud side, compensates for the impact of wireless network performance on detection delay through edge-side detection capabilities, and improves the data injection attack detection capability for drones in terms of timeliness, resource consumption, and accuracy.
[0024] like Figure 3As shown, the lightweight detection model in step S101 of this embodiment is the LOF detection model, and the complete detection model in step S102 is the SAX-VSM detection model (see the literature: P. Senin and S. Malinchik, "SAX-VSM:Interpretable Time Series Classification Using SAX and Vector Space Model," 2013 IEEE 13th International Conference on Data Mining, Dallas, TX, USA, 2013, pp. 1175-1180, doi: 10.1109 / ICDM.2013.52.). After the injection attack occurs, the data is first collected by the edge side LOF detection model, and the LOF detection model inputs the data and analyzes whether there is injection tampering behavior. After no tampering anomaly is found, the data is transmitted to the SAX-VSM detection model in the cloud. The SAX-VSM detection model in the cloud reduces the dimension of the data by combining the data transmitted by other drones and inputs it into the SAX-VSM detection model to determine whether there is an injection attack. In response to the problems existing in the existing data injection attack detection, the detection algorithm is integrated with the edge-cloud collaborative control architecture in this embodiment. Considering the insufficient detection capability of the edge measurement, but with real-time control capability, a lightweight detection model based on LOF (Local Outer Factor) is designed on the edge side, namely: LOF detection model; in response to the complex and changeable situations caused by multi-machine collaboration, the SAX-VSM (Symbolic Aggregate Approximation Vector SpaceModel) detection model that integrates multi-domain heterogeneous time series data is designed on the cloud to enhance the detection capability of attack data. The impact of wireless network performance on detection delay is compensated by the edge-side detection capability. That is, the detection device designed based on the method of this embodiment can improve the data injection attack detection capability for drones in terms of timeliness, resource consumption and accuracy.
[0025] The basic idea of LOF detection is to first calculate a local reachable density for each data point based on the data density around the data point, and then further calculate an outlier factor for each data point through the local reachable density. The outlier factor identifies the degree of outlier of a data point. The larger the factor value, the higher the degree of outlier, and the smaller the factor value, the lower the degree of outlier. The model uses the Euclid norm to calculate the neighbor distance, which can be expressed as: , In the above formula, express The neighbor distance, ={ } T represents the i-th data point, which is a vector composed of n-dimensional attributes. One attribute is the value of a sensor of the drone system, and n is the number of drone sensors. represents the value of the jth sensor of the drone. Similarly, Specifically, in this embodiment, the injection attack detection of the sensor data of the drone through the LOF detection model includes: Step S201: the data points corresponding to the sensor data of the current drone ={ } T , calculate the current data point With existing data point collection Any point in Neighbor distance, where is the current flight speed of the drone, is the current three-dimensional position coordinate of the drone, ~ are the 1st to k-1th data points respectively; in this embodiment, n=4, and the Euclid norm is used to calculate the neighbor distance. For any two data points, ={ } T and ={ } T , its neighbor distance can be expressed as: ; Step S202, calculate the existing data point set The current data point The specified number of points closest to the neighbor With the current data point The average distance between As the current data point K-neighbor distance ; Determine the current data point The data point whose neighbor distance in the neighborhood is less than or equal to the constant parameter 10, gets the current data point The 10th distance neighbor , and calculate the current data point The local reachable density ; For each data point, define a neighborhood radius p and calculate the number of other data points within its neighborhood whose distance is less than or equal to p. These points constitute the pth distance neighborhood of the point. , which can be expressed as: , Among them, j<=k-1, when p=10, the 10th distance neighborhood can be obtained ; Step S203, based on the current data point K-neighbor distance , local reachable density Calculate the current data point If the local injection attack factor LOF is greater than the preset threshold, it is determined that an injection attack is detected, otherwise it is determined that no injection attack is detected, and the current data point Add to existing data point set .
[0026] Calculate data points The local reachable density The calculation process is based on The reciprocal of the average reachable distance of the nearest neighbor, its function expression is: , Therefore, the current data point is calculated in step S202. The local reachable density The calculation function expression is: , In the above formula, The current data point The 10th distance neighbor of The current data point Any data point in the 10th distance neighborhood of The calculation function expression is: , In the above formula, To obtain the maximum value, For data points The 10-neighbor distance, For data points With data points The approaching distance.
[0027] Calculation Point The average local reachability density of points in the neighborhood is the same as that of the data points The ratio of the local reachable density of the data point The local outlier factor (LOF value) of the current data point in step S203 of this embodiment is The calculation function expression of the local injection attack factor LOF is: , In the above formula, The threshold value is 10. The local reachable density of The current data point Any data point in the 10th distance neighborhood of . Compared with the abnormal threshold θ, when it is greater than θ, it indicates that the current data is abnormal (an injection attack is detected), and the detection model sends out a warning signal and stops the detection process; when it is less than or equal to θ, the data is considered to be normal (no injection attack is detected). Add to set M and transmit the data points to the cloud control center. As an optional implementation, the abnormal threshold θ in the above formula is taken as 0.2. Compared with the abnormal threshold of 0.2, when it is greater than 0.2, it indicates that the current data is abnormal, the detection model will issue a warning signal and stop the detection process; when it is less than or equal to 0.2, the data is considered to be normal.
[0028] Considering the limited resources of drones, they have serious missed detection problems when facing multi-dimensional data and complex attacks. Therefore, we have established a cloud-based SAX-VSM detection model. The basic idea is to convert continuous multi-dimensional data points into symbol sequences through the SAX algorithm to achieve data dimensionality reduction, and then use the VSM algorithm to treat the SAX symbol sequence as a "text document" and perform TF-IDF (Term Frequency-Inverse Document Frequency) conversion. Finally, the obtained vector is compared with the data of the "normal class" and "abnormal class". The vector is closer to which category of vectors, and it is classified into which category. In step S102 of this embodiment, the sensor data uploaded by the drone is combined with the sensor data uploaded by other drones to form time series data, including: Step S301, converting the sensor data uploaded by the drone into one-dimensional data by combining each of the r data points in the sensor data uploaded by other drones and arranging them in time; Step S302, dividing and grouping the 1-dimensional data arranged according to time, and each group forms a multi-dimensional vector; Step S303, dividing the value domain of the 1-dimensional data of the r data points into a plurality of sub-regions according to equal probability; Step S304, construct a sequence list of the specified window size for each multidimensional vector by means of a sliding window, and perform character conversion on the sequence list. The conversion rule is to check which sub-region the elements in the sequence list belong to, and determine the preset character string corresponding to the sub-region by looking up the table, thereby obtaining a character sequence with the specified window size as the length as the time series data for injection attack detection for the complete detection model.
[0029] In step S301 of this embodiment, m historical data are collected, and the historical data are arranged in the order of generation time, and each data point (multi-dimensional attribute) is converted into 1-dimensional data. In this embodiment, m historical data are collected, and when training the SAX-VSM detection model, most of the normal data and a small part of the abnormal data are required. For example, in this embodiment, m=1500 historical data are collected, of which 1400 are normal data and 100 are abnormal data, and the historical data are arranged in the order of generation time, and each data point (4-dimensional attribute, including v, x, y, z) is converted into 1-dimensional data. In this embodiment, the function expression for converting from multi-dimensional data to 1-dimensional data in step S301 is: , In the above formula, is the i-th 1-dimensional data, n represents The dimension of Represents the data of the jth dimension in the i-th data point. If it is replaced with specific speed and coordinate data, it can be expressed as: , in, For speed, is a three-dimensional coordinate.
[0030] In step S302 of this embodiment, the converted historical data is arranged according to the time series and divided into q groups, each group forming an r-dimensional vector, that is, the i-th group vector can be expressed as: , During training, the category of each generated vector is marked at the same time (recorded as 0 / 1), that is, if the vector contains data converted by the modified data, it is marked as abnormal data; if not, it is classified as normal data. For example, in this embodiment, the converted historical data is arranged according to the time series and divided into 150 groups, each group forms a 10-dimensional vector, that is, the i-th group of vectors can be expressed as: .
[0031] In step S303 of this embodiment, when the value domain of the 1-dimensional data of r data points is divided into multiple sub-regions with equal probability, it includes dividing the time series value domain [Min{ ,..., },Max{ ,..., }] is divided into 26 sub-areas with equal probability, forming 26 intervals [Min{ ,..., }, ), [ , ), ..., [ ,Max{ ,..., }].in, ~ It is the dividing boundary value of adjacent sub-areas in the 26 sub-areas.
[0032] In step S3034 of this embodiment, when constructing a sequence list of a specified window size for each multidimensional vector by means of a sliding window, for any i-th group of vectors: , The sequence list with window size d is constructed by sliding window: [ , ,..., ], The sequence list is converted into characters. The conversion rule is to check which sub-region the element belongs to. The 26 regions correspond to a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, and each character sequence of length d is obtained. In this embodiment, d=3, then: For any T Construct a sequence list with a window size of 3 by sliding the window: [ , , , , , , , ].
[0033] Finally, a large number of character sequence groups are obtained to form time series data.
[0034] In this embodiment, the formed time series data is input into the SAX-VSM detection model for training, and the training model will obtain a binary classification detection model; when in use, the formed time series data is input into the trained SAX-VSM detection model to obtain the detection result. In this embodiment, when the formed time series data is injected into the SAX-VSM detection model for injection attack detection, each character of the character sequence with the specified window size as the length corresponds to a bit output of the SAX-VSM detection model, and the output is 1 or 0. If the output of the SAX-VSM detection model corresponding to all characters is 0, it is determined that no injection attack is detected, otherwise it is determined that an injection attack is detected. In this embodiment, the data to be detected is sorted according to time. When there are r data points, each data point is reduced in dimension, and then the data is converted into r-d+1 string groups, which are input into the trained SAX-VSM detection model. The detection model will output 0 / 1 values for each group of strings. If the r-d+1 string arrays all output 0, it is considered that the above data is normal. If there is a string input output of 1, it is considered that there is an abnormality in the sequence, and an alarm is sent to the cloud controller. Specifically, in this embodiment, the data to be detected is sorted according to time. When there are 10 data points, each data point is reduced in dimension, and then the data is converted into 8 character string groups, which are input into the trained SAX-VSM model. The detection model will output a 0 / 1 value for each group of strings. If all 8 string arrays output 0, it is considered that the above data has no abnormalities. If there is a string input and output is 1, it is considered that there is an abnormality in the sequence, and an alarm is sent to the cloud controller.
[0035] In order to verify the drone injection attack detection method based on the edge-cloud collaborative two-layer model, in this embodiment, the attack detection effect is performed in a scenario of 15 drones as shown in Table 1. 150,000 historical data (for each drone) and 10,000 abnormal data (for each drone) are collected. A total of 2,000 drones (greater than or equal to 2) are attacked, and the data are used according to the principle of 80% training and 20% detection.
[0036] Table 1 Single / multi-flight UAV attack detection effect
[0037] As shown in Table 1, the method of this embodiment achieves excellent detection results in terms of accuracy and average delay for two scenarios: single drone attack and multiple drone attacks. The average delay is the average value of the response time to abnormal data.
[0038] In addition, for comparison, Table 2 in this embodiment shows the detection effect of a single UAV using the LOF detection model and the SAX-VSM detection model alone.
[0039] Table 2. Attack detection effects of using only LOF detection model and SAX-VSM detection model
[0040] As shown in Table 2, when the LOF detection model and the SAX-VSM detection model are used alone, the detection accuracy is obviously insufficient in terms of accuracy. This shows that the LOF detection model and the SAX-VSM detection model are combined in this embodiment, which has achieved significant improvement in accuracy compared to the use of the LOF detection model and the SAX-VSM detection model alone.
[0041] In summary, the complex data injection attack against a single drone focuses more on concealing the abnormal behavior of a single drone, while the attack against multiple drones focuses more on how to disrupt the cooperation between drones. Therefore, they have great differences in abnormal characteristics. Constructing a single detection model cannot meet the detection requirements. Different detection models need to be constructed for the above two scenarios. This embodiment combines the edge-cloud collaborative double-layer model composed of a complete detection model located in the cloud and a lightweight detection model located on each drone to realize joint detection. Considering that the attack entry point faced by a single drone is large and it is difficult to realize the construction of anomaly detection model through limited data calibration, the present invention uses a lightweight detection model realized by unsupervised detection technology to realize the attack detection of a single drone on the edge side; considering the high concealment of multiple drone attacks, this embodiment aggregates the sensor data of multiple drones to form time series data, and realizes anomaly detection by discovering the potential correlation between time series data. Considering the rapid growth of data dimensions in the context of a large number of drones, which will lead to inaccurate detection model construction and large resource consumption, the data is reduced in dimension through a dimensionality reduction strategy. At the same time, the semantic analysis model is used to discover the potential correlation between discrete data and construct an efficient detection model. Traditional drone attack detection mainly focuses on attack types such as DDos and malicious identity access, and has weak detection capabilities and poor effects on data injection attacks. The present invention focuses on drone data injection attacks, and especially can provide good detection capabilities when multiple drones are simultaneously attacked by data injection. Different from traditional detection mechanisms, the present invention adopts an edge-cloud collaborative detection mechanism, and uses drone computing power to provide low-consumption detection. At the same time, based on the drone edge detection capability, it reduces data transmission volume and saves resource bandwidth. In view of the problems faced by multi-drone scene detection, such as multiple data dimensions and poor data correlation, which lead to difficulty in constructing detection models and low detection accuracy, this embodiment adopts the SAX-VSM mechanism to first reduce the dimensionality of multi-dimensional data, and then adopts a semantic model to construct a high-precision detection model, effectively avoiding the problem of difficulty in constructing models for multi-dimensional data. At the same time, by adopting a semantic analysis model, it can effectively discover the correlation between discrete data and improve detection accuracy.
[0042] In addition, this embodiment also provides a drone injection attack detection system based on the edge-cloud collaborative two-layer model, including interconnected drones and cloud computing devices, and the drones and cloud computing devices are programmed or configured to execute the drone injection attack detection method based on the edge-cloud collaborative two-layer model.
[0043] In addition, this embodiment also provides a computer-readable storage medium, in which a computer program is stored. The computer program is used to be programmed or configured by a microprocessor to execute the drone injection attack detection method based on the edge-cloud collaborative two-layer model.
[0044] In addition, this embodiment also provides a computer program product, which stores computer program instructions, and the computer program instructions are used to be programmed or configured by a microprocessor to execute the drone injection attack detection method based on the edge-cloud collaborative two-layer model.
[0045] Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application can take the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the process Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or boxes Figure 1These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0046] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.
Claims
1. A drone injection attack detection method based on edge-cloud collaborative two-layer model, characterized in that: include: Step S101, using the lightweight detection model located on the drone in the edge-cloud collaborative two-layer model to perform injection attack detection on the drone's sensor data. If an injection attack is detected, an alarm is issued and the system exits; otherwise, the drone's sensor data is uploaded to the cloud and the process goes to step S102; Step S102: The sensor data uploaded by the drone is combined with the sensor data uploaded by other drones through the complete detection model located in the cloud in the edge-cloud collaborative two-layer model to form time series data, and the formed time series data is subjected to injection attack detection. If an injection attack is detected, an alarm is issued and the system exits; otherwise, the detection is terminated and the system exits.
2. The method for detecting drone injection attacks based on the edge-cloud collaborative double-layer model according to claim 1 is characterized in that: The lightweight detection model in step S101 is a LOF detection model, and the injection attack detection of the sensor data of the drone using the LOF detection model includes: Step S201: the data points corresponding to the sensor data of the current drone ={ } T , calculate the current data point With existing data point collection Any point in Neighbor distance, where is the current flight speed of the drone, is the current three-dimensional position coordinate of the drone, ~ They are the 1st to k-1th data points respectively; Step S202, calculate the existing data point set The current data point The specified number of points closest to the neighbor With the current data point The average distance between As the current data point K-neighbor distance ; Determine the current data point The data point whose neighbor distance in the neighborhood is less than or equal to the constant parameter 10, gets the current data point The 10th distance neighbor , and calculate the current data point The local reachable density ; Step S203, based on the current data point K-neighbor distance , local reachable density Calculate the current data point If the local injection attack factor LOF is greater than the preset threshold, it is determined that an injection attack is detected, otherwise it is determined that no injection attack is detected, and the current data point Add to existing data point set .
3. The method for detecting drone injection attacks based on the edge-cloud collaborative double-layer model according to claim 2 is characterized in that: In step S202, the current data point is calculated The local reachable density The calculation function expression is: , In the above formula, The current data point The 10th distance neighbor of The current data point Any data point in the 10th distance neighborhood of The calculation function expression is: , In the above formula, To obtain the maximum value, For data points The 10-neighbor distance, For data points With data points The approaching distance.
4. The method for detecting drone injection attacks based on the edge-cloud collaborative double-layer model according to claim 2 is characterized in that: The current data point in step S203 The calculation function expression of the local injection attack factor LOF is: , In the above formula, The threshold value is 10. The local reachable density of The current data point Any data point in the 10th distance neighborhood of .
5. The method for detecting drone injection attacks based on the edge-cloud collaborative double-layer model according to claim 1 is characterized in that: In step S102, the sensor data uploaded by the drone is combined with the sensor data uploaded by other drones to form time series data, including: Step S301, converting the sensor data uploaded by the drone into one-dimensional data by combining each of the r data points in the sensor data uploaded by other drones and arranging them in time; Step S302, dividing and grouping the 1-dimensional data arranged according to time, and each group forms a multi-dimensional vector; Step S303, dividing the value domain of the 1-dimensional data of the r data points into a plurality of sub-regions according to equal probability; Step S304, construct a sequence list of the specified window size for each multidimensional vector by means of a sliding window, and perform character conversion on the sequence list. The conversion rule is to check which sub-region the elements in the sequence list belong to, and determine the preset character string corresponding to the sub-region by looking up the table, thereby obtaining a character sequence with the specified window size as the length as the time series data for injection attack detection for the complete detection model.
6. The method for detecting drone injection attacks based on the edge-cloud collaborative double-layer model according to claim 5 is characterized in that: The function expression for converting multidimensional data into one-dimensional data in step S301 is: , In the above formula, For the i One-dimensional data, n represents The dimension of Indicates i Of the data points j Dimensions of data.
7. The method for detecting drone injection attacks based on the edge-cloud collaborative double-layer model according to claim 5 is characterized in that: The complete detection model in step S102 is the SAX-VSM detection model, and when the formed time series data is subjected to injection attack detection through the SAX-VSM detection model, each character of the character sequence with the input specified window size as the length corresponds to a one-bit output of the SAX-VSM detection model, and the output is 1 or 0. If the outputs of the SAX-VSM detection model corresponding to all characters are 0, it is determined that no injection attack is detected, otherwise it is determined that an injection attack is detected.
8. A drone injection attack detection system based on an edge-cloud collaborative two-layer model, comprising interconnected drones and cloud computing devices, characterized in that: The drone and cloud computing device are programmed or configured to execute the drone injection attack detection method based on the edge-cloud collaborative two-layer model as described in any one of claims 1 to 7.
9. A computer-readable storage medium having a computer program stored therein, characterized in that: The computer program is used to be programmed or configured by a microprocessor to execute the drone injection attack detection method based on the edge-cloud collaborative two-layer model as described in any one of claims 1 to 7.
10. A computer program product having computer program instructions stored therein, characterized in that: The computer program instructions are used to be programmed or configured by a microprocessor to execute the drone injection attack detection method based on the edge-cloud collaborative two-layer model as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Threat monitoring method of swarm intelligence system suitable for small unmanned aerial vehicle cluster
CN111050302A
High-dimensional data anomaly detection method based on hierarchical processing in industrial Internet of Things
CN112004204A
Intrusion detection method based on edge cloud collaboration
CN112887326A
Unmanned aerial vehicle anomaly detection method based on memory enhanced auto-encoder integrated structure
CN117235549A
METHODS FOR DETECTING A CYBERATTACK ON AN ELECTRONIC DEVICE, METHOD FOR OBTAINING A SUPERVISED RANDOM FOREST MODEL FOR DETECTING A DDoS ATTACK OR A BRUTE FORCE ATTACK, AND ELECTRONIC DEVICE CONFIGURED TO DETECT A CYBERATTACK ON ITSELF
US20220263846A1
Cited By
Face recognition method and system based on cloud machine cooperation
CN121527601A
