Intrusion detection method and system based on combination of electromagnetic pulse and image recognition

By combining electromagnetic pulse and image recognition technology, machine learning and deep learning algorithms are used to comprehensively determine the intrusion target, which solves the problems of large environmental impact and difficulty in identifying non-contact intrusions in the existing technology, and achieves all-weather, high-precision intrusion detection and Alarm linkage.

CN118747351AInactive Publication Date: 2024-10-08SHANGHAI YANRONG ELECTRONIC TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410771693.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-15
Publication Date
2024-10-08
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing intrusion detection technology has problems such as environmental temperature and weather, which are greatly affected by the environment, difficulty in identifying non-contact intrusions, and image recognition performance degradation under insufficient lighting and bad weather.

Method used

Combining electromagnetic pulse and image recognition technology, through electromagnetic pulse signal preprocessing and image feature analysis, machine learning and deep learning algorithms are used to make preliminary and comprehensive determinations of intrusion targets, and the results of the electromagnetic pulse signal feature model and image recognition model are integrated to achieve Multi-dimensional detection of intrusion targets.

Benefits of technology

It achieves all-weather, high-precision intrusion detection, overcomes the limitations of a single detection method, improves the accuracy and robustness of detection, reduces manual intervention, and realizes the linkage of intrusion detection and alarm.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118747351A_ABST
    Figure CN118747351A_ABST
Patent Text Reader

Abstract

The invention provides an intrusion detection method and system based on combination of electromagnetic pulse and image recognition, and relates to the technical field of detection, and the method comprises the steps: receiving an electromagnetic pulse signal obtained by an electromagnetic pulse sensor, carrying out the preprocessing of the electromagnetic pulse signal, and obtaining a preprocessed electromagnetic pulse signal; based on a preset electromagnetic pulse signal feature model, analyzing the preprocessed electromagnetic pulse signal to obtain a preliminary judgment result of the intrusion target; if the preliminary judgment result shows that an intrusion target exists, controlling a camera to shoot an image of an intrusion area, and inputting the shot image into an image recognition model for analysis to obtain an image analysis result; fusing the preliminary judgment result and the image analysis result, and judging whether an intrusion target exists or not based on a preset intrusion target comprehensive judgment rule; if the judgment result is that the invasion target exists, an alarm instruction is sent to an alarm device, and alarm is triggered.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to detection technology, and in particular to an intrusion detection method and system based on the combination of electromagnetic pulse and image recognition. Background Art

[0002] With the development of society and the advancement of science and technology, various important places and facilities are facing increasing security threats. Intrusion detection technology plays a vital role in ensuring regional security. Traditional intrusion detection methods mainly include infrared detection, microwave detection and vibration detection. These methods can achieve the identification and early warning of intrusion targets to a certain extent, but there are still some limitations.

[0003] Infrared detection is easily affected by ambient temperature and weather conditions, and detection performance will be significantly reduced in bad weather. Microwave detection has poor recognition capabilities for stationary or slow-moving targets and is prone to missed detections. Vibration detection can only detect intrusions that come into contact with the ground, and it is difficult to effectively identify intrusions that do not come into contact.

[0004] In order to overcome the above limitations, researchers began to explore new intrusion detection technologies. Among them, the detection method based on electromagnetic pulses has attracted widespread attention due to its unique advantages. Electromagnetic pulses have the characteristics of strong penetration and little impact on the environment, and can effectively detect intrusion targets on the ground and in the air. However, it is difficult to obtain the detailed characteristics of the target by relying solely on electromagnetic pulse information, and the ability to identify and classify the target is limited.

[0005] In recent years, image recognition technology has made great progress, especially the widespread application of deep learning algorithms in the field of computer vision, which has significantly improved the accuracy and real-time performance of image recognition. By collecting live images through cameras and using image recognition algorithms, target detection, tracking and classification can be achieved, providing new ideas for intrusion detection.

[0006] However, the image recognition method alone has certain shortcomings. In the case of insufficient lighting or bad weather, the image quality will be significantly reduced, affecting the recognition performance. In addition, image recognition is difficult to determine important parameters such as the distance and movement speed of the target, and its ability to assess intrusion threats is limited.

[0007] Therefore, there is an urgent need for a new intrusion detection method that can give full play to the advantages of electromagnetic pulse detection and image recognition while making up for their respective shortcomings. By integrating electromagnetic pulse information with image features and comprehensively judging the existence, location, type, etc. of the intrusion target, it is expected to achieve all-weather, high-precision, and multi-dimensional intrusion detection to safeguard regional security. Summary of the invention

[0008] The embodiments of the present invention provide an intrusion detection method and system based on the combination of electromagnetic pulse and image recognition, which can solve the problems in the prior art.

[0009] According to a first aspect of the embodiments of the present invention,

[0010] Provides an intrusion detection method based on the combination of electromagnetic pulse and image recognition, including:

