A method for detecting GNSS spoofing in wide area based on AIS data of ships

By performing differential feature encoding and multi-scale detection on AIS data, a variational autoencoder network is constructed, which solves the problems of low efficiency and high model complexity in wide-area GNSS deception detection, and achieves efficient and highly adaptable GNSS deception detection.

CN117764141BActive Publication Date: 2026-11-27SHANGHAI JIAOTONG UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311801367.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-25
Publication Date
2026-11-27
Estimated Expiration
2043-12-25

AI Technical Summary

Technical Problem

Existing methods for detecting wide-area GNSS spoofing of ship AIS data face problems such as low detection efficiency, the need for manual data labeling, inapplicability to different regions, and high model training complexity and cost.

Method used

By setting monitoring areas and time windows, AIS data is preprocessed and grouped. A variational autoencoder-decoder network with a multidimensional convolutional structure is used to construct small-scale and large-scale deception detection models. Detection is performed by combining differential feature sequences. Semi-supervised training is adopted to reduce the dimensionality of the feature sequences and realize a multi-scale detection process.

Benefits of technology

It effectively reduces computational complexity, improves detection efficiency, can be applied in different regions, reduces the need for manually labeled data, quickly locates abnormal areas and vessels, and improves the accuracy of wide-area GNSS spoofing detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117764141B_ABST
    Figure CN117764141B_ABST
Patent Text Reader

Abstract

The application relates to a wide-area GNSS spoofing detection method based on ship AIS data, and the method comprises the following steps: S1, setting a monitoring area and a monitoring time window; S2, preprocessing and grouping to obtain multiple groups of AIS data; S3, performing differential calculation and dimension reduction coding to obtain actual small-scale feature sequences and actual large-scale feature sequences; S4, training a spoofing detection model; S5, inputting the actual large-scale feature sequences into the large-scale spoofing detection model, if no abnormal label exists in the detection result, S7 is executed, otherwise, S6 is executed; S6, the small-scale spoofing detection model outputs a small-scale detection result, if no abnormal label exists, S7 is executed, otherwise, the corresponding coordinates are recorded, and then S7 is executed; and S7, updating the monitoring area and the monitoring time window, and returning to S2. Compared with the prior art, the application has the advantages of reducing the complexity and training cost of the marine spoofing source detection model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the technical field of ship deception source detection, and in particular to a wide-area GNSS deception detection method based on ship AIS data. Background Technology

[0002] Currently, an increasing number of industries are demonstrating a high degree of dependence on Global Navigation Satellite Systems (GNSS), such as ships sailing on rivers and oceans. Simultaneously, GNSS security has become a growing concern. One of the greatest threats to GNSS comes from illegal spoofing sources, which forge GNSS signals, causing jammed receivers to mistakenly interpret them as genuine satellite signals and calculate incorrect position, velocity, or time information. When GNSS spoofing sources occur over vast maritime areas, jammed ships are even less likely to detect them. The stealth and harmfulness of GNSS spoofing sources pose a serious challenge to navigation and territorial waters security in international waters. How to detect spoofing sources over wide areas through maritime situational awareness is a pressing problem that needs to be solved.

[0003] Currently, investigations into GNSS spoofing incidents at sea typically reveal anomalies reported by crew members to their Automatic Identification System (AIS). AIS is an automatic tracking system installed on ships to exchange electronic data with neighboring vessels, AIS shore stations, and satellites. It provides information such as the ship's real-time position and navigation status, helping to reduce the risk of collisions and improve navigational safety. However, the proper functioning of AIS relies on GNSS reception; therefore, extracting, detecting, and analyzing GNSS spoofing source information from the spatiotemporal big data of AIS data is crucial. In general, GNSS spoofing incidents pose a significant threat to shipping safety, and the analysis and monitoring of AIS data is an important means of addressing this threat. By effectively extracting, detecting, and analyzing GNSS spoofing source information from massive amounts of data, we can better understand and combat this threat, thereby improving shipping safety.

[0004] Research on maritime vessel motion behavior based on AIS spatiotemporal data primarily focuses on anomaly detection and vessel trajectory identification. Anomaly detection analyzes individual vessels and their trajectories, mainly monitoring data such as navigation routes, speeds, and headings. Anomalies in AIS trajectories refer to behaviors unlikely to occur under normal circumstances. For example, vessels typically do not exhibit drastic speed changes or deviations from their regular routes. These anomalies may indicate potential problems or hazards, thus requiring monitoring and identification.

