A defense method and related device for intelligent system
By using autocorrelation and cross-correlation judgment models in intelligent systems to detect sensor attacks and repair data, the problem of information distortion caused by intelligent system perception system attacks is solved, and comprehensive attack defense and security improvement of the system are achieved. .
Patent Information
- Application Number
- CN202010519394.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-09
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2040-06-09
AI Technical Summary
When the sensing system or sensing device of an intelligent system is attacked, the information obtained by the sensor will be distorted, which will lead to erroneous recognition results and security accidents. It is difficult to achieve comprehensive attack detection and defense of the system with existing technology.
Based on the characteristic information collected by the sensor, the autocorrelation judgment model and the cross-correlation judgment model are used to determine whether the sensor is attacked, and when it is determined that it is attacked, the sensing data is repaired to improve the defense capabilities of the intelligent system.
It realizes real-time attack detection and data repair of intelligent systems, improves the system's defense capabilities and security, and forms a comprehensive attack defense system.
Smart Images

Figure CN111860139B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent system security technology, and in particular to a defense method and related devices for an intelligent system. Background Art
[0002] The rapid development of information and communication technology has driven the development of intelligent system technology. With the goal of improving the security and efficiency of intelligent systems, the intelligentization and Internetization of intelligent systems have become an inevitable trend in the development of intelligent systems. Among them, the security and reliability of the perception system or perception equipment in the intelligent system affects the security and stability of the entire intelligent system. Once the perception system or perception equipment of the intelligent system is attacked, the information obtained by the sensor will be distorted, which will lead to erroneous recognition results, which will cause the intelligent system to come up with wrong strategies, and then cause safety accidents in the intelligent system. Therefore, a technical solution that can stably defend against external attacks is needed to solve the above technical problems. Summary of the invention
[0003] The main technical problem solved by the present application is to provide a defense method and related devices for an intelligent system, which can improve the defense capability and security of the intelligent system.
[0004] In order to solve the above technical problems, a technical solution adopted by the present application is: to provide a defense method for an intelligent system, the method comprising:
[0005] Based on the sensing data collected by at least one sensor, obtaining characteristic information corresponding to the at least one sensor;
[0006] Inputting the characteristic information of each sensor into an attack judgment model of the corresponding sensor to judge whether the sensor is an attacked sensor, wherein the attack judgment model includes at least one of an autocorrelation judgment model and a mutual correlation judgment model;
[0007] If so, the sensing data of the attacked sensor is repaired.
[0008] In order to solve the above technical problems, another technical solution adopted by the present application is: to provide a defense device, the device includes a memory, a processor and a data acquisition port, the memory and the data acquisition port are respectively coupled to the processor, wherein:
[0009] The data acquisition port acquires sensing data fed back by at least one sensor under the control of the processor, and outputs the sensing data to the processor;
[0010] The memory stores a computer program;
[0011] The processor is configured to run the computer program to execute the method described above.
[0012] In order to solve the above technical problems, another technical solution adopted in the present application is: to provide an intelligent system, including at least one sensor and the defense device as described above.
[0013] In order to solve the above technical problems, another technical solution adopted by the present application is to provide a storage medium, which stores a computer program that can be executed by a processor, and the computer program is used to implement the defense method of the intelligent system as described above.
[0014] The beneficial effect of the present application is that, different from the prior art, the technical solution provided by the present application obtains characteristic information corresponding to at least one sensor based on the sensor data collected by at least one sensor, and then inputs the characteristic information of each sensor into the autocorrelation judgment model and / or the cross-correlation judgment model corresponding to each sensor, so as to quickly determine whether the sensor is an attacked sensor, that is, after each sensor feeds back the sensor data to the intelligent system, it is determined in real time whether the corresponding sensor is attacked based on the autocorrelation and / or cross-correlation of the sensor data, and when it is determined that the sensor is attacked, the sensor data corresponding to the attacked sensor is repaired, thereby greatly improving the defense capability and completeness of the intelligent system. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 This is a schematic diagram of the structure of a defense device in an embodiment of the present application;
[0016] Figure 2 This is a structural diagram of an intelligent system in an embodiment of the present application;
[0017] Figure 3 It is a flowchart of an embodiment of a defense method of an intelligent system of the present application;
[0018] Figure 4 A schematic diagram of a process flow in another embodiment of a defense method for an intelligent system of the present application;
[0019] Figure 5 A flowchart of another embodiment of a defense method for an intelligent system of the present application;
[0020] Figure 6 A schematic diagram of a process flow in another embodiment of a defense method for an intelligent system of the present application;
[0021] Figure 7 A schematic diagram of a process flow in another embodiment of a defense method for an intelligent system of the present application;
[0022] Figure 8 A schematic diagram of a process flow in another embodiment of a defense method for an intelligent system of the present application;
[0023] Fig. 9 This is a schematic structural diagram of a storage medium embodiment of the present application. DETAILED DESCRIPTION
[0024] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It is to be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0025] In the description of the present application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically limited. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0026] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0027] With the development of intelligent technology, intelligent systems are widely used in all walks of life, especially in the field of unmanned driving, such as unmanned vehicles, drones, etc. When intelligent systems are applied to the field of unmanned driving, how to improve traffic safety reliability, improve processing efficiency, and make cars intelligent and networked has become a development trend in the field of unmanned driving. Since unmanned driving technology is an important project for the development of today's society and cutting-edge science and technology, it has immeasurable significance for many fields of society such as urban construction, transportation, economic development and national defense. Among them, the perception system in unmanned driving technology affects the safety and stability of the equipment using the intelligent system. Once the perception system of the intelligent system is attacked, the information obtained by the perception system is distorted, resulting in erroneous recognition results, and then incorrect decisions, which are likely to cause safety accidents and cause serious loss of life and property. Therefore, countries and organizations are vying to introduce relevant policies and new technologies.
[0028] At present, the security defense of intelligent systems at home and abroad is still in a relatively early stage, and the proposed solutions are applicable to relatively single scenarios. For example, when the intelligent system is applied to the field of unmanned driving, the intelligent system includes a visual perception part, and only a single defense can be performed on the visual perception part. Then there are two main methods for the existing defense against visual attacks: the first is to continuously improve the robustness of the network by continuously inputting new types of adversarial samples and performing adversarial training. This method requires a large amount of training data. However, Moosavi-Dezfooli pointed out that no matter how many adversarial samples are added, there are new adversarial attack samples that can deceive the network again; the second is to deploy more sensors in a way that increases redundancy. The first method only reduces the impact of adversarial samples on sensor recognition to a certain extent, but there will always be new adversarial samples. The second method will significantly increase the cost of production configuration.
[0029] The main defense measures for LiDAR sensors in unmanned driving in the existing technology are: (1) Install fast photoelectric switches and filters in optical and optoelectronic devices to prevent laser blinding. (2) Research anti-laser structures, such as sandwich structures, to prevent enemy laser energy from damaging one's own equipment. (3) Technical parameters are strictly kept confidential, such as using coding technology for one's own laser signals to increase the difficulty of enemy interference. (4) Develop and manufacture shells made of special high-temperature resistant materials to make it difficult to be burned and penetrated by laser weapons. Investigations and studies have shown that these methods can only reduce the risk of attack to a certain extent, but cannot provide safety countermeasures after the LiDAR sensor is attacked.
[0030] As for the attack defense of position sensors, a combination of encryption, signal distortion detection, direction of arrival (DOA) sensing and other methods are required to resist attacks. It is impossible to achieve complete defense with a single method. The cost and expense of this method are extremely high, and there is also the possibility of missed detection. Therefore, it can be seen from the above that the current defense method of the intelligent system can only achieve defense against a single sensor, or reduce the impact of the attack to a certain extent, but has not yet formed a systematic and comprehensive attack detection and defense system, and the technical solution provided in this application can better solve the above technical problems.
[0031] In order to facilitate understanding of the defense method of the intelligent system provided by the present application, the defense device and the intelligent system provided by the present application are first described. Figure 1 , Figure 1 FIG. 1 is a schematic diagram of a structure of a defense device in an embodiment of the present application. In the current embodiment, the defense device 100 provided by the present application can perform the following operations: Figures 3 to 8The defense method of the intelligent system described in any one of the corresponding embodiments. Specifically, the defense device 100 includes a memory 102, a processor 101 and a data acquisition port 103. The memory 102 and the data acquisition port 103 are coupled to the processor 101 respectively.
[0032] Among them, under the control of the processor 101, the data acquisition port 103 obtains the sensor data fed back by at least one external sensor (not shown) and outputs it to the processor 101, so that the processor 101 determines whether the sensor is an attacked sensor based on the sensor data, and when it is determined that the external sensor is an attacked sensor, further repairs the sensor data obtained by the attacked sensor.
[0033] The memory 102 includes a local storage (not shown) and stores a computer program. When the computer program stored in the memory 102 is executed, Figures 3 to 8 And the defense method of the intelligent system described in any corresponding embodiment.
[0034] The processor 101 is coupled to the memory 102, and the processor 101 is used to run the computer program to perform the above Figures 3 to 8 And the defense method of the intelligent system described in any corresponding embodiment.
[0035] See also Figure 2 , Figure 2 200 is a schematic diagram of a structure of an intelligent system in an embodiment of the present application. In the current embodiment, the intelligent system 200 provided by the present application includes at least one sensor 201 and a defense device 202, wherein the defense device 202 is as follows: Figure 1 The at least one sensor 201 is used to sense the external environment to collect sensor data of the target, and feed the acquired sensor data back to the defense device 202, and the defense device 202 is used to execute Figures 3 to 8 And the defense method of the intelligent system described in any corresponding embodiment.
[0036] The number and type of sensors 201 included in the intelligent system 200 are not limited here, and can be set according to the actual application scenario and actual functional requirements of the intelligent system 200. For example, in one embodiment, when the intelligent system 200 is a system applied to an unmanned vehicle, the sensor 201 in the intelligent system 200 includes at least one of a position sensor, a lidar sensor, and an inertial measurement unit. In another embodiment, the sensor 201 includes other circuit units for obtaining external environmental parameters in addition to the sensors in the traditional sense. For example, when the intelligent system 200 is a system used on a drone, the sensor 201 in the intelligent system 200 includes at least one of a distance sensor, a height sensor, a torque sensor, a balance sensor, and an image acquisition unit.
[0037] It should be noted that, in other embodiments, Figure 2 The sensor 201 described in the figure may also be directly integrated into the defense device 202, which is not limited here.
[0038] See also Figure 3 , Figure 3 This is a flowchart of an embodiment of a defense method for an intelligent system of the present application. In the current embodiment, the execution subject of the defense method for the intelligent system is as above Figure 1 Specifically, the method provided in this application includes steps S310 to S330.
[0039] S310: Based on the sensing data collected by at least one sensor, characteristic information corresponding to at least one sensor is obtained.
[0040] When the sensors in the equipment used in the intelligent system sense the external environment and collect sensor data, each sensor will feed back the collected sensor data to the defense device. The defense device obtains the sensor data collected by at least one sensor, and after obtaining the sensor data, processes the sensor data to obtain characteristic information corresponding to at least one sensor.
[0041] Among them, further, in one embodiment, at least one sensor includes at least one of a position sensor, a lidar sensor, and an inertial measurement unit. In the current embodiment, the sampling period of each sensor is the shortest sampling period of the inertial measurement unit (IMU), and the cycle period of the method provided in the present application is set according to the sampling period of each sensor.
[0042] Furthermore, the characteristic information is a characteristic vector, which can be expressed in the form of a matrix to represent the characteristic vector corresponding to each sensor.
[0043] Furthermore, when at least one sensor feeds back the collected sensor data to the defense device according to the set sampling period, step S310 is based on the sensor data collected by at least one sensor in the current sampling period, and the sensor data is processed to obtain the characteristic information corresponding to each sensor. Among them, when the intelligent system is a system applied to an unmanned vehicle, the sampling period of each sensor can be uniformly set to the shortest sampling period of the inertial measurement unit. In another embodiment, the sampling period of each sensor is not limited, only the cycle period of the method provided in the present application is limited. In the current embodiment, the shortest sampling period among all sensors can be defined as the cycle period of the method provided in the present application. Among them, the above-mentioned cycle period refers to the time required for a complete cycle of steps S310 to S330.
[0044] Furthermore, when the sensing data acquired by the sensor can be used to directly reflect the characteristics of the target, the sensing data collected by the sensor can be directly output as the characteristic information corresponding to the sensor. Otherwise, the sensing data acquired by each sensor will be converted into an expression form to obtain the characteristic information corresponding to each sensor.
[0045] S320: Inputting the characteristic information of each sensor into the attack judgment model of the corresponding sensor to judge whether the sensor is an attacked sensor.
[0046] After obtaining the characteristic information corresponding to at least one sensor, the characteristic information of each sensor will be further input into the attack judgment model of the corresponding sensor to determine whether the sensor data obtained by the current sensor is abnormal, and then determine whether each sensor is attacked based on the judgment result.
[0047] In another embodiment, when each sensor feeds back sensor data to the defense device according to a set period, in step S320, the characteristic information of the current period of each sensor is input into the attack judgment model of the corresponding sensor respectively, and then it is judged whether the sensor is an attacked sensor in the current period according to the output result of the attack judgment model.
[0048] In the same intelligent system, since there will be information intersection and redundancy between different sensors, and the relationship between the intersection and redundancy of information does not change with the change of the external environment, it is possible to judge or assist in judging whether the sensor is attacked by pre-building a correlation judgment model. Correspondingly, there will also be time-invariant autocorrelations for the sensor data collected by the same sensor in different time periods, so it is possible to judge or assist in judging whether each sensor is attacked by respectively building an autocorrelation judgment model corresponding to each sensor. Based on this, the above-mentioned attack judgment model includes at least one of an autocorrelation judgment model and a correlation judgment model. Specifically, the autocorrelation judgment model and the correlation judgment model can be models established in advance based on empirical values. Among them, the autocorrelation judgment model is a judgment model established based on the autocorrelation between the same type of sensor data obtained by the same type of sensor or the feature information corresponding to the same type of sensor data, and the correlation judgment model is a judgment model established based on the correlation between different types of sensor data obtained by different types of sensors, or the correlation between feature information corresponding to different types of sensor data. It should be noted that in the same intelligent system, the autocorrelation between the sensor data (or the characteristic information corresponding to the sensor data) acquired by the sensor at different times is relatively unchanged, and the cross-correlation between the sensor data (or the characteristic information corresponding to the sensor data) acquired by different types of sensors with cross-correlation in the same period is also unchanged.
[0049] Specifically, the autocorrelation judgment model and the mutual correlation judgment model can be constructed by a mathematical modeling algorithm, or obtained by training a machine learning algorithm. Therefore, further, in one embodiment, the method provided by the present application also includes constructing an attack judgment model by a mathematical modeling algorithm or a machine learning algorithm. It can be understood that the construction method of the attack judgment model is not limited, and other types of methods can also be used to construct the attack judgment model in other embodiments.
[0050] Further, in one embodiment, step S320 may be to input the characteristic information of each sensor into the corresponding autocorrelation judgment model or the mutual correlation judgment model, and then determine whether each sensor is an attacked sensor. In another embodiment, step S320 may also be to first input the characteristic information of each sensor into the corresponding autocorrelation judgment model, and then input the characteristic information of each sensor into the corresponding mutual correlation judgment model, to determine whether the sensor is an attacked sensor. In another embodiment, step S320 may also be to first input the characteristic information of the sensor into the mutual correlation judgment model corresponding to the sensor, and determine in the mutual correlation judgment model that the mutual correlation between the sensor and other sensors changes in the current cycle, then determine that the sensor is a suspected attacked sensor in the current cycle, and further input the characteristic information of the suspected attacked sensor into its corresponding autocorrelation judgment model, to further determine whether the suspected attacked sensor is an attacked sensor.
[0051] Furthermore, when the intelligent system includes multiple types of sensors, some of the multiple types of sensors are mutually correlated, while some sensors are not mutually correlated with other sensors. Therefore, when executing step S320, the type of attack judgment model corresponding to the current sensor stored in the system can be first determined, and then the characteristic information of the sensor is input into the type of attack judgment model already existing for the current sensor. For example, when it is determined that the current sensor only has an autocorrelation judgment model, the autocorrelation judgment model is directly selected by default in step S320 to determine whether the sensor is an attacked sensor.
[0052] Furthermore, in another embodiment, in the technical solution provided by the present application, multiple judgment modes for judging whether a sensor is attacked can be set in the intelligent system for users to choose from. For example, three modes can be set according to the speed and accuracy of the entire judgment process for users to choose to execute. The first mode is to input the characteristic information of the sensor into the autocorrelation judgment model, and determine whether the sensor is an attacked sensor according to the judgment result of the autocorrelation judgment model; the second mode is to input the characteristic information of the sensor into the mutual correlation judgment model corresponding to the sensor, so as to determine whether the sensor is an attacked sensor according to the judgment result of the mutual correlation judgment model; the third mode is to first input the characteristic information of the sensor into the autocorrelation judgment model corresponding to the sensor, and then input the characteristic information of the sensor into the mutual correlation judgment model corresponding to the sensor, so as to combine the judgment result of the autocorrelation judgment model and the judgment result of the mutual correlation judgment model to determine whether the sensor is an attacked sensor.
[0053] Before step S310, the method provided in the present application further includes: acquiring sensor data collected by at least one sensor. After acquiring the sensor data collected by at least one sensor, further converting the sensor data to obtain feature information corresponding to at least one sensor.
[0054] S330: Repair the sensor data of the attacked sensor.
[0055] If the characteristic information of each sensor is respectively input into the attack judgment model of the corresponding sensor and it is determined that the sensor is an attacked sensor, the sensor data of the attacked sensor will be further repaired.
[0056] Furthermore, if it is determined that the sensor is an attacked sensor in the current cycle, the sensing data of the sensor in the current cycle will be further repaired.
[0057] This application Figure 3 The technical solution provided in the corresponding embodiment obtains characteristic information corresponding to at least one sensor based on the sensor data collected by at least one sensor, and then inputs the characteristic information of each sensor into the autocorrelation judgment model and / or the cross-correlation judgment model corresponding to each sensor, so as to quickly determine whether the sensor is an attacked sensor, that is, after each sensor feeds back the sensor data to the intelligent system, it is determined in real time whether the corresponding sensor is attacked based on the autocorrelation and / or cross-correlation of the sensor data, and the sensor data corresponding to the attacked sensor is quickly repaired when it is determined that the sensor is attacked, thereby greatly improving the defense capability and completeness of the intelligent system.
[0058] Before describing the corresponding method flow in each of the following embodiments, the construction process of the attack judgment model is described first.
[0059] Specifically, the construction process of the attack judgment model is described by taking an intelligent system applied to an autonomous vehicle and applying the method provided in this application to the sensor of the visual perception part for security defense as an example. Among them, the visual perception part includes two parts: target detection and positioning, wherein the sensor used for target detection includes at least a laser radar sensor and an image acquisition unit, and the sensor used for positioning includes at least a position sensor (such as GPS, Beidou navigation) and the above-mentioned laser radar sensor. Among them, the position sensor belongs to absolute positioning, and other types of positioning methods all need to extract the feature vector of the corresponding environment in a structured environment. However, if the sensor is actively attacked by the outside world, the feature vector will be lost, which will cause the positioning or target detection of the intelligent system to fail. For example, when the image acquisition unit is attacked by strong light, if the positioning feature is not restored in time according to the sensor data collected by the laser radar sensor, it will bring greater safety hazards to the autonomous driving. It has been verified that when the image acquisition unit is attacked by strong light, the technical solution provided in the present application can be used to determine in real time that the image acquisition unit is an attacked sensor, and when the image acquisition unit is determined to be an attacked sensor, the sensor data or feature information of the image acquisition unit can be quickly restored, which can greatly improve the security of the intelligent system.
[0060] The laser radar sensor is used to collect laser point cloud information and construct a laser radar map. Among them, the laser radar map includes a reflection value map and a height value map. Specifically, the laser radar map can be constructed based on the characteristic quantities of the physical world such as laser reflection intensity and laser height, and then the relative position and posture of the carrier (vehicle body) of the laser radar sensor can be solved. The essence of matching and positioning using laser point cloud data is an optimization problem. As long as the loss function for positioning is predefined, then solving the minimum loss function is the process of positioning the carrier. Image alignment is to solve the heading angle yaw by an optimization method, and the SSD-HF (SSD-Sum of Squared Difference Histogram Filter) optimization method is used to solve the coordinate points x and y of the carrier. (x, y) represents the plane coordinate point of the carrier in the laser radar map. The height information z of the carrier is directly obtained from the laser point cloud data, and finally the laser positioning algorithm is used to output the carrier's position and posture information X (x, y, z, yaw).
[0061] When the carrier equipped with the LiDAR sensor observes the point cloud L in one scan m , L m The position in the laser radar coordinate system is recorded as Y Lm , the coordinate system of the laser radar sensor carrier relative to the map is X(t), then according to the observation principle of the laser radar sensor, the laser radar observation equation can be written as:
[0062]
[0063] Where ρ is the measurement distance, α and β are the measurement angles of the laser pulses emitted by the lidar sensor, H(t) represents the observation matrix of the lidar sensor, and v is the measurement noise.
[0064] If the number of point clouds scanned by the lidar sensor at one time is k, the corresponding point feature vector observation equation group of the current lidar sensor at one time is:
[0065]
[0066] In the positioning task, the feature vector of the lidar sensor can be expressed as In the target detection task, the feature vector of the lidar sensor can be expressed as: [XY] T Represents the detected target relative to the carrier (i.e. vehicle body) coordinate system of the lidar sensor [0 0] T The location of [hw] T represents the height and width of the detection box, and θ is the confidence that the detection box contains the detected target. Among them, the confidence is the probability indication of the object category determined by the target detection algorithm, which is used to identify the probability of the target type currently detected. For example, when the detection task is a vehicle, the confidence indicates the probability that the target detected is a vehicle.
[0067] The characteristic vector of the inertial measurement unit (IMU) is used To express, Among them [yaw pitch roll] T Indicates the heading angle, pitch angle and roll angle, [V x V y V z ] T Indicates the three-axis speed, [a x a y a z ] T represents the three-axis acceleration, [w x w y w z ] T Represents the three-axis angular velocity.
[0068] GPS feature vector x, y, z are the three-dimensional coordinates of the vehicle body.
[0069] In the current embodiment, the image acquisition unit in the autonomous vehicle is an onboard camera, and the autonomous vehicle collects images around the vehicle through the onboard camera. The collected images are input into the target detection system in RGB format, and the intelligent system calls the deep convolutional neural network algorithm to extract features from the RGB image. Finally, the features extracted from the RGB image can effectively describe the information of the target object, and the target object detection result is expressed as a vector. Indicates. Where [X v Y v ] T Represents the coordinate value of the target object in the image coordinate system, [hω] T Represents the height and width of the detection box, v represents the category number of the target object detected by the deep convolutional neural network algorithm, and p represents the confidence of the target object.
[0070] After obtaining the characteristic vectors corresponding to the sensor data collected by each sensor, further according to the characteristic vectors corresponding to the sensor data collected by each sensor, appropriate correlation and autocorrelation expression methods are selected respectively to establish the constant mutual correlation judgment model between each sensor and the time-invariant autocorrelation judgment model of each sensor. In the current embodiment, Correlation_space() is used to represent the mathematical function of the mutual correlation judgment model, Correlation_time() is used to represent the mathematical function of the autocorrelation judgment model, the matrix S_constant represents the matrix representation of the inherent mutual correlation relationship between sensors, and C_i represents the matrix representation of the autocorrelation of the sensor numbered i at different times, then the matrix of mutual correlation and the matrix of autocorrelation are as follows:
[0071]
[0072]
[0073] Among them, s(a,b) represents the feature cross-correlation between sensor a and sensor b. It represents the characteristic vector of the sensor numbered i, c(t i , t i ) represents the characteristic correlation of the sensor at the i-th moment and the j-th moment.
[0074] In the technical solution provided in the present application, a preset mutual correlation matrix and a preset autocorrelation matrix corresponding to each sensor are first set according to the characteristics of each sensor when not attacked. During the operation of the intelligent system, the characteristic correlation corresponding to the sensor is first calculated to obtain the corresponding target mutual correlation matrix, and the autocorrelation corresponding to the sensor is obtained to obtain the corresponding target autocorrelation matrix. Then, the obtained target mutual correlation matrix is compared with the preset mutual correlation matrix to determine whether the target mutual correlation matrix and the preset mutual correlation matrix are consistent, and then it is determined whether the sensor is attacked. Similarly, after obtaining the target autocorrelation matrix, the obtained target autocorrelation matrix is compared with the preset autocorrelation matrix to determine whether the target autocorrelation matrix and the preset autocorrelation matrix are consistent, and then it is determined whether the sensor is attacked.
[0075] If the lidar sensor is attacked by a high-repetition-rate pulse laser interference source at a distance, each sensor feeds back the real-time collected environmental information to the defense device, extracts features from the perception data, and uses a time correlation model and a space correlation model to calculate the correlation of the extracted features, and obtains the time-based target autocorrelation matrix C_1', C_2', C_3'...C_n' of each sensor, as well as the target mutual correlation matrix S' between different sensors; then the obtained target autocorrelation matrix C_1', C_2', C_3'...C_n' is compared with the preset autocorrelation matrix C_1, C_2, C_3...C_n to determine whether the target autocorrelation matrix is consistent with the preset autocorrelation matrix. If they are inconsistent, it is preliminarily determined that the current sensor is the attacked sensor; similarly, if the target mutual correlation matrix S' obtained after comparison is inconsistent with the preset mutual correlation matrix S, it is determined that there is an attacked sensor among the current sensors.
[0076] In another embodiment, after determining that the target correlation matrix is inconsistent with the preset correlation matrix, the target autocorrelation matrix of each sensor in the correlation matrix is compared with the preset autocorrelation matrix to see if they are consistent. If they are inconsistent, the sensor is determined to be an attacked sensor. Of course, in another embodiment, the sensor can be determined to be a suspected attacked sensor by using the target autocorrelation matrix and the preset autocorrelation matrix, and then the corresponding target correlation matrix is compared with the corresponding preset correlation matrix to further confirm whether the suspected attacked sensor is the attacked sensor. Among them, taking the target correlation matrix and the corresponding preset correlation matrix as an example, the two matrices are subtracted, and it is determined whether each element in the matrix obtained by subtracting the two matrices is 0. If so, it is determined that the target correlation matrix is consistent with the corresponding preset correlation matrix. On the contrary, if there is an element in the matrix obtained by subtracting, such as the following S-S_constant, that is not zero, it is determined that the target correlation matrix is inconsistent with the corresponding preset correlation matrix, and then it can be determined that the current sensor is an attacked sensor or a suspected attacked sensor.
[0077]
[0078] See also Figure 4 , Figure 4 This is a flow chart of another embodiment of a defense method for an intelligent system of the present application. Figure 3 Step S320 of inputting the characteristic information of each sensor into the attack judgment model of the corresponding sensor to judge whether the sensor is an attacked sensor further includes steps S401 to S404.
[0079] S401: Each sensor is used as a target sensor.
[0080] Each sensor is taken as a target sensor. The target sensor refers to the sensor that is currently being judged whether it is attacked. The target sensor can be any sensor included in the intelligent system, and is not limited here.
[0081] S402: Inputting feature information corresponding to the target sensor into an autocorrelation judgment model of the target sensor to judge whether the feature information of the target sensor does not meet a preset autocorrelation.
[0082] After obtaining the characteristic information corresponding to at least one sensor and determining that a certain sensor is the target sensor, the characteristic information obtained based on the sensor data collected by the target sensor is further input into the autocorrelation judgment model of the target sensor to determine whether the characteristic information of the target sensor does not meet the preset autocorrelation.
[0083] S403: further inputting the feature information corresponding to the target sensor into the mutual correlation judgment model corresponding to the target sensor to judge whether the feature information of the target sensor does not meet the preset mutual correlation.
[0084] If it is determined that the characteristic information of the target sensor does not meet the preset autocorrelation, it means that the sensor whose characteristic information is obtained by the current sensor is suspected to be attacked. Therefore, in the current embodiment, after it is determined that the characteristic information of the target sensor does not meet the preset autocorrelation, the characteristic information corresponding to the target sensor will be further input into the cross-correlation judgment model corresponding to the target sensor to determine whether the characteristic of the target sensor does not meet the preset cross-correlation, and further confirm whether the target sensor is an attacked sensor.
[0085] Furthermore, in one embodiment, the same sensor may have multiple mutual correlation judgment models, and then in step S403, the characteristic information corresponding to the target sensor will be respectively input into the multiple mutual correlation judgment models corresponding to the target sensor to judge whether the characteristic information of the target sensor does not meet the preset mutual correlation. Wherein, when the characteristic information of the target sensor determined by the multiple mutual correlation judgment models all meets the preset mutual correlation, it is judged that the characteristic information of the target sensor meets the preset mutual correlation; conversely, if at least one mutual correlation judgment model determines that the characteristic information of the target sensor does not meet the preset mutual correlation, it is judged that the characteristic information of the target sensor does not meet the preset mutual correlation.
[0086] S404: Determine that the target sensor is an attacked sensor.
[0087] If it is determined that the characteristic information of the target sensor does not meet the preset mutual correlation, the current target sensor is determined to be the attacked sensor, and the sensor data of the target sensor is further repaired when the target sensor is determined to be the attacked sensor. The repair process of the sensor data can be referred to below. Figure 8 And the contents described in any corresponding embodiment.
[0088] exist Figure 4In the corresponding embodiment, by inputting the characteristic information corresponding to the target sensor into the autocorrelation judgment model of the target sensor, and when it is determined that the characteristic information of the target sensor does not meet the preset autocorrelation, the characteristic information corresponding to the target sensor is further input into the cross-correlation judgment model corresponding to the target sensor to judge whether the characteristic information of the target sensor does not meet the preset cross-correlation. If the characteristic information of the target sensor does not meet the preset cross-correlation, the target sensor is determined to be an attacked sensor. That is, judging whether the sensor is an attacked sensor based on both the autocorrelation and the cross-correlation can achieve a relatively accurate judgment of whether the sensor is an attacked sensor, further improving the accuracy of intelligent system defense.
[0089] See also Figure 5 , Figure 5 This is a flow chart of another embodiment of a defense method for an intelligent system of the present application. First of all, it should be noted that due to the relatively stable characteristics of autocorrelation and cross-correlation, Figure 5 In the corresponding embodiment, it is also possible to determine whether the sensor is an attacked sensor based solely on the judgment result of the autocorrelation judgment model. Figure 3 Step S320 of inputting the characteristic information of each sensor into the attack judgment model of the corresponding sensor to judge whether the sensor is an attacked sensor further includes steps S501 to S502.
[0090] S501: Each sensor is taken as a target sensor.
[0091] Each sensor is taken as a target sensor to determine whether each sensor is attacked.
[0092] S502: Inputting feature information corresponding to the target sensor into the autocorrelation judgment model of the target sensor to judge whether the feature information of the target sensor does not meet the preset autocorrelation. If so, the target sensor is determined to be an attacked sensor.
[0093] In the current embodiment, the characteristic information corresponding to the target sensor is input into the autocorrelation judgment model of the target sensor, and whether the target sensor is an attacked sensor is directly judged based on the judgment result of the autocorrelation judgment model. When the current characteristic information of the target sensor does not meet the autocorrelation, it is judged that the current target sensor is an attacked sensor. Specifically, the target autocorrelation matrix of the target sensor can be calculated, and the target autocorrelation matrix is compared with the preset autocorrelation matrix, and whether the current sensor is an attacked sensor is determined based on the judgment result of whether the two matrices are the same. If they are the same, the current target sensor is judged to be normal, otherwise, the current target sensor is judged to be an attacked sensor.
[0094] In another embodiment, step S320 may also include: taking each sensor as a target sensor, inputting the characteristic information corresponding to the target sensor into the mutual correlation judgment model corresponding to the target sensor to judge whether the characteristic information of the target sensor does not meet the preset mutual correlation, and if so, determining that the target sensor is an attacked sensor. Specifically, it may be a target mutual correlation matrix between the target sensor and other sensors related to the target sensor that is calculated, and comparing the target mutual correlation matrix with the preset mutual correlation matrix, and determining whether the current sensor is an attacked sensor based on the judgment result of whether the two matrices are the same. If they are the same, the current target sensor is judged to be normal, otherwise, the current target sensor is judged to be an attacked sensor.
[0095] See also Figure 6 , Figure 6 The flowchart of another embodiment of the defense method of an intelligent system of the present application is shown in FIG. In the current embodiment, the above steps input the characteristic information corresponding to the target sensor into the autocorrelation judgment model of the target sensor to judge whether the characteristic information of the target sensor does not meet the preset autocorrelation, and further include steps S601 to S603.
[0096] S601: Obtain a target autocorrelation matrix of the target sensor based on corresponding feature information of the target sensor.
[0097] After acquiring the characteristic information corresponding to the target sensor, a target autocorrelation matrix of the target sensor is obtained by conversion based on the characteristic information corresponding to the target sensor.
[0098] S602: Determine whether the target autocorrelation matrix is consistent with a preset autocorrelation matrix of the target sensor.
[0099] Since the autocorrelation of the sensor data obtained by the same sensor in different time periods will remain unchanged, the autocorrelation matrix corresponding to the characteristic information of the sensor will remain unchanged. Therefore, after obtaining the target autocorrelation matrix of the target sensor, the target autocorrelation matrix can be compared with the preset autocorrelation matrix of the target sensor to determine whether the target autocorrelation matrix is consistent with the preset autocorrelation matrix of the target sensor.
[0100] S603: If not, it is determined that the characteristic information of the target sensor does not meet the preset autocorrelation.
[0101] If it is known through comparison that the target autocorrelation matrix is inconsistent with the preset autocorrelation matrix of the target sensor, then it is determined that the characteristic information of the target sensor does not conform to the preset autocorrelation; conversely, if it is known through comparison that the target autocorrelation matrix is consistent with the preset autocorrelation matrix of the target sensor, then it is determined that the characteristic information of the target sensor conforms to the preset autocorrelation. Specifically, in one embodiment, the target autocorrelation matrix can be subtracted from the preset autocorrelation matrix of the target sensor to determine whether each element in the matrix obtained by subtraction is zero to determine whether the target autocorrelation matrix is consistent with the preset autocorrelation matrix. If each element in the matrix obtained by subtraction is 0, then it is determined that the target autocorrelation matrix is consistent with the preset autocorrelation matrix. Conversely, it is determined that the target autocorrelation matrix is inconsistent with the preset autocorrelation matrix.
[0102] See also Figure 7 , Figure 7 This is a flow chart of another embodiment of a defense method for an intelligent system of the present application. In the current embodiment, the above steps input the characteristic information corresponding to the target sensor into the mutual correlation judgment model corresponding to the target sensor to judge whether the characteristic information of the target sensor does not meet the preset mutual correlation, and further include steps S701 to S703.
[0103] S701: Obtain a target mutual correlation matrix of the target sensor based on feature information corresponding to the target sensor and feature information corresponding to at least one other sensor.
[0104] The other sensors are sensors that have a mutual correlation with the target sensor. The other sensors may be preset according to the mutual correlation between the sensors, which is not limited here.
[0105] Therefore, based on the feature information corresponding to the target sensor and the feature information corresponding to at least one other sensor, a target mutual correlation matrix of the target sensor is obtained. The number of other sensors is not limited here and can be set based on requirements and mutual correlation between sensors.
[0106] Furthermore, in another embodiment, when each sensor collects sensor data according to a set period, step S701 obtains the correlation matrix of the target sensor in the current period based on the characteristic information corresponding to the target sensor in the current period and the characteristic information of at least one other sensor in a period corresponding to the period of the target sensor.
[0107] In another embodiment, when the same sensor has different correlations with multiple different sensors, multiple target mutual correlation matrices corresponding to the target sensors may be obtained in step S701.
[0108] S702: Obtain a preset mutual correlation matrix between the target sensor and at least one other sensor, and determine whether the target mutual correlation matrix is consistent with the preset mutual correlation matrix.
[0109] It should be noted that, in the technical solution provided in the present application, the preset mutual correlation matrix is associated with the attribute identity information of each sensor and saved. Therefore, based on the information of the target sensor, the preset mutual correlation matrix between the target sensor and at least one other sensor can be directly obtained, and the target mutual correlation matrix of the target sensor in the current cycle obtained is compared with the preset mutual correlation matrix to determine whether the target mutual correlation matrix is consistent with the preset mutual correlation matrix.
[0110] S703: If not, it is determined that the characteristic information of the target sensor does not meet the preset correlation.
[0111] If the target correlation matrix and the preset correlation matrix are inconsistent, it is determined that the characteristic information of the target sensor does not meet the preset correlation; conversely, if the target correlation matrix and the preset correlation matrix are consistent, it is determined that the characteristic information of the target sensor meets the preset correlation.
[0112] Further, Figure 3 The step S330 of repairing the sensor data of the attacked sensor further includes: repairing the sensor data of the attacked sensor using a modeling method of matrix decomposition. In the current embodiment, the modeling method of matrix decomposition can realize rapid repair of the sensor data of the attacked sensor, thereby improving the execution efficiency of the algorithm. It is understandable that in other embodiments, other methods can also be used to repair the sensor data of the attacked sensor, such as the modeling method of nuclear norm relaxation can also be used to repair the sensor data of the attacked sensor.
[0113] See also Figure 8 , Figure 8 This is a flowchart of another embodiment of a defense method for an intelligent system of the present application. Figure 8 In the corresponding embodiment, the above steps of repairing the sensor data of the attacked sensor using the modeling method of matrix decomposition further include steps S801 to S804.
[0114] S801: Establish an original sensing signal matrix based on the characteristic information of the attacked sensor and the characteristic information of other sensors.
[0115] The other sensors are sensors that have a cross-correlation with the attacked sensor.
[0116] S802: constructing a perception signal matrix using the original perception signal matrix and a matrix completion mathematical model, wherein the matrix completion mathematical model is a preset model for completing the matrix.
[0117] S803: Decompose the perception signal matrix into at least two multiplied low-rank matrices.
[0118] In the current embodiment, the matrix decomposition is performed based on an existing matrix decomposition method, which is not limited here.
[0119] S804: Sampling the alternating direction multiplier method or the block coordinate descent algorithm respectively solves the sensing signal matrix to obtain the repaired sensing data.
[0120] based on Figure 8 In one embodiment, when a sensor is detected to be attacked, the original sensor signal matrix M is established based on the feature information of the current sensor and the feature information of other sensors. The set of feature information elements corresponding to the unattacked sensors included in the original sensor signal matrix M can be called an indicator set, and the feature information of the attacked sensors included in the original sensor signal matrix M can be called a missing element. According to the established original sensor signal matrix M, a matrix completion mathematical model is established to reconstruct the sensor signal matrix X.
[0121] In the current embodiment, the basic idea of the modeling method based on matrix decomposition is to decompose the original perception signal matrix into the product of two low-rank matrices, thereby avoiding complex matrix singular value decomposition and accelerating the execution efficiency of the algorithm. Specifically, the matrix completion problem using matrix decomposition is modeled as in Formula 1:
[0122]
[0123] Among them, k is the predicted matrix rank bound. The above model is solved by using the block coordinate descent algorithm (commonly known as the alternating minimization algorithm). Specifically, by obtaining a suitable k value in advance, the model can be used to obtain a solution with high accuracy within a small time complexity.
[0124] During the experiment, the experimental results on both synthetic data and real data sets show that the matrix double decomposition model based on the idea of matrix decomposition has significantly improved both the completion accuracy and the convergence speed. Specifically, the model in Formula 1 can be further simplified to Formula 2:
[0125]
[0126] The model corresponding to Formula 2 can be solved by the alternating direction multiplication method. In addition, the literature has proved that for any matrix X∈Rn1×n2 of rank r, if k>r, the following equation as shown in Formula 3 holds:
[0127]
[0128] In another embodiment, the standard matrix completion problem can also be directly modeled as in the following formula 4:
[0129]
[0130] The model in Formula 4 can be directly solved by using a block coordinate descent algorithm. In one embodiment, since the problem is non-convex, in order to avoid the existence of a stationary point solution that is not the global optimal, a solution under relatively loose conditions as shown in the following Formula 5 is obtained.
[0131] ||P Ω (M-LQ)||≤λ Formula 5
[0132] After solving the above problem, we get the solution is the global optimal solution, and then The missing parts in the original perception signal matrix M are filled with the corresponding values in .
[0133] for Figure 8 The method provided in the corresponding embodiment, through taking the laser radar sensor attacked as an example for data repair, it can be known that the method of using matrix decomposition and matrix completion provided in this application can better restore the sensed target that is missing from the attack. It has been verified that for the laser radar data of about 50,000 point cloud data, the detection and recovery experiments only take seconds on a single-core CPU. If a multi-core CPU is used for processing, or the algorithm of the data repair part is further optimized in the later stage, the processing time can be further greatly reduced, making the defense technology of the intelligent system more real-time and efficient.
[0134] The technical solution provided in the present application studies the overlapping relationship and semantic correlation of information between different sensors, establishes a correlation judgment model and / or an autocorrelation judgment model, and then realizes real-time judgment of whether the intelligent system is attacked based on the correlation between sensor data and / or the autocorrelation of sensor data. When it is judged that the intelligent system is attacked, the sensor data distorted due to the attack is restored with high precision by using the matrix decomposition modeling method, thereby realizing real-time attack defense and high-precision data recovery, and forming a complete attack defense solution with detection of whether the sensor is an attacked sensor and data recovery algorithm as the core.
[0135] See also Fig. 9 , Fig. 9 Schematic diagram of a storage medium of the present application. The storage medium 900 stores a computer program 901 that can be executed by a processor. The computer program 901 is used to implement the above Figures 3 to 8 The intelligent system defense method described in any one of the corresponding embodiments. Specifically, the storage medium 900 can be a memory, a personal computer, a server, a network device, or a USB flash drive, etc., and no specific limitation is made here.
[0136] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A defense method for an intelligent system, characterized in that: The method comprises: Based on the sensing data collected by at least one sensor, obtaining characteristic information corresponding to the at least one sensor; The characteristic information of each sensor is respectively input into the attack judgment model of the corresponding sensor to judge whether the sensor is an attacked sensor, wherein the attack judgment model includes at least one of an autocorrelation judgment model and a mutual correlation judgment model, the autocorrelation judgment model is a judgment model established based on the autocorrelation between the same type of sensor data or the characteristic information corresponding to the same type of sensor data acquired by sensors of corresponding types, and the mutual correlation judgment model is a judgment model established based on the mutual correlation between different types of sensor data acquired by sensors of different types, or the mutual correlation between the characteristic information corresponding to different types of sensor data, the autocorrelation between the sensor data or the characteristic information corresponding to the sensor data acquired by the same type of sensor at different times is constant, and the mutual correlation between the sensor data or the characteristic information corresponding to the sensor data acquired by sensors of different types with mutual correlation in the same period is constant; If yes, repairing the sensing data of the attacked sensor; The step of inputting the characteristic information of each sensor into the attack judgment model of the corresponding sensor to judge whether the sensor is an attacked sensor includes: taking each of the sensors as a target sensor respectively; Based on the corresponding feature information of the target sensor, obtaining a target autocorrelation matrix of the target sensor; Determining whether the target autocorrelation matrix is consistent with a preset autocorrelation matrix of the target sensor to determine whether the characteristics of the target sensor do not conform to the preset autocorrelation; If so, further inputting the feature information corresponding to the target sensor into the mutual correlation judgment model corresponding to the target sensor to judge whether the feature information of the target sensor does not meet the preset mutual correlation; If the characteristic information of the target sensor does not meet the preset mutual correlation, the target sensor is determined to be the attacked sensor.
2. The method according to claim 1, characterized in that The determining whether the target autocorrelation matrix is consistent with a preset autocorrelation matrix of the target sensor, so as to determine whether the characteristic of the target sensor does not conform to the preset autocorrelation, further includes: If not, it is determined that the characteristic information of the target sensor does not meet the preset autocorrelation.
3. The method according to claim 1, characterized in that The step of inputting the characteristic information corresponding to the target sensor into the mutual correlation judgment model corresponding to the target sensor to judge whether the characteristic information of the target sensor does not meet the preset mutual correlation further includes: Based on the feature information corresponding to the target sensor and the feature information corresponding to at least one other sensor, a target mutual correlation matrix of the target sensor is obtained; wherein the other sensor is the sensor having mutual correlation with the target sensor; Acquire a preset mutual correlation matrix between the target sensor and the at least one other sensor, and determine whether the target mutual correlation matrix is consistent with the preset mutual correlation matrix; If not, it is determined that the characteristic information of the target sensor does not meet the preset correlation.
4. The method according to claim 1, characterized in that: The at least one sensor includes at least one of a position sensor, a laser radar sensor, and an inertial measurement unit; the sampling period of each of the sensors is the shortest sampling period of the inertial measurement unit; And / or, the feature information is a feature vector.
5. The method according to claim 1, characterized in that The method also includes constructing the attack judgment model through a mathematical modeling algorithm or a machine learning algorithm.
6. The method according to claim 1, characterized in that The repairing the sensor data of the attacked sensor further comprises: The sensing data of the attacked sensor is repaired by using a matrix decomposition modeling method.
7. The method according to claim 6, characterized in that The method of using matrix decomposition to repair the sensor data of the attacked sensor further includes: Establishing an original sensing signal matrix based on the characteristic information of the attacked sensor and the characteristic information of other sensors, wherein the other sensors are the sensors having a mutual correlation with the attacked sensor; Using the original perception signal matrix and the matrix completion mathematical model, constructing a perception signal matrix; Decomposing the perception signal matrix into at least two multiplied low-rank matrices; The sensing signal matrix is solved by a sampling alternating direction multiplier method or a block coordinate descent algorithm to obtain the repaired sensing data.
8. A defense device, characterized in that: The device comprises a memory, a processor and a data acquisition port, wherein the memory and the data acquisition port are respectively coupled to the processor, wherein: The data acquisition port acquires sensing data fed back by at least one sensor under the control of the processor, and outputs the sensing data to the processor; The memory stores a computer program; The processor is configured to run the computer program to perform the method according to any one of claims 1 to 7.
9. An intelligent system, characterized in that: Comprising at least one sensor and the defense device of claim 8.
10. A storage medium, characterized in that: The storage medium stores a computer program that can be executed by a processor, and the computer program is used to implement the method according to any one of claims 1 to 7.