[0011] Receiving an electromagnetic pulse signal acquired by an electromagnetic pulse sensor, preprocessing the electromagnetic pulse signal to obtain a preprocessed electromagnetic pulse signal; analyzing the preprocessed electromagnetic pulse signal based on a preset electromagnetic pulse signal characteristic model to obtain a preliminary judgment result of the intrusion target;

[0012] If the preliminary judgment result indicates that there is an intrusion target, the camera is controlled to capture an image of the intrusion area, and the captured image is input into an image recognition model for analysis to obtain an image analysis result;

[0013] The preliminary judgment result and the image analysis result are integrated to judge whether there is an intrusion target based on the preset intrusion target comprehensive judgment rule; if the judgment result is that there is an intrusion target, an alarm instruction is sent to the alarm device to trigger an alarm;

[0014] Among them, the preset electromagnetic pulse signal feature model is based on a machine learning algorithm and is trained using a large number of labeled electromagnetic pulse signal samples, and the image recognition model is based on a deep learning algorithm and is trained using a large number of labeled intrusion target image samples.

[0015] In an optional embodiment,

[0016] Before analyzing the preprocessed electromagnetic pulse signal based on a preset electromagnetic pulse signal characteristic model to obtain a preliminary judgment result of the intrusion target, the method further includes:

[0017] Preprocess the electromagnetic pulse signal, extract the signal's feature vector, and construct a training sample set; construct a classification hierarchy based on the characteristics of the electromagnetic pulse signal, and set multiple classification levels from coarse granularity to fine granularity; in each classification level, perform cluster analysis on the training samples of the current level to obtain sample subsets of different categories;

[0018] For each sample subset, a binary classification model is trained using the weighted support vector machine algorithm;

[0019] In the training phase, the weight coefficients of different sample subsets are calculated respectively; the weighted support vector machine model obtained through training is used to classify and predict the test samples to obtain the classification results of the current level;

[0020] If the current level is the most fine-grained classification level, the classification result is used as the final classification label; otherwise, the classification result of the current level is used as the input of the next level until the most fine-grained classification level is reached;

[0021] The classification results of each level are combined to obtain the final classification label of the test sample.

[0022] In an optional embodiment,

[0023] Using the trained weighted support vector machine model, the test samples are classified and predicted, and the classification results of the current level include:

[0024]

[0025] in, represents the classification result of the weighted support vector machine model at the lth layer, w (l) , b (l) represents the weight vector and bias term of the lth layer, φ represents the feature mapping function, Represents the test sample of the lth layer.

[0026] In an optional embodiment,

[0027] The camera is controlled to capture images of the intrusion area, and the captured images are input into the image recognition model for analysis. The image analysis results include:

[0028] The image to be analyzed is input into a pre-built image recognition model, which is a deep convolutional neural network, including multiple convolutional layers and pooling layers, and several fully connected layers, wherein the convolution kernel size in the convolutional layer is 3x3, and the receptive field is expanded by stacking layer by layer, and a maximum pooling operation is set after multiple convolutional layers for downsampling, and the fully connected layer is used to map the features extracted by the convolutional layer to a high-dimensional feature space;

[0029] According to the number of categories of the image analysis task, the number of output layer nodes of the deep convolutional neural network is adjusted to keep the number of output nodes consistent with the number of categories corresponding to the task;

[0030] Using the pre-trained deep convolutional neural network model for transfer learning, initializing the parameters of the convolutional layer to the pre-trained weights, and randomly initializing the parameters of the fully connected layer, and gradually adjusting the network parameters by fine-tuning using the back propagation algorithm and the gradient descent optimization method;

[0031] The image to be analyzed is input into the trained deep convolutional neural network. After multiple layers of convolution, pooling and full connection operations, the feature vector representation of the image in the high-dimensional feature space is obtained.

[0032] The extracted feature vectors are analyzed according to the task requirements. In the classification task, the Softmax function is used to map the feature vectors to category probabilities. Category judgment is performed based on the probability values ​​to obtain the semantic information and analysis results of the image.

[0033] In an optional embodiment,

[0034] The pre-trained deep convolutional neural network model is used for transfer learning, the parameters of the convolutional layer are initialized to the pre-trained weights, the parameters of the fully connected layer are randomly initialized, and the network parameters are gradually adjusted by fine-tuning using the back propagation algorithm and the gradient descent optimization method, including:

[0035]

[0036] Among them, θ (t+1) represents the network parameters of the t+1th iteration, and η represents the learning rate;

[0037] Denotes the objective function J(θ (t) ) in θ (t) The gradient at, N represents the number of training samples, L() represents the loss function, y i is the true label, f(x i θ (t) ) is the predicted output of the network, x i is the i-th training sample, λ represents the regularization coefficient, and R() represents the regularization function.