[0005] Trajectory anomaly analysis methods primarily employ machine learning techniques, including neural networks and clustering. These methods treat individual vessels as tracking and monitoring targets, focusing on trajectory deviations within specific areas as anomalous features, and typically require a large amount of normal and anomalous labeled data for training the underlying model. However, these commonalities can lead to a series of practical application problems when monitoring GNSS deception sources over a wide area. For example, vessels affected by GNSS deception may exhibit trajectory anomalies, but not all trajectory anomalies are caused by GNSS deception sources, potentially resulting in a high false alarm rate for GNSS deception detection. Furthermore, the computational efficiency of trajectory monitoring for individual vessels in wide-area detection may not meet the requirements. Due to the scarcity of anomalous vessel data in reality and the large workload of manual labeling, supervised model training becomes difficult. Finally, detection methods specific to a particular area require retraining before they can be applied to other areas.

[0006] In summary, existing methods for detecting wide-area GNSS spoofing of ship AIS data are inefficient in wide-area detection, require manual data labeling, are not applicable to different regions, and have high complexity and cost in model training. Summary of the Invention

[0007] The purpose of this invention is to provide a wide-area GNSS deception detection method based on ship AIS data in order to reduce the complexity and training cost of marine deception source detection models.

[0008] The objective of this invention can be achieved through the following technical solutions:

[0009] A wide-area GNSS spoofing detection method based on ship AIS data, the method includes:

[0010] S1. Set the monitoring area and monitoring time window;

[0011] S2. Preprocess and group the AIS data within the monitoring area and monitoring time window to obtain multiple sets of AIS data. Each set of AIS data consists of the time-series multivariate data of one ship. The set of AIS data for the nth ship is as follows:

[0012] Ship n {[time1,lat1,lon1,speed1],……,[time M ,lat M ,lon M speed M ]}

[0013] Where M is the epoch of a set of AIS data for the nth vessel, time represents the timestamp, lat represents the latitude, lon represents the longitude, and speed represents the speed.

[0014] The grouping rules are as follows: AIS data of different ships are divided into different groups, and data of the same ship are divided into different groups based on the update time interval;

[0015] S3. Rasterize the monitoring area into a grid, and convert the latitude and longitude of the multiple sets of AIS data obtained in S2 into grid numbers. For each set of AIS data consisting of M epochs, that is, M time-series multivariate data of the same ship, perform differential calculation on the northward distance corresponding to latitude, the eastward distance corresponding to longitude, and the speed in each set of AIS data, and perform dimensionality reduction coding to obtain the actual small-scale feature sequence. Sample the maximum value of the small-scale feature sequence to obtain the actual large-scale feature sequence.

[0016] S4. Set up a variational autoencoder-decoder network based on a multidimensional convolutional structure. Input the small-scale feature sequence without deception and the large-scale feature sequence without deception into the two variational autoencoder-decoder networks respectively, and train them to obtain the small-scale deception detection model and the large-scale deception detection model.

[0017] S5. Input the actual large-scale feature sequence into the large-scale deception detection model. The large-scale deception detection model outputs the large-scale detection result. If there is no abnormal label in the detection result, execute S7; otherwise, execute S6.

[0018] S6. Input the actual small-scale feature sequence corresponding to the abnormal label into the small-scale deception detection model. The small-scale deception detection model outputs the small-scale detection result. If there is no abnormal label in the small-scale detection result, execute S7. Otherwise, record the corresponding coordinates, the ship corresponding to the coordinates, and the interference range of the deception source, and then execute S7.

[0019] S7. Update the monitoring area and monitoring time window, then return to S2.

[0020] Furthermore, the specific steps of S3 are as follows:

[0021] The monitoring area of ​​Zkm x Zkm is rasterized into a YxY grid. The latitude (lat) and longitude (lon) in multiple sets of AIS data are converted into the north index (numN) and east index (numE) of the grid. Therefore, a set of AIS data is converted into:

[0022] {[time1,numN1,numE1,speed1],……,[time M ,numN M ,numE M speed M ]}

[0023] For the m-th epoch of a set of AIS data, calculate the difference between the northward distance corresponding to latitude, the eastward distance corresponding to longitude, and the speed. Fill the grid where the difference is located in the m-1 epoch with the result of the difference. Repeat the above steps until all epochs in the AIS data are traversed. Repeat the above steps again until all sets of AIS data are traversed.

[0024] Dimensionality reduction is performed by summing and averaging, and the unfilled parts of the grid are filled.

[0025] 3D feature data is obtained based on the filled grid, and the 3D feature data is an actual small-scale feature sequence;

[0026] The grid is divided into cells, and the maximum value of the 3D feature data in each cell is taken. The maximum values ​​in all cells are then integrated to obtain the actual large-scale feature sequence.

[0027] Further differential results specifically include differential results for northward distance, differential results for eastward distance, and differential results for speed, among which:

[0028] The difference ΔN of the northward distance at the (m-1)th epoch m-1 Specifically, calculate the difference between the northward distance at the m-th epoch and the northward distances at the (m-1)-th and (m-2)-th epochs, and then square the sum of these two differences to obtain ΔN. m-1 ;

[0029] The difference ΔE of the eastward distance at the (m-1)th epoch m-1 Specifically, calculate the difference between the eastward distance at the m-th epoch and the eastward distances at the (m-1)-th and (m-2)-th epochs, and then square the sum of these two differences to obtain ΔE. m-1 ;

[0030] The speed difference ΔS at the (m-1)th epoch m-1 Specifically, calculate the difference between the speed at the m-th epoch and the speeds at the (m-1)-th and (m-2)-th epochs, and then square the sum of these two differences to obtain ΔS. m-1 .

[0031] Furthermore, the actual small-scale feature sequence includes regional latitude features, regional longitude features, and regional airspeed features, among which:

[0032] The latitudinal characteristics of the regions with numbers numN and numE are ΔN for all epochs of all ships appearing in region ne. m The sum is then divided by the total number of epochs, which represents the sum of all AIS data for all ships.

[0033] The longitude characteristic of the region with number numN = n and numE = e is the ΔE of all epochs for all ships appearing in the ne region. m The sum of the epochs is then divided by the total number of epochs.

[0034] The speed characteristic of the region with number numN=n and numE=e is the ΔS of all ships appearing in region ne for all epochs. m The sum of the epochs is then divided by the total number of epochs.

[0035] Assuming continuous monitoring of the same monitoring area for T hours, the dimension of the actual small-scale feature sequence obtained is Y×Y×3×T, representing the grid number ne of Y×Y, the compressed and filled 3D feature data, and the time window sliding T times.

[0036] Furthermore, the specific steps for dividing the grid into cells, taking the maximum value of the 3D feature data within each cell, and integrating the maximum values ​​from all cells to obtain the actual large-scale feature sequence are as follows:

[0037] The grid is divided into regions of [Y / 10]×[Y / 10], which are treated as cells. The maximum value of the 3D feature data in each cell is taken and used as the actual large-scale feature sequence of that cell. The dimension of the actual large-scale feature sequence is [Y / 10]×[Y / 10]×3×T.

[0038] Furthermore, the training process for the small-scale deception detection model and the large-scale deception detection model is as follows:

[0039] A small-scale feature sequence and a large-scale feature sequence without deception are obtained. The small-scale feature sequence without deception is input into a variational autoencoder network. After passing through two branches, a one-dimensional convolutional module and a two-dimensional convolutional module, compressed features are obtained from the two branches. The two compressed features are concatenated and dimensionality is reduced by a convolutional layer. The mean parameter (Mean) and the log-standard deviation (LogStd) are calculated. Based on the calculated mean parameter and log-standard deviation, reparameterization is performed to obtain latent variables. The latent variables are input into a decoder network. The decoder network and the encoder network have symmetrical structures. The reconstructed features are output and iteratively trained to obtain a small-scale deception detection model and a large-scale deception detection model.

[0040] Furthermore, the same steps as S1 to S3 are used in obtaining the small-scale feature sequences and large-scale feature sequences that do not involve deception. There are no deception sources in the monitoring area and monitoring time window where the AIS data corresponding to the small-scale feature sequences and large-scale feature sequences that do not involve deception are located.

[0041] Furthermore, the specific steps for inputting the actual large-scale feature sequence into the large-scale deception detection model and for the model to output the large-scale detection result are as follows:

[0042] The actual large-scale feature sequence is input into the large-scale deception detection model to obtain the reconstruction probability corresponding to the reconstructed feature. The reconstruction probability is used as the anomaly score. Based on the anomaly score, suspected deception units are selected. The actual small-scale feature sequence corresponding to the suspected deception unit is labeled with anomaly label. The labeling result is used as the large-scale detection result.

[0043] Furthermore, the specific steps for grouping the data of the same vessel into different groups based on the update time interval are as follows:

[0044] For data from the same vessel, if the update time interval between two data points exceeds a threshold, the two data points are disconnected and grouped.

[0045] Furthermore, preprocessing includes cleaning and interpolation.

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

[0047] When a ship is operating at the edge of the attack range of a deception source, the calculated GNSS positioning will always exhibit abnormal jumps or disturbances. Therefore, this invention constructs the difference sequence corresponding to dead reckoning and speed in AIS data as the input features for model training, which can be well applied to other areas. Furthermore, the input features for training the model in this invention are in a normal state, i.e., features without deception sources. Semi-supervised training using only normal and deception-free samples avoids the need for manually labeled abnormal data. In addition, this invention sets up two detection models of different sizes, gradually refining from large-scale screening to small-scale focusing, effectively reducing the amount of feature data and computational complexity, thus improving efficiency. Attached Figure Description

