Establishment method of CNN-GRU ozone concentration prediction model integrating spatial and statistical features, prediction method and model

By integrating the CNN-GRU model with spatial and statistical features, combined with the Kriging interpolation method and the convolutional neural network, the problem of insufficient ozone prediction accuracy in the existing technology is solved, and higher ozone concentration prediction accuracy and robustness are achieved. .

CN114897250BActive Publication Date: 2024-09-24HANGZHOU RAW DRIED COLD STORAGE EQUIPMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210559194.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-22
Publication Date
2024-09-24
Estimated Expiration
2042-05-22

AI Technical Summary

Technical Problem

Existing ozone concentration prediction methods fail to fully combine the spatial characteristics and autocorrelation of ozone, resulting in insufficient prediction accuracy.

Method used

The CNN-GRU model that integrates spatial and statistical features is used to extract spatiotemporal correlation features through Kriging interpolation method, and combined with convolutional neural network and recurrent neural network, a parallel prediction model is constructed to improve the accuracy of ozone concentration prediction.

Benefits of technology

It significantly improves the prediction accuracy of ozone concentration in the next hour and two hours, which is better than the traditional model and has high robustness and prediction accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114897250B
    Figure CN114897250B
Patent Text Reader

Abstract

The present invention discloses a CNN-GRU ozone concentration prediction model integrating spatial and statistical features. First, the correlation between spatiotemporal factors and other meteorological factors and ozone concentration is analyzed, and the meteorological pollutant data after missing value filling is further preprocessed using statistical methods and Kriging interpolation method to extract the spatiotemporal characteristics of ozone concentration data. At the same time, other meteorological factors are integrated, and a three-branch parallel prediction model of statistics, CNN and GRU is used to obtain the final ozone concentration prediction result. The prediction model of the present invention is superior to the CNN, LSTM, GRU, Convlstm, CNN-LSTM (parallel) and CNN-GRU (parallel) prediction models in predicting the ozone concentration in the next one hour and two hours. The prediction model of the present invention integrates spatial and statistical features, extracts features from multiple angles and adopts a parallel network branch structure to obtain a higher prediction accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of ozone concentration prediction, and in particular to a CNN-GRU ozone concentration prediction model establishment method integrating spatial and statistical features, a prediction method and a model. Background Art

[0002] Ozone near the ground is a type of atmospheric pollutant and also a component of photochemical smog. Photochemical reactions occur in the atmosphere to generate secondary pollutants such as nitrogen oxides (NOx) and volatile organic compounds (VOCs) that are harmful to organisms. In addition, exposure to a certain ozone concentration will affect the human cardiovascular and respiratory systems. High concentrations of ozone not only affect human health and cause a variety of diseases, but also hinder the production of crops, affect the development and behavior of insects, and even cause serious harm to the ecological environment. At present, atmospheric environment monitoring stations provide data support for ozone-related research. Through monitoring data, we can understand the current air quality, but we cannot directly observe the development trend of future air quality. Predicting future ozone concentrations can provide scientific support for outdoor workers affected by ozone and government decision-making, and can further protect the ecological environment. Therefore, accurate prediction of ozone concentrations is of great significance.

[0003] At present, the research on ozone concentration prediction can be divided into two categories. One is the prediction model based on traditional methods. For example, Wu Ying et al. used NAQPMS (Nested Air Quality Prediction Model System) and CMAQ (Common Multiscale Air Quality Model) to predict ozone. The correlation coefficients of the two models for O3 prediction were 0.67 and 0.79, respectively, NMB was 1.1% and 2.2%, and NME was 30.5% and 20.7%, respectively (Wu Ying, Wang Yuxiang. Effect test of NAQPMS and CMAQ models in ozone forecast application [J]. Sichuan Environment, 2019, 38(01): 81-84.). This method can roughly predict ozone concentration, but it requires a lot of manpower and material resources, and sometimes the prediction is not accurate. The other type is a prediction model based on machine learning. Compared with traditional prediction models, this type of model uses time series data of ozone concentration and related meteorological factors as model input. Many scholars have built numerical relationship models using machine learning methods such as random forests, BP neural networks, decision trees, and XGBoost to predict the concentration of atmospheric pollutants. This type of model is simple in structure and easy to operate. Jia Pengcheng et al. analyzed the impact of meteorological factors, precursors, and particulate matter on near-ground ozone concentration, and used the q2seq model to predict the ozone concentration in the next hour. The root mean square error of the experimental results was 12.0 μg / m 3 The mean absolute error was 9.27 μg / m 3(Jia Pengcheng. Research on ozone nowcasting technology in the Yangtze River Delta region based on deep learning [D]. Nanjing: Nanjing University of Information Science and Technology, 2021.). Wang Xinlu et al. established a summer ozone pollution potential model for Chengdu based on Chengdu's meteorological data and used machine learning methods such as random forests. The model has a good forecasting effect on the short-term pollution potential of ozone, and the correlation coefficient of the test set is 0.73-0.76 (Wang Xinlu, Huang Ran, Zhang Wenxian, et al. Ozone and PM2.5 pollution potential forecasting model based on machine learning methods - taking Chengdu as an example [J]. Journal of Peking University (Natural Science Edition), 2021, 57(05): 938-950.). Cai Wanghua et al. used the XGBoost model to predict the ozone concentration in the air, taking into account the temporal variation of ozone concentration, and taking into account meteorological conditions and important precursors of ozone generation, and achieved a 90% forecast level accuracy (Cai Wanghua. Using machine learning methods to predict ozone concentration in the air [J]. China Environmental Management, 2018, 10(02): 78-84.). At present, the prediction methods of ozone focus on solving the time dependence of ozone and the relationship between ozone and other environmental factors, while there are few studies on the spatial characteristics and autocorrelation of ozone, that is, there are few studies on the correlation between the historical data of ozone concentration at a single station and the surrounding stations at the same time series and the strong temporal characteristics of ozone itself, resulting in a large room for improvement in the prediction accuracy of ozone. Summary of the invention

[0004] The purpose of the present invention is to provide a CNN-GRU ozone concentration prediction model establishment method, prediction method and model that integrates spatial and statistical features to solve the shortcomings of the prior art.

[0005] The present invention adopts the following technical solutions:

[0006] A method for establishing a CNN-GRU ozone concentration prediction model integrating spatial and statistical features includes the following steps:

[0007] Step 1: Obtain historical data of meteorological pollutants for many years at the atmospheric environment monitoring station to be predicted and multiple atmospheric environment monitoring stations in its surrounding areas, wherein the meteorological pollutants include O3, CO, NO2, SO2, PM2.5 and PM10;

[0008] Step 2: preprocess the meteorological pollutant data obtained in step 1, that is, linearly fill the missing values ​​of the meteorological pollutant data; the preprocessed meteorological pollutant data is divided into training set data and test set data according to time;

[0009] Step 3, performing data analysis on the meteorological pollutant data pre-processed in step 2, including characteristic analysis of the influence of time characteristics, spatial characteristics and other meteorological factors on ozone concentration, wherein the other meteorological factors include CO, NO2, SO2, PM2.5 and PM10;

