Method and device for evaluating wetland area, electronic equipment and storage medium

By constructing a target prediction model and combining random forest algorithm and linear regression, the changes in wetland area over historical periods are assessed, which solves the accuracy problem of wetland area assessment in existing technologies, realizes the consideration of the impact of human activities and climate change, and improves the accuracy and precision of the assessment.

CN118885918APending Publication Date: 2024-11-01INST OF ATMOSPHERIC PHYSICS CHINESE ACADEMY SCI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410937163.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

Existing technologies cannot accurately assess changes in wetland area over historical periods, especially changes under the influence of human reclamation activities, and remote sensing technology can only acquire data from recent years, resulting in low spatial resolution.

Method used

By constructing a target prediction model, using remote sensing technology to obtain wetland area proportion and meteorological element data, and combining random forest algorithm and linear regression, the model assesses the area change of wetland areas in historical periods, taking into account the impact of human activities and climate change.

Benefits of technology

It enables accurate assessment of wetland area over longer periods, reduces the variance and bias of single-model predictions, improves the generalization ability of prediction models, and can reconstruct the wetland area loss caused by human activities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118885918A_ABST
    Figure CN118885918A_ABST
Patent Text Reader

Abstract

The invention provides a wetland area evaluation method and device, electronic equipment and a storage medium. According to the method, the area of a wetland area in a grid area is discussed, a target prediction model is constructed through month-by-month meteorological element data and a month-by-month area proportion in the grid area for recent years, and a standard nonlinear relation between the meteorological element data and the corresponding area proportion is searched. However, the remote sensing technology cannot obtain the wetland area of the longer age, and the method determines the year-by-year area change proportion of the wetland area in the second historical period based on the year-by-year area of the wetland area in the grid area of the longer age determined by historical investigation, namely the influence of human activities on the wetland area. According to the method, the monthly wetland area corresponding to the climate change in the second historical period is determined through the target prediction model, the wetland area lost due to the influence of human activities is further restored through the area change proportion, and the monthly real wetland area of the wetland area in the grid area in the second historical period is accurately determined.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of wetland ecohydrology, and more specifically, to a method, device, electronic device and storage medium for assessing wetland area in the technical field of wetland ecohydrology. Background Art

[0002] Wetlands refer to areas where the surface is too wet or water accumulates frequently. Wetlands are often located in transitional zones between terrestrial and aquatic ecosystems. Wetlands include many types, such as coral reefs, estuaries, swamps, reservoirs, ponds, and rice fields. The importance of wetlands lies in their multiple ecological functions. They play an indispensable role in nature and have an irreplaceable role in maintaining ecological balance and purifying water quality. Therefore, it is crucial to assess the area of ​​wetlands.

[0003] At present, existing technologies use remote sensing technology to obtain wetland distribution data with high temporal and spatial resolution, and then determine the wetland area. However, this method can only obtain the wetland area in recent years when remote sensing technology is developed, but cannot obtain the wetland area under the influence of human reclamation activities in the last century. In addition, the historical wetland area obtained by detection technology can only reflect the changes in wetland area on an interannual scale, and most of them are point data with low spatial resolution.

[0004] Therefore, a method for assessing wetland area is urgently needed to accurately evaluate the changes in wetland area within a region over historical periods. Summary of the invention

[0005] The present application provides a method, device, electronic device and storage medium for evaluating wetland area. The method can accurately evaluate the area changes of wetland areas in a certain area during historical periods.

[0006] In a first aspect, a method for assessing wetland area is provided, the method comprising: obtaining the monthly area ratio of the wetland area relative to the grid area to which it belongs in the first historical period, the area of ​​the wetland area in the first historical period being obtained based on remote sensing technology; constructing a target prediction model corresponding to the grid area based on the area ratio and the corresponding monthly meteorological element data of the wetland area in the first historical period, the target prediction model being used to predict the monthly area ratio of the wetland area therein through the monthly meteorological element data in the grid area; determining the annual area change ratio of the wetland area in the second historical period based on the area of ​​the wetland area in the grid area in each year in the second historical period, the second historical period being earlier than the first historical period, and the latest year in the second historical period coincides with the earliest year in the first historical period; determining the monthly wetland area of ​​the wetland area in the grid area in the second historical period based on the monthly meteorological element data in the grid area in the second historical period, the target prediction model, the target area of ​​the grid area and the area change ratio.

[0007] In the above technical scheme, the area change of the wetland area in the grid area is affected by human activities (such as reclamation activities and drainage activities, etc.) and climate change (temperature rise and fall and precipitation, etc.), wherein the impact of human activities on the wetland area can be characterized by the long-term area change value. This method discusses the area of ​​the wetland area in the grid area, and constructs a target prediction model through the monthly meteorological element data in the grid area in recent years and the corresponding monthly area ratio (the ratio between the area of ​​the wetland area obtained by remote sensing technology and the area of ​​the grid area), and finds the standard nonlinear relationship between the monthly meteorological element data and the corresponding monthly area ratio. However, remote sensing technology cannot obtain the area of ​​the wetland area in the grid area in more ancient times. This method is based on the annual area of ​​the wetland area in the grid area in more ancient times determined by historical surveys, and determines the annual area change ratio of the wetland area in the second historical period, that is, the impact of human activities on the wetland area. Furthermore, the method determines the monthly wetland area of ​​the second historical period corresponding to climate change through the target prediction model, and further restores the monthly wetland area of ​​the second historical period lost due to human activities through the area change ratio, and determines the monthly wetland area of ​​the wetland area in the grid area in the second historical period. This method takes into account the impact of human activities and climate change on the wetland area, and can accurately determine the monthly area of ​​the wetland area in the grid area in more ancient times without the influence of human activities.

[0008] In combination with the first aspect, in some possible implementations, based on the area ratio and the corresponding monthly meteorological element data of the wetland area in the first historical period, a target prediction model corresponding to the grid area is constructed, including: dividing the area ratio and the corresponding monthly meteorological element data of the wetland area in the first historical period into training data and test data; based on the monthly training area ratio and the corresponding training meteorological element data in the training data, constructing multiple candidate prediction models corresponding to the grid area through a random forest algorithm; based on the monthly test area ratio and the corresponding test meteorological element data in the test data, determining the target prediction model corresponding to the grid area from the multiple candidate prediction models.

[0009] In the above technical solution, the area proportion and the corresponding monthly meteorological element data of the wetland area in the first historical period are divided into training data and test data, and based on the monthly training area proportion and the corresponding training meteorological element data in the training data, a plurality of candidate prediction models corresponding to the grid area are constructed through the random forest algorithm. The random forest algorithm uses sampled training data with replacement, and the training data between different models are not exactly the same. Therefore, the method can reduce the dependency between multiple candidate prediction models. Furthermore, the method determines the target prediction model corresponding to the grid area from the multiple candidate prediction models based on the monthly test area proportion and the corresponding test meteorological element data in the test data. In other words, by evaluating the average results of multiple candidate prediction models, the optimal prediction model (target prediction model) is selected, which can reduce the variance and deviation of the prediction of a single model, thereby improving the generalization ability of the target prediction model.