[0038] In an optional embodiment,

[0039] Fusion of the preliminary judgment result and the image analysis result, based on the preset intrusion target comprehensive judgment rule, determines whether there is an intrusion target including:

[0040] Constructing a judgment framework of an intrusion target, wherein the judgment framework includes two mutually exclusive propositions: the existence of an intrusion target and the non-existence of an intrusion target;

[0041] According to the preliminary judgment result and the image analysis result, two independent evidence sources are constructed and assigned different basic probability values ​​respectively, wherein the preliminary judgment result is assigned a first probability value according to the confidence of the judgment, and the image analysis result is assigned a second probability value according to the category probability output by the deep convolutional neural network;

[0042] Using the combination rule of evidence theory, the basic probability assignment functions of the two evidence sources are combined to obtain a fused basic probability assignment function. The combination rule introduces a conflict factor to measure the degree of conflict between the evidences. The conflict factor is obtained by calculating the value when the intersection of the basic probability assignment functions of the two evidence sources is an empty set.

[0043] According to the fused basic probability assignment function, the confidence of the existence and non-existence of the intrusion target is calculated and compared with the preset threshold. When the confidence of the existence of the intrusion target is greater than or equal to the threshold, it is determined that the intrusion target exists, otherwise, it is determined that the intrusion target does not exist.

[0044] In an optional embodiment,

[0045] Using the combination rules of evidence theory, the basic probability assignment functions of the two evidence sources are combined, and the fused basic probability assignment functions include:

[0046]

[0047] Among them, K represents the conflict factor, m 1 (B) represents the first probability value corresponding to the confidence level B of the judgment, m 2 (C) represents the second probability value corresponding to the category probability C, and B∩C=A represents combining two evidence sources to obtain combined evidence.

[0048] In the second aspect of the embodiments of the present application,

[0049] Provide an intrusion detection system based on the combination of electromagnetic pulse and image recognition, including:

[0050] The first unit is used to receive the electromagnetic pulse signal acquired by the electromagnetic pulse sensor, preprocess the electromagnetic pulse signal to obtain a preprocessed electromagnetic pulse signal; based on a preset electromagnetic pulse signal characteristic model, analyze the preprocessed electromagnetic pulse signal to obtain a preliminary judgment result of the intrusion target;

[0051] The second unit is used for controlling the camera to capture an image of the intrusion area if the preliminary judgment result indicates that there is an intrusion target, and inputting the captured image into the image recognition model for analysis to obtain an image analysis result;

[0052] The third unit is used to integrate the preliminary judgment result and the image analysis result, and judge whether there is an intrusion target based on the preset intrusion target comprehensive judgment rule; if the judgment result is that there is an intrusion target, an alarm instruction is sent to the alarm device to trigger an alarm.

[0053] According to a third aspect of the embodiments of the present invention,

[0054] An electronic device is provided, comprising:

[0055] processor;

[0056] a memory for storing processor-executable instructions;

[0057] The processor is configured to call the instructions stored in the memory to execute the aforementioned method.

[0058] A fourth aspect of the embodiments of the present invention is:

[0059] A computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the aforementioned method is implemented.

[0060] By acquiring electromagnetic pulse signals through electromagnetic pulse sensors and performing preprocessing and feature analysis on them, it is possible to preliminarily determine whether there are intrusion targets, achieve early warning of intrusion behavior, and improve the timeliness of detection.

[0061] When it is preliminarily determined that there is an intrusion target, the camera is triggered to capture images of the intrusion area, and the image recognition model is used for analysis to obtain visual feature information of the intrusion target, enriching the dimension of intrusion detection and improving the accuracy and reliability of detection.

[0062] By integrating the electromagnetic pulse signal analysis results and image recognition results, based on the preset comprehensive judgment rules, it is possible to integrate multi-source information and comprehensively evaluate the existence, location, type, etc. of the intrusion target, overcome the limitations of a single detection method, and improve the robustness of intrusion detection.

[0063] When it is comprehensively determined that there is an intrusion target, an alarm command is automatically sent to the alarm device to trigger the alarm, realizing the linkage between intrusion detection and alarm response, improving the system's automation and real-time performance, and reducing the need for manual intervention.

[0064] Through the organic combination of electromagnetic pulse detection and image recognition, the complementary advantages of the two technologies are brought into play. Electromagnetic pulse detection has strong adaptability to the environment, and image recognition provides rich visual information. This two-pronged approach effectively improves the performance and scope of application of intrusion detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] Figure 1 A schematic diagram of the process of an intrusion detection method based on the combination of electromagnetic pulse and image recognition according to an embodiment of the present invention;

[0066] Figure 2 The figure is a schematic diagram of the structure of an intrusion detection system based on the combination of electromagnetic pulse and image recognition according to an embodiment of the present invention. DETAILED DESCRIPTION

