GNSS deception signal detection method based on time-frequency domain feature fusion deep learning model

By fusing time-frequency domain features with a deep learning model, the problem of time-frequency domain feature decoupling in traditional GNSS spoofing signal detection methods is solved, achieving high-precision and robust spoofing signal detection suitable for mobile devices.

CN120670735APending Publication Date: 2025-09-19CHANGSHA INSTITUTE OF TECHNOLOGY
View PDF 0 Cites 8 Cited by

Patent Information

Application Number
CN202510835507.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-20
Publication Date
2025-09-19

AI Technical Summary

Technical Problem

Traditional GNSS spoofing signal detection methods rely on feature analysis in a single domain, making it difficult to capture the complex and abnormal characteristics of spoofing signals coupled in the time and frequency domains. This leads to insufficient recognition accuracy, especially high false detection and missed detection rates in dynamic and changing attack scenarios, and insufficient robustness.

Method used

A deep learning model based on time-frequency domain feature fusion is adopted. The time domain and frequency domain features are processed in parallel through a lightweight deep learning model. The bidirectional attention mechanism is used for feature interaction and weighted correction. Combined with multi-resolution time-frequency analysis and convolutional feature extraction, dynamic interaction and optimization of cross-domain features are achieved.

Benefits of technology

It significantly improves the capture capability and detection accuracy of deceptive signals, reduces the missed detection rate, enhances the robustness and real-time performance of the model in complex electromagnetic environments, and is suitable for mobile deployment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120670735A_ABST
    Figure CN120670735A_ABST
Patent Text Reader

Abstract

The invention discloses a GNSS deception signal detection method based on a time-frequency domain feature fusion deep learning model, and relates to the technical field of intelligent detection. The method comprises the following steps: acquiring original GNSS signal data, preprocessing the data, and dividing the data into a training set and a test set; in the model training stage, a pre-training lightweight deep learning model is utilized to extract time domain convolution features and multi-resolution frequency domain features, and weighted correction and fusion among the features are realized through a bidirectional attention mechanism; and carrying out iterative training on the model based on the fusion feature vector, and finally carrying out deception signal detection on a test set by utilizing the trained model. According to the invention, through a time-frequency domain feature deep interaction and model training mechanism, the deception signal is detected through the model, and the detection precision of the GNSS deception signal in a complex scene and the anti-interference capability of the model are significantly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent detection technology, and specifically to a GNSS spoofing signal detection method based on a time-frequency domain feature fusion deep learning model. Background Art

[0002] Traditional GNSS spoofing signal detection methods typically rely on feature analysis in a single domain (either time or frequency), making it difficult to effectively capture the complex, anomalous characteristics of spoofing signals coupled across both time and frequency domains. Existing technologies often employ static feature fusion strategies or simple signal energy thresholds, resulting in insufficient recognition accuracy for highly realistic spoofing attacks. This is particularly true in dynamic and changing attack scenarios, where model generalization is limited, leading to significantly increased false positive and missed detection rates.

[0003] Specifically, when processing GNSS signals, traditional methods usually extract time-domain waveform features or frequency-domain spectrum characteristics independently, failing to deeply explore the correlation between time-domain code phase jumps and frequency-domain Doppler shifts. This fragmented feature analysis method makes it difficult for the model to distinguish between subtle coordinated anomalies in the time-frequency domain between real signals and carefully designed spoofing signals. For example, a spoofing signal may simulate the pseudo-code structure of a real signal in the time domain, but its power fluctuations and frequency-domain energy distribution often have hidden differences. Traditional methods cannot effectively capture such correlation anomalies due to the lack of cross-domain feature interaction mechanisms. In addition, existing models are not robust enough in the face of adversarial attacks. Random perturbations artificially introduced in spoofing signals can easily lead to detection failures, and the model training process lacks targeted optimization strategies for complex attack patterns, further limiting its reliability in actual application scenarios.

[0004] To address the above issues, this field urgently needs a GNSS spoofing signal detection method that can achieve deep interaction between time-frequency domain features, enhance the model's anti-interference capability, and take into account lightweight deployment requirements. Summary of the Invention

[0005] In response to the shortcomings of the existing technology, the present invention provides a GNSS spoofing signal detection method based on a time-frequency domain feature fusion deep learning model.

[0006] In order to achieve the above object, the technical solution of the present invention is as follows:

[0007] The present invention discloses a GNSS spoofing signal detection method based on a time-frequency domain feature fusion deep learning model, comprising the following steps:

[0008] Obtaining the raw GNSS signal data to be detected;

[0009] Preprocessing the original GNSS signal data to obtain a training set and a test set;

[0010] The training set is input into the pre-trained lightweight deep learning model to extract:

[0011] Generate time domain feature vector based on time domain convolution feature ;

[0012] Generate frequency domain feature vector based on multi-resolution time-frequency analysis features in frequency domain ;

[0013] For the time domain feature vector With the frequency domain eigenvector Perform bidirectional attention calculation to generate the first weight matrix from time domain to frequency domain And the second weight matrix from frequency domain to time domain ;

[0014] According to the first weight matrix For the frequency domain eigenvector Perform weighted correction to obtain the corrected frequency domain eigenvector ;

[0015] According to the second weight matrix For the time domain feature vector Perform weighted correction to obtain the corrected time domain eigenvector ;

[0016] The modified time domain feature vector With the modified frequency domain eigenvector Perform splicing to generate a fusion feature vector;

[0017] Iteratively train and adjust the lightweight deep learning model based on the fused feature vector and calculate the signal detection accuracy, and when the signal detection accuracy output by the lightweight deep learning model meets a preset accuracy threshold, output the trained lightweight deep learning model;

[0018] The test set is input into the trained lightweight deep learning model, and a deception signal detection result is output.

[0019] Compared with the prior art, the present invention has the following beneficial effects:

[0020] 1. The present invention achieves feature decoupling and fusion with clear physical meaning at the signal processing level by innovatively constructing a dual-channel feature extraction mechanism in the time domain and frequency domain. Traditional methods usually directly input the original signal for mixed processing. However, the present invention uses discrete paths for feature extraction based on the different performance characteristics of deception behaviors in the time domain (such as pseudo-code phase jumps) and frequency domain (such as power spectrum anomalies) in GNSS signals: the time domain branch captures instantaneous dynamic changes through adaptive convolution operations, and the frequency domain branch uses multi-resolution analysis to extract spectral structure features. This discrete processing method enables the model to more accurately locate the core representation area of ​​the deception signal, avoid the decline in discrimination caused by feature confusion, and thus significantly improve the ability to capture hidden deception behaviors in complex electromagnetic environments.

[0021] 2. The present invention introduces a bidirectional attention weight distribution mechanism to effectively solve the physical alignment problem when fusion of multi-domain features. The traditional feature splicing method only performs simple cascade and does not consider the causal relationship between time and frequency features, resulting in a large amount of irrelevant noise in the fusion features. The present invention designs the first weight matrix (time domain to frequency domain) and the second weight matrix A bidirectional guidance path (from frequency domain to time domain) is constructed, allowing time-domain variations to constrain frequency-domain structural adjustments. Simultaneously, frequency-domain anomaly information is fed back to key time-domain intervals for reinforcement. This cross-domain mutual correction mechanism overcomes the limitations of traditional models' single-directional feature optimization, forming a closed-loop feature enhancement system that generates highly discriminative spatiotemporal joint representations at the feature fusion layer.

[0022] 3. The accuracy threshold control training process constructed by the present invention realizes the closed-loop self-verification of the model optimization process. Compared with the traditional training method with a fixed number of iterations, the present invention introduces real-time detection accuracy as a convergence criterion, and evaluates the model performance through an independent verification set after each iteration. This dynamic control mechanism ensures that the model will not fall into a local optimal or overfitting state, and the training will only be terminated when the accuracy rate continues to stably exceed the preset threshold. The optimization strategy based on closed-loop feedback enables the model to have the ability to adapt to environmental changes. The lightweight model finally deployed can maintain high robustness on the mobile terminal, achieving the unity of deception signal detection accuracy and real-time performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The disclosure of the present invention is described with reference to the accompanying drawings. It should be understood that the drawings are for illustrative purposes only and are not intended to limit the scope of protection of the present invention. In the drawings, the same reference numerals are used to refer to the same components. Among them:

