Anomaly detection method and related equipment based on spatiotemporal series prediction

The spatiotemporal sequence prediction method based on local weighted long short-term memory network solves the problem of low accuracy of spatiotemporal sequence anomaly detection in the existing technology, realizes spatiotemporal anomaly prediction and dynamic updating of massive high-dimensional data, and improves disaster prevention. The detection effect of spatiotemporal anomalies in scenarios such as control and urban monitoring.

CN118364409BActive Publication Date: 2024-09-17CENT SOUTH UNIV
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202410765179.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-09-17
Estimated Expiration
2044-06-14

AI Technical Summary

Technical Problem

Existing spatiotemporal sequence anomaly detection methods are difficult to meet the needs of massive high-dimensional data processing, and it is difficult to achieve prior quality control anomaly prediction and dynamic updating, resulting in less accurate spatiotemporal anomaly detection results in scenarios such as disaster prevention and control, urban monitoring, and weather forecasting. Low.

Method used

The spatio-temporal sequence prediction method based on local weighted long short-term memory network is used to generate spatio-temporal sequence data, conduct spatio-temporal prediction at the current moment and future moments, calculate the prediction error set, and use the Raida criterion to measure spatio-temporal anomalies to realize spatio-temporal anomalies. accurate detection.

Benefits of technology

It improves the accuracy of spatiotemporal anomaly detection, can effectively mine spatiotemporal correlations in massive high-dimensional data, achieves accurate prediction and dynamic update of spatiotemporal sequence anomalies, and enhances the operable scope of manual research and judgment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118364409B
    Figure CN118364409B
Patent Text Reader

Abstract

The invention provides an anomaly detection method based on spatiotemporal sequence prediction and related equipment. The method generates spatiotemporal sequence data of a target area according to InSAR surface deformation monitoring data of the target area; inputs the spatiotemporal sequence data into a trained local weighted long short-term memory network to perform spatiotemporal prediction at the current moment and the future moment, and obtains the spatiotemporal prediction results at the current moment and the spatiotemporal prediction results at the future moment; uses the spatiotemporal prediction results at the current moment and the spatiotemporal prediction results at the future moment to calculate the prediction error set at the current moment and the prediction error set at the future moment, and uses the prediction error set at the current moment and the prediction error set at the future moment as analysis objects for spatiotemporal anomaly measurement, and measures the spatiotemporal anomaly of the target area at the current moment and the future moment by using the Laida criterion, and obtains the spatiotemporal anomaly result of the target area at the current moment and the spatiotemporal anomaly result at the future moment; and improves the accuracy of spatiotemporal anomaly detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of spatiotemporal data mining, and in particular to an anomaly detection method based on spatiotemporal sequence prediction and related equipment. Background Art

[0002] "Anomalies" are also called outliers or isolated points. In 1980, researchers gave the essential definition of anomalies, namely "observation data that deviates seriously from other objects, so that it is suspected that it is generated by different mechanisms"; in 1994, several researchers further gave the definition from a statistical perspective that "anomalies refer to observation data or a subset of observation data that is inconsistent with the distribution of the rest of the data in the data set"; in 2003, researchers considered the characteristics of spatial data and expanded the traditional anomalies in spatial data, and defined spatial anomalies as "spatial entities whose thematic attributes are significantly different from their neighboring spatial entities, but the differences may not be obvious within the overall data range"; in 2006, several researchers further expanded from the spatial domain to the spatiotemporal domain based on spatial anomalies, and gave the definition of spatiotemporal anomalies, namely "spatial entities whose thematic attribute values ​​deviate seriously from the reference entities in their temporal or (and) spatial neighboring domains".

[0003] For different types of anomalies, the existing anomaly detection methods can be summarized as traditional anomaly detection, spatial anomaly detection and spatiotemporal anomaly detection. Among them, spatiotemporal anomaly detection can take into account both the time domain and the space domain, and has more important value and significance in practical applications. Generally, spatiotemporal anomaly detection mainly includes spatiotemporal point event anomaly detection, spatiotemporal trajectory anomaly detection and spatiotemporal sequence anomaly detection. Anomalies in spatiotemporal point events mainly include outliers and hotspots. Among them, spatiotemporal outliers refer to those isolated point events that do not belong to any spatiotemporal cluster and small clusters containing only a small number of spatiotemporal point events. They are mainly detected by clustering-based methods. Spatiotemporal hotspots refer to those clusters with significantly larger local aggregation degrees. They are mainly detected by methods based on spatiotemporal scanning statistics. The anomalies of spatiotemporal trajectories can be roughly divided into two categories: spatiotemporal trajectory shape anomalies and spatiotemporal trajectory distribution anomalies. Correspondingly, the existing methods can also be divided into spatiotemporal trajectory shape anomaly detection methods and spatiotemporal trajectory distribution anomaly detection methods according to these two types of spatiotemporal trajectory anomalies. Spatiotemporal sequences are the thematic attribute values ​​of each spatial entity recorded in the form of time series. In the idea of ​​spatiotemporal anomaly detection proposed by many researchers in 2006, it is believed that: for a certain time t, if the thematic attribute value domain of a spatial entity is significantly different from other entities in its spatial neighborhood at that time, then the entity is a spatial anomaly; if a spatial anomaly at time t is also significantly different from the thematic attribute value of the entity before and after, then the spatial anomaly belongs to spatiotemporal anomaly. The following will describe in detail the existing technical solutions for spatiotemporal sequence anomalies.

[0004] Existing spatiotemporal series anomaly detection methods can be divided into four categories:

[0005] Distance-based methods are actually the extension of distance-based spatial anomaly detection methods in the time dimension. Anomaly detection is usually performed in the spatial dimension and the time dimension respectively, and entities that belong to both spatial anomalies and temporal anomalies are regarded as spatiotemporal anomalies.

[0006] Based on the clustering method, many scholars have introduced clustering technology into spatiotemporal anomaly detection to form a hybrid detection method to detect spatiotemporal anomalies more comprehensively and accurately;

[0007] Methods based on scanning statistics are extended on the basis of spatial scanning statistics, adopting a detection strategy of space first and time later;