[0010] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, based on the monthly test area proportions and the corresponding test meteorological element data in the test data, the target prediction model corresponding to the grid area is determined from the multiple candidate prediction models, including: inputting the monthly test meteorological element data into the multiple candidate prediction models respectively to obtain multiple groups of monthly prediction area proportions; determining the product of the multiple groups of monthly prediction area proportions and the target area as multiple groups of monthly prediction areas, and determining the product of the monthly test area proportions and the target area as the monthly test area; performing linear regression on the multiple groups of monthly prediction areas and the corresponding monthly test areas, and determining the target prediction model from the multiple candidate prediction models based on the evaluation index of the linear regression.

[0011] In the above technical solution, the monthly test meteorological element data are respectively input into the multiple candidate prediction models, and the multiple groups of monthly predicted area proportions corresponding to the monthly test meteorological element data are determined by the multiple candidate prediction models, and each candidate prediction model generates a group of monthly predicted area proportions. Further, the target prediction model is determined from the multiple candidate prediction models through the evaluation index of the linear regression between the monthly predicted area (the product between the predicted area proportion and the target area) and the monthly test area (the product between the test area proportion and the target area). In other words, this method provides a quantitative way to compare the prediction performance of different candidate prediction models through evaluation indicators, reduces the influence of subjective judgment, and can also evaluate the degree of fit and prediction accuracy of different candidate prediction models from different angles.

[0012] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the method for determining the area of ​​the wetland area in the grid area in each year of the second historical period includes: determining the area of ​​the wetland area in the grid area for multiple years in the second historical period based on an inverse distance weighted algorithm and the areas of the wetland areas in other grid areas in multiple years in the second historical period; and interpolating the areas of the wetland areas in the grid area for missing years in the multiple years based on a linear interpolation algorithm to determine the area of ​​the wetland area in the grid area for each year in the second historical period.

[0013] In the above technical solution, in more distant times, due to limitations of terrain and detection technology, humans may not be able to directly obtain the area of ​​the wetland area in the grid area. This method indirectly determines the area of ​​the wetland area in the grid area in multiple years in the second historical period through the inverse distance weighted algorithm and the area of ​​the wetland area in other grid areas in multiple years in the second historical period. This avoids the situation where humans cannot obtain the area of ​​the wetland area in the grid area due to limitations of terrain and detection technology. Due to limitations of detection costs, humans usually detect the area of ​​the wetland area in the grid area in certain years. This method interpolates the area of ​​the wetland area in the grid area for the missing years in the multiple years based on the linear interpolation algorithm to determine the area of ​​the wetland area in the grid area in each year in the second historical period. This helps to determine the monthly wetland area of ​​the wetland area in the grid area in the second historical period, and helps humans better evaluate the changes in the area of ​​the wetland area in the grid area in more distant times.

[0014] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, based on the area of ​​the wetland area in the grid area in each year in the second historical period, the area change ratio of the wetland area in the second historical period is determined year by year, including: determining the difference between the area of ​​the wetland area in the grid area in each year in the second historical period and the area of ​​the wetland area in the grid area in the latest year, to obtain multiple area differences; determining the ratio between the multiple area differences and the area of ​​the wetland area in the grid area in the latest year, to obtain multiple ratios; and determining the sum of the multiple ratios and a preset value as the area change ratio of the wetland area in the second historical period year by year.

[0015] In the above technical solution, the area of ​​the wetland area in the grid area in each year of the second historical period and the area of ​​the wetland area in the grid area in the latest year of the second historical period are used to measure the annual area change ratio of the wetland area in the second historical period, and determine the impact of human activities on the wetland area. Among them, each area difference is identified as the wetland area that has disappeared due to human activities. This method reverses the area of ​​the wetland area in the grid area in the latest year of the second historical period year by year, and restores the wetland area lost by human activities in more distant times through the annual area change ratio of the wetland area in the second historical period. This helps to obtain the monthly area of ​​the wetland area in the grid area in more distant times without the influence of human activities.

[0016] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, based on the monthly meteorological element data of the grid area in the second historical period, the target prediction model, the target area of ​​the grid area and the area change ratio, the wetland area of ​​the wetland area in the grid area in the second historical period is determined month by month, including: inputting the monthly meteorological element data of the grid area in the second historical period into the target prediction model to obtain the monthly area proportion of the wetland area in the grid area in the second historical period; converting the annual area change ratio of the wetland area in the second historical period into the monthly area change ratio of the wetland area in the second historical period; and determining the product of the monthly area proportion of the wetland area in the grid area in the second historical period, the target area and the corresponding monthly area change ratio of the wetland area in the second historical period as the monthly wetland area of ​​the wetland area in the grid area in the second historical period.

[0017] In the above technical solution, the method processes the monthly meteorological element data of the grid area in the second historical period through the target prediction model to obtain the monthly area ratio of the wetland area in the grid area in the second historical period, taking into account the impact of climate change on the wetland area, that is, determining the monthly wetland area of ​​the second historical period corresponding to climate change. Further, the product of the monthly area ratio of the wetland area in the grid area in the second historical period, the target area and the corresponding monthly area change ratio of the wetland area in the second historical period is determined as the monthly wetland area of ​​the wetland area in the grid area in the second historical period. In other words, the impact of human activities on the wetland area is further discussed, and the monthly wetland area of ​​the second historical period lost due to human activities is restored through the area change ratio, and finally the monthly area of ​​the wetland area in the grid area in more ancient times without the impact of human activities is obtained.

[0018] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, obtaining the monthly area ratio of the wetland area relative to the grid area to which it belongs in the first historical period includes: obtaining the monthly wetland area of ​​the wetland area in the grid area during the first historical period and the target area of ​​the grid area; determining the ratio between the monthly wetland area of ​​the wetland area in the grid area during the first historical period and the target area as the monthly area ratio of the wetland area relative to the grid area to which it belongs in the first historical period.

[0019] In a second aspect, a device for evaluating wetland area is provided, the device comprising: an acquisition module for acquiring the monthly area ratio of the wetland area relative to the grid area to which it belongs in the first historical period, the area of ​​the wetland area in the first historical period being acquired based on remote sensing technology; a construction module for constructing a target prediction model corresponding to the grid area based on the area ratio and the corresponding monthly meteorological element data of the wetland area in the first historical period, the target prediction model being used to predict the monthly area ratio of the wetland area therein through the monthly meteorological element data in the grid area; a determination module for: determining the annual area change ratio of the wetland area in the second historical period based on the area of ​​the wetland area in the grid area in each year in the second historical period, the second historical period being earlier than the first historical period, and the latest year in the second historical period coinciding with the earliest year in the first historical period; determining the monthly wetland area of ​​the wetland area in the grid area in the second historical period based on the monthly meteorological element data in the grid area in the second historical period, the target prediction model, the target area of ​​the grid area and the area change ratio.

[0020] In combination with the second aspect, in some possible implementations, the construction module is specifically used to: divide the area proportion and the corresponding monthly meteorological element data of the wetland area in the first historical period into training data and test data; based on the monthly training area proportion and the corresponding training meteorological element data in the training data, construct multiple candidate prediction models corresponding to the grid area through a random forest algorithm; based on the monthly test area proportion and the corresponding test meteorological element data in the test data, determine the target prediction model corresponding to the grid area from the multiple candidate prediction models.

[0021] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the determination module is specifically used to: input the monthly test meteorological element data into the multiple candidate prediction models respectively to obtain multiple groups of monthly prediction area proportions; determine the product of the multiple groups of monthly prediction area proportions and the target area as multiple groups of monthly prediction areas, and determine the product of the monthly test area proportions and the target area as the monthly test area; perform linear regression on the multiple groups of monthly prediction areas and the corresponding monthly test areas, and determine the target prediction model from the multiple candidate prediction models based on the evaluation index of the linear regression.