[0024] Figure 1 is a flow chart of the steps of the present invention;

[0025] Figure 2 FIG4 is a fusion process diagram of the fusion feature vector of the present invention;

[0026] Figure 3 This is a diagram of the model training architecture of the present invention;

[0027] Figure 4 This is a flow chart of the dynamic defense instructions of the present invention. DETAILED DESCRIPTION

[0028] It is easy to understand that according to the technical solution of the present invention, without changing the essential spirit of the present invention, a person skilled in the art can propose a variety of interchangeable structural modes and implementation modes. Therefore, the following specific embodiments and drawings are only exemplary descriptions of the technical solution of the present invention and should not be regarded as the entire invention or as a limitation or restriction of the technical solution of the present invention.

[0029] Application Overview:

[0030] Conventional GNSS spoofing signal detection methods are typically limited to feature analysis in a single domain (time or frequency), making it difficult to effectively capture the complex, anomalous characteristics of spoofing signals coupled between the time and frequency domains. Existing technologies generally employ static feature fusion strategies or simple signal energy thresholds, resulting in insufficient recognition accuracy against highly realistic spoofing attacks. Particularly in dynamic and variable attack scenarios, the models lack cross-domain feature interaction mechanisms, preventing them from deeply exploring the correlation between time-domain code phase transitions and frequency-domain Doppler shifts. This significantly increases false detection and missed detection rates. Furthermore, existing models lack robustness against adversarial attacks. Random perturbations introduced into spoofing signals can easily lead to detection failures. Furthermore, their training process lacks targeted optimization strategies for complex attack patterns, severely limiting their reliability in practical applications.

[0031] To solve the above problems, this application proposes to overcome the limitations of traditional methods through deep fusion of time-frequency domain features and dynamic interaction mechanism. Time domain features are sensitive to code phase jumps but are easily interfered by noise. Frequency domain features have significant advantages in Doppler shift detection but have a delayed response. Based on this, a bidirectional attention weighted correction model is established: using time domain features to guide frequency domain feature correction ( ), while optimizing the time domain features through frequency domain feature feedback ( ), enabling the model to capture coordinated anomalies in the time-frequency domain. Unlike static fusion mechanisms, this approach enhances cross-domain feature interaction through dynamic adjustment of the weight matrix, significantly improving the accuracy of identifying covert deceptive signals.

[0032] Specifically, the detection system first acquires raw GNSS signal data and splits it into training and test sets. It then processes two key paths in parallel using a pre-trained lightweight deep learning model:

[0033] Time domain channel: extracts dynamic features such as code phase jumps based on the convolutional network and generates the time domain feature vector T;

[0034] Frequency domain channel: extract spectrum energy distribution characteristics through multi-resolution time-frequency analysis and generate frequency domain feature vector F;

[0035] In the feature fusion layer, a bidirectional attention calculation is performed: first, a time-domain-dominated weight matrix is ​​generated based on T Corrected frequency domain vector ( ), and based on F, the frequency-domain-dominated weight matrix W_{2} is generated to correct the time-domain vector ( ). The corrected eigenvector and The system then splices the data to form a fused feature vector for iterative training. The system continuously monitors signal detection accuracy and outputs an optimized model when it reaches a preset threshold. During the testing phase, the system automatically triggers the fused feature analysis process based on real-time input test data to output spoofing signal detection results.

[0036] Compared with existing technologies, traditional methods cannot capture the coordinated anomalies of deception signals due to the fragmented time-frequency feature analysis, and static fusion strategies are difficult to adapt to dynamic attack scenarios. This application uses a bidirectional attention mechanism to achieve dynamic interactive correction of time-frequency domain features (F→T', T→F'), solving the problem of cross-domain correlation anomaly detection. The dual-channel architecture of multi-resolution time-frequency analysis + convolutional feature extraction takes into account both the sensitivity of frequency domain energy distribution and the ability to capture instantaneous anomalies in the time domain. The lightweight model parameters are continuously optimized through a closed-loop feedback loop of detection accuracy, significantly improving the robustness against disturbances. This application enables the system to reduce the missed detection rate of highly simulated deception signals while maintaining its lightweight advantage, providing reliable technical support for GNSS security protection in dynamic adversarial environments.

[0037] After introducing the basic concept of the present invention, embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0038] Example:

[0039] like Figure 1 As shown in FIG, the GNSS spoofing signal detection method based on the time-frequency domain feature fusion deep learning model includes the following steps:

[0040] Obtaining the raw GNSS signal data to be detected;

[0041] Preprocessing the original GNSS signal data to obtain a training set and a test set;

[0042] The training set is input into the pre-trained lightweight deep learning model to extract:

[0043] Generate time domain feature vector based on time domain convolution feature ;

[0044] Generate frequency domain feature vector based on multi-resolution time-frequency analysis features in frequency domain ;

[0045] For the time domain feature vector With the frequency domain eigenvector Perform bidirectional attention calculation to generate the first weight matrix from time domain to frequency domain And the second weight matrix from frequency domain to time domain ;

[0046] According to the first weight matrix For the frequency domain eigenvector Perform weighted correction to obtain the corrected frequency domain eigenvector ;

[0047] According to the second weight matrix For the time domain feature vector Perform weighted correction to obtain the corrected time domain eigenvector ;

[0048] The modified time domain feature vector With the modified frequency domain eigenvector Perform splicing to generate a fusion feature vector;

[0049] Iteratively train and adjust the lightweight deep learning model based on the fused feature vector and calculate the signal detection accuracy, and when the signal detection accuracy output by the lightweight deep learning model meets a preset accuracy threshold, output the trained lightweight deep learning model;

[0050] The test set is input into the trained lightweight deep learning model, and a deception signal detection result is output.

[0051] Among them, the original GNSS signal data refers to the baseband RF signal captured by the satellite navigation receiver. Specifically, the I / Q dual-channel orthogonal sampling technology can be used to realize the digital recording of the carrier phase and pseudo code sequence, which is used to completely preserve the time and frequency domain characteristics of the signal in order to detect traces of deception attacks. Preprocessing refers to the operational process of standardized segmentation of the original signal. Specifically, it can be implemented by sliding window interception and sample equalization technology to eliminate environmental noise interference and construct a data structure adapted to the input of the deep learning model. The training set and test set refer to the model training and verification data sets divided according to the preset ratio. Specifically, it can be implemented by a time series segmented sampling strategy to ensure that the training samples cover high-dynamic scenarios and low signal-to-noise ratio environments, which is used to verify the generalization ability of the model.

[0052] The pre-trained lightweight deep learning model refers to a lightweight neural network optimized based on the MobileNetV3 architecture. This model is implemented through knowledge distillation and parameter quantization compression techniques, and is used for real-time processing of time-frequency dual-domain features on embedded platforms. Time-domain convolutional features are time-domain signal representations extracted through a dynamic adjustment strategy. These features are implemented using a short-term energy-aware adaptive switching mechanism for convolution kernels, enabling the precise capture of deceptive signal time-domain anomalies such as pseudocode jumps. Frequency-domain multi-resolution time-frequency analysis features are representations that fuse multi-scale spectral features.

[0053] A pre-trained lightweight deep learning model refers to a lightweight network (such as the MobileNet or ShuffleNet architecture) that has undergone initial parameter optimization. It is designed for efficient processing of time and frequency domain signals. The convolution operation on time domain signal data utilizes a dynamic adjustment strategy. The lightweight deep learning model uses a modified MobileNetV3 architecture. The specific network structure is as follows: input layer → 3×3 depthwise separable convolution (stride 2, ReLU6 activation) → 3 inverted residual blocks (dilation factor 6, SE attention module) → 1×3 time-domain convolution (stride 1) / 1×3 frequency-domain convolution (stride 1) → global average pooling → fully connected layer (output feature vector). The total number of model parameters is kept within 1.2M, and the floating-point operations (FLOPs) are approximately 0.3G, a reduction of over 90% compared to the traditional ResNet-18 model (11.7M parameters, 1.8G FLOPs), meeting the real-time computing requirements of mobile or embedded GNSS receivers.

