Internet of Things unknown attack method and system based on operational mode fusion measurement

By using a method based on running modal fusion metrics and using deep learning detection models and modal data relationship equations, the problem of unknown attack detection on IoT terminals is solved, and efficient attack identification and resource optimization are achieved.

CN118555153BActive Publication Date: 2024-09-24HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411028740.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-09-24
Estimated Expiration
2044-07-29

AI Technical Summary

Technical Problem

IoT terminals face unknown attack detection problems. Existing technology based on set rule detection cannot identify dynamically generated unknown attacks, resulting in the risk of being unable to detect unknown attacks.

Method used

Using a method based on running modal fusion measurement, a deep learning attack detection model is constructed by obtaining multiple modal data and their boundaries of the Internet of Things terminal, and the training data set is used to train the model to detect unknown attacks. With the help of the modal data between modal data Relational equations determine constraints, reducing training times and computational resource overhead.

Benefits of technology

It realizes unknown attack detection on IoT terminals, improves detection efficiency and resource utilization, and adapts to resource-limited IoT environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118555153B
    Figure CN118555153B
Patent Text Reader

Abstract

The present application provides an Internet of Things unknown attack detection method and system based on running modal fusion measurement. In the present application, a target deep learning attack detection model for detecting unknown attacks on Internet of Things terminals is trained by modal data of each modality of Internet of Things terminals. This target deep learning attack detection model for detecting unknown attacks on Internet of Things terminals trained by modal data of each modality of Internet of Things terminals integrates each modality of Internet of Things terminals and realizes Internet of Things unknown attack detection based on running modal fusion measurement.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet of Things security technology, and in particular to an Internet of Things unknown attack detection method and system based on operational modality fusion measurement. Background Art

[0002] In the Internet of Things, IoT terminals, such as industrial robots in the Industrial Internet of Things (IIoT), often face attacks such as interference and deception. These attacks can disrupt the operating logic of IoT terminals, resulting in the risk of IoT terminals not being able to operate normally.

[0003] At present, the above attacks are often detected based on set rules. Specifically, for any IoT terminal, when it is found that the access to the IoT terminal meets one of the above set rules, the IoT terminal is determined to be attacked. However, the types of attacks in the IoT are not fixed, and some unknown attacks will be generated dynamically, and these unknown attacks cannot be detected based on set rules, which will lead to the risk of not being able to detect unknown attacks in the IoT. Summary of the invention

[0004] The present application provides an Internet of Things unknown attack detection method and system based on operating mode fusion measurement, so as to realize the Internet of Things unknown attack detection based on operating mode fusion measurement.

[0005] The embodiment of the present application provides an Internet of Things unknown attack detection method based on operating mode fusion measurement, the method comprising:

[0006] Obtain at least one modality of an Internet of Things terminal and a boundary corresponding to modal data under at least one modality; wherein the modality refers to a description dimension used to describe the Internet of Things terminal;

[0007] Obtaining a training data set for training a deep learning attack detection model; the training data set includes normal data of an IoT terminal and abnormal data of the IoT terminal, wherein the normal data includes modal data corresponding to each modality when the IoT terminal operates normally and is not attacked; any abnormal data includes modal data corresponding to each modality when the IoT terminal is attacked by a certain type of attack;

[0008] Based on the boundary of at least one modality and the relationship equation between modal data under at least one modality that has been constructed, the constraint conditions during the training of the deep learning attack detection model are determined; the deep learning attack detection model is trained according to the constraint conditions and using the training data set to obtain a target deep learning attack detection model; the target deep learning attack detection model is used to detect unknown attacks on IoT terminals in the IoT.

[0009] The embodiment of the present application provides an Internet of Things unknown attack detection system based on operating mode fusion measurement, the system comprising:

[0010] An acquisition module, used to obtain at least one modality of an Internet of Things terminal and a boundary corresponding to modal data under at least one modality; wherein the modality refers to a description dimension used to describe the Internet of Things terminal; and,

[0011] Obtaining a training data set for training a deep learning attack detection model; the training data set includes normal data of an IoT terminal and abnormal data of the IoT terminal, wherein the normal data includes modal data corresponding to each modality when the IoT terminal operates normally and is not attacked; any abnormal data includes modal data corresponding to each modality when the IoT terminal is attacked by a certain type of attack;