[0048] Figure 1 This is a flowchart of the present invention;

[0049] Figure 2 This is a diagram illustrating the generation process of the large-scale feature sequence of the present invention.

[0050] Figure 3 This is a diagram of the encoder-decoder structure of the present invention. Detailed Implementation

[0051] The present invention will now be described in detail with reference to the accompanying drawings and specific embodiments. These embodiments are based on the technical solution of the present invention and provide detailed implementation methods and specific operating procedures. However, the scope of protection of the present invention is not limited to the following embodiments.

[0052] To address the shortcomings of existing wide-area GNSS spoofing detection methods based on ship AIS data—namely, low detection efficiency over wide areas, the need for manual data labeling, inapplicability to different regions, and high complexity and cost of model training—this invention proposes a wide-area GNSS spoofing detection method based on ship AIS data. The flowchart of the method is as follows: Figure 1 As shown. In the Automatic Identification System (AIS), ships use sensors such as GNSS receivers to acquire dynamic information such as latitude, longitude, heading, and speed, and package this information with ship name, call sign, and ship identification code, continuously transmitting it to other ships and base stations via the AIS equipment in the VHF band. The method of this invention mines the differential features of the temporal dynamic information of ships within a region and combines this with the real-time position of the ships for feature encoding, constructing a regional coded feature vector using all ship data within a time window. A variational autoencoder is used to learn the coded features of normal, non-deceptive interference-free sea areas, and a generative discriminative model is obtained through large-scale training. Simultaneously, a multi-scale detection process, from large-scale screening to small-scale focusing, is adopted to reduce computational load, quickly locate abnormal areas and ships, and improve detection efficiency.

[0053] This invention targets the marine environment, using a rasterized monitoring area as the monitoring object. It generates multi-dimensional coded feature sequences using the dynamic and static AIS information of ships within this area. Then, a multi-dimensional convolutional variational autoencoder (VAE) is constructed and trained using normal samples to achieve probabilistic modeling of the encoder and decoder. Finally, by using the reconstruction probability as a score for anomaly detection, data points with high reconstruction probabilities are classified as anomalous regions. Furthermore, the algorithm employs a multi-scale detection process, from large-scale filtering to small-scale focusing, to reduce computational burden and quickly locate anomalous regions and ships, thereby improving detection efficiency. This invention relies on the update characteristics of AIS information; that is, AIS equipment adjusts the broadcast interval of dynamic information in real time according to the ship's speed and other navigational status, ensuring that the updated ship position and speed always change slowly within a limited range. Therefore, no matter how sophisticated the deception strategy of the GNSS spoofing source is, when the ship is sailing at the edge of the spoofing source's attack range, its calculated GNSS positioning will always show abnormal jumps or disturbances.

[0054] The method of the present invention includes the following steps:

[0055] S1. Set the monitoring area and monitoring time window;

[0056] S2. Preprocess and group the AIS data within the monitoring area and monitoring time window to obtain multiple sets of AIS data. Each set of AIS data consists of the time-series multivariate data of one ship. The set of AIS data for the nth ship is as follows:

[0057] Ship n {[time1,lat1,lon1,speed1],……,[time M ,lat M ,lon M speed M ]}

[0058] Where M is the epoch of a set of AIS data for the nth vessel, time represents the timestamp, lat represents the latitude, lon represents the longitude, and speed represents the speed.

[0059] The grouping rules are as follows: AIS data of different ships are divided into different groups, and data of the same ship are divided into different groups based on the update time interval;

[0060] S3. Rasterize the monitoring area into a grid. Convert the dimensions and longitudes of the multiple sets of AIS data obtained in S2 into grid numbers. For each set of AIS data consisting of M epochs, that is, M time-series multivariate data of the same ship, perform differential calculation on the northward distance corresponding to the dimension, the eastward distance corresponding to the longitude, and the speed in each set of AIS data, and perform dimensionality reduction encoding to obtain the actual small-scale feature sequence. Sample the maximum value of the small-scale feature sequence to obtain the actual large-scale feature sequence.

[0061] S4. Set up a variational autoencoder-decoder network based on a multidimensional convolutional structure. Input the small-scale feature sequence without deception and the large-scale feature sequence without deception into the two variational autoencoder-decoder networks respectively, and train them to obtain the small-scale deception detection model and the large-scale deception detection model.

[0062] S5. Input the actual large-scale feature sequence into the large-scale deception detection model. The large-scale deception detection model outputs the large-scale detection result. If there is no abnormal label in the detection result, execute S7; otherwise, execute S6.