[0054] like Figure 2 As shown, the bidirectional attention mechanism is used to distribute cross-domain attention weights and establish the association between time domain and frequency domain features: Specifically, the dot product attention is used to calculate the first weight matrix from time domain to frequency domain (Reflecting the degree of influence of time domain characteristics on frequency domain) and the second weight matrix from frequency domain to time domain (Reflecting the guiding role of frequency domain features on time domain), where the first weight matrix and the second weight matrix This refers to the weight distribution data generated by bidirectional attention. This can be calculated using the Softmax and Sigmoid functions, respectively, and is used to guide the direction and magnitude of feature correction. Weighted correction is the process of adjusting feature vectors based on a weight matrix. This can be achieved using a Hadamard product combined with a residual connection to enhance relevant feature components and suppress irrelevant noise.

[0055] Then use the first weight matrix Weighted correction of frequency domain vector (such as ), the second weight matrix Weighted correction of time domain vector (such as ), and finally the corrected (128 dimensions) and The 256-dimensional vectors are concatenated channel-by-channel into a 384-dimensional fused feature vector, enhancing cross-domain feature complementarity. A fused feature vector is a high-dimensional representation optimized jointly in time and space. This is achieved through vector concatenation and dimensionality compression techniques, integrating complementary discriminant information from both the time and frequency domains.

[0056] Iterative training adjustment refers to the adaptive optimization of model parameters. This can be achieved through adversarial perturbation injection and dynamic learning rate adjustment strategies to improve model stability in high-interference environments. The preset accuracy threshold is a quantitative criterion for model convergence. This can be achieved through statistical classification accuracy using a confusion matrix to ensure the required detection reliability before model deployment. The spoofing signal detection result is the final decision information output by the model. This can be achieved through a binary probability distribution combined with confidence assessment to identify the presence and type of spoofing signals in real time.

[0057] This application constructs a dynamic feature fusion mechanism for coordinated optimization of time-frequency bidirectional attention. Through the closed-loop interaction of time-domain correction constraining frequency-domain structure and frequency-domain feedback enhancing time-domain sensitivity, it solves the key problem of the traditional solution where the physical correlation between time-frequency features is broken, resulting in decreased discriminability, and significantly improves the accuracy of capturing deception signals in complex electromagnetic environments.

[0058] like Figure 3 As shown, the working process and principle of this application are as follows: first, the original GNSS signal data to be detected is obtained, and pre-processed and divided into a training set and a test set; the training set is input into the pre-trained lightweight deep learning model, and the time domain convolution features are extracted in parallel to generate the time domain feature vector T, and the frequency domain feature vector F is generated through frequency domain multi-resolution analysis; then a bidirectional attention calculation is performed to generate the first weight matrix from the time domain to the frequency domain And the second weight matrix from frequency domain to time domain ; According to the first weight matrix Perform physical correlation correction on the frequency domain eigenvectors, and use the second weight matrix The time-domain feature vector T is corrected for abnormal sensitivity; the corrected dual-domain features are spliced ​​into a fused feature vector; adversarial training and dynamic learning rate adjustment are performed based on this vector until the detection accuracy continuously meets the preset threshold; finally, the test set is used to output the deception signal classification results, forming a complete detection chain of "signal acquisition → feature decoupling → cross-domain correction → closed-loop optimization → decision output", overcoming the technical difficulties of high-precision real-time detection on lightweight equipment.

[0059] Through multi-step collaborative optimization, this method addresses the core flaws of traditional GNSS spoofing detection, such as insufficient feature extraction and weak model generalization. By performing branched processing and deep interaction between time and frequency domain signals, the lightweight model performs convolution and pooling operations on the preprocessed time and frequency domain signals (generated from the normalized and filtered raw data), generating independent time and frequency feature vectors T and F, respectively. This overcomes the limitations of traditional single-path feature extraction.

[0060] In the cross-domain attention weight allocation and fusion strategy, a bidirectional attention mechanism is used to establish a dynamic association between time-domain and frequency-domain features. Bidirectional weight matrices are calculated from the time domain to the frequency domain and vice versa. Feature vectors in both domains are corrected and then concatenated to generate a fused feature vector. This process not only achieves physical coupling of multimodal features but also strengthens the complementarity of time-frequency features through weight allocation (for example, the guiding role of transient anomalies in the time domain on the frequency domain structure).

[0061] Based on the fusion feature generative adversarial training paradigm, during the model training phase, Gaussian noise perturbations of a preset amplitude are injected into the fused feature vector to generate adversarial fusion features. The adversarial loss (which measures the classification bias of the perturbed features) is calculated and combined with the weighted sum of the original classification loss (for example, a weighted sum of 0.7:0.3 between the adversarial loss and the original classification loss) to optimize model parameters. This design, which introduces adversarial perturbations at the feature level rather than the input level, forces the model to learn robust representations against noise, significantly improving generalization in complex noisy environments.

[0062] By providing discriminative input through dynamic feature fusion, adversarial training optimizes model robustness, and iterative parameter adjustment ensures convergence efficiency (such as terminating training when the accuracy rate reaches the standard), the entire detection framework has both feature sensitivity and anti-interference capabilities, fundamentally overcoming the technical bottleneck of traditional methods that rely on fixed rules and have poor environmental adaptability.

[0063] The present application further proposes that preprocessing the raw GNSS signal data specifically includes:

[0064] Normalize the raw GNSS signal data to unify the data scale to a preset range to obtain normalized data; normalization processing includes:

[0065] Calculate the mean and variance of raw GNSS signal data;

[0066] The original GNSS signal data is linearly transformed according to the mean and variance, using the linear transformation formula Make the original GNSS signal data distribution conform to the standard normal distribution with a mean of 0 and a variance of 1;

[0067] The normalized data is subjected to frequency band filtering to retain the signal components within the predefined frequency band to obtain preprocessed data.

[0068] The preprocessing includes normalizing the original GNSS signal data, unifying the data scale to a preset range to obtain normalized data, and performing frequency band filtering on the normalized data to retain the signal components within the predefined frequency band to obtain preprocessed data. The normalized data is obtained by calculating the mean and variance of the original data and using the linear transformation formula The data is mapped to a standard normal distribution with a mean of 0 and a variance of 1, and the data scale is unified to avoid dimensional differences between features. Frequency band filtering uses a bandpass filter to retain the signal components within the effective GNSS frequency point (such as 1575.42MHz±10MHz) and filter out out-of-band noise and interference. The obtained preprocessed data is divided into training and test sets in a ratio of 7:3 or 8:2 to provide stable samples for model training.

[0069] Using standardized formula Eliminate device differences (μ is the signal mean within the sliding window, σ is the variance), introduce a dynamic sliding window mechanism, and adaptively adjust the window length based on the instantaneous signal-to-noise ratio (SNR) of the signal (a 50ms long window is used to smooth noise when SNR < 8dB, and a 10ms short window is used to preserve details when SNR ≥ 8dB), thus solving the scale distortion problem of traditional fixed windows in complex electromagnetic environments.

[0070] Band filtering refers to a frequency-domain selective enhancement operation based on electromagnetic propagation characteristics. It employs a finite impulse response (FIR) digital filter to suppress out-of-band noise. By designing a band filter with a steep transition band, only predefined signal components in the L1 band (1575.42±2MHz) and the L2 band (1227.60±2MHz) are retained, completely filtering out adjacent-frequency communication interference and thermal noise spectral components. This process improves effective signal energy concentration by approximately 18dB, providing a pure signal foundation for subsequent time-frequency analysis.

[0071] Specifically, the preprocessing system employs a pipeline architecture: First, the statistics module calculates the sliding window mean and variance (window length 1024 points) of the input signal in real time, dynamically updating μ / σ via a hardware-accelerated matrix operation unit. The linear transformation module then applies the real-time updated normalization coefficients to map the raw I / Q signals into a standardized data stream conforming to an N(0,1) distribution. Finally, the reconfigurable filter module loads a preset frequency band template and performs polyphase decomposition filtering on the normalized data, generating a band-limited signal as the preprocessed data output. Each module forms a cascaded processing chain via a dedicated data bus, ensuring stable processing latency within 5ms.