[0012] A processing module is used to determine the constraint conditions during the training of the deep learning attack detection model based on the boundary of at least one modality and the relationship equation between the modal data under at least one modality that has been constructed, and to train the deep learning attack detection model according to the constraint conditions and using the training data set to obtain a target deep learning attack detection model; the target deep learning attack detection model is used to detect unknown attacks on IoT terminals in the IoT.

[0013] The embodiment of the present application also provides an electronic device. The electronic device includes: a processor and a machine-readable storage medium;

[0014] The machine-readable storage medium stores machine-executable instructions that can be executed by the processor;

[0015] The processor is used to execute machine executable instructions to implement the steps of the above disclosed method.

[0016] It can be seen from the above technical scheme that in this application, a target deep learning attack detection model for detecting unknown attacks on the Internet of Things terminals is trained using the modal data of each modality of the Internet of Things terminal. This target deep learning attack detection model for detecting unknown attacks on the Internet of Things terminals, which is trained using the modal data of each modality of the Internet of Things terminal, integrates the various modalities of the Internet of Things terminal and realizes the detection of unknown attacks on the Internet of Things based on the running modal fusion measurement.

[0017] Furthermore, this embodiment determines the constraints of the deep learning attack detection model with the help of the boundary of at least one mode of the Internet of Things terminal and the relationship equation between the modal data under at least one mode that has been constructed. This can ensure that the constraints can reduce the number of training times, accelerate model convergence, reduce computing and network resource overhead, and can better adapt to the resource-constrained Internet of Things environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0019] Figure 1 A flow chart of the method provided in the embodiment of the present application;

[0020] Figure 2 A flow chart for determining constraints provided in an embodiment of the present application;

[0021] Figure 3 A flow chart of model training provided for an embodiment of the present application;

[0022] Figure 4 A system structure diagram provided for an embodiment of the present application;

[0023] Figure 5 A structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0024] In order to enable those skilled in the art to better understand the technical solutions provided by the embodiments of the present application and to make the above-mentioned purposes, features and advantages of the embodiments of the present application more obvious and understandable, the technical solutions in the embodiments of the present application are further described in detail below in conjunction with the accompanying drawings.

[0025] See also Figure 1 , Figure 1 This is a flow chart of the method provided in the embodiment of the present application. The process can be applied to electronic devices such as Internet of Things terminals or other devices, and this embodiment is not specifically limited.

[0026] like Figure 1 As shown, the process may include the following steps:

[0027] Step 101: Obtain at least one modality of an Internet of Things terminal and a boundary corresponding to modal data under at least one modality.

[0028] In specific implementation, the same IoT terminal is often described from different dimensions, such as structure, motion, power data, system operation data, etc. Correspondingly, in this embodiment, each modality refers to each description dimension used to describe the IoT terminal, such as structure, motion, power data, system operation data, etc.

[0029] As an embodiment, the above-mentioned modes may include at least one of the following modes:

[0030] Modes used to describe the structure of the IoT terminal (referred to as structural modes), modes used to describe the motion of the IoT terminal (referred to as motion modes), modes used to describe the relationship between the motion and dynamic response of the IoT terminal when the IoT terminal is in motion (referred to as dynamic modes), and modes used to describe the system operation data in the IoT terminal when the IoT terminal is running (referred to as system modes).

[0031] In this embodiment, the modal data under different modes are different. For example, the modal data under the structural mode is structural data, the modal data under the motion mode is motion data, the modal data under the dynamic mode is mechanical data such as torque, etc., and the modal data under the system mode is system operation data.

[0032] Taking the IoT terminal as an intelligent robot as an example, then:

[0033] As an embodiment, the above structural data at least includes: structural data such as the number of joints, degrees of freedom, and number of support arms of the intelligent robot.

[0034] As an embodiment, the above-mentioned motion data at least includes: the rotation angle and / or telescopic displacement of the joints of the intelligent robot.

[0035] As an embodiment, the above-mentioned mechanical data at least includes: the rotational torque of the joints of the intelligent robot.

[0036] As an embodiment, the above-mentioned system operation data includes at least one of the following: communication bandwidth occupancy, computing resource occupancy, CPU occupancy, memory occupancy, and communication frequency.

