Weather forecast method, device, computer equipment and storage medium

By acquiring and processing atmospheric parameter sets, making initial pollutant concentration predictions and inputting them into pollutant models, it solves the problem of difficulty in predicting atmospheric pollutant concentrations in numerical weather prediction, achieves accurate prediction and monitoring of pollutant concentrations, and supports air quality. manage.

CN112001520BActive Publication Date: 2024-09-24刘丽
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010503575.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-05
Publication Date
2024-09-24
Estimated Expiration
2040-06-05

AI Technical Summary

Technical Problem

Existing numerical weather prediction methods are difficult to effectively predict and monitor the concentration of pollutants in the atmosphere, resulting in potential harm to human health.

Method used

By obtaining multiple sets of atmospheric parameters, including pollutant emission data and meteorological data, initial pollutant concentration predictions are made, and the prediction results are input into different pollutant models to predict the concentrations of different types of pollutants. The method includes perturbation processing and sampling of historical pollutant emission data to generate multiple sets of atmospheric parameters to improve prediction accuracy.

Benefits of technology

It achieves accurate prediction and monitoring of pollutant concentrations in the atmosphere in target areas, provides detailed prediction results of pollutant types and concentrations, and supports more effective air quality management and human health protection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112001520B
    Figure CN112001520B
Patent Text Reader

Abstract

The present application discloses a weather forecast method, device, computer equipment and storage medium, and relates to the field of meteorological forecast technology. The weather forecast method includes obtaining multiple atmospheric parameter sets, the atmospheric parameter sets include atmospheric meteorological data and pollutant emission data, and performing initial pollutant concentration prediction according to each atmospheric parameter set to obtain initial pollutant concentration prediction results corresponding to each atmospheric parameter set. The initial pollutant concentration prediction results corresponding to the multiple atmospheric parameter sets are formed into a set, namely the initial prediction result set, and the initial prediction result set is input into different pollutant models as a whole. Different pollutant models can predict different types of pollutant concentrations, so that the concentration of pollutants corresponding to each pollutant model output by the multiple pollutant models can be obtained, thereby achieving the purpose of predicting the pollutant concentration in the atmosphere of the target area.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of meteorological forecasting, and in particular to a weather forecasting method, device, computer equipment and storage medium. Background Art

[0002] In recent years, with the rapid development of my country's industry, transportation, and agricultural activities, more and more pollutants are discharged into the atmosphere, which has led to more prominent atmospheric environmental problems in my country and frequent air pollution incidents. When pollutants are present in high concentrations in the atmosphere and persist for a long time, they will cause harm to human health. Therefore, it is necessary to predict and monitor pollutants in the atmosphere. Summary of the invention

[0003] Based on this, the present application provides a weather forecast method, apparatus, computer equipment and storage medium.

[0004] A weather forecasting method, the method comprising:

[0005] Acquire multiple atmospheric parameter sets, each atmospheric parameter set includes pollutant emission data of a target area and atmospheric meteorological data of the target area at a current moment, and the pollutant emission data in different atmospheric parameter sets are different;

[0006] Predicting the initial pollutant concentration according to each atmospheric parameter set respectively to obtain an initial prediction result set, wherein the initial prediction result set includes the initial pollutant concentration prediction results corresponding to each atmospheric parameter set;

[0007] The initial prediction result set is input into a plurality of different pollutant models respectively to obtain the pollutant concentration prediction results output by each pollutant model. The pollutant model is used to predict the concentration of different types of pollutants.

[0008] In one embodiment, multiple atmospheric parameter sets are obtained, including:

[0009] Obtain historical pollutant emission data of the target area, perform disturbance processing on the historical pollutant emission data, and obtain multiple pollutant emission data of the target area;

[0010] Obtain the atmospheric meteorological data of the target area at the current moment;

[0011] The atmospheric meteorological data are combined with each pollutant emission data to obtain multiple atmospheric parameter sets.

[0012] In one embodiment, the historical pollutant emission data includes the emission amounts of multiple types of pollutants. The historical pollutant emission data is subjected to disturbance processing to obtain multiple pollutant emission data of the target area, including:

[0013] For each pollutant emission, the emission range of the pollutant is obtained after Gaussian perturbation of the emission;

[0014] For each pollutant emission range, sampling the pollutant emission range to obtain multiple sampled pollutant emissions;

[0015] A plurality of pollutant emission data are generated according to the sampled emission amount of each pollutant, and different pollutant emission data include different emission amounts of each type of pollutant.

[0016] In one embodiment, the pollutant emission data includes emission amounts of multiple types of pollutants. Before inputting the initial prediction result set into multiple different pollutant models respectively, the method further includes:

[0017] Extract multiple target types of pollutants from pollutant emission data;

[0018] For each target type of pollutant, a pollutant model corresponding to the target type of pollutant is established.

[0019] In one embodiment, establishing a pollutant model corresponding to a target type of pollutant includes:

[0020] Obtaining a training sample set, the training sample set includes multiple training samples, and the training samples include multiple training initial pollutant concentration prediction results and actual concentrations of target type pollutants;

[0021] The machine learning model is trained through the training sample set to obtain the pollutant model corresponding to the target type of pollutants.

[0022] In one embodiment, the process of obtaining training samples includes:

[0023] Acquire multiple training sets, the training sets include multiple training atmospheric parameter sets, the training atmospheric parameter sets include training pollutant emission data and training atmospheric meteorological data; wherein the training atmospheric parameter sets in different training sets include different training atmospheric meteorological data, and different training atmospheric parameter sets in the same training set include different training pollutant emission data;