[0010] Step 4: Based on step 3, the training set data in step 2 is further preprocessed using statistical methods and Kriging interpolation to extract the temporal and spatial correlation characteristics of the data, including:

[0011] (1) Extracting spatial features: The training set data is gridded using the Kriging interpolation method. That is, the coordinates are translated according to the longitude and latitude of each monitoring station. The monitoring station to be predicted is taken as the origin, and multiple monitoring stations are formed into an m×n grid, where m and n are natural numbers, to obtain gridded data. The gridded data is used to extract spatial features using a convolutional neural network as the input of the GRU branch and the CNN branch.

[0012] (2) Extracting statistical features: For the training set data, traverse each time point, calculate the ozone concentration value one hour before the statistical historical prediction time point, the average ozone concentration value in the previous three hours, the difference between the same time point 24 hours ago and the next hour, and the difference between the next hour 24 hours ago and the next two hours. Traverse each time point, add the calculated statistical features to the list, convert the data into a two-dimensional matrix, and then extract it through a fully connected neural network as the output of the statistical branch;

[0013] In step 5, the data after the spatial features are extracted in step 4 (1) are used as the input of the GRU branch and the CNN branch, respectively, through the GRU model and the CNN model to obtain the output of the GRU branch and the output of the CNN branch, combined with the output of the statistical branch in step 4 (2), the three outputs are parallelly spliced ​​as the input of the fully connected neural network to obtain the final output, thereby constructing a CNN-GRU ozone concentration prediction model that integrates spatial and statistical features;

[0014] Step 6: Perform a model test on the CNN-GRU ozone concentration prediction model that integrates spatial and statistical features constructed in step 5 using the test set data, and use the results of the model test to evaluate the prediction accuracy of the CNN-GRU ozone concentration prediction model that integrates spatial and statistical features.

[0015] Furthermore, the climate and environmental conditions of the atmospheric environment monitoring site to be predicted and multiple atmospheric environment monitoring sites in its surrounding areas described in step 1 are similar, and their geographical locations are relatively densely concentrated.

[0016] Furthermore, in step 4(1), a two-dimensional CNN is used for spatial feature extraction; in step 5, a one-dimensional CNN is used as the CNN model, and a two-layer GRU is used as the GRU model.

[0017] Furthermore, step 6 uses the mean absolute error MAE, root mean square error RMSE, and coefficient of determination R 2 Three indicators are used to evaluate the prediction accuracy of ozone concentration prediction results of the constructed CNN-GRU ozone concentration prediction model that integrates spatial and statistical features;

[0018] The expression is as follows:

[0019]

[0020]

[0021]

[0022] in, is the predicted value, y i is the true value, is the mean of the true value, m is the number of samples, and i is the i-th sample.

[0023] A method for predicting ozone concentration comprises the following steps:

[0024] Step 1: Obtain historical data of meteorological pollutants for many years at the atmospheric environment monitoring station to be predicted and multiple atmospheric environment monitoring stations in its surrounding areas, wherein the meteorological pollutants include O3, CO, NO2, SO2, PM2.5 and PM10;

[0025] Step 2: preprocess the meteorological pollutant data obtained in step 1, that is, linearly fill the missing values ​​of the meteorological pollutant data; the preprocessed meteorological pollutant data is divided into training set data and test set data according to time;

[0026] Step 3, performing data analysis on the meteorological pollutant data pre-processed in step 2, including characteristic analysis of the influence of time characteristics, spatial characteristics and other meteorological factors on ozone concentration, wherein the other meteorological factors include CO, NO2, SO2, PM2.5 and PM10;

[0027] Step 4: Based on step 3, the training set data in step 2 is further preprocessed using statistical methods and Kriging interpolation to extract the temporal and spatial correlation characteristics of the data, including:

[0028] (1) Extracting spatial features: The training set data is gridded using the Kriging interpolation method. That is, the coordinates are translated according to the longitude and latitude of each monitoring station. The monitoring station to be predicted is taken as the origin, and multiple monitoring stations are formed into an m×n grid, where m and n are natural numbers, to obtain gridded data. The gridded data is used to extract spatial features using a convolutional neural network as the input of the GRU branch and the CNN branch.

[0029] (2) Extracting statistical features: For the training set data, traverse each time point, calculate the ozone concentration value one hour before the statistical historical prediction time point, the average ozone concentration value in the previous three hours, the difference between the same time point 24 hours ago and the next hour, and the difference between the next hour 24 hours ago and the next two hours. Traverse each time point, add the calculated statistical features to the list, convert the data into a two-dimensional matrix, and then extract it through a fully connected neural network as the output of the statistical branch;

[0030] In step 5, the data after the spatial features are extracted in step 4 (1) are used as the input of the GRU branch and the CNN branch, respectively, through the GRU model and the CNN model to obtain the output of the GRU branch and the output of the CNN branch, combined with the output of the statistical branch in step 4 (2), the three outputs are parallelly spliced ​​as the input of the fully connected neural network to obtain the final output, thereby constructing a CNN-GRU ozone concentration prediction model that integrates spatial and statistical features;

[0031] Step 6: Perform a model test on the CNN-GRU ozone concentration prediction model of the fusion space and statistical features constructed in step 5 using the test set data, and use the results of the model test to evaluate the prediction accuracy of the CNN-GRU ozone concentration prediction model of the fusion space and statistical features;

[0032] Step 7: Using the CNN-GRU ozone concentration prediction model that integrates spatial and statistical features, the ozone concentration data from the previous 24 hours to the present is used as the model input to obtain the ozone concentration at the predicted time.

[0033] Furthermore, the climate and environmental conditions of the atmospheric environment monitoring site to be predicted and multiple atmospheric environment monitoring sites in its surrounding areas described in step 1 are similar, and their geographical locations are relatively densely concentrated.

[0034] Furthermore, in step 4(1), a two-dimensional CNN is used for spatial feature extraction; in step 5, a one-dimensional CNN is used as the CNN model, and a two-layer GRU is used as the GRU model.

[0035] Furthermore, step 6 uses the mean absolute error MAE, root mean square error RMSE, and coefficient of determination R 2 Three indicators are used to evaluate the prediction accuracy of ozone concentration prediction results of the constructed CNN-GRU ozone concentration prediction model that integrates spatial and statistical features;

[0036] The expression is as follows:

[0037]

[0038]

[0039]

[0040] in, is the predicted value, y i is the true value, is the mean of the true value, m is the number of samples, and i is the i-th sample.

[0041] Furthermore, in step 7, the predicted time is one hour in the future or two hours in the future.

[0042] A CNN-GRU ozone concentration prediction model integrating spatial and statistical features is constructed by any of the above methods.

[0043] Beneficial effects of the present invention:

[0044] In order to further improve the accuracy of ozone concentration prediction, the present invention constructs a CNN-GRU ozone concentration prediction model that integrates spatial and statistical features. First, the correlation between spatiotemporal factors and other meteorological factors (including CO, NO2, SO2, PM2.5 and PM10) and ozone concentration is analyzed. The meteorological pollutants (including O3, CO, NO2, SO2, PM2.5 and PM10) data after missing value filling are further preprocessed using statistical methods and Kriging interpolation method to extract the spatiotemporal characteristics of ozone concentration data. At the same time, other meteorological factors are integrated, and the final ozone concentration prediction result is obtained by using a prediction model that integrates statistical branches, CNN branches and GRU branches in parallel. The results show that the CNN-GRU ozone concentration prediction model that integrates spatial and statistical features has an R of 1.0 in predicting the ozone concentration in the next hour. 2 , RMSE and MAE values ​​are 0.9598, 11.9508 and 8.2753 respectively, and the ozone concentration R in the next two hours 2 The values ​​of RMSE and MAE are 0.8985, 18.5373 and 13.0045 respectively, which are better than the prediction models of CNN, LSTM, GRU, Convlstm, CNN-LSTM (parallel) and CNN-GRU (parallel). Since the prediction model of the present invention integrates spatial and statistical features, extracts features from multiple angles and adopts the structure of three parallel network branches: statistical branch, CNN branch and GRU branch, a higher prediction accuracy is obtained and it has better robustness. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 These are the 9 national air environment monitoring stations in Hangzhou.

[0046] Figure 2 This is a visual graph of the changes in ozone concentration at the Zhejiang Agricultural University site in Hangzhou from 2017 to 2019.

[0047] Figure 3is the daily average change of ozone concentration at each station in Hangzhou.

[0048] Figure 4 This is a heat map of the correlation between ozone concentrations among the stations (XS represents the Xiasha station in Hangzhou, LP represents the Linping station in Hangzhou, YX represents the Yunqi station in Hangzhou, HWB represents the Wolongqiao station in Hangzhou, HM represents the Hemu Primary School station in Hangzhou, CX represents the Chengxiang station in Hangzhou, ZAU represents the Zhejiang Agricultural University station in Hangzhou, BJ represents the Binjiang station in Hangzhou, and XX represents the Xixi station in Hangzhou).

[0049] Figure 5 This is a heat map of the correlation between ozone concentrations and other meteorological pollutants.

[0050] Figure 6 This is the structural diagram of the CNN-GRU ozone concentration prediction model that integrates spatial and statistical features.

[0051] Figure 7 This is the GRU model structure diagram.

[0052] Figure 8 Prediction accuracy for different models.

[0053] Fig. 9 The measured values ​​and predicted values ​​of different models in the next hour (from left to right, from top to bottom are Statical_last3, Statical_last1, Spa-Convlstm, NSpa-LSTM, NSpa-GRU, NSpa-CNN, Spa-CNN-LSTM, Spa-CNN-GRU, Spa-sta-CNN-GRU).

[0054] Fig.10 The measured values ​​and predicted values ​​of different models in the next two hours (from left to right, from top to bottom are Statical_last3, Statical_last1, Spa-Convlstm, NSpa-GRU, NSpa-LSTM, NSpa-CNN, Spa-CNN-LSTM, Spa-CNN-GRU, Spa-sta-CNN-GRU).

[0055] Fig.11 Comparison between the ozone concentration predictions for the next hour by each model and the measured results.

[0056] Fig.12 Comparison between the ozone concentration predictions of each model for the next two hours and the measured results. DETAILED DESCRIPTION

[0057] The present invention is further explained below in conjunction with the examples and drawings. The following examples are only used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0058] A method for establishing a CNN-GRU ozone concentration prediction model integrating spatial and statistical features includes the following steps:

[0059] Step 1: Acquire historical data of meteorological pollutants for many years at the atmospheric environment monitoring station to be predicted and multiple atmospheric environment monitoring stations in its surrounding areas, wherein the meteorological pollutants include O3, CO, NO2, SO2, PM2.5 and PM10; the atmospheric environment monitoring station to be predicted and multiple atmospheric environment monitoring stations in its surrounding areas have similar climatic and environmental conditions, and are relatively densely located; the atmospheric environment monitoring station is preferably a national atmospheric environment monitoring station;

[0060] Step 2: preprocess the meteorological pollutant data obtained in step 1, that is, linearly fill the missing values ​​of the meteorological pollutant data; the preprocessed meteorological pollutant data is divided into training set data and test set data according to time;

[0061] Step 3, performing data analysis on the meteorological pollutant data pre-processed in step 2, including characteristic analysis of the influence of time characteristics, spatial characteristics and other meteorological factors on ozone concentration, wherein the other meteorological factors include CO, NO2, SO2, PM2.5 and PM10;

[0062] Step 4: Based on step 3, the training set data in step 2 is further preprocessed using statistical methods and Kriging interpolation to extract the temporal and spatial correlation characteristics of the data, including:

[0063] (1) Extracting spatial features: The training set data is gridded using the Kriging interpolation method. That is, the coordinates are translated according to the longitude and latitude of each monitoring station. The monitoring station to be predicted is taken as the origin, and multiple monitoring stations are formed into an m×n grid, where m and n are natural numbers, to obtain gridded data. The gridded data is subjected to spatial feature extraction using a convolutional neural network, which is used as the input of the GRU branch and the CNN branch. The convolutional neural network is a two-dimensional CNN.

[0064] (2) Extracting statistical features: For the training set data, traverse each time point, calculate the ozone concentration value one hour before the statistical historical prediction time point, the average ozone concentration value in the previous three hours, the difference between the same time point 24 hours ago and the next hour, and the difference between the next hour 24 hours ago and the next two hours. Traverse each time point, add the calculated statistical features to the list, convert the data into a two-dimensional matrix, and then extract it through a fully connected neural network as the output of the statistical branch;

[0065] In step 5, the data after the spatial features are extracted in step 4 (1) are used as the input of the GRU branch and the CNN branch, respectively, through the GRU model and the CNN model to obtain the output of the GRU branch and the output of the CNN branch, combined with the output of the statistical branch in step 4 (2), the three outputs are parallelly spliced ​​as the input of the fully connected neural network to obtain the final output, thereby constructing a CNN-GRU ozone concentration prediction model that integrates spatial and statistical features; wherein the CNN model adopts a one-dimensional CNN, and the GRU model adopts a double-layer GRU;

[0066] Step 6: Perform a model test on the CNN-GRU ozone concentration prediction model of the fusion space and statistical features constructed in step 5 using the test set data, and use the results of the model test to evaluate the prediction accuracy of the CNN-GRU ozone concentration prediction model of the fusion space and statistical features;

[0067] Among them, the mean absolute error MAE, root mean square error RMSE, and determination coefficient R are used. 2 Three indicators are used to evaluate the prediction accuracy of ozone concentration prediction results of the constructed CNN-GRU ozone concentration prediction model that integrates spatial and statistical features;

[0068] The expression is as follows:

[0069]

[0070]

[0071]

[0072] in, is the predicted value, y i is the true value, is the mean of the true value, m is the number of samples, and i is the i-th sample.

[0073] A method for predicting ozone concentration comprises the following steps:

[0074] Step 1: Acquire historical data of meteorological pollutants for many years at the atmospheric environment monitoring station to be predicted and multiple atmospheric environment monitoring stations in its surrounding areas, wherein the meteorological pollutants include O3, CO, NO2, SO2, PM2.5 and PM10; the atmospheric environment monitoring station to be predicted and multiple atmospheric environment monitoring stations in its surrounding areas have similar climatic and environmental conditions, and are relatively densely located; the atmospheric environment monitoring station is preferably a national atmospheric environment monitoring station;

[0075] Step 2: preprocess the meteorological pollutant data obtained in step 1, that is, linearly fill the missing values ​​of the meteorological pollutant data; the preprocessed meteorological pollutant data is divided into training set data and test set data according to time;

[0076] Step 3, performing data analysis on the meteorological pollutant data pre-processed in step 2, including characteristic analysis of the influence of time characteristics, spatial characteristics and other meteorological factors on ozone concentration, wherein the other meteorological factors include CO, NO2, SO2, PM2.5 and PM10;

[0077] Step 4: Based on step 3, the training set data in step 2 is further preprocessed using statistical methods and Kriging interpolation to extract the temporal and spatial correlation characteristics of the data, including:

[0078] (1) Extracting spatial features: The training set data is gridded using the Kriging interpolation method. That is, the coordinates are translated according to the longitude and latitude of each monitoring station. The monitoring station to be predicted is taken as the origin, and multiple monitoring stations are formed into an m×n grid, where m and n are natural numbers, to obtain gridded data. The gridded data is subjected to spatial feature extraction using a convolutional neural network, which is used as the input of the GRU branch and the CNN branch. The convolutional neural network is a two-dimensional CNN.

[0079] (2) Extracting statistical features: For the training set data, traverse each time point, calculate the ozone concentration value one hour before the statistical historical prediction time point, the average ozone concentration value in the previous three hours, the difference between the same time point 24 hours ago and the next hour, and the difference between the next hour 24 hours ago and the next two hours. Traverse each time point, add the calculated statistical features to the list, convert the data into a two-dimensional matrix, and then extract it through a fully connected neural network as the output of the statistical branch;

[0080] In step 5, the data after the spatial features are extracted in step 4 (1) are used as the input of the GRU branch and the CNN branch, respectively, through the GRU model and the CNN model to obtain the output of the GRU branch and the output of the CNN branch, combined with the output of the statistical branch in step 4 (2), the three outputs are parallelly spliced ​​as the input of the fully connected neural network to obtain the final output, thereby constructing a CNN-GRU ozone concentration prediction model that integrates spatial and statistical features; wherein the CNN model adopts a one-dimensional CNN, and the GRU model adopts a double-layer GRU;

[0081] Step 6: Perform a model test on the CNN-GRU ozone concentration prediction model of the fusion space and statistical features constructed in step 5 using the test set data, and use the results of the model test to evaluate the prediction accuracy of the CNN-GRU ozone concentration prediction model of the fusion space and statistical features;

[0082] Among them, the mean absolute error MAE, root mean square error RMSE, and determination coefficient R are used. 2Three indicators are used to evaluate the prediction accuracy of ozone concentration prediction results of the constructed CNN-GRU ozone concentration prediction model that integrates spatial and statistical features;

[0083] The expression is as follows:

[0084]

[0085]

[0086]

[0087] in, is the predicted value, y i is the true value, is the average value of the true value, m is the number of samples, and i is the i-th sample;

[0088] Step 7: Using the CNN-GRU ozone concentration prediction model that integrates spatial and statistical features, the ozone concentration data from the previous 24 hours to the present is used as model input to obtain the ozone concentration at the predicted time, and the predicted time is preferably the next hour or the next two hours.

[0089] Example 1 Construction of CNN-GRU ozone concentration prediction model integrating spatial and statistical features

[0090] This embodiment constructs a CNN-GRU ozone concentration prediction model that integrates spatial and statistical features, uses an adam optimizer, has an initial learning rate of 0.01, 30 iterations, and a batch size of 128.

[0091] Step 1: Obtain the national atmospheric environment monitoring stations in Hangzhou, Zhejiang Province (such as Figure 1As shown, the meteorological pollutants of Xiasha Station in Hangzhou, Linping Town Station in Hangzhou, Yunqi Station in Hangzhou, Wolong Bridge Station in Hangzhou, Hemu Primary School Station in Hangzhou, Chengxiang Town Station in Hangzhou, Zhejiang Agricultural University Station in Hangzhou (geographically located at the current Huajiachi Campus of Zhejiang University), Binjiang Station in Hangzhou, and Xixi Station in Hangzhou) are historical data for many years, specifically the hourly monitoring data from May 1, 2017 to June 29, 2019. The meteorological pollutants include O3, CO, NO2, SO2, PM2.5 and PM10. In this embodiment, the Zhejiang Agricultural University station is used as the atmospheric environment monitoring station to be predicted. Considering the use of the spatial characteristics of the station to improve the accuracy of the model prediction, the selection of the station requires similar climate and environmental conditions and relatively dense and concentrated geographical locations. There are a total of 10 national atmospheric environment monitoring stations in Hangzhou, Zhejiang Province. Among them, the Hangzhou Qiandao Lake station is located in the southern part of Hangzhou. Qiandao Lake has unique microclimate resources affected by water bodies and forests due to its artificial lake and forest park. Its climate characteristics are not similar to those of the other 9 stations in Hangzhou, and its longitude and latitude are larger than those of the other stations. Therefore, the data of this station are not considered.

[0092] Step 2: Because some meteorological pollutant data are missing, the isnull function in the Pandas library is used to check and it is found that the meteorological pollutant data in the station data are missing to varying degrees. Therefore, the meteorological pollutant data obtained in step 1 are preprocessed, that is, the missing values ​​of the meteorological pollutant data are linearly filled. Since the data is time series data, in the preprocessing of missing values, the date is converted into an index, and the linear interpolation method is used to fill the data using the set difference operation, and the data of each station is taken out for separate processing and stored in a dictionary. Finally, the preprocessed data is synthesized into a training set and a test set. The training set data and the test set data are divided according to time. Specifically, a total of 8735 data from May 1, 2017 to April 30, 2018 are used as the training set, and a total of 10175 data from May 1, 2018 to June 29, 2019 are used as the test set.

[0093] Step 3: Perform data analysis on the meteorological pollutant data pre-processed in step 2, including characteristic analysis of the influence of time characteristics, spatial characteristics and other meteorological factors on ozone concentration, wherein the other meteorological factors include CO, NO2, SO2, PM2.5 and PM10; the details are as follows:

[0094] (1) Time characteristic analysis

[0095] Analyzing the autocorrelation of time series data can help us better understand the changing patterns of target factors. Figure 2This is a visual graph of the changes in ozone concentration at the Zhejiang Agricultural University site in Hangzhou from 2017 to 2019. The changes in ozone concentration show obvious seasonal characteristics. The overall concentration is high in summer and low in winter, with a strong time correlation.