[0037] In this embodiment, the modal data of the IoT terminal in each mode has a corresponding boundary. Once the boundary is exceeded, it means that the IoT terminal cannot work normally. Here, the boundary corresponding to the modal data in any mode is set according to the requirement for the IoT terminal to work normally in the mode. For example, taking the above motion data as an example, the rotation angle of the robot joint has a boundary. If it exceeds the boundary, it means that the robot joint is faulty. Other similarities will not be repeated.

[0038] Step 102, obtaining a training data set for training a deep learning attack detection model; the training data set includes normal data of the Internet of Things terminal and abnormal data of the Internet of Things terminal, the normal data includes modal data corresponding to each modality when the Internet of Things terminal operates normally and is not attacked; any abnormal data includes modal data corresponding to each modality when the Internet of Things terminal is attacked by a certain type of attack.

[0039] There are many ways to implement this step 102, such as: collecting the modal data corresponding to each modality when the IoT terminal is operating normally and not attacked, such as the above-mentioned structural data, motion data, mechanical data and system operation data, and launching various attacks on the IoT terminal and collecting the modal data corresponding to each modality when the IoT terminal is attacked, such as the above-mentioned structural data, motion data, mechanical data and system operation data. Finally, the training data set described in step 102 is obtained for training the deep learning attack detection model.

[0040] Step 103: determine the constraints during training of the deep learning attack detection model based on the boundary of at least one modality and the relationship equation between modal data under at least one modality that has been constructed, train the deep learning attack detection model according to the constraints and using the training data set to obtain a target deep learning attack detection model; the target deep learning attack detection model is used to detect unknown attacks on IoT terminals in the IoT.

[0041] In this embodiment, the relationship equation between modal data under any modality is used to express the relationship between the modal data under the modality, so as to determine whether the above-mentioned Internet of Things terminal is within the normal working range based on the relationship.

[0042] For example, taking the motion mode of the above-mentioned intelligent robot as an example, this embodiment can derive the relationship equation (i.e., kinematic equation) between the modal data under the motion mode. The kinematic equation reflects the geometric relationship of the motion of the intelligent robot, such as the relationship between the motion of each joint of the intelligent robot and the position of the end effector, so as to autonomously determine whether the end effector of the intelligent robot is in the set normal working space.

[0043] For another example, taking the power mode of the above-mentioned intelligent robot as an example, this embodiment can establish a relationship equation (i.e., a dynamic equation) between modal data under the power mode. The dynamic equation reflects the relationship between the force and motion of the intelligent robot, so as to realize autonomous judgment of whether the rotational torque of each joint of the intelligent robot is within a safe range.

[0044] Afterwards, this embodiment can determine the constraint conditions during the training of the above-mentioned deep learning attack detection model based on the boundary of at least one modality and the relationship equation between the modal data under at least one modality that has been constructed. In other words, this embodiment does not blindly or empirically customize the constraint conditions during the training of the deep learning attack detection model, but is triggered from the actual situation, and uses the boundary of at least one modality and the relationship equation between the modal data under at least one modality that has been constructed to determine the above-mentioned constraint conditions, which can ensure that the constraint conditions can reduce the number of training times (which is equivalent to reducing the traversal space of the deep reinforcement learning network) and accelerate the convergence of the model, as described below, and will not be repeated here.

[0045] As for how to determine the constraint conditions during the training of the above-mentioned deep learning attack detection model based on the boundary of at least one mode and the relationship equation between the modal data under at least one mode that has been constructed, an example will be given below and will not be elaborated here.

[0046] After obtaining the above constraints, the deep learning attack detection model can be trained according to the constraints and using the above training data set to obtain the target deep learning attack detection model, which will be described with examples below and will not be repeated here. As described above, each modality and the modal data of each modality contained in the training data also mean that the target deep learning attack detection model finally trained in this embodiment integrates the operating modality, and finally realizes the detection of unknown attacks on the Internet of Things based on the fusion metric of the operating modality.

[0047] So far, completed Figure 1 The process shown.