[0072] Compared with the existing technology, traditional preprocessing usually performs amplitude adjustment or frequency band selection independently, resulting in frequency domain distortion after normalization or amplitude distortion after filtering. The present application establishes a distributed calibration-band focusing collaborative mechanism: the zero-mean characteristic of the normalization module output reduces the FIR filter passband fluctuation by 62%, and the band-limiting effect of the filter eliminates the far-field noise amplification effect during the normalization process. The average signal-to-noise ratio loss of the existing step-by-step processing scheme is 4.2dB. The present application achieves a net signal-to-noise ratio gain of 3.8dB through cascade optimization design. The existing method requires separate storage of intermediate data and occupies double the memory. The present application compresses the memory usage by 40% through a pipeline pass-through architecture.

[0073] Through the above technical solutions, this application achieves a qualitative breakthrough in GNSS signal preprocessing. Normalization eliminates data distribution offsets caused by device differences, providing a stable time-domain learning foundation for the model. Frequency band filtering focuses on core signal energy, significantly improving the signal-to-noise ratio (SNR) of frequency domain features. The synergistic effect of these two methods improves the signal quality ratio (SQNR) by 5.3dB compared to traditional methods and increases feature extraction efficiency by 22%, laying a solid foundation for subsequent high-precision detection of lightweight models.

[0074] This application further proposes to generate a time domain feature vector based on the convolution feature of the time domain The specific steps include:

[0075] According to the short-time energy statistics of the time domain signal data and the preset statistical value threshold, the convolution kernel size and step size are dynamically selected to generate the time domain feature vector ;

[0076] When the short-term energy statistics exceed the preset statistics threshold, the first size convolution kernel and the second step size are used;

[0077] When the short-term energy statistics are lower than the preset statistics threshold, the second size convolution kernel and the first step length are used;

[0078] The convolution kernel of the first size is smaller than the convolution kernel of the second size, and the first step length is smaller than the second step length.

[0079] The calculation of short-term energy statistics refers to the quantitative analysis process of the local energy distribution of the signal, and the sliding window root mean square algorithm is used to realize dynamic energy evaluation. Its core is to intercept the time domain signal segment through a Hamming window of length N and calculate the mean sum of the squares of the signal amplitudes in the window. , generating a continuous indicator reflecting the instantaneous signal strength. This indicator serves as the basis for switching convolution strategies, giving the model the ability to adapt to the environment.

[0080] Among them, the convolution kernel size and step size are dynamically selected to generate the time domain feature vector This refers to an operating system that adaptively configures convolution parameters based on energy state, specifically using a hardware-reconfigurable convolution kernel group to achieve millisecond-level switching. In this embodiment, the first-size convolution kernel is a small 3×3 kernel (high-detail mode), and the second-size convolution kernel is a large 5×5 kernel (wide receptive field mode). The first step length is stride 1, and the second step length is stride 2. By configuring two processing schemes, the small 3×3 kernel (high-detail mode) and the large 5×5 kernel (wide receptive field mode), combined with a fast compression strategy of stride 2 or a fine scanning strategy of stride 1, an execution path is constructed that optimally matches signal strength and processing accuracy.

[0081] Specifically, the system establishes a dual-mode parallel processing architecture: defining the short-term energy mean within a sliding window of length N As a switching criterion, when the energy counter detects that the RMS value of the current window exceeds the -105dBm threshold, it immediately activates the 3×3 convolution kernel with a stride of 2, rapidly compressing the feature map size (down to 50%) and focusing on transient features such as pseudo-code phase transitions. When the energy drops below the threshold, it automatically switches to a 5×5 dilated convolution kernel with a dilation rate of 2 and a stride of 1, expanding the receptive field to 13×13 units and fully capturing the global code delay pattern in weak signals. The mode switching command is transmitted to the convolution engine via a dedicated control bus, leveraging preloaded kernel parameters to achieve seamless switching within 0.2ms.

[0082] Compared with the existing technology, the traditional static convolution scheme loses key features due to the small receptive field in a low signal-to-noise ratio environment, and introduces noise interference due to the excessive kernel size in a high signal-to-noise ratio. The present application establishes an energy-kernel parameter collaborative response mechanism: the fine scanning of the 3×3 kernel in the high energy state improves the accuracy of phase jump detection, and the wide-area capture of the 5×5 hole kernel in the low energy state increases the detection rate of weak signals. The average processing delay of the existing adaptive scheme is 15ms. The present application compresses the switching delay by two orders of magnitude through hardware-level reconstruction design. The feature stability variance of the existing method in multi-scenario testing is 0.24. The present application reduces the variance to 0.07 through dynamic optimization.

[0083] Through the above technical solutions, this application achieves a breakthrough in time-domain feature extraction capabilities. The energy-aware mechanism empowers the model with intelligent environmental responsiveness, and the dual-mode convolutional architecture achieves an optimal balance between accuracy and stability. Field tests have shown that this design improves feature discrimination in high-dynamic scenarios and reduces false alarm rates in high-interference environments, establishing a core feature foundation for lightweight GNSS spoofing detection systems.

[0084] This application further proposes to generate a frequency domain feature vector based on the multi-resolution time-frequency analysis feature of the frequency domain The specific steps include:

[0085] Short-time Fourier transform is used to extract global frequency domain energy distribution characteristics;

[0086] Continuous wavelet transform is used to extract instantaneous frequency features;

[0087] Empirical mode decomposition is used to extract the intrinsic mode components of the adaptive frequency band;

[0088] The global frequency domain energy distribution characteristics, instantaneous frequency characteristics and intrinsic mode components are dynamically weighted and fused to generate the frequency domain feature vector .

[0089] The global frequency-domain energy distribution feature is a spectrum energy mapping method using a fixed time window, specifically implemented using a short-time Fourier transform (STFT) coupled with a Hanning window function. By setting a 1024-point window length and a 75% overlap ratio, the row vector features of the time-frequency energy matrix E(t,f) are generated, with a frequency resolution of 15.625Hz. This accurately characterizes medium- and long-term power anomaly patterns, providing a diagnostic basis for broadband deceptive jamming.

[0090] Instantaneous frequency signatures are analyzed using a scale-adaptive wavelet transform method, specifically a continuous wavelet transform (CWT) based on the Morlet wavelet basis function. A 32-level scale parameter configuration generates the time-frequency coefficient matrix W(s,t). The high-frequency coefficients (scales 4-8) focus on millisecond-level instantaneous frequency transitions, providing a specific response to sweeping frequency spoofing attacks.

[0091] Intrinsic mode components are the result of adaptive frequency band decomposition based on the inherent oscillation characteristics of the signal, achieved through the screening process of empirical mode decomposition (EMD). By extracting the Hilbert spectrum features H_k(t) of the first three-order intrinsic mode functions (IMFs), its adaptive frequency band separation provides strong robustness against narrowband spectral distortion.

[0092] Specifically, the system establishes a parallel-fusion processing chain: the STFT outputs a 256-dimensional energy distribution vector in real time, the CWT generates a 128-dimensional instantaneous frequency feature, and the EMD extracts 128-dimensional modal component features. A dynamic weighting controller automatically assigns weights to the three channels based on the real-time signal-to-noise ratio (SNR) status (determined by the STFT spectral flatness metric). In high SNR environments, the CWT feature is assigned a decision weight of 0.6 to enhance transient detection, while in low SNR environments, the EMD weight is increased to 0.7 to enhance stability. Ultimately, this weighted fusion generates a 384-dimensional frequency-domain feature vector, which is 2.3 times more discriminative than a single-modality approach.

[0093] Compared with existing technologies, traditional single-mode spectrum analysis has significant limitations in complex interference environments: STFT's slow response to transient signals increases missed detection rates, CWT's lack of stability in broadband interference increases false alarm rates, and EMD decomposition's slow convergence in dynamic scenarios introduces latency. This application, however, improves the overall detection rate of spectral anomalies through feature complementarity, compresses processing latency through a hardware-accelerated parallel pipeline, and reduces feature stability variance to 0.05 through adaptive weight allocation.