[0096] Analyze the daily average changes in ozone concentration at a single station, such as Figure 3 As shown, the ozone concentration at each station continued to increase from 8 a.m. to 3 p.m., reached its highest value around 3 p.m., and showed a downward trend after 6 p.m.

[0097] (2) Spatial feature analysis

[0098] Due to the uneven distribution of national atmospheric environment monitoring stations, sparse monitoring stations and monitoring blank areas cannot meet people's daily monitoring needs for ozone concentration values. In order to explore the spatial characteristics of ozone concentration, this paper conducts ozone research on the range of 9 national atmospheric environment monitoring stations in Hangzhou. Figure 3 It can be seen that the daily trends of ozone concentrations based on time series at the nine adjacent stations are basically consistent, showing a high spatial correlation.

[0099] Since pollutants are scattered among different stations, analyzing the data of adjacent stations can supplement the spatial correlation of ozone concentration. By calculating the Pearson correlation coefficient of ozone concentration between stations, the heat map is as follows: Figure 4 As shown. Figure 4 It can be seen that the correlation between ozone concentrations at different stations is different, with correlation coefficients ranging from 0.86 to 0.96. This shows that, to a certain extent, the ozone concentrations at different stations will affect each other. Therefore, using spatial characteristics as input to the model is expected to improve the prediction accuracy of the model.

[0100] (3) Correlation analysis between ozone and other meteorological factors

[0101] There is mutual transformation between air particles at the physical and chemical levels, and they also affect each other during the transportation process. There is a relatively complex linear relationship between them. Figure 5 is a heat map of the correlation between ozone and other meteorological pollutants. Figure 5It can be seen that ozone shows a relatively obvious negative correlation with other meteorological pollutants, among which the correlation coefficient with NO2 is the highest, reaching 0.49. NO2 and CO are precursors of ozone, and ozone is generated after photochemical reactions. Therefore, they are negatively correlated with ozone concentration, with correlation coefficients of 0.49 and 0.26, respectively. When the content of PM2.5 and PM10 in the air is high, it is easy to increase the optical thickness of aerosols and slow down the formation of O3. Therefore, it is also negatively correlated with ozone, with correlation coefficients of 0.13 and 0.1, respectively. In summary, other meteorological pollutants at the site have a certain impact on ozone concentration. Therefore, 5 other meteorological factors (CO, NO2, SO2, PM2.5 and PM10) are added to the model as feature inputs to improve the accuracy of ozone concentration prediction.

[0102] Step 4: Based on step 3, the training set data in step 2 is further preprocessed using statistical methods and Kriging interpolation to extract the temporal and spatial correlation characteristics of the data, including:

[0103] (1) Extracting spatial features: Since the distribution density of the site ozone data is uneven, in order to utilize the spatial correlation characteristics of the site ozone concentration, the Kriging interpolation method is used to grid the training set data. The Kriging interpolation method is a method based on the theory of variogram and regional structure analysis, which considers the spatial position relationship of the sample points and performs optimal unbiased estimation of the regionalized variable. Its expression is:

[0104]

[0105] In the formula, is the estimated value of the forecast point, z i is the actual measured value of point i near the predicted point, λ i is the undetermined weight coefficient, and n is the total number of samples.

[0106] According to the longitude and latitude of each monitoring station, coordinate translation is performed, and the monitoring station to be predicted is used as the origin. Multiple monitoring stations are formed into m×n grids, where m and n are natural numbers, to obtain gridded data. The Kriging interpolation method performs gridding processing based on the input station data, and the spatial properties of the data are considered while gridding.

[0107] In this embodiment, the Zhejiang Agricultural University site is taken as the origin, and 9 sites form a 7×7 grid to obtain grid data, which can better observe the spatial distribution of data in the region. The Kriging interpolation method converts the existing site data into grid data, which is convenient for using a convolutional neural network (CNN) to extract spatial features.

[0108] In order to ensure the stability of the prediction effect and reduce the complexity of the network model, the present invention uses two-dimensional CNN to extract spatial features. The feature expression ability of two-dimensional CNN is conducive to automatically extracting common features of high-dimensional time series data at different levels. The specific steps are: after the Kriging interpolation method, the data is in the form of total number of samples × 7 × 7 × 6 (6 is the concentration data of O3, CO, NO2, SO2, PM2.5 and PM10), and the convolution kernel is 7 × 7. Convolution pooling is performed, and the output obtained is the total number of samples × 6, thereby achieving the purpose of extracting spatial features, and the data after extracting spatial features is used as the input of the GRU branch and the CNN branch.

[0109] (2) Extracting statistical features: There is autocorrelation in time series, and its value at a certain moment will be affected by the value at another moment. The present invention uses time features based on the statistical domain as a branch of the prediction model. Specifically, for the training set data, each time point is traversed to calculate the ozone concentration value one hour before the statistical historical prediction time point, the average ozone concentration value in the previous three hours, the difference between the same time point 24 hours ago and the next hour, and the difference between the next hour 24 hours ago and the next two hours. Each time point is traversed, the calculated statistical features are added to the list, the data is converted into a two-dimensional matrix, and then extracted through a fully connected neural network as the output of the statistical branch.

[0110] In step 5, the data after the spatial features are extracted in step 4 (1) are used as the input of the GRU branch and the CNN branch, respectively, through the GRU model and the CNN model to obtain the output of the GRU branch and the output of the CNN branch. Combined with the output of the statistical branch in step 4 (2), the three outputs are spliced ​​in parallel as the input of the fully connected neural network to obtain the final output, thereby constructing a CNN-GRU ozone concentration prediction model that integrates spatial and statistical features, as shown in Figure 6 The prediction model structure of the present invention has three branches, namely, a GRU branch, a CNN branch and a statistical branch, and the three branches are parallel network structures.

[0111] In the network architecture design of the CNN branch, the present invention uses a one-dimensional CNN to input data with spatial features into two repeated convolutional layers, extracts as many features as possible with fewer network layers, avoids the loss of important features after the pooling layer, selects a convolution kernel of 3×3, and a pooling layer size of 2×2. After convolution pooling, the data is input into the Dense layer, the number of neurons in the first hidden layer is set to 32, and the number of neurons in the second hidden layer is set to 2, to obtain the output of the CNN branch.

[0112] The GRU model used in the present invention adopts a double-layer GRU structure, and adopts two recursive unit expansion forms: one-to-one and many-to-one, so that the model generates a new memory state for the input time series data at each time step, and can update the memory at the last time step. The calculation formula of GRU is as follows:

[0113] z t =σ(W z [h t-1 , x t ]) (1)

[0114] r t =σ(W r [h t-1 , x t ]) (2)

[0115]

[0116]

[0117] y t =σ(W o h t ) (5)