[0063] S6. Input the actual small-scale feature sequence corresponding to the abnormal label into the small-scale deception detection model. The small-scale deception detection model outputs the small-scale detection result. If there is no abnormal label in the small-scale detection result, execute S7. Otherwise, record the corresponding coordinates, the ship corresponding to the coordinates, and the interference range of the deception source, and then execute S7.

[0064] S7. Update the monitoring area and monitoring time window, then return to S2.

[0065] The specific steps for preprocessing and grouping in S2 are as follows:

[0066] The AIS data was cleaned, removing duplicate data and ship data with non-standard MMSI naming. Then, time-series linear interpolation was used to process missing and invalid data. Next, the data was grouped according to the ship's MMSI and the time length of the update interval, with different ship data in different groups. If the time-series data of the same ship had an update interval of more than 5 minutes, the group was broken.

[0067] The specific steps for S3 are as follows:

[0068] The monitoring area of ​​Zkm x Zkm is rasterized into a YxY grid. The dimension lat and longitude lon in multiple sets of AIS data are converted into the north index numN and east index numE of the grid. Therefore, a set of AIS data is transformed into:

[0069] {[time1,numN1,numE1,speed1],……,[time M ,numN M ,numE M speed M ]}

[0070] For the m-th epoch of a set of AIS data, calculate the difference between the northward distance corresponding to latitude, the eastward distance corresponding to longitude, and the speed. Fill the grid where the difference is located in the m-1 epoch with the result of the difference. Repeat the above steps until all epochs in the AIS data are traversed. Repeat the above steps again until all sets of AIS data are traversed.

[0071] Dimensionality reduction is performed by summing and averaging, and the unfilled parts of the grid are filled.

[0072] 3D feature data is obtained based on the filled grid, and the 3D feature data is an actual small-scale feature sequence;

[0073] The grid is divided into cells, and the maximum value of the 3D feature data in each cell is taken. The maximum values ​​in all cells are then integrated to obtain the actual large-scale feature sequence.

[0074] In S3, the data is first rasterized, with the monitoring area size set to a default Zkm x Zkm and the monitoring time window to be 1 hour. The monitoring area is then rasterized into a YxY grid. Next, the latitude and longitude coordinates in the AIS data are converted to grid numbers (northward numN, range 1 to Y; eastward numE, range 1 to Y). The AIS data consists of time-series multivariate data for each ship. n Its composition and characteristics mainly consist of timestamps, latitude, longitude, and speed. i ,lat i ,lon i speed iThe formula is obtained by calculating information from four variables, where N is the total number of ships in the AIS data and M is the number of dynamic data of the nth ship.

[0075] AIS = {Ship1, Ship2, ..., Ship} N}

[0076] Ship n ={[time1,lat1,lon1,speed1],……,[time M ,lat M ,lon M speed M ]}

[0077] ={[time1,N1,E1,speed1],……,[time M N MK E M speed M ]}

[0078] ={[time1,numN1,numE1,speed1],……,[time M ,numN M ,numE M speed M ]}

[0079] Then, feature encoding is performed. For the preprocessed grouped data, features are calculated sequentially, where N, E, and S represent the northward distance (meters), eastward distance (meters), and speed (knots) from the center of the monitoring area, converted from latitude and longitude, respectively. Assuming a set of M AIS time-series data per epoch, and the current epoch is m epoch, the features obtained by differencing and transforming the data from the previous two epochs are filled into the grid cell containing the data at epoch m-1. ΔN m-1 ΔE m-1 With ΔS m-1 The obtained three-variable characteristics.

[0080] The results of the northward and eastward differences can be divided by (2Y) based on the square of the sum of the two differences. 2 The speed difference result can be obtained by dividing the square of the sum of the two differences by the square of Z. Assuming the monitoring area is 1.5km x 1.5km and rasterized to a 100x100 grid, the specific difference result is as follows:

[0081] ΔN m-1 =(2N) m -N m-1 -N m-2 ) 2 / 200 2

[0082] ΔE m-1 =(2E m -E m-1 -E m-2 ) 2 / 200 2

[0083] ΔS m-1 =(2S m -S m-1 -S ,-2 ) 2 / 1.5 2

[0084] N , E represents the northward distance corresponding to the latitude of the m-th epoch. m S represents the eastward distance corresponding to the longitude of the m-th epoch. m This represents the speed at the m-th epoch. The data is reduced in dimensionality by summing and averaging; for grid areas where no ships appear, a smaller value is used as filler. n and e are the north and east grid numbers, respectively, I is the number of ships passing through grid number ne, and M... i Let be the total number of epochs in which the i-th ship appears in the grid. Assume that the same monitoring area is continuously monitored for T hours, and the dimension of the feature data obtained at this time is Y×Y×3×T, where ne represents the grid number ne of Y×Y, the compressed and filled 3D feature data, and the time window slides T times.