[0067] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0068] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0069] Figure 1 FIG. 1 is a flow chart of an intrusion detection method based on the combination of electromagnetic pulse and image recognition according to an embodiment of the present invention. Figure 1 As shown, the method includes:

[0070] S101. Receive an electromagnetic pulse signal acquired by an electromagnetic pulse sensor, pre-process the electromagnetic pulse signal to obtain a pre-processed electromagnetic pulse signal; analyze the pre-processed electromagnetic pulse signal based on a preset electromagnetic pulse signal characteristic model to obtain a preliminary judgment result of the intrusion target;

[0071] In an optional embodiment,

[0072] Before analyzing the preprocessed electromagnetic pulse signal based on a preset electromagnetic pulse signal characteristic model to obtain a preliminary judgment result of the intrusion target, the method further includes:

[0073] Preprocess the electromagnetic pulse signal, extract the signal's feature vector, and construct a training sample set; construct a classification hierarchy based on the characteristics of the electromagnetic pulse signal, and set multiple classification levels from coarse granularity to fine granularity; in each classification level, perform cluster analysis on the training samples of the current level to obtain sample subsets of different categories;

[0074] For each sample subset, a binary classification model is trained using the weighted support vector machine algorithm;

[0075] In the training phase, the weight coefficients of different sample subsets are calculated respectively; the weighted support vector machine model obtained through training is used to classify and predict the test samples to obtain the classification results of the current level;

[0076] If the current level is the most fine-grained classification level, the classification result is used as the final classification label; otherwise, the classification result of the current level is used as the input of the next level until the most fine-grained classification level is reached;

[0077] The classification results of each level are combined to obtain the final classification label of the test sample.

[0078] In an optional embodiment,

[0079] Using the trained weighted support vector machine model, the test samples are classified and predicted, and the classification results of the current level include:

[0080]

[0081] in, represents the classification result of the weighted support vector machine model at the lth layer, w (l) 、b (l) represents the weight vector and bias term of the lth layer, φ represents the feature mapping function, Represents the test sample of the lth layer.

[0082] For example, after obtaining the preprocessed electromagnetic pulse signal, it is necessary to further analyze it to determine whether there is an intrusion target. This paper adopts an electromagnetic pulse signal feature model based on support vector machine (SVM) to classify and judge the preprocessed electromagnetic pulse signal.

[0083] SVM is a supervised learning algorithm based on statistical learning theory. It classifies samples of different categories by finding the optimal segmentation hyperplane. When constructing the electromagnetic pulse signal feature model, it is first necessary to extract the key features of the electromagnetic pulse signal. This paper selects five characteristic parameters such as the peak value, pulse width, rise time, fall time and energy of the signal to form a feature vector. Then, the SVM model is trained using labeled electromagnetic pulse signal sample data to obtain the optimal classification hyperplane.

[0084] In practical applications, the feature vector of the preprocessed electromagnetic pulse signal is input into the trained SVM model to obtain a preliminary judgment result of the category to which the signal belongs. If the judgment result shows that the signal is an electromagnetic pulse signal generated by an intrusion target, it can be preliminarily determined that there is an intrusion target.

[0085] In order to improve the accuracy of judgment, this paper uses the cross-validation method to evaluate the performance of the SVM model. Through multiple cross-validation experiments, the average classification accuracy of the test samples reached more than 95%, indicating that the electromagnetic pulse signal feature model has high reliability and robustness, and can effectively make preliminary judgments on the electromagnetic pulse signals generated by intrusion targets.

[0086] In the traditional support vector machine (SVM) algorithm, all training samples are assigned the same weight, that is, each sample is considered to contribute the same to the classification decision. However, in the classification problem of electromagnetic pulse signals, the number of samples in different categories may vary greatly, which affects the classification performance of the traditional SVM algorithm. To solve this problem, this paper proposes an improved algorithm based on weighted support vector machine (WSVM), which assigns different weights to samples of different categories to improve the accuracy of classification.

[0087] In the WSVM algorithm, the value of the weight coefficient is inversely proportional to the number of categories to which the sample belongs, that is, the category with fewer samples has a larger weight coefficient, and the category with more samples has a smaller weight coefficient. In this way, the contribution of samples of different categories can be balanced, making the classification decision more reasonable.

[0088] Furthermore, after constructing a hierarchical classification model based on weighted support vector machines, it is necessary to use the trained model to classify and predict the test samples, and combine the classification results of each level to obtain the final classification label. This paper will introduce in detail how to use the weighted support vector machine model for prediction in the hierarchical classification strategy, and how to combine the classification results of different levels.

[0089] For the test sample, first input it into the first-level classification model obtained through training to obtain the predicted label of the sample at the first-level classification level. Then, determine whether the current level is the most fine-grained classification level. If so, use the current predicted label as the final classification label of the test sample; otherwise, use the current predicted label as the input of the next level and recursively perform the classification prediction process.