[0118] In the formula, x t represents input, W z represents the update gate weight matrix, W r represents the reset gate weight matrix, W represents the candidate hidden state weight matrix, Wo represents the output weight matrix, σ represents the activation function, h t represents the hidden layer output, y t Represents the output. Formulas (1) and (2) are the calculation formulas for the update gate and the reset gate, respectively. Formula (3) is the new candidate vector created by the tan h layer. The function of the update gate is similar to the forget gate and input gate in LSTM, which is used to determine the importance of the input, as shown in formula (4). The reset gate is used to decide whether to forget the hidden state h of the previous moment. t-1 The unimportant part of the GRU model is as follows Figure 7 As shown, combined with the current input x t and the hidden state h passed down from the previous node t-1 , GRU can calculate the output y of the hidden node at this time t and the hidden state h transmitted to the next node t The GRU model has relatively few network parameters and a simple structure, which can reduce overfitting and further improve training efficiency.

[0119] The fully connected neural network uses the linear rectification function (Relu activation function) as the activation function, which has sparse activation characteristics and avoids overfitting. Its expression is as follows:

[0120] f(x) = max(0, x)

[0121] x represents the input value, which represents the input vector x in a fully connected neural network.

[0122] Step 6: Perform a model test on the CNN-GRU ozone concentration prediction model of the fusion space and statistical features constructed in step 5 using the test set data, and use the results of the model test to evaluate the prediction accuracy of the CNN-GRU ozone concentration prediction model of the fusion space and statistical features;

[0123] Among them, in order to more intuitively evaluate the prediction accuracy of the model, the mean absolute error MAE, root mean square error RMSE, and determination coefficient R are used. 2 Three indicators are used to evaluate the prediction accuracy of ozone concentration prediction results of the constructed CNN-GRU ozone concentration prediction model that integrates spatial and statistical features;

[0124] The expression is as follows:

[0125]

[0126]

[0127]

[0128] in, is the predicted value, y i is the true value, is the mean of the true value, m is the number of samples, and i is the i-th sample.

[0129] Evaluation of the prediction effect of the CNN-GRU ozone concentration prediction model integrating spatial and statistical features constructed in Example 2

[0130] (1) Impact of spatial features on prediction results

[0131] Through spatial feature analysis, it can be seen that, to a certain extent, the area where the station is located will have different degrees of influence on the surrounding stations. Therefore, the spatial features of the stations around the predicted station can be extracted to improve the accuracy of ozone concentration prediction. The Zhejiang Agricultural University station is located in a central position among the 9 stations in Hangzhou. The experimental model prediction uses the ozone data of the Zhejiang Agricultural University station as a representative. The CNN (NSpa-CNN), LSTM (NSpa–LSTM), GRU (NSpa-GRU) models not based on spatial features and the CNN-LSTM (Spa-CNN-LSTM) and CNN-GRU (Spa-CNN-GRU) models based on spatial features are used to predict the ozone concentration in the next hour and two hours, and the experimental results are analyzed and compared. The results are shown in Table 1. Observing the experimental results, the CNN-GRU (Spa-CNN-GRU) model based on spatial features has the best effect in predicting the ozone concentration in the next hour, R 2 It can reach 0.9468, RMSE is 13.4237, MAE is 9.6685, compared with the model not based on spatial features (NSpa-LSTM), R 2 , RMSE and MAE increased by 1.53%, 10.21% and 6.74% respectively. The experimental results show that the CNN-GRU (Spa-CNN-GRU) model based on spatial features is better than the CNN-LSTM (Spa-CNN-LSTM) model based on spatial features, and is much better than the independent model not based on spatial features. The experiment is more effective in predicting ozone concentration in the next two hours. 2 , RMSE and MAE are improved by 1.89%, 4.60% and 7.65% respectively compared with NSpa-GRU, which fully proves that adding spatial features has a good effect on ozone concentration prediction.

[0132] Table 1 Comparison of spatial characteristics on ozone concentration prediction results

[0133]

[0134] (2) Impact of statistical characteristics on prediction results

[0135] Through the time characteristic analysis, it can be seen that the time series has strong autocorrelation, and its value at one moment will be affected by the value at another moment. As shown in Table 2, the experimental statistics of the model R of the ozone concentration value in the previous hour for the ozone concentration in the next hour 2 The prediction model R of the ozone concentration in the next hour is based on the average ozone concentration in the previous three hours. 2It also reaches 0.7826. Therefore, it is considered to add the time feature based on the statistical domain to the model as a branch of the prediction model. The ozone concentration value of the previous hour and the average ozone concentration value of the previous three hours, the difference between the same time point 24 hours ago and the next hour, and the difference between the next hour and the next two hours 24 hours ago are used as feature inputs. The CNN-GRU (Spasta-CNN-GRU) model based on spatial features and statistical features, that is, the CNN-GRU ozone concentration prediction model that integrates spatial and statistical features constructed in Example 1, predicts the R value of the ozone concentration model in the next hour. 2 The R value of the ozone concentration model for the next two hours was increased to 0.9598, and the RMSE and MAE were 11.9508 and 8.2753 respectively. 2 , RMSE and MAE are improved by 56.45%, 51.19% and 48.68% respectively compared with the traditional statistical model (Statical_last3), indicating that the method of using statistical features as model branches has better prediction accuracy.

[0136] Table 2 Comparison of statistical characteristics on ozone concentration prediction results

[0137]

[0138] (3) Impact of network model structure on prediction results

[0139] In order to explore the influence of different network model structures on accuracy, the CNN-GRU parallel model (i.e., Spa-CNN-GRU in this embodiment (1)), the CNN-LSTM parallel model (i.e., Spa-CNN-LSTM in this embodiment (1)) and the Convlstm serial model are compared. The results are shown in Table 3. The prediction results are as follows: CNN-GRU parallel model, CNN-LSTM parallel model, Convlstm serial model. The R of ozone concentration predicted by CNN-GRU parallel model in the next hour is 2 , RMSE and MAE were improved by 2.01%, 13.98% and 17.07% respectively compared with the Convlstm serial model, and the R 2 , RMSE and MAE are improved by 5.68%, 15.17% and 23.95% respectively compared with the Convlstm serial model. This result shows that by combining the high-dimensional feature extraction capability of CNN and the time series storage capability of GRU, the model's fitting ability in processing complex data can be improved. The model used in this experiment is parallelized by two branches, which can extract features from multiple angles to achieve better prediction results compared with the traditional serial model.

[0140] Table 3 Comparison of network model structure on ozone concentration prediction results

[0141]

[0142] (4) Impact of different models on ozone concentration prediction

[0143] In order to verify the accuracy of the CNN-GRU (Spa-sta-CNN-GRU) model based on spatial features and statistical features, that is, the CNN-GRU ozone concentration prediction model that integrates spatial and statistical features constructed in Example 1, the ozone concentration in the previous hour, the average ozone concentration in the previous three hours, CNN without spatial features (NSpa-CNN), LSTM without spatial features (NSpa-LSTM), GRU without spatial features (NSpa-GRU), Convlstm based on spatial features (Spa-Convlstm, i.e., the Convlstm serial model in this Example (3)), CNN-LSTM based on spatial features (Spa-CNN-LSTM), and CNN-GRU based on spatial features (Spa-CNN-GRU) models were selected for comparative experiments. The comparison between the predicted values ​​and actual values ​​of different models for the next hour and the next two hours is as follows. Figures 8 to 12 shown.