[0024] For each training set, an initial pollutant concentration prediction is performed according to each training atmospheric parameter set in the training set to obtain a training initial prediction result set corresponding to the training set, wherein the training initial prediction result set includes a training initial pollutant concentration prediction result corresponding to each training atmospheric parameter set;

[0025] For each training set, a plurality of training initial pollutant concentration prediction results included in a training initial prediction result set corresponding to the training set are combined with the actual concentration of the target type of pollutant to obtain a training sample.

[0026] In one embodiment, the different types of pollutants include at least two of sulfur dioxide, carbon dioxide, nitrogen compounds, cyanides, carbon monoxide, and sulfur monoxide.

[0027] A weather forecast device, comprising:

[0028] An acquisition module, used to acquire multiple atmospheric parameter sets, each of which includes pollutant emission data of a target area and atmospheric meteorological data of the target area at a current moment, and pollutant emission data in different atmospheric parameter sets are different;

[0029] An initial prediction module is used to predict the initial pollutant concentration according to each atmospheric parameter set to obtain an initial prediction result set, wherein the initial prediction result set includes the initial pollutant concentration prediction result corresponding to each atmospheric parameter set;

[0030] The pollutant prediction module is used to input the initial prediction result set into multiple different pollutant models respectively to obtain the pollutant concentration prediction results output by each pollutant model. The pollutant model is used to predict the concentration of different types of pollutants.

[0031] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the following steps are implemented:

[0032] Acquire multiple atmospheric parameter sets, each atmospheric parameter set includes pollutant emission data of a target area and atmospheric meteorological data of the target area at a current moment, and the pollutant emission data in different atmospheric parameter sets are different;

[0033] Predicting the initial pollutant concentration according to each atmospheric parameter set respectively to obtain an initial prediction result set, wherein the initial prediction result set includes the initial pollutant concentration prediction results corresponding to each atmospheric parameter set;

[0034] The initial prediction result set is input into a plurality of different pollutant models respectively to obtain the pollutant concentration prediction results output by each pollutant model. The pollutant model is used to predict the concentration of different types of pollutants.

[0035] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:

[0036] Acquire multiple atmospheric parameter sets, each atmospheric parameter set includes pollutant emission data of a target area and atmospheric meteorological data of the target area at a current moment, and the pollutant emission data in different atmospheric parameter sets are different;

[0037] Predicting the initial pollutant concentration according to each atmospheric parameter set respectively to obtain an initial prediction result set, wherein the initial prediction result set includes the initial pollutant concentration prediction results corresponding to each atmospheric parameter set;

[0038] The initial prediction result set is input into a plurality of different pollutant models respectively to obtain the pollutant concentration prediction results output by each pollutant model. The pollutant model is used to predict the concentration of different types of pollutants.

[0039] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:

[0040] The above-mentioned weather forecast method, device, computer equipment and storage medium can predict and monitor pollutants in the atmosphere. In the weather forecast method, the computer equipment can obtain multiple atmospheric parameter sets, which include atmospheric meteorological data and pollutant emission data, and perform initial pollutant concentration prediction according to each atmospheric parameter set to obtain the initial pollutant concentration prediction result corresponding to each atmospheric parameter set. The initial pollutant concentration prediction results corresponding to the multiple atmospheric parameter sets are combined into a set, namely the initial prediction result set, and the initial prediction result set is input into different pollutant models as a whole. Different pollutant models can predict different types of pollutant concentrations, so that the concentration of pollutants corresponding to each pollutant model output by the multiple pollutant models can be obtained, thereby achieving the purpose of predicting the pollutant concentration in the atmosphere of the target area. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 A module diagram of a computer device provided in an embodiment of the present application;

[0042] Figure 2 A flow chart of a weather forecast method provided in an embodiment of the present application;

[0043] Figure 3 A flowchart of a method for obtaining multiple atmospheric parameter sets provided in an embodiment of the present application;

[0044] Figure 4 A flow chart of another weather forecasting method provided in an embodiment of the present application;

[0045] Figure 5 A flow chart of a method for establishing a pollutant model provided in an embodiment of the present application;

[0046] Figure 6 A module diagram of a weather forecast device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0048] Numerical weather forecasting is a method of predicting the state of atmospheric movement and weather phenomena in a certain period of time in the future by using large computers to perform numerical calculations based on the actual atmospheric conditions under certain initial and boundary conditions, solving the equations of fluid mechanics and thermodynamics that describe the weather evolution process. At present, many countries or regions have adopted numerical weather forecasting as the main method for daily forecasting. The forecast items of numerical weather forecasting generally include air pressure, humidity, temperature, wind, clouds and precipitation.

[0049] In recent years, with the rapid development of my country's industry, transportation, and agricultural activities, more and more pollutants are discharged into the atmosphere, resulting in more and more prominent atmospheric environmental problems in my country and frequent atmospheric pollution incidents. When pollutants are present in high concentrations in the atmosphere and persist for a long time, they will cause harm to human health. Therefore, it is necessary to predict and monitor pollutants in the atmosphere. However, the existing numerical weather forecasts cannot predict the concentration of pollutants in the atmosphere well.