[0022] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the determination module is specifically used to: determine the area of ​​the wetland area in the grid area for multiple years in the second historical period based on an inverse distance weighted algorithm and the areas of the wetland areas in other grid areas in multiple years in the second historical period; interpolate the area of ​​the wetland area in the grid area for the missing years in the multiple years based on a linear interpolation algorithm to determine the area of ​​the wetland area in the grid area for each year in the second historical period.

[0023] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the determination module is specifically used to: determine the difference between the area of ​​the wetland area in the grid area in each year in the second historical period and the area of ​​the wetland area in the grid area in the latest year, to obtain multiple area differences; determine the ratio between the multiple area differences and the area of ​​the wetland area in the grid area in the latest year, to obtain multiple ratios; and determine the sum of the multiple ratios and a preset value as the annual area change ratio of the wetland area in the second historical period.

[0024] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the determination module is specifically used to: input the monthly meteorological element data of the grid area in the second historical period into the target prediction model to obtain the monthly area proportion of the wetland area in the second historical period; convert the annual area change ratio of the wetland area in the second historical period into the monthly area change ratio of the wetland area in the second historical period; and determine the product of the monthly area proportion of the wetland area in the grid area in the second historical period, the target area and the corresponding monthly area change ratio of the wetland area in the second historical period as the wetland area of ​​the wetland area in the grid area in the second historical period.

[0025] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the acquisition module is specifically used to: obtain the monthly wetland area of ​​the wetland area within the grid area during the first historical period and the target area of ​​the grid area; determine the ratio between the monthly wetland area of ​​the wetland area within the grid area during the first historical period and the target area as the monthly area proportion of the wetland area relative to the grid area to which it belongs in the first historical period.

[0026] In a third aspect, an electronic device is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the electronic device executes the method in the first aspect or any possible implementation of the first aspect.

[0027] In a fourth aspect, a computer-readable storage medium is provided, which stores an executable program code. When the executable program code runs on a computer, the computer executes the method in the above-mentioned first aspect or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 is a schematic diagram of using an electronic device provided in an embodiment of the present application;

[0029] Figure 2 is a schematic flow chart of a method for assessing wetland area provided in an embodiment of the present application;

[0030] Figure 3 This is a schematic diagram of dividing training data and test data provided by an embodiment of the present application;

[0031] Figure 4 is a schematic diagram of determining the area of ​​wetland areas in grid areas of multiple years in a second historical period provided by an embodiment of the present application;

[0032] Figure 5is a schematic structural diagram of a device for assessing wetland area provided in an embodiment of the present application;

[0033] Figure 6 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0034] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0035] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.

[0036] Figure 1 It is a schematic diagram of using an electronic device provided in an embodiment of the present application.

[0037] For example, Figure 1 As shown, usually, the high temporal and spatial resolution wetland distribution data obtained by remote sensing technology is processed by electronic equipment A to obtain the wetland area of ​​the wetland area in recent years. However, this remote sensing technology cannot obtain the wetland distribution data under the influence of human reclamation activities in the last century, resulting in the inability to evaluate the wetland area. In addition, the historical wetland area obtained by detection technology can only reflect the changes in wetland area on an interannual scale, and most of them are point data with low spatial resolution.

[0038] Therefore, this application proposes a method for assessing wetland area to accurately assess the area changes of wetland areas in a certain area during historical periods. For details, please refer to the following Figure 2 .

[0039] Figure 2 It is a schematic flow chart of a method for assessing wetland area provided in an embodiment of the present application.

[0040] For example, Figure 2 As shown, the method 200 includes:

[0041] It should be understood that a method for assessing wetland area in the present application is applied to an electronic device. In some embodiments, the electronic device includes but is not limited to: a personal computer, a tablet computer, a computing device, or other processing device connected to a wireless modem, etc. The electronic device can also be a server.

[0042] Step 201, the electronic device obtains the monthly area ratio of the wetland area relative to the grid area to which it belongs in the first historical period, and the monthly area ratio of the wetland area in the first historical period is obtained based on remote sensing technology.

[0043] It should be understood that the "first historical period" in the above step 201 is a time period based on the current time and traced back to the first preset time, and the time difference between the first preset time and the current time is the first preset duration. The first preset duration is related to the development duration of remote sensing technology, and the first preset duration is less than the development duration. In some embodiments, the first preset duration is 20 years or 30 years. In some embodiments, the first historical period is from 2000 to 2024.

[0044] It should also be understood that the "area ratio of the wetland area to the grid area to which it belongs in the first historical period" in the above step 201 refers to the ratio between the area of ​​the wetland area in the first historical period and the target area of ​​the grid area. In addition, the wetland area is a real area in the physical world, while the grid area is a fictitious area for the implementation of the technical solution in this application.

[0045] In one possible implementation, the electronic device in step 201 obtains the monthly area ratio of the wetland area relative to the grid area to which it belongs in the first historical period, including: the electronic device obtains the monthly wetland area of ​​the wetland area in the grid area during the first historical period and the target area of ​​the grid area; the electronic device determines the ratio of the monthly wetland area of ​​the wetland area in the grid area during the first historical period to the target area as the monthly area ratio of the wetland area relative to the grid area to which it belongs in the first historical period.

[0046] In some embodiments, the electronic device determines the ratio between the monthly wetland area of ​​the wetland area in the grid area in the first historical period and the target area as the monthly area ratio of the wetland area relative to the grid area to which it belongs in the first historical period, including: the electronic device determines the monthly area ratio of the wetland area relative to the grid area to which it belongs in the first historical period based on the following formula (1);

[0047] P remote (i,y,m)=area remote (i,y,m) / grid(i) Formula (1)

[0048] Among them, P remote (i,y,m) is the monthly area ratio of the wetland area in the first historical period relative to the grid area to which it belongs. Specifically, it is the area ratio of the wetland area remote in the first historical period relative to the grid area to which it belongs in month m under year y. This value is obtained based on remote sensing technology. Among them, remote refers to the first historical period, y is the year in the first historical period, m is the month under the year in the first historical period, i is the grid number corresponding to the grid area, area remote (i,y,m) is the wetland area of ​​the remote grid area in month m of year y during the first historical period, and grid(i) is the target area of ​​the grid area with grid number i.

[0049] Step 202, the electronic device constructs a target prediction model corresponding to the grid area based on the area proportion and the corresponding monthly meteorological element data of the wetland area in the first historical period. The target prediction model is used to predict the monthly area proportion of the wetland area within the grid area through the monthly meteorological element data within the grid area.

[0050] It should be understood that the "corresponding meteorological element data of the wetland area in the first historical period by month" in the above step 202 refers to the meteorological element data of the same year and month as the area proportion in the first historical period, that is, the area proportion and the meteorological element data are of the same period and resolution. remote (i,y,m), the corresponding meteorological element data is x(i,y,m), and x(i,y,m) is the meteorological element data of the wetland area in the first historical period remote in month m under year y. It should also be understood that the "meteorological element data" in the above step 202 is a numerical value used to characterize meteorological elements, and the meteorological elements refer to various elements that indicate the physical state and physical phenomena of the atmosphere. In addition, the monthly meteorological element data refers to the average condition of meteorological elements in a month.