[0094] Through the above technical solution, this application achieves a fundamental breakthrough in frequency-domain feature generation technology. The trimodal analysis framework forms a closed-loop observation system of "wideband reference - transient capture - adaptive decomposition." A dynamic weighting mechanism ensures optimal feature fusion under different electromagnetic environments. This design achieves a detection sensitivity of -138dBm for spectral distortion-based deceptive signals, establishing a core capability for the accurate identification of highly concealed deceptive attacks.

[0095] The present application further proposes that the dynamic weighted fusion processing includes:

[0096] Dynamically adjust the dynamic weighting coefficient according to the instantaneous signal-to-noise ratio of the preprocessed data and the preset signal-to-noise ratio threshold:

[0097] When the instantaneous signal-to-noise ratio is lower than the preset signal-to-noise ratio threshold, the weight coefficient of the intrinsic mode component is increased;

[0098] When the instantaneous signal-to-noise ratio is higher than a preset signal-to-noise ratio threshold, the weight coefficient of the global frequency domain energy distribution feature is increased.

[0099] Among them, instantaneous signal-to-noise ratio analysis refers to the environmental quality assessment process based on spectrum characteristics, which is specifically achieved by calculating the main lobe side lobe energy ratio. By analyzing the main absorption peak energy in the short-time Fourier transform (STFT) spectrum matrix and the average energy of the three adjacent side lobes Ratio , generating a quantitative index that reflects the quality of the electromagnetic environment in real time. This index serves as the basis for decision-making on weight allocation, giving the system the ability to intelligently respond to environmental adaptation.

[0100] The operation mechanism of the fusion strategy is adjusted in real time according to the signal-to-noise ratio status, and a nonlinear weight mapping function is used to optimize the feature contribution. By designing a weight distribution model based on the Sigmoid curve (k is the feature type), a smooth transition of feature weights is achieved within the signal-to-noise ratio threshold range to avoid the risk of feature mutation caused by hard switching.

[0101] Specifically, the system builds a closed-loop control loop. The signal-to-noise ratio analysis unit updates the instantaneous SNR value every 50ms and inputs it into the weight controller. (preset threshold), the fusion weight of the EMD component is increased to the range of 0.65±0.08 (base value 0.4), and the STFT weight is reduced to 0.2±0.05; on the contrary, when When the STFT weight is increased to 0.7±0.05, the CWT weight remains unchanged at 0.25. The weight parameters are applied to the feature vectors in real time via a hardware-accelerated matrix multiplier, completing the weighted fusion of the 384-dimensional vectors within 5ms.

[0102] Compared with existing technologies, traditional fixed-weight fusion schemes have serious drawbacks in dynamic electromagnetic environments: using an STFT-dominant strategy in low SNR scenarios reduces feature stability, and over-reliance on EMD in high SNR environments increases the rate of missed detection of transient anomalies. This application, however, builds an environment-feature response closed loop: It improves feature immunity in low SNR environments through a SNR perception mechanism; employs nonlinear weight transitions to avoid feature jumps caused by traditional step-by-step switching; and shortens environmental adaptability response speed through a real-time control loop.

[0103] According to the time domain signal data, the short-time energy statistics (such as the energy mean in the sliding window) are calculated. When the energy exceeds the preset threshold, a small 3×3 convolution kernel and a step size of 2 are selected to capture local details. When it is lower than the threshold, a large 5×5 convolution kernel and a step size of 1 are used to extract global features. The frequency domain signal data (generated by multi-resolution time-frequency analysis) undergoes the same convolution pooling operation (such as a 1×3 convolution kernel) to generate a time domain feature vector T (e.g., 128 dimensions) and a frequency domain feature vector F (e.g., 256 dimensions) respectively, realizing the preliminary extraction of multimodal features.

[0104] The lightweight deep learning model mainly adopts the MobileNetV3 lightweight framework, but for the characteristics of time-frequency signals:

[0105] (1) Time domain signal processing introduces energy-driven adaptive strategy: define the short-term energy mean in a sliding window of length N As the switching criterion. When the noise floor of a typical urban environment is high, a 3×3 standard convolution kernel with a step size of 2 is used to compress the feature map size by 50% and extract transient details such as pseudo code phase jumps. When the kernel is set to 5×5, a dilation rate of 2 is used, and its equivalent receptive field is expanded to 13×13 units to capture the global code delay characteristics in weak signals. This dynamic strategy achieves hardware acceleration by preloading the convolution kernel parameters into a lookup table (LUT), resulting in a switching latency of only 0.2ms on the ARM Cortex-A72 platform.

[0106] (2) The frequency domain branch uses a multi-source feature fusion input structure: for the same signal, the STFT spectrum (window length 1024 points, overlap rate 75%), CWT wavelet coefficients (Morlet wavelet, 32-scale decomposition) and EMD empirical mode decomposition (first three-order IMF components) are generated in parallel to form a three-channel frequency domain input matrix. Each channel is processed independently by 1×3 group convolution (Group=3), and then channel shuffle is used to promote cross-resolution feature interaction, reducing the computational complexity to 33% of the standard convolution while preserving the signal's frequency domain mutation structure and noise resistance.

[0107] (3) The number of inverted residual modules has been expanded from the standard three to five, and the structure of each module has been optimized as follows: 1×1 convolution for channel expansion (expansion factor 6) → grouped depthwise convolution (Group = 4, 3×3 kernel replacing the original single group structure) → lightweight SE attention module (compression ratio = 8, high-frequency component weighting) → 1×1 convolution for linear dimensionality reduction, combined with cross-layer residual connections to alleviate gradient vanishing. This design improves the model's feature expression capability with the same number of parameters. The measured model is compressed to 0.9M parameters / 0.22G FLOPs, and the inference latency on a Raspberry Pi 4B is reduced to 9ms.

[0108] Through the above technical solution, this application achieves a fundamental breakthrough in frequency domain feature fusion technology. The intelligent weighting mechanism enabled by environmental perception enables the system to maintain optimal feature discrimination in complex interference scenarios, and the dynamic smooth transition design ensures the continuity of the feature space. Field measurements have shown that this solution improves feature consistency in rapidly switching electromagnetic environments and maintains a high spectral anomaly detection rate under strong interference conditions, establishing core feature support for high-reliability deception detection.

[0109] This application further proposes that the iterative training process of the lightweight deep learning model based on the fused feature vector includes adversarial training, specifically including:

[0110] Add a random perturbation signal of preset amplitude to the fusion feature vector to generate adversarial fusion features;

[0111] The adversarial loss value is calculated based on the adversarial fusion feature; the adversarial loss value is calculated using the KL divergence loss function;

[0112] The model parameters of the lightweight deep learning model are jointly updated based on the calculation results of the weighted sum of the pre-stored original classification loss value and the adversarial loss value.

[0113] Among them, adversarial fusion feature generation refers to the data enhancement process of injecting controllable perturbations into the feature space, which is specifically achieved by using a uniformly distributed noise injection strategy. ( is the feature standard deviation), generating adversarial samples , the perturbation amplitude is precisely controlled within the natural fluctuation range of the feature distribution, which can effectively simulate the deception attack characteristics and avoid the risk of training divergence.

[0114] The calculation of the adversarial loss value is an evaluation mechanism for the anti-interference ability of the quantitative model, which is implemented by the Kullback-Leibler divergence function. and adversarial feature output The difference in probability distribution of : , accurately measure the degree of decision deviation caused by disturbance, and provide a directional correction basis for model optimization.

[0115] Specifically, the system builds a dual-path optimization channel: in each iterative training, the 192-dimensional fused feature vector output by the feature fusion layer is simultaneously input to the two processing branches. The main branch performs the standard classification task to generate the original loss ; The adversarial branch is generated by the noise injection module And calculate the adversarial loss The dual-path loss is weighted fused with a ratio of 0.8:0.2 ( ), all convolutional and attention layer parameters are jointly updated via gradient backpropagation. This mechanism allows the model to maintain normal classification accuracy while proactively avoiding high-perturbation-sensitive areas at the decision boundary.