[0048] pass Figure 1 It can be seen from the shown process that in this embodiment, a target deep learning attack detection model for detecting unknown attacks on the Internet of Things terminals is trained using the modal data of each modality of the Internet of Things terminal. This target deep learning attack detection model for detecting unknown attacks on the Internet of Things terminals, which is trained using the modal data of each modality of the Internet of Things terminal, integrates each modality of the Internet of Things terminal and realizes Internet of Things unknown attack detection based on operating modal fusion measurement.

[0049] Furthermore, this embodiment determines the constraints of the deep learning attack detection model with the help of the boundary of at least one mode of the Internet of Things terminal and the relationship equation between the modal data under at least one mode that has been constructed. This can ensure that the constraints can reduce the number of training times, accelerate model convergence, reduce computing and network resource overhead, and can better adapt to the resource-constrained Internet of Things environment.

[0050] The following describes how to determine the constraint conditions in the above step 103:

[0051] See also Figure 2 , Figure 2 The constraint condition determination flow chart provided in the embodiment of the present application. Figure 2 As shown, the process may include the following steps:

[0052] Step 201: Obtain the boundary of at least one mode and the relationship equation between modal data under at least one mode that has been constructed.

[0053] The details of step 201 can be found in the description of step 101 above, which will not be repeated here.

[0054] Step 202: Based on the boundary of at least one modality and the relationship equation between modal data under at least one modality that has been constructed, at least one hyperparameter required for training is set and / or a training end condition for the deep learning attack detection model training is defined.

[0055] In deep learning, hyperparameters are parameters that need to be set manually when training a model. They are usually not automatically learned from training data. Hyperparameters are used to control the parameters of the learning process. Hyperparameters can affect the training method and effect of the model. Therefore, the selection of hyperparameters is crucial to the performance of the model.

[0056] Based on this, as an embodiment, this embodiment sets the above hyperparameters based on the boundary of at least one mode and the relationship equation between modal data under at least one mode that has been constructed, rather than based on experience or custom settings.

[0057] In specific implementation, this embodiment may first define the value range of the hyperparameter based on the boundary of at least one mode, and then determine the direction of the hyperparameter in the value range based on the relationship equation between the modal data under at least one mode. For example, the value range is (-5, 5), and the direction of the hyperparameter in the value range is determined to be from -3 to 5 based on the relationship equation between the modal data under at least one mode. Then, this embodiment may select a value from the direction of -3 to 5 to set the above hyperparameter. As described above, the role of the hyperparameter, the set hyperparameter can obviously constrain the training of the deep learning attack detection model, which can be called the above constraint condition.

[0058] In specific applications, the training or optimization process of the model will have an end condition, such as trying to calculate the minimum value of the loss function as an end condition. This end condition is crucial to improving the performance of the model. As an embodiment, this embodiment defines the training end condition of the deep learning attack detection model training based on the boundary of at least one modality and the relationship equation between modal data under at least one modality that has been constructed, such as when the loss value determined based on the loss function is a specified value such as 0.01 as the training end condition, rather than the conventional method of trying to calculate the minimum value of the loss function to determine the training end condition. As described above, the end condition plays a role in improving the performance of the model. The training end condition here can obviously be used to constrain the training of the deep learning attack detection model.

[0059] So far, completed Figure 2 The process shown.

[0060] pass Figure 2The process shown ultimately realizes how to determine the constraint conditions during the training of the deep learning attack detection model based on the boundary of at least one modality and the relationship equation between modal data under at least one modality that has been constructed.

[0061] The following describes how to train the deep learning attack detection model according to the constraints and using the training data set in the above step 103:

[0062] See also Figure 3 , Figure 3 This is a flow chart of model training provided in the embodiment of the present application. Figure 3 As shown, the process may include the following steps:

[0063] Step 301 , preprocessing the training data in the training data set so that the training data in the processed training data set meets the training requirements.

[0064] As an embodiment, the training data in the above-mentioned training data set may have problems such as data redundancy and data classification imbalance that do not meet the training requirements. Based on this, this embodiment can pre-process the training data in the training data set so that the training data in the processed training data set meets the training requirements (for example, there is no data redundancy and data classification imbalance and other problems).

[0065] As an embodiment, the preprocessing of the training data in the training data set may include at least one of the following steps:

[0066] Step 1: Data denoising. The purpose of data denoising is to remove noise data to reduce the redundancy of noise data. Specifically, data denoising includes: removing training data with missing data, removing training data that does not meet the set requirements, etc.

[0067] Taking the removal of training data with missing data as an example, if the composition structure of the modal data corresponding to each modality is limited, for example, the composition structure of the above system operation data is CPU occupancy + memory occupancy + bandwidth occupancy + energy consumption (computing resource occupancy) + communication frequency. If the system operation data in a training data is missing at least three of the CPU occupancy, memory occupancy, bandwidth occupancy, energy consumption (computing resource occupancy), and communication frequency, then the data is considered missing, and the entire training data is considered as noise and needs to be removed.

[0068] Taking the removal of training data that does not meet the set requirements as an example, if the data requirements of each modal data corresponding to each modality are limited. Taking the above motion data as an example, it is limited that the rotation angle of the robot's joint in the training data is greater than or equal to 60% of the set threshold. If the rotation angle of the robot's joint in a training data is less than 60% of the set threshold, it is considered that the data contained in the training data does not meet the set requirements, and the entire training data is regarded as noise and needs to be removed.

[0069] Step 2, normalization. In the specific implementation, the order of magnitude of each modal data is different. For example, in the above system operation data, the CPU occupancy is represented by a ratio such as 80%, and the communication frequency is represented by times / second, such as 20 times per second. In order to avoid data being ignored due to different orders of magnitude and / or different values, units, and upper and lower limits, this embodiment will normalize the remaining training data after denoising.

[0070] By preprocessing the training data in the training data set, a lightweight data set can be reasonably constructed to improve the accuracy of the subsequently trained model.

[0071] Step 302: Train a deep learning attack detection model according to the constraints and using the processed training data set.

[0072] Combined with the description of the above constraints, this embodiment can combine the above constraints and use the processed training data set to train the deep learning attack detection model. For example, if the above constraints are hyperparameters, the deep learning attack detection model can be trained here based on the set hyperparameters using the processed training data set. If the above constraints are training end conditions, such as when the loss value determined based on the loss function is a specified value such as 0.01, then after each training is executed, the loss value is determined based on the loss function. If the loss value is not a specified value such as 0.01, the parameters of the current deep learning attack detection model are adjusted to continue model training using the remaining training data; otherwise, the training is terminated, and the above target deep learning attack detection model is determined based on the deep learning attack detection model at this time (for example, the deep learning attack detection model at this time is directly used as the above target deep learning attack detection model).

[0073] By constraining the deep learning attack detection model training through the above constraints, it is possible to avoid conventional experience-based or customized model training, reduce the search traversal range during the model training process, and accelerate the convergence of model training.

[0074] So far, completed Figure 3 The process shown.

[0075] pass Figure 3 The process shown ultimately realizes how to train a deep learning attack detection model.

[0076] It should be noted that in specific applications, for example, when modal data of the IoT terminal to be tested in each modality is received, as an embodiment, the modal data can be pre-judged first, such as checking whether the modal data of at least one modality received exceeds the boundary corresponding to the modality. If so, it is directly determined that the IoT terminal is attacked. Through this pre-judgment, it is possible to first determine whether the modal data of at least one modality of the IoT terminal, such as structural data, motion data, power data, and system operation data, exceeds the boundary corresponding to each modality (also known as the constraint of the trusted security model). Once it exceeds the boundary, it is directly determined that the IoT terminal is attacked, which can further improve the attack detection speed.

[0077] As another embodiment, when modal data of each modality of the IoT terminal to be tested is received, it is also possible not to pre-judge the modal data, but to directly input the received modal data of each modality into the above-mentioned target deep learning attack detection model. The target deep learning attack detection model will output whether the IoT terminal is attacked, and determine whether the IoT terminal is attacked based on the output result.

[0078] As another embodiment, when the modal data of the IoT terminal to be tested in each modality is received, it can also be found after the above-mentioned pre-judgment of the modal data that each modal data, such as structural data, motion data, power data and system operation data, does not exceed the boundaries corresponding to each modality (also known as the constraints of the trusted security model), then the received modal data of each modality is further input into the above-mentioned target deep learning attack detection model, and the target deep learning attack detection model will output whether the IoT terminal is attacked, and determine whether the IoT terminal is attacked based on the output result.