[0050] The weather forecast method provided in the embodiment of the present application includes obtaining multiple atmospheric parameter sets, the atmospheric parameter sets include atmospheric meteorological data and pollutant emission data, and performing initial pollutant concentration prediction according to each atmospheric parameter set to obtain initial pollutant concentration prediction results corresponding to each atmospheric parameter set. The initial pollutant concentration prediction results corresponding to the multiple atmospheric parameter sets are formed into a set, namely, an initial prediction result set, and the initial prediction result set is input into different pollutant models as a whole. Different pollutant models can predict different types of pollutant concentrations, so that the concentration of pollutants corresponding to each pollutant model output by the multiple pollutant models can be obtained, thereby achieving the purpose of predicting the pollutant concentration in the atmosphere of the target area.

[0051] The weather forecast method provided in the embodiment of the present application can be applied to Figure 1 In the computer device shown, the computer device may be a server or a terminal, and the terminal may be a desktop computer, a tablet computer, a laptop computer, a smart phone, a wearable device, a vehicle-mounted device, etc. The server may be a single server or a server group consisting of multiple servers.

[0052] The internal structure diagram of the computer device can be shown as Figure 1As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a weather forecast method is implemented. The database can be used to store pre-established pollutant models and air quality models.

[0053] Those skilled in the art will understand that Figure 1 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0054] Please refer to Figure 2 , which shows a flow chart of a weather forecast method provided by an embodiment of the present application, the weather forecast method can be applied to Figure 1 In the computer device in the implementation environment shown, Figure 2 As shown, the weather forecast method may include the following steps:

[0055] Step 201: A computer device obtains a plurality of atmospheric parameter sets.

[0056] Each atmospheric parameter set includes pollutant emission data of the target area and atmospheric meteorological data of the target area at the current moment. The atmospheric meteorological data includes temperature, air pressure, humidity, wind speed, precipitation, etc. The pollutant emission data may include the emission of various types of pollutants in the atmosphere.

[0057] Optionally, the different types of pollutants in the pollutant emission data may include at least two of sulfur dioxide, carbon dioxide, nitrogen compounds, cyanides, carbon monoxide and sulfur monoxide.

[0058] In the embodiment of the present application, the pollutant emission data in different atmospheric parameter sets are different. Specifically, in the multiple atmospheric parameter sets, the atmospheric meteorological data included in each atmospheric parameter set are the same, and are all atmospheric meteorological data of the target area at the current moment. The pollutant emission data included in different atmospheric parameter sets are different. Specifically, the pollutant types in the pollutant emission data included in different atmospheric parameter sets are the same, but the emission amount of each pollutant is different.

[0059] In step 202, the computer device performs initial pollutant concentration prediction according to each atmospheric parameter set to obtain an initial prediction result set.

[0060] In the embodiment of the present application, the computer device can call the air quality model pre-stored in the database. The air quality model uses mathematical methods to simulate the physical and chemical processes that affect the diffusion and reaction of atmospheric pollutants. The air quality model can simulate the concentration of primary pollutants directly discharged into the atmosphere and the concentration of secondary pollutants formed due to complex chemical reactions based on the input pollutant emission data and atmospheric meteorological data.

[0061] The atmospheric parameter set is input into the air quality model to predict the initial pollutant concentration, and the initial pollutant concentration prediction result output by the air quality model is obtained. The initial pollutant concentration prediction result represents the pollutant concentration prediction result of the target area in the future time period, and the initial pollutant concentration prediction result may include the prediction result of the concentration of all types of pollutants included in the pollutant emission data. Optionally, the initial pollutant concentration prediction result may also include parameters of all types of atmospheric meteorological data included in the atmospheric meteorological data, such as wind speed, precipitation, etc.

[0062] It should be noted that in the embodiments of the present application, when predicting the initial pollutant concentration for different atmospheric parameter sets, the meteorological initial field and boundary conditions used by the air quality model are the same. The meteorological initial field and boundary conditions can use the same weather variables as the traditional numerical weather forecast model, such as temperature, air pressure, wind speed, precipitation, etc.

[0063] In the embodiment of the present application, initial pollutant concentration predictions are performed on multiple atmospheric parameter sets respectively, and initial pollutant concentration prediction results corresponding to each atmospheric parameter set can be obtained. Multiple initial pollutant concentration prediction results are combined into an initial prediction result set.

[0064] In step 203, the computer device inputs the initial prediction result set into a plurality of different pollutant models respectively to obtain the pollutant concentration prediction results output by each pollutant model.

[0065] Among them, the pollutant model is used to predict the concentration of different types of pollutants. Each pollutant model can predict the concentration of a type of pollutant. For example, pollutant model A can predict the concentration of pollutants of the type sulfur dioxide. Pollutant model B can predict the concentration of pollutants of the type carbon monoxide. Optionally, in an embodiment of the present application, multiple different pollutant models may include pollutant models corresponding to all types of pollutants included in the pollutant emission data.

[0066] The input data of each pollutant model is a set of initial prediction results, but the output of each pollutant model is different. For example, pollutant model A outputs the concentration of pollutants such as sulfur dioxide, and pollutant model B outputs the concentration of pollutants such as carbon monoxide.

[0067] In an optional implementation, since each initial pollutant concentration prediction result included in the initial prediction result set may include hundreds of pollutants, the amount of data is large. In order to reduce the amount of data calculation, in an embodiment of the present application, the prediction results of multiple specific types of pollutants can be extracted from each initial pollutant concentration prediction result in the initial prediction result set, and the computer device can combine the prediction results of multiple specific types of pollutants in each initial pollutant concentration prediction result to obtain an initial prediction result subset. Among them, these specific types of pollutants refer to pollutants that have a greater impact on the atmospheric environment and account for a larger proportion of pollutant emissions in the atmospheric environment. The computer device can input the initial prediction result subsets into multiple different pollutant models respectively to obtain the pollutant concentration prediction results output by each pollutant model.

