Weather disaster prediction and model training method, device, equipment and storage medium
By splitting crop yield data and analyzing meteorological data groups, we train weather disaster prediction models and identify disaster factors and thresholds. This solves the accuracy problem of predicting the impact of weather disasters on crop yields in the existing technology and improves the accuracy of disaster prediction. safety and agricultural product yield guarantee.
Patent Information
- Application Number
- CN202111442186.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-30
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-11-30
AI Technical Summary
Existing technology is difficult to accurately predict the impact of weather disasters on crop yields, and lacks clarity on disaster factors and thresholds.
By splitting the crop yield data, we can extract the weather yield data, determine the effective factors in the meteorological data group, and use multiple preset model analysis to train the weather disaster prediction model and identify disaster factors and their thresholds.
The accuracy of weather disaster predictions has been improved, allowing farm workers to perceive risks in a timely manner and take measures to ensure the production of agricultural products.
Smart Images

Figure CN114239849B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent detection technology, and in particular to a method, device, equipment and storage medium for weather disaster prediction and model training. Background Art
[0002] In recent years, weather disasters have occurred frequently, seriously affecting the output of agricultural products. According to the growth cycle mechanism of crops, the weather conditions during their growth period have a direct impact on their final output. In many previous studies, weather-related factors such as temperature, humidity, precipitation, etc. are usually directly used to fit and predict crop yield variables using linear regression models. Summary of the invention
[0003] The embodiments of this specification provide a weather disaster prediction and model training method, device, equipment and storage medium, which can predict the weather disaster level and at the same time understand the disaster-causing factors that cause the above weather disaster level and their corresponding thresholds, thereby improving the accuracy of crop yield prediction.
[0004] In a first aspect, an embodiment of this specification provides a weather disaster prediction model training method, comprising:
[0005] Determine weather per-acre yield data of each crop per-acre yield data based on multiple crop per-acre yield data; the weather per-acre yield data is used to characterize the impact of meteorological factors on the above crop per-acre yield data;
[0006] Determine effective factors affecting the weather per mu yield data based on the plurality of weather per mu yield data and corresponding meteorological data groups;
[0007] Determine the effective data corresponding to each of the plurality of meteorological data groups based on the effective factors;
[0008] The weather disaster prediction model is trained based on the valid data corresponding to each of the above multiple meteorological data groups and the corresponding weather per-acre yield data.
[0009] In a possible implementation, the training of the weather disaster prediction model according to the valid data corresponding to each of the above-mentioned multiple meteorological data groups and the corresponding weather per-acre yield data includes:
[0010] The valid data corresponding to each of the above multiple meteorological data groups and the corresponding weather per-acre yield data are used as sample data to train the weather disaster prediction model.
[0011] In a possible implementation, the training of the weather disaster prediction model according to the valid data corresponding to each of the above-mentioned multiple meteorological data groups and the corresponding weather per-acre yield data includes:
[0012] Determine the weather disaster level corresponding to each of the plurality of meteorological data groups according to the weather per-acre yield data corresponding to each of the plurality of meteorological data groups;
[0013] The valid data corresponding to each of the above multiple meteorological data groups and the corresponding weather disaster levels are used as sample data to train the weather disaster prediction model.
[0014] In a possible implementation, determining the weather disaster level corresponding to each of the plurality of meteorological data groups according to the weather per-acre yield data corresponding to each of the plurality of meteorological data groups includes:
[0015] Determine N equal points according to multiple weather per-acre yield data; the above N is a positive integer;
[0016] The weather disaster level corresponding to the weather per-acre yield data corresponding to each of the multiple meteorological data groups is determined based on the N equipartition points.
[0017] In a possible implementation, the above-mentioned determination of each crop per-acre yield data and weather per-acre yield data based on multiple crop per-acre yield data includes:
[0018] The above-mentioned multiple crop per mu yield data are split using X preset splitting methods to obtain the weather per mu yield data of the above-mentioned each crop per mu yield data; wherein X is a positive integer.
[0019] In a possible implementation, the above X is a positive integer greater than or equal to 2;
[0020] The above-mentioned X preset splitting methods are used to split the above-mentioned multiple crop per-acre yield data to obtain the weather per-acre yield data of the above-mentioned each crop per-acre yield data, including:
[0021] Each preset splitting method is used to split the above-mentioned multiple crop per mu yield data respectively, and the weather per mu yield data of each crop per mu yield data corresponding to each preset splitting method is obtained;
[0022] The weather per-acre yield data of each crop per-acre yield data corresponding to each of the X preset splitting methods are weightedly summed to obtain the above weather per-acre yield data.
[0023] In a possible implementation, determining effective factors affecting the weather per-acre yield data based on the plurality of weather per-acre yield data and corresponding meteorological data groups includes:
[0024] Y preset models are used to analyze the above-mentioned multiple weather per-acre yield data and the corresponding meteorological data groups to determine the effective factors affecting the above-mentioned weather per-acre yield data; wherein Y is a positive integer.
[0025] In a possible implementation, the above Y is a positive integer greater than or equal to 2;
[0026] The Y preset models are used to analyze the above multiple weather per mu yield data and the corresponding meteorological data groups to determine the effective factors affecting the above weather per mu yield data, including:
[0027] The Y preset models are respectively used to analyze the plurality of weather per mu yield data and the corresponding meteorological data groups, and a weather factor sequence corresponding to each preset model is determined; the weather factor sequence includes a plurality of weather factors, and the plurality of weather factors are arranged according to the degree of their influence on the weather per mu yield data;
[0028] The above-mentioned effective factors are determined according to the degree of influence of each weather factor in the weather factor sequence corresponding to each of the above-mentioned preset models on the above-mentioned weather per-acre yield data.
[0029] In a possible implementation, the above-mentioned effective factors are determined according to the influence degree of each weather factor in the weather factor sequence corresponding to each preset model on the above-mentioned weather per-acre yield data, including:
[0030] The weather factors included in the intersection of M weather factors that have a greater impact on the above-mentioned weather per-acre yield data in the weather factor sequences corresponding to each of the Y preset models are determined as the above-mentioned effective factors; wherein M is a positive integer.
[0031] In a possible implementation, the above-mentioned effective factors are determined according to the influence degree of each weather factor in the weather factor sequence corresponding to each preset model on the above-mentioned weather per-acre yield data, including:
[0032] The weather factors included in the union of K weather factors that have a greater impact on the above-mentioned weather per-acre yield data in the weather factor sequences corresponding to each of the Y preset models are determined as the above-mentioned effective factors; wherein K is a positive integer.
[0033] In a possible implementation, after training the weather disaster prediction model according to the valid data corresponding to each of the plurality of meteorological data groups and the corresponding weather per-acre yield data, the method further includes:
[0034] Based on the trained weather disaster prediction model, the effective factors of the weather per-acre yield data and the corresponding weather per-acre yield data, the disaster-causing factors causing the above-mentioned weather per-acre yield data are determined; the above-mentioned effective factors at least include the above-mentioned disaster-causing factors.
[0035] In a possible implementation, after determining the disaster-causing factors causing the weather per-acre yield data based on the trained weather disaster prediction model, the effective factors of the weather per-acre yield data, and the corresponding weather per-acre yield data, the method further includes:
[0036] The threshold of the disaster-causing factor is determined based on the trained weather disaster prediction model, the valid data corresponding to each of the multiple meteorological data groups, and the corresponding weather yield per mu data.
[0037] In a second aspect, the embodiments of this specification provide a weather disaster prediction method, including:
[0038] Obtain valid data corresponding to the target meteorological data group;
[0039] The above-mentioned valid data is input into the weather disaster prediction model, and the weather disaster prediction results corresponding to the above-mentioned target meteorological data group are output; wherein the above-mentioned weather disaster prediction model is a model trained by the method provided by any possible implementation method of the above-mentioned first aspect.
[0040] In a third aspect, the embodiments of this specification provide a weather disaster prediction model training device, the device comprising:
[0041] The first determination module is used to determine the weather per mu yield data of each crop per mu yield data based on the multiple crop per mu yield data; the weather per mu yield data is used to characterize the influence of meteorological factors on the crop per mu yield data;
[0042] A second determination module is used to determine effective factors affecting the above weather per mu yield data based on the above weather per mu yield data and corresponding meteorological data groups;
[0043] A third determination module is used to determine the valid data corresponding to each of the plurality of meteorological data groups based on the validity factor;
[0044] The training module is used to train the weather disaster prediction model according to the valid data corresponding to each of the above-mentioned multiple meteorological data groups and the corresponding weather per-acre yield data.
[0045] In a possible implementation, the training module is specifically used to use the valid data corresponding to each of the multiple meteorological data groups and the corresponding weather per-acre yield data as sample data to train a weather disaster prediction model.
[0046] In a possible implementation, the training module includes:
[0047] A first determining unit is used to determine the weather disaster level corresponding to each of the plurality of meteorological data groups according to the weather per-acre yield data corresponding to each of the plurality of meteorological data groups;
[0048] The training unit is used to train the weather disaster prediction model by using the valid data corresponding to each of the above-mentioned multiple meteorological data groups and the corresponding weather disaster levels as sample data.
[0049] In a possible implementation manner, the first determining unit includes:
[0050] The first determination subunit is used to determine N equal points according to a plurality of weather per-acre yield data; the above N is a positive integer;
[0051] The second determination subunit is used to determine the weather disaster level corresponding to the above-mentioned weather per-acre yield data corresponding to each of the above-mentioned multiple meteorological data groups based on the above-mentioned N equal quantile points.
[0052] In a possible implementation, the first determination module is specifically configured to split the plurality of crop yield data per mu using X preset splitting methods to obtain weather yield data per mu of each crop yield data per mu; wherein X is a positive integer.
[0053] In a possible implementation, the above X is a positive integer greater than or equal to 2;
[0054] The first determination module includes:
[0055] A splitting unit is used to split the above-mentioned multiple crop yield data by using each preset splitting method to obtain weather yield data of each crop yield data corresponding to each preset splitting method;
[0056] The weighted summation unit is used to perform weighted summation on the weather per-acre yield data of each crop per-acre yield data corresponding to each of the X preset splitting methods to obtain the above weather per-acre yield data.
[0057] In a possible implementation, the second determination module is specifically used to use Y preset models to analyze the above-mentioned multiple weather-per-acre yield data and corresponding meteorological data groups to determine the effective factors affecting the above-mentioned weather-per-acre yield data; wherein Y is a positive integer.
[0058] In a possible implementation, the above Y is a positive integer greater than or equal to 2;
[0059] The second determination module includes:
[0060] An analysis unit is used to analyze the above-mentioned multiple weather per-acre yield data and the corresponding meteorological data group using the above-mentioned Y preset models respectively, and determine the weather factor sequence corresponding to each preset model; the above-mentioned weather factor sequence includes multiple weather factors, and the above-mentioned multiple weather factors are arranged according to the degree of their influence on the above-mentioned weather per-acre yield data;
[0061] The second determination unit is used to determine the above-mentioned effective factor according to the degree of influence of each weather factor in the weather factor sequence corresponding to each of the above-mentioned preset models on the above-mentioned weather per-acre yield data.
[0062] In a possible implementation, the determination unit is specifically used to determine the weather factors contained in the intersection of M weather factors that have a greater impact on the weather per-acre yield data in the weather factor sequences corresponding to the Y preset models as the effective factors; wherein M is a positive integer.
[0063] In a possible implementation, the second determination unit is specifically used to determine the weather factor included in the union of K weather factors that have a greater impact on the weather per-acre yield data in the weather factor sequences corresponding to the Y preset models as the effective factor; wherein K is a positive integer.
[0064] In a possible implementation, the above device further includes:
[0065] The fourth determination module is used to determine the disaster-causing factors causing the above-mentioned weather per-acre yield data based on the trained weather disaster prediction model, the effective factors of the above-mentioned weather per-acre yield data and the corresponding weather per-acre yield data; the above-mentioned effective factors at least include the above-mentioned disaster-causing factors.
[0066] In a possible implementation, the above device further includes:
[0067] The fifth determination module is used to determine the threshold of the above-mentioned disaster-causing factor based on the trained weather disaster prediction model, the valid data corresponding to each of the above-mentioned multiple meteorological data groups, and the corresponding weather per-acre yield data.
[0068] In a fourth aspect, an embodiment of the present specification provides a weather disaster prediction device, comprising:
[0069] An acquisition module is used to acquire valid data corresponding to a target meteorological data group;
[0070] A prediction module is used to input the above-mentioned valid data into a weather disaster prediction model and output the weather disaster prediction results corresponding to the above-mentioned target meteorological data group; wherein the above-mentioned weather disaster prediction model is a model trained by the method provided by any possible implementation method of the above-mentioned first aspect.
[0071] In a fifth aspect, an embodiment of this specification provides an electronic device, including: a processor and a memory;
[0072] The processor is connected to the memory;
[0073] The above-mentioned memory is used to store executable program code;
[0074] The processor runs the program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the method provided by the first aspect of the embodiment of this specification or any possible implementation of the first aspect or the method provided by the second aspect.
[0075] In a sixth aspect, an embodiment of the present specification provides a computer storage medium, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the method provided by the first aspect of the embodiment of the present specification or any possible implementation of the first aspect or the method provided by the second aspect.
[0076] The embodiments of this specification separate the weather per-acre yield data from the crop per-acre yield data, determine the effective factors in the meteorological data corresponding to multiple weather per-acre yield data groups, and further determine the effective data corresponding to the above effective factors, and use the effective data corresponding to each of the above multiple meteorological data groups and the corresponding weather per-acre yield data to train the weather disaster prediction model. The above weather per-acre yield data is used to characterize the impact of meteorological factors on the above crop per-acre yield data, so as to filter out the impact of social factors such as agricultural technology innovation on per-acre yield. Only the part of the per-acre yield information that is only affected by the weather, namely the weather per-acre yield data, is used to train the weather disaster prediction model, so that the above weather disaster prediction model can more accurately predict the weather disaster level and other weather disaster results for various meteorological factors. On the other hand, by predicting the weather disaster prediction results corresponding to the effective data corresponding to the target meteorological data group through the above trained weather disaster prediction model, users can more intuitively and quickly understand the impact of meteorological factors on weather per-acre yield, and help agricultural scene staff to perceive risks and adjust strategies in a timely manner to ensure the output of agricultural products. BRIEF DESCRIPTION OF THE DRAWINGS
[0077] In order to more clearly illustrate the technical solutions in the embodiments of this specification, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0078] Figure 1 A schematic diagram of the architecture of a weather disaster prediction model training system provided by an exemplary embodiment of this specification;
[0079] Figure 2 A flowchart of a weather disaster prediction model training method provided by an exemplary embodiment of this specification;
[0080] Figure 3 A schematic diagram of preset weights and splitting results corresponding to a preset splitting method provided in an exemplary embodiment of this specification;
[0081] Figure 4 A schematic diagram of the structure of a meteorological data group provided as an exemplary embodiment of this specification;
[0082] Figure 5 A schematic diagram of determining effective factors using three preset models provided as an exemplary embodiment of this specification;
[0083] Figure 6 Another schematic diagram of using three preset models to determine effective factors is provided as an exemplary embodiment of this specification;
[0084] Figure 7 A schematic flow chart of a weather disaster prediction method provided as an exemplary embodiment of this specification;
[0085] Figure 8 A schematic diagram of a weather disaster prediction result provided by an exemplary embodiment of this specification;
[0086] Fig. 9 A schematic diagram of the overall process of a weather disaster prediction and model training method provided by an exemplary embodiment of this specification;
[0087] Fig.10 A schematic diagram of the structure of a weather disaster prediction model training device provided by an exemplary embodiment of this specification;
[0088] Fig.11 A schematic diagram of the structure of a weather disaster prediction device provided as an exemplary embodiment of this specification;
[0089] Fig.12 A schematic diagram of the structure of an electronic device provided as an exemplary embodiment of this specification. DETAILED DESCRIPTION
[0090] The technical solutions in the embodiments of this specification will be described clearly and completely below in conjunction with the drawings in the embodiments of this specification.
[0091] The terms "first", "second", "third", etc. in this specification and claims and the above drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.
[0092] Please refer to Figure 1 , Figure 1 The following is a schematic diagram of the architecture of a weather disaster prediction model training system provided by an exemplary embodiment of this specification. Figure 1 As shown, the weather disaster prediction model training system may include: a terminal cluster and a server 120. Among them:
[0093] The terminal 110 may be a user terminal, and specifically may include one or more user terminals. A user version of the software may be installed in the terminal 110, which is used to enable the user to send crop yield data per mu to the server 120 through the network, obtain and view weather disaster forecast results online, and other functions. Any user terminal in the terminal 110 may establish a data relationship with the network, and establish a data connection relationship with the server 120 through the network, such as receiving weather disaster forecast results, disaster factors and their thresholds sent by the server through the network. Among them, any user terminal in the terminal 110 may be, but is not limited to, a mobile phone, tablet computer, laptop computer, or other device installed with the user version of the software.
[0094] The server 120 can be a server that can provide a variety of weather disaster prediction model training. It can not only directly receive the crop per mu yield data sent by the terminal 110 through the network, but also obtain multiple meteorological data corresponding to the above crop per mu yield data from a meteorological-related website or platform, such as a meteorological big data platform, through the network, that is, a meteorological data group, and determine the weather per mu yield data, the effective factors corresponding to the above weather per mu yield data, and other data based on the above crop per mu yield data, meteorological data group, etc., so as to realize the training of the weather disaster prediction model based on the above weather per mu yield data, effective factors, etc. The server 120 can also send the disaster-causing factors and their thresholds that cause the above weather per mu yield data to any user terminal in the network or terminal 110. In addition to the above functions, the server 120 can also be a server that can provide a variety of weather disaster predictions, that is, it can obtain the corresponding effective data in the target meteorological data group through the network to realize the weather disaster prediction function, and can also send the weather disaster prediction results to any user terminal in the network or terminal 110. The server 120 can be, but is not limited to, a hardware server, a virtual server, a cloud server, etc.
[0095] The network may be a medium that provides a communication link between the server 120 and any user terminal in the terminal 110, or may be the Internet including network devices and transmission media, but is not limited thereto. The transmission medium may be a wired link (such as but not limited to coaxial cable, optical fiber, and digital subscriber line (DSL)) or a wireless link (such as but not limited to wireless fidelity (WIFI), Bluetooth, and mobile device network).
[0096] Understandably, Figure 1The number of terminals 110 and servers 120 in the weather disaster prediction model training system is shown as an example only. In a specific implementation, the weather disaster prediction model training system may include any number of user terminals and servers. This specification embodiment does not specifically limit this. For example, but not limited to, the server 120 may be a server cluster consisting of multiple servers.
[0097] Next, combine Figure 1 , introduces the weather disaster prediction model training method provided by the embodiment of this specification. For details, please refer to Figure 2 , which is a flow chart of a weather disaster prediction model training method provided by an exemplary embodiment of this specification. Figure 2 As shown, the weather disaster prediction model training method includes the following steps:
[0098] Step 202, determining weather per-acre yield data of each crop per-acre yield data based on a plurality of crop per-acre yield data.
[0099] Specifically, the user inputs a plurality of crop yield data into the terminal, and the plurality of crop yield data includes the time information corresponding to each crop yield data. For example, the plurality of crop yield data may include crop yield data corresponding to different years or crop yield data corresponding to different quarters. After the terminal sends the plurality of crop yield data to the server through the network, the server may receive the plurality of crop yield data sent by the terminal through the network, and adopts X preset splitting methods to perform time series splitting on the plurality of crop yield data based on the time information of the plurality of crop yield data, so as to obtain the weather yield data corresponding to each crop yield data; wherein X is a positive integer. The weather yield data is used to characterize the influence of meteorological factors on the crop yield data. That is to say, the server may split the crop yield data using at least one splitting method to obtain the weather yield data. In this way, the influence of social factors such as agricultural science and technology innovation on yield can be filtered out, so as to obtain the partial yield information corresponding to the crop yield data that is only affected by the weather, namely the weather yield data. The value of the weather per mu yield data may include positive real numbers and negative real numbers. A negative value of the weather per mu yield data is used to indicate that the weather of that year has a negative impact on the crop yield, and a positive value of the weather per mu yield data is used to indicate that the weather of that year has a positive impact on the crop yield.
[0100] Specifically, the above-mentioned preset splitting methods may include, for example, orthogonal polynomial simulation, spline regression, five-point cubic filtering, grey system and harmonic weighting methods. The above-mentioned orthogonal polynomial simulation can be approximated by a high-order polynomial, that is, the crop per-acre yield sequence that is more complex with time can also be simulated by orthogonal polynomials to simulate the time trend weather per-acre yield data. The above-mentioned spline regression can divide the crop per-acre yield data set into multiple continuous intervals, and each continuous interval uses a separate regression model, that is, the corresponding weather per-acre yield data is determined by a linear function or a low-order polynomial function. The above-mentioned five-point cubic filtering can smooth the crop per-acre yield data sequence through a cubic polynomial, thereby determining the weather per-acre yield data corresponding to the crop per-acre yield data. The coefficients of the above-mentioned cubic polynomial can be determined by using the least squares method for 5 adjacent sequence points. The above-mentioned grey system can establish a grey differential prediction model through a small amount of incomplete information to make a fuzzy long-term description of the law of development of things. The above-mentioned harmonic weight is an algorithm for extrapolating trend yield. This method takes into account the historical growth pattern of crop yield, so that the increments in years closer to the forecast year have greater weights. Compared with equal-weight processing, it is more in line with the actual situation of agricultural production.
[0101] Optionally, X=1, that is, the server uses only one preset splitting method to split the multiple crop per-acre yield data to obtain the weather per-acre yield data corresponding to each crop per-acre yield data. In this case, the splitting result obtained by using the preset splitting method is the weather per-acre yield data.
[0102] Optionally, X is a positive integer greater than or equal to 2, that is, the server uses a plurality of preset splitting methods to split the above-mentioned multiple crop per mu yield data. At this time, the server can respectively use each preset splitting method to split the above-mentioned multiple crop per mu yield data one by one, and obtain the weather per mu yield data of each crop per mu yield data corresponding to each preset splitting method. Then, the server can perform weighted summation of the weather per mu yield data of each crop per mu yield data corresponding to each of the above-mentioned multiple preset splitting methods, so as to obtain the weather per mu yield data corresponding to each of the final crop per mu yield data. In the embodiment of the present specification, the above-mentioned multiple crop per mu yield data are split by a plurality of preset splitting methods, and the weather per mu yield data obtained by weighted summation of the corresponding multiple splitting results is more stable and more accurate, so that the performance training of the weather disaster prediction model is more accurate and the user experience is better.
[0103] Specifically, each of the above-mentioned multiple preset splitting methods corresponds to a preset weight, and the sum of the preset weights corresponding to the multiple preset splitting methods is 1. The server multiplies the corresponding weather per-acre yield data obtained by splitting each of the above-mentioned preset splitting methods by its corresponding preset weight, and then determines the sum of the multiple products as the final weather per-acre yield data.
[0104] For example, when the above crop yield per mu data is split using five different preset splitting methods, namely orthogonal polynomial simulation, spline regression, five-point cubic filtering, grey system and harmonic weight, Figure 3 As shown, if the preset weight corresponding to the orthogonal polynomial simulation is W1, the weather per mu yield data obtained by its splitting is X1, the preset weight corresponding to the spline regression is W2, the weather per mu yield data obtained by its splitting is X2, the preset weight corresponding to the five-point cubic filtering is W3, the weather per mu yield data obtained by its splitting is X3, the preset weight corresponding to the gray system is W4, the weather per mu yield data obtained by its splitting is X4, the preset weight corresponding to the harmonic weight is W5, the weather per mu yield data obtained by its splitting is X5, and W1+W2+W3+W4+W5=1, then the final weather per mu yield data can be calculated. .
[0105] Step 204, determining effective factors affecting the weather per-acre yield data based on the plurality of weather per-acre yield data and the corresponding meteorological data group.
[0106] Specifically, the user can also input multiple weather per mu yield data and corresponding meteorological data groups into the terminal. After the terminal sends the multiple weather per mu yield data and corresponding meteorological data groups to the server through the network, the server can also receive the multiple weather per mu yield data and corresponding meteorological data groups sent by the terminal through the network, and use Y preset models to analyze the multiple weather per mu yield data and corresponding meteorological data groups, so as to determine the effective factors affecting the above weather per mu yield data. It is equivalent to inputting the above multiple weather per mu yield data and corresponding meteorological data groups into the preset model, outputting the various weather factors affecting the above weather per mu yield data and their corresponding thresholds, and then the server selects some weather factors from the above weather factors as effective factors. Wherein, Y is a positive integer. The above preset models may include models such as Gradient Boosting Decision Tree (GBDT), Random Forest (RF), Light Gradient Boosting Machines (LGBM), etc. The meteorological data group may include multiple meteorological data corresponding to the crop planting period, wherein the meteorological data includes data reflecting weather changes such as temperature, wind speed, and precipitation during crop planting.
[0107] For example, Figure 4As shown, the meteorological data set may include multiple meteorological data such as temperature, wind speed, and precipitation for each day during the crop planting period, for example, the temperature on March 8 is 4-12°C, the wind speed is level 1, and the precipitation is 5 mm, and the temperature on March 9 is 4-15°C, the wind speed is level 2, and the precipitation is 2 mm. The multiple meteorological data included in the meteorological data set are not limited to the form of numerical values corresponding to the above temperature, wind speed, and precipitation, and may also include other forms such as curves of real-time changes in temperature, wind speed, and precipitation during the crop planting period, which are not specifically limited in this specification.
[0108] Specifically, the weather factor can be calculated based on multiple meteorological data in the above meteorological data group, for example, it can include the average temperature, maximum temperature, average wind speed, maximum wind speed, maximum temperature difference between day and night, cumulative precipitation, and cold accumulated temperature corresponding to March-May, and hot accumulated temperature corresponding to June-August, etc. Among them, the cold accumulated temperature is used to represent the minimum value of the accumulated temperature that is continuously less than 0°C in a month; the hot accumulated temperature is used to represent the maximum value of the accumulated temperature that is continuously greater than 35°C in a month. The threshold of the weather factor is used to represent the degree of influence of the weather factor on the weather per-acre yield data.
[0109] Specifically, the effective factor is used to characterize the weather factor that has a greater impact on the weather per-acre yield data, which can be a part or all of the weather factors, and this specification does not make specific limitations on this.
[0110] Specifically, GBDT is an iterative decision tree algorithm that consists of multiple decision trees, and the final answer is obtained by summing up the conclusions of all trees. Random Forest is an integrated algorithm for tree models. By combining multiple weak classifiers, the final result is obtained by voting or averaging, so that the result of the overall model has higher accuracy and generalization performance. LGBM is a lightweight complex tree model that uses a histogram-based algorithm, for example, bucketing continuous feature values into discrete bins, which makes training faster and more efficient; at the same time, it uses a leaf-wise splitting method to produce a more complex tree than a level-wise splitting method, thereby achieving higher accuracy.
[0111] Optionally, Y=1, that is, the server only uses one preset model to analyze the above-mentioned multiple weather per-acre yield data and the corresponding meteorological data group, so as to determine the effective factors affecting the above-mentioned weather per-acre yield data. At this time, the server can select some weather factors as effective factors according to the various weather factors affecting the above-mentioned weather per-acre yield data output by the preset model and their corresponding thresholds. That is, when there are A weather factors output that affect the weather per-acre yield data, the server can select B weather factors with larger thresholds, i.e., larger influence, among the above-mentioned A weather factors as effective factors, where A is a positive integer greater than or equal to 1, and B is a positive integer greater than or equal to 1 and less than or equal to A.
[0112] Optionally, Y is a positive integer greater than or equal to 2, that is, the server uses multiple preset models to analyze the above-mentioned multiple weather per mu yield data and the corresponding meteorological data group, so as to determine the weather factor sequence corresponding to each preset model. The above-mentioned weather factor sequence includes multiple weather factors, and the above-mentioned multiple weather factors are arranged according to the degree of influence on the above-mentioned weather per mu yield data, that is, the threshold value corresponding to each weather factor output by the preset model that affects the above-mentioned weather per mu yield data, for example, arranged from large to small, or arranged from small to large. After the server determines the weather factor sequence corresponding to each preset model, it will also determine the above-mentioned effective factor according to the degree of influence of each weather factor in the weather factor sequence corresponding to each preset model on the above-mentioned weather per mu yield data, that is, the threshold value corresponding to the weather factor. In the embodiment of this specification, multiple preset models are used to analyze the above-mentioned multiple weather per mu yield data and the corresponding meteorological data group, so as to comprehensively determine the effective factors affecting the above-mentioned weather per mu yield data according to the weather factors corresponding to the output of multiple preset models and their corresponding thresholds, and the determined effective factors are more accurate, so that the performance training of the weather disaster prediction model is more accurate and the user experience is better.
[0113] Optionally, the server may determine the weather factors included in the intersection of M weather factors that have a greater impact on the weather per-acre yield data in the weather factor sequences corresponding to the multiple preset models as effective factors; where M is a positive integer. This is equivalent to sorting the weather factors corresponding to each preset model from large to small (or small to large) according to the degree of impact on the weather per-acre yield data, and then determining the same weather factors among the first (or last) M weather factors output by the multiple preset models as effective factors.
[0114] For example, if three different preset models are used to analyze the above-mentioned multiple weather per mu yield data and the corresponding meteorological data group, and the above-mentioned M is 5. Figure 5As shown, if the weather factors 510 that have a greater impact on the weather-per-acre yield data obtained by analyzing the first preset model are "maximum temperature", "average humidity", "maximum wind speed", "production area altitude", and "drought index", and the weather factors 520 that have a greater impact on the weather-per-acre yield data obtained by analyzing the second preset model are "average temperature", "maximum humidity", "maximum wind speed", "drought index", and "maximum temperature", and the weather factors 530 that have a greater impact on the weather-per-acre yield data obtained by analyzing the third preset model are "maximum temperature", "maximum humidity", "temperature fluctuation", "drought index", and "maximum precipitation", then it can be determined that the intersection 540 of the five weather factors that have a greater impact on the weather-per-acre yield data corresponding to the above three preset models includes the two weather factors of "maximum temperature" and "drought index". Therefore, the two weather factors of "maximum temperature" and "drought index" can be determined as effective factors affecting the weather-per-acre yield data.
[0115] Optionally, the server may also determine the weather factors included in the union of K weather factors that have a greater impact on the weather per-acre yield data in the weather factor sequences corresponding to the multiple preset models as effective factors; wherein K is a positive integer. This is equivalent to sorting the weather factors corresponding to each preset model from large to small (or small to large) according to the degree of impact on the weather per-acre yield data, and then determining the first (or last) K weather factors output by the multiple preset models as effective factors.
[0116] For example, if three different preset models are used to analyze the above-mentioned multiple weather per mu yield data and the corresponding meteorological data group, and K is 3. Figure 6 As shown, if the weather factors 610 that have a greater impact on the weather-per-acre yield data obtained by analyzing the first preset model are "maximum temperature", "average humidity", and "maximum wind speed", respectively, and the weather factors 620 that have a greater impact on the weather-per-acre yield data obtained by analyzing the second preset model are "average temperature", "maximum humidity", and "maximum wind speed", respectively, and the weather factors 630 that have a greater impact on the weather-per-acre yield data obtained by analyzing the third preset model are "maximum temperature", "maximum humidity", and "temperature fluctuation", respectively, then the union 640 of the three weather factors that have a greater impact on the weather-per-acre yield data corresponding to the above three preset models, namely, the seven weather factors of "maximum temperature", "average humidity", "average wind speed", "average temperature", "maximum humidity", "maximum wind speed", and "temperature fluctuation", can be determined as effective factors affecting the weather-per-acre yield data.
[0117] Optionally, in addition to using Y preset models to determine the effective factors affecting the above weather per mu yield data, the server can also calculate the weather factors based on the multiple meteorological data in the above meteorological data group, and use the logistic regression model to model the numerous weather factors, thereby outputting the p-value of each weather factor, and then determining whether the factor is significant based on the size of the p-value. That is, when the p-value is less than a preset threshold value such as 0.01, 0.02, etc., the factor is retained, that is, the factor is determined to be an effective factor. Otherwise, the factor is deleted.
[0118] Step 206: determining valid data corresponding to each of the plurality of meteorological data groups based on the validity factor.
[0119] Specifically, the meteorological data group may include multiple weather factors and data corresponding to the multiple weather factors. After determining the effective factors that affect the weather per-acre yield data, the corresponding effective data may be found in multiple meteorological data groups or weather factors calculated from the meteorological data groups according to the names of the effective factors. For example, when the effective factor is "maximum temperature", the server may find the temperature value corresponding to the maximum temperature in the meteorological data group corresponding to the weather per-acre yield data or the weather factors calculated from the meteorological data group.
[0120] Step 208, training a weather disaster prediction model based on the valid data corresponding to each of the multiple meteorological data groups and the corresponding weather per-acre yield data.
[0121] Optionally, the server may use the valid data corresponding to each of the multiple meteorological data groups and the corresponding weather per-acre yield data as sample data to train the weather disaster prediction model.
[0122] Optionally, the server will first determine the weather disaster level corresponding to each of the above-mentioned multiple meteorological data groups based on the above-mentioned weather per-acre yield data corresponding to each of the above-mentioned multiple meteorological data groups, and then use the valid data corresponding to each of the above-mentioned multiple meteorological data groups and the corresponding weather disaster level as sample data to train the weather disaster prediction model. The above-mentioned weather disaster levels may include level one, level two, level three, level four, etc. The above-mentioned level one can be used to characterize that the weather disaster is relatively serious, the level two can be used to characterize that the weather disaster is slightly serious, the level three can be used to characterize normal, and the level four can be used to indicate that the collection is relatively good. The level of the weather disaster level and its corresponding meaning are not limited to the expression method in the above-mentioned embodiment. There may be other expressions in the specific implementation, and the embodiments of this specification are not limited to this.
[0123] Specifically, the server can first determine N quantile points based on multiple weather per-acre yield data, and then determine the weather disaster level corresponding to the weather per-acre yield data corresponding to each of the multiple meteorological data groups based on the N quantile points. The above N is a positive integer. It is equivalent to the server first sorting the values of multiple weather per-acre yield data from large to small (or small to large), and then determining the weather per-acre yield data corresponding to the N quantile points when the multiple weather per-acre yield data are in the above order, and determining the weather per-acre yield range corresponding to N+1 weather disaster levels based on the weather per-acre yield data corresponding to the N quantile points, and then determining the weather disaster level corresponding to the weather per-acre yield data based on the weather per-acre yield range corresponding to the above weather disaster level.
[0124] Exemplarily, the position calculation formula of the equal points is: , where i is a positive integer, used to represent the nth quantile; H is used to represent the number of statistical data, i.e., weather-per-acre yield data; and N+1 is used to represent that the above N weather-per-acre yield data are divided into N+1 equal parts through N quantile points. Therefore, when N is 3 and H is 11, that is, the weather per mu yield data are 2700, 1900, -500, -700, -600, -900, 1500, 1200, 1800, -200, -100 respectively, the position of the first quartile point = 1 / 4×(11-1)+1=3.5, that is, in the weather per mu yield data (-900, -700, -600, -500, -200, -100,100, 150, 180, 190,270), the third ranked weather per mu yield data is "-600", and the fourth ranked weather per mu yield data is "-500", so the weather per mu yield data corresponding to the position of 3.5 = (-500+(-600)) / 2= -550, that is, the weather per mu yield data corresponding to the first quartile point is "-550"; the position of the second quartile point = 2 / 4×(11-1)+1=6, that is, in the weather per mu yield data (-900, -700, -600, -500, -200, -100, 100, 150, 180, 190,270) The weather yield per mu data ranked 6th is "-100", so the weather yield per mu data corresponding to the second quartile is "-100". Similarly, the value of the weather yield per mu data corresponding to the third quartile is 165, which means that when the weather disaster level is level one, the corresponding weather yield per mu data value range is less than or equal to -550; when the weather disaster level is level two, the corresponding weather yield per mu data range is greater than -550 and less than or equal to -100; when the weather disaster level is level three, the corresponding weather yield per mu data range is greater than -100 and less than or equal to 165; when the weather disaster level is level four, the corresponding weather yield per mu data range is greater than 165. Finally, the server can determine the weather disaster level corresponding to each of the above 11 weather yield per mu data based on the above range. For example, since the weather yield per mu data 270 is greater than 165, it can be determined that the weather disaster level corresponding to the weather yield per mu data 270 is level four. After determining the weather disaster level corresponding to each of the above 11 weather per-acre yield data, the server can use the above 11 weather per-acre yield data and the corresponding valid data of each of the 11 meteorological data groups as sample data to train the weather disaster prediction model, so that the above weather disaster prediction model can predict the corresponding weather per-acre yield data, weather disaster level and other weather disaster prediction results based on the target meteorological data group. The method for determining N equal quantile points is not limited to the above formula, and can also be calculated by quartile function, quintile function, etc., which is not limited in this specification.
[0125] The embodiments of this specification split the weather per-acre yield data from the crop per-acre yield data, determine the effective factors in the meteorological data corresponding to multiple weather per-acre yield data groups, and further determine the effective data corresponding to the above effective factors, and use the effective data corresponding to each of the above multiple meteorological data groups and the corresponding weather per-acre yield data to train a weather disaster prediction model. The above weather per-acre yield data is used to characterize the impact of meteorological factors on the above crop per-acre yield data, so as to filter out the impact of social factors such as agricultural technology innovation on per-acre yield. Only the part of the per-acre yield information that is only affected by the weather, namely the weather per-acre yield data, is used to train the weather disaster prediction model, so that the above weather disaster prediction model can more accurately predict weather disaster results such as weather disaster levels for various meteorological factors.
[0126] Furthermore, the weather disaster prediction model may include an entity based model (EBM). The structure of the above EBM model is as follows: , where X n represents the effective factor, n is a positive integer; Y represents the weather yield per mu, the value of weather yield per mu can be positive or negative, generally negative means that the weather of that year has a negative impact on the yield.
[0127] Optionally, the effective factors at least include disaster-causing factors. Exemplarily, the above-mentioned disaster-causing factors may include "maximum temperature in March", "drought index in April", etc. After the training of the above-mentioned weather disaster model is completed, the weather disaster model can infer the disaster-causing factors that can cause disasters in the above-mentioned effective factors and their corresponding thresholds according to the structure of the above-mentioned EBM model based on the effective factors of the weather per mu yield data before training and the corresponding weather per mu yield data, that is, when the value of the above-mentioned disaster-causing factor exceeds the threshold condition, the disaster-causing factor will cause the weather per mu yield data to decrease, that is, cause a disaster. Exemplarily, the threshold of the disaster-causing factor may include "maximum temperature in May 9.76℃", "drought index in April 0.48", etc. The conditions corresponding to the threshold of the disaster-causing factor may include "maximum temperature in May is less than 9.76℃", "drought index in April is less than 0.48", etc., that is, when the maximum temperature in May is less than 9.76℃, the weather per mu yield data will decrease; when the drought index in April is less than 0.48, the weather per mu yield data will decrease, etc.
[0128] Specifically, when the jth sample input into the EBM model is , the EBM model prediction value can output the score of its corresponding feature ,because are independent of each other, so the feature value and corresponding score of each sample are collected, and then linear regression is used as a proxy model to calculate (Take X1 as an example) Then calculate the critical threshold ,Right now If k>0, it means that X1 and Rise and fall together, when When it is less than 0, it means that it has a negative impact on the weather yield per mu Y, that is, at this time, the effective factor X1 can be determined as a disaster factor, and its corresponding threshold is , the final disaster rule is , that is, when the disaster factor When k<0, it means that X1 and In reverse, when When it is less than 0, it means that it has a negative impact on the weather yield per mu Y, that is, at this time, the effective factor X1 can be determined as a disaster factor, and its corresponding threshold is , the final disaster rule is , that is, when the disaster factor When k=0, it has a negative impact on the weather yield per mu Y; if k=0, it means that the impact of this feature on the disaster is a constant and can be regarded as a constant term, that is, the effective factor is not a disaster-causing factor.
[0129] The embodiments of this specification use a trained weather disaster prediction model to infer the disaster-causing factors that cause weather yield data and their corresponding thresholds based on the pre-training training sample data, i.e., the valid data corresponding to each of the multiple meteorological data groups, the effective factors of the weather yield data, and the corresponding weather yield data. This allows users to more intuitively understand what meteorological factors will cause the weather yield data to decline, thereby improving the user experience.
[0130] Next, we will introduce a weather disaster prediction method provided by the embodiment of this specification. Figure 7 , which is a flow chart of a weather disaster prediction method provided by an exemplary embodiment of this specification. Figure 7 As shown, the weather disaster prediction method includes the following steps:
[0131] Step 702, obtaining valid data corresponding to the target meteorological data group.
[0132] Specifically, when a user wants to predict the per-acre yield of a certain crop planted in a certain area or whether it will face weather disasters, the user can input the meteorological data group corresponding to the crop planting process, that is, the target meteorological data group, into the terminal, which will be sent to the server through the network. Thus, the server can receive the above meteorological data group through the network, and determine the valid data corresponding to the target meteorological data group based on the valid factors determined when training the weather disaster prediction model. Among them, the valid data is the specific value corresponding to the valid factor.
[0133] Step 704, input the valid data into the weather disaster prediction model, and output the weather disaster prediction results corresponding to the target meteorological data group.
[0134] Specifically, the server can input the valid data corresponding to the target meteorological data group into the weather disaster prediction model, thereby outputting the weather disaster prediction results corresponding to the above target meteorological data group. The above weather disaster prediction model is a model trained using all or part of the steps of the weather disaster prediction model training method described in the embodiments of this specification. The above weather disaster prediction results may include weather per-acre yield data, weather disaster levels, disaster-causing factors and their thresholds, etc.
[0135] Optionally, when the weather disaster prediction model is trained using the disaster level and valid data corresponding to each of the multiple meteorological data groups, the weather disaster prediction result obtained by using the weather disaster prediction model for prediction output is the disaster level corresponding to the target meteorological data group. Furthermore, if the disaster level obtained by the above prediction is a level that has a negative impact on the per-acre yield, and the disaster-causing factor is further determined after the training of the weather disaster prediction model, then the disaster-causing factor corresponding to the above disaster level and its threshold value can also be output here after the prediction result is output.
[0136] Optionally, when the weather disaster prediction model is trained directly using weather per-acre yield data and valid data corresponding to each of the multiple meteorological data groups, the weather disaster prediction result obtained by using the weather disaster prediction model for prediction is the weather per-acre yield data corresponding to the target meteorological data group. Furthermore, if the weather per-acre yield data obtained by the above prediction is negative, and the disaster-causing factor is further determined after the above weather disaster prediction model is trained, the disaster-causing factor corresponding to the weather per-acre yield data and its threshold value can be output after the prediction result is output here. Furthermore, the server can also classify the disaster level of the predicted weather per-acre yield data according to the weather per-acre yield data corresponding to each of the N quantile points in the above step 208.
[0137] Furthermore, the server can also output the weather disaster prediction results obtained by the weather disaster prediction model to the front end. Figure 1 Terminal 110 in. That is, the server can visualize the disaster level, disaster factors, and threshold values to the user. The embodiment of this specification outputs the weather disaster prediction results, disaster factors, and threshold values obtained by the weather disaster prediction model to the front end, and visualizes them to the user. For example, the disaster level is visualized on the map with different colors, etc., which enables users to more intuitively and conveniently understand the impact of meteorological factors on weather per mu yield, and helps agricultural scene staff to timely perceive weather disaster risks and adjust strategies to ensure the output of agricultural products.
[0138] For example, Figure 8 As shown, after the server obtains the valid data 810 corresponding to the target meteorological data group in the apple planting process in County A, the valid data 810 can be input into the trained weather disaster prediction model, and the weather disaster prediction result can be output. If the weather disaster prediction model is trained using the disaster level and the valid data corresponding to each of the multiple meteorological data groups, the service can directly output the output prediction result, i.e., the disaster level 820, and the disaster-causing factors corresponding to the disaster level 820, i.e., the disaster-causing factors and their thresholds 830 to the front end. The above disaster levels can be visually represented on the map with different colors.
[0139] Fig. 9 A specific embodiment of this specification is shown exemplarily. Fig. 9 As shown, the server can perform time series decomposition of the multiple crop yield data 910 including corresponding time information sent by the terminal to obtain the weather yield index 930 (i.e., weather yield data) corresponding to each crop yield data, and use the weather yield index 930 as the training Y value to perform factor derivation 940 in the meteorological data 920 corresponding to the acquired crop yield data 910, that is, obtain the weather factor 940 that has an impact on the weather yield in the meteorological data 920 and the effective factor 960 that has a greater impact on the weather yield in the weather factor 940. At the same time, the server can also determine the corresponding disaster level 950 through the preset quantile of the weather yield index 930 or the equal quantile of the weather yield index 930, and use the above disaster level 950 and the above effective factor 960 to train the weather disaster prediction model, that is, perform EBM model fitting 970. After the weather disaster prediction model training is completed, the disaster-causing factor and threshold 980 corresponding to the above disaster level 950 can be further determined. When the server obtains the valid data corresponding to the target meteorological data group, it can input the above valid data into the above trained weather disaster prediction model. Fig. 9 The weather per-acre yield index prediction 990 in the output obtains the weather disaster prediction result, i.e., the weather per-acre yield index, and then the disaster judgment in step 992 is performed according to the above-mentioned quantile points or preset quantile points, so as to determine the disaster level corresponding to the predicted weather per-acre yield index.
[0140] The embodiments of this specification use a weather disaster prediction model to predict the weather disaster prediction results corresponding to the valid data corresponding to the target meteorological data group, that is, based on the meteorological data of a certain crop planted in a certain area during the planting process, the weather yield per mu of the crop and the disaster-causing factors, i.e., the disaster-causing factors and their thresholds are predicted. This enables users to more intuitively and quickly understand the impact of meteorological factors on weather yield per mu, and helps farm scene staff to perceive risks and adjust strategies in a timely manner to ensure the output of agricultural products.
[0141] Please refer to Fig.10 , Fig.10 A weather disaster prediction model training device is provided as an exemplary embodiment of this specification. The weather disaster prediction model training device 1000 includes:
[0142] The first determination module 1010 is used to determine the weather per-acre yield data of each crop per-acre yield data based on multiple crop per-acre yield data; the above weather per-acre yield data is used to characterize the impact of meteorological factors on the above crop per-acre yield data.
[0143] The second determination module 1020 is used to determine the effective factors affecting the above-mentioned weather per-acre yield data based on the above-mentioned multiple weather per-acre yield data and the corresponding meteorological data group.
[0144] The third determination module 1030 is used to determine the valid data corresponding to each of the multiple meteorological data groups based on the above-mentioned valid factors.
[0145] The training module 1040 is used to train the weather disaster prediction model according to the valid data corresponding to each of the above-mentioned multiple meteorological data groups and the corresponding weather per-acre yield data.
[0146] In a possible implementation, the training module 1040 is specifically used to use the valid data corresponding to each of the multiple meteorological data groups and the corresponding weather per-acre yield data as sample data to train a weather disaster prediction model.
[0147] In a possible implementation, the training module 1040 includes:
[0148] The first determination unit is used to determine the weather disaster level corresponding to each of the above-mentioned multiple meteorological data groups according to the above-mentioned weather per-acre yield data corresponding to each of the above-mentioned multiple meteorological data groups.
[0149] The training unit is used to train the weather disaster prediction model by using the valid data corresponding to each of the above-mentioned multiple meteorological data groups and the corresponding weather disaster levels as sample data.
[0150] In a possible implementation, the first determining module unit includes:
[0151] The first determination subunit is used to determine N equipartition points according to multiple weather per-acre yield data; the above N is a positive integer.
[0152] The second determination subunit is used to determine the weather disaster level corresponding to the above-mentioned weather per-acre yield data corresponding to each of the above-mentioned multiple meteorological data groups based on the above-mentioned N equal quantile points.
[0153] In a possible implementation, the first determination module 1010 is specifically configured to split the plurality of crop yield data per mu using X preset splitting methods to obtain weather yield data per mu of each crop yield data per mu; wherein X is a positive integer.
[0154] In a possible implementation, the above X is a positive integer greater than or equal to 2.
[0155] The first determining module 1010 includes:
[0156] The splitting unit is used to split the above-mentioned multiple crop yield data per mu using each preset splitting method respectively, and obtain the weather yield data per mu of each crop yield data corresponding to each preset splitting method.
[0157] The weighted summation unit is used to perform weighted summation on the weather per mu yield data of each crop per mu yield data corresponding to each of the X preset splitting methods to obtain the weather per mu yield data of each crop per mu yield data.
[0158] In a possible implementation, the second determination module 1020 is specifically used to use Y preset models to analyze the above-mentioned multiple weather-per-acre yield data and corresponding meteorological data groups to determine the effective factors affecting the above-mentioned weather-per-acre yield data; wherein Y is a positive integer.
[0159] In a possible implementation, the above Y is a positive integer greater than or equal to 2.
[0160] The second determining module 1020 includes:
[0161] The analysis unit is used to respectively use the above-mentioned Y preset models to analyze the above-mentioned multiple weather-per-acre yield data and the corresponding meteorological data groups, and determine the weather factor sequence corresponding to each preset model; the above-mentioned weather factor sequence includes multiple weather factors, and the above-mentioned multiple weather factors are arranged according to the degree of their influence on the above-mentioned weather-per-acre yield data.
[0162] The second determination unit is used to determine the above-mentioned effective factor according to the degree of influence of each weather factor in the weather factor sequence corresponding to each of the above-mentioned preset models on the above-mentioned weather per-acre yield data.
[0163] In a possible implementation, the second determination unit is specifically used to determine the weather factors contained in the intersection of M weather factors that have a greater impact on the weather per-acre yield data in the weather factor sequences corresponding to the Y preset models as the effective factors; wherein M is a positive integer.
[0164] In a possible implementation, the second determination unit is specifically used to determine the weather factor included in the union of K weather factors that have a greater impact on the weather per-acre yield data in the weather factor sequences corresponding to the Y preset models as the effective factor; wherein K is a positive integer.
[0165] In a possible implementation, the weather disaster prediction model training device 1000 further includes:
[0166] The fourth determination module is used to determine the disaster-causing factors causing the above-mentioned weather per-acre yield data based on the trained weather disaster prediction model, the effective factors of the above-mentioned weather per-acre yield data and the corresponding weather per-acre yield data; the above-mentioned effective factors at least include the above-mentioned disaster-causing factors.
[0167] In a possible implementation, the weather disaster prediction model training device 1000 further includes:
[0168] The fifth determination module is used to determine the threshold of the above-mentioned disaster-causing factor based on the trained weather disaster prediction model, the valid data corresponding to each of the above-mentioned multiple meteorological data groups, and the corresponding weather per-acre yield data.
[0169] The division of each module in the above-mentioned weather disaster prediction model training device is only used for illustration. In other embodiments, the weather disaster prediction model training device can be divided into different modules as needed to complete all or part of the functions of the above-mentioned weather disaster prediction model training device. The implementation of each module in the weather disaster prediction model training device provided in the embodiment of this specification can be in the form of a computer program. The computer program can be run on a terminal or a server. The program modules constituted by the computer program can be stored in the memory of the terminal or the server. When the computer program is executed by the processor, all or part of the steps of the weather disaster prediction model training method described in the embodiment of this specification are implemented.
[0170] Please refer to Fig.11 , Fig.11 A weather disaster prediction device is provided as an exemplary embodiment of this specification. The weather disaster prediction device 1100 includes:
[0171] The acquisition module 1110 is used to acquire valid data corresponding to the target meteorological data group.
[0172] The prediction module 1120 is used to input the above-mentioned valid data into the weather disaster prediction model and output the weather disaster prediction results corresponding to the above-mentioned target meteorological data group; wherein the above-mentioned weather disaster prediction model is a model trained using all or part of the steps of the weather disaster prediction model training method described in the embodiments of this specification.
[0173] The division of each module in the above-mentioned weather disaster prediction device is only for illustration. In other embodiments, the weather disaster prediction device can be divided into different modules as needed to complete all or part of the functions of the above-mentioned weather disaster prediction device. The implementation of each module in the weather disaster prediction device provided in the embodiments of this specification can be in the form of a computer program. The computer program can be run on a terminal or a server. The program modules constituted by the computer program can be stored in the memory of the terminal or the server. When the computer program is executed by the processor, all or part of the steps of the weather disaster prediction method described in the embodiments of this specification are implemented.
[0174] See also Fig.12 , Fig.12 This is a schematic diagram of the structure of an electronic device provided by an exemplary embodiment of this specification. Fig.12 As shown, the electronic device 1200 may include: at least one processor 1210 , at least one communication bus 1220 , a user interface 1230 , at least one network interface 1240 , and a memory 1250 .
[0175] The communication bus 1220 may be used to realize the connection and communication among the above-mentioned components.
[0176] The user interface 1230 may include a display screen (Display) and a camera (Camera), and the optional user interface may also include a standard wired interface and a wireless interface.
[0177] The network interface 1240 may optionally include a Bluetooth module, an NFC module, a Wi-Fi module, etc.
[0178] Among them, the processor 1210 may include one or more processing cores. The processor 1210 uses various interfaces and lines to connect various parts within the entire electronic device 1200, and executes various functions and processes data of the routing electronic device 1200 by running or executing instructions, programs, code sets or instruction sets stored in the memory 1250, and calling data stored in the memory 1250. Optionally, the processor 1210 can be implemented in at least one hardware form of DSP, FPGA, and PLA. The processor 1210 can integrate one or a combination of CPU, GPU, modem, etc. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to handle wireless communication. It can be understood that the above-mentioned modem may not be integrated into the processor 1210, but may be implemented separately through a chip.
[0179] Among them, the memory 1250 may include RAM and may also include ROM. Optionally, the memory 1250 includes a non-transitory computer-readable medium. The memory 1250 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 1250 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a weather disaster level determination function, a weather disaster model training function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 1250 may optionally also be at least one storage device located away from the aforementioned processor 1210. As Fig.12 As shown, the memory 1250 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an application program.
[0180] In some possible embodiments, the electronic device 1200 may be the aforementioned weather disaster prediction model training device. Fig.12 In the electronic device 1200 shown, the user interface 1230 is mainly used to provide an input interface for the user, such as buttons on the weather disaster prediction model training device, to obtain instructions triggered by the user; and the processor 1210 can be used to call the application stored in the memory 1250 and specifically perform the following operations:
[0181] The weather per-acre yield data of each crop per-acre yield data is determined based on multiple crop per-acre yield data; the above weather per-acre yield data is used to characterize the impact of meteorological factors on the above crop per-acre yield data.
[0182] Based on the above-mentioned multiple weather-per-acre yield data and corresponding meteorological data groups, effective factors affecting the above-mentioned weather-per-acre yield data are determined.
[0183] Based on the above-mentioned validity factors, valid data corresponding to each of the plurality of meteorological data groups are determined.
[0184] The weather disaster prediction model is trained based on the valid data corresponding to each of the above multiple meteorological data groups and the corresponding weather per-acre yield data.
[0185] In some possible embodiments, when the processor 1210 executes training of a weather disaster prediction model according to the valid data corresponding to each of the plurality of meteorological data groups and the corresponding weather per-acre yield data, the processor 1210 is specifically configured to execute:
[0186] The valid data corresponding to each of the above multiple meteorological data groups and the corresponding weather per-acre yield data are used as sample data to train the weather disaster prediction model.
[0187] In some possible embodiments, when the processor 1210 executes training of a weather disaster prediction model according to the valid data corresponding to each of the plurality of meteorological data groups and the corresponding weather per-acre yield data, the processor 1210 is specifically configured to execute:
[0188] The weather disaster levels corresponding to each of the multiple meteorological data groups are determined according to the weather per-acre yield data corresponding to each of the multiple meteorological data groups.
[0189] The valid data corresponding to each of the above multiple meteorological data groups and the corresponding weather disaster levels are used as sample data to train the weather disaster prediction model.
[0190] In some possible embodiments, when the processor 1210 determines the weather disaster level corresponding to each of the multiple meteorological data groups according to the weather per-acre yield data corresponding to each of the multiple meteorological data groups, it is specifically configured to execute:
[0191] N quantile points are determined according to multiple weather per-acre yield data; the above N is a positive integer.
[0192] The weather disaster level corresponding to the weather per-acre yield data corresponding to each of the multiple meteorological data groups is determined based on the N equipartition points.
[0193] In some possible embodiments, when the processor 1210 determines the weather per-acre yield data of each crop per-acre yield data based on multiple crop per-acre yield data, it is specifically used to execute:
[0194] The above-mentioned multiple crop per mu yield data are split using X preset splitting methods to obtain the weather per mu yield data of the above-mentioned each crop per mu yield data; wherein X is a positive integer.
[0195] In some possible embodiments, the above X is a positive integer greater than or equal to 2.
[0196] When the processor 1210 uses X preset splitting methods to split the plurality of crop yield data per mu to obtain the weather yield data per mu of each crop yield data per mu, the processor 1210 is specifically used to execute:
[0197] Each preset splitting method is used to split the above-mentioned multiple crop yield data per mu, and the weather yield data per mu of each crop yield data corresponding to each preset splitting method is obtained.
[0198] The weather per-acre yield data of each crop per-acre yield data corresponding to each of the X preset splitting methods are weightedly summed to obtain the weather per-acre yield data of each crop per-acre yield data.
[0199] In some possible embodiments, when the processor 1210 determines the effective factors affecting the weather per-acre yield data based on the plurality of weather per-acre yield data and the corresponding meteorological data group, the processor 1210 is specifically configured to execute:
[0200] Y preset models are used to analyze the above-mentioned multiple weather per-acre yield data and the corresponding meteorological data groups to determine the effective factors affecting the above-mentioned weather per-acre yield data; wherein Y is a positive integer.
[0201] In some possible embodiments, the above Y is a positive integer greater than or equal to 2.
[0202] When the processor 1210 uses Y preset models to analyze the plurality of weather per-acre yield data and the corresponding meteorological data groups to determine the effective factors affecting the weather per-acre yield data, it is specifically used to execute:
[0203] The above-mentioned Y preset models are respectively used to analyze the above-mentioned multiple weather-per-acre yield data and the corresponding meteorological data groups to determine the weather factor sequence corresponding to each preset model; the above-mentioned weather factor sequence includes multiple weather factors, and the above-mentioned multiple weather factors are arranged according to the degree of their influence on the above-mentioned weather-per-acre yield data.
[0204] The above-mentioned effective factors are determined according to the degree of influence of each weather factor in the weather factor sequence corresponding to each of the above-mentioned preset models on the above-mentioned weather per-acre yield data.
[0205] In some possible embodiments, when the processor 1210 determines the effective factor according to the influence of each weather factor in the weather factor sequence corresponding to each preset model on the weather yield per mu data, it is specifically used to execute:
[0206] The weather factors included in the intersection of M weather factors that have a greater impact on the above-mentioned weather per-acre yield data in the weather factor sequences corresponding to each of the Y preset models are determined as the above-mentioned effective factors; wherein M is a positive integer.
[0207] In some possible embodiments, when the processor 1210 determines the effective factor according to the influence of each weather factor in the weather factor sequence corresponding to each preset model on the weather yield per mu data, it is specifically used to execute:
[0208] The weather factors included in the union of K weather factors that have a greater impact on the above-mentioned weather per-acre yield data in the weather factor sequences corresponding to each of the Y preset models are determined as the above-mentioned effective factors; wherein K is a positive integer.
[0209] In some possible embodiments, after executing the training of the weather disaster prediction model according to the valid data corresponding to each of the plurality of meteorological data groups and the corresponding weather per-acre yield data, the processor 1210 is further configured to execute:
[0210] Based on the trained weather disaster prediction model, the effective factors of the weather per-acre yield data and the corresponding weather per-acre yield data, the disaster-causing factors causing the above-mentioned weather per-acre yield data are determined; the above-mentioned effective factors at least include the above-mentioned disaster-causing factors.
[0211] In some possible embodiments, after the processor 1210 determines the disaster-causing factor causing the weather per-acre yield data based on the trained weather disaster prediction model, the effective factors of the weather per-acre yield data, and the corresponding weather per-acre yield data, it is further configured to execute:
[0212] The threshold of the disaster-causing factor is determined based on the trained weather disaster prediction model, the valid data corresponding to each of the multiple meteorological data groups, and the corresponding weather yield per mu data.
[0213] In some possible embodiments, the electronic device 1200 may also be the aforementioned weather disaster prediction device, and the processor 1210 may further specifically execute:
[0214] Get the valid data corresponding to the target meteorological data group.
[0215] The above-mentioned valid data is input into the weather disaster prediction model, and the weather disaster prediction results corresponding to the above-mentioned target meteorological data group are output; wherein the above-mentioned weather disaster prediction model is a model trained using all or part of the steps of the weather disaster prediction model training method described in the embodiment of this specification.
[0216] The embodiments of this specification also provide a computer-readable storage medium, which stores instructions, and when the instructions are executed on a computer or a processor, the computer or the processor executes one or more steps in the above embodiments. If the components of the weather disaster prediction model training device and the weather disaster prediction device are implemented in the form of software functional units and sold or used as independent products, they can be stored in the computer-readable storage medium.
[0217] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of this specification is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital versatile disc (DVD)), or a semiconductor medium (eg, a solid state drive (SSD)).
[0218] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes. In the absence of conflict, the technical features in this embodiment and the implementation scheme can be combined arbitrarily.
[0219] The embodiments described above are merely preferred embodiments of this specification and are not intended to limit the scope of this specification. Without departing from the design spirit of this specification, various modifications and improvements made to the technical solutions of this specification by ordinary technicians in this field should fall within the scope of protection determined by the claims.
[0220] The above is a description of a specific embodiment of the present specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
Claims
1. A weather disaster prediction model training method, include: Determine weather per-acre yield data of each crop per-acre yield data based on multiple crop per-acre yield data; The weather per mu yield data is used to characterize the impact of meteorological factors on the crop per mu yield data; Determine effective factors affecting the weather per mu yield data based on the plurality of weather per mu yield data and corresponding meteorological data groups; Determine the effective data corresponding to each of the plurality of meteorological data groups based on the effective factor; Training a weather disaster prediction model according to the valid data corresponding to each of the plurality of meteorological data groups and the corresponding weather per-acre yield data; The training of the weather disaster prediction model according to the valid data corresponding to each of the plurality of meteorological data groups and the corresponding weather per-acre yield data includes: Using the valid data corresponding to each of the plurality of meteorological data groups and the corresponding weather per-acre yield data as sample data to train a weather disaster prediction model; A negative value of the weather-per-acre yield data is used to indicate that the weather of that year has a negative impact on the crop yield, and a positive value of the weather-per-acre yield data is used to indicate that the weather of that year has a positive impact on the crop yield.
2. The method according to claim 1, wherein the weather disaster prediction model is trained according to the valid data corresponding to each of the plurality of meteorological data groups and the corresponding weather per-acre yield data, include: Determine the weather disaster level corresponding to each of the plurality of meteorological data groups according to the weather per-acre yield data corresponding to each of the plurality of meteorological data groups; The valid data corresponding to each of the multiple meteorological data groups and the corresponding weather disaster levels are used as sample data to train a weather disaster prediction model.
3. The method according to claim 2, wherein the weather disaster level corresponding to each of the plurality of meteorological data groups is determined according to the weather per-acre yield data corresponding to each of the plurality of meteorological data groups. include: Determine N equal points based on multiple weather per-acre yield data; Said N is a positive integer; The weather disaster level corresponding to the weather per-acre yield data corresponding to each of the multiple meteorological data groups is determined based on the N quantile points.
4. The method according to claim 1, wherein the weather yield data per mu of each crop is determined based on a plurality of crop yield data per mu, include: The plurality of crop yield data are split using X preset splitting methods to obtain weather yield data of each crop yield data; wherein X is a positive integer.
5. The method according to claim 4, wherein X is a positive integer greater than or equal to 2; The X preset splitting methods are used to split the multiple crop yield data to obtain the weather yield data of each crop yield data, including: Using each preset splitting method to split the plurality of crop yield data per mu, respectively, to obtain weather yield data per mu of each crop yield data corresponding to each preset splitting method; The weather per-acre yield data of each crop per-acre yield data corresponding to each of the X preset splitting methods are weightedly summed to obtain the weather per-acre yield data of each crop per-acre yield data.
6. The method according to claim 1, wherein the effective factors affecting the weather per mu yield data are determined based on the plurality of weather per mu yield data and corresponding meteorological data groups, include: Y preset models are used to analyze the multiple weather-per-acre yield data and the corresponding meteorological data groups to determine the effective factors affecting the weather-per-acre yield data; wherein Y is a positive integer.
7. The method according to claim 6, wherein Y is a positive integer greater than or equal to 2; The Y preset models are used to analyze the plurality of weather per mu yield data and the corresponding meteorological data groups to determine the effective factors affecting the weather per mu yield data. include: The Y preset models are respectively used to analyze the plurality of weather per mu yield data and the corresponding meteorological data groups to determine a weather factor sequence corresponding to each preset model; the weather factor sequence includes a plurality of weather factors, and the plurality of weather factors are arranged according to the degree of their influence on the weather per mu yield data; The effective factor is determined according to the degree of influence of each weather factor in the weather factor sequence corresponding to each preset model on the weather per mu yield data.
8. The method according to claim 7, wherein the effective factor is determined according to the influence degree of each weather factor in the weather factor sequence corresponding to each preset model on the weather per mu yield data, include: The weather factors included in the intersection of M weather factors that have a greater impact on the weather per-acre yield data in the weather factor sequences corresponding to the Y preset models are determined as the effective factors; wherein M is a positive integer.
9. The method according to claim 7, wherein the effective factor is determined according to the influence degree of each weather factor in the weather factor sequence corresponding to each preset model on the weather per mu yield data, include: The weather factor included in the union of K weather factors that have a greater impact on the weather per-acre yield data in the weather factor sequences corresponding to the Y preset models is determined as the effective factor; wherein K is a positive integer.
10. The method according to claim 1, after training the weather disaster prediction model according to the valid data corresponding to each of the plurality of meteorological data groups and the corresponding weather per mu yield data, the method further include: Determine the disaster-causing factor causing the weather per-acre yield data based on the trained weather disaster prediction model, the effective factors of the weather per-acre yield data, and the corresponding weather per-acre yield data; The effective factors at least include the disaster-causing factors.
11. The method according to claim 10, after determining the disaster-causing factors causing the weather per-acre yield data based on the trained weather disaster prediction model, the effective factors of the weather per-acre yield data and the corresponding weather per-acre yield data, the method further include: The threshold of the disaster-causing factor is determined based on the trained weather disaster prediction model, the valid data corresponding to each of the multiple meteorological data groups, and the corresponding weather per-acre yield data.
12. A weather disaster prediction method, the method include: Obtain valid data corresponding to the target meteorological data group; The valid data is input into a weather disaster prediction model, and a weather disaster prediction result corresponding to the target meteorological data group is output; wherein the weather disaster prediction model is a model trained using the method described in any one of claims 1-11.
13. A weather disaster prediction model training device, the device include: A first determination module is used to determine the weather per-acre yield data of each crop per-acre yield data based on multiple crop per-acre yield data; The weather per mu yield data is used to characterize the impact of meteorological factors on the crop per mu yield data; A second determination module is used to determine effective factors affecting the weather per mu yield data based on the plurality of weather per mu yield data and corresponding meteorological data groups; A third determination module, configured to determine valid data corresponding to each of the plurality of meteorological data groups based on the validity factor; A training module, used for training a weather disaster prediction model according to valid data corresponding to each of the plurality of meteorological data groups and corresponding weather per-acre yield data; The training module is specifically used to use the valid data corresponding to each of the multiple meteorological data groups and the corresponding weather per-acre yield data as sample data to train the weather disaster prediction model; a negative value of the weather per-acre yield data is used to represent that the weather of that year has a negative impact on crop yield, and a positive value of the weather per-acre yield data is used to represent that the weather of that year has a positive impact on crop yield.
14. The apparatus of claim 13, wherein the training module include: A first determining unit is used to determine the weather disaster level corresponding to each of the plurality of meteorological data groups according to the weather per-acre yield data corresponding to each of the plurality of meteorological data groups; The training unit is used to train a weather disaster prediction model using the valid data corresponding to each of the multiple meteorological data groups and the corresponding weather disaster levels as sample data.
15. The apparatus according to claim 14, wherein the first determining unit include: The first determination subunit is used to determine N equal points according to a plurality of weather per-acre yield data; Said N is a positive integer; The second determination subunit is used to determine the weather disaster level corresponding to the weather per-acre yield data corresponding to each of the multiple meteorological data groups based on the N quantile points.
16. The device according to claim 13, wherein the first determining module is specifically configured to split the plurality of crop yield data per mu using X preset splitting methods to obtain weather yield data per mu of the respective crop yield data per mu; in, X is a positive integer.
17. The device of claim 16, wherein X is a positive integer greater than or equal to 2; The first determining module includes: A splitting unit, used to split the plurality of crop yield data per mu using each preset splitting method, to obtain weather yield data per mu of each crop yield data corresponding to each preset splitting method; The weighted summation unit is used to perform weighted summation on the weather per mu yield data of each crop per mu yield data corresponding to each of the X preset splitting methods to obtain the weather per mu yield data of each crop per mu yield data.
18. The device according to claim 13, wherein the second determination module is specifically used to use Y preset models to analyze the plurality of weather per mu yield data and the corresponding meteorological data groups to determine effective factors affecting the weather per mu yield data; in, Y is a positive integer.
19. The device of claim 18, wherein Y is a positive integer greater than or equal to 2; The second determining module comprises: An analysis unit, configured to respectively use the Y preset models to analyze the plurality of weather per mu yield data and corresponding meteorological data groups, and determine a weather factor sequence corresponding to each preset model; the weather factor sequence includes a plurality of weather factors, and the plurality of weather factors are arranged according to the degree of their influence on the weather per mu yield data; The second determination unit is used to determine the effective factor according to the influence degree of each weather factor in the weather factor sequence corresponding to each preset model on the weather per mu yield data.
20. The device according to claim 19, wherein the second determining unit is specifically configured to determine the weather factor included in the intersection of M weather factors that have a greater impact on the weather per-acre yield data in the weather factor sequences corresponding to the Y preset models as the effective factor; in, M is a positive integer.
21. The device according to claim 19, wherein the second determining unit is specifically configured to determine the weather factor included in the union of K weather factors that have a greater impact on the weather per-acre yield data in the weather factor sequences corresponding to the Y preset models as the effective factor; in, K is a positive integer.
22. The device of claim 13, further comprising: include: A fourth determination module is used to determine the disaster-causing factors causing the weather per-acre yield data based on the trained weather disaster prediction model, the effective factors of the weather per-acre yield data and the corresponding weather per-acre yield data; The effective factors at least include the disaster-causing factors.
23. The device of claim 22, further comprising: include: The fifth determination module is used to determine the threshold value of the disaster factor based on the trained weather disaster prediction model, the valid data corresponding to each of the multiple meteorological data groups, and the corresponding weather per-acre yield data.
24. A weather disaster prediction device, the device include: An acquisition module is used to acquire valid data corresponding to a target meteorological data group; A prediction module is used to input the valid data into a weather disaster prediction model and output the weather disaster prediction results corresponding to the target meteorological data group; wherein the weather disaster prediction model is a model trained using the method described in any one of claims 1-11.
25. An electronic device, include: Processor and memory; The processor is connected to the memory; The memory is used to store executable program code; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the method according to any one of claims 1-11 or 12.
26. A computer storage medium storing a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the method steps of any one of claims 1-11 or 12.
27. A computer program product comprising instructions, which, when executed on a computer or a processor, causes the computer or the processor to perform the method according to any one of claims 1 to 11 or 12.
Citation Information
Patent Citations
Crop growth intervention method, device and equipment and storage medium
CN112215716A
Crop climate risk identification method and device and computer equipment
CN112580981A
Meteorological disaster early warning method based on agricultural Internet of Things
CN113591990A