[0090] After completing the classification prediction of all levels, we get the predicted label sequence of the test sample at each level. In order to get the final classification label of the test sample, we need to combine the predicted labels of each level. A common combination strategy is to connect the predicted labels of each level to form a complete classification path as the final classification label of the test sample.

[0091] S102. If the preliminary judgment result indicates that there is an intrusion target, the camera is controlled to capture an image of the intrusion area, and the captured image is input into an image recognition model for analysis to obtain an image analysis result;

[0092] In an optional embodiment,

[0093] The camera is controlled to capture images of the intrusion area, and the captured images are input into the image recognition model for analysis. The image analysis results include:

[0094] The image to be analyzed is input into a pre-built image recognition model, which is a deep convolutional neural network, including multiple convolutional layers and pooling layers, and several fully connected layers, wherein the convolution kernel size in the convolutional layer is 3x3, and the receptive field is expanded by stacking layer by layer, and a maximum pooling operation is set after multiple convolutional layers for downsampling, and the fully connected layer is used to map the features extracted by the convolutional layer to a high-dimensional feature space;

[0095] According to the number of categories of the image analysis task, the number of output layer nodes of the deep convolutional neural network is adjusted to keep the number of output nodes consistent with the number of categories corresponding to the task;

[0096] Using the pre-trained deep convolutional neural network model for transfer learning, initializing the parameters of the convolutional layer to the pre-trained weights, and randomly initializing the parameters of the fully connected layer, and gradually adjusting the network parameters by fine-tuning using the back propagation algorithm and the gradient descent optimization method;

[0097] The image to be analyzed is input into the trained deep convolutional neural network. After multiple layers of convolution, pooling and full connection operations, the feature vector representation of the image in the high-dimensional feature space is obtained.

[0098] The extracted feature vectors are analyzed according to the task requirements. In the classification task, the Softmax function is used to map the feature vectors to category probabilities. Category judgment is performed based on the probability values ​​to obtain the semantic information and analysis results of the image.

[0099] In an optional embodiment,

[0100] The pre-trained deep convolutional neural network model is used for transfer learning, the parameters of the convolutional layer are initialized to the pre-trained weights, the parameters of the fully connected layer are randomly initialized, and the network parameters are gradually adjusted by fine-tuning using the back propagation algorithm and the gradient descent optimization method, including:

[0101]

[0102] Among them, θ (t+1) represents the network parameters of the t+1th iteration, and η represents the learning rate;

[0103] Denotes the objective function J(θ (t) ) in θ (t) The gradient at, N represents the number of training samples, L() represents the loss function, y i is the true label, f(x i θ(t) ) is the predicted output of the network, x i is the i-th training sample, λ represents the regularization coefficient, and R() represents the regularization function.

[0104] For example, after obtaining the image data of the target area, it is necessary to use the image recognition model to analyze the image content to extract key feature information to provide support for subsequent judgment and decision-making. This paper will introduce in detail how to use the Deep Convolutional Neural Network (DCNN) to analyze the input image and obtain the representation of high-level semantic features.

[0105] A deep convolutional neural network is a deep learning model based on convolution operations. Through the stacking of multiple convolutional layers and pooling layers, it can automatically learn local and global features in images and has powerful feature extraction and abstraction capabilities. The classic VGG-16 network architecture can be used as the basis of the image recognition model, and fine-tuned and optimized for specific tasks.

[0106] The VGG-16 network consists of 13 convolutional layers and 3 fully connected layers. Each convolutional layer includes multiple 3x3 convolution kernels. By stacking layer by layer, it can effectively expand the receptive field and capture feature information of different scales. After the convolutional layer, downsampling is performed through the maximum pooling operation to reduce the size of the feature map while retaining significant feature responses. The top of the network is three fully connected layers, which are used to map the features extracted by the convolutional layer to a high-dimensional feature space and perform classification prediction through the Softmax function.

[0107] In order to adapt to specific image analysis tasks, the following optimizations were performed based on the VGG-16 network:

[0108] According to the number of categories of the task, adjust the output layer of the network and replace the original 1000 output nodes with the number of categories corresponding to the task, such as 2 output nodes in a binary classification task.

[0109] Adjust the input layer of the network according to the size and number of channels of the input image, such as adjusting the input size to 224x224 and the number of channels to 3 (RGB image) or 1 (grayscale image).

[0110] Using the pre-trained VGG-16 model for transfer learning, the parameters of the convolutional layer are initialized to the weights pre-trained on a large-scale image dataset (such as ImageNet), while the parameters of the fully connected layer are randomly initialized. This transfer learning strategy can effectively utilize the feature extraction capabilities of the pre-trained model, accelerate the training process, and improve the generalization performance of the model.