[0144] Depend on Figure 8 It can be seen that the accuracy of the CNN-GRU ozone concentration prediction model based on spatial and statistical features (Spa-sta-CNN-GRU) model, i.e., the CNN-GRU ozone concentration prediction model integrating spatial and statistical features constructed in Example 1, is improved compared with other models, and the effect of predicting the ozone concentration in the next two hours is more obvious, R 2 Improved by 8.0% (compared to Spa-Convlstm). Figures 9 to 12 It can be known that, compared to statistical model, the model experimental result based on machine learning method fits better, and accuracy is higher.The fitting effect using a single prediction model is significantly inferior to the combined model.In the combined model, the Convlstm model adopts a network structure in series, and the prediction accuracy is not as good as other parallel machine learning prediction models (Spa-CNN-LSTM and Spa-CNN-GRU), and the model is adjusted in network structure, and the network structure in series is changed to a parallel network structure, and the improved parallel CNN-GRU combined prediction model and the fitting effect of actual value are optimized.After the improved parallel CNN-GRU combined prediction model adds spatial features and statistical features, the best fitting effect with actual value is obtained, indicating that the CNN-GRU ozone concentration prediction model of the fusion space and statistical features constructed by the CNN-GRU (Spa-sta-CNN-GRU) model based on spatial features and statistical features, i.e., embodiment 1, has higher prediction accuracy.

[0145] The model parameter setting codes involved in Example 2 are as follows:

[0146] NSpa-CNN:

[0147] model.add(Conv1D(input_shape=(time_step,6),filters=32,kernel_size=3,padding='same'))

[0148] model.add(Conv1D(input_shape=(time_step,6),filters=32,kernel_size=3,padding='same'))

[0149] model.add(MaxPooling1D())

[0150] model.add(Flatten())

[0151] model.add(Dense(units=2,activation='linear'))

[0152] NSpa-LSTM:

[0153] model=Sequential()

[0154] model.add(LSTM(input_shape=(time_step,6),units=32,return_sequences=True))

[0155] model.add(LSTM(units=8))

[0156] model.add(Flatten())

[0157] model.add(Dense(units=2,activation='linear'))

[0158] NSpa-GRU:

[0159] model=Sequential()

[0160] model.add(GRU(input_shape=(time_step,6),units=32,return_sequences=True))

[0161] model.add(GRU(units=8))

[0162] model.add(Flatten())

[0163] model.add(Dense(units=2, activation='linear'))

[0164] Spa-CNN-LSTM:

[0165] # CNN branch

[0166] x1 = Conv1D(filters=32, kernel_size=3, activation='relu')(out)

[0167] x1 = Conv1D(filters=32, kernel_size=3, activation='relu')(x1)

[0168] x1 = MaxPooling1D()(x1)

[0169] x1 = Flatten()(x1)

[0170] x1 = Dense(32, activation='relu')(x1)

[0171] x1 = Dense(pre_step, activation='linear')(x1)

[0172] # LSTM branch

[0173] x2 = LSTM(units=32, return_sequences=True)(out)

[0174] x2 = LSTM(units=16, return_sequences=False)(x2)

[0175] x2 = Dense(32, activation='relu')(x2)

[0176] x2 = Dense(pre_step, activation='linear')(x2)

[0177] # Connection

[0178] x3 = Concatenate()([x1, x2])

[0179] x3 = Dense(32, activation='relu')(x3)

[0180] x3 = Dense(pre_step, activation='linear')(x3)

[0181] model = Model(inputs, x3)

[0182] Spa-CNN-GRU:

[0183] # CNN branch

[0184] x1 = Conv1D(filters = 32, kernel_size = 3, activation='relu')(out)

[0185] x1 = Conv1D(filters = 32, kernel_size = 3, activation='relu')(x1)

[0186] x1 = MaxPooling1D()(x1)

[0187] x1 = Flatten()(x1)

[0188] x1 = Dense(32, activation='relu')(x1)

[0189] x1 = Dense(pre_step, activation='linear')(x1)

[0190] # GRU branch

[0191] x2 = GRU(units = 32, return_sequences = True)(out)

[0192] x2 = GRU(units = 16, return_sequences = False)(x2)

[0193] x2 = Dense(32, activation='relu')(x2)

[0194] x2 = Dense(pre_step, activation='linear')(x2)

[0195] # Connection

[0196] x3 = Concatenate()([x1, x2])

[0197] x3 = Dense(32, activation='relu')(x3)

[0198] x3 = Dense(pre_step, activation='linear')(x3)

[0199] model = Model(inputs, x3)

[0200] Spa-Convlstm:

[0201] model.add(ConvLSTM2D(input_shape=(time_step, 7, 7, 6), filters=32, kernel_size=(3, 3), padding='same', return_sequences=False))

[0202] model.add(Flatten())

[0203] model.add(Dense(units=32, activation='relu'))

[0204] model.add(Dense(units=2, activation='linear'))

[0205] Spa-sta-CNN-GRU:

[0206] # Statistical feature branch

[0207] inputs1 = Input(shape=(df_static_train.shape[1] - 1,))

[0208] x0 = Dense(units=64, activation='relu')(inputs1)

[0209] x0 = Dense(units=32, activation='relu')(x0)

[0210] x0 = Dense(units=pre_step, activation='linear')(x0)

[0211] # CNN input and GRU input

[0212] inputs2 = Input(shape=(time_step, 7, 7, 6))

[0213] out = Conv2D(filters=filters_num, kernel_size=(7, 7), activation='relu')(inputs2)

[0214] out = Reshape((time_step, filters_num))(out)

[0215] # CNN branch

[0216] x1 = Conv1D(filters=32, kernel_size=3, activation='relu')(out)

[0217] x1 = Conv1D(filters=32, kernel_size=3, activation='relu')(x1)

[0218] x1 = MaxPooling1D()(x1)

[0219] x1 = Flatten()(x1)

[0220] x1 = Dense(32, activation='relu')(x1)

[0221] x1 = Dense(pre_step, activation='linear')(x1)

[0222] # GRU branch

[0223] x2 = GRU(units=32, return_sequences=True)(out)

[0224] x2 = GRU(units=32, return_sequences=False)(x2)

[0225] x2 = Dense(32, activation='relu')(x2)

[0226] x2 = Dense(pre_step, activation='linear')(x2)

[0227] # Connection

[0228] x3 = Concatenate()([x0, x1, x2])

[0229] x3=Dense(32,activation='relu')(x3)

[0230] x3=Dense(pre_step,activation='linear')(x3)

[0231] model=Model([inputs1,inputs2],x3)

Claims