[0008] Multi-scale detection methods detect spatiotemporal outliers by evaluating changes between continuous spatial and temporal scales.

[0009] However, the impacts of existing technical methods in practical applications mainly include two aspects: on the one hand, with the improvement of crowd-sensing data acquisition capabilities, the phenomena of massive data, information explosion, and difficulty in obtaining knowledge have become increasingly prominent. The existing spatiotemporal sequence anomaly detection methods are difficult to meet the needs of data processing capabilities in practical applications, and there is an urgent need to develop intelligent mining methods for massive high-dimensional data to adapt to the actual big data production environment; on the other hand, the existing spatiotemporal sequence anomaly detection methods can often only provide auxiliary decision-making for post-analysis, and it is difficult to achieve ex ante quality control anomaly prediction and dynamic update, which greatly limits the operability of manual research and judgment; the impact of the above two aspects leads to low accuracy of spatiotemporal anomaly detection results in scenarios such as disaster prevention and control, urban monitoring, and weather forecasting.

[0010] The synthetic aperture radar interferometry (InSAR) technology is a space geodetic and remote sensing technology developed in recent decades. It can obtain large-scale surface deformation monitoring results. It has the advantages of large monitoring range, high measurement accuracy, and all-day and all-weather coverage. It has been widely used in urban subsidence, mining subsidence, landslides, mudslides and other surface deformation monitoring. However, InSAR images are affected by various decoherence factors. In cases where the temporal and spatial baselines are long or in areas covered by vegetation, low interference phase quality and poor interference effect will inevitably occur, which will lead to a small number of time-series monitoring points, reduced monitoring accuracy, and difficulty in extracting surface deformation information over a wide area. It is impossible to fully reveal the laws of surface deformation, which limits the application of InSAR technology in surface deformation monitoring. Summary of the invention

[0011] The present invention provides an anomaly detection method based on spatiotemporal sequence prediction and related equipment, the purpose of which is to improve the accuracy of spatiotemporal anomaly detection.

[0012] In order to achieve the above object, the present invention provides an anomaly detection method based on spatiotemporal series prediction, comprising:

[0013] Step 1: Generate spatiotemporal series data of the target area based on the InSAR surface deformation monitoring data of the target area;

[0014] Step 2, input the spatiotemporal sequence data into the trained local weighted long short-term memory network to perform spatiotemporal prediction at the current moment and the future moment, and obtain the spatiotemporal prediction results at the current moment and the spatiotemporal prediction results at the future moment;

[0015] Step 3, using the spatiotemporal prediction results at the current moment and the spatiotemporal prediction results at the future moment to calculate the prediction error set at the current moment and the prediction error set at the future moment, and taking the prediction error set at the current moment and the prediction error set at the future moment as the analysis objects of spatiotemporal anomaly measurement respectively, and measuring the spatiotemporal anomaly of the target area at the current moment and the future moment by the Laida criterion, to obtain the spatiotemporal anomaly result of the target area at the current moment and the spatiotemporal anomaly result at the future moment;

[0016] The local weighted long short-term memory network includes an input layer, a local weighted module, a hidden layer and an output layer connected in sequence. The input layer is used to spatially partition the target area, the local weighted module is used to spatially model the target area after spatial partitioning, the hidden layer is used to perform spatiotemporal sequence prediction on the data output by the local weighted module, and the output layer is used to output the spatiotemporal prediction results.

[0017] More specifically, step 1 includes:

[0018] Acquire InSAR surface deformation monitoring data of the target area;

[0019] According to the characteristics of InSAR surface deformation monitoring data, spatiotemporal series data are generated by setting the data type, resolution, coordinate system and spatial range of InSAR surface deformation monitoring data.

[0020] Furthermore, before the spatiotemporal sequence data is input into the trained local weighted long short-term memory network, it also includes:

[0021] The space-time series data are preprocessed to obtain preprocessed space-time series data.

[0022] More specifically, step 2 includes:

[0023] The preprocessed spatiotemporal series data are standardized to obtain standardized spatiotemporal series data;

[0024] In the input layer of the local weighted long short-term memory network, natural breakpoints and edge length constraints are used to spatially partition the target region to obtain multiple homogeneous sub-regions.

[0025] In the local weighted module of the local weighted long short-term memory network, the standardized spatiotemporal series data and the geographically weighted regression mechanism are used to perform spatial modeling on each homogeneous sub-region, and the local spatiotemporal feature matrix of each homogeneous sub-region is obtained. The local spatiotemporal feature matrix is ​​used to characterize the spatial and temporal features of each homogeneous sub-region.

[0026] In the hidden layer of the local weighted long short-term memory network, multiple long short-term memory networks are established in parallel for each homogeneous sub-region, and the long short-term memory networks correspond to the homogeneous sub-regions one by one. The local spatiotemporal feature matrix in each homogeneous sub-region is input into the corresponding long short-term memory network for spatiotemporal sequence prediction to obtain the spatiotemporal sequence pattern of each homogeneous sub-region;

[0027] In the output layer of the local weighted long short-term memory network, the spatiotemporal sequence patterns of each homogeneous sub-region are merged to obtain the spatiotemporal prediction results at the current moment and the spatiotemporal prediction results at the future moment.

[0028] Specifically, the expression for spatial modeling of each homogeneous sub-region using standardized spatiotemporal series data and geographically weighted regression mechanism is:

[0029] ;

[0030] in, is the estimated value of the spatiotemporal series of a station, which is used to indicate the spatial influence of adjacent stations. Indicates The estimated value of the spatiotemporal series of neighboring stations, Indicates the number of sites adjacent to a site. Indicates neighboring sites, The power of the distance, i.e. the spatial proximity order, is used to influence the result of the inverse distance weighted calculation. represents the distance between two adjacent sites. Represents a site Coordinates, Neighboring sites Coordinates, one site Coordinates, Neighboring sites coordinate.

[0031] Furthermore, the prediction error set at the current moment and the prediction error set at the future moment are calculated using the spatiotemporal prediction results at the current moment and the spatiotemporal prediction results at the future moment, including:

[0032] The prediction error set at the current moment and the prediction error set at the future moment are calculated using the InSAR surface deformation monitoring data, the spatiotemporal prediction results at the current moment and the spatiotemporal prediction results at the future moment. The calculation expression is:

[0033] ;

[0034] in, represents the prediction error set at the current moment, represents the set of prediction errors at future moments, represents the spatiotemporal prediction result at the current moment, represents the spatiotemporal prediction result of the future moment, represents InSAR surface deformation monitoring data, , Indicates InSAR surface deformation monitoring data of 10 stations.

[0035] Specifically, after step 3, the following steps are also included:

[0036] Step 4: Based on the spatiotemporal anomaly results of the target area at the current moment and the spatiotemporal anomaly results at the future moment, the target area is classified as abnormal at the current moment and the abnormal at the future moment respectively by a density-based clustering method to obtain the abnormal clusters and abnormal points of the target area at the current moment and the abnormal clusters and abnormal points at the future moment.

[0037] The present invention also provides an anomaly detection device based on spatiotemporal sequence prediction, comprising:

[0038] A data generation module is used to generate spatiotemporal series data of the target area based on the InSAR surface deformation monitoring data of the target area;

[0039] The spatiotemporal prediction module is used to input the spatiotemporal sequence data into the trained local weighted long short-term memory network to perform spatiotemporal prediction at the current moment and the future moment, and obtain the spatiotemporal prediction results at the current moment and the spatiotemporal prediction results at the future moment;

[0040] The anomaly measurement module is used to calculate the prediction error set at the current moment and the prediction error set at the future moment by using the spatiotemporal prediction results at the current moment and the spatiotemporal prediction results at the future moment, and use the prediction error set at the current moment and the prediction error set at the future moment as analysis objects of spatiotemporal anomaly measurement respectively, and measure the spatiotemporal anomaly of the target area at the current moment and the future moment by Laida criterion, so as to obtain the spatiotemporal anomaly result of the target area at the current moment and the spatiotemporal anomaly result at the future moment;

[0041] The local weighted long short-term memory network includes an input layer, a local weighted module, a hidden layer and an output layer connected in sequence. The input layer is used to spatially partition the target area, the local weighted module is used to spatially model the target area after spatial partitioning, the hidden layer is used to perform spatiotemporal sequence prediction on the data output by the local weighted module, and the output layer is used to output the spatiotemporal prediction results.

[0042] The present invention also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the anomaly detection method based on spatiotemporal series prediction is implemented.

[0043] The present invention also provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements an anomaly detection method based on spatiotemporal sequence prediction when executing the computer program.

[0044] The above scheme of the present invention has the following beneficial effects:

[0045] The present invention generates spatiotemporal sequence data of a target area according to InSAR surface deformation monitoring data of a target area; inputs the spatiotemporal sequence data into a trained local weighted long short-term memory network to perform spatiotemporal prediction at the current moment and the future moment, and obtains the spatiotemporal prediction results at the current moment and the spatiotemporal prediction results at the future moment; uses the spatiotemporal prediction results at the current moment and the spatiotemporal prediction results at the future moment to calculate the prediction error set at the current moment and the prediction error set at the future moment, and uses the prediction error set at the current moment and the prediction error set at the future moment as analysis objects of spatiotemporal anomaly measurement, and measures the spatiotemporal anomaly of the target area at the current moment and the future moment by using the Laida criterion. The spatial anomaly of the target area at the current moment and the spatial anomaly result at the future moment are obtained; compared with the prior art, the anomaly detection method provided by the present invention effectively mines the spatial and temporal correlation of the data by performing metric analysis on the InSAR surface deformation monitoring data, and takes the prediction error set at the current moment and the prediction error set at the future moment as the analysis objects of the spatial and temporal anomaly measurement respectively, and measures the spatial and temporal anomaly of the target area at the current moment and the future moment by the Laida criterion, and can effectively mine the spatial and temporal sequence anomaly at the current moment and the spatial and temporal sequence anomaly at the future moment according to the InSAR surface deformation monitoring data, thereby improving the accuracy of spatial and temporal anomaly detection.

[0046] Other beneficial effects of the present invention will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 It is a schematic diagram of a flow chart of an embodiment of the present invention;

[0048] Figure 2This is a schematic diagram of site distribution of spatiotemporal series data in an embodiment of the present invention;

[0049] Figure 3 This is a schematic diagram of space modeling in an embodiment of the present invention;

[0050] Figure 4 Schematic diagram of the framework of a local weighted long short-term memory network in an embodiment of the present invention;

[0051] Figure 5 Schematic diagram of spatial distribution of anomaly detection results based on spatiotemporal sequences according to an embodiment of the present invention. DETAILED DESCRIPTION

[0052] In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will be described in detail with reference to the accompanying drawings and specific embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0053] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0054] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installation", "connection" and "connection" should be understood in a broad sense, for example, it can be a locking connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0055] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0056] In view of the existing problems, the present invention provides an anomaly detection method based on spatiotemporal sequence prediction and related equipment.

[0057] like Figure 1As shown, an embodiment of the present invention provides an anomaly detection method based on spatiotemporal series prediction, comprising:

[0058] Step 1, generating spatiotemporal series data of the target area based on the InSAR deformation monitoring data of the target area;

[0059] Step 2, input the spatiotemporal sequence data into the trained local weighted long short-term memory network to perform spatiotemporal prediction at the current moment and the future moment, and obtain the spatiotemporal prediction results at the current moment and the spatiotemporal prediction results at the future moment;

[0060] Step 3, using the spatiotemporal prediction results at the current moment and the spatiotemporal prediction results at the future moment to calculate the prediction error set at the current moment and the prediction error set at the future moment, and taking the prediction error set at the current moment and the prediction error set at the future moment as the analysis objects of spatiotemporal anomaly measurement respectively, and measuring the spatiotemporal anomaly of the target area at the current moment and the future moment by the Laida criterion, to obtain the spatiotemporal anomaly result of the target area at the current moment and the spatiotemporal anomaly result at the future moment;

[0061] The local weighted long short-term memory network includes an input layer, a local weighted module, a hidden layer and an output layer connected in sequence. The input layer is used to spatially partition the target area, the local weighted module is used to spatially model the target area after spatial partitioning, the hidden layer is used to perform spatiotemporal sequence prediction on the data output by the local weighted module, and the output layer is used to output the spatiotemporal prediction results.