[0079] The method provided in the embodiment of the present application is described above. The system provided in the embodiment of the present application is described below:

[0080] See also Figure 4 , Figure 4 This is a system structure diagram provided in the embodiment of the present application. Figure 4 As shown, the device comprises:

[0081] An acquisition module, used to obtain at least one modality of an Internet of Things terminal and a boundary corresponding to modal data under at least one modality; wherein the modality refers to a description dimension used to describe the Internet of Things terminal; and,

[0082] Obtaining a training data set for training a deep learning attack detection model; the training data set includes normal data of an IoT terminal and abnormal data of the IoT terminal, wherein the normal data includes modal data corresponding to each modality when the IoT terminal operates normally and is not attacked; any abnormal data includes modal data corresponding to each modality when the IoT terminal is attacked by a certain type of attack;

[0083] A processing module is used to determine the constraint conditions during the training of the deep learning attack detection model based on the boundary of at least one modality and the relationship equation between the modal data under at least one modality that has been constructed, and to train the deep learning attack detection model according to the constraint conditions and using the training data set to obtain a target deep learning attack detection model; the target deep learning attack detection model is used to detect unknown attacks on IoT terminals in the IoT.

[0084] Optionally, the modes include at least one of the following modes: a structural mode for describing the structure of the Internet of Things terminal, a motion mode for describing the Internet of Things terminal when in motion, a dynamic mode for describing the relationship between the motion and dynamic response of the Internet of Things terminal when the Internet of Things terminal is in motion, and a system mode for describing system operation data in the Internet of Things terminal when the Internet of Things terminal is in operation;

[0085] The modal data of each mode includes modal data of at least one of the following modes: structural data under structural mode, motion data under motion mode, mechanical data under dynamic mode and system operation data under system mode.

[0086] Optionally, if the Internet of Things terminal is a robot; the structural data includes at least: the number of joints, degrees of freedom, and number of support arms of the robot; the motion data includes at least: the rotation angle and / or telescopic displacement of the joints of the robot; the mechanical data includes at least: the rotational torque of the joints of the robot; the system operation data includes at least at least one of the following: communication bandwidth occupancy, computing resource occupancy, CPU occupancy, memory occupancy, and communication frequency.

[0087] The boundary corresponding to the modal data in any mode is set according to the requirement for the Internet of Things terminal to work normally in the mode.

[0088] The training of the deep learning attack detection model according to the constraints and using the training data set includes: preprocessing the training data in the training data set so that the training data in the processed training data set meets the training requirements; and training the deep learning attack detection model according to the constraints and using the processed training data set.

[0089] The method of determining the constraint conditions for training the deep learning attack detection model based on the boundary of at least one modality and the relationship equation between modal data under at least one modality that has been constructed includes: setting at least one hyperparameter required for training based on the boundary of at least one modality and the relationship equation between modal data under at least one modality that has been constructed; the set hyperparameter is used to constrain the training of the deep learning attack detection model; and / or, defining the training end condition for training the deep learning attack detection model based on the boundary of at least one modality and the relationship equation between modal data under at least one modality that has been constructed; the training end condition is used to constrain the training of the deep learning attack detection model.

[0090] The processing module further receives the modal data of each modality of the Internet of Things terminal to be tested, inputs the modal data of each modality into the target deep learning attack detection model, and determines whether the Internet of Things terminal is attacked based on the output result; or, pre-judges the modal data of each modality, and if it is found that the modal data of at least one modality exceeds the boundary corresponding to the modality, it is determined that the Internet of Things terminal is attacked; if it is found that the modal data of each modality does not exceed the boundary corresponding to each modality, the modal data of each modality is input into the target deep learning attack detection model, and determines whether the Internet of Things terminal is attacked based on the output result.

[0091] So far, completed Figure 4 Structural description of the system shown.

[0092] See also Figure 5 , Figure 5 This is a hardware structure diagram provided in the embodiment of the present application. Figure 5 As shown, the hardware structure may include: a processor and a machine-readable storage medium, the machine-readable storage medium storing machine-executable instructions that can be executed by the processor; the processor is used to execute the machine-executable instructions to implement the method disclosed in the above example of this application.

