Dual-metric spectrum anomaly detection method and detector under authorized frequency band
The adversarial autoencoder and the time-frequency attention mechanism are used to extract the time-frequency characteristics of the spectrum data, combined with the Mahalanobis distance discrimination of the user discriminator, which solves the problem of insufficient spectrum anomaly detection performance in the authorized electromagnetic environment and realizes the detection of spectrum anomalies. Efficient detection and accurate identification.
Patent Information
- Application Number
- CN202410676343.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-29
- Publication Date
- 2024-09-17
AI Technical Summary
The existing technology has insufficient spectrum anomaly detection performance in authorized electromagnetic environments. It is especially difficult to detect spectrum anomalies caused by low interference-to-signal ratio and illegal users, and ignores the time-frequency characteristics of spectrum data.
The dual-metric spectrum anomaly detection method is used to obtain the time-frequency characteristics of the spectrum data through pre-training of the adversarial autoencoder and time-frequency attention mechanism, and the user discriminator is used to learn the fingerprint characteristics of the IQ data, combined with the Mahalanobis distance as the discriminant criterion. Realize effective detection of spectrum anomalies.
It significantly improves the spectrum anomaly detection performance in authorized electromagnetic environments, improves the detection accuracy of legal user violations and illegal user intrusions, and reduces the false alarm rate.
Smart Images