[0062] The method provided by the embodiment of the present invention is described below by taking the eastern part of a plain as the target area, as follows:

[0063] Since the surface subsidence phenomenon in the eastern part of a certain plain has been very serious in recent years, there are many abnormal noise points in the InSAR monitoring process of large-scale surface deformation, such as abnormal situations where the accumulated deformation is too large or too small. In order to effectively identify the spatiotemporal series anomalies in InSAR deformation monitoring data, the embodiment of the present invention selects the eastern part of a certain plain as the target area.

[0064] 80 phases of Sentinel-1A images acquired from January 2017 to December 2019 were used as the remote sensing data source of the eastern part of a plain. The multi-master image coherent target small baseline (MCTSB-InSAR) technology was used for data preparation, and the ground subsidence time series data of 430476 high coherence points (stations) were obtained. The second-class leveling data of the eastern part of a plain were used for comparative verification. The results show that the deformation inversion accuracy of the data source in this paper is 7.2mm.

[0065] Specifically, step 1 includes:

[0066] Acquire InSAR deformation monitoring data of the target area;

[0067] According to the characteristics of InSAR deformation monitoring data, spatiotemporal series data are generated by setting the data type, resolution, coordinate system and spatial range of InSAR deformation monitoring data.

[0068] In the embodiment of the present invention, it is assumed that a set of InSAR deformation monitoring data in the eastern part of a plain is generated at site A, and the site distribution is as follows: Figure 2 As shown, other sites There are different topological relationships such as distance, orientation, and angle between them. Different time series data have the same time label. In addition, InSAR deformation monitoring data are not random simulation data, but certain periodicity, trend, and randomness are set in each time series to conform to the rules of real data sets.

[0069] Due to the large-scale exploitation of groundwater resources in the eastern part of a certain plain, the water level dropped sharply, resulting in ground subsidence. According to the InSAR deformation monitoring data, the monitoring data in the urban area and the northwest did not change much, the monitoring data in the east did not change significantly, and the monitoring data in other areas changed significantly. According to the characteristics of InSAR deformation monitoring data, the data type, resolution, coordinate system, and spatial range were set to generate massive high-dimensional spatiotemporal series data. ,in Indicates the number of sites, Indicates the length of the time series. Spatiotemporal series data is used to characterize large-scale surface deformation information. Please set the data type to spatiotemporal series vector point data, the resolution to 30m, the coordinate system to WGS84 coordinate system, and the spatial range to any 50 square kilometers within the eastern area of ​​a plain.

[0070] Specifically, before the spatiotemporal sequence data is input into the trained local weighted long short-term memory network, it also includes:

[0071] The space-time series data are preprocessed to obtain preprocessed space-time series data.

[0072] In the embodiment of the present invention, firstly, the spatiotemporal series data Perform normalization processing to obtain normalized spatiotemporal series data;

[0073] Due to data acquisition, the intervals between two adjacent moments may not be exactly the same. Therefore, it is necessary to use the sequence difference method to interpolate the time series in the spatiotemporal series data for each station to obtain time series data with equal time intervals. The time series obtained after data interpolation is , ,in, Indicates time, Indicates The time series after interpolation.

[0074] Specifically, step 2 includes:

[0075] The preprocessed spatiotemporal series data are standardized to obtain standardized spatiotemporal series data;

[0076] In the input layer of the local weighted long short-term memory network, natural breakpoints and edge length constraints are used to spatially partition the target region to obtain multiple homogeneous sub-regions.

[0077] In the local weighted module of the local weighted long short-term memory network, the standardized spatiotemporal series data and the geographically weighted regression mechanism are used to perform spatial modeling on each homogeneous sub-region, and the local spatiotemporal feature matrix of each homogeneous sub-region is obtained. The local spatiotemporal feature matrix is ​​used to characterize the spatial and temporal features of each homogeneous sub-region.

[0078] In the hidden layer of the local weighted long short-term memory network, multiple long short-term memory networks are established in parallel for each homogeneous sub-region, and the long short-term memory networks correspond to the homogeneous sub-regions one by one. The local spatiotemporal feature matrix in each homogeneous sub-region is input into the corresponding long short-term memory network for spatiotemporal sequence prediction to obtain the spatiotemporal sequence pattern of each homogeneous sub-region;

[0079] In the output layer of the local weighted long short-term memory network, the spatiotemporal sequence patterns of each homogeneous sub-region are merged to obtain the spatiotemporal prediction results of the current moment and the spatiotemporal prediction results of the future moments.

[0080] The purpose of performing spatiotemporal series prediction in the embodiment of the present invention is to generate site estimation values ​​based on historical data from a prediction perspective, and then screen out abnormal information by performing metric analysis with InSAR surface deformation monitoring data of the target area.

[0081] Based on the above purpose, the embodiment of the present invention spatially partitions the target area through a spatial classification algorithm;

[0082] like Figure 3As shown in the figure, firstly, according to the standardized spatiotemporal series data, the Jenks natural breakpoint method is used to autonomously divide the eastern part of a plain into several zoning units. The number of zoning units depends on the number of levels of visual interpretation. The grading method is different from the clustering method, which has the advantages of simple implementation and high timeliness, and can take into account the range and number of elements in each group as close as possible; then for each zoning unit, the Delaunay edge length constraint method is used to interrupt the edges connecting adjacent stations whose distance is greater than the preset value, and each is divided into several homogeneous sub-areas close to the spatial position of the station. .

[0083] When determining the category of each spatial object, this strategy not only considers the attribute distance between the object and the center of a category, but also considers the adjacency relationship between the object and the existing spatial objects in the category, and sets the edge length constraint constant , the specific edge length constraint rules are as follows:

[0084] ;

[0085] The above formula represents the side length judgment criterion of each hierarchical Delaunay triangulation network, where: Respectively represent the mean and standard deviation of all edge lengths in the local Delaunay triangulation, Indicates a side length. If the absolute value of the difference between a side length and the average side length is greater than times the standard deviation, the abnormal edge is deleted, otherwise the edge is retained; finally, the partition result after the edge length constraint is obtained as several homogeneous sub-regions that satisfy similar attributes and space ,in, Indicates the number of homogeneous subregions.