[0051] The meteorological elements include cloud cover, day and night temperature range, monthly average temperature, monthly maximum temperature, monthly minimum temperature, monthly average precipitation, potential evapotranspiration and water vapor pressure. The cloud cover refers to the degree to which the sky is covered by clouds; the potential evapotranspiration refers to the total amount of water evaporation from the soil surface with sufficient water and vegetation under specific climatic conditions, including soil evaporation and plant transpiration; the water vapor pressure refers to the pressure exerted by water vapor on the container wall per unit area. Meteorological elements can include multiple items, so the corresponding meteorological element data can be specifically expressed as x j (i, y, m) is used to represent the meteorological element data corresponding to meteorological element j in month m of year y in the wetland area in the first historical period remote. In some embodiments, the number of items of the meteorological element is 10, that is, j is 10.

[0052] It should be understood that the "target prediction model" in the above step 202 is for the grid area, and the target prediction model simulates the nonlinear relationship between the monthly area proportion and the monthly meteorological element data. The monthly meteorological element data in the grid area can be input into the target prediction model to obtain the monthly area proportion of the corresponding wetland area relative to the grid area to which it belongs.

[0053] In a possible implementation, the electronic device in step 202 constructs a target prediction model corresponding to the grid area based on the area ratio and the corresponding monthly meteorological element data of the wetland area in the first historical period, including: the electronic device divides the area ratio and the corresponding monthly meteorological element data of the wetland area in the first historical period into training data and test data; the electronic device constructs multiple candidate prediction models corresponding to the grid area through a random forest algorithm based on the monthly training area ratio and the corresponding training meteorological element data in the training data; the electronic device determines the target prediction model corresponding to the grid area from the multiple candidate prediction models based on the monthly test area ratio and the corresponding test meteorological element data in the test data.

[0054] It should be understood that the "training data" in the above scheme is used to train multiple candidate prediction models, and the "test data" is used to test the multiple candidate prediction models to select the best prediction model from the multiple candidate prediction models as the target prediction model.

[0055] It should also be understood that the "random forest algorithm" in the above scheme is an integrated algorithm developed based on classification and regression trees. By using different training data and feature variables, multiple small decision trees (corresponding to multiple candidate prediction models) are established, and the results of the multiple small decision trees are voted or weighted to form a large decision tree (corresponding to the target prediction model). Each small decision tree structure is measured using the principle of minimum square error. The method 200 mainly constructs a prediction model of a decision tree structure through a random forest algorithm, and uniformly samples the training data through random sampling with replacement in the random forest algorithm, thereby constructing multiple candidate prediction models to improve the accuracy and generalization ability of the target prediction model finally obtained.

[0056] In the above technical solution, the area proportion and the corresponding monthly meteorological element data of the wetland area in the first historical period are divided into training data and test data, and based on the monthly training area proportion and the corresponding training meteorological element data in the training data, a plurality of candidate prediction models corresponding to the grid area are constructed through the random forest algorithm. The random forest algorithm uses sampled training data with replacement, and the training data between different models are not exactly the same. Therefore, the method can reduce the dependency between multiple candidate prediction models. Furthermore, the method determines the target prediction model corresponding to the grid area from the multiple candidate prediction models based on the monthly test area proportion and the corresponding test meteorological element data in the test data. In other words, by evaluating the average results of multiple candidate prediction models, the optimal prediction model (target prediction model) is selected, which can reduce the variance and deviation of the prediction of a single model, thereby improving the generalization ability of the target prediction model.

[0057] In some embodiments, the electronic device divides the area ratio and the corresponding monthly meteorological element data of the wetland area in the first historical period into training data and test data, including: the electronic device divides all years in the first historical period into a preset number of parts; the electronic device determines the monthly area ratio of the wetland area corresponding to the first preset number of years of each of the preset numbers relative to the grid area to which it belongs and the corresponding monthly meteorological element data of the wetland area as the training data; the electronic device determines all data except the training data as the test data.

[0058] Figure 3 It is a schematic diagram of dividing training data and test data provided in an embodiment of the present application.

[0059] For example, Figure 3 As shown, taking the first historical period as 2000-2024, the preset number of copies as 5 and the preset quantity as 4 as an example, the process of dividing the monthly meteorological element data of the area ratio and the corresponding wetland area in the first historical period into training data and test data is described.

[0060] Specifically, the electronic device divides the years from 2000 to 2024 into five parts, namely: the first part is from 2000 to 2004, the second part is from 2005 to 2009, the third part is from 2010 to 2014, the fourth part is from 2015 to 2019, and the fifth part is from 2020 to 2024. The electronic device determines the monthly area ratio of the wetland area corresponding to the first four years of each number of parts relative to the grid area to which it belongs and the monthly meteorological element data of the wetland area in the first four years as the training data. That is, the electronic device determines the monthly area ratio of the wetland area corresponding to 2000-2003, 2005-2008, 2010-2013, 2015-2018 and 2020-2023 relative to the grid area to which it belongs, and the monthly meteorological element data of the wetland area corresponding to 2000-2003, 2005-2008, 2010-2013, 2015-2018 and 2020-2023 as the training data, that is, the data corresponding to the year marked with a circle is used as the training data. The electronic device determines all data except the training data as the test data. That is to say, the electronic device determines the monthly area proportion of the wetland area corresponding to 2004, 2009, 2014, 2019 and 2024 relative to the grid area to which it belongs, and the monthly meteorological element data of the wetland area corresponding to 2004, 2009, 2014, 2019 and 2024 as the test data, that is, the data corresponding to the years marked with triangles are used as the test data.

[0061] In some embodiments, the electronic device constructs multiple candidate prediction models corresponding to the grid area based on the monthly training area ratio and the corresponding training meteorological element data in the training data by using a random forest algorithm, including: the electronic device constructs a decision tree structure of multiple initial prediction models based on the following formula (2); the electronic device uniformly samples the monthly training area ratio and the corresponding training meteorological element data in the training data based on a random sampling method with replacement to obtain part of the training data; the electronic device trains the multiple initial prediction models based on the monthly training area ratio and the corresponding training meteorological element data in the part of the training data to train the weights in the multiple initial prediction models to obtain the multiple candidate prediction models;

[0062]

[0063] Wherein, A is the partition feature. In the method 200, the partition feature is the monthly training meteorological element data, α is the partition point, and x i is the monthly training meteorological element data in the grid area with grid number i, y iis the monthly training area ratio corresponding to the grid area of ​​grid number i, B1 is the first part of the data set obtained based on the division point, B2 is the second part of the data set obtained based on the division point, b1 is the mean (first mean) of the monthly training area ratio corresponding to the first part of the data set, b2 is the mean (second mean) of the monthly training area ratio corresponding to the second part of the data set. sum is the sum of square errors. Among them, the first part of the data set and the second part of the data set are for the monthly training meteorological element data, and the first mean and the second mean are for the monthly training area ratio.

[0064] It should be understood that the "weight" in the above scheme represents the nonlinear relationship between the monthly area proportion of the wetland area relative to the grid area to which it belongs and the monthly meteorological element data in the grid area. In addition, the "random sampling method with replacement" in the above scheme can be regarded as the principle of the bootstrap method. It should also be understood that multiple candidate prediction models can be constructed in the MATLAB language environment.

[0065] It should also be understood that the “multiple candidate prediction models” in the above scheme can be expressed as the following formula (3):

[0066] P model,n (i,y,m)=f i,n (x1(i,y,m),...,x j (i,y,m)) Formula (3)

