Beach risk scanning and identification method and device, processor and electronic device
By segmenting the elevation data of the floodplain and analyzing the hydrological data, the river floodplain risk level distribution map was calculated, which solved the problem of low accuracy of two-dimensional data assessment and achieved more accurate risk assessment and display.
Patent Information
- Application Number
- CN202310099444.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-09
- Publication Date
- 2025-09-05
- Estimated Expiration
- 2043-02-09
AI Technical Summary
The existing technology has a problem of low accuracy in assessing floodplain risk using two-dimensional data.
By scanning the geographic information data of the target river section, segmenting the elevation data to obtain the center point coordinates and height of the segmented data, and combining the water level flow relationship table of historical hydrological data, the river floodplain risk level distribution map is calculated.
The accuracy of floodplain risk assessment has been improved, and risk areas can be clearly displayed and risk levels accurately marked.
Smart Images

Figure CN116126988B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a method and device for scanning and identifying beach risks, a processor, and an electronic device. Background Art
[0002] Floodplains are the result of the continuous lateral movement of the riverbed and the periodic flooding of the river within the basin. Due to the special location of floodplains, they can bring many additional resources. Therefore, agriculture, industry, etc. may often be established in floodplains. In order to avoid the large number of risks caused by rivers inundating floodplains, it is necessary to conduct risk assessments of floodplains. Currently, existing technologies often only assess the floodplain risk of floodplains through two-dimensional data, which will result in a relatively low accuracy rate in floodplain risk assessments.
[0003] Currently, no effective solution has been proposed to the problem that the accuracy of risk assessment is relatively low when assessing floodplain risks of beach areas through two-dimensional data in related technologies. Summary of the Invention
[0004] The main purpose of this application is to provide a beach risk scanning and identification method and device, processor and electronic equipment to solve the problem in related technologies that the river floodplain risk of the beach is assessed through two-dimensional data, resulting in relatively low accuracy of risk assessment.
[0005] To achieve the above-mentioned purpose, according to one aspect of the present application, a floodplain risk scanning and identification method is provided. The method comprises: scanning geographic information data corresponding to a target river section to obtain elevation data of the target floodplain; segmenting the elevation data of the target floodplain to obtain a plurality of segmented data, and calculating the center point coordinates of each segmented data and the center point height of each segmented data based on each segmented data; analyzing the historical hydrological data of the target river section to obtain a water level flow relationship table, wherein the water level flow relationship table is composed of a plurality of flow rates, the starting water level of the target river section corresponding to each flow rate, and the ending water level of the target river section corresponding to each flow rate; and performing calculations based on the water level flow relationship table, the center point coordinates of each segmented data, and the center point height of each segmented data to determine a floodplain risk level distribution map of the target floodplain at the target flow rate.
[0006] Furthermore, the elevation data of the target beach are segmented to obtain a plurality of segmented data, including: obtaining the length of the target river section and the direction of the river channel of the target river section; and segmenting the elevation data of the target beach along the direction of the river channel of the target river section according to the length of the target river section to obtain the plurality of segmented data.
[0007] Furthermore, calculating the center point height of each segmented data based on each segmented data includes: dividing the height data of each segmented data equally based on the height data in each segmented data to obtain multiple height-divided data corresponding to each segmented data; performing height extraction on the multiple height-divided data corresponding to each segmented data to obtain multiple height values corresponding to each segmented data; and performing average calculation on the multiple height values corresponding to each segmented data to obtain the center point height of each segmented data.
[0008] Furthermore, calculations are performed based on the water level-flow relationship table, the center point coordinates of each segmented data, and the center point height of each segmented data to determine the floodplain risk level distribution map of the target beach at the target flow, including: calculations are performed based on the water level-flow relationship table, the center point coordinates of each segmented data, and the center point height of each segmented data to obtain the water level value corresponding to each segmented data at the target flow; based on the water level value corresponding to each segmented data at the target flow and the center point height of each segmented data, the floodplain risk level corresponding to each segmented data is determined; based on the floodplain risk level corresponding to each segmented data, the floodplain risk level distribution map of the target beach at the target flow is determined.
[0009] Furthermore, calculation is performed based on the water level-flow relationship table, the center point coordinates of each segmented data and the center point height of each segmented data to obtain the water level value corresponding to each segmented data at the target flow, including: obtaining the target flow, and matching the water level-flow relationship table based on the target flow, and determining whether the water level-flow relationship table contains the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow; if the water level-flow relationship table contains the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow, then calculation is performed based on the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow to obtain the water level value corresponding to each segmented data at the target flow.
[0010] Furthermore, calculation is performed based on the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow to obtain the water level value corresponding to each segmented data at the target flow, including: determining the target distance value between each segmented data and the starting position coordinates of the target river section based on the center point coordinates of each segmented data and the starting position coordinates of the target river section; calculating the ratio of the length of the target river section and the target distance value to obtain the water level drop ratio corresponding to each segmented data; calculating based on the water level drop ratio corresponding to each segmented data, the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow to obtain the water level value corresponding to each segmented data at the target flow.
[0011] Furthermore, if the water level-flow relationship table does not contain the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow, the method also includes: determining the first flow and the second flow adjacent to the target flow from the water level-flow relationship table; calculating the first water level value corresponding to each segmented data at the first flow and the second water level value corresponding to each segmented data at the second flow based on the water level-flow relationship table; calculating the first difference between the target flow and the first flow and the second difference between the target flow and the second flow; calculating the water level value corresponding to each segmented data at the target flow based on the first water level value, the first difference and the second difference, or calculating the water level value corresponding to each segmented data at the target flow based on the second water level value, the first difference and the second difference.
[0012] Furthermore, determining the floodplain risk level corresponding to each segmented data based on the water level value corresponding to each segmented data at the target flow rate and the center point height of each segmented data includes: calculating the difference between the water level value corresponding to each segmented data at the target flow rate and the center point height of the segmented data to obtain the target difference value corresponding to each segmented data; for each segmented data, if the target difference value of the current segmented data is less than or equal to a first preset value, determining that the floodplain risk of the current segmented data is no risk; if the target difference value of the current segmented data is greater than the first preset value and less than the second preset value, determining that the floodplain risk of the current segmented data is the first risk level; if the target difference value of the current segmented data is greater than the first preset value and less than the second preset value, determining that the floodplain risk of the current segmented data is the first risk level; If the target difference of the segmented data is greater than or equal to the second preset value and less than the third preset value, the floodplain risk of the current segmented data is determined to be the second risk level, wherein the second risk level is higher than the first risk level; if the target difference of the current segmented data is greater than or equal to the third preset value and less than the fourth preset value, the floodplain risk of the current segmented data is determined to be the third risk level, wherein the third risk level is higher than the second risk level; if the target difference of the current segmented data is greater than or equal to the fourth preset value, the floodplain risk of the current segmented data is determined to be the fourth risk level, wherein the fourth risk level is higher than the third risk level.
[0013] Furthermore, determining the floodplain risk level distribution map of the target beach at the target flow rate based on the floodplain risk level corresponding to each segmented data includes: obtaining the three-dimensional model data of the target beach; determining the color corresponding to each floodplain risk level; rendering and labeling the three-dimensional model data of the target beach according to the color corresponding to each floodplain risk level, and obtaining the floodplain risk level distribution map of the target beach at the target flow rate.
[0014] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a device for scanning and identifying floodplain risks is provided. The device comprises: a scanning unit for scanning geographic information data corresponding to a target river section to obtain elevation data of the target floodplain, wherein the middle position between the river bank and the embankment of the target river section is the target floodplain; a segmentation unit for segmenting the elevation data of the target floodplain to obtain a plurality of segmented data, and calculating the center point coordinates of each segmented data and the center point height of each segmented data based on each segmented data; an analysis unit for analyzing the historical hydrological data of the target river section to obtain a water level flow relationship table, wherein the water level flow relationship table is composed of a plurality of flow rates, the starting water level of the target river section corresponding to each flow rate, and the ending water level of the target river section corresponding to each flow rate; a first calculation unit for calculating based on the water level flow relationship table, the center point coordinates of each segmented data, and the center point height of each segmented data to determine a floodplain risk level distribution map of the target floodplain under the target flow rate.
[0015] Furthermore, the segmentation unit includes: an acquisition subunit, used to obtain the length of the target river section and the river direction of the target river section; a segmentation subunit, used to perform data segmentation on the elevation data of the target beach along the river direction of the target river section according to the length of the target river section to obtain the multiple segmented data.
[0016] Furthermore, the segmentation unit includes: an equalization subunit, used to divide the height data of each segmented data equally according to the height data in each segmented data, and obtain multiple height-equally divided data corresponding to each segmented data; an extraction subunit, used to perform height extraction on the multiple height-equally divided data corresponding to each segmented data, and obtain multiple height values corresponding to each segmented data; a first calculation subunit, used to calculate the average value of the multiple height values corresponding to each segmented data, and obtain the center point height of each segmented data.
[0017] Furthermore, the first calculation unit includes: a second calculation subunit, used to calculate based on the water level-flow relationship table, the center point coordinates of each segmented data and the center point height of each segmented data, to obtain the water level value corresponding to each segmented data at the target flow; a first determination subunit, used to determine the river floodplain risk level corresponding to each segmented data at the target flow and the center point height of each segmented data; a second determination subunit, used to determine the river floodplain risk level distribution map of the target beach at the target flow based on the river floodplain risk level corresponding to each segmented data.
[0018] Furthermore, the second calculation subunit includes: a matching module, used to obtain the target flow, and match it in the water level-flow relationship table according to the target flow, to determine whether the water level-flow relationship table contains the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow; a first calculation module, used to calculate based on the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow if the water level-flow relationship table contains the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow, to obtain the water level value corresponding to each segmented data under the target flow.
[0019] Furthermore, the first calculation module includes: a determination submodule, used to determine the target distance value between each segmented data and the starting position of the target river section based on the center point coordinates of each segmented data and the starting position coordinates of the target river section; a first calculation submodule, used to calculate the ratio of the length of the target river section and the target distance value to obtain the water level drop ratio corresponding to each segmented data; a second calculation submodule, used to calculate based on the water level drop ratio corresponding to each segmented data, the starting water level of the target river section corresponding to the target flow, and the ending water level of the target river section corresponding to the target flow, to obtain the water level value corresponding to each segmented data under the target flow.
[0020] Further, if the device also includes: a determination unit, which is used to determine the first flow and the second flow adjacent to the target flow from the water level-flow relationship table if the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow do not exist in the water level-flow relationship table; a second calculation unit, which is used to calculate the first water level value corresponding to each segmented data at the first flow and the second water level value corresponding to each segmented data at the second flow based on the water level-flow relationship table; a third calculation unit, which is used to calculate the first difference between the target flow and the first flow and the second difference between the target flow and the second flow; a fourth calculation unit, which is used to calculate the water level value corresponding to each segmented data at the target flow based on the first water level value, the first difference and the second difference, or to calculate the water level value corresponding to each segmented data at the target flow based on the second water level value, the first difference and the second difference.
[0021] Furthermore, the first determination subunit includes: a second calculation module for calculating the difference between the water level value corresponding to each segmented data at the target flow rate and the height of the center point of the segmented data to obtain the target difference value corresponding to each segmented data; a first determination module for, for each segmented data, if the target difference value of the current segmented data is less than or equal to a first preset value, determining that the river floodplain risk of the current segmented data is no risk; a second determination module for, if the target difference value of the current segmented data is greater than the first preset value and less than a second preset value, determining that the river floodplain risk of the current segmented data is a first risk level; a third determination module for, if the target difference value of the current segmented data is greater than or equal to the first preset value The first determination module is configured to determine that the floodplain risk of the current segmented data is a second risk level if the target difference value of the current segmented data is greater than or equal to the third preset value and less than the third preset value, wherein the second risk level is higher than the first risk level; the second determination module is configured to determine that the floodplain risk of the current segmented data is a third risk level if the target difference value of the current segmented data is greater than or equal to the third preset value and less than the fourth preset value, wherein the third risk level is higher than the second risk level; the fifth determination module is configured to determine that the floodplain risk of the current segmented data is a fourth risk level if the target difference value of the current segmented data is greater than or equal to the fourth preset value, wherein the fourth risk level is higher than the third risk level.
[0022] Furthermore, the second determination subunit includes: an acquisition module for acquiring the three-dimensional model data of the target beach; a sixth determination module for determining the color corresponding to each floodplain risk level; and a rendering module for rendering and labeling the three-dimensional model data of the target beach according to the color corresponding to each floodplain risk level to obtain a floodplain risk level distribution map of the target beach under the target flow rate.
[0023] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a processor is provided, which is used to run a program, wherein the program executes any one of the above-mentioned beach risk scanning and identification methods when running.
[0024] In order to achieve the above-mentioned purpose, according to one aspect of the present application, an electronic device is provided, which includes one or more processors and a memory, and the memory is used to store the one or more processors to implement any one of the above-mentioned beach risk scanning and identification methods.
[0025] Through this application, the following steps are adopted: scanning the geographic information data corresponding to the target river section to obtain the elevation data of the target beach, wherein the middle position between the river bank and the embankment of the target river section is the target beach; segmenting the elevation data of the target beach to obtain multiple segmented data, and calculating the center point coordinates of each segmented data based on each segmented data and the center point height of each segmented data based on each segmented data; analyzing the historical hydrological data of the target river section to obtain a water level-flow relationship table, wherein the water level-flow relationship table consists of multiple flow rates, the starting water level of the target river section corresponding to each flow rate, and the ending water level of the target river section corresponding to each flow rate; calculating based on the water level-flow relationship table, the center point coordinates of each segmented data and the center point height of each segmented data to determine the floodplain risk level distribution map of the target beach under the target flow rate, thereby solving the problem in the related art of evaluating the floodplain risk of the beach through two-dimensional data, resulting in relatively low accuracy of risk assessment. In this plan, by analyzing and processing the elevation data of the target beach, the center point height and center point coordinates of each area of the target beach are accurately obtained. Then, based on the historical hydrological data and the elevation data of the target beach, a comparative analysis is performed to accurately find the river floodplain risk area, and the floodplain risk area found is marked on the three-dimensional map to obtain the river floodplain risk level distribution map of the target beach, so as to more clearly display the risk area, thereby achieving the effect of improving the accuracy of risk assessment. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The accompanying drawings, which constitute part of this application, are intended to provide a further understanding of this application. The exemplary embodiments and descriptions of this application are intended to explain this application and do not constitute an improper limitation on this application. In the accompanying drawings:
[0027] Figure 1 This is a flow chart of a beach risk scanning and identification method provided in accordance with an embodiment of the present application;
[0028] Figure 2 is a schematic diagram of a beach provided according to an embodiment of the present application;
[0029] Figure 3 is a flowchart of an optional beach risk scanning and identification method provided in an embodiment of the present application;
[0030] Figure 4 is a schematic diagram of a beach risk scanning and identification device provided according to an embodiment of the present application;
[0031] Figure 5 is a schematic diagram of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0032] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in this application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0033] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
[0034] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein. In addition, the terms "including" and "having" and any of their variations 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 necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0035] The present invention will be described below in conjunction with preferred implementation steps. Figure 1 This is a flow chart of a beach risk scanning and identification method according to an embodiment of the present application. Figure 1 As shown, the method includes the following steps:
[0036] Step S101, scanning the geographic information data corresponding to the target river section to obtain the elevation data of the target beach;
[0037] Specifically, an unmanned device equipped with an image scanning device (lidar, photography equipment) is used to scan a portion of the river (i.e., the target river section mentioned above) to obtain the geographic information data of the target river section, or the elevation data of the target river section, and then obtain the elevation data of the target beach. With limited elevation data, a digital simulation of the ground topography (i.e., a digital expression of the terrain surface morphology) can be achieved, thereby more clearly and conveniently understanding the topographic changes of the target beach. The target beach refers to the middle position between the river bank and the embankment of the target river section, such as Figure 2 The area shown in Figure 1 is located adjacent to water and is at risk of flooding.
[0038] Step S102, segmenting the elevation data of the target beach to obtain a plurality of segmented data, and calculating the center point coordinates and the center point height of each segmented data based on each segmented data;
[0039] Specifically, after obtaining the elevation data of the target beach, in order to further improve the accuracy of the data, the elevation data of the target beach is divided into multiple segmented data based on the length of the target river section. The segmented data can then be numbered, and the center position coordinates of the equally divided areas corresponding to the segmented data are extracted according to the equally divided points to obtain the center point coordinates of each segmented data, and the center point height of each segmented data is calculated through the height information in the elevation data. The center point coordinates and center point height can be used to accurately determine whether there is a river floodplain risk in the equally divided area corresponding to the segmented data.
[0040] Step S103: Analyze the historical hydrological data of the target river section to obtain a water level flow relationship table, wherein the water level flow relationship table consists of multiple flow rates, the starting water level of the target river section corresponding to each flow rate, and the ending water level of the target river section corresponding to each flow rate;
[0041] Specifically, historical hydrological data of the target river section are collected, analyzed and refined to obtain a water level-flow relationship table, for example, the water level-flow relationship table shown in Table 1. The water level-flow relationship table consists of multiple flow rates, the starting water level of the target river section corresponding to each flow rate, and the ending water level of the target river section corresponding to each flow rate.
[0042] Table 1
[0043]
[0044]
[0045] In an optional embodiment, the water level data of the same point under each flow rate (100 times the current flow rate) is counted, and then the maximum value and the minimum value of the statistical data are removed to obtain the median, which is used as the water level data of the point under each flow rate.
[0046] Step S104 , performing calculations based on the water level flow relationship table, the coordinates of the center point of each segmented data, and the height of the center point of each segmented data to determine a floodplain risk level distribution map of the target floodplain at the target flow rate.
[0047] Specifically, the water level information of the segmented area corresponding to each segmented data can be accurately calculated through the water level-flow relationship table and the center point coordinates of each segmented data. The center point height of each segmented data and the water level information of the segmented area corresponding to each segmented data can be accurately judged whether there is a floodplain risk in the segmented area and the floodplain risk level, and then the floodplain risk level distribution map of the target beach under the target flow can be obtained.
[0048] In summary, by analyzing and processing the elevation data of the target beach, the center point height and center point coordinates of each area of the target beach are accurately obtained. Then, based on the comparative analysis of historical hydrological data and the elevation data of the target beach, the floodplain risk areas are accurately found, and the found floodplain risk areas are marked on the three-dimensional map to obtain the floodplain risk level distribution map of the target beach, thereby improving the accuracy of risk assessment.
[0049] In order to improve the accuracy of risk assessment, in the beach risk scanning and identification method provided in the embodiment of the present application, the elevation data of the target beach is segmented to obtain multiple segmented data, including: obtaining the length of the target river section and the river direction of the target river section; according to the length of the target river section, the elevation data of the target beach is segmented along the river direction of the target river section to obtain multiple segmented data.
[0050] Specifically, the length and direction of the target river section are determined. The elevation data for the target beach is then segmented along the target river section's direction to produce multiple segments, for example, every 5 meters. This segmentation improves the accuracy and precision of subsequent calculations of center point heights and coordinates, effectively enhancing the accuracy of risk assessments.
[0051] How to calculate the center point height of the segmented area corresponding to each segmented data is crucial. Therefore, in the beach risk scanning and identification method provided in the embodiment of the present application, the center point height of each segmented data is calculated based on each segmented data, including: dividing the height data of each segmented data equally according to the height data in each segmented data, and obtaining multiple height-divided data corresponding to each segmented data; extracting the height of the multiple height-divided data corresponding to each segmented data, and obtaining multiple height values corresponding to each segmented data; calculating the average value of the multiple height values corresponding to each segmented data, and obtaining the center point height of each segmented data.
[0052] Specifically, since the height values of each point in the segmented area corresponding to each segmented data may have certain differences, in order to improve the accuracy of calculating the center point height, the elevation data of each segmented data is divided into equal parts, and the multiple height data corresponding to each segmented data are divided into equal parts, and then the height is extracted. For example, the data is divided into P parts (for example, 5 parts) and then the height is extracted. Then, the average value of the multiple height values corresponding to each segmented data is calculated, and the final average value is used as the center point height of each segmented data. By segmenting the segmented data, the calculation accuracy and fineness of the subsequent center point coordinates are improved, thereby effectively improving the accuracy of risk assessment.
[0053] Optionally, in the beach risk scanning and identification method provided in the embodiment of the present application, calculations are performed based on the water level-flow relationship table, the center point coordinates of each segmented data, and the center point height of each segmented data to determine the floodplain risk level distribution map of the target beach at the target flow rate, including: calculations are performed based on the water level-flow relationship table, the center point coordinates of each segmented data, and the center point height of each segmented data to obtain the water level value corresponding to each segmented data at the target flow rate; based on the water level value corresponding to each segmented data at the target flow rate and the center point height of each segmented data, the floodplain risk level corresponding to each segmented data is determined; based on the floodplain risk level corresponding to each segmented data, the floodplain risk level distribution map of the target beach at the target flow rate is determined.
[0054] Specifically, the target flow corresponding to the current floodplain risk prediction is determined. The water level corresponding to each segmented data item at the target flow rate is calculated based on the water level-flow relationship table, the coordinates of the center point of each segmented data item, and the height of the center point of each segmented data item. The water level corresponding to each segmented data item at the target flow rate and the height of the center point of each segmented data item are then compared and analyzed to determine the floodplain risk level corresponding to each segmented data item. For example, if the water level corresponding to each segmented data item at the target flow rate is higher than the height of the center point of each segmented data item, it indicates that the segmented area corresponding to the segmented data item is at risk of flooding at the target flow rate. If the water level corresponding to each segmented data item at the target flow rate is lower than the height of the center point of each segmented data item, it indicates that the segmented area corresponding to the segmented data item will not be flooded at the target flow rate.
[0055] After obtaining the floodplain risk level corresponding to each segmented data, the floodplain risk level distribution map of the target floodplain under the target flow rate can be directly obtained through these risk levels. The floodplain risk level distribution map can intuitively and clearly display the risk situation of the target floodplain, and it can also make it more convenient to plan how to use the target floodplain.
[0056] In order to improve the accuracy of calculating the water level value corresponding to each segmented data at the target flow, in the beach risk scanning and identification method provided in the embodiment of the present application, the water level value corresponding to each segmented data at the target flow is obtained based on the water level-flow relationship table, the center point coordinates of each segmented data and the center point height of each segmented data. The calculation includes: obtaining the target flow, and matching it in the water level-flow relationship table according to the target flow, and determining whether the water level-flow relationship table contains the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow; if the water level-flow relationship table contains the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow, then the calculation is performed based on the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow to obtain the water level value corresponding to each segmented data at the target flow.
[0057] Calculating based on the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow to obtain the water level value corresponding to each segmented data at the target flow includes: determining the target distance value between each segmented data and the starting position of the target river section based on the center point coordinates of each segmented data and the starting position coordinates of the target river section; calculating the ratio of the length of the target river section and the target distance value to obtain the water level drop ratio corresponding to each segmented data; calculating based on the water level drop ratio corresponding to each segmented data, the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow to obtain the water level value corresponding to each segmented data at the target flow.
[0058] Specifically, the target flow corresponding to the current floodplain risk prediction is determined, and a check is performed to determine whether the starting water level and ending water level of the target river section corresponding to the target flow exist in the water level-flow relationship table. If so, the water level corresponding to the starting water level and ending water level of the target river section corresponding to the target flow are used to determine the water level value corresponding to each segment data at the target flow.
[0059] First, the distance between the segmented area corresponding to each segmented data and the starting position coordinates of the target river section is calculated (that is, the target distance value mentioned above). Then, the water level drop ratio corresponding to each segmented data is determined by calculating the ratio of the length of the target river section and the target distance value. Finally, the water level drop ratio corresponding to each segmented data, the starting water level of the target river section corresponding to the target flow, and the ending water level of the target river section corresponding to the target flow are calculated to obtain the water level value corresponding to each segmented data under the target flow.
[0060] In an optional embodiment, calculating the water level value of each segmented data under the target flow includes: the distance M through the target river section, the water level height at the starting position of the river section (h start) and the water level at the end of the river section (h end), calculating the water level between the starting position of the river section and the position of the river section with a difference of distance M1, that is, the water level height M1 is = h start - (h start - h end) * (M1 / M).
[0061] In summary, the above steps can accurately and quickly calculate the water level value corresponding to each segment data under the target flow rate.
[0062] In view of the fact that the water level-flow relationship table does not contain the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow, the method also includes: determining the first flow and the second flow adjacent to the target flow from the water level-flow relationship table; calculating the first water level value corresponding to each segmented data at the first flow and the second water level value corresponding to each segmented data at the second flow according to the water level-flow relationship table; calculating the first difference between the target flow and the first flow and the second difference between the target flow and the second flow; calculating the water level value corresponding to each segmented data at the target flow according to the first water level value, the first difference and the second difference, or calculating the water level value corresponding to each segmented data at the target flow according to the second water level value, the first difference and the second difference.
[0063] Specifically, if the water level-flow relationship table does not have the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow, then two flow rates adjacent to the target flow can be determined from the water level-flow relationship table, namely the first flow rate and the second flow rate. Then, the above method is used to calculate the first water level value corresponding to each segmented data at the first flow rate and the second water level value corresponding to each segmented data at the second flow rate, as well as the first difference between the target flow rate and the first flow rate and the second difference between the target flow rate and the second flow rate. Finally, the water level value corresponding to each segmented data at the target flow rate is calculated using the first water level value, the first difference, and the second difference, or the water level value corresponding to each segmented data at the target flow rate is calculated using the second water level value, the first difference, and the second difference.
[0064] In an optional embodiment, the flow water level of Q(2500) can be calculated by the flow of Q(2000) and the flow of Q(3000); if the water level height of Q(2000) is h2 and the water level height of Q(3000) is h3, then the flow water level of Q(2100) = h2 + (Q(2100) - Q(2000)) / (Q(3000) - Q(2000)), or the flow water level of Q(2100) = h3 - (Q(2100) - Q(2000)) / (Q(3000) - Q(2000)).
[0065] Through the above steps, when the water level-flow relationship table does not contain the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow, the water level value of the segmented data can be calculated more reasonably.
[0066] In order to more reasonably evaluate the floodplain risk level, in the floodplain risk scanning and identification method provided in the embodiment of the present application, the floodplain risk level corresponding to each segmented data is determined based on the water level value corresponding to each segmented data at the target flow rate and the center point height of each segmented data, including: calculating the difference between the water level value corresponding to each segmented data at the target flow rate and the center point height of the segmented data to obtain the target difference value corresponding to each segmented data; for each segmented data, if the target difference value of the current segmented data is less than or equal to the first preset value, then the floodplain risk of the current segmented data is determined to be no risk; if the target difference value of the current segmented data is greater than the first preset value and less than the second preset value, then it is determined to be The floodplain risk of the current segmented data is determined to be a first risk level; if the target difference of the current segmented data is greater than or equal to a second preset value and less than a third preset value, the floodplain risk of the current segmented data is determined to be a second risk level, wherein the second risk level is higher than the first risk level; if the target difference of the current segmented data is greater than or equal to the third preset value and less than a fourth preset value, the floodplain risk of the current segmented data is determined to be a third risk level, wherein the third risk level is higher than the second risk level; if the target difference of the current segmented data is greater than or equal to a fourth preset value, the floodplain risk of the current segmented data is determined to be a fourth risk level, wherein the fourth risk level is higher than the third risk level.
[0067] Specifically, the difference between the water level value corresponding to each segmented data at the target flow rate and the center point height of the segmented data is calculated to determine the target difference corresponding to each segmented data. For each segmented data, if the target difference value of the current segmented data is less than or equal to a first preset value (for example, the first preset value can be set to 0), the floodplain risk of the current segmented data is determined to be no risk, and the height of the segmented data is higher than the water level value, so there is no risk of flooding; if the target difference value of the current segmented data is greater than the first preset value and less than a second preset value (for example, the second preset value can be set to 0.5m), the floodplain risk of the current segmented data is determined to be a first risk level; if the target difference value of the current segmented data is greater than or equal to the second preset value and less than a third preset value (for example, the third preset value can be set to 1m), the floodplain risk of the current segmented data is determined to be a second risk level, where the second risk level is higher than the first risk level; if the target difference value of the current segmented data is greater than or equal to the third preset value and less than a fourth preset value (for example, the fourth preset value can be set to 1.5m), the floodplain risk of the current segmented data is determined to be a third risk level; if the target difference value of the current segmented data is greater than or equal to the fourth preset value, the floodplain risk of the current segmented data is determined to be a fourth risk level.
[0068] Optionally, in the floodplain risk scanning and identification method provided in an embodiment of the present application, determining the floodplain risk level distribution map of the target floodplain at the target flow rate based on the floodplain risk level corresponding to each segmented data includes: obtaining three-dimensional model data of the target floodplain; determining the color corresponding to each floodplain risk level; rendering and labeling the three-dimensional model data of the target floodplain according to the color corresponding to each floodplain risk level, and obtaining the floodplain risk level distribution map of the target floodplain at the target flow rate.
[0069] Specifically, different floodplain risk levels are assigned different colors: for example, green for no risk, light orange for risky areas (first risk level), orange for low-risk areas (second risk level), light red for medium-risk areas (third risk level), and red for high-risk areas (fourth risk level). The 3D model data of the target floodplain is then rendered and annotated by color, ultimately yielding a floodplain risk level distribution map for the target floodplain at the target flow rate.
[0070] In an optional embodiment, the following may be used: Figure 3 The flowchart shown realizes the assessment of floodplain risk. Specifically, the geographic information data corresponding to the river is scanned, the elevation data obtained by the scan is analyzed and processed, the floodplain risk area of the beach is generated based on the processed data, and the floodplain risk area is marked to obtain a floodplain risk level distribution map.
[0071] The embodiment of the present application provides a beach risk scanning and identification method, which obtains the elevation data of the target beach by scanning the geographic information data corresponding to the target river section, wherein the middle position between the river bank and the embankment of the target river section is the target beach; the elevation data of the target beach is segmented to obtain multiple segmented data, and the center point coordinates of each segmented data and the center point height of each segmented data are calculated based on each segmented data; the historical hydrological data of the target river section are analyzed to obtain a water level flow relationship table, wherein the water level flow relationship table consists of multiple flow rates, the starting water level of the target river section corresponding to each flow rate, and the ending water level of the target river section corresponding to each flow rate; calculations are performed based on the water level flow relationship table, the center point coordinates of each segmented data, and the center point height of each segmented data to determine the floodplain risk level distribution map of the target beach under the target flow rate, thereby solving the problem in the related art of evaluating the floodplain risk of the beach through two-dimensional data, resulting in relatively low accuracy of risk assessment. In this plan, the center point height and center point coordinates are accurately obtained by analyzing and processing the elevation data of the target beach, and then, based on the historical hydrological data and the elevation data of the target beach, a comparative analysis is performed to accurately find the river floodplain risk area, and the floodplain risk area found is marked on the three-dimensional map to obtain the river floodplain risk level distribution map of the target beach, so as to more clearly display the risk area, thereby achieving the effect of improving the accuracy of risk assessment.
[0072] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0073] The present application also provides a device for scanning and identifying beach risks. It should be noted that the device for scanning and identifying beach risks in the present application can be used to execute the method for scanning and identifying beach risks provided in the present application. The following describes the device for scanning and identifying beach risks provided in the present application.
[0074] Figure 4 Schematic diagram of a device for scanning and identifying beach risks according to an embodiment of the present application. Figure 4 As shown, the device includes: a scanning unit 401, a segmentation unit 402, an analysis unit 403 and a first calculation unit 404.
[0075] Scanning unit 401 is used to scan the geographic information data corresponding to the target river section to obtain the elevation data of the target beach;
[0076] The segmentation unit 402 is used to segment the elevation data of the target beach to obtain a plurality of segmented data, and calculate the center point coordinates of each segmented data and the center point height of each segmented data according to each segmented data;
[0077] An analysis unit 403 is configured to analyze historical hydrological data of the target river section to obtain a water level-flow relationship table, wherein the water level-flow relationship table comprises a plurality of flow rates, a starting water level of the target river section corresponding to each flow rate, and an ending water level of the target river section corresponding to each flow rate;
[0078] The first calculation unit 404 is used to perform calculations based on the water level flow relationship table, the center point coordinates of each segmented data, and the center point height of each segmented data to determine a floodplain risk level distribution map of the target floodplain at the target flow rate.
[0079] The shoal risk scanning and identification device provided in the embodiment of the present application includes a scanning unit 401 for scanning geographic information data corresponding to a target river section to obtain elevation data of the target shoal, wherein the target shoal is located midway between the riverbank and the embankment of the target river section; a segmentation unit 402 for segmenting the elevation data of the target shoal to obtain a plurality of segmented data, and calculating the center point coordinates of each segmented data and the center point height of each segmented data based on each segmented data; an analysis unit 403 for analyzing historical hydrological data of the target river section to obtain a water level-flow relationship table, wherein the water level-flow relationship table includes a plurality of flow rates, a starting water level of the target river section corresponding to each flow rate, and an ending water level of the target river section corresponding to each flow rate; and a first calculation unit 404 for performing calculations based on the water level-flow relationship table, the center point coordinates of each segmented data, and the center point height of each segmented data to determine a floodplain risk level distribution map of the target shoal at the target flow rate. This solves the problem in the related art of assessing floodplain risk of shoals using two-dimensional data, resulting in relatively low accuracy of risk assessment. In this plan, by analyzing and processing the elevation data of the target beach, the center point height and center point coordinates of each area of the target beach are accurately obtained. Then, based on the historical hydrological data and the elevation data of the target beach, a comparative analysis is performed to accurately find the river floodplain risk area, and the floodplain risk area found is marked on the three-dimensional map to obtain the river floodplain risk level distribution map of the target beach, so as to more clearly display the risk area, thereby achieving the effect of improving the accuracy of risk assessment.
[0080] Optionally, in the beach risk scanning and identification device provided in an embodiment of the present application, the segmentation unit 402 includes: an acquisition subunit, used to obtain the length of the target river section and the river direction of the target river section; a segmentation subunit, used to perform data segmentation on the elevation data of the target beach along the river direction of the target river section according to the length of the target river section to obtain multiple segmented data.
[0081] Optionally, in the beach risk scanning and identification device provided in the embodiment of the present application, the segmentation unit 402 includes: an equalization subunit, used to divide the height data of each segmented data equally according to the height data in each segmented data, and obtain multiple height equalization data corresponding to each segmented data; an extraction subunit, used to perform height extraction on the multiple height equalization data corresponding to each segmented data, and obtain multiple height values corresponding to each segmented data; a first calculation subunit, used to calculate the average value of the multiple height values corresponding to each segmented data, and obtain the center point height of each segmented data.
[0082] Optionally, in the beach risk scanning and identification device provided in the embodiment of the present application, the first calculation unit includes: a second calculation subunit, used to calculate based on the water level-flow relationship table, the center point coordinates of each segmented data and the center point height of each segmented data to obtain the water level value corresponding to each segmented data at the target flow; a first determination subunit, used to determine the river floodplain risk level corresponding to each segmented data based on the water level value corresponding to each segmented data at the target flow and the center point height of each segmented data; a second determination subunit, used to determine the river floodplain risk level distribution map of the target beach at the target flow based on the river floodplain risk level corresponding to each segmented data.
[0083] Optionally, in the beach risk scanning and identification device provided in the embodiment of the present application, the second calculation subunit includes: a matching module, used to obtain the target flow, and match it in the water level-flow relationship table according to the target flow, to determine whether the water level-flow relationship table contains the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow; a first calculation module, used to calculate based on the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow if the water level-flow relationship table contains the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow, to obtain the water level value corresponding to each segmented data under the target flow.
[0084] Optionally, in the beach risk scanning and identification device provided in the embodiment of the present application, the first calculation module includes: a determination submodule, used to determine the target distance value between each segmented data and the starting position of the target river section based on the center point coordinates of each segmented data and the starting position coordinates of the target river section; a first calculation submodule, used to calculate the ratio of the length of the target river section and the target distance value, and obtain the water level drop ratio corresponding to each segmented data; a second calculation submodule, used to calculate based on the water level drop ratio corresponding to each segmented data, the starting water level of the target river section corresponding to the target flow, and the ending water level of the target river section corresponding to the target flow, to obtain the water level value corresponding to each segmented data at the target flow.
[0085] Optionally, in the beach risk scanning and identification device provided in the embodiment of the present application, the device also includes: a determination unit, which is used to determine the first flow and the second flow adjacent to the target flow from the water level-flow relationship table when the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow do not exist in the water level-flow relationship table; a second calculation unit, which is used to calculate the first water level value corresponding to each segmented data at the first flow and the second water level value corresponding to each segmented data at the second flow based on the water level-flow relationship table; a third calculation unit, which is used to calculate the first difference between the target flow and the first flow and the second difference between the target flow and the second flow; a fourth calculation unit, which is used to calculate the water level value corresponding to each segmented data at the target flow based on the first water level value, the first difference and the second difference, or to calculate the water level value corresponding to each segmented data at the target flow based on the second water level value, the first difference and the second difference.
[0086] Optionally, in the floodplain risk scanning and identification device provided in the embodiment of the present application, the first determination subunit includes: a second calculation module, which is used to calculate the difference between the water level value corresponding to each segmented data at the target flow rate and the center point height of the segmented data to obtain the target difference corresponding to each segmented data; a first determination module, which is used to, for each segmented data, if the target difference of the current segmented data is less than or equal to a first preset value, determine that the floodplain risk of the current segmented data is no risk; a second determination module, which is used to determine that the floodplain risk of the current segmented data is a first risk level if the target difference of the current segmented data is greater than the first preset value and less than the second preset value; a third determination module, which is used to determine that the floodplain risk of the current segmented data is a first risk level. If the target difference value of the current segmented data is greater than or equal to the second preset value and less than the third preset value, the river floodplain risk of the current segmented data is determined to be the second risk level, wherein the second risk level is higher than the first risk level; the fourth determination module is used to determine that the river floodplain risk of the current segmented data is the third risk level if the target difference value of the current segmented data is greater than or equal to the third preset value and less than the fourth preset value, wherein the third risk level is higher than the second risk level; the fifth determination module is used to determine that the river floodplain risk of the current segmented data is the fourth risk level if the target difference value of the current segmented data is greater than or equal to the fourth preset value, wherein the fourth risk level is higher than the third risk level.
[0087] Optionally, in the floodplain risk scanning and identification device provided in an embodiment of the present application, the second determination subunit includes: an acquisition module for acquiring three-dimensional model data of the target floodplain; a sixth determination module for determining the color corresponding to each floodplain risk level; and a rendering module for rendering and labeling the three-dimensional model data of the target floodplain according to the color corresponding to each floodplain risk level to obtain a floodplain risk level distribution map of the target floodplain under the target flow rate.
[0088] The beach risk scanning and identification device includes a processor and a memory. The above-mentioned scanning unit 401, segmentation unit 402, analysis unit 403 and first calculation unit 404 are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.
[0089] The processor contains a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the risk identification of river floodplains can be achieved by adjusting the kernel parameters.
[0090] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0091] An embodiment of the present invention provides a processor, which is used to run a program, wherein the program executes a beach risk scanning and identification method when running.
[0092] like Figure 5 As shown, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the following steps are implemented: scanning geographic information data corresponding to a target river section to obtain elevation data of a target beach; segmenting the elevation data of the target beach to obtain a plurality of segmented data, and calculating the center point coordinates of each segmented data based on each segmented data and the center point height of each segmented data based on each segmented data; analyzing historical hydrological data of the target river section to obtain a water level-flow relationship table, wherein the water level-flow relationship table is composed of a plurality of flow rates, a starting water level of the target river section corresponding to each flow rate, and an ending water level of the target river section corresponding to each flow rate; and calculating based on the water level-flow relationship table, the center point coordinates of each segmented data, and the center point height of each segmented data to determine a floodplain risk level distribution map of the target beach under a target flow rate.
[0093] Optionally, the elevation data of the target beach is segmented to obtain multiple segmented data, including: obtaining the length of the target river section and the river direction of the target river section; segmenting the elevation data of the target beach along the river direction of the target river section according to the length of the target river section to obtain multiple segmented data.
[0094] Optionally, calculating the center point height of each segmented data based on each segmented data includes: dividing the height data of each segmented data equally based on the height data in each segmented data to obtain multiple height-divided data corresponding to each segmented data; performing height extraction on the multiple height-divided data corresponding to each segmented data to obtain multiple height values corresponding to each segmented data; and performing average calculation on the multiple height values corresponding to each segmented data to obtain the center point height of each segmented data.
[0095] Optionally, calculations are performed based on the water level-flow relationship table, the center point coordinates of each segmented data, and the center point height of each segmented data to determine the floodplain risk level distribution map of the target beach at the target flow, including: calculations are performed based on the water level-flow relationship table, the center point coordinates of each segmented data, and the center point height of each segmented data to obtain the water level value corresponding to each segmented data at the target flow; based on the water level value corresponding to each segmented data at the target flow and the center point height of each segmented data, the floodplain risk level corresponding to each segmented data is determined; based on the floodplain risk level corresponding to each segmented data, the floodplain risk level distribution map of the target beach at the target flow is determined.
[0096] Optionally, calculation is performed based on the water level-flow relationship table, the center point coordinates of each segmented data and the center point height of each segmented data to obtain the water level value corresponding to each segmented data under the target flow, including: obtaining the target flow, and matching it in the water level-flow relationship table based on the target flow, and determining whether the water level-flow relationship table contains the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow; if the water level-flow relationship table contains the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow, then calculation is performed based on the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow to obtain the water level value corresponding to each segmented data under the target flow.
[0097] Optionally, calculation is performed based on the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow to obtain the water level value corresponding to each segmented data at the target flow, including: determining the target distance value between each segmented data and the starting position coordinates of the target river section based on the center point coordinates of each segmented data and the starting position coordinates of the target river section; calculating the ratio of the length of the target river section and the target distance value to obtain the water level drop ratio corresponding to each segmented data; calculating based on the water level drop ratio corresponding to each segmented data, the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow to obtain the water level value corresponding to each segmented data at the target flow.
[0098] Optionally, if the water level-flow relationship table does not contain the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow, the method also includes: determining the first flow and the second flow adjacent to the target flow from the water level-flow relationship table; calculating the first water level value corresponding to each segmented data at the first flow and the second water level value corresponding to each segmented data at the second flow based on the water level-flow relationship table; calculating the first difference between the target flow and the first flow and the second difference between the target flow and the second flow; calculating the water level value corresponding to each segmented data at the target flow based on the first water level value, the first difference and the second difference, or calculating the water level value corresponding to each segmented data at the target flow based on the second water level value, the first difference and the second difference.
[0099] Optionally, determining the floodplain risk level corresponding to each segmented data based on the water level value corresponding to each segmented data at the target flow rate and the center point height of each segmented data includes: calculating the difference between the water level value corresponding to each segmented data at the target flow rate and the center point height of the segmented data to obtain the target difference corresponding to each segmented data; for each segmented data, if the target difference of the current segmented data is less than or equal to a first preset value, determining that the floodplain risk of the current segmented data is no risk; if the target difference of the current segmented data is greater than the first preset value and less than the second preset value, determining that the floodplain risk of the current segmented data is a first risk level; if the target difference of the current segmented data is greater than or equal to the second preset value and less than the third preset value, the river floodplain risk of the current segmented data is determined to be the second risk level, wherein the second risk level is higher than the first risk level; if the target difference of the current segmented data is greater than or equal to the third preset value and less than the fourth preset value, the river floodplain risk of the current segmented data is determined to be the third risk level, wherein the third risk level is higher than the second risk level; if the target difference of the current segmented data is greater than or equal to the fourth preset value, the river floodplain risk of the current segmented data is determined to be the fourth risk level, wherein the fourth risk level is higher than the third risk level.
[0100] Optionally, determining the floodplain risk level distribution map of the target beach at the target flow rate based on the floodplain risk level corresponding to each segmented data includes: obtaining three-dimensional model data of the target beach; determining the color corresponding to each floodplain risk level; rendering and labeling the three-dimensional model data of the target beach according to the color corresponding to each floodplain risk level, and obtaining the floodplain risk level distribution map of the target beach at the target flow rate.
[0101] The devices in this article can be servers, PCs, PADs, mobile phones, etc.
[0102] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialized program having the following method steps: scanning geographic information data corresponding to a target river section to obtain elevation data of a target beach; segmenting the elevation data of the target beach to obtain a plurality of segmented data, and calculating the center point coordinates of each segmented data based on each segmented data and the center point height of each segmented data based on each segmented data; analyzing historical hydrological data of the target river section to obtain a water level-flow relationship table, wherein the water level-flow relationship table is composed of a plurality of flow rates, the starting water level of the target river section corresponding to each flow rate, and the ending water level of the target river section corresponding to each flow rate; and performing calculations based on the water level-flow relationship table, the center point coordinates of each segmented data, and the center point height of each segmented data to determine a floodplain risk level distribution map of the target beach under the target flow rate.
[0103] Optionally, the elevation data of the target beach is segmented to obtain multiple segmented data, including: obtaining the length of the target river section and the river direction of the target river section; segmenting the elevation data of the target beach along the river direction of the target river section according to the length of the target river section to obtain multiple segmented data.
[0104] Optionally, calculating the center point height of each segmented data based on each segmented data includes: dividing the height data of each segmented data equally based on the height data in each segmented data to obtain multiple height-divided data corresponding to each segmented data; performing height extraction on the multiple height-divided data corresponding to each segmented data to obtain multiple height values corresponding to each segmented data; and performing average calculation on the multiple height values corresponding to each segmented data to obtain the center point height of each segmented data.
[0105] Optionally, calculations are performed based on the water level-flow relationship table, the center point coordinates of each segmented data, and the center point height of each segmented data to determine the floodplain risk level distribution map of the target beach at the target flow, including: calculations are performed based on the water level-flow relationship table, the center point coordinates of each segmented data, and the center point height of each segmented data to obtain the water level value corresponding to each segmented data at the target flow; based on the water level value corresponding to each segmented data at the target flow and the center point height of each segmented data, the floodplain risk level corresponding to each segmented data is determined; based on the floodplain risk level corresponding to each segmented data, the floodplain risk level distribution map of the target beach at the target flow is determined.
[0106] Optionally, calculation is performed based on the water level-flow relationship table, the center point coordinates of each segmented data and the center point height of each segmented data to obtain the water level value corresponding to each segmented data under the target flow, including: obtaining the target flow, and matching it in the water level-flow relationship table based on the target flow, and determining whether the water level-flow relationship table contains the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow; if the water level-flow relationship table contains the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow, then calculation is performed based on the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow to obtain the water level value corresponding to each segmented data under the target flow.
[0107] Optionally, calculation is performed based on the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow to obtain the water level value corresponding to each segmented data at the target flow, including: determining the target distance value between each segmented data and the starting position coordinates of the target river section based on the center point coordinates of each segmented data and the starting position coordinates of the target river section; calculating the ratio of the length of the target river section and the target distance value to obtain the water level drop ratio corresponding to each segmented data; calculating based on the water level drop ratio corresponding to each segmented data, the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow to obtain the water level value corresponding to each segmented data at the target flow.
[0108] Optionally, if the water level-flow relationship table does not contain the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow, the method also includes: determining the first flow and the second flow adjacent to the target flow from the water level-flow relationship table; calculating the first water level value corresponding to each segmented data at the first flow and the second water level value corresponding to each segmented data at the second flow based on the water level-flow relationship table; calculating the first difference between the target flow and the first flow and the second difference between the target flow and the second flow; calculating the water level value corresponding to each segmented data at the target flow based on the first water level value, the first difference and the second difference, or calculating the water level value corresponding to each segmented data at the target flow based on the second water level value, the first difference and the second difference.
[0109] Optionally, determining the floodplain risk level corresponding to each segmented data based on the water level value corresponding to each segmented data at the target flow rate and the center point height of each segmented data includes: calculating the difference between the water level value corresponding to each segmented data at the target flow rate and the center point height of the segmented data to obtain the target difference corresponding to each segmented data; for each segmented data, if the target difference of the current segmented data is less than or equal to a first preset value, determining that the floodplain risk of the current segmented data is no risk; if the target difference of the current segmented data is greater than the first preset value and less than the second preset value, determining that the floodplain risk of the current segmented data is a first risk level; if the target difference of the current segmented data is greater than or equal to the second preset value and less than the third preset value, the river floodplain risk of the current segmented data is determined to be the second risk level, wherein the second risk level is higher than the first risk level; if the target difference of the current segmented data is greater than or equal to the third preset value and less than the fourth preset value, the river floodplain risk of the current segmented data is determined to be the third risk level, wherein the third risk level is higher than the second risk level; if the target difference of the current segmented data is greater than or equal to the fourth preset value, the river floodplain risk of the current segmented data is determined to be the fourth risk level, wherein the fourth risk level is higher than the third risk level.
[0110] Optionally, determining the floodplain risk level distribution map of the target beach at the target flow rate based on the floodplain risk level corresponding to each segmented data includes: obtaining three-dimensional model data of the target beach; determining the color corresponding to each floodplain risk level; rendering and labeling the three-dimensional model data of the target beach according to the color corresponding to each floodplain risk level, and obtaining the floodplain risk level distribution map of the target beach at the target flow rate.
[0111] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0112] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0113] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0114] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 The steps for the function specified in one or more boxes.
[0115] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0116] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0117] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0118] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0119] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0120] The above are merely embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should all be included within the scope of the claims of the present application.
Claims
1. A method for scanning and identifying beach risk, characterized in that: include: Scan the geographic information data corresponding to the target river section to obtain the elevation data of the target beach; Segmenting the elevation data of the target beach to obtain a plurality of segmented data, and calculating the center point coordinates of each segmented data and the center point height of each segmented data according to each segmented data; Analyze historical hydrological data of the target river section to obtain a water level-flow relationship table, wherein the water level-flow relationship table consists of multiple flow rates, a starting water level of the target river section corresponding to each flow rate, and an ending water level of the target river section corresponding to each flow rate; Calculation is performed based on the water level flow relationship table, the coordinates of the center point of each segmented data, and the height of the center point of each segmented data to determine the floodplain risk level distribution map of the target beach under the target flow.
2. The method according to claim 1, characterized in that The elevation data of the target beach is segmented to obtain a plurality of segmented data including: Obtaining the length of the target river section and the river direction of the target river section; The elevation data of the target beach are equally divided according to the length of the target river section and along the river direction of the target river section to obtain the plurality of segmented data.
3. The method according to claim 1, characterized in that The center point height of each segmented data is calculated based on each segmented data, including: According to the height data in each segmented data, the height data of each segmented data is equally divided to obtain a plurality of equally divided height data corresponding to each segmented data; Performing height extraction on a plurality of equally divided height data corresponding to each segmented data to obtain a plurality of height values corresponding to each segmented data; The average value of the multiple height values corresponding to each segmented data is calculated to obtain the center point height of each segmented data.
4. The method according to claim 1, wherein Calculation is performed based on the water level flow relationship table, the coordinates of the center point of each segmented data, and the height of the center point of each segmented data to determine the floodplain risk level distribution map of the target floodplain at the target flow rate, including: Calculate the water level value corresponding to each segmented data at the target flow rate based on the water level flow relationship table, the center point coordinates of each segmented data, and the center point height of each segmented data; Determine the floodplain risk level corresponding to each segmented data according to the water level value corresponding to each segmented data at the target flow rate and the height of the center point of each segmented data; According to the floodplain risk level corresponding to each segmented data, a floodplain risk level distribution map of the target floodplain under the target flow is determined.
5. The method according to claim 4, characterized in that Calculation is performed based on the water level flow relationship table, the center point coordinates of each segmented data, and the center point height of each segmented data to obtain the water level value corresponding to each segmented data at the target flow rate, including: Obtain the target flow, and match the target flow in the water level-flow relationship table according to the target flow, to determine whether the water level-flow relationship table contains a starting water level of the target river section corresponding to the target flow and an ending water level of the target river section corresponding to the target flow; If the water level-flow relationship table contains the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow, then calculation is performed based on the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow to obtain the water level value corresponding to each segmented data at the target flow.
6. The method according to claim 5, characterized in that Calculating based on the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow, obtaining the water level value corresponding to each segment data at the target flow includes: Determining a target distance value between each segmented data and the starting position of the target river section based on the center point coordinates of each segmented data and the starting position coordinates of the target river section; Calculating the ratio of the length of the target river section to the target distance value to obtain the water level drop ratio corresponding to each segment data; Calculation is performed based on the water level drop ratio corresponding to each segmented data, the starting water level of the target river section corresponding to the target flow, and the ending water level of the target river section corresponding to the target flow to obtain the water level value corresponding to each segmented data at the target flow.
7. The method according to claim 5, characterized in that If the water level-flow relationship table does not contain the starting water level of the target river section corresponding to the target flow and the ending water level of the target river section corresponding to the target flow, the method further includes: Determining a first flow rate and a second flow rate adjacent to the target flow rate from the water level-flow relationship table; According to the water level flow relationship table, a first water level value corresponding to each segmented data at a first flow rate and a second water level value corresponding to each segmented data at a second flow rate are calculated; Calculating a first difference between the target flow rate and the first flow rate and a second difference between the target flow rate and the second flow rate; The water level value corresponding to each segmented data at the target flow rate is calculated based on the first water level value, the first difference and the second difference, or the water level value corresponding to each segmented data at the target flow rate is calculated based on the second water level value, the first difference and the second difference.
8. The method according to claim 4, characterized in that Based on the water level value corresponding to each segment data under the target flow and the center point height of each segment data, the floodplain risk level corresponding to each segment data is determined, including: Calculate the difference between the water level value corresponding to each segmented data at the target flow rate and the height of the center point of the segmented data to obtain the target difference corresponding to each segmented data; For each segmented data, if the target difference value of the current segmented data is less than or equal to a first preset value, determining that the floodplain risk of the current segmented data is no risk; If the target difference value of the current segmented data is greater than the first preset value and less than the second preset value, determining that the floodplain risk of the current segmented data is a first risk level; If the target difference of the current segmented data is greater than or equal to the second preset value and less than a third preset value, determining that the floodplain risk of the current segmented data is a second risk level, wherein the second risk level is higher than the first risk level; If the target difference of the current segmented data is greater than or equal to the third preset value and less than a fourth preset value, determining that the floodplain risk of the current segmented data is a third risk level, wherein the third risk level is higher than the second risk level; If the target difference of the current segmented data is greater than or equal to the fourth preset value, the floodplain risk of the current segmented data is determined to be a fourth risk level, wherein the fourth risk level is higher than the third risk level.
9. The method according to claim 4, characterized in that Determining the floodplain risk level distribution map of the target floodplain at the target flow rate based on the floodplain risk level corresponding to each segmented data includes: Acquiring three-dimensional model data of the target beach; Determine the color corresponding to each floodplain risk level; The three-dimensional model data of the target floodplain is rendered and labeled according to the color corresponding to each floodplain risk level to obtain a floodplain risk level distribution map of the target floodplain under the target flow rate.
10. A device for scanning and identifying beach risks, characterized in that: include: a scanning unit, configured to scan geographic information data corresponding to a target river section to obtain elevation data of a target beach, wherein a position between a river bank and a dam of the target river section is the target beach; a segmentation unit, configured to segment the elevation data of the target beach to obtain a plurality of segmented data, and calculate the center point coordinates of each segmented data and the center point height of each segmented data according to each segmented data; an analysis unit, configured to analyze historical hydrological data of the target river section to obtain a water level-flow relationship table, wherein the water level-flow relationship table comprises a plurality of flow rates, a starting water level of the target river section corresponding to each flow rate, and an ending water level of the target river section corresponding to each flow rate; The first calculation unit is used to calculate based on the water level flow relationship table, the center point coordinates of each segmented data and the center point height of each segmented data to determine the river floodplain risk level distribution map of the target beach under the target flow.
11. A processor, characterized in that: The processor is used to run a program, wherein the program, when running, executes the beach risk scanning and identification method according to any one of claims 1 to 9.
12. An electronic device, characterized in that: The system comprises one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the beach risk scanning and identification method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Evaluation method for levee breach risk under medium and frequent flood
CN114723245A
Method and system for generating object 3D point cloud in medical imaging system
US20200390406A1