[0068] In the embodiment of the present application, the pollutant concentration of the target area in the future time period can be predicted based on the pollutant concentration prediction results output by each pollutant model.

[0069] In the weather forecast method provided in the embodiment of the present application, the computer device can obtain multiple atmospheric parameter sets, which include atmospheric meteorological data and pollutant emission data, and perform initial pollutant concentration prediction according to each atmospheric parameter set to obtain the initial pollutant concentration prediction result corresponding to each atmospheric parameter set. The initial pollutant concentration prediction results corresponding to the multiple atmospheric parameter sets are combined into a set, namely the initial prediction result set, and the initial prediction result set is input into different pollutant models as a whole. Different pollutant models can predict different types of pollutant concentrations, so that the concentration of pollutants corresponding to each pollutant model output by the multiple pollutant models can be obtained, thereby achieving the purpose of predicting the pollutant concentration in the atmosphere of the target area.

[0070] In one embodiment of the present application, Figure 3 As shown, step 201 also includes the following contents:

[0071] Step 301: The computer device obtains historical pollutant emission data of the target area, performs disturbance processing on the historical pollutant emission data, and obtains multiple pollutant emission data of the target area.

[0072] In the embodiment of the present application, the historical pollutant emission data of the target area may refer to the daily average pollutant emission data of the target area in the previous year. The historical pollutant emission data includes the emission of multiple types of pollutants. Optionally, the historical pollutant emission data of the target area may come from the atmospheric pollution source emission inventory of the target area.

[0073] The type of pollutant included in each of the plurality of pollutant emission data is the same.

[0074] In the embodiment of the present application, the process of performing disturbance processing on the historical pollutant emission data to obtain multiple pollutant emission data of the target area may include the following steps:

[0075] Step A1: For each pollutant emission, the computer device performs Gaussian perturbation on the emission to obtain the pollutant emission range.

[0076] Gaussian perturbation refers to a random perturbation with Gaussian distribution, and Gaussian distribution refers to normal distribution.

[0077] In an embodiment of the present application, the process of the computer device performing Gaussian perturbation on the emission of each type of pollutant in the historical pollutant emission data may include first setting a perturbation range, for example, the perturbation range is ±10%. Taking the pollutant emission obtained from the historical pollutant emission data as the center point, a ±10% perturbation is performed to obtain a pollutant emission range, and the pollutant emission range is 90% to 110% of the emission in the historical pollutant emission data. For example, if the emission of sulfur dioxide is 4 units, then after the perturbation, the emission of sulfur dioxide ranges from 3.6 units to 4.4 units.

[0078] After disturbance processing, the emission range of each type of pollutant can be obtained.

[0079] Step A2: For each pollutant emission range, the computer device samples the pollutant emission range to obtain multiple sampled pollutant emissions.

[0080] In an embodiment of the present application, the computer device can sample the emission range of each type of pollutant separately, and the sampling frequency of different types of pollutants can be the same or different.

[0081] After sampling, the sampled emission of each type of pollutant corresponds to at least two values. Moreover, after sampling, the sampled emission of different types of pollutants may be the same or different in number.

[0082] Step A3: The computer device generates a plurality of pollutant emission data according to the sampled emission amount of each pollutant.

[0083] In an embodiment of the present application, a computer device can arrange and combine the sampled emissions of multiple types of pollutants to obtain multiple pollutant emission data. The types of pollutants included in the multiple pollutant emission data are the same as the types of pollutants included in the historical pollutant emission data, but the sampled emissions of the same type of pollutants included in different pollutant emission data are different.

[0084] By performing Gaussian perturbation on historical pollutant emission data, the range of pollutant emission data is expanded, and then the emission range of each pollutant is sampled to obtain the possible emission of each pollutant. The sampled emission of each pollutant is combined to obtain multiple pollutant emission data, which include all possible situations of pollutant emission in the target area. Therefore, multiple atmospheric parameter sets containing the multiple pollutant emission data can more accurately describe the atmospheric state in the target area, thereby improving the prediction accuracy of the initial pollutant concentration.

[0085] Step 302: The computer device obtains atmospheric meteorological data of the target area at the current moment.

[0086] The atmospheric meteorological data at the current moment has a very large impact on the concentration of atmospheric pollutants in the future time period. Specifically, the pollutant emission data generally changes very little within a certain period of time, so it can be considered that the types of pollutants emitted into the atmosphere on average every day and the emission of each type of pollutant are unchanged. However, the meteorological state of the atmosphere is changing at every moment. When the emission of each pollutant in the pollutant emission data is fixed, different atmospheric environments will lead to different concentrations of various types of pollutants in the atmosphere. For example, in weather conditions with high wind speeds, pollutants are blown away, so the concentration is low. In a weather environment with lower temperatures, the atmospheric flow speed is slower, and pollutants tend to gather, so the concentration is higher.

[0087] Step 303: The computer device combines the atmospheric meteorological data with each pollutant emission data to obtain a plurality of atmospheric parameter sets.

[0088] In the embodiment of the present application, a pollutant emission data can be combined with the atmospheric meteorological data at the current moment to obtain an atmospheric parameter set. The pollutant emission data in each atmospheric parameter set is different.

[0089] Combined with the content disclosed in step 301, it can be known that multiple atmospheric parameter sets can include all possible situations of pollutant emissions in the atmosphere of the target area. Therefore, the initial pollutant concentration prediction result obtained by using the atmospheric parameter set to predict the initial pollutant concentration is more accurate.