[0067] Among them, P model,n (i, y, m) is the area ratio of the wetland area in the first historical period remote relative to the grid area of ​​grid number i in month m under year y, obtained based on the nth candidate prediction model model. i,n is the nth candidate prediction model model corresponding to the grid area with grid number i. In some embodiments, the number of candidate prediction models is N, and N is 200.

[0068] In a possible implementation, the electronic device determines the target prediction model corresponding to the grid area from the multiple candidate prediction models based on the monthly test area proportions and the corresponding test meteorological element data in the test data, including: the electronic device inputs the monthly test meteorological element data into the multiple candidate prediction models respectively to obtain multiple groups of monthly prediction area proportions; the electronic device determines the product of the multiple groups of monthly prediction area proportions and the target area as multiple groups of monthly prediction areas, and determines the product of the monthly test area proportions and the target area as the monthly test area; the electronic device performs linear regression on the multiple groups of monthly prediction areas and the corresponding monthly test areas, and determines the target prediction model from the multiple candidate prediction models based on the evaluation index of the linear regression.

[0069] It should be understood that in the above scheme, each candidate prediction model generates a set of monthly predicted area ratios. In addition, the electronic device determines the product between each set of monthly predicted area ratios and the target area in the multiple sets of monthly predicted area ratios to obtain multiple sets of monthly predicted areas.

[0070] In the above technical solution, the monthly test meteorological element data are respectively input into the multiple candidate prediction models, and the multiple groups of monthly predicted area proportions corresponding to the monthly test meteorological element data are determined by the multiple candidate prediction models, and each candidate prediction model generates a group of monthly predicted area proportions. Further, the target prediction model is determined from the multiple candidate prediction models through the evaluation index of the linear regression between the monthly predicted area (the product between the predicted area proportion and the target area) and the monthly test area (the product between the test area proportion and the target area). In other words, this method provides a quantitative way to compare the prediction performance of different candidate prediction models through evaluation indicators, reduces the influence of subjective judgment, and can also evaluate the degree of fit and prediction accuracy of different candidate prediction models from different angles.

[0071] In some embodiments, the electronic device determines the multiple groups of monthly predicted area proportions by the product of the target area and the multiple groups of monthly predicted areas, including: the electronic device determines the multiple groups of monthly predicted areas based on the following formula (4);

[0072] area model,n (i,y,m)=P model,n (i,y,m)*grid(i) Formula (4)

[0073] Among them, P model,n (i,y,m) is the area ratio of the wetland area in the first historical period remote relative to the grid area of ​​grid number i in month m under year y obtained based on the nth candidate prediction model model, that is, the predicted area ratio of the nth group in multiple groups by month, area model,n (i, y, m) is the area of ​​the wetland area in month m of year y in the first historical period remote based on the nth candidate prediction model model, that is, the predicted area of ​​the nth group in multiple groups on a monthly basis.

[0074] In some embodiments, the electronic device performs linear regression on the multiple groups of monthly predicted areas and the corresponding monthly test areas, and determines the target prediction model from the multiple candidate prediction models based on the evaluation index of the linear regression, including: the electronic device performs linear regression on the multiple groups of monthly predicted areas and the corresponding monthly test areas based on the following formula (5); the electronic device determines the evaluation index of the linear regression based on the following formula (6) or formula (7); the electronic device determines the candidate prediction model whose evaluation index meets the preset condition among the multiple candidate prediction models as the target prediction model, and the preset condition is that the value corresponding to formula (6) is the maximum and / or the value corresponding to formula (7) is the minimum;

[0075] area model,n (i,y,m)=k n *area remote (i,y,m)+b n Formula (5)

[0076] Among them, k n and b n It represents the slope and intercept of the linear regression of the nth candidate prediction model. For each candidate prediction model, the test area area can be calculated by the corresponding multiple years and months. remote (i,y,m) and the corresponding monthly forecast area for multiple years model,n (i, y, m) (obtained based on the corresponding candidate prediction model) is obtained, where the value of n is 1, 2, ..., N.

[0077]

[0078] in, is the coefficient of determination of the linear regression corresponding to the nth candidate prediction model, also known as goodness of fit or determination coefficient, which is used to measure the ability of the candidate prediction model to fit the data. The determination coefficient is a value between 0 and 1. When the determination coefficient is 1, it indicates that the candidate prediction model can fit the data perfectly, all data points fall on the regression line, and there is no random error. M is 12, It refers to the first year, and its corresponding value is the specific year in the first historical period in the test data. It can be obtained by formula (8). Y is the number of years in the first historical period. Based on the above first historical period being 2000 to 2024, the preset number of copies being 5 and the preset number being 4 as an embodiment, Y in the method 200 is 5;

[0079]

[0080] Among them, RMSE nis the root mean square error of the linear regression corresponding to the nth candidate prediction model, which is used to measure the difference between the monthly predicted area and the monthly test area.

[0081] Step 203, the electronic device determines the annual area change ratio of the wetland area in the second historical period based on the area of ​​the wetland area in the grid area in each year in the second historical period, the second historical period is earlier than the first historical period, and the latest year in the second historical period coincides with the earliest year in the first historical period.

[0082] It should be understood that the "second historical period" in the above step 203 refers to a historical period in which the area of ​​the wetland area cannot be obtained by remote sensing technology. The second historical period is based on the current time and traces back to the second preset time. The time difference between the second preset time and the current time is the second preset time, and the second preset time is longer. The second preset time is much earlier than the first preset time. In some embodiments, the second historical period is from 1950 to 2000. It should also be understood that the area of ​​the wetland area in the second historical period can be obtained through human field detection.

[0083] It should also be understood that "the latest year in the second historical period coincides with the earliest year in the first historical period" in the above step 203 means that the last year in the second historical period is the same as the first year in the first historical period. In some embodiments, the second historical period is from 1950 to 2000, and the first historical period is from 2000 to 2024.

[0084] In one possible implementation, the method for determining the area of ​​the wetland area in the grid area in each year of the second historical period in step 203 includes: the electronic device determines the area of ​​the wetland area in the grid area for multiple years in the second historical period based on an inverse distance weighted algorithm and the areas of the wetland areas in other grid areas in multiple years in the second historical period; the electronic device interpolates the areas of the wetland areas in the grid area for missing years in the multiple years based on a linear interpolation algorithm to determine the area of ​​the wetland area in the grid area for each year in the second historical period.

[0085] It should be understood that in the above scheme, the wetland area in the grid area may be unable to be detected and acquired by humans on the spot due to limitations of terrain and detection technology. The "inverse distance weighted algorithm" in the above scheme is a spatial interpolation technology used to estimate the missing attribute value of the target location based on the attribute value of the nearby location and the distance between the nearby location and the target location. Therefore, the method can indirectly determine the area of ​​the wetland area in the grid area in multiple years in the second historical period through the inverse distance weighted algorithm and the area of ​​the wetland area in other grid areas in multiple years in the second historical period. In some embodiments, the inverse distance weighted algorithm is the ArcGIS inverse distance weighted algorithm.

[0086] It should also be understood that the "inverse distance weighted algorithm" in the above scheme estimates the area of ​​unknown wetland areas by the area of ​​existing wetland areas, and interpolates the point data of historical surveys (which can be field detection) into grid data (the area of ​​wetland areas in the grid area) with the same spatial resolution as the wetland area obtained by remote sensing technology, while the "linear interpolation algorithm" estimates the area of ​​wetland areas in missing years by the area of ​​wetland areas in existing years. It should also be understood that after the area of ​​wetland areas in the grid area of ​​the missing years among the multiple years is interpolated by the linear interpolation algorithm, the area of ​​wetland areas in the grid area of ​​the missing years shows a linear change trend with the area of ​​wetland areas in the existing years on both sides.