[0093] Based on the same application concept as the above method, an embodiment of the present application also provides a machine-readable storage medium, on which a number of computer instructions are stored. When the computer instructions are executed by a processor, the method disclosed in the above example of the present application can be implemented.

[0094] Exemplarily, the above-mentioned machine-readable storage medium can be any electronic, magnetic, optical or other physical storage device, which can contain or store information, such as executable instructions, data, etc. For example, the machine-readable storage medium can be: RAM (Radom Access Memory), volatile memory, non-volatile memory, flash memory, storage drive (such as hard disk drive), solid state drive, any type of storage disk (such as optical disk, DVD, etc.), or similar storage medium, or a combination thereof.

[0095] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A method for detecting unknown attacks in the Internet of Things based on operational modal fusion metrics, It is characterized in that The method includes: Obtain at least one mode of an Internet of Things terminal, and a boundary corresponding to modal data under at least one mode; wherein the mode refers to a description dimension used to describe the Internet of Things terminal; each mode includes at least one of the following modes: a structural mode used to describe the structure of the Internet of Things terminal, a motion mode used to describe the Internet of Things terminal when in motion, a dynamic mode used to describe the relationship between the motion and dynamic response of the Internet of Things terminal when the Internet of Things terminal is in motion, and a system mode used to describe system operation data in the Internet of Things terminal when the Internet of Things terminal is in operation; the modal data of each mode includes modal data of at least one of the following modes: structural data under the structural mode, motion data under the motion mode, mechanical data under the dynamic mode, and system operation data under the system mode; Obtaining a training data set for training a deep learning attack detection model; the training data set includes normal data of an IoT terminal and abnormal data of the IoT terminal, wherein the normal data includes modal data corresponding to each modality when the IoT terminal operates normally and is not attacked; any abnormal data includes modal data corresponding to each modality when the IoT terminal is attacked by a certain type of attack; Based on the boundary of at least one modality and the relationship equation between modal data under at least one modality that has been constructed, the constraint conditions during the training of the deep learning attack detection model are determined; the deep learning attack detection model is trained according to the constraint conditions and using the training data set to obtain a target deep learning attack detection model; the target deep learning attack detection model is used to detect unknown attacks on IoT terminals in the IoT.

2. The method according to claim 1, It is characterized in that The Internet of Things terminal is a robot; The structural data at least includes: the number of joints, degrees of freedom, and number of support arms of the robot; The motion data at least includes: rotation angles and / or telescopic displacements of the robot's joints; The mechanical data at least includes: the rotational torque of the joints of the robot; The system operation data includes at least one of the following: communication bandwidth occupancy, CPU occupancy, memory occupancy, and communication frequency.

3. The method according to claim 1 or 2, It is characterized in that The boundary corresponding to the modal data in any mode is set according to the requirement for the Internet of Things terminal to work normally in the mode.

4. The method according to claim 1, It is characterized in that The training of the deep learning attack detection model according to the constraint conditions and using the training data set includes: Preprocessing the training data in the training data set so that the training data in the processed training data set meets the training requirements; The deep learning attack detection model is trained according to the constraints and using the processed training data set.

5. The method according to claim 1 or 4, It is characterized in that The determining of the constraint conditions for training the deep learning attack detection model based on the boundary of at least one modality and the relationship equation between modal data under at least one modality that has been constructed includes: Based on the boundary of at least one modality and the relationship equation between modal data under at least one modality that has been constructed, at least one hyperparameter required for training is set; the set hyperparameter is used to constrain the training of the deep learning attack detection model; and / or, Based on the boundary of at least one modality and the relationship equation between modal data under at least one modality that has been constructed, the training end condition of the deep learning attack detection model training is defined; the training end condition is used to constrain the deep learning attack detection model training.

6. The method according to claim 1, It is characterized in that The method further comprises: Receive the modal data of the IoT terminal to be tested in each modality; The modal data of each modality is input into the target deep learning attack detection model, and whether the Internet of Things terminal is attacked is determined based on the output result; alternatively, the modal data of each modality is pre-judged, and if it is found that the modal data of at least one modality exceeds the boundary corresponding to the modality, it is determined that the Internet of Things terminal is attacked; if it is found that the modal data of each modality does not exceed the boundary corresponding to each modality, the modal data of each modality is input into the target deep learning attack detection model, and whether the Internet of Things terminal is attacked is determined based on the output result.