[0090] In one embodiment of the present application, Figure 4 As shown, the embodiment of the present application provides another weather forecast method, which includes the following steps:

[0091] Step 401: A computer device obtains a plurality of atmospheric parameter sets.

[0092] In step 402, the computer device performs initial pollutant concentration prediction according to each atmospheric parameter set to obtain an initial prediction result set.

[0093] Step 403: The computer device extracts multiple target types of pollutants from the pollutant emission data.

[0094] Since there may be hundreds or even thousands of types of pollutants in pollutant emission data, if a pollutant model is established for each type of pollutant, the number of pollutant models will be huge and the amount of data calculation will be huge.

[0095] In practice, some pollutants have a greater impact on the atmospheric environment, while most pollutants have a relatively small impact on the atmosphere. In the embodiment of the present application, the types of pollutants that have a greater impact on the atmospheric environment can be extracted as target types of pollutants.

[0096] It should be noted that the target types of pollutants in different target areas may be different.

[0097] Step 404: For each target type of pollutant, the computer device establishes a pollutant model corresponding to the target type of pollutant.

[0098] In the present application embodiment, Figure 5 As shown, the process of establishing a pollutant model corresponding to a target type of pollutant by a computer device may include the following steps:

[0099] Step 501: A computer device obtains a training sample set.

[0100] The training sample set includes multiple training samples, and the training samples include multiple training initial pollutant concentration prediction results and actual concentrations of target type pollutants.

[0101] In the embodiment of the present application, the target type of pollutant is taken as an example of pollutant A.

[0102] The training sample set is a training sample set corresponding to pollutant A. The actual concentration of the pollutant of the target type included in each training sample in the training sample set corresponding to pollutant A is the actual concentration of pollutant A.

[0103] In the embodiment of the present application, the process of obtaining each training sample in the training sample set corresponding to pollutant A may include the following steps:

[0104] Step B1, obtaining multiple training sets.

[0105] In the embodiment of the present application, the computer device can obtain M kinds of atmospheric meteorological data, which are used to represent different weather conditions and are called M kinds of training atmospheric meteorological data. The training atmospheric meteorological data is historical data, and the acquisition time point corresponding to each type of training atmospheric meteorological data is different.

[0106] In an embodiment of the present application, a computer device may obtain pollutant emission data, and use the content disclosed in step 301 to perform disturbance processing on the pollutant emission data to obtain N types of pollutant emission data, referred to as N types of training pollutant emission data.

[0107] In the embodiment of the present application, one type of training atmospheric meteorological data can be combined with N types of training pollutant emission data to obtain N training atmospheric parameter sets, and the N training atmospheric parameter sets can form a training set. Among them, the N training atmospheric parameter sets in the same training set include different training pollutant emission data and the same training atmospheric meteorological data.

[0108] The same method as above is used to process other training atmospheric meteorological data to obtain M training sets, wherein the training atmospheric parameter sets in different training sets include different training atmospheric meteorological data.

[0109] Step B2: for each training set, an initial pollutant concentration prediction is performed according to each training atmospheric parameter set in the training set to obtain a training initial prediction result set corresponding to the training set.

[0110] Optionally, in the embodiment of the present application, multiple groups of different initial pollutant concentration prediction boundary conditions and meteorological initial fields may be preset, for example, there are K kinds of boundary conditions and meteorological initial fields.

[0111] Taking a training set as an example, the initial pollutant concentrations of the N training atmospheric parameter sets included in the training set are predicted respectively by using one of the K boundary conditions and the meteorological initial field, and N training initial pollutant concentration prediction results corresponding to the N training atmospheric parameter sets are obtained. The N training initial pollutant concentration prediction results are used as a training initial prediction result set corresponding to the training set.

[0112] Correspondingly, under K kinds of boundary conditions and meteorological initial fields, one training set can correspond to K training initial prediction result sets. M training sets can obtain M×K training initial prediction result sets.

[0113] Step B3: for each training set, a plurality of training initial pollutant concentration prediction results included in the training initial prediction result set corresponding to the training set are combined with the actual concentration of the pollutant of the target type to obtain a training sample.

[0114] In the embodiment of the present application, for example, the training atmospheric meteorological data in a training set is obtained at time point H, and when performing initial pollutant concentration prediction using multiple training atmospheric parameter sets composed of the training atmospheric meteorological data obtained at time point H, the obtained training initial prediction result set may refer to the training initial prediction result set at time point L after time point H. Wherein, time point H and time point L are both historical time points.

[0115] Accordingly, the computer device can obtain the real concentration of pollutant A obtained through actual detection at time point L.

[0116] The initial training prediction result set at time point L and the actual concentration of pollutant A at time point L are combined to form a training sample.

[0117] Similarly, other training samples can be obtained, and multiple training samples can be combined to obtain a training sample set.

[0118] In an optional implementation, corresponding to the disclosure in step 203, the initial prediction result subsets are respectively input into a plurality of different pollutant models to obtain the pollutant concentration prediction results output by each pollutant model. In the embodiment of the present application, the process of obtaining training samples may also include the following:

[0119] For a training initial prediction result set, prediction results of multiple specific types of pollutants are extracted from each training initial pollutant concentration prediction result as a specific type prediction result, and multiple specific type prediction results are combined to obtain a training initial prediction result subset corresponding to the training initial prediction result set.

[0120] Combine the initial training prediction result subset and the actual concentration of pollutant A to form a training sample.

[0121] Step 502: The computer device trains the machine learning model using the training sample set to obtain a pollutant model corresponding to the target type of pollutant.