[0087] In the above technical solution, in more distant times, due to limitations of terrain and detection technology, humans may not be able to directly obtain the area of ​​the wetland area in the grid area. This method indirectly determines the area of ​​the wetland area in the grid area in multiple years in the second historical period through the inverse distance weighted algorithm and the area of ​​the wetland area in other grid areas in multiple years in the second historical period. This avoids the situation where humans cannot obtain the area of ​​the wetland area in the grid area due to limitations of terrain and detection technology. Due to limitations of detection costs, humans usually detect the area of ​​the wetland area in the grid area in certain years. This method interpolates the area of ​​the wetland area in the grid area for the missing years in the multiple years based on the linear interpolation algorithm to determine the area of ​​the wetland area in the grid area in each year in the second historical period. This helps to determine the monthly wetland area of ​​the wetland area in the grid area in the second historical period, and helps humans better evaluate the changes in the area of ​​the wetland area in the grid area in more distant times.

[0088] In some embodiments, the electronic device determines the area of ​​the wetland area in the grid area in multiple years in the second historical period based on an inverse distance weighted algorithm and the area of ​​the wetland area in other grid areas in multiple years in the second historical period, including: the electronic device determines the area of ​​the wetland area in the grid area in multiple years in the second historical period based on the following formula (9);

[0089]

[0090] Among them, area q (i,y) is the area of ​​wetland in the grid area with grid number i in year y in the second historical period (i.e., the missing area q). e (v,y) is the area of ​​wetland areas in other grid areas with grid number v in year y in the second historical period (i.e., the known area e), is the distance between the grid area with grid number i and other grid areas with grid number v, z is the power of the distance, which affects the result of spatial interpolation, and a higher z can make the result smoother. In some embodiments, z is 2. It should also be understood that the number of other grid areas can be multiple, and in some embodiments, V is 5.

[0091] Figure 4 It is a schematic diagram of determining the area of ​​wetland areas within grid areas of multiple years in the second historical period provided by an embodiment of the present application.

[0092] For example, Figure 4 As shown in the figure, z is 2, a certain year in the second historical period is 1990, the number of other grid areas is 4, and the distances from grid area i1 are l1, l2, l3 and l4 respectively, and the area of ​​wetland areas in other grid areas with grid number v1 in 1990 in the second historical period is area e (v1, 1990), the area of ​​wetland areas in other grid areas of grid number v2 in 1990 is area e (v2, 1990), the area of ​​wetland areas in other grid areas of grid number v3 in 1990 is area e (v3, 1990), the area of ​​wetland areas in other grid areas of grid number v4 in 1990 is area e (v4, 1990) is used as an example to describe the process of the wetland area within the grid area in 1990 in the second historical period.

[0093] Specifically, the electronic device substitutes i1, 1990, l1, l2, l3, l4, v1, v2, v3, v4, and z = 2 into formula (9) to obtain the following equation:

[0094]

[0095] Among them, area q (i1,1990) is the area of ​​wetland area in the grid area i1 in 1990 in the second historical period.

[0096] In one possible implementation, the electronic device in step 203 determines the area change ratio of the wetland area in the second historical period from year to year based on the area of ​​the wetland area in the grid area in each year in the second historical period, including: the electronic device determines the difference between the area of ​​the wetland area in the grid area in each year in the second historical period and the area of ​​the wetland area in the grid area in the latest year, to obtain multiple area differences; the electronic device determines the ratio between the multiple area differences and the area of ​​the wetland area in the grid area in the latest year, to obtain multiple ratios; the electronic device determines the sum of the multiple ratios and a preset value as the area change ratio of the wetland area in the second historical period from year to year.

[0097] It should be understood that the “preset value” in the above scheme is 1.

[0098] In the above technical solution, the area of ​​the wetland area in the grid area in each year of the second historical period and the area of ​​the wetland area in the grid area in the latest year of the second historical period are used to measure the annual area change ratio of the wetland area in the second historical period, and determine the impact of human activities on the wetland area. Among them, each area difference is identified as the wetland area that has disappeared due to human activities. This method reverses the area of ​​the wetland area in the grid area in the latest year of the second historical period year by year, and restores the wetland area lost by human activities in more distant times through the annual area change ratio of the wetland area in the second historical period. This helps to obtain the monthly area of ​​the wetland area in the grid area in more distant times without the influence of human activities.

[0099] In some embodiments, the electronic device determines the difference between the area of ​​the wetland area in the grid area in each year in the second historical period and the area of ​​the wetland area in the grid area in the latest year to obtain multiple area differences, including: the electronic device determines the multiple area differences based on the following formula (10);

[0100] Δarea history (i,y h )=area history (i,y h )-area history (i,y hend ) Formula (10)

[0101] Among them, area history (i,y h ) is the year y in the second historical period history h The area of ​​the wetland area in the grid area with grid number i, area history (i,y hend ) is the latest year y in the second historical period history hendThe area of ​​the wetland area in the grid area of ​​grid number i, Δarea history (i,y h ) are the multiple area differences corresponding to the grid area with grid number i, and the number of area differences is related to year y h The same number of.

[0102] In some embodiments, the electronic device determines the ratios between the multiple area differences and the area of ​​the wetland area in the grid area in the latest year to obtain multiple ratios; and determines the sum of the multiple ratios and a preset value as the annual area change ratio of the wetland area in the second historical period, including: the electronic device determines the annual area change ratio of the wetland area in the second historical period based on the following formula (11);

[0103] amplifier(i,y h )=Δarea history (i,y h ) / area history (i,y hend )+1 formula (11)

[0104] Among them, amplifier(i,y h ) is the year y of the wetland area in the second historical period history h It should also be understood that the preset value in formula (11) is 1.

[0105] It should be understood that in the above scheme, the annual area change ratio of the wetland area in the second historical period is determined by the area of ​​the wetland area in each grid area in the second historical period and the area of ​​the wetland area in the latest year grid area. The impact of human activities on the wetland area in the second historical period usually leads to a decrease in the wetland area year by year. Therefore, the area change ratio determined in the above scheme is characterized by amplifier(i,y h ), that is, the magnification ratio.

[0106] Step 204, the electronic device determines the monthly wetland area of ​​the wetland area in the grid area during the second historical period based on the monthly meteorological element data in the grid area during the second historical period, the target prediction model, the target area of ​​the grid area and the area change ratio.

[0107] It should be understood that the "monthly wetland area of ​​the wetland area within the grid region in the second historical period" in the above step 204 takes into account the impact of human activities and climate change on the wetland area, and the monthly wetland area restores the wetland area lost due to human activities. Therefore, this method 200 can obtain the monthly area of ​​the wetland area within the grid region in a more ancient era (the second historical period) without the influence of human activities.

[0108] In a possible implementation, step 204 includes: the electronic device inputs the monthly meteorological element data of the grid area in the second historical period into the target prediction model to obtain the monthly area proportion of the wetland area in the second historical period; the electronic device converts the annual area change ratio of the wetland area in the second historical period into the monthly area change ratio of the wetland area in the second historical period; the electronic device determines the monthly wetland area of ​​the wetland area in the grid area in the second historical period as the product of the monthly area proportion of the wetland area in the grid area in the second historical period, the target area and the corresponding monthly area change ratio of the wetland area in the second historical period.