[0085] The actual small-scale feature sequence is as follows:

[0086]

[0087]

[0088]

[0089] Where, ΔN ne ΔE represents the latitudinal feature in the actual small-scale characteristics. ne ΔS represents the longitude feature in actual small-scale characteristics. ne This represents the speed feature in the actual small-scale features, where n and e are the north and east grid numbers, I is the number of ships passing through grid number ne, and M is the speed feature. i The total number of epochs in the grid where the i-th ship appears is the sum of the epochs of all groups of AIS data for the i-th ship.

[0090] Large-scale sampling is performed by extracting the maximum value of 3D feature data within a small region of [Y / 10] × [Y / 10] divided according to the formula, where [] represents rounding down, {ΔN n′e′ ,ΔE n′e′ ,ΔSn′e′} represents the sampled feature data, compressed to [Y / 10]×[Y / 10]×3×T. Finally, we encode it using the position index n′e′, converting it to ([Y 2 / 10 2 Multivariate sequence data of ]×T)×3. The encoding rule for converting ne to n′e′ is to divide n by 10 and round down to get n′, and divide e by 10 and round down to get e′.

[0091] New variable after sampling: ΔN n′e′ ,ΔE n′e′ ,ΔS n′e′ They are respectively equal to ΔN in all epochs within the ne region corresponding to the same n′e′. ne ΔE ne and ΔS ne The maximum value.

[0092] The generation process of large-scale feature sequences is shown in the figure below. Figure 2 As shown.

[0093] In S4, the training process for the small-scale deception detection model and the large-scale deception detection model is as follows:

[0094] After the input x passes through a one-dimensional convolutional module and a two-dimensional convolutional module, compressed features from the two branches are first extracted. The M channels of data from these two branches are merged into 2M channels. Then, the channel dimension is reduced to match the input by using a one-dimensional convolutional layer with a 1x1 kernel. Next, the mean parameter Mean and the log-standard deviation LogStd are calculated using a Conv1D layer. Then, to avoid the non-differentiability problem caused by directly sampling the latent variable z, a reparameterization technique is employed. This technique uses a standard normal distribution... Independently sample ζ, then calculate the latent variable z = σ x ζ+u x , where σ x and u x The standard deviation and mean are obtained through the encoder. The latent variable z serves as the input to the decoder, whose structure is similar to the encoder, except that the convolutional layers are replaced by corresponding deconvolutional layers. Finally, the decoder generates the reconstructed output x'. Through the above steps, this method realizes the processes of feature extraction, compression, sampling, and reconstruction in a variational autoencoder, enabling the model to learn a low-dimensional representation of the data and generate a reconstructed output.

[0095] The structural diagram of the model is as follows Figure 3 As shown, the offline training process uses the SGVB (Stochastic Gradient Variational Bayes) algorithm to maximize the Evidence Lower Bound (ELBO). Optimization was performed to complete the training of the VAE. SGVB proved that one sample is sufficient to calculate ELBO, so the sampling number L=1 was set during training. Our goal in using a VAE is to learn normal region patterns; therefore, the training set was selected from monitoring areas without significant GNSS spoofing effects to avoid learning anomalous patterns. During the testing and inference process, the calculated reconstruction probability was used as the anomalous score. anomaly .

[0096]

[0097]

[0098]

[0099] In S5 and S6, a multi-scale detection process is adopted, from large-scale screening to small-scale focusing, in order to reduce the computational burden, quickly locate abnormal areas and ships, and thus improve detection efficiency.

[0100] First, the large-scale information of the monitoring area is input into the large-scale model of the VAE. Small regions suspected of being deceptive are then filtered based on anomaly scores. If no anomaly areas are found, the monitoring area does not contain a deception source, and the process returns to the next region for time-based sample detection. If a deception source is found, the small-scale information of the corresponding small region is extracted, reconstructed, and input into the small-scale model. Anomaly points are then focused based on anomaly scores. If no anomalies are found, the monitoring area does not contain a deception source, and the process returns to the next region for time-based sample detection. If deception is found, the coordinates of the anomaly points are recorded and packaged with the monitoring area and monitoring time settings, then transmitted to the analysis module.

[0101] In step S6, if a GNSS spoofing source exists, the system queries the coordinates of the anomaly point to identify vessels appearing at that point within the specified time window and records the MMSI of the suspected spoofed vessel. Simultaneously, based on the distribution of the anomaly area, the interference range of the spoofing source is estimated, the GNSS spoofing event is recorded, and an alarm is triggered. The interference range of the spoofing source is the maximum distance between the coordinates of the spoofing source and the coordinates of the point in the normal AIS data.