[0116] Compared with existing technologies, traditional adversarial training has fundamental flaws. Perturbations at the input layer lead to reduced feature learning efficiency, and a single loss function cannot balance the contradiction between accuracy and robustness. However, this application establishes a closed loop of feature space defense, reducing the success rate of adversarial attacks through feature layer perturbations. The KL divergence metric reduces the model's sensitivity to perturbations by three orders of magnitude. A dual-loss weighting mechanism addresses the accuracy-robustness trade-off, reducing the misclassification rate of adversarial examples while maintaining high basic accuracy.

[0117] Through the above technical solutions, this application achieves a fundamental breakthrough in model robustness training. Feature space perturbations simulate real-world attack patterns, KL divergence optimization guides decision boundary reconstruction, and a dual-loss joint mechanism achieves a balance between accuracy and security. This design enables the model to maintain high detection accuracy in highly adversarial environments, building core defense capabilities for high-security GNSS protection systems.

[0118] This application further proposes that iterative training and adjustment of the lightweight deep learning model based on the fused feature vector specifically include:

[0119] In each iterative training, the learning rate of the lightweight deep learning model is dynamically adjusted according to the classification loss value of the fused feature vector;

[0120] When the classification loss value does not decrease for N consecutive iterations, the learning rate is decayed to a preset percentage.

[0121] Loss convergence trajectory analysis refers to the training state diagnosis process based on time series changes, which is implemented using the exponentially weighted moving average algorithm. By calculating the loss change rate for k consecutive iterations and its standard deviation , generating quantitative indicators that characterize the stability of the optimization process and providing a decision basis for learning rate control. The control core that adaptively adjusts the parameter update intensity according to the convergence state is implemented by a composite strategy of cosine annealing and valley detection. By designing the state response function , where the attenuation coefficient The sum count n is updated by the convergence stall event, achieving an accurate balance between the learning rate in the exploration and convergence phases.

[0122] Specifically, when the monitoring module detects that the loss value has decreased by less than 0.05% (stagnation threshold) for three consecutive iterations, it triggers a first-level response to decay the learning rate to 60% of the original value; if the loss standard deviation is >0.01 (the oscillation threshold), the secondary response is attenuated to 30%. In the final, late training phase (t>0.7T), the tertiary response is activated, and fine-tuning of the cosine annealing strategy is enabled. The optimizer reload module injects the new learning rate parameter before backpropagation, completing the full network update within 10ms.

[0123] Compared with existing technologies, traditional learning rate schemes have a fixed decay strategy, which inhibits model exploration capabilities in the early stages, leads to precision loss due to insufficient optimization in the later stages, and lags in the response of manual adjustment mechanisms. This application, however, constructs a loss-learning rate co-evolutionary system that improves optimization efficiency through real-time convergence diagnosis, uses a composite decay algorithm to reduce the variance of the final model's accuracy, and avoids wasted computing resources through real-time parameter injection.

[0124] Through the above technical solutions, this application achieves a fundamental transformation of the model training paradigm. Convergence-aware intelligent control enables the model to automatically switch exploration strategies at key optimization points, and the three-level decay mechanism forms a complete control closed loop of "early warning-intervention-fine tuning."

[0125] This application further proposes that the specific steps of inputting the test set into the trained lightweight deep learning model and outputting the spoofing signal detection results are as follows:

[0126] The test set is input into the trained lightweight deep learning model to obtain the deceptive signal existence label and deceptive signal type label;

[0127] The deceptive signal existence label is a binary classification result, and the deceptive signal type label includes at least one of power deception, Doppler shift deception, and code delay deception;

[0128] A confidence evaluation is performed on the deception signal existence label and the deception signal type label, and the detection result with a confidence value greater than a preset confidence threshold is output as the deception signal detection result.

[0129] Among them, the deceptive signal detection result refers to the model's classification output of the test data: the existence label is a binary classification result ("is a deceptive signal" or "no"), and the type label includes specific attack types such as power deception (abnormal signal strength), Doppler frequency shift deception (pseudorange rate deviation), and code delay deception (pseudocode phase offset); the confidence assessment uses the softmax function to calculate the probability value of each label (range 0-1), and only outputs high-confidence results with a probability greater than 0.8 to ensure detection reliability.

[0130] Confidence assessment refers to the quantitative verification process of the credibility of the decision, which specifically adopts the composite analysis method of probability fusion and decision consistency. and type classification probability Joint credibility , and according to the preset rules (when C<0.85 or When the entropy value H>1.2, the check is activated and the result credibility filtering is performed.

[0131] Specifically, the system establishes a three-level output pipeline: First, the test set samples are inferred by the lightweight model to generate a preliminary result vector ; Then the credibility evaluation module calculates the joint confidence C, and directly outputs the final result when C\geq0.9; This triggers inter-class mutual exclusivity verification (for example, forcing the type tag to be empty if the existence is "normal"). Ultimately, only those that pass verification are output to the application layer. The entire process takes less than 8ms on the Raspberry Pi platform, achieving highly reliable real-time response at the edge.

[0132] Compared with existing technologies, traditional detection output schemes have serious flaws: a single probability threshold leads to increased misjudgments of low-entropy values, a high rate of conflict between type labels and existence logic, and an increased false alarm rate in strong interference scenarios without a verification mechanism. This application, however, establishes a dual closed-loop decision-making and confidence guarantee, improving result reliability through a joint confidence design, eliminating logically contradictory events through inter-class mutual exclusion rules, and improving the filtering rate of suspicious results through a three-level output pipeline.

[0133] Through the above technical solutions, this application achieves a fundamental innovation in the detection result output mechanism. The multi-level verification architecture builds a confidence barrier while ensuring real-time performance. Logically self-consistent rules ensure that the output results are interpretable, reducing the false alarm rate in high-value scenarios and improving the accuracy of attack type identification, providing decision-level security assurance for critical infrastructure GNSS protection.

[0134] This application further proposes that after the test set is input into the trained lightweight deep learning model and the deception signal detection result is output, the following is also included:

[0135] Performing spoofing signal source tracing analysis on the spoofing signal detection results, and extracting the spoofing signal detection results as the spoofing signal time-frequency domain feature vectors;

[0136] The time-frequency domain feature vector of the deception signal is matched with the pre-stored deception signal feature library for similarity; the deception signal feature library is constructed by the feature vectors of historical attack samples;

[0137] When the similarity exceeds the preset similarity threshold, the time-frequency domain feature vector of the deceptive signal is determined to belong to a known attack type, and the corresponding attack source identification code is associated and output to generate the traceability analysis result.

[0138] Among them, deception signal source tracing analysis refers to the attack source identification process based on feature fingerprints, which is implemented by a collaborative algorithm of time-frequency feature fractal coding and similarity measurement. By extracting the 128-dimensional time domain feature vector T and the 256-dimensional frequency domain feature vector F of the positive detection result, a 384-dimensional time-frequency feature fingerprint is constructed. , as the core carrier of the unique representation of aggressive behavior.

[0139] Feature similarity matching refers to a decision-making mechanism that quantifies the correlation between current attacks and historical threats, which is implemented using a composite algorithm of improved cosine similarity and dynamic time warping. With the feature library The spatiotemporal similarity of , accurately capture the correlation rules between attack features in time dynamics and spectrum distribution.

[0140] Specifically, the system deploys a triple analysis architecture: the first-level feature fingerprint generation module separates T and F from the detection results, and constructs a standardized feature fingerprint after principal component dimensionality reduction (384→192 dimensions); the second-level distributed similarity calculation engine scans the pre-stored attack feature library (containing ≥1000 historical attack samples) and uses KD tree indexing to achieve millisecond-level retrieval of hundreds of millions of feature vectors; the third-level traceability judgment module applies a double-layer threshold (S≥0.92 for strong correlation, 0.85≤S<0.92 for suspected correlation) to generate a triple traceability report containing the attack source type, transmission frequency band, and spatiotemporal fingerprint pattern, such as [GPS-L1, power spoofing, FD89A2].

[0141] Compared with existing technologies, traditional traceability solutions have fundamental flaws. Single-domain feature matching leads to high false association rates, static similarity metrics cannot identify variant attack patterns, and traceability accuracy is low without a signature library architecture. This solution builds a collaborative system of time-frequency dual fingerprinting, dynamic similarity, and distributed retrieval. This system improves the accuracy of attack uniqueness representation through joint time-frequency encoding, while a composite similarity algorithm improves the recognition rate of variant attacks. A distributed engine reduces the latency of searching a signature library of tens of millions of samples to 15ms.

[0142] Through the above technical solutions, this application uses time-frequency fingerprints to construct the attack "DNA," a dynamic similarity model to overcome the bottleneck of variant detection, and a three-layer analysis architecture to ensure efficient and accurate tracing. This design reduces the misidentification rate of attack sources, improves tracing accuracy, and provides high-value threat intelligence for active defense systems.

[0143] like Figure 4 As shown, the present application further proposes that after outputting the corresponding attack source identification code to generate the traceability analysis result, a dynamic defense instruction is generated according to the traceability analysis result;

[0144] Determine whether the dynamic defense instruction is a known attack type;

[0145] When it is determined to be a known attack type, the pre-stored countermeasure strategy library is called and a frequency hopping instruction is sent;

[0146] When it is determined to be an unknown attack type, the lightweight deep learning model is triggered for incremental training, and the time-frequency domain feature vector of the current deception signal is added to the training set to perform incremental updates on the lightweight deep learning model.

[0147] The updated model parameters are automatically deployed to the online detection system, and the new attack feature vectors are included in the deception signal feature library.

[0148] Dynamic defense command generation refers to the process of making defense strategy decisions based on attack source characteristics, implemented using a combined rule engine and pattern matching algorithm. By comparing the attack signature fingerprint obtained through source tracing analysis with the Hamming distance of the threat signature library, the defense command set for the preset protection level (levels 1-3) is automatically triggered, achieving a precise match between protection strength and attack threat severity.

[0149] Judging whether a dynamic defense instruction is a known attack type refers to the cognitive state discrimination process of the attack characteristics, which is specifically achieved by the collaborative method of similarity threshold and cluster analysis. ,when When ≤0.25, it is determined to be a known attack type and the corresponding plan is called. When the value is >0.6, the incremental learning mechanism is activated to construct new attack categories.

[0150] Specifically, the system deploys a dual response pathway: 1) The known attack response pathway obtains defense parameters from a policy mapping table and sends frequency hopping instructions (with a ±2.5MHz hopping range) to the GNSS receiver within 1ms. This hopping range also applies dual-domain time-frequency filtering to suppress attack signals. 2) The unknown attack pathway initiates an incremental learning process, adding the fused feature vector of the current attack to the training set after noise enhancement. Dynamic retraining of the lightweight model is performed (learning rate 0.001, maximum iterations 50). The updated model is automatically deployed after verification on the test set. The dual pathways achieve parallel processing through a hardware priority arbiter, completing the closed loop from defense decision-making to execution within 100ms.