[0086] Specifically, the expression for spatial modeling of each homogeneous sub-region using standardized spatiotemporal series data and geographically weighted regression mechanism is:

[0087] ;

[0088] in, is the estimated value of the spatiotemporal series of a station, which is used to indicate the spatial influence of adjacent stations. Indicates The estimated value of the spatiotemporal series of neighboring stations, Indicates the number of sites adjacent to a site. Indicates neighboring sites, The power of the distance, i.e. the spatial proximity order, is used to influence the result of the inverse distance weighted calculation. represents the distance between two adjacent sites. Represents a site Coordinates, Neighboring sites Coordinates, one site Coordinates, Neighboring sites coordinate.

[0089] like Figure 4 As shown in the figure, each homogeneous sub-region is spatially modeled through the geographically weighted regression mechanism to obtain the local spatiotemporal feature matrix of each homogeneous sub-region. The specific process is as follows:

[0090] For any site, a Delaunay triangulation of the homogeneous sub-region is constructed, and the first-order spatial neighborhood of the site is inversely distance weighted. The expression of inverse distance weighting is:

[0091] ;

[0092] The local spatiotemporal feature matrix of each station in each homogeneous sub-region is used as the first-order spatial neighborhood feature of the station to obtain the high-order spatial neighborhood feature, and the local spatiotemporal feature matrix of each homogeneous sub-region is combined with the original time series to obtain the spatiotemporal feature matrix of the station. , the calculation expression of the spatiotemporal feature matrix:

[0093] ;

[0094] in, Represents the dimension of spatial features, The dimension representing the time feature.

[0095] In the embodiment of the present invention, the Locally Weighted Long Short-Term Memory (LWLSTM) is a long short-term memory network based on the recurrent neural network architecture. The core process is data input, information forgetting, cell state update and hidden state output in the hidden layer. Long short-term memory network models are established in parallel in different homogeneous sub-regions to learn the spatiotemporal sequence patterns of different homogeneous sub-regions. The forward calculation method can be expressed as:

[0096]

[0097] in, Indicates the number of samples in the time series Input at the moment, Represents the hidden state output of the corresponding cell unit, where They represent input gate, forget gate, cell state, and output gate respectively. are the corresponding weight coefficient matrix and bias term respectively, and They are sigmoid and hyperbolic tangent activation functions respectively.

[0098] The embodiment of the present invention uses the spatiotemporal feature matrix as the sample extraction source. Moment as the end, length The above spatiotemporal sequence is used as the training sample at each station, where The spatiotemporal information of the moment is used as a sample input into the local weighted long short-term memory network, and the site is The deformation value at the moment is used as the sample label. Similarly, the prediction sample of each site is obtained by sliding the time window to the right.

[0099] The training process of the local weighted long short-term memory network in the embodiment of the present invention adopts the BPTT algorithm which is similar to the principle of the classic back propagation algorithm and mainly includes four steps:

[0100] 1. Calculate the output value of the long short-term memory network cell according to the forward calculation method;

[0101] 2. Reversely calculate the error term of each LSTM cell;

[0102] 3. Calculate the gradient of each weight based on the error term corresponding to each LSTM cell;

[0103] 4. Apply a gradient-based optimization algorithm to update the weights.

[0104] In the training process of the above model, many network parameters are involved, among which the sample division length , spatial neighborhood order , Network Layers and the number of features in each hidden layer of the LSTM network The most critical; the embodiment of the present invention adopts the grid search method to optimize the four parameters, with the highest average prediction accuracy, that is, the smallest prediction error of the settlement of the predicted sample as the basis for parameter optimization, and the objective function can be expressed as:

[0105] ;

[0106] In the formula are the grid search steps of the corresponding parameters respectively. These three parameters constitute a three-dimensional search space. The multi-layer grid search algorithm can be used to obtain the optimal parameter combination to set the local weighted long short-term memory network, save the network hyperparameters optimized during the model training process, and obtain the trained local weighted long short-term memory network.

[0107] In the embodiment of the present invention, the land subsidence time series data in the eastern part of a plain is subjected to difference, time series interpolation and standardization to obtain deformation data. Each observation point has 89 deformation data with equal time intervals. The deformation data is input into the trained local weighted long short-term memory network, and the spliced ​​output results finally obtained include the spatiotemporal prediction results at the current moment and the spatiotemporal prediction results at the future moment. The spatiotemporal prediction results at the current moment can be expressed as , the spatiotemporal prediction results at future moments can be expressed as .

[0108] Taking the eastern part of a plain as an example, the spatiotemporal prediction result at the current moment can be the surface shape variable within the spatial range radiated by each station in the region at the current moment, and the spatiotemporal prediction result at future moments can be the surface shape variable within the spatial range radiated by each station in the region at future moments. The prediction error of most stations is within 0.5 mm.

[0109] Specifically, step 3 includes:

[0110] The statistical discrimination method for monitoring abnormal data mainly includes the following criteria: Laida criterion (also known as k times standard deviation ), Chauville criterion, Grubbs criterion, Dixon criterion and Dixon two-sided test criterion. Among them, the Laida criterion was first proposed by Wright in 1884. It does not require the specification of parameters, has a simple calculation method and is widely used.

[0111] According to the ideas and advantages of the Laida Criteria, the embodiments of the present invention construct the Laida Criteria, and its basic principles are as follows:

[0112] If there is InSAR deformation monitoring data , The discriminant formula of the criterion can be expressed as:

[0113] ;

[0114] in, Indicates Data for each site, , represents the average value of the data, , represents the standard deviation of the data, ,when When the above formula is satisfied, For abnormal data, the Laida criterion The coefficient of Take 2 or 3. Experiments have shown that when k=1.645, the abnormal data results determined by the above formula are more reasonable and reliable.

[0115] Therefore, the prediction error set at the current moment and the prediction error set at the future moment are calculated using the InSAR deformation monitoring data, the spatiotemporal prediction results at the current moment and the spatiotemporal prediction results at the future moment. The calculation expression is:

[0116] ;

[0117] in, Represents the forecast error set at the current moment , represents the set of prediction errors at future moments, represents the spatiotemporal prediction result at the current moment, represents the spatiotemporal prediction result of the future moment, represents InSAR surface deformation monitoring data, , Indicates InSAR surface deformation monitoring data of 100 stations;

[0118] Obviously, the prediction error set It obeys the normal distribution, and the Laida criterion can be used for anomaly judgment. Therefore, the prediction error set at the current moment and the prediction error set at the future moment are respectively used as the analysis objects of spatiotemporal anomaly measurement. The spatiotemporal anomaly of the target area at the current moment and the future moment is measured by the Laida criterion. The spatiotemporal anomaly result of the target area at the current moment and the future moment is that the surface deformation has occurred in the spatial range radiated by each station in the eastern part of a plain. The process is as follows:

[0119] First, according to the prediction error set Calculate the error set standard deviation ;

[0120] Then determine the prediction error set Medium to large The error value of

[0121] Finally, the space-time position corresponding to the individual error value is marked, and this space-time position is the global outlier point.

[0122] Specifically, after step 3, it also includes:

[0123] Step 4: Based on the spatiotemporal anomaly results of the target area at the current moment and the spatiotemporal anomaly results at the future moment, the target area is classified as abnormal at the current moment and the abnormal at the future moment respectively by a density-based clustering method to obtain the abnormal clusters and abnormal points of the target area at the current moment and the abnormal clusters and abnormal points at the future moment.

[0124] In the implementation of the present invention, spatiotemporal anomaly classification aims to analyze and summarize the detected global anomaly results, and divide them into two categories: anomaly clusters and anomaly points according to the distribution of abnormal entities. The density-based clustering method (Density-Based Spatial Clustering of Application with Noise, DBSCAN) is used for analysis and processing, which can effectively separate anomaly clusters and anomaly points, and help to manually judge the detection results.

[0125] The DBSCAN algorithm defines a spatial cluster as the largest set of density-connected points. The basic idea is to define the concept of spatial density by using the minimum number of spatial entities contained in a certain neighborhood, and to perform spatial clustering operations by continuously growing high-density areas.

[0126] By adopting the DBSCAN algorithm, areas with sufficiently high density can be divided into clusters, and clusters of arbitrary shapes can be found in noisy data, wherein the clusters are abnormal clusters in the abnormal detection results. In an embodiment of the present invention, taking the eastern region of a certain plain as an example, the abnormal clusters may be large-scale landslides within the spatial range at the current moment or landslide risk areas within the spatial range at a future moment, and the noise in the abnormal detection results is an abnormal point. In an embodiment of the present invention, taking the eastern region of a certain plain as an example, the abnormal points may be ground collapse, small-scale landslides within the spatial range at the current moment, or ground collapse or landslide risk points within the spatial range at a future moment.

[0127] The above prediction error set is taken as the analysis object, the Laita criterion is used to measure the anomaly, and the DBSCAN clustering algorithm is used to classify the spatiotemporal anomalies. The results are as follows: Figure 5 As shown in Table 1 below:

[0128]

[0129] From the above table 1 and Figure 5 It can be seen that the method provided by the embodiment of the present invention performs anomaly detection on the area within the image range of the eastern part of a plain. Most of the anomaly clusters are concentrated in the northeast and southeast of the area, and the anomaly points are mainly distributed in the east and southwest of the area. A total of 1,713 anomaly points and 552 anomaly clusters were detected. For anomaly detection at future times, a total of 1,829 anomaly points and 536 anomaly clusters were detected.

[0130] The embodiment of the present invention generates spatiotemporal sequence data of the target area according to the InSAR surface deformation monitoring data of the target area; inputs the spatiotemporal sequence data into the trained local weighted long short-term memory network to perform spatiotemporal prediction at the current moment and the future moment, and obtains the spatiotemporal prediction results at the current moment and the spatiotemporal prediction results at the future moment; uses the spatiotemporal prediction results at the current moment and the spatiotemporal prediction results at the future moment to calculate the prediction error set at the current moment and the prediction error set at the future moment, and uses the prediction error set at the current moment and the prediction error set at the future moment as analysis objects of spatiotemporal anomaly measurement respectively, measures the spatiotemporal anomaly of the target area at the current moment and the future moment by the Laida criterion, and obtains the spatiotemporal anomaly result of the target area at the current moment and the spatiotemporal anomaly result at the future moment; compared with the prior art, the embodiment of the present invention provides The anomaly detection method effectively mines the spatiotemporal correlation of the data by performing metric analysis on the InSAR surface deformation monitoring data, and takes the prediction error set at the current moment and the prediction error set at the future moment as the analysis objects of the spatiotemporal anomaly measurement respectively. The spatiotemporal anomaly of the target area at the current moment and the future moment is measured by the Laida criterion. The spatiotemporal sequence anomaly at the current moment and the spatiotemporal sequence anomaly at the future moment can be effectively mined according to the InSAR surface deformation monitoring data, thereby improving the accuracy of spatiotemporal anomaly detection; it solves the problem that the existing spatiotemporal sequence anomaly detection methods can often only provide auxiliary decision-making for post-analysis, and it is difficult to realize the ex ante prediction and dynamic update of spatiotemporal anomaly, which greatly limits the operability scope of manual research and judgment, resulting in a lack of application value and research significance when facing disaster prevention and control, urban monitoring, meteorological forecasting and other businesses.

[0131] The embodiment of the present invention further provides an anomaly detection device based on spatiotemporal sequence prediction, comprising:

[0132] A data generation module is used to generate spatiotemporal series data of the target area based on the InSAR surface deformation monitoring data of the target area;

[0133] The spatiotemporal prediction module is used to input the spatiotemporal sequence data into the trained local weighted long short-term memory network to perform spatiotemporal prediction at the current moment and the future moment, and obtain the spatiotemporal prediction results at the current moment and the spatiotemporal prediction results at the future moment;