[0111] During the training process, fine-tuning is used to gradually adjust the parameters of the network through back-propagation algorithm and gradient descent optimization to adapt it to specific image analysis tasks. In order to prevent overfitting, regularization techniques such as L2 regularization and Dropout, as well as data enhancement strategies such as image rotation, flipping, and cropping, can be used to increase the diversity of training samples.

[0112] S103. The preliminary judgment result and the image analysis result are integrated to determine whether there is an intrusion target based on the preset intrusion target comprehensive judgment rule; if the judgment result is that there is an intrusion target, an alarm instruction is sent to the alarm device to trigger an alarm;

[0113] In an optional embodiment,

[0114] Fusion of the preliminary judgment result and the image analysis result, based on the preset intrusion target comprehensive judgment rule, determines whether there is an intrusion target including:

[0115] Constructing a judgment framework of an intrusion target, wherein the judgment framework includes two mutually exclusive propositions: the existence of an intrusion target and the non-existence of an intrusion target;

[0116] According to the preliminary judgment result and the image analysis result, two independent evidence sources are constructed and assigned different basic probability values ​​respectively, wherein the preliminary judgment result is assigned a first probability value according to the confidence of the judgment, and the image analysis result is assigned a second probability value according to the category probability output by the deep convolutional neural network;

[0117] Using the combination rule of evidence theory, the basic probability assignment functions of the two evidence sources are combined to obtain a fused basic probability assignment function. The combination rule introduces a conflict factor to measure the degree of conflict between the evidences. The conflict factor is obtained by calculating the value when the intersection of the basic probability assignment functions of the two evidence sources is an empty set.

[0118] According to the fused basic probability assignment function, the confidence of the existence and non-existence of the intrusion target is calculated and compared with the preset threshold. When the confidence of the existence of the intrusion target is greater than or equal to the threshold, it is determined that the intrusion target exists, otherwise, it is determined that the intrusion target does not exist.

[0119] In an optional embodiment,

[0120] Using the combination rules of evidence theory, the basic probability assignment functions of the two evidence sources are combined, and the fused basic probability assignment functions include:

[0121]

[0122] Among them, K represents the conflict factor, m 1(B) represents the first probability value corresponding to the confidence level B of the judgment, m 2 (C) represents the second probability value corresponding to the category probability C, and B∩C=A represents combining two evidence sources to obtain combined evidence.

[0123] For example, after obtaining the preliminary judgment results and image analysis results, it is necessary to use this information comprehensively to make a final judgment on the intrusion target. It will be described in detail how to obtain a reliable judgment result by integrating multi-source information based on the preset intrusion target comprehensive judgment rules.

[0124] In the comprehensive judgment of intrusion targets, an information fusion method based on the Dempster-Shafer evidence theory is adopted. The Dempster-Shafer evidence theory is a mathematical theory for processing uncertain information. By defining the combination rules between evidences, it can effectively integrate information from multiple sources and obtain more accurate and reliable judgment results.

[0125] The judgment framework of intrusion targets contains two mutually exclusive propositions: {Target, NoTarget}, which respectively represent the existence of intrusion targets and the non-existence of intrusion targets. Based on the preliminary judgment results and image analysis results, two independent evidence sources E_1 and E_2 are constructed, and their basic probability assignment functions are m_1 and m_2 respectively.

[0126] For the preliminary judgment result, different basic probability values ​​are assigned according to the confidence of the judgment. For example, if the preliminary judgment result shows that there is a high possibility of an intrusion target, a larger basic probability value can be assigned, such as m_1({Target})=0.8, m_1({NoTarget})=0.1.

[0127] For the image analysis results, the corresponding basic probability values ​​are assigned according to the category probability output by the deep convolutional neural network. For example, if the image analysis results show that the probability of the existence of an intrusion target is 0.9, then m_2({Target})=0.9 and m_2({NoTarget})=0.05 can be assigned.

[0128] By calculating the fused basic probability assignment function m, we can get the confidence m({Target}) of the existence of the intrusion target and the confidence m({NoTarget}) of the non-existence of the intrusion target. According to the preset threshold, the intrusion target is finally judged: when the confidence of the existence of the intrusion target is greater than or equal to the threshold, it is judged that the intrusion target exists, otherwise, it is judged that the intrusion target does not exist.

[0129] By acquiring electromagnetic pulse signals through electromagnetic pulse sensors and performing preprocessing and feature analysis on them, it is possible to preliminarily determine whether there are intrusion targets, achieve early warning of intrusion behavior, and improve the timeliness of detection.

[0130] When it is preliminarily determined that there is an intrusion target, the camera is triggered to capture images of the intrusion area, and the image recognition model is used for analysis to obtain visual feature information of the intrusion target, enriching the dimension of intrusion detection and improving the accuracy and reliability of detection.