[0102] The present invention has the following advantages:

[0103] 1. By employing data rasterization and feature encoding techniques, this invention accurately transforms the monitored object into a raster area. This method of regional situational awareness is particularly suitable for monitoring GNSS deception sources over a wide area.

[0104] 2. In practical applications, AIS data acquisition is convenient as it is not affected by GNSS spoofing sources. Therefore, this invention uniquely employs semi-supervised training using only normal and spoof-free samples, avoiding the need for manually labeled abnormal data.

[0105] 3. The differential feature sequence constructed in this invention focuses on changes in data such as dead reckoning and speed within a region. Therefore, a model trained in a specific region can be well applied to other regions, eliminating the need for retraining.

[0106] 4. This invention adopts a multi-scale detection process, which gradually refines from large-scale screening to small-scale focusing, effectively reducing the amount of feature data and lowering computational complexity. This will greatly improve efficiency in wide-area GNSS deception source detection tasks.

[0107] 5. During feature construction, this invention also records the ship MMSI information within each grid cell. This not only facilitates the rapid identification of abnormal grid areas when GNSS spoofing events are detected, but also marks potentially spoofed ships, providing valuable data support for subsequent investigations and analyses.

[0108] The preferred embodiments of the present invention have been described in detail above. It should be understood that those skilled in the art can make numerous modifications and variations based on the concept of the present invention without creative effort. Therefore, all technical solutions that can be obtained by those skilled in the art based on the concept of the present invention through logical analysis, reasoning, or limited experimentation on the basis of existing technology should be within the scope of protection defined by the claims.

Claims

1. A wide-area GNSS spoofing detection method based on ship AIS data, characterized in that, The methods include: S1. Set the monitoring area and monitoring time window; S2. Preprocess and group the AIS data within the monitoring area and monitoring time window to obtain multiple sets of AIS data. Each set of AIS data consists of time-series multivariate data from one ship. Ship The composition of a set of AIS data for the nth vessel is as follows: in, M For the epoch of a set of AIS data for the nth vessel, time represents the timestamp, lat represents the latitude, lon represents the longitude, and speed represents the speed. The grouping rules are as follows: AIS data of different ships are divided into different groups, and data of the same ship are divided into different groups based on the update time interval; S3. Rasterize the monitoring area into a grid. Convert the latitude and longitude of the multiple sets of AIS data obtained in S2 into grid numbers. For each set of AIS data consisting of M epochs, that is, M time-series multivariate data of the same ship, perform differential analysis on the northward distance corresponding to latitude, the eastward distance corresponding to longitude, and the speed of the ship in each set of AIS data, and perform dimensionality reduction encoding to obtain the actual small-scale feature sequence. Sample the maximum value of the small-scale feature sequence to obtain the actual large-scale feature sequence. S4. Set up a variational autoencoder-decoder network based on a multidimensional convolutional structure. Input the small-scale feature sequence without deception and the large-scale feature sequence without deception into the two variational autoencoder-decoder networks respectively, and train them to obtain the small-scale deception detection model and the large-scale deception detection model. S5. Input the actual large-scale feature sequence into the large-scale deception detection model. The large-scale deception detection model outputs the large-scale detection result. If there is no abnormal label in the detection result, execute S7; otherwise, execute S6. S6. Input the actual small-scale feature sequence corresponding to the abnormal label into the small-scale deception detection model. The small-scale deception detection model outputs the small-scale detection result. If there is no abnormal label in the small-scale detection result, execute S7. Otherwise, record the corresponding coordinates, the ship corresponding to the coordinates, and the interference range of the deception source, and then execute S7. S7. Update the monitoring area and monitoring time window, then return to S2; The specific steps for S3 are as follows: right km x The monitoring area of ​​km is gridded into x The grid will divide the latitude of multiple sets of AIS data. and longitude North index converted to grid and Eastward serial number Therefore, a set of AIS data is transformed into: For the m-th epoch of a set of AIS data, calculate the differences between the northward distance corresponding to latitude, the eastward distance corresponding to longitude, and the flight speed, and fill the difference results into the... Within the grid where the epoch is located, repeat the above steps until all epochs in the AIS data are traversed, and repeat the above steps again until all groups of AIS data are traversed. Dimensionality reduction is performed by summing and averaging, and the unfilled parts of the grid are filled. 3D feature data is obtained based on the filled grid, and the 3D feature data is an actual small-scale feature sequence; The grid is divided into cells, the maximum value of the 3D feature data in each cell is taken, and the maximum values ​​in all cells are integrated to obtain the actual large-scale feature sequence. The difference results specifically include the difference results for northward distance, eastward distance, and speed, among which: Difference of northward distance at the (m-1)th epoch Specifically, calculate the difference between the northward distance at the m-th epoch and the northward distances at the (m-1)-th and (m-2)-th epochs, and then square the sum of these two differences to obtain the result. ; Difference of eastward distance at the (m-1)th epoch Specifically, calculate the difference between the eastward distance at the m-th epoch and the eastward distances at the (m-1)-th and (m-2)-th epochs, and then square the sum of these two differences to obtain the result. ; The difference in speed at the (m-1)th epoch Specifically, calculate the difference between the speed at the m-th epoch and the speeds at the (m-1)-th and (m-2)-th epochs, and then square the sum of these two differences to obtain the result. .