[0134] The anomaly measurement module is used to calculate the prediction error set at the current moment and the prediction error set at the future moment by using the spatiotemporal prediction results at the current moment and the spatiotemporal prediction results at the future moment, and use the prediction error set at the current moment and the prediction error set at the future moment as analysis objects of spatiotemporal anomaly measurement respectively, and measure the spatiotemporal anomaly of the target area at the current moment and the future moment by Laida criterion, so as to obtain the spatiotemporal anomaly result of the target area at the current moment and the spatiotemporal anomaly result at the future moment;

[0135] The local weighted long short-term memory network includes an input layer, a local weighted module, a hidden layer and an output layer connected in sequence. The input layer is used to spatially partition the target area, the local weighted module is used to spatially model the target area after spatial partitioning, the hidden layer is used to perform spatiotemporal sequence prediction on the data output by the local weighted module, and the output layer is used to output the spatiotemporal prediction results.

[0136] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the embodiment of the present invention. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0137] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present invention. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0138] An embodiment of the present invention further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the anomaly detection method based on spatiotemporal series prediction is implemented.

[0139] If the integrated module is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above method embodiment, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of each of the above method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the construction device / terminal device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a disk or an optical disk.

[0140] An embodiment of the present invention also provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements an anomaly detection method based on spatiotemporal sequence prediction when executing the computer program.

[0141] The terminal device may be a computing device such as a desktop computer, a notebook, a PDA, a server, a server cluster, a cloud server, etc. The terminal device may include, but is not limited to, a processor and a memory.

[0142] The processor may be a central processing unit (CPU), or other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0143] In some embodiments, the memory may be an internal storage unit of the terminal device, such as a hard disk or memory of the terminal device. In other embodiments, the memory may also be an external storage device of the terminal device, such as a plug-in hard disk, a smart memory card (SMC, Smart Media Card), a secure digital (SD, Secure Digital) card, a flash card (Flash Card), etc. equipped on the terminal device. Further, the memory may also include both an internal storage unit of the terminal device and an external storage device. The memory is used to store an operating system, an application program, a boot loader (Boot Loader), data and other programs, such as the program code of the computer program, etc. The memory may also be used to temporarily store data that has been output or is to be output.

[0144] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the embodiment of the present invention. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0145] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present invention. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0146] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. An anomaly detection method based on spatiotemporal series prediction, characterized in that: include: Step 1, generating spatiotemporal series data of the target area according to the InSAR surface deformation monitoring data of the target area; Step 2, inputting the spatiotemporal sequence data into the trained local weighted long short-term memory network to perform spatiotemporal prediction at the current moment and the future moment, and obtaining the spatiotemporal prediction results at the current moment and the spatiotemporal prediction results at the future moment; The step 2 comprises: The preprocessed spatiotemporal sequence data is standardized to obtain standardized spatiotemporal sequence data; the target region is spatially partitioned by using natural breakpoints and edge length constraints in the input layer of the local weighted long short-term memory network to obtain a plurality of homogeneous sub-regions; According to the standardized spatiotemporal series data, The natural breakpoint method divides the target area into several zoning units; For each of the zoning units, the Delaunay edge length constraint method is used to interrupt the edges connecting adjacent sites in the zoning unit whose distance is greater than a preset value, and the zoning unit is divided into a plurality of homogeneous sub-areas that are adjacent to the spatial position of the site; In the local weighted module of the local weighted long short-term memory network, spatial modeling is performed on each of the homogeneous sub-regions using the standardized spatiotemporal series data and the geographically weighted regression mechanism to obtain a local spatiotemporal feature matrix for each of the homogeneous sub-regions, wherein the local spatiotemporal feature matrix is ​​used to characterize the spatial and temporal features of each of the homogeneous sub-regions; In the hidden layer of the local weighted long short-term memory network, multiple long short-term memory networks are established in parallel for each homogeneous sub-region, and the long short-term memory network corresponds to the homogeneous sub-region one by one. The local spatiotemporal feature matrix in each homogeneous sub-region is input into the corresponding long short-term memory network for spatiotemporal sequence prediction to obtain the spatiotemporal sequence pattern of each homogeneous sub-region; In the output layer of the local weighted long short-term memory network, the spatiotemporal sequence patterns of each of the homogeneous sub-regions are merged to obtain the spatiotemporal prediction results at the current moment and the spatiotemporal prediction results at the future moment; Step 3, using the spatiotemporal prediction result at the current moment and the spatiotemporal prediction result at the future moment to calculate the prediction error set at the current moment and the prediction error set at the future moment, and taking the prediction error set at the current moment and the prediction error set at the future moment as analysis objects of spatiotemporal anomaly measurement respectively, and measuring the spatiotemporal anomaly of the target area at the current moment and the future moment by Laida criterion, to obtain the spatiotemporal anomaly result of the target area at the current moment and the spatiotemporal anomaly result at the future moment; The prediction error set at the current moment and the prediction error set at the future moment are calculated using the spatiotemporal prediction result at the current moment and the spatiotemporal prediction result at the future moment, including: The prediction error set at the current moment and the prediction error set at the future moment are calculated using the InSAR surface deformation monitoring data, the spatiotemporal prediction result at the current moment and the spatiotemporal prediction result at the future moment. The calculation expression is: ; in, represents the prediction error set at the current moment, represents the set of prediction errors at future moments, represents the spatiotemporal prediction result at the current moment, represents the spatiotemporal prediction result of the future moment, represents InSAR surface deformation monitoring data, , Indicates InSAR surface deformation monitoring data of 10 stations; Step 4: Based on the spatiotemporal anomaly results of the target area at the current moment and the spatiotemporal anomaly results at the future moment, a high-density region is grown by a density-based clustering method to classify the target area at the current moment and at the future moment respectively, and the high-density region is divided into clusters as the anomaly clusters in the anomaly detection results, and the noise in the anomaly detection results is used as the anomaly points, so as to obtain the anomaly clusters and anomaly points of the target area at the current moment and the anomaly clusters and anomaly points at the future moment; The local weighted long short-term memory network includes an input layer, a local weighted module, a hidden layer and an output layer connected in sequence, the input layer is used to spatially partition the target area, the local weighted module is used to spatially model the target area after spatial partitioning, the hidden layer is used to perform spatiotemporal sequence prediction on the data output by the local weighted module, and the output layer is used to output the spatiotemporal prediction results.