[0109] It should be understood that the "target prediction model" in the above scheme simulates the nonlinear relationship between the monthly area proportion and the monthly meteorological element data. Therefore, the monthly area proportion of the wetland area in the grid area in the second historical period (or even the monthly area of ​​the wetland area in the grid area in the second historical period) determined by the target prediction model takes into account the impact of climate change on the wetland area, that is, the monthly dynamic characteristics of the wetland area under the influence of historical climate conditions.

[0110] It should also be understood that in the above scheme, it is assumed that the monthly area change ratio of the wetland area in the second historical period is the same as the area change ratio in the corresponding year.

[0111] In the above technical solution, the method processes the monthly meteorological element data of the grid area in the second historical period through the target prediction model to obtain the monthly area ratio of the wetland area in the grid area in the second historical period, taking into account the impact of climate change on the wetland area, that is, determining the monthly wetland area of ​​the second historical period corresponding to climate change. Further, the product of the monthly area ratio of the wetland area in the grid area in the second historical period, the target area and the corresponding monthly area change ratio of the wetland area in the second historical period is determined as the monthly wetland area of ​​the wetland area in the grid area in the second historical period. In other words, the impact of human activities on the wetland area is further discussed, and the monthly wetland area of ​​the second historical period lost due to human activities is restored through the area change ratio, and finally the monthly area of ​​the wetland area in the grid area in more ancient times without the impact of human activities is obtained.

[0112] In some embodiments, the electronic device inputs the monthly meteorological element data of the grid area in the second historical period into the target prediction model to obtain the monthly area ratio of the wetland area in the grid area in the second historical period, including: the electronic device determines the monthly area ratio of the wetland area in the grid area in the second historical period based on formula (12);

[0113] P history (i,y h ,m)=f i,best (x1(i,y h ,m),...,x j (i,y h ,m)) Formula (12)

[0114] Among them, x j (i,y h ,m) is the grid area of ​​the second historical period history grid number i in year y h The meteorological element data corresponding to meteorological element j in month m. i,best is the target prediction model best corresponding to the grid area with grid number i. history (i,y h , m) is the wetland area in the grid area with grid number i in the second historical period history in year y h The area proportion of m in the following month.

[0115] In some embodiments, the electronic device converts the annual area change ratio of the wetland area in the second historical period into the monthly area change ratio of the wetland area in the second historical period, including: the electronic device converts the annual area change ratio of the wetland area in the second historical period into the monthly area change ratio of the wetland area in the second historical period based on formula (13);

[0116] amplifier(i,y h ,m)=amplifier(i,y h ) Formula (13)

[0117] Among them, amplifier(i,y h ,m) is the wetland area in the second historical period in year y h The area change ratio of m in the following month.

[0118] In some embodiments, the electronic device determines the wetland area of ​​the wetland area in the grid area in the second historical period as the product of the area ratio of the wetland area in the grid area in the second historical period, the target area and the corresponding area change ratio of the wetland area in the second historical period, including: the electronic device determines the wetland area of ​​the wetland area in the grid area in the second historical period based on the following formula (14);

[0119] area_m history (i,y h ,m)=Phistory (i,y h ,m)*grid(i)*amplifier(i,y h ,m) Formula (14)

[0120] Among them, area_mon history (i,y h , m) is the wetland area in the grid area with grid number i in the second historical period history in year y h The wetland area in the following month m.

[0121] Figure 5 It is a structural schematic diagram of a device for assessing wetland area provided in an embodiment of the present application.

[0122] For example, Figure 5 As shown, the device 500 includes:

[0123] Acquisition module 501: used to acquire the monthly area ratio of the wetland area relative to the grid area to which it belongs in the first historical period, wherein the monthly area ratio of the wetland area in the first historical period is acquired based on remote sensing technology;

[0124] Construction module 502: used to construct a target prediction model corresponding to the grid area based on the area proportion and the corresponding monthly meteorological element data of the wetland area in the first historical period, and the target prediction model is used to predict the monthly area proportion of the wetland area in the grid area through the monthly meteorological element data in the grid area;

[0125] Determining module 503: used for:

[0126] Based on the area of ​​the wetland area in the grid area in each year in the second historical period, determine the annual area change ratio of the wetland area in the second historical period, the second historical period is earlier than the first historical period, and the latest year in the second historical period coincides with the earliest year in the first historical period;

[0127] Based on the monthly meteorological element data within the grid area during the second historical period, the target prediction model, the target area of ​​the grid area and the area change ratio, the wetland area of ​​the wetland area within the grid area during the second historical period is determined on a monthly basis.

[0128] Optionally, the construction module 502 is specifically used to: divide the area ratio and the corresponding monthly meteorological element data of the wetland area in the first historical period into training data and test data; based on the monthly training area ratio and the corresponding training meteorological element data in the training data, construct multiple candidate prediction models corresponding to the grid area through a random forest algorithm; based on the monthly test area ratio and the corresponding test meteorological element data in the test data, determine the target prediction model corresponding to the grid area from the multiple candidate prediction models.

[0129] Optionally, the determination module 503 is specifically used to: input the monthly test meteorological element data into the multiple candidate prediction models respectively to obtain multiple groups of monthly prediction area proportions; determine the product of the multiple groups of monthly prediction area proportions and the target area as the multiple groups of monthly prediction areas, and determine the product of the monthly test area proportions and the target area as the monthly test area; perform linear regression on the multiple groups of monthly prediction areas and the corresponding monthly test areas, and determine the target prediction model from the multiple candidate prediction models based on the evaluation index of the linear regression.

[0130] Optionally, the determination module 503 is further specifically used to: determine the area of ​​the wetland area in the grid area for multiple years in the second historical period based on an inverse distance weighted algorithm and the areas of the wetland areas in other grid areas in multiple years in the second historical period; interpolate the area of ​​the wetland area in the grid area for missing years in the multiple years based on a linear interpolation algorithm to determine the area of ​​the wetland area in the grid area for each year in the second historical period.

[0131] Optionally, the determination module 503 is further specifically used to: determine the difference between the area of ​​the wetland area in the grid area in each year in the second historical period and the area of ​​the wetland area in the grid area in the latest year to obtain multiple area differences; determine the ratio between the multiple area differences and the area of ​​the wetland area in the grid area in the latest year to obtain multiple ratios; and determine the sum of the multiple ratios and a preset value as the annual area change ratio of the wetland area in the second historical period.

[0132] Optionally, the determination module 503 is further specifically used to: input the monthly meteorological element data within the grid area during the second historical period into the target prediction model to obtain the monthly area proportion of the wetland area within the grid area during the second historical period; convert the annual area change ratio of the wetland area during the second historical period into the monthly area change ratio of the wetland area during the second historical period; and determine the product of the monthly area proportion of the wetland area within the grid area during the second historical period, the target area and the corresponding monthly area change ratio of the wetland area during the second historical period as the wetland area of ​​the wetland area within the grid area during the second historical period.

[0133] Optionally, the acquisition module 501 is specifically used to: obtain the monthly wetland area of ​​the wetland area within the grid area during the first historical period and the target area of ​​the grid area; determine the ratio between the monthly wetland area of ​​the wetland area within the grid area during the first historical period and the target area as the monthly area proportion of the wetland area relative to the grid area to which it belongs in the first historical period.