7. An IoT unknown attack detection system based on operational modal fusion metrics, It is characterized in that The system includes: An acquisition module is used to obtain at least one mode of an Internet of Things terminal and a boundary corresponding to modal data under at least one mode; wherein the mode refers to a description dimension used to describe the Internet of Things terminal; each mode includes at least one of the following modes: a structural mode used to describe the structure of the Internet of Things terminal, a motion mode used to describe the Internet of Things terminal when in motion, a dynamic mode used to describe the relationship between the motion and dynamic response of the Internet of Things terminal when the Internet of Things terminal is in motion, and a system mode used to describe the system operation data in the Internet of Things terminal when the Internet of Things terminal is in operation; the modal data of each mode includes modal data of at least one of the following modes: structural data under the structural mode, motion data under the motion mode, mechanical data under the dynamic mode, and system operation data under the system mode; and, Obtaining a training data set for training a deep learning attack detection model; the training data set includes normal data of an IoT terminal and abnormal data of the IoT terminal, wherein the normal data includes modal data corresponding to each modality when the IoT terminal operates normally and is not attacked; any abnormal data includes modal data corresponding to each modality when the IoT terminal is attacked by a certain type of attack; A processing module is used to determine the constraint conditions during the training of the deep learning attack detection model based on the boundary of at least one modality and the relationship equation between the modal data under at least one modality that has been constructed, and to train the deep learning attack detection model according to the constraint conditions and using the training data set to obtain a target deep learning attack detection model; the target deep learning attack detection model is used to detect unknown attacks on IoT terminals in the IoT.

8. The system according to claim 7, It is characterized in that If the IoT terminal is a robot; The structural data at least includes: the number of joints, degrees of freedom, and number of support arms of the robot; the motion data at least includes: the rotation angle and / or telescopic displacement of the joints of the robot; the mechanical data at least includes: the rotation torque of the joints of the robot; the system operation data at least includes at least one of the following: communication bandwidth occupancy, CPU occupancy, memory occupancy, and communication frequency; The boundary corresponding to the modal data in any mode is set according to the requirement for the Internet of Things terminal to work normally in the mode.

9. The system according to claim 7, It is characterized in that The training of the deep learning attack detection model according to the constraint conditions and using the training data set includes: preprocessing the training data in the training data set so that the training data in the processed training data set meets the training requirements; training the deep learning attack detection model according to the constraint conditions and using the processed training data set; The determining of the constraint conditions for the training of the deep learning attack detection model based on the boundary of at least one modality and the relationship equation between modal data under at least one modality that has been constructed includes: setting at least one hyperparameter required for training based on the boundary of at least one modality and the relationship equation between modal data under at least one modality that has been constructed; the set hyperparameter is used to constrain the training of the deep learning attack detection model; and / or, defining the training end condition of the deep learning attack detection model training based on the boundary of at least one modality and the relationship equation between modal data under at least one modality that has been constructed; the training end condition is used to constrain the training of the deep learning attack detection model; The processing module further receives the modal data of each modality of the Internet of Things terminal to be tested, inputs the modal data of each modality into the target deep learning attack detection model, and determines whether the Internet of Things terminal is attacked based on the output result; or, pre-judges the modal data of each modality, and if it is found that the modal data of at least one modality exceeds the boundary corresponding to the modality, it is determined that the Internet of Things terminal is attacked; if it is found that the modal data of each modality does not exceed the boundary corresponding to each modality, the modal data of each modality is input into the target deep learning attack detection model, and determines whether the Internet of Things terminal is attacked based on the output result.

Citation Information

Patent Citations

  • Threat information discovery method based on threat modeling and computer equipment

    CN111049819A

  • Encrypted malicious traffic detection and attack identification method based on deep learning

    CN115589314A

  • Power distribution network prediction auxiliary interval state estimation method for network attack detection

    CN117039890A

  • Case-based reasoning in the cloud using deep learning

    EP3223183A1

  • Using multimodal model consistency to detect adversarial attacks

    US20210319093A1