2. The anomaly detection method based on spatiotemporal series prediction according to claim 1, characterized in that: The step 1 comprises: Acquire InSAR surface deformation monitoring data of the target area; According to the characteristics of the InSAR surface deformation monitoring data, the time-space series data are generated by setting the data type, resolution, coordinate system and spatial range of the InSAR surface deformation monitoring data.

3. The anomaly detection method based on spatiotemporal series prediction according to claim 2 is characterized in that: Before inputting the spatiotemporal sequence data into the trained local weighted long short-term memory network, the method further includes: The space-time series data is preprocessed to obtain preprocessed space-time series data.

4. The anomaly detection method based on spatiotemporal series prediction according to claim 1, characterized in that: The expression for spatial modeling of each homogeneous sub-region using the standardized spatiotemporal series data and the geographically weighted regression mechanism is: ; in, is the estimated value of the spatiotemporal series of a station, which is used to indicate the spatial influence of adjacent stations. Indicates The estimated value of the spatiotemporal series of neighboring stations, Indicates the number of sites adjacent to a site. Indicates neighboring sites, The power of the distance, i.e. the spatial proximity order, is used to influence the result of the inverse distance weighted calculation. represents the distance between two adjacent sites. Represents a site Coordinates, Neighboring sites Coordinates, one site Coordinates, Neighboring sites coordinate.

5. An anomaly detection device based on spatiotemporal series prediction, characterized in that: include: A data generation module, used to generate spatiotemporal series data of the target area according to the InSAR surface deformation monitoring data of the target area; A spatiotemporal prediction module, used for inputting the spatiotemporal sequence data into a trained local weighted long short-term memory network to perform spatiotemporal prediction at the current moment and the future moment, and obtaining the spatiotemporal prediction results at the current moment and the spatiotemporal prediction results at the future moment; The preprocessed spatiotemporal sequence data is standardized to obtain standardized spatiotemporal sequence data; the target region is spatially partitioned by using natural breakpoints and edge length constraints in the input layer of the local weighted long short-term memory network to obtain a plurality of homogeneous sub-regions; According to the standardized spatiotemporal series data, The natural breakpoint method divides the target area into several zoning units; For each of the zoning units, the Delaunay edge length constraint method is used to interrupt the edges connecting adjacent sites in the zoning unit whose distance is greater than a preset value, and the zoning unit is divided into a plurality of homogeneous sub-areas that are adjacent to the spatial position of the site; In the local weighted module of the local weighted long short-term memory network, spatial modeling is performed on each of the homogeneous sub-regions using the standardized spatiotemporal series data and the geographically weighted regression mechanism to obtain a local spatiotemporal feature matrix for each of the homogeneous sub-regions, wherein the local spatiotemporal feature matrix is ​​used to characterize the spatial and temporal features of each of the homogeneous sub-regions; In the hidden layer of the local weighted long short-term memory network, multiple long short-term memory networks are established in parallel for each homogeneous sub-region, and the long short-term memory network corresponds to the homogeneous sub-region one by one. The local spatiotemporal feature matrix in each homogeneous sub-region is input into the corresponding long short-term memory network for spatiotemporal sequence prediction to obtain the spatiotemporal sequence pattern of each homogeneous sub-region; In the output layer of the local weighted long short-term memory network, the spatiotemporal sequence patterns of each of the homogeneous sub-regions are merged to obtain the spatiotemporal prediction results at the current moment and the spatiotemporal prediction results at the future moment; An anomaly measurement module, used to calculate the prediction error set at the current moment and the prediction error set at the future moment by using the spatiotemporal prediction result at the current moment and the spatiotemporal prediction result at the future moment, and use the prediction error set at the current moment and the prediction error set at the future moment as analysis objects of spatiotemporal anomaly measurement respectively, measure the spatiotemporal anomaly of the target area at the current moment and the future moment by Laida criterion, and obtain the spatiotemporal anomaly result of the target area at the current moment and the spatiotemporal anomaly result at the future moment; Based on the spatiotemporal anomaly results of the target area at the current moment and the spatiotemporal anomaly results at the future moment, a high-density region is grown by a density-based clustering method to classify the target area at the current moment and at the future moment respectively, the high-density region is divided into clusters as the anomaly clusters in the anomaly detection result, the noise in the anomaly detection result is used as the anomaly point, and the anomaly clusters and anomaly points of the target area at the current moment and the anomaly clusters and anomaly points at the future moment are obtained; The prediction error set at the current moment and the prediction error set at the future moment are calculated using the spatiotemporal prediction result at the current moment and the spatiotemporal prediction result at the future moment, including: The prediction error set at the current moment and the prediction error set at the future moment are calculated using the InSAR surface deformation monitoring data, the spatiotemporal prediction result at the current moment and the spatiotemporal prediction result at the future moment. The calculation expression is: ; in, represents the prediction error set at the current moment, represents the set of prediction errors at future moments, represents the spatiotemporal prediction result at the current moment, represents the spatiotemporal prediction result of the future moment, represents InSAR surface deformation monitoring data, , Indicates InSAR surface deformation monitoring data of 10 stations; The local weighted long short-term memory network includes an input layer, a local weighted module, a hidden layer and an output layer connected in sequence, the input layer is used to spatially partition the target area, the local weighted module is used to spatially model the target area after spatial partitioning, the hidden layer is used to perform spatiotemporal sequence prediction on the data output by the local weighted module, and the output layer is used to output the spatiotemporal prediction results.

6. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the anomaly detection method based on spatiotemporal series prediction as described in any one of claims 1 to 4 is implemented.

7. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the anomaly detection method based on spatiotemporal series prediction as described in any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Large-range land subsidence space-time prediction method and system based on deep learning

    CN112446559A

  • Ground subsidence trend prediction method and system based on machine learning

    CN115077474A

  • Time series data multivariate anomaly detection method based on deep learning

    CN115905991A

  • Urban anomaly detection method and device based on spatio-temporal data, medium and equipment

    CN116340871A

  • Method for detecting operation state of main equipment of transformer substation based on multi-source time sequence data

    CN116539994A