1. A method for establishing a CNN-GRU ozone concentration prediction model integrating spatial and statistical features, characterized in that: The steps include: Step 1: Obtain historical data of meteorological pollutants for many years at the atmospheric environment monitoring station to be predicted and multiple atmospheric environment monitoring stations in its surrounding areas, wherein the meteorological pollutants include O3, CO, NO2, SO2, PM2.5 and PM10; Step 2: preprocess the meteorological pollutant data obtained in step 1, that is, linearly fill the missing values ​​of the meteorological pollutant data; the preprocessed meteorological pollutant data is divided into training set data and test set data according to time; Step 3, performing data analysis on the meteorological pollutant data pre-processed in step 2, including characteristic analysis of the influence of time characteristics, spatial characteristics and other meteorological factors on ozone concentration, wherein the other meteorological factors include CO, NO2, SO2, PM2.5 and PM10; Step 4: Based on step 3, the training set data in step 2 is further preprocessed using statistical methods and Kriging interpolation to extract the temporal and spatial correlation characteristics of the data, specifically including: (1) Extracting spatial features: The training set data is gridded using the Kriging interpolation method. That is, the coordinates are translated according to the longitude and latitude of each monitoring station. The monitoring station to be predicted is taken as the origin, and multiple monitoring stations are formed into an m×n grid, where m and n are natural numbers, to obtain gridded data. The gridded data is used to extract spatial features using a convolutional neural network as the input of the GRU branch and the CNN branch. (2) Extracting statistical features: For the training set data, traverse each time point, calculate the ozone concentration value one hour before the statistical historical prediction time point, the average ozone concentration value in the previous three hours, the difference between the same time point 24 hours ago and the next hour, and the difference between the next hour 24 hours ago and the next two hours. Traverse each time point, add the calculated statistical features to the list, convert the data into a two-dimensional matrix, and then extract it through a fully connected neural network as the output of the statistical branch; Step 5: The data after the spatial features are extracted in step 4 (1) are used as the input of the GRU branch and the CNN branch, respectively, through the GRU model and the CNN model to obtain the output of the GRU branch and the output of the CNN branch, combined with the output of the statistical branch in step 4 (2), and the three outputs are parallelly spliced ​​as the input of the fully connected neural network to obtain the final output, thereby constructing a CNN-GRU ozone concentration prediction model that integrates spatial and statistical features; Step 6: Perform a model test on the CNN-GRU ozone concentration prediction model that integrates spatial and statistical features constructed in step 5 using the test set data, and use the results of the model test to evaluate the prediction accuracy of the CNN-GRU ozone concentration prediction model that integrates spatial and statistical features.

2. The method for establishing a CNN-GRU ozone concentration prediction model integrating spatial and statistical features according to claim 1, characterized in that: The atmospheric environment monitoring site to be predicted and multiple atmospheric environment monitoring sites in its surrounding areas described in step 1 have similar climatic and environmental conditions and are relatively densely concentrated in geographical locations.

3. The method for establishing a CNN-GRU ozone concentration prediction model integrating spatial and statistical features according to claim 1, characterized in that: In step 4 (1), two-dimensional CNN is used for spatial feature extraction; in step 5, one-dimensional CNN is used as the CNN model, and two-layer GRU is used as the GRU model.

4. The method for establishing a CNN-GRU ozone concentration prediction model integrating spatial and statistical features according to claim 1, characterized in that: Step 6: Use mean absolute error (MAE), root mean square error (RMSE), and coefficient of determination (R) 2 Three indicators are used to evaluate the prediction accuracy of ozone concentration prediction results of the constructed CNN-GRU ozone concentration prediction model that integrates spatial and statistical features; The expression is as follows:

5. A method for predicting ozone concentration, characterized in that: The steps include: Step 1: Obtain historical data of meteorological pollutants for many years at the atmospheric environment monitoring station to be predicted and multiple atmospheric environment monitoring stations in its surrounding areas, wherein the meteorological pollutants include O3, CO, NO2, SO2, PM2.5 and PM10; Step 2: preprocess the meteorological pollutant data obtained in step 1, that is, linearly fill the missing values ​​of the meteorological pollutant data; the preprocessed meteorological pollutant data is divided into training set data and test set data according to time; Step 3, performing data analysis on the meteorological pollutant data pre-processed in step 2, including characteristic analysis of the influence of time characteristics, spatial characteristics and other meteorological factors on ozone concentration, wherein the other meteorological factors include CO, NO2, SO2, PM2.5 and PM10; Step 4: Based on step 3, the training set data in step 2 is further preprocessed using statistical methods and Kriging interpolation to extract the temporal and spatial correlation characteristics of the data, specifically including: (1) Extracting spatial features: The training set data is gridded using the Kriging interpolation method. That is, the coordinates are translated according to the longitude and latitude of each monitoring station. The monitoring station to be predicted is taken as the origin, and multiple monitoring stations are formed into an m×n grid, where m and n are natural numbers, to obtain gridded data. The gridded data is used to extract spatial features using a convolutional neural network as the input of the GRU branch and the CNN branch. (2) Extracting statistical features: For the training set data, traverse each time point, calculate the ozone concentration value one hour before the statistical historical prediction time point, the average ozone concentration value in the previous three hours, the difference between the same time point 24 hours ago and the next hour, and the difference between the next hour 24 hours ago and the next two hours. Traverse each time point, add the calculated statistical features to the list, convert the data into a two-dimensional matrix, and then extract it through a fully connected neural network as the output of the statistical branch; Step 5: The data after the spatial features are extracted in step 4 (1) are used as the input of the GRU branch and the CNN branch, respectively, through the GRU model and the CNN model to obtain the output of the GRU branch and the output of the CNN branch, combined with the output of the statistical branch in step 4 (2), and the three outputs are parallelly spliced ​​as the input of the fully connected neural network to obtain the final output, thereby constructing a CNN-GRU ozone concentration prediction model that integrates spatial and statistical features; Step 6: Perform a model test on the CNN-GRU ozone concentration prediction model of the fusion space and statistical features constructed in step 5 using the test set data, and use the results of the model test to evaluate the prediction accuracy of the CNN-GRU ozone concentration prediction model of the fusion space and statistical features; Step 7: Using the CNN-GRU ozone concentration prediction model that integrates spatial and statistical features, the ozone concentration data from the previous 24 hours to the present is used as the model input to obtain the ozone concentration at the predicted time.

6. The ozone concentration prediction method according to claim 5, characterized in that: The atmospheric environment monitoring site to be predicted and multiple atmospheric environment monitoring sites in its surrounding areas described in step 1 have similar climatic and environmental conditions and are relatively densely concentrated in geographical locations.

7. The ozone concentration prediction method according to claim 5, characterized in that: In step 4 (1), two-dimensional CNN is used for spatial feature extraction; in step 5, one-dimensional CNN is used as the CNN model, and two-layer GRU is used as the GRU model.

8. The ozone concentration prediction method according to claim 5, characterized in that: Step 6: Use mean absolute error (MAE), root mean square error (RMSE), and coefficient of determination (R) 2 Three indicators are used to evaluate the prediction accuracy of ozone concentration prediction results of the constructed CNN-GRU ozone concentration prediction model that integrates spatial and statistical features; The expression is as follows:

9. The ozone concentration prediction method according to claim 5, characterized in that: Step 7: The predicted time is one hour in the future or two hours in the future.

10. A CNN-GRU ozone concentration prediction model system integrating spatial and statistical features, characterized in that: The method is constructed by any one of claims 1 to 4.