[0122] In an embodiment of the present application, the machine learning model may be an xgboost model, and the parameters of the machine learning model may be adjusted through a hyperopt model.

[0123] In the embodiment of the present application, a pollutant model corresponding to each type of pollutant can be obtained by training based on the training sample set of each type of pollutant.

[0124] In the embodiment of the present application, by acquiring a variety of different training atmospheric meteorological data in a training sample set, a variety of different atmospheric states can be learned, thereby ensuring the accuracy of the pollutant model.

[0125] In step 405, the computer device inputs the initial prediction result set into a plurality of different pollutant models respectively to obtain the pollutant concentration prediction results output by each pollutant model.

[0126] Optionally, in an embodiment of the present application, the computer device may predict the pollutant concentration of the target area in a future time period based on the pollutant concentration prediction results output by each pollutant model.

[0127] Optionally, in the embodiment of the present application, pollutants other than the target type of pollutants may be referred to as other pollutants. For other pollutants, the data of each other pollutant corresponding to the multiple initial pollutant concentration prediction results included in the initial prediction result set may be averaged, and the average value may be used as the pollutant concentration prediction result of each other pollutant. Then, the pollutant concentration prediction results of each target type of pollutant output by the pollutant model are combined with the pollutant concentration prediction results of each other pollutant to predict the pollutant concentration of the target area in the future time period.

[0128] Please refer to Figure 6 , which shows a module diagram of a weather forecast device provided in an embodiment of the present application, the weather forecast device can be configured in Figure 1 In the computer device in the implementation environment shown. Figure 6 As shown, the weather forecast device may include an acquisition module 601, an initial prediction module 602 and a pollutant prediction module 603, wherein:

[0129] The acquisition module 601 is used to acquire multiple atmospheric parameter sets, each of which includes pollutant emission data of a target area and atmospheric meteorological data of the target area at a current moment, and pollutant emission data in different atmospheric parameter sets are different;

[0130] The initial prediction module 602 is used to perform initial pollutant concentration prediction according to each atmospheric parameter set to obtain an initial prediction result set, wherein the initial prediction result set includes initial pollutant concentration prediction results corresponding to each atmospheric parameter set;

[0131] The pollutant prediction module 603 is used to input the initial prediction result set into a plurality of different pollutant models respectively to obtain the pollutant concentration prediction results output by each pollutant model. The pollutant model is used to predict the concentration of different types of pollutants.

[0132] In one embodiment, the acquisition module 601 is also used to obtain historical pollutant emission data of the target area, perform disturbance processing on the historical pollutant emission data to obtain multiple pollutant emission data of the target area; obtain the atmospheric meteorological data of the target area at the current moment; and combine the atmospheric meteorological data with each pollutant emission data to obtain multiple atmospheric parameter sets.

[0133] In one embodiment, the historical pollutant emission data includes the emission amounts of multiple types of pollutants, and the acquisition module 601 is also used to perform Gaussian perturbation on the emission amount of each pollutant to obtain the emission amount range of the pollutant; for each pollutant emission amount range, the pollutant emission amount range is sampled to obtain multiple sampled emissions of the pollutant; and multiple pollutant emission data are generated according to the sampled emissions of each pollutant, and different pollutant emission data include different emissions of each type of pollutant.

[0134] In one embodiment, the pollutant emission data includes emission amounts of multiple types of pollutants, and the pollutant prediction module 603 is further used to extract multiple target types of pollutants from the pollutant emission data; for each target type of pollutant, a pollutant model corresponding to the target type of pollutant is established.

[0135] In one embodiment, the pollutant prediction module 603 is also used to obtain a training sample set, which includes multiple training samples, each of which includes multiple training initial pollutant concentration prediction results and the actual concentration of the target type of pollutants; the machine learning model is trained through the training sample set to obtain a pollutant model corresponding to the target type of pollutants.

[0136] In one embodiment, the pollutant prediction module 603 is also used to obtain multiple training sets, the training sets include multiple training atmospheric parameter sets, the training atmospheric parameter sets include training pollutant emission data and training atmospheric meteorological data; wherein, the training atmospheric parameter sets in different training sets include different training atmospheric meteorological data, and different training atmospheric parameter sets in the same training set include different training pollutant emission data; for each training set, an initial pollutant concentration prediction is performed according to each training atmospheric parameter set in the training set to obtain a training initial prediction result set corresponding to the training set, the training initial prediction result set includes the training initial pollutant concentration prediction result corresponding to each training atmospheric parameter set; for each training set, the multiple training initial pollutant concentration prediction results included in the training initial prediction result set corresponding to the training set are combined with the actual concentration of the target type of pollutant to obtain a training sample.

[0137] In one embodiment, the different types of pollutants include at least two of sulfur dioxide, carbon dioxide, nitrogen compounds, cyanides, carbon monoxide, and sulfur monoxide.

[0138] The specific definition of the weather forecast device can be found in the definition of the weather forecast method above, which will not be repeated here. Each module in the above weather forecast device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0139] In one embodiment of the present application, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0140] Acquire multiple atmospheric parameter sets, each atmospheric parameter set includes pollutant emission data of the target area and atmospheric meteorological data of the target area at the current moment, and the pollutant emission data in different atmospheric parameter sets are different; perform initial pollutant concentration prediction according to each atmospheric parameter set to obtain an initial prediction result set, and the initial prediction result set includes the initial pollutant concentration prediction results corresponding to each atmospheric parameter set; input the initial prediction result set into multiple different pollutant models, respectively, to obtain pollutant concentration prediction results output by each pollutant model, and the pollutant model is used to predict the concentrations of different types of pollutants.