[0131] By integrating the electromagnetic pulse signal analysis results and image recognition results, based on the preset comprehensive judgment rules, it is possible to integrate multi-source information and comprehensively evaluate the existence, location, type, etc. of the intrusion target, overcome the limitations of a single detection method, and improve the robustness of intrusion detection.

[0132] When it is comprehensively determined that there is an intrusion target, an alarm command is automatically sent to the alarm device to trigger the alarm, realizing the linkage between intrusion detection and alarm response, improving the system's automation and real-time performance, and reducing the need for manual intervention.

[0133] Through the organic combination of electromagnetic pulse detection and image recognition, the complementary advantages of the two technologies are brought into play. Electromagnetic pulse detection has strong adaptability to the environment, and image recognition provides rich visual information. This two-pronged approach effectively improves the performance and scope of application of intrusion detection.

[0134] Figure 2 FIG. 1 is a schematic diagram of the structure of an intrusion detection system based on the combination of electromagnetic pulse and image recognition according to an embodiment of the present invention. Figure 2 As shown, the system comprises:

[0135] The first unit is used to receive the electromagnetic pulse signal acquired by the electromagnetic pulse sensor, preprocess the electromagnetic pulse signal to obtain a preprocessed electromagnetic pulse signal; based on a preset electromagnetic pulse signal characteristic model, analyze the preprocessed electromagnetic pulse signal to obtain a preliminary judgment result of the intrusion target;

[0136] The second unit is used for controlling the camera to capture an image of the intrusion area if the preliminary judgment result indicates that there is an intrusion target, and inputting the captured image into the image recognition model for analysis to obtain an image analysis result;

[0137] The third unit is used to integrate the preliminary judgment result and the image analysis result, and judge whether there is an intrusion target based on the preset intrusion target comprehensive judgment rule; if the judgment result is that there is an intrusion target, an alarm instruction is sent to the alarm device to trigger an alarm.

[0138] According to a third aspect of the embodiments of the present invention,

[0139] An electronic device is provided, comprising:

[0140] processor;

[0141] a memory for storing processor-executable instructions;

[0142] The processor is configured to call the instructions stored in the memory to execute the aforementioned method.

[0143] A fourth aspect of the embodiments of the present invention is:

[0144] A computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the aforementioned method is implemented.

[0145] The present invention may be a method, an apparatus, a system and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for executing various aspects of the present invention.

[0146] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. An intrusion detection method based on the combination of electromagnetic pulse and image recognition, characterized in that: include: Receiving an electromagnetic pulse signal acquired by an electromagnetic pulse sensor, and preprocessing the electromagnetic pulse signal to obtain a preprocessed electromagnetic pulse signal; Based on a preset electromagnetic pulse signal characteristic model, the preprocessed electromagnetic pulse signal is analyzed to obtain a preliminary judgment result of the intrusion target; If the preliminary judgment result indicates that there is an intrusion target, the camera is controlled to capture an image of the intrusion area, and the captured image is input into an image recognition model for analysis to obtain an image analysis result; The preliminary judgment result and the image analysis result are integrated to judge whether there is an intrusion target based on the preset intrusion target comprehensive judgment rule; if the judgment result is that there is an intrusion target, an alarm instruction is sent to the alarm device to trigger an alarm; Among them, the preset electromagnetic pulse signal feature model is based on a machine learning algorithm and is trained using a large number of labeled electromagnetic pulse signal samples, and the image recognition model is based on a deep learning algorithm and is trained using a large number of labeled intrusion target image samples.

2. The method according to claim 1, characterized in that Before analyzing the preprocessed electromagnetic pulse signal based on a preset electromagnetic pulse signal characteristic model to obtain a preliminary judgment result of the intrusion target, the method further includes: Preprocess the electromagnetic pulse signal, extract the signal's feature vector, and construct a training sample set; construct a classification hierarchy based on the characteristics of the electromagnetic pulse signal, and set multiple classification levels from coarse granularity to fine granularity; in each classification level, perform cluster analysis on the training samples of the current level to obtain sample subsets of different categories; For each sample subset, a binary classification model is trained using the weighted support vector machine algorithm; In the training phase, the weight coefficients of different sample subsets are calculated respectively; the weighted support vector machine model obtained through training is used to classify and predict the test samples to obtain the classification results of the current level; If the current level is the most fine-grained classification level, the classification result is used as the final classification label; otherwise, the classification result of the current level is used as the input of the next level until the most fine-grained classification level is reached; The classification results of each level are combined to obtain the final classification label of the test sample.

3. The method according to claim 2, characterized in that Using the trained weighted support vector machine model, the test samples are classified and predicted, and the classification results of the current level include: in, represents the classification result of the weighted support vector machine model at the lth layer, w (l) , b (l) represents the weight vector and bias term of the lth layer, φ represents the feature mapping function, Represents the test sample of the lth layer.