[0151] This application builds a defense-evolution dual-loop system, which improves the success rate of intercepting known attacks through a feature matching mechanism, improves the response speed of unknown attacks through an incremental learning channel, and compresses the execution delay of key defense instructions through dynamic priority arbitration.

[0152] Through the above technical solutions, this application achieves accurate threat identification through an intelligent decision engine, overcomes the challenge of coordinating known and unknown attacks through a dual-path response architecture, and empowers the system with continuous evolution through a closed-loop update mechanism. This design reduces the preparation time for defending against new attacks from hours to seconds, improves the interception rate of known attacks, and establishes a dynamic immune defense line for highly adversarial GNSS environments.

[0153] The following is a complete implementation based on this application:

[0154] At the GNSS monitoring station at the Urban Traffic Management Center, the real-time positioning data of an emergency command vehicle suddenly exhibited abnormal drift. The command center technicians immediately activated the real-time detection system deployed in this solution, ensuring positioning security through the following complete implementation process:

[0155] Step 1: Signal acquisition and preprocessing

[0156] The data acquisition module installed at the front end of the vehicle-mounted GNSS receiver continuously captures the raw RF signals in the L1 / L2 frequency bands. The signal processing unit first performs real-time normalization: calculating the mean and variance of the signal within the window, and converting the signal amplitude distribution to a standard normal distribution through linear transformation to eliminate the influence of receiver gain differences. A programmable FIR filter bank is then used to perform frequency band cleanup on the normalized data, accurately retaining the main lobe energy of the navigation signal at 1575.42MHz±2MHz, effectively suppressing broadband interference from adjacent 4G base stations. The preprocessed signal is divided into 256-millisecond sample segments, and the training and test sets are constructed in a 7:3 ratio.

[0157] Step 2: Time-frequency dual-domain feature extraction

[0158] The training set data is input into the optimized MobileNetV3 lightweight model:

[0159] Time Domain Channel: Dynamically selects a convolution strategy based on real-time calculated short-term energy statistics (RMS). When a low-energy state caused by a brief loss of satellite signal in a tunnel is detected, a 5×5 dilated convolution kernel with a stride of 1 is automatically activated, significantly expanding the receptive field to capture weak signal features. When the vehicle exits the tunnel and enters the open road, the system switches to a 3×3 smaller kernel with a stride of 2 to sensitively capture transient anomalies such as pseudocode jumps.

[0160] Frequency Domain Channel: Parallel execution of three layers of spectrum analysis: STFT analyzes global energy distribution, CWT tracks instantaneous frequency variations of sweeping frequency attacks, and EMD decomposition combats noise and extracts intrinsic modes. Based on the current electromagnetic environment (e.g., multipath interference intensity under overpasses), the system dynamically weights and fuses these three features: STFT increases sensitivity when the signal is pure, while EMD enhances stability in strong interference environments.

[0161] Step 3: Cross-domain feature fusion and training

[0162] The time domain feature vector T and frequency domain feature vector F of the dual-channel output deeply interact through the bidirectional attention mechanism:

[0163] The time domain vector T generates the weight matrix W1 to guide the reconstruction of frequency domain features: when a pseudo code phase anomaly is detected, the weight of the energy distribution of the corresponding frequency band is enhanced;

[0164] The frequency domain vector F generates the weight matrix W2 to modify the time domain characteristics: when the spectrum shows signs of Doppler attack, focus on the relevant time domain interval analysis;

[0165] The corrected T' and F' are concatenated into a fused feature vector and input into the model optimization phase: uniformly distributed noise is injected to generate adversarial samples, and the model robustness is evaluated using the KL divergence loss. When the training loss continuously stagnates, the learning rate dynamic decay mechanism is triggered, and parameter reloading is completed within 10 milliseconds on the embedded GPU platform.

[0166] Step 4: Real-time detection and prevention

[0167] The trained model outputs a two-level decision for the test set:

[0168] Existence determination: Identify whether the current signal is interfered with by deception;

[0169] Attack type diagnosis: Accurately distinguish between power suppression, Doppler shift, or code phase tampering.

[0170] The command center's large screen displays real-time alerts from three vehicles under attack: the system directly labels the Doppler attack under the overpass (92% confidence) with the attack source ID: GPS-L1_DOP02; and initiates an emergency response to the unknown attack pattern at the tunnel entrance (78% confidence):

[0171] A frequency hopping command is immediately issued to switch the attacked receiver to the backup frequency band. Attack features are simultaneously collected to start incremental training. The model update is completed after 20 seconds. The new model successfully identifies the new code phase attack and updates the feature library, providing immune protection for subsequent vehicles.