[0141] In one embodiment of the present application, the processor also implements the following steps when executing the computer program: obtaining historical pollutant emission data of the target area, performing disturbance processing on the historical pollutant emission data, and obtaining multiple pollutant emission data of the target area; obtaining atmospheric meteorological data of the target area at the current moment; and combining the atmospheric meteorological data with each pollutant emission data respectively to obtain multiple atmospheric parameter sets.

[0142] In one embodiment of the present application, historical pollutant emission data includes emission amounts of multiple types of pollutants, and the processor also implements the following steps when executing the computer program: for the emission amount of each pollutant, the emission amount is Gaussian perturbated to obtain a pollutant emission range; for each pollutant emission range, the pollutant emission range is sampled to obtain multiple sampled emissions of the pollutant; and multiple pollutant emission data are generated based on the sampled emissions of each pollutant, and different pollutant emission data include different emissions of each type of pollutant.

[0143] In one embodiment of the present application, the pollutant emission data includes the emission amounts of multiple types of pollutants, and the processor also implements the following steps when executing the computer program: extracting multiple target types of pollutants from the pollutant emission data; for each target type of pollutant, establishing a pollutant model corresponding to the target type of pollutant.

[0144] In one embodiment of the present application, when the processor executes the computer program, it also implements the following steps: obtaining a training sample set, the training sample set includes multiple training samples, the training samples include multiple training initial pollutant concentration prediction results and the actual concentration of the target type of pollutants; training the machine learning model through the training sample set to obtain a pollutant model corresponding to the target type of pollutants.

[0145] In one embodiment of the present application, when the processor executes the computer program, the following steps are also implemented: obtaining multiple training sets, the training sets including multiple training atmospheric parameter sets, the training atmospheric parameter sets including training pollutant emission data and training atmospheric meteorological data; wherein, the training atmospheric parameter sets in different training sets include different training atmospheric meteorological data, and different training atmospheric parameter sets in the same training set include different training pollutant emission data; for each training set, performing initial pollutant concentration prediction according to each training atmospheric parameter set in the training set, and obtaining a training initial prediction result set corresponding to the training set, the training initial prediction result set including the training initial pollutant concentration prediction result corresponding to each training atmospheric parameter set; for each training set, combining the multiple training initial pollutant concentration prediction results included in the training initial prediction result set corresponding to the training set with the actual concentration of the target type of pollutant to obtain a training sample.

[0146] The computer device provided in the embodiment of the present application has similar implementation principles and technical effects to those of the above-mentioned method embodiment, and will not be described in detail here.

[0147] In one embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:

[0148] Acquire multiple atmospheric parameter sets, each atmospheric parameter set includes pollutant emission data of the target area and atmospheric meteorological data of the target area at the current moment, and the pollutant emission data in different atmospheric parameter sets are different; perform initial pollutant concentration prediction according to each atmospheric parameter set to obtain an initial prediction result set, and the initial prediction result set includes the initial pollutant concentration prediction results corresponding to each atmospheric parameter set; input the initial prediction result set into multiple different pollutant models, respectively, to obtain pollutant concentration prediction results output by each pollutant model, and the pollutant model is used to predict the concentrations of different types of pollutants.

[0149] In one embodiment of the present application, when the computer program is executed by a processor, the following steps can also be implemented: obtaining historical pollutant emission data of the target area, performing disturbance processing on the historical pollutant emission data, and obtaining multiple pollutant emission data of the target area; obtaining atmospheric meteorological data of the target area at the current moment; and combining the atmospheric meteorological data with each pollutant emission data respectively to obtain multiple atmospheric parameter sets.

[0150] In one embodiment of the present application, historical pollutant emission data includes emissions of multiple types of pollutants, and the computer program can also implement the following steps when executed by the processor: for the emission of each pollutant, the emission is Gaussian perturbated to obtain a range of pollutant emissions; for each pollutant emission range, the pollutant emission range is sampled to obtain multiple sampled emissions of the pollutant; multiple pollutant emission data are generated based on the sampled emissions of each pollutant, and different pollutant emission data include different emissions of each type of pollutant.

[0151] In one embodiment of the present application, the pollutant emission data includes the emission amounts of multiple types of pollutants, and the computer program can also implement the following steps when executed by the processor: extracting multiple target types of pollutants from the pollutant emission data; for each target type of pollutant, establishing a pollutant model corresponding to the target type of pollutant.

[0152] In one embodiment of the present application, when the computer program is executed by a processor, the following steps can also be implemented: obtaining a training sample set, the training sample set includes multiple training samples, the training samples include multiple training initial pollutant concentration prediction results and the actual concentration of the target type of pollutants; training the machine learning model through the training sample set to obtain a pollutant model corresponding to the target type of pollutants.

[0153] In one embodiment of the present application, when the computer program is executed by the processor, the following steps can also be implemented: obtaining multiple training sets, the training sets including multiple training atmospheric parameter sets, the training atmospheric parameter sets including training pollutant emission data and training atmospheric meteorological data; wherein, the training atmospheric parameter sets in different training sets include different training atmospheric meteorological data, and different training atmospheric parameter sets in the same training set include different training pollutant emission data; for each training set, performing initial pollutant concentration prediction according to each training atmospheric parameter set in the training set, and obtaining a training initial prediction result set corresponding to the training set, the training initial prediction result set including the training initial pollutant concentration prediction result corresponding to each training atmospheric parameter set; for each training set, combining the multiple training initial pollutant concentration prediction results included in the training initial prediction result set corresponding to the training set with the actual concentration of the target type of pollutant to obtain a training sample.