Figure CN118659846A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of spectrum detection, and more specifically, to a dual-metric spectrum anomaly detection method and a detector in an authorized frequency band. Background Art
[0002] With the diversification of wireless communication services and the explosive growth of user terminals, the electromagnetic environment in key areas is becoming more and more complex. There are not only legal users but also illegal users, which leads to increasingly fierce competition among users and easily breeds spectrum abuse. Effective detection of spectrum anomalies such as illegal frequency use by legal users, malicious interference by illegal users, and illegal intrusion is the key to achieving effective spectrum management and ensuring spectrum security. Therefore, it is of great significance to design a spectrum anomaly detector to detect various spectrum anomalies in a timely and effective manner.
[0003] Traditional spectrum anomaly detection methods mainly include methods based on feature detection, waveform detection and energy detection. These three methods require rich expert experience to achieve satisfactory performance, have high computational complexity, and need to be designed according to specific communication scenarios.
[0004] Compared with traditional methods, deep learning-based methods can solve the problem of spectrum anomaly detection from higher-dimensional signal features and improve the robustness of traditional methods. However, most of them ignore the relationship between time and frequency of spectrum data, resulting in the loss of time-frequency features of spectrum data. In addition, existing models are difficult to detect spectrum anomalies caused by illegal users with low interference-to-signal ratios and impersonating legitimate users. In related technologies, such as Chinese patent CN117851947A, a spectrum anomaly detection method and system based on time-frequency series difference and single-class support vector machine is provided. This method adopts a universal design to solve the problems of poor universality and repeated design of existing detection methods, but this scheme does not consider solving the spectrum anomaly detection problem from higher-dimensional signal features.
[0005] From the above, it can be seen that the relevant technology does not provide any technical inspiration on how to improve the performance of spectrum anomaly detection in authorized electromagnetic environments. Summary of the invention
[0006] 1. Technical problems to be solved
[0007] In response to the problem of how to improve the performance of spectrum anomaly detection in an authorized electromagnetic environment in the prior art, the present invention provides a dual-metric spectrum anomaly detection method and detector in an authorized frequency band, which can detect spectrum anomalies based on spectrum data and IQ data, and effectively detect spectrum anomalies in an authorized electromagnetic environment by fusing and distinguishing spectrum anomalies, thereby improving the detection performance of spectrum anomalies.
[0008] 2. Technical solution
[0009] The purpose of the present invention is achieved through the following technical solutions.
[0010] A dual-metric spectrum anomaly detection method in an authorized frequency band comprises the following steps:
[0011] Input data and preprocess: collect data and preprocess it to obtain test samples;
[0012] Training data: Obtain the features of the preprocessed data and obtain the training model through training;
[0013] Detection data: Input the test sample into the training model to obtain the reconstruction error of the test sample and the Mahalanobis distance with the center of each user class, determine the relationship between the error and the threshold and the relationship between the distance and the threshold, and obtain an abnormal judgment or a normal judgment.
[0014] Furthermore, the steps of inputting data and preprocessing are specifically as follows: collecting spectrum data and user IQ data as inputs of the training model, and preprocessing the collected spectrum data and IQ data; the preprocessing includes slicing processing and normalization processing.
[0015] Furthermore, the training data includes pre-training of adversarial autoencoders and time-frequency attention mechanisms, as well as pre-training of user discriminators;
[0016] Among them, the adversarial autoencoder and time-frequency attention mechanism pre-training will input the preprocessed spectral data into the adversarial autoencoder to obtain latent features. By introducing an adversarial training process, the extracted latent features are guided to the feature space; at the same time, the time-frequency attention mechanism obtains time features and frequency features in parallel, and reconstructs the spectral data according to the extracted triple features.
[0017] Furthermore, the steps of pre-training the adversarial autoencoder and the time-frequency attention mechanism are as follows:
[0018] The preprocessed spectrum data is input into an encoder to obtain spectrum potential features of multiple sizes;
[0019] The spectrum potential features are obtained through the fully connected layer;
[0020] Use an average pooling layer or a maximum pooling layer to obtain the temporal attention weight coefficient for the first three spectral latent features obtained;
[0021] The temporal attention weight coefficient is convolved with the corresponding spectral latent feature to obtain the temporal attention, which is calculated as follows:
[0022]
[0023] Among them, F′ represents the features extracted by each layer of the encoder E after the input spectrum data F, Avg represents the average pooling layer, and Max represents the maximum pooling layer. Represents 3 convolutional layers with a convolution kernel size of 3, tanh is the activation function, At is the temporal attention, and H is the length of the time axis.
[0024] Furthermore, the user discriminator pre-training utilizes the deep residual network to obtain the fingerprint feature vector from the preprocessed user IQ data, and at the same time establishes a class center vector for each user, and uses the center loss to reduce the Mahalanobis distance between the fingerprint feature vector and the corresponding class center vector of the same class of users.
[0025] Furthermore, the steps of user discriminator pre-training are as follows:
[0026] Use the deep residual network in the user discriminator to learn the fingerprint features of user IQ data;
[0027] A class center vector is established for each user, and the center loss is used to reduce the Mahalanobis distance between training samples of the same user; the center loss L c The calculation process is as follows:
[0028]
[0029] Among them, Y represents the deep residual network, S is the IQ data sample of the legitimate user, and k a is the label of the legal user, R is the training batch size, Represents the class center vector of the k-th legitimate user;
[0030] The fingerprint features are passed through the fully connected layer and the softmax activation function, and the cross entropy loss is used to control the effectiveness of the extracted fingerprint features. The cross entropy loss L ce The calculation process is as follows:
[0031]
[0032] Among them, C represents a classifier consisting of a fully connected layer and a softmax activation function.
[0033] Furthermore, the detection data includes spectrum data anomaly detection and IQ data anomaly detection;
[0034] Among them, the spectrum data anomaly detection inputs the spectrum data test sample into the training model to obtain the reconstruction error of the spectrum data test sample. If the error is greater than the threshold, it is determined that an anomaly occurs, otherwise it enters the IQ data anomaly detection.
[0035] Furthermore, the reconstruction error d1 of the spectrum data test sample is calculated as follows:
[0036]
[0037] Among them, F ij Represents the test spectrum data, represents the reconstructed spectrum data, M represents M time slots, N represents the Nth frequency point, i represents the i-th time slot, and j represents the j-th frequency point;
[0038] The threshold η1 is set according to the abnormal score of the normal sample of the spectrum data. If the error is greater than the threshold η1, it is judged to be abnormal. If it is less than the threshold, it enters the IQ data anomaly detection.
[0039] Furthermore, IQ data anomaly detection inputs the IQ data test sample into the training model to obtain the Mahalanobis distance between the IQ data test sample and the center of each user class, and selects the smallest distance as the discriminant metric. If the distance is greater than the threshold, it is judged to be abnormal, otherwise it is judged to be normal.
[0040] A dual-metric spectrum anomaly detector under an authorized frequency band is used in the dual-metric spectrum anomaly detection method under the authorized frequency band.
[0041] 3. Beneficial effects
[0042] Compared with the prior art, the advantages of the present invention are:
[0043] (1) The present invention uses a user discriminator to learn the fingerprint features of user IQ data, so as to establish a class center vector for each user and obtain their fingerprint feature vector, and then use the Mahalanobis distance between the two as the second criterion for distinguishing abnormalities, ultimately achieving effective spectrum anomaly detection;
[0044] (2) The present invention integrates the method of distinguishing spectrum anomalies and uses normal spectrum data and legitimate user IQ data to train and tune the model to effectively detect spectrum anomalies in an authorized electromagnetic environment, thereby improving the detection performance of spectrum anomalies. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 It is a flowchart of a spectrum anomaly detection method in an authorized electromagnetic environment in one embodiment of the present invention;
[0046] Figure 2 A schematic diagram of the detection performance of frequency shift anomaly in the case of abnormal illegal frequency usage by a legitimate user in one embodiment of the present invention;
[0047] Figure 3 It is a schematic diagram of the detection performance of high power anomaly in the case of abnormal illegal frequency usage by a legitimate user in one embodiment of the present invention;
[0048] Figure 4It is a schematic diagram of the detection performance of over-bandwidth anomaly in the case of abnormal illegal frequency usage by a legitimate user in one embodiment of the present invention;
[0049] Figure 5 It is a schematic diagram of the detection performance of illegal user intrusion interference anomaly in one embodiment of the present invention;
[0050] Figure 6 It is a schematic diagram of the detection performance of illegal user intrusion interference anomaly in one embodiment of the present invention. DETAILED DESCRIPTION
[0051] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.
[0052] Combination Figures 1 to 6 The present invention provides a dual-metric spectrum anomaly detection method under an authorized frequency band, comprising the following steps:
[0053] Input data and preprocess: collect data and preprocess it to obtain test samples;
[0054] Training data: Obtain the features of the preprocessed data and obtain the training model through training;
[0055] Detection data: Input the test sample into the training model to obtain the reconstruction error of the test sample and the Mahalanobis distance with the center of each user class, determine the relationship between the error and the threshold and the relationship between the distance and the threshold, and obtain an abnormal judgment or a normal judgment.
[0056] Specifically, the steps of a dual-metric spectrum anomaly detection method in an authorized frequency band are as follows:
[0057] Input data and preprocess it:
[0058] Normal spectrum data and user IQ data are collected as inputs of the training model, and the collected spectrum data and IQ data are preprocessed.
[0059] Specifically, normal spectrum data of a specified frequency band and IQ data of legitimate users are collected by a receiving device as input for model training; the collected spectrum data and IQ data are sliced to a size that conforms to the input neural network model, and the spectrum data is normalized to avoid loss convergence during training. During training, only normal spectrum data and IQ data of legitimate users need to be trained.
[0060] Specifically, the power spectrum density data is processed into a spectrum data matrix of size 16*512, where 16 is the number of time slots and 512 is the number of frequency points, and normalized, and the IQ data is processed into 2*1024 I-path and Q-path sequences.
[0061] Training Data:
[0062] Includes adversarial autoencoder and time-frequency attention mechanism pre-training as well as user discriminator pre-training.
[0063] Adversarial Autoencoder and Time-Frequency Attention Mechanism Pre-training:
[0064] The sliced normal spectrum data is input into the adversarial autoencoder to obtain latent features. By introducing an adversarial training process, the extracted latent features are gradually guided to a specific feature space. At the same time, the time-frequency attention mechanism obtains time features and frequency features in parallel, and reconstructs the spectrum data according to the extracted triple features. Finally, the mean square error between the input data and the reconstructed data is reduced, so that the model can learn the distribution law of normal spectrum data.
[0065] Specifically, the steps of pre-training the adversarial autoencoder and the time-frequency attention mechanism are as follows:
[0066] The processed spectrum data is input into the encoder E consisting of three convolutional layers / pooling layers to obtain spectrum potential features with sizes of 32*8*256, 32*4*128, and 32*2*64 respectively;
[0067] The spectrum potential features with a size of 20 are obtained through the fully connected layer;
[0068] For the first three spectral potential features obtained, an average pooling layer / maximum pooling layer is used to obtain the temporal attention weight coefficient, with sizes of 32*8*1, 32*4*1, and 32*2*1 respectively;
[0069] The temporal attention weight coefficient is convolved with the corresponding spectral latent feature to obtain the temporal attention, which is calculated as follows:
[0070]
[0071] Among them, F represents the input spectrum data, F represents the features extracted by each layer of the encoder E after the input spectrum data F, Avg represents the average pooling layer, and Max represents the maximum pooling layer. represents three convolutional layers with a convolution kernel size of 3, tan is the activation function, and A t ∈R 1×H×1 is the time attention, H is the length of the time axis;
[0072] Similarly, two average pooling layers are used to obtain the frequency attention weights for the first three spectral latent features obtained above;
[0073] The frequency attention weight coefficient is convolved with the corresponding spectral potential feature to obtain the frequency attention, the size is 32*1*256, 32*1*128, 32*1*64, and the calculation method is as follows:
[0074]
[0075] Among them, F′ represents the features extracted by each layer of the encoder E after the input F, Avg represents the average pooling layer, and Max represents the maximum pooling layer. represents three convolutional layers with a convolution kernel size of 3, tan is the activation function, and A f ∈R 1×1×W is the frequency attention, W is the length of the frequency axis;
[0076] The time attention and frequency attention corresponding to each layer are concatenated and passed through three convolutional layers to obtain the time-frequency attention, with sizes of 32*2*64, 32*4*128, and 32*8*256 respectively. The calculation method is as follows:
[0077]
[0078] Among them, A tf ∈R 1×H×W represents time-frequency attention, Represents the convolution process;
[0079] The discriminator D is constructed by adding three fully connected layers s , an adversarial training process is introduced to guide the distribution of potential features of size 20 to approach the prior distribution, and the adversarial loss is as follows:
[0080]
[0081] Among them, E is the encoder, D s is the discriminator, F is the input spectrum data, P (F) is the data distribution of F. z represents the potential feature, P (z) is the data distribution of z.
[0082] The latent features of size 20 are mapped to latent features of size 32*1*32 through the fully connected layer;
[0083] The first three latent features are passed through a decoder D consisting of three convolution / upsampling layers, mapped into latent features of size 32*2*64, 32*4*128, and 32*8*256, and multiplied by the time-frequency attention of the same size;
[0084] Finally, the reconstructed spectrum data is obtained through the fully connected layer.
[0085] The mean square error is calculated based on the reconstructed spectrum data and the input spectrum data, and the accuracy of the optimization model in learning the normal spectrum data distribution law is calculated. The loss is as follows:
[0086]
[0087] Among them, E is the encoder, D is the decoder, F is the input spectrum data, and L represents the calculation of the mean square error.
[0088] User Discriminator Pre-training:
[0089] The deep residual network is used to obtain the fingerprint feature vector from the sliced legal user's IQ data. The cross entropy loss is used to ensure that the extraction of legal user fingerprint features is effective. At the same time, a class center vector is established for each legal user. Then, the center loss is used to reduce the Mahalanobis distance between the fingerprint feature vector of the same class of legal users and the corresponding class center vector, ensuring that the features of different legal users can be effectively separated. The final class center vector is obtained by updating each batch of training samples.
[0090] Specifically, the steps of user discriminator pre-training are as follows:
[0091] Use the deep residual network in the user discriminator to learn the fingerprint features of the legitimate user IQ data, with a size of 1*256;
[0092] A class center vector of size 1*256 is established for each legitimate user, and the center loss is used to reduce the Mahalanobis distance between the training samples of the same legitimate user; the center loss L c The calculation process is as follows:
[0093]
[0094] Among them, Y represents the deep residual network, S is the IQ data sample of the legitimate user, and k a is the label of the legal user. R is the training batch size. Represents the class center vector of the k-th legitimate user.
[0095] The fingerprint features are passed through the fully connected layer and the softmax activation function, and the cross entropy loss is used to control the effectiveness of the extracted fingerprint features. The cross entropy loss L ce The calculation process is as follows:
[0096]
[0097] Among them, C represents a classifier consisting of a fully connected layer and a softmax activation function.
[0098] Test data:
[0099] Includes spectrum data anomaly detection and IQ data anomaly detection.
[0100] Spectral data anomaly detection:
[0101] The test spectrum data sample is input into the trained adversarial autoencoder and the pre-trained model of the time-frequency attention mechanism to obtain the reconstruction error of the test sample. If the error is greater than the preset threshold, it is judged that an anomaly occurs, otherwise it enters IQ data anomaly detection.
[0102] Specifically, the steps of spectrum data anomaly detection are as follows:
[0103] The test spectrum data sample is input into the trained adversarial autoencoder and the pre-trained model of the time-frequency attention mechanism to obtain the reconstruction error of the test sample, which is calculated as follows:
[0104]
[0105] Among them, d1 represents the reconstruction error, F ij Represents the test spectrum data, represents the reconstructed spectrum data; M represents M time slots, N represents the Nth frequency point, i represents the ith time slot, and j represents the jth frequency point.
[0106] The threshold η1 is set according to the abnormal score of the normal sample of the spectrum data. If the error is greater than the threshold η1, it is judged to be abnormal. If it is less than the threshold, it enters the IQ data anomaly detection.
[0107] IQ Data Anomaly Detection:
[0108] The test IQ data sample is input into the pre-trained model of the trained user discriminator to obtain the Mahalanobis distance between the test sample and the center of each legitimate user class, and the smallest distance is selected as the discriminant metric. If the distance is greater than the preset threshold, it is judged to be abnormal, otherwise it is judged to be normal.
[0109] Specifically, the steps of IQ data anomaly detection are as follows:
[0110] Input the test IQ data sample into the pre-trained model of the trained user discriminator to obtain the Mahalanobis distance between the test sample and the center of each legitimate user class. The calculation method is as follows:
[0111]
[0112] Among them, d2 represents the Mahalanobis distance between the test sample and the center of each legitimate user class. is the inverse transformation matrix related to the number of legal users;
[0113] Select the smallest distance as the discriminant metric:
[0114]
[0115] Among them, d3 represents the smallest Mahalanobis distance in d2, k irepresents the i-th legal user;
[0116] The setting of the threshold η2 refers to the three sigma rule of thumb, and the calculation process is as follows:
[0117] η2=λ×3σ,
[0118] Among them, σ is the standard deviation of the training samples of the same type of legitimate users;
[0119] If the distance is greater than a preset threshold η2, it is determined to be abnormal, otherwise it is determined to be normal.
[0120] Abnormal frequency usage by legitimate users in violation of regulations. Due to their own faults or external communication interference, the transmission power, transmission bandwidth, and operating frequency of legitimate users in the monitored frequency band may fluctuate beyond the range of normal communication of legitimate users, causing spectrum anomalies such as high-power transmission, ultra-bandwidth transmission, and frequency-shift transmission.
[0121] Specifically, the three types of illegal frequency usage by legitimate users are defined as:
[0122] (1) High-power transmission: The transmission power of a legitimate user exceeds the standard. The ratio of abnormal transmission power P to normal transmission power P0 is defined as k. p ;
[0123] (2) Ultra-bandwidth transmission: The legitimate user’s working bandwidth is outside the test-free range. The ratio of the user’s abnormal working bandwidth B to the user’s normal working bandwidth B0 is defined as k. B ;
[0124] (3) Frequency shift transmission: The center frequency of the legitimate user's work is shifted. The abnormal working center frequency of the user is defined as f0, the normal working center frequency is defined as f, and the frequency shift value is k f ;in,
[0125]
[0126] Abnormal intrusion and interference by illegal users refers to unauthorized or illegal electromagnetic signals. Their transmission power, working bandwidth, and working frequency cannot be obtained in advance, and they will interfere with the normal communication behavior of legitimate users, maliciously seize spectrum resources, and affect the spectrum management of the electromagnetic environment.
[0127] like Figures 2 to 4 As shown in Figure 2, the detection performance of the model of the present invention for the illegal frequency usage of legitimate users is improved by about 2.8% and 5.8% compared with other algorithms. Figure 5 to Figure 6 As shown, compared with using spectrum data alone for abnormality identification, the fusion identification method of the present invention has a significant improvement in the detection of intrusion interference by illegal users. When the false alarm probability is 5%, the average abnormality detection rate can reach more than 88%.
[0128] In summary, the dual-metric spectrum anomaly detection method in the authorized frequency band of the present invention detects spectrum data anomalies by using an adversarial autoencoder, obtains the time-frequency relationship of spectrum data by the time-frequency attention mechanism, and adds a user discriminator to fuse and distinguish IQ data anomalies, thereby effectively improving the spectrum anomaly detection performance in the authorized electromagnetic environment.
[0129] The above schematically describes the invention and its implementation methods, which is not restrictive. Without departing from the spirit or basic features of the invention, the invention can be implemented in other specific forms. What is shown in the accompanying drawings is only one of the implementation methods of the invention. The actual structure is not limited to this, and any figure mark in the claims should not limit the claims involved. Therefore, if a person of ordinary skill in the art is inspired by it, without departing from the purpose of the invention, a structural method and an embodiment similar to the technical solution are designed without creativity, which should all fall within the scope of protection of this patent. In addition, the word "including" does not exclude other elements or steps, and the word "one" before the element does not exclude the inclusion of "multiple" elements. The multiple elements stated in the product claim can also be implemented by one element through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any specific order.
Claims
1. A dual-metric spectrum anomaly detection method in an authorized frequency band, comprising the following steps: Input data and preprocess: collect data and preprocess it to obtain test samples; Training data: Obtain the features of the preprocessed data and obtain the training model through training; Detection data: Input the test sample into the training model to obtain the reconstruction error of the test sample and the Mahalanobis distance with the center of each user class, determine the relationship between the error and the threshold and the relationship between the distance and the threshold, and obtain an abnormal judgment or a normal judgment.
2. The dual-metric spectrum anomaly detection method under the authorized frequency band according to claim 1, characterized in that: The steps of inputting data and preprocessing are specifically as follows: collecting spectrum data and user IQ data as input of the training model, and preprocessing the collected spectrum data and IQ data; the preprocessing includes slicing processing and normalization processing.
3. The dual-metric spectrum anomaly detection method in the authorized frequency band according to claim 1, characterized in that: The training data includes pre-training of adversarial autoencoders and time-frequency attention mechanisms, as well as pre-training of user discriminators; Among them, the adversarial autoencoder and time-frequency attention mechanism pre-training will input the preprocessed spectral data into the adversarial autoencoder to obtain latent features. By introducing an adversarial training process, the extracted latent features are guided to the feature space; at the same time, the time-frequency attention mechanism obtains time features and frequency features in parallel, and reconstructs the spectral data according to the extracted triple features.
4. The dual-metric spectrum anomaly detection method in the authorized frequency band according to claim 3, characterized in that: The specific steps of pre-training the adversarial autoencoder and the time-frequency attention mechanism are: The preprocessed spectrum data is input into an encoder to obtain spectrum potential features of multiple sizes; The spectrum potential features are obtained through the fully connected layer; Use an average pooling layer or a maximum pooling layer to obtain the temporal attention weight coefficient for the first three spectral latent features obtained; The temporal attention weight coefficient is convolved with the corresponding spectral latent feature to obtain the temporal attention, which is calculated as follows: Among them, F′ represents the features extracted by each layer of the encoder E after the input spectrum data F, Avg represents the average pooling layer, and Max represents the maximum pooling layer. represents three convolutional layers with a convolution kernel size of 3, tanh is the activation function, and A t is the temporal attention, and H is the length of the time axis.
5. The dual-metric spectrum anomaly detection method in the authorized frequency band according to claim 3, characterized in that: User discriminator pre-training uses a deep residual network to obtain fingerprint feature vectors from preprocessed user IQ data, and at the same time establishes a class center vector for each user, using the center loss to reduce the Mahalanobis distance between the fingerprint feature vectors of users of the same class and the corresponding class center vectors.
6. The dual-metric spectrum anomaly detection method in the authorized frequency band according to claim 3 or 5, characterized in that: The steps of user discriminator pre-training are as follows: Use the deep residual network in the user discriminator to learn the fingerprint features of user IQ data; A class center vector is established for each user, and the center loss is used to reduce the Mahalanobis distance between training samples of the same user; the center loss L c The calculation process is as follows: Among them, Y represents the deep residual network, S is the IQ data sample of the legitimate user, and k a is the label of the legal user, R is the training batch size, Represents the class center vector of the k-th legitimate user; The fingerprint features are passed through the fully connected layer and the softmax activation function, and the cross entropy loss is used to control the effectiveness of the extracted fingerprint features. The cross entropy loss L ce The calculation process is as follows: Among them, C represents a classifier consisting of a fully connected layer and a softmax activation function.
7. The dual-metric spectrum anomaly detection method in the authorized frequency band according to claim 1, characterized in that: The detection data includes spectrum data anomaly detection and IQ data anomaly detection; Among them, the spectrum data anomaly detection inputs the spectrum data test sample into the training model to obtain the reconstruction error of the spectrum data test sample. If the error is greater than the threshold, it is determined that an anomaly occurs, otherwise it enters the IQ data anomaly detection.
8. The dual-metric spectrum anomaly detection method in the authorized frequency band according to claim 7, characterized in that: The reconstruction error d1 of the spectrum data test sample is calculated as follows: Among them, F ij Represents the test spectrum data, represents the reconstructed spectrum data, M represents M time slots, N represents the Nth frequency point, i represents the i-th time slot, and j represents the j-th frequency point; The threshold η1 is set according to the abnormal score of the normal sample of the spectrum data. If the error is greater than the threshold η1, it is judged to be abnormal. If it is less than the threshold, it enters the IQ data anomaly detection.
9. The dual-metric spectrum anomaly detection method in the authorized frequency band according to claim 7, characterized in that: IQ data anomaly detection inputs the IQ data test sample into the training model to obtain the Mahalanobis distance between the IQ data test sample and the center of each user class, and selects the smallest distance as the discriminant metric. If the distance is greater than the threshold, it is judged to be abnormal, otherwise it is judged to be normal.
10. A dual-metric spectrum anomaly detector in an authorized frequency band, used in the dual-metric spectrum anomaly detection method in an authorized frequency band as claimed in any one of claims 1 to 9.
Citation Information
Cited By
Intelligent network connection automobile anomaly detection system and method based on big data analysis
CN119946640A
Method for monitoring running state of micro-particle shot blasting equipment based on multi-source data fusion
CN120296438A
Operation status monitoring method of microparticle shot blasting equipment based on multi-source data fusion
CN120296438B
Method, device and equipment for detecting abnormity of equipment along mining railway, and medium
CN121167565A