[0172] This implementation case shows that this application builds a highly reliable GNSS protection system through three innovative levels: multi-dimensional perception → intelligent analysis → dynamic defense. Through the collaborative design of time-domain dynamic convolution and frequency-domain weighted fusion, the system maintains stable perception in complex urban electromagnetic environments. The dynamic strategy switching mechanism can flexibly respond to special scenarios such as weak signals in tunnels and elevated multipath interference. The two-way attention weight distribution breaks through the limitations of time-frequency feature split analysis. The system realizes holographic analysis of highly simulated attacks through the physical correlation constraints of T→F' and the abnormal sensitivity enhancement of F→T'. The integrated process from real-time detection, confidence verification to traceability response supports the ability to handle unknown threats in seconds. The incremental learning mechanism gives the system the characteristics of continuous evolution, building a dynamic immune network in continuous confrontation.

[0173] The technical scope of the present invention is not limited to the contents of the above description. Those skilled in the art can make various deformations and modifications to the above embodiments without departing from the technical idea of ​​the present invention, and these deformations and modifications should all fall within the protection scope of the present invention.

Claims

1. A GNSS spoofing signal detection method based on a deep learning model integrating time-frequency domain features, characterized by: The following steps are involved: Obtaining the raw GNSS signal data to be detected; Preprocessing the original GNSS signal data to obtain a training set and a test set; The training set is input into the pre-trained lightweight deep learning model to extract: Generate time domain feature vector based on time domain convolution feature ; Generate frequency domain feature vector based on multi-resolution time-frequency analysis features in frequency domain ; For the time domain feature vector With the frequency domain eigenvector Perform bidirectional attention calculation to generate the first weight matrix from time domain to frequency domain And the second weight matrix from frequency domain to time domain ; According to the first weight matrix For the frequency domain eigenvector Perform weighted correction to obtain the corrected frequency domain eigenvector ; According to the second weight matrix For the time domain feature vector Perform weighted correction to obtain the corrected time domain eigenvector ; The modified time domain feature vector With the modified frequency domain eigenvector Perform splicing to generate a fusion feature vector; Iteratively train and adjust the lightweight deep learning model based on the fused feature vector and calculate the signal detection accuracy, and when the signal detection accuracy output by the lightweight deep learning model meets a preset accuracy threshold, output the trained lightweight deep learning model; The test set is input into the trained lightweight deep learning model, and a deception signal detection result is output.

2. The GNSS spoofing signal detection method based on a time-frequency domain feature fusion deep learning model according to claim 1 is characterized by: Preprocessing the raw GNSS signal data specifically includes: Normalizing the raw GNSS signal data to unify the data scale to a preset range to obtain normalized data; the normalization processing includes: Calculating the mean and variance of the raw GNSS signal data; The original GNSS signal data is linearly transformed according to the mean and the variance, using the linear transformation formula The raw GNSS signal data is distributed in accordance with a standard normal distribution with a mean of 0 and a variance of 1; Frequency band filtering is performed on the normalized data to retain signal components within a predefined frequency band to obtain preprocessed data.

3. The GNSS spoofing signal detection method based on a time-frequency domain feature fusion deep learning model according to claim 1 is characterized by: The convolution feature based on the time domain generates a time domain feature vector The specific steps include: According to the short-time energy statistics of the time domain signal data and the preset statistics threshold, the convolution kernel size and step size are dynamically selected to generate the time domain feature vector ; When the short-time energy statistical value exceeds the preset statistical value threshold, using a first size convolution kernel and a second step size; When the short-time energy statistical value is lower than the preset statistical value threshold, using a second-size convolution kernel and a first step length; The first-size convolution kernel is smaller than the second-size convolution kernel, and the first step length is smaller than the second step length.

4. The GNSS spoofing signal detection method based on a time-frequency domain feature fusion deep learning model according to claim 1 is characterized in that: Generate frequency domain feature vector based on multi-resolution time-frequency analysis features in frequency domain The specific steps include: Short-time Fourier transform is used to extract global frequency domain energy distribution characteristics; Continuous wavelet transform is used to extract instantaneous frequency features; Empirical mode decomposition is used to extract the intrinsic mode components of the adaptive frequency band; The global frequency domain energy distribution feature, the instantaneous frequency feature and the intrinsic mode component are dynamically weighted and fused to generate the frequency domain feature vector .

5. The GNSS spoofing signal detection method based on a time-frequency domain feature fusion deep learning model according to claim 4 is characterized in that: The dynamic weighted fusion process includes: Dynamically adjust the dynamic weighting coefficient according to the instantaneous signal-to-noise ratio of the preprocessed data and a preset signal-to-noise ratio threshold: When the instantaneous signal-to-noise ratio is lower than the preset signal-to-noise ratio threshold, increasing the weight coefficient of the intrinsic mode component; When the instantaneous signal-to-noise ratio is higher than the preset signal-to-noise ratio threshold, the weight coefficient of the global frequency domain energy distribution feature is increased.

6. The GNSS spoofing signal detection method based on a time-frequency domain feature fusion deep learning model according to claim 1 is characterized in that: The iterative training of the lightweight deep learning model based on the fused feature vector includes adversarial training, specifically including: Adding a random perturbation signal of a preset amplitude to the fused feature vector to generate an adversarial fusion feature; Calculating an adversarial loss value based on the adversarial fusion feature; the adversarial loss value is calculated using a KL divergence loss function; According to the calculation result of the weighted sum of the pre-stored original classification loss value and the adversarial loss value, the model parameters of the lightweight deep learning model are jointly updated.

7. The GNSS spoofing signal detection method based on a time-frequency domain feature fusion deep learning model according to claim 1 is characterized in that: The iterative training adjustment of the lightweight deep learning model based on the fused feature vector specifically includes: In each iterative training, dynamically adjusting the learning rate of the lightweight deep learning model according to the classification loss value of the fused feature vector; When the classification loss value does not decrease after N consecutive iterations, the learning rate is decayed to a preset percentage.

8. The GNSS spoofing signal detection method based on a time-frequency domain feature fusion deep learning model according to claim 1, characterized in that: The specific steps of inputting the test set into the trained lightweight deep learning model and outputting the spoofing signal detection result are as follows: Inputting the test set into the trained lightweight deep learning model to obtain a deceptive signal existence label and a deceptive signal type label; The deceptive signal existence label is a binary classification result, and the deceptive signal type label includes at least one of power deception, Doppler shift deception, and code delay deception; A confidence evaluation is performed on the spoofing signal existence label and the spoofing signal type label, and a detection result having a confidence value greater than a preset confidence threshold is output as the spoofing signal detection result.

9. The GNSS spoofing signal detection method based on a time-frequency domain feature fusion deep learning model according to claim 1, characterized in that: After inputting the test set into the trained lightweight deep learning model and outputting the spoofing signal detection result, the method further includes: performing a spoofing signal source tracing analysis on the spoofing signal detection result, and extracting the spoofing signal detection result as a spoofing signal time-frequency domain feature vector; Performing similarity matching between the time-frequency domain feature vector of the spoofing signal and a pre-stored spoofing signal feature library; the spoofing signal feature library is constructed from feature vectors of historical attack samples; When the similarity exceeds a preset similarity threshold, the time-frequency domain feature vector of the spoofing signal is determined to belong to a known attack type, and the corresponding attack source identification code is associated and output to generate a traceability analysis result.

10. The GNSS spoofing signal detection method based on a time-frequency domain feature fusion deep learning model according to claim 9, characterized in that: After outputting the corresponding attack source identification code to generate a tracing analysis result, generating a dynamic defense instruction according to the tracing analysis result; Determining whether the dynamic defense instruction is a known attack type; When it is determined to be the known attack type, the pre-stored countermeasure strategy library is called and a frequency hopping instruction is sent; When it is determined to be an unknown attack type, the lightweight deep learning model is triggered to perform incremental training, and the time-frequency domain feature vector of the current deception signal is added to the training set to perform incremental update on the lightweight deep learning model.

Citation Information

Cited By

  • Model antagonism sample online detection method and system for AI anti-fraud platform

    CN120856484A

  • Model adversarial sample online detection method and system for ai anti-fraud platform

    CN120856484B

  • AMC sensor array spatial feature recognition and leakage point detection method based on deep learning

    CN120951145A

  • Lightweight depth receiver construction method and system, receiver, equipment and medium

    CN121356630A

  • Anti-attack method fusing frequency domain information and dynamic gradient smoothing

    CN121544987A