2. The wide-area GNSS spoofing detection method based on ship AIS data according to claim 1, characterized in that, The actual small-scale feature sequence includes regional latitude features, regional longitude features, and regional airspeed features, among which: serial number for and for The regional latitudinal characteristics are as follows: Appeared ΔN for all ships in the region across all epochs m The sum of the epochs is divided by the total number of epochs, which represents the sum of the epochs in which all ships appear in the grid. serial number for and for The regional longitude characteristics are as follows: Appeared All ships in the region across all eras The sum of the epochs is then divided by the total number of epochs. serial number for and for The regional speed characteristics are as follows: Appeared All ships in the region across all eras The sum of the epochs is then divided by the total number of epochs. Assuming continuous monitoring of the same monitoring area for T hours, the dimension of the resulting small-scale feature sequence is: , respectively represent grid Numbered, compressed and filled 3D feature data, with the time window sliding T times.

3. The wide-area GNSS spoofing detection method based on ship AIS data according to claim 2, characterized in that, The specific steps for dividing the grid into cells, taking the maximum value of the 3D feature data within each cell, and integrating the maximum values ​​from all cells to obtain the actual large-scale feature sequence are as follows: Divide the grid into The region is considered as a unit. For each unit, the maximum value of the 3D feature data is taken, and this maximum value is used as the actual large-scale feature sequence for that unit. The dimension of the actual large-scale feature sequence is... .

4. The wide-area GNSS spoofing detection method based on ship AIS data according to claim 1, characterized in that, The training process for small-scale deception detection models and large-scale deception detection models is as follows: Obtain both small-scale and large-scale feature sequences that are free from deception. Input the small-scale feature sequence into a variational autoencoder network. After passing through two branches—a one-dimensional convolutional module and a two-dimensional convolutional module—the compressed features of the two branches are obtained. These two compressed features are concatenated and then passed through a convolutional layer for dimensionality reduction. The mean parameter is then calculated. Mean and logarithmic standard deviation LogStd The latent variables are obtained by reparameterizing the calculated mean and logarithmic standard deviation. The latent variables are input into the decoder network. The decoder network and the encoder network have symmetrical structures. The reconstructed features are output and iteratively trained to obtain small-scale deception detection models and large-scale deception detection models.

5. The wide-area GNSS spoofing detection method based on ship AIS data according to claim 4, characterized in that, The same steps as S1~S3 are used in obtaining small-scale feature sequences and large-scale feature sequences that do not involve deception. There are no deception sources in the monitoring area and monitoring time window where the AIS data corresponding to the small-scale feature sequences and large-scale feature sequences that do not involve deception are located.

6. The wide-area GNSS spoofing detection method based on ship AIS data according to claim 4, characterized in that, The specific steps for inputting the actual large-scale feature sequence into the large-scale deception detection model and for the large-scale deception detection model to output the large-scale detection result are as follows: The actual large-scale feature sequence is input into the large-scale deception detection model to obtain the reconstruction probability corresponding to the reconstructed feature. The reconstruction probability is used as the anomaly score. Based on the anomaly score, suspected deception units are selected. The actual small-scale feature sequence corresponding to the suspected deception unit is labeled with anomaly label. The labeling result is used as the large-scale detection result.

7. The wide-area GNSS spoofing detection method based on ship AIS data according to claim 1, characterized in that, The specific steps for grouping data from the same vessel into different groups based on update intervals are as follows: For data from the same vessel, if the update time interval between two data points exceeds a threshold, the two data points are disconnected and grouped.

8. The wide-area GNSS spoofing detection method based on ship AIS data according to claim 1, characterized in that, Preprocessing includes cleaning and interpolation.

Citation Information

Patent Citations

  • ADS-B message abnormity monitoring method and system

    CN113423118A

  • Crowd-sourcing of potentially manipulated radio signals and / or radio signal parameters

    US20200205004A1