[0134] Figure 6 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application.

[0135] For example, Figure 6 As shown, the electronic device 600 includes: a memory 601 and a processor 602, wherein the memory 601 stores an executable program code 603, and the processor 602 is used to call and execute the executable program code 603 to perform a method for assessing wetland area.

[0136] In addition, an embodiment of the present application also protects a device, which may include a memory and a processor, wherein the memory stores an executable program code, and the processor is used to call and execute the executable program code to execute a method for assessing wetland area provided in an embodiment of the present application.

[0137] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0138] In the case of dividing each functional module according to each function, the device may further include an acquisition module, a construction module, a determination module, etc. It should be noted that all relevant contents involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.

[0139] It should be understood that the device provided in this embodiment is used to execute the above-mentioned method for assessing wetland area, and thus can achieve the same effect as the above-mentioned implementation method.

[0140] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to an electronic device, the processing module may be used to control and manage the actions of the electronic device. The storage module may be used to support the electronic device in executing related executable program codes, etc.

[0141] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits shown in conjunction with the disclosure of the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.

[0142] In addition, the device provided in the embodiments of the present application may specifically be a chip, a component or a module, and the chip may include a connected processor and a memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a method for assessing wetland area provided in the above embodiments.

[0143] This embodiment also provides a computer-readable storage medium, in which executable program code is stored. When the executable program code is run on a computer, the computer executes the above-mentioned related method steps to implement a method for assessing wetland area provided in the above embodiment.

[0144] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement a method for assessing wetland area provided in the above embodiment.

[0145] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0146] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0147] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0148] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for assessing wetland area, characterized in that: The method comprises: Obtaining the monthly area ratio of the wetland area relative to the grid area to which it belongs in the first historical period, wherein the monthly area of ​​the wetland area in the first historical period is obtained based on remote sensing technology; Based on the area proportion and the corresponding monthly meteorological element data of the wetland area in the first historical period, construct a target prediction model corresponding to the grid area, wherein the target prediction model is used to predict the monthly area proportion of the wetland area within the grid area through the monthly meteorological element data within the grid area; Determine the annual area change ratio of the wetland area in the second historical period based on the area of ​​the wetland area in the grid area in each year in the second historical period, the second historical period is earlier than the first historical period, and the latest year in the second historical period coincides with the earliest year in the first historical period; Based on the monthly meteorological element data within the grid area during the second historical period, the target prediction model, the target area of ​​the grid area and the area change ratio, the wetland area of ​​the wetland area within the grid area during the second historical period is determined on a monthly basis.

2. The method according to claim 1, characterized in that The constructing of a target prediction model corresponding to the grid area based on the area proportion and the corresponding monthly meteorological element data of the wetland area in the first historical period includes: Dividing the area proportion and the corresponding monthly meteorological element data of the wetland area in the first historical period into training data and test data; Based on the monthly training area ratios in the training data and the corresponding training meteorological element data, a plurality of candidate prediction models corresponding to the grid area are constructed by a random forest algorithm; Based on the monthly test area proportions in the test data and the corresponding test meteorological element data, a target prediction model corresponding to the grid area is determined from the multiple candidate prediction models.

3. The method according to claim 2, characterized in that The determining, based on the monthly test area proportions in the test data and the corresponding test meteorological element data, a target prediction model corresponding to the grid area from the multiple candidate prediction models comprises: Inputting the monthly test meteorological element data into the multiple candidate prediction models respectively to obtain multiple groups of monthly predicted area proportions; The products of the monthly predicted area ratios of the plurality of groups and the target area are determined as the monthly predicted areas, and the products of the monthly tested area ratios and the target area are determined as the monthly tested areas; Linear regression is performed on the multiple groups of monthly predicted areas and the corresponding monthly test areas, and based on an evaluation index of the linear regression, the target prediction model is determined from the multiple candidate prediction models.

4. The method according to claim 1, characterized in that The method for determining the area of ​​the wetland region within the grid area in each year of the second historical period includes: Determine the area of ​​the wetland area within the grid area in multiple years during the second historical period based on an inverse distance weighted algorithm and the area of ​​the wetland area within other grid areas in multiple years during the second historical period; Based on the linear interpolation algorithm, the area of ​​the wetland area in the grid area of ​​the missing years in the multiple years is interpolated to determine the area of ​​the wetland area in the grid area in each year in the second historical period.

5. The method according to any one of claims 1 to 4, characterized in that The determining, based on the area of ​​the wetland area in the grid area in each year in the second historical period, the annual area change ratio of the wetland area in the second historical period includes: Determine the difference between the area of ​​the wetland area in the grid area in each year in the second historical period and the area of ​​the wetland area in the grid area in the latest year to obtain a plurality of area differences; Determining ratios between the plurality of area differences and the area of ​​the wetland area within the grid area in the latest year to obtain a plurality of ratios; The sum of the multiple ratios and the preset value is determined as the annual area change ratio of the wetland area in the second historical period.

6. The method according to any one of claims 1 to 4, characterized in that The determining of the monthly wetland area of ​​the wetland region in the grid area in the second historical period based on the monthly meteorological element data in the grid area in the second historical period, the target prediction model, the target area of ​​the grid area and the area change ratio includes: Inputting the monthly meteorological element data in the grid area during the second historical period into the target prediction model to obtain the monthly area proportion of the wetland area in the grid area during the second historical period; Converting the annual area change ratio of the wetland area in the second historical period into the monthly area change ratio of the wetland area in the second historical period; The monthly wetland area of ​​the wetland area in the grid area during the second historical period is determined as the product of the monthly area proportion of the wetland area in the grid area during the second historical period, the target area and the corresponding monthly area change ratio of the wetland area during the second historical period.

7. The method according to any one of claims 1 to 4, characterized in that The step of obtaining the monthly area ratio of the wetland area relative to the grid area to which it belongs in the first historical period includes: Obtain the monthly wetland area of ​​the wetland region in the grid area during the first historical period and the target area of ​​the grid area; The ratio between the monthly wetland area of ​​the wetland region within the grid area in the first historical period and the target area is determined as the monthly area proportion of the wetland region relative to the grid area to which it belongs in the first historical period.

8. A device for assessing wetland area, characterized in that: The device comprises: An acquisition module, used to acquire the monthly area ratio of the wetland area relative to the grid area to which it belongs in the first historical period, wherein the monthly area ratio of the wetland area in the first historical period is acquired based on remote sensing technology; A construction module, used to construct a target prediction model corresponding to the grid area based on the area proportion and the corresponding monthly meteorological element data of the wetland area in the first historical period, wherein the target prediction model is used to predict the monthly area proportion of the wetland area within the grid area through the monthly meteorological element data within the grid area; Identify modules for: Determine the annual area change ratio of the wetland area in the second historical period based on the area of ​​the wetland area in the grid area in each year in the second historical period, the second historical period is earlier than the first historical period, and the latest year in the second historical period coincides with the earliest year in the first historical period; Based on the monthly meteorological element data within the grid area during the second historical period, the target prediction model, the target area of ​​the grid area and the area change ratio, the wetland area of ​​the wetland area within the grid area during the second historical period is determined on a monthly basis.

9. An electronic device, characterized in that: The electronic device comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory, so that the electronic device executes the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an executable program code, and when the executable program code is executed, the method according to any one of claims 1 to 7 is implemented.