4. The method according to claim 1, characterized in that: The camera is controlled to capture images of the intrusion area, and the captured images are input into the image recognition model for analysis. The image analysis results include: The image to be analyzed is input into a pre-built image recognition model, which is a deep convolutional neural network, including multiple convolutional layers and pooling layers, and several fully connected layers, wherein the convolution kernel size in the convolutional layer is 3x3, and the receptive field is expanded by stacking layer by layer, and a maximum pooling operation is set after multiple convolutional layers for downsampling, and the fully connected layer is used to map the features extracted by the convolutional layer to a high-dimensional feature space; According to the number of categories of the image analysis task, the number of output layer nodes of the deep convolutional neural network is adjusted to keep the number of output nodes consistent with the number of categories corresponding to the task; Using the pre-trained deep convolutional neural network model for transfer learning, initializing the parameters of the convolutional layer to the pre-trained weights, and randomly initializing the parameters of the fully connected layer, and gradually adjusting the network parameters by fine-tuning using the back propagation algorithm and the gradient descent optimization method; The image to be analyzed is input into the trained deep convolutional neural network. After multiple layers of convolution, pooling and full connection operations, the feature vector representation of the image in the high-dimensional feature space is obtained. The extracted feature vectors are analyzed according to the task requirements. In the classification task, the Softmax function is used to map the feature vectors to category probabilities. Category judgment is performed based on the probability values ​​to obtain the semantic information and analysis results of the image.

5. The method according to claim 4, characterized in that The pre-trained deep convolutional neural network model is used for transfer learning, the parameters of the convolutional layer are initialized to the pre-trained weights, the parameters of the fully connected layer are randomly initialized, and the network parameters are gradually adjusted by fine-tuning using the back propagation algorithm and the gradient descent optimization method, including: Among them, θ (t+1) represents the network parameters of the t+1th iteration, and η represents the learning rate; Denotes the objective function J(θ (t) ) in θ (t) The gradient at, N represents the number of training samples, L() represents the loss function, y i is the true label, f(x i θ (t) ) is the predicted output of the network, x i is the i-th training sample, λ represents the regularization coefficient, and R() represents the regularization function.

6. The method according to claim 1, characterized in that Fusion of the preliminary judgment result and the image analysis result, based on the preset intrusion target comprehensive judgment rule, determines whether there is an intrusion target including: Constructing a judgment framework of an intrusion target, wherein the judgment framework includes two mutually exclusive propositions: the existence of an intrusion target and the non-existence of an intrusion target; According to the preliminary judgment result and the image analysis result, two independent evidence sources are constructed and assigned different basic probability values ​​respectively, wherein the preliminary judgment result is assigned a first probability value according to the confidence of the judgment, and the image analysis result is assigned a second probability value according to the category probability output by the deep convolutional neural network; Using the combination rule of evidence theory, the basic probability assignment functions of the two evidence sources are combined to obtain a fused basic probability assignment function. The combination rule introduces a conflict factor to measure the degree of conflict between the evidences. The conflict factor is obtained by calculating the value when the intersection of the basic probability assignment functions of the two evidence sources is an empty set. According to the fused basic probability assignment function, the confidence of the existence and non-existence of the intrusion target is calculated and compared with the preset threshold. When the confidence of the existence of the intrusion target is greater than or equal to the threshold, it is determined that the intrusion target exists, otherwise, it is determined that the intrusion target does not exist.

7. The method according to claim 6, characterized in that Using the combination rules of evidence theory, the basic probability assignment functions of the two evidence sources are combined, and the fused basic probability assignment functions include: Among them, K represents the conflict factor, m1(B) represents the first probability value corresponding to the judgment confidence B, m2(C) represents the second probability value corresponding to the category probability C, and B∩C=A means that the two evidence sources are combined to obtain combined evidence.

8. An intrusion detection system based on a combination of electromagnetic pulse and image recognition, used to implement the method according to any one of claims 1 to 7, characterized in that: include: The first unit is used to receive an electromagnetic pulse signal acquired by an electromagnetic pulse sensor, and preprocess the electromagnetic pulse signal to obtain a preprocessed electromagnetic pulse signal; Based on a preset electromagnetic pulse signal characteristic model, the preprocessed electromagnetic pulse signal is analyzed to obtain a preliminary judgment result of the intrusion target; The second unit is used for controlling the camera to capture an image of the intrusion area if the preliminary judgment result indicates that there is an intrusion target, and inputting the captured image into the image recognition model for analysis to obtain an image analysis result; The third unit is used to integrate the preliminary judgment result and the image analysis result, and judge whether there is an intrusion target based on the preset intrusion target comprehensive judgment rule; if the judgment result is that there is an intrusion target, an alarm instruction is sent to the alarm device to trigger an alarm.

9. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to call the instructions stored in the memory to execute the method described in any one of claims 1 to 7.

10. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Electromagnetic pulse identification method and system based on naive Bayes classification model

    CN119719959A