[0154] The computer-readable storage medium provided in the embodiment of the present application has similar implementation principles and technical effects to those of the above-mentioned method embodiment, and will not be described in detail here.

[0155] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0156] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0157] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the patent application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent application shall be subject to the attached claims.

Claims

1. A weather forecast method, characterized in that: The method comprises: Acquire multiple atmospheric parameter sets, each of which includes pollutant emission data of a target area and atmospheric meteorological data of the target area at a current moment, and the pollutant emission data in different atmospheric parameter sets are different; the pollutant types in the pollutant emission data included in different atmospheric parameter sets are the same, but the emission amounts of each pollutant are different; Calling the air quality model to perform initial pollutant concentration prediction according to each of the atmospheric parameter sets to obtain an initial prediction result set, wherein the initial prediction result set includes the initial pollutant concentration prediction results corresponding to each of the atmospheric parameter sets, wherein the air quality model is a model that simulates the physical and chemical processes that affect the diffusion and reaction of atmospheric pollutants, and the air quality model is used to simulate the concentration of primary pollutants directly discharged into the atmosphere and the concentration of secondary pollutants formed due to complex chemical reactions based on the input pollutant emission data and the atmospheric meteorological data; The initial prediction result set is respectively input into a plurality of different pollutant models to obtain pollutant concentration prediction results output by each of the pollutant models, wherein the pollutant models are used to predict the concentrations of different types of pollutants.

2. The method according to claim 1, characterized in that The obtaining of multiple atmospheric parameter sets includes: Acquire historical pollutant emission data of the target area, perform disturbance processing on the historical pollutant emission data, and obtain multiple pollutant emission data of the target area; Acquire atmospheric meteorological data of the target area at the current moment; The atmospheric meteorological data are respectively combined with each of the pollutant emission data to obtain a plurality of atmospheric parameter sets.

3. The method according to claim 2, characterized in that The historical pollutant emission data includes the emission amounts of multiple types of pollutants. The perturbation processing is performed on the historical pollutant emission data to obtain multiple pollutant emission data of the target area, including: For each pollutant emission, Gaussian perturbation is performed on the emission to obtain the emission range of the pollutant; For each pollutant emission range, sampling the pollutant emission range to obtain multiple sampled emissions of the pollutant; A plurality of pollutant emission data are generated according to the sampled emission amount of each pollutant, and different pollutant emission data include different emission amounts of each type of pollutant.

4. The method according to claim 1, characterized in that The pollutant emission data includes emission amounts of multiple types of pollutants. Before inputting the initial prediction result set into multiple different pollutant models respectively, the method further includes: extracting a plurality of target types of pollutants from the pollutant emission data; For each pollutant of the target type, a pollutant model corresponding to the pollutant of the target type is established.

5. The method according to claim 4, characterized in that The step of establishing a pollutant model corresponding to the pollutant of the target type includes: Acquire a training sample set, wherein the training sample set includes a plurality of training samples, and the training samples include a plurality of training initial pollutant concentration prediction results and the actual concentration of the pollutant of the target type; The machine learning model is trained using the training sample set to obtain a pollutant model corresponding to the target type of pollutants.

6. The method according to claim 5, characterized in that The process of obtaining training samples includes: Acquire multiple training sets, wherein the training sets include multiple training atmospheric parameter sets, and the training atmospheric parameter sets include training pollutant emission data and training atmospheric meteorological data; wherein the training atmospheric parameter sets in different training sets include different training atmospheric meteorological data, and different training atmospheric parameter sets in the same training set include different training pollutant emission data; For each of the training sets, an initial pollutant concentration prediction is performed according to each of the training atmospheric parameter sets in the training set to obtain a training initial prediction result set corresponding to the training set, wherein the training initial prediction result set includes a training initial pollutant concentration prediction result corresponding to each of the training atmospheric parameter sets; For each of the training sets, a plurality of training initial pollutant concentration prediction results included in the training initial prediction result set corresponding to the training set are combined with the actual concentration of the pollutant of the target type to obtain the training sample.

7. The method according to claim 1, characterized in that The different types of pollutants include at least two of sulfur dioxide, carbon dioxide, nitrogen compounds, cyanides, carbon monoxide and sulfur monoxide.

8. A weather forecast device, characterized in that: The device comprises: An acquisition module, used for acquiring a plurality of atmospheric parameter sets, each of which includes pollutant emission data of a target area and atmospheric meteorological data of the target area at a current moment, and the pollutant emission data in different atmospheric parameter sets are different; the pollutant types in the pollutant emission data included in different atmospheric parameter sets are the same, but the emission amount of each pollutant is different; An initial prediction module, used to call the air quality model to perform initial pollutant concentration prediction according to each of the atmospheric parameter sets, and obtain an initial prediction result set, wherein the initial prediction result set includes the initial pollutant concentration prediction results corresponding to each of the atmospheric parameter sets, wherein the air quality model is a model that simulates the physical and chemical processes that affect the diffusion and reaction of atmospheric pollutants, and the air quality model is used to simulate the concentration of primary pollutants directly discharged into the atmosphere and the concentration of secondary pollutants formed due to complex chemical reactions based on the input pollutant emission data and the atmospheric meteorological data; The pollutant prediction module is used to input the initial prediction result set into a plurality of different pollutant models respectively to obtain the pollutant concentration prediction results output by each of the pollutant models, wherein the pollutant models are used to predict the concentrations of different types of pollutants.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.