River flow monitoring method and device, terminal equipment and storage medium
By using riverbed curves and water level lines in river flow monitoring combined with historical data to determine the installation position of the flow meter, the problems of low accuracy and untimely monitoring of river flow in the prior art are solved, and higher monitoring accuracy and reliability are achieved.
Patent Information
- Application Number
- CN202510359616.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-25
- Publication Date
- 2025-06-27
AI Technical Summary
In the prior art, river flow monitoring has problems such as low accuracy and untimely monitoring, mainly because the flow velocity sensor is easily buried by sludge, and natural river channels are usually irregular cross-sections, resulting in fitting errors caused by simple geometric approximation.
By obtaining the riverbed curve and target water level line of the target riverbed, combining the first historical data and the second historical data, the target installation position of the target flowmeter is determined, avoiding areas that are easily buried, and determining the target flow rate based on the riverbed curve and target water level line in combination with the target flow rate.
It improves the accuracy and reliability of river flow monitoring, reduces monitoring errors, avoids frequent dredging problems caused by sludge burial, and achieves more timely and accurate flow monitoring.
Smart Images

Figure CN120213141A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular, to a method, device, terminal device, and storage medium for monitoring river channel flow rate. Background Art
[0002] In the processes of flood control, basin management, etc., it is necessary to accurately monitor the flow velocity of river channels. Currently, the method for monitoring river channel flow rate is to install a flow velocity meter at the bottom of the river channel, and then approximate the river channel as a simple geometric figure, and combine the water level measured by the water depth sensor to roughly calculate the river channel flow rate. However, in the prior art, since the flow velocity sensor is installed at the bottom of the river channel, the sensor is easily buried by silt, garbage, etc., and it is necessary to frequently dredge the sensor. Moreover, since the cross-section of a natural river channel is usually irregular, approximating the river channel as a simple geometric figure will introduce a large fitting error. Therefore, there are problems of low accuracy and untimely monitoring in the prior art when monitoring river channel flow rate. Summary of the Invention
[0003] The main purpose of the embodiments of the present invention is to provide a method, device, terminal device, and storage medium for monitoring river channel flow rate, aiming to solve the problems of low accuracy and untimely monitoring in the related art when monitoring river channel flow rate.
[0004] In a first aspect, an embodiment of the present invention provides a method for monitoring river channel flow rate, including: Obtaining a riverbed curve corresponding to a target riverbed and a target water level line corresponding to the target riverbed; Obtaining first historical data corresponding to the target riverbed under the water level line and second historical data corresponding to the target riverbed under the silt line; Determining a target installation position corresponding to a target flow velocity meter in the target riverbed according to the first historical data, the second historical data, and the riverbed curve; Obtaining a target flow velocity obtained by the target flow velocity meter monitoring the flow velocity of the target riverbed at the target installation position; Determining a target flow rate corresponding to the target riverbed according to the riverbed curve, the target water level line, and the target flow velocity.
[0005] In a second aspect, an embodiment of the present invention provides a device for monitoring river channel flow rate, including: A data acquisition module, configured to obtain a riverbed curve corresponding to a target riverbed and a target water level line corresponding to the target riverbed; A data collection module, configured to obtain first historical data corresponding to the target riverbed under the water level line and second historical data corresponding to the target riverbed under the silt line; A position determination module, configured to determine a target installation position corresponding to a target current meter in the target riverbed according to the first historical data and the second historical data in combination with the riverbed curve; A speed acquisition module, configured to acquire a target flow rate obtained by the target current meter monitoring the flow rate of the target riverbed at the target installation position; A flow rate determination module, configured to determine a target flow rate corresponding to the target riverbed according to the riverbed curve, the target water level line and the target flow rate.
[0006] In a third aspect, an embodiment of the present invention further provides a terminal device, which includes a processor, a memory, a computer program stored on the memory and executable by the processor, and a data bus for realizing connection communication between the processor and the memory. When the computer program is executed by the processor, the steps of any one of the river flow monitoring methods provided in the specification of the present invention are implemented.
[0007] In a fourth aspect, an embodiment of the present invention further provides a storage medium for computer-readable storage, characterized in that the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of any one of the river flow monitoring methods provided in the specification of the present invention.
[0008] An embodiment of the present invention provides a method, device, terminal device, and storage medium for monitoring the flow rate of a river channel. The method includes: obtaining a riverbed curve corresponding to a target riverbed and a target water level line corresponding to the target riverbed; wherein, the riverbed curve can intuitively reflect the morphological characteristics of the riverbed, and the target water level line is a key indicator for measuring the current water level condition of the target riverbed. Then, first historical data corresponding to the target riverbed below the water level line and second historical data corresponding to the target riverbed below the silt line are obtained; according to the first historical data, the second historical data, and the riverbed curve, a target installation position corresponding to a target current meter in the target riverbed is determined. Thus, according to the first historical data, the second historical data, and the combined riverbed curve, the target installation position corresponding to the target current meter can be accurately determined. Furthermore, according to the target installation position, areas in the riverbed that are easily buried by silt, garbage, etc. can be effectively avoided. If the target current meter is installed in an easily buried position, frequent dredging operations are required, which not only increases the maintenance cost and workload but also may affect the normal operation and data accuracy of the current meter. And the accurate installation position provides strong support for obtaining the target flow rate monitored by the target current meter in a timely and accurate manner subsequently. Thus, the target flow rate obtained by the target current meter monitoring the target riverbed at the target installation position is obtained, and then according to the riverbed curve, the target water level line, and the combined target flow rate, the target flow rate corresponding to the target riverbed is determined. In this method, the riverbed curve corresponding to the target riverbed is fully considered during the flow rate monitoring, rather than simply approximating the river channel as a geometric figure as in the traditional method. The actual shape of the river channel is often complex and changeable, and simple geometric approximation will lead to large monitoring errors. And this method fully combines the actual riverbed curve, effectively reducing the error of target flow rate monitoring, further improving the accuracy and reliability of target flow rate monitoring, and thus also solving the problems of low accuracy and untimely monitoring existing in the related technology for river channel flow rate monitoring, effectively improving the accuracy and timeliness of river channel flow rate monitoring, and providing more reliable data support for water conservancy project planning, water resource management, flood control and disaster reduction, etc. Description of the Drawings
[0009] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0010] Figure 1 It is a schematic flowchart of a method for monitoring the flow rate of a river channel provided by an embodiment of the present invention; Figure 2 It is a schematic installation structure diagram of a target current meter provided by an embodiment of the present invention; Figure 3Schematic diagram of the effect of converting a riverbed curve and a target water level line into a corresponding target coordinate system provided by an embodiment of the present invention; Figure 4 Schematic diagram of the module structure of a monitoring device for river channel flow provided by an embodiment of the present invention; Figure 5 Schematic block diagram of the structure of a terminal device provided by an embodiment of the present invention. Detailed implementation manners
[0011] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0012] The flowchart shown in the accompanying drawings is only an example illustration, and does not necessarily include all contents and operations / steps, nor does it necessarily need to be executed in the described order. For example, some operations / steps can be decomposed, combined, or partially merged, so the actual execution order may be changed according to the actual situation.
[0013] It should be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an", and "the" are intended to include the plural forms.
[0014] An embodiment of the present invention provides a method, a device, a terminal device, and a storage medium for monitoring river channel flow. Among them, the method for monitoring river channel flow can be applied to a terminal device, and the terminal device can be an electronic device such as a tablet computer, a notebook computer, a desktop computer, a personal digital assistant, and a wearable device. The terminal device can be a server or a server cluster.
[0015] Next, some embodiments of the present invention will be described in detail with reference to the accompanying drawings. Without conflict, the following embodiments and the features in the embodiments can be combined with each other.
[0016] Please refer to Figure 1 , Figure 1 which is a flowchart of a method for monitoring river channel flow provided by an embodiment of the present invention.
[0017] As Figure 1 shown, the method for monitoring river channel flow includes steps S101 to S105.
[0018] Step S101: Obtain the riverbed curve corresponding to the target riverbed and the target water level line corresponding to the target riverbed.
[0019] Exemplarily, a water conservancy expert or water conservancy staff member measures the target riverbed to obtain the riverbed curve corresponding to the target riverbed and the target water level line corresponding to the target riverbed. Among them, the riverbed curve is used to intuitively reflect the morphological characteristics of the target riverbed, while the target water level line is a key indicator for measuring the current water level condition of the target riverbed. The riverbed curve includes the width and narrowness changes, depth and shallowness undulations, and bending degree of the target riverbed, etc. Through the riverbed curve, the basic outline and structural characteristics of the target riverbed can be clearly understood.
[0020] In some embodiments, the obtaining of the riverbed curve corresponding to the target riverbed and the target water level line corresponding to the target riverbed includes: using a target scanner to scan information of the target riverbed to obtain target detection information corresponding to the target riverbed; performing data fitting on the target riverbed according to the target detection information to obtain the riverbed curve corresponding to the target riverbed; performing data analysis according to the target detection information to obtain the target water level line corresponding to the target riverbed.
[0021] Exemplarily, select a target scanner according to the measurement accuracy. For example, for a small river or shallow water area, a portable 3D laser scanner can be selected; for a large river or the riverbed with complex terrain, a lidar scanner carried by a drone is required, which can quickly obtain large-area riverbed information, so as to use the target scanner to scan the information of the target riverbed to obtain the target detection information corresponding to the target riverbed.
[0022] Exemplarily, preprocess the target detection information, including but not limited to removing noise points, filtering, and smoothing processing, etc., to obtain a preprocessing result, and then use a fitting algorithm such as spline curve fitting to perform fitting calculations on the preprocessing result and continuously adjust the fitting parameters to obtain the riverbed curve corresponding to the target riverbed.
[0023] Exemplarily, extract water level-related feature information from the target detection information, such as water surface reflection signals, water level markers, etc., and then use edge detection to accurately locate the edge of the water level from the feature information, so as to determine the target water level line corresponding to the target riverbed according to the detected water level edge information.
[0024] Specifically, using a target scanner to scan information can obtain high-density and high-precision riverbed data, greatly improving the measurement accuracy. Through data fitting and analysis, the measurement results can be further optimized, making the riverbed curve and the target water level line more accurately reflect the actual situation of the target riverbed.
[0025] Step S102: Obtain the first historical data corresponding to the target riverbed below the water level and the second historical data corresponding to the target riverbed below the silt level.
[0026] Exemplarily, obtain the first historical data corresponding to the target riverbed when measured below the water level from a database, and at the same time obtain the second historical data corresponding to the target riverbed when measured below the silt level from the database. Among them, the first historical data is used to characterize the water level position information corresponding to the target riverbed at a historical moment, and the second historical data is used to characterize the silt position information corresponding to the target riverbed at a historical moment.
[0027] Step S103: Determine the target installation position corresponding to the target current meter in the target riverbed according to the first historical data, the second historical data and the riverbed curve.
[0028] Exemplarily, preprocess the first historical data to obtain the third historical data, perform data analysis on the third historical data to obtain the lowest water level data corresponding to the target riverbed, then preprocess the second historical data to obtain the fourth historical data, and further perform data analysis on the fourth historical data to obtain the highest silt data corresponding to the target riverbed. Then compare the lowest water level data and the highest silt data. When the lowest water level data is greater than or equal to the highest silt data, any position between the lowest water level data and the highest silt data is determined as the target installation position corresponding to the target current meter in the target riverbed. When the lowest water level data is less than the highest silt data, the position slightly higher than the highest silt data is determined as the target installation position corresponding to the target current meter. For example, the position 5 cm higher than the highest silt data is determined as the target installation position corresponding to the target current meter.
[0029] In some embodiments, the determining the target installation position corresponding to the target current meter in the target riverbed according to the first historical data, the second historical data and the riverbed curve includes: determining the first position information corresponding to the target current meter in the vertical direction according to the first historical data and the second historical data; obtaining the historical flow velocity data corresponding to the target riverbed, and determining the second position information corresponding to the target current meter in the horizontal direction according to the historical flow velocity data; determining the target installation position corresponding to the target current meter in the target riverbed according to the first position information and the second position information.
[0030] Exemplarily, the first historical data is preprocessed to obtain the third historical data, and the third historical data is analyzed to obtain the lowest water level data corresponding to the target riverbed. Then, the second historical data is preprocessed to obtain the fourth historical data, and the fourth historical data is further analyzed to obtain the highest silt data corresponding to the target riverbed. Thus, the lowest water level data and the highest silt data are compared, so that the target current meter can be submerged and work properly at the lowest water level and will not be buried by silt. Therefore, the data between the lowest water level data and the highest silt data is determined as the first position information corresponding to the target current meter in the vertical direction.
[0031] Exemplarily, the historical flow velocity data corresponding to the target riverbed is obtained from the database. The historical flow velocity data includes the detection position information and the flow velocity information corresponding to the detection position information. Then, the statistical method is used to analyze the flow velocity information to find out the distribution law of the flow velocity in the target riverbed. For example, the main flow area with a larger flow velocity and the recirculation area with a smaller flow velocity are determined. At the same time, the influence of factors such as the topography and geomorphology of the riverbed and the bending degree of the river channel on the flow velocity distribution is considered. Therefore, according to the flow velocity distribution law, a horizontal position that can represent the overall flow velocity situation of the target riverbed is selected as the second position information of the target current meter.
[0032] Exemplarily, the first position information (vertical direction) and the second position information (horizontal direction) are merged to obtain the initial position information corresponding to the target current meter in the target riverbed. Then, the initial position information is converted into the coordinates in the actual geographical coordinates or the riverbed coordinate system to obtain the target installation position corresponding to the target current meter.
[0033] Specifically, by comprehensively considering the first historical data, the second historical data, and the historical flow velocity data to determine the target installation position, the target current meter can be installed at the position that can most accurately reflect the actual flow velocity of the target riverbed. In the vertical direction, the situation of being buried by silt is avoided, ensuring the normal operation of the current meter; in the horizontal direction, a representative flow velocity area is selected, reducing the measurement error and improving the accuracy of the measurement result.
[0034] In some embodiments, determining the first position information corresponding to the target current meter in the vertical direction according to the first historical data and the second historical data includes: obtaining the lowest water level data corresponding to the target riverbed from the first historical data, and performing clustering analysis on the lowest water level data to obtain a first clustering cluster; performing mean processing on each first sub-cluster in the first clustering cluster to obtain the target water level position corresponding to the target riverbed below the water level; obtaining the highest silt data corresponding to the target riverbed from the second historical data, and performing clustering analysis on the highest silt data to obtain a second clustering cluster; performing mean processing on each second sub-cluster in the second clustering cluster to obtain the target silt position corresponding to the target riverbed below the silt line; and determining the first position information corresponding to the target current meter in the vertical direction according to the target water level position and the target silt position.
[0035] Exemplarily, the lowest water level data related to the lowest water level of the target riverbed is screened out from the first historical data. The lowest water level data is the lowest water level values recorded at different time points over a long period of time, so that clustering processing is performed on the screened lowest water level data to obtain a first clustering cluster, so that the data objects in the same group in the first clustering cluster have high similarity, and the data objects between different groups have large differences.
[0036] Exemplarily, the lowest water level data in each first sub-cluster in the first clustering cluster is summed and then divided by the number of data in the first sub-cluster to obtain the mean value of each first sub-cluster. This mean value represents a lowest water level position of the target riverbed corresponding to the first sub-cluster below the water level. Thus, by comprehensively considering the mean values of each first sub-cluster, combining seasonal changes and long-term trends of the water level, etc., the first weight corresponding to each first sub-cluster is determined, and then the target water level position corresponding to the target riverbed below the water level is determined by weighted averaging according to the first weight and the mean value of each first sub-cluster.
[0037] Exemplarily, the data related to the highest silt position of the target riverbed is extracted from the second historical data to obtain the highest silt position. The highest silt level records the highest height of silt accumulation on the target riverbed at different time points. Then, the same or similar clustering analysis method as that for processing the lowest water level data is used to cluster the highest silt data to obtain a second clustering cluster. Each second clustering cluster contains the highest silt data with similar characteristics.
[0038] Exemplarily, for each second sub-cluster in the second clustering cluster, calculate the mean value of the highest silt data inside it. This mean value reflects the highest silt position below the silt line of the target riverbed represented by this second sub-cluster. Thus, synthesize the mean values of each second sub-cluster, and consider factors such as the dynamic changes of silt accumulation and seasonal differences to determine the second weight corresponding to the mean value of the second sub-cluster. Furthermore, perform weighted summation based on the second weight and the mean value of the second sub-cluster to determine the target silt position corresponding to the target riverbed below the silt line.
[0039] Exemplarily, analyze the vertical relationship between the target water level position and the target silt position. The installation position of the target current meter needs to find a suitable point between these two positions, which not only ensures that the current meter will not be exposed to the air at the lowest water level but also ensures that it will not be buried during the highest silt accumulation. Thus, take an intermediate value between the target water level position and the target silt position or determine it as the first position information corresponding to the target current meter according to a certain ratio.
[0040] Specifically, through performing clustering analysis and mean value processing on historical water level data and historical silt data, the target water level position and the target silt position can be determined more precisely. Determining the first installation position of the target current meter in the vertical direction based on the target water level position and the target silt position greatly improves the installation accuracy and avoids the situation where the current meter cannot work properly due to water level or silt problems.
[0041] In some embodiments, the determining the second position information corresponding to the target current meter in the horizontal direction according to the historical flow rate data includes: determining the target shape type corresponding to the target riverbed according to the riverbed curve; when the target shape type meets the preset type, then determine the riverbed width corresponding to the target riverbed according to the riverbed curve; determine the second position information corresponding to the target current meter in the horizontal direction according to the riverbed width; when the target shape type does not meet the preset type, then perform data preprocessing on the historical flow rate data to obtain initial flow rate data; obtain the target acquisition position corresponding to the acquisition of the initial flow rate data, and perform mean value processing on the initial flow rate data to obtain the average flow rate corresponding to the target riverbed; obtain the relevant position information associated with the average flow rate from the target acquisition positions; determine the second position information corresponding to the target current meter in the horizontal direction according to the relevant position information.
[0042] Exemplarily, perform feature analysis on the riverbed curve, such as the curvature change of the riverbed curve, whether it has symmetry, slope change situation, etc., to obtain the target features corresponding to the riverbed curve. Then, compare the target features with the feature templates of different preset shape types. Common preset shape types include but are not limited to rectangle, trapezoid, V-shaped, U-shaped, etc., so as to determine the target shape type corresponding to the target riverbed.
[0043] Exemplarily, the preset type is a rectangle. When the target shape type belongs to a rectangle, for the target riverbed of the regular shape, the width of the riverbed can be obtained by measuring the horizontal distance between the identification points on the two bank edges of the riverbed curve using the riverbed curve, and then the quarter position of the riverbed width is used as the second position information corresponding to the target current meter in the horizontal direction. The target current meter can also be installed at the center position of the riverbed width; considering the distribution characteristics of the water flow, the current meter may also be installed at a position close to the main flow according to a certain ratio.
[0044] Exemplarily, when the target shape type does not belong to a rectangle, data points significantly deviating from the normal range in the historical flow velocity data are identified by setting a threshold range to perform data preprocessing on the historical flow velocity data, and then these outliers are corrected or removed to obtain the initial flow velocity data.
[0045] Exemplarily, the target acquisition position corresponding to the initial flow velocity data is obtained from the database, then all the initial flow velocity data are summed up and divided by the number of data to obtain the average flow velocity corresponding to the target riverbed, and then the difference between the flow velocity corresponding to each target acquisition position and the average flow velocity is calculated, and the target acquisition position corresponding to the flow velocity when the difference is less than the preset value is determined as the relevant position information associated with the average flow velocity.
[0046] Exemplarily, the position corresponding to the minimum difference between the flow velocity and the average flow velocity in the relevant position information is determined as the second position information corresponding to the target current meter in the horizontal direction.
[0047] Specifically, different methods are used to determine the horizontal position of the target current meter for riverbeds of different shapes, which can enable the current meter to more accurately measure the flow velocity representing the water flow condition of the entire riverbed. For a regular-shaped riverbed, determining the position based on the width can fully consider its geometric characteristics; for an irregular-shaped riverbed, determining the position based on historical flow velocity data can adapt to the complex and changeable water flow environment and avoid large deviations in measurement results due to improper positions.
[0048] According to the above analysis, the schematic diagram of the installation structure of the target current meter in the present invention is as Figure 2 shown. Wherein 1 is the target current meter, 2 is the target riverbed, 3 is the target water level line, 4 is the lowest water level line, and 5 is the highest silt line. In the vertical direction, the target current meter 1 is installed above the highest silt line 5 of the target riverbed and below the lowest water level line 4; in the horizontal direction, the target current meter 1 is installed at a position where the flow velocity of the actual shape of the target riverbed is close to the average flow velocity of the river channel.
[0049] Step S104: Obtain the target flow velocity obtained by the target current meter monitoring the flow velocity of the target riverbed at the target installation position.
[0050] Exemplarily, the target current meter is installed below the target installation position, so as to monitor the flow velocity of the target riverbed according to the target current meter, and then obtain the target flow velocity.
[0051] Step S105: Determine the target flow rate corresponding to the target riverbed according to the riverbed curve, the target water level line and the target flow velocity.
[0052] Exemplarily, calculate the cross-section of the target riverbed according to the riverbed curve and the target water level line, so as to obtain the cross-sectional area corresponding to the target riverbed, and then determine the target flow rate corresponding to the target riverbed according to the cross-sectional area and the target flow velocity.
[0053] In some embodiments, the determining the target flow rate corresponding to the target riverbed according to the riverbed curve, the target water level line and the target flow velocity includes: converting the riverbed curve and the target water level line into a target coordinate system to obtain a target cross-section corresponding to the riverbed curve and the target water level line in the target coordinate system; performing data integration according to the target cross-section and the target flow velocity to obtain the target flow rate corresponding to the target riverbed.
[0054] Exemplarily, establish a Cartesian coordinate system, with the horizontal direction as the x-axis representing the lateral position of the river, and the vertical direction as the y-axis representing the elevation. The coordinate origin can be selected at a certain fixed point of the target riverbed, such as the shore reference point on one side of the river. The positive direction of the x-axis can be along the lateral direction of the river, and the positive direction of the y-axis is vertically upward.
[0055] Exemplarily, according to the origin and the axis directions of the selected target coordinate system, convert the point coordinates of the measured riverbed curve and the target water level line. If a relative coordinate system is used during measurement, it needs to be converted into the absolute coordinates in the target coordinate system. Thus, in the target coordinate system, connect the points of the converted riverbed curve and the target water level line to form a closed figure, and this figure is the target cross-section. The effect of converting the riverbed curve and the target water level line into the target coordinate system is as Figure 3 shown, where x represents the horizontal direction, y represents the vertical direction, 1 is the target current meter, 2 is the target riverbed, 3 is the target water level line, represents the i-th data point, represents the (i + 1)-th data point, and N represents the number of divisions of the data points.
[0056] Exemplarily, the target cross-section is divided into a plurality of small strips with equal or unequal widths along the x-axis direction. The principle of division is to ensure both calculation accuracy and avoid excessive calculation amount. The narrower the strip, the more accurate the calculation result, but the calculation amount will also increase correspondingly. Thus, for each small strip, according to its geometric shape in the target coordinate system (usually approximated as a trapezoid or a rectangle), the area corresponding to each small strip is calculated, and then by summing up all the areas, the target area corresponding to the target cross-section is obtained.
[0057] Exemplarily, the target area and the target flow velocity are multiplied to obtain the target flow rate corresponding to the target riverbed.
[0058] In addition, according to the flow velocity relationship corresponding in the historical flow velocity information between the target installation position corresponding to the target flow velocity meter and the position corresponding to the small strip, the target flow velocity is multiplied by the target flow velocity and then multiplied by the area corresponding to each small strip to obtain the flow rate corresponding to the small strip, and then by summing up the flow rates corresponding to all the small strips, the target flow rate corresponding to the target riverbed is obtained.
[0059] In some embodiments, the obtaining of the target flow rate corresponding to the target riverbed by performing data integration based on the target cross-section and the target flow velocity includes: performing target segmentation on the target cross-section to obtain a plurality of data points, and determining the target length between the data points; obtaining the first coordinate information corresponding to the data points below the target water level from the target coordinate system, and obtaining the second coordinate information corresponding to the data points below the riverbed curve from the target coordinate system; performing data integration based on the first coordinate information, the second coordinate information, the target length, and the target flow velocity to obtain the target flow rate corresponding to the target riverbed.
[0060] Exemplarily, equal-spacing division is performed along the horizontal direction of the target cross-section. For example, if the cross-section is along the transverse direction of the river, equal-spacing division can be performed in the transverse direction. The smaller the division spacing, the higher the subsequent calculation accuracy, but the calculation amount will also increase correspondingly. For a target cross-section with a complex shape, non-equal-spacing segmentation can be performed according to its characteristics. For example, in areas where the riverbed changes violently, the division spacing is set smaller; in areas where the riverbed is relatively gentle, the division spacing can be appropriately larger. Then, after the division is completed, the intersection points of each division line with the boundaries of the target cross-section (i.e., the target water level line and the riverbed curve) are the corresponding data points.
[0061] Exemplarily, the horizontal distance between adjacent data points is measured, and this distance is the target length. If the coordinates of the data points are already available in the target coordinate system, the horizontal distance between adjacent data points can also be calculated through the coordinates.
[0062] Exemplarily, for each data point, find its coordinates below the target water level in the target coordinate system and record them as the first coordinate information. Similarly, find the coordinates of the data point below the riverbed curve in the target coordinate system and record them as the second coordinate information.
[0063] Exemplarily, for the division area determined by two adjacent data points, calculate the cross-sectional area of the area according to the first coordinate information and the second coordinate information, and thus perform data integration using the first coordinate information and the second coordinate information in combination with the target length and the target flow velocity according to the following formula to obtain the target flow rate corresponding to the target riverbed:
[0064] Wherein, in the formula, F represents the target flow rate, with the unit of m3 / s; f represents the target flow velocity measured by the target flow velocity meter, with the unit of m / s; d represents the coordinate scale length, that is, the target length, with the unit of m; represents the first coordinate information corresponding to the i-th data point; represents the second coordinate information corresponding to the i-th data point. By subtracting and summing the riverbed curve and the river water line from data point 0 to data point N, where N represents the number of divisions of the data points.
[0065] Please refer to Figure 4 , Figure 4 FIG. 200 is a monitoring device for river channel flow rate provided by an embodiment of the present application. The monitoring device 200 for river channel flow rate includes a data acquisition module 201, a data collection module 202, a position determination module 203, a velocity acquisition module 204, and a flow rate determination module 205. Among them, the data acquisition module 201 is used to obtain the riverbed curve corresponding to the target riverbed and the target water level line corresponding to the target riverbed; the data collection module 202 is used to obtain the first historical data corresponding to the target riverbed below the water level and the second historical data corresponding to the target riverbed below the silt line; the position determination module 203 is used to determine the target installation position corresponding to the target flow velocity meter in the target riverbed according to the first historical data and the second historical data in combination with the riverbed curve; the velocity acquisition module 204 is used to obtain the target flow velocity obtained by the target flow velocity meter for monitoring the flow velocity of the target riverbed at the target installation position; the flow rate determination module 205 is used to determine the target flow rate corresponding to the target riverbed according to the riverbed curve, the target water level line in combination with the target flow velocity.
[0066] In some embodiments, during the process of the data acquisition module 201 obtaining the riverbed curve corresponding to the target riverbed and the target water level line corresponding to the target riverbed, it performs: Use a target scanner to scan the information of the target riverbed to obtain the target detection information corresponding to the target riverbed; Perform data fitting on the target riverbed according to the target detection information to obtain the riverbed curve corresponding to the target riverbed; Perform data analysis according to the target detection information to obtain the target water level line corresponding to the target riverbed.
[0067] In some embodiments, during the process of determining the target installation position of the target current meter in the target riverbed by the position determination module 203 according to the first historical data, the second historical data, and in combination with the riverbed curve, the following is performed: Determine the first position information corresponding to the target current meter in the vertical direction according to the first historical data and the second historical data; Obtain the historical flow velocity data corresponding to the target riverbed, and determine the second position information corresponding to the target current meter in the horizontal direction according to the historical flow velocity data; Determine the target installation position of the target current meter in the target riverbed according to the first position information and the second position information.
[0068] In some embodiments, during the process of determining the first position information corresponding to the target current meter in the vertical direction by the position determination module 203 according to the first historical data and the second historical data, the following is performed: Obtain the lowest water level data corresponding to the target riverbed from the first historical data, and perform clustering analysis on the lowest water level data to obtain the first clustering cluster; Perform mean processing on each first sub-cluster in the first clustering cluster to obtain the target water level position corresponding to the target riverbed below the water level; Obtain the highest silt data corresponding to the target riverbed from the second historical data, and perform clustering analysis on the highest silt data to obtain the second clustering cluster; Perform mean processing on each second sub-cluster in the second clustering cluster to obtain the target silt position corresponding to the target riverbed below the silt line; Determine the first position information corresponding to the target current meter in the vertical direction according to the target water level position and the target silt position.
[0069] In some embodiments, during the process of determining the second position information corresponding to the target current meter in the horizontal direction by the position determination module 203 according to the historical flow velocity data, the following is performed: Determine the target shape type corresponding to the target riverbed according to the riverbed curve; When the target shape type meets the preset type, then determine the riverbed width corresponding to the target riverbed according to the riverbed curve; Determine the second position information corresponding to the target current meter in the horizontal direction according to the width of the riverbed; When the target shape type does not meet the preset type, perform data preprocessing on the historical current data to obtain initial current data; Obtain the target acquisition position corresponding to the acquisition of the initial current data, and perform mean processing on the initial current data to obtain the average current of the target riverbed; Obtain the relevant position information associated with the average current from the target acquisition positions; Determine the second position information corresponding to the target current meter in the horizontal direction according to the relevant position information.
[0070] In some embodiments, during the process of determining the target flow rate corresponding to the target riverbed by the flow rate determination module 205 according to the riverbed curve, the target water level line and the target flow rate, the following is executed: Convert the riverbed curve and the target water level line into a target coordinate system to obtain the target cross-section corresponding to the riverbed curve and the target water level line in the target coordinate system; Perform data integration according to the target cross-section and the target flow rate to obtain the target flow rate corresponding to the target riverbed.
[0071] In some embodiments, during the process of performing data integration according to the target cross-section and the target flow rate by the flow rate determination module 205 to obtain the target flow rate corresponding to the target riverbed, the following is executed: Perform target segmentation on the target cross-section to obtain a plurality of data points, and determine the target length between the data points; Obtain the first coordinate information corresponding to the data points under the target water level line from the target coordinate system, and obtain the second coordinate information corresponding to the data points under the riverbed curve from the target coordinate system; Perform data integration according to the first coordinate information, the second coordinate information, the target length and the target flow rate to obtain the target flow rate corresponding to the target riverbed.
[0072] In some embodiments, the monitoring device 200 for river channel flow rate can be applied to a terminal device.
[0073] It should be noted that those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described monitoring device 200 for river channel flow rate can refer to the corresponding process in the foregoing embodiment of the river channel flow rate monitoring method, and will not be elaborated herein.
[0074] Please refer to Figure 5 , Figure 5A schematic block diagram of a terminal device provided by an embodiment of the present invention.
[0075] As Figure 5 shown, the terminal device 300 includes a processor 301 and a memory 302. The processor 301 and the memory 302 are connected through a bus 303, and this bus is, for example, an I2C (Inter - integrated Circuit) bus.
[0076] Specifically, the processor 301 is used to provide computing and control capabilities to support the operation of the entire terminal device. The processor 301 can be a central processing unit (CPU), and this processor 301 can also be other general - purpose processors, digital signal processors (DSPs), application - specific integrated circuits (ASICs), field - programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general - purpose processor can be a microprocessor or this processor can also be any conventional processor, etc.
[0077] Specifically, the memory 302 can be a Flash chip, read - only memory (ROM), magnetic disk, optical disk, USB flash drive, or mobile hard disk, etc.
[0078] Those skilled in the art can understand that Figure 5 the structure shown in [[ ]] is only a block diagram of a part of the structure related to the solution of the embodiment of the present invention, and does not constitute a limitation on the terminal device to which the solution of the embodiment of the present invention is applied. A specific server may include more or fewer components than those shown in the figure, or combine some components, or have a different component layout.
[0079] Wherein, the processor is used to run a computer program stored in the memory and, when executing the computer program, implement any one of the monitoring methods of the river channel flow provided by the embodiment of the present invention.
[0080] In one embodiment, the processor is used to run a computer program stored in the memory and, when executing the computer program, implement the following steps: Obtain the riverbed curve corresponding to the target riverbed and the target water level line corresponding to the target riverbed; Obtain the first historical data corresponding to the target riverbed below the water level and the second historical data corresponding to the target riverbed below the silt line; Determine the target installation position corresponding to the target current meter in the target riverbed according to the first historical data, the second historical data, and in combination with the riverbed curve; Obtain the target flow velocity monitored by the target current meter on the target riverbed at the target installation position; Determine the target flow rate corresponding to the target riverbed according to the riverbed curve, the target water level line, and in combination with the target flow velocity.
[0081] In some embodiments, during the process of the processor 301 obtaining the riverbed curve corresponding to the target riverbed and the target water level line corresponding to the target riverbed, the following operations are performed: Use a target scanner to scan information of the target riverbed to obtain target detection information corresponding to the target riverbed; Perform data fitting on the target riverbed according to the target detection information to obtain the riverbed curve corresponding to the target riverbed; Perform data analysis according to the target detection information to obtain the target water level line corresponding to the target riverbed.
[0082] In some embodiments, during the process of the processor 301 determining the target installation position corresponding to the target current meter in the target riverbed according to the first historical data, the second historical data, and in combination with the riverbed curve, the following operations are performed: Determine the first position information corresponding to the target current meter in the vertical direction according to the first historical data and the second historical data; Obtain the historical flow velocity data corresponding to the target riverbed, and determine the second position information corresponding to the target current meter in the horizontal direction according to the historical flow velocity data; Determine the target installation position corresponding to the target current meter in the target riverbed according to the first position information and the second position information.
[0083] In some embodiments, during the process of the processor 301 determining the first position information corresponding to the target current meter in the vertical direction according to the first historical data and the second historical data, the following operations are performed: Obtain the lowest water level data corresponding to the target riverbed from the first historical data, and perform clustering analysis on the lowest water level data to obtain a first clustering cluster; Perform mean processing on each first sub-cluster in the first clustering cluster to obtain the target water level position corresponding to the target riverbed below the water level; Obtain the highest silt data corresponding to the target riverbed from the second historical data, and perform clustering analysis on the highest silt data to obtain a second clustering cluster; Perform mean processing on each second sub-cluster in the second clustering cluster to obtain the target silt position corresponding to the target riverbed below the silt line; Determine the first position information corresponding to the target current meter in the vertical direction according to the target water level position and the target silt position.
[0084] In some embodiments, during the process of determining the second position information corresponding to the target current meter in the horizontal direction according to the historical current data, the processor 301 executes: Determine the target shape type corresponding to the target riverbed according to the riverbed curve; When the target shape type meets the preset type, determine the riverbed width corresponding to the target riverbed according to the riverbed curve; Determine the second position information corresponding to the target current meter in the horizontal direction according to the riverbed width; When the target shape type does not meet the preset type, perform data preprocessing on the historical current data to obtain initial current data; Obtain the target collection position corresponding to the collection of the initial current data, and perform mean processing on the initial current data to obtain the average current corresponding to the target riverbed; Obtain the relevant position information associated with the average current from the target collection positions; Determine the second position information corresponding to the target current meter in the horizontal direction according to the relevant position information.
[0085] In some embodiments, during the process of determining the target flow rate corresponding to the target riverbed according to the riverbed curve, the target water level line and the target current, the processor 301 executes: Convert the riverbed curve and the target water level line into a target coordinate system to obtain the target cross-section corresponding to the riverbed curve and the target water level line in the target coordinate system; Perform data integration according to the target cross-section and the target current to obtain the target flow rate corresponding to the target riverbed.
[0086] In some embodiments, during the process of performing data integration according to the target cross-section and the target current to obtain the target flow rate corresponding to the target riverbed, the processor 301 executes: Perform target segmentation on the target cross-section to obtain a plurality of data points, and determine the target length between the data points; Obtain the first coordinate information corresponding to the data points below the target water level line from the target coordinate system, and obtain the second coordinate information corresponding to the data points below the riverbed curve from the target coordinate system; Integrate data according to the first coordinate information and the second coordinate information in combination with the target length and the target flow velocity to obtain the target flow rate corresponding to the target riverbed.
[0087] It should be noted that those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working process of the above-described terminal device can refer to the corresponding process in the embodiment of the monitoring method of the river channel flow rate described above, and will not be elaborated here.
[0088] The embodiment of the present invention also provides a storage medium for computer-readable storage. The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of any monitoring method of the river channel flow rate provided in the specification of the embodiment of the present invention.
[0089] Among them, the storage medium may be an internal storage unit of the terminal device described in the foregoing embodiment, such as the hard disk or memory of the terminal device. The storage medium may also be an external storage device of the terminal device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device.
[0090] Those of ordinary skill in the art will understand that all or some of the steps in the methods disclosed above, and the functional modules / units in systems and devices, can be implemented as software, firmware, hardware, and appropriate combinations thereof. In a hardware embodiment, the division of functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be executed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or transitory medium). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information, such as computer-readable instructions, data structures, program modules, or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory, or other memory technologies, CD-ROM, digital versatile disk (DVD), or other optical disk storage, magnetic cartridges, tapes, magnetic disk storage, or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, as is well known to those of ordinary skill in the art, a communication medium typically contains computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and may include any information delivery medium.
[0091] It should be understood that the term "and / or" used in the specification and appended claims of the present invention refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations. It should be noted that, in this document, the terms "include", "comprise", or any other variants thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system including a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article, or system. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of additional identical elements in the process, method, article, or system including that element.
[0092] The serial numbers of the embodiments of the present invention above are only for description and do not represent the superiority or inferiority of the embodiments. The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention can easily think of various equivalent modifications or substitutions, and these modifications or substitutions should all be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A method for monitoring river flow, characterized in that: The method comprises: Obtaining a riverbed curve corresponding to a target riverbed and a target water level line corresponding to the target riverbed; Obtaining first historical data corresponding to the target riverbed below the water level line and second historical data corresponding to the target riverbed below the silt line; Determine a target installation position corresponding to a target current meter in the target riverbed according to the first historical data and the second historical data combined with the riverbed curve; Obtaining a target flow velocity obtained by monitoring the flow velocity of the target riverbed by the target flow velocity meter at the target installation position; The target flow rate corresponding to the target riverbed is determined according to the riverbed curve, the target water level line and the target flow rate.
2. The method according to claim 1, characterized in that: The obtaining of a riverbed curve corresponding to a target riverbed and a target water level line corresponding to the target riverbed includes: Scanning the target riverbed with a target scanner to obtain target detection information corresponding to the target riverbed; Performing data fitting on the target riverbed according to the target detection information to obtain a riverbed curve corresponding to the target riverbed; The target water level line corresponding to the target riverbed is obtained by performing data analysis based on the target detection information.
3. The method according to claim 1, characterized in that The step of determining a target installation position corresponding to a target current meter in the target riverbed according to the first historical data and the second historical data in combination with the riverbed curve includes: Determine first position information corresponding to the target current meter in the vertical direction according to the first historical data and the second historical data; Obtaining historical flow velocity data corresponding to the target riverbed, and determining second position information corresponding to the target current meter in the horizontal direction according to the historical flow velocity data; The target installation position corresponding to the target current meter in the target riverbed is determined according to the first position information and the second position information.
4. The method according to claim 3, characterized in that The determining, according to the first historical data and the second historical data, first position information corresponding to the target current meter in the vertical direction comprises: Obtaining the lowest water level data corresponding to the target riverbed from the first historical data, and performing cluster analysis on the lowest water level data to obtain a first cluster; Performing mean processing on each first sub-cluster in the first cluster class to obtain a target water level position corresponding to the target riverbed below the water level line; Obtaining the highest silt data corresponding to the target riverbed from the second historical data, and performing cluster analysis on the highest silt data to obtain a second clustering cluster; Performing mean processing on each second sub-cluster in the second cluster class cluster to obtain a target silt position corresponding to the target riverbed below the silt line; The first position information corresponding to the target current meter in the vertical direction is determined according to the target water level position and the target silt position.
5. The method according to claim 3, characterized in that: The determining, according to the historical flow velocity data, the second position information corresponding to the target flow meter in the horizontal direction comprises: Determining a target shape type corresponding to the target riverbed according to the riverbed curve; When the target shape type meets the preset type, the riverbed width corresponding to the target riverbed is determined according to the riverbed curve; Determine the second position information corresponding to the target current meter in the horizontal direction according to the riverbed width; When the target shape type does not meet the preset type, preprocessing the historical flow rate data to obtain initial flow rate data; Obtaining a target collection position corresponding to the collection of the initial flow velocity data, and performing mean processing on the initial flow velocity data to obtain an average flow velocity corresponding to the target riverbed; Obtain relevant position information associated with the average flow velocity from the target acquisition position; The second position information corresponding to the target current meter in the horizontal direction is determined according to the relevant position information.
6. The method according to claim 1, characterized in that The step of determining the target flow rate corresponding to the target riverbed according to the riverbed curve, the target water level line and the target flow rate includes: Converting the riverbed curve and the target water level line into a target coordinate system to obtain a target cross section corresponding to the riverbed curve and the target water level line in the target coordinate system; The target flow corresponding to the target riverbed is obtained by performing data integration according to the target cross-section and the target flow velocity.
7. The method according to claim 6, characterized in that The step of performing data integration according to the target cross section and the target flow rate to obtain the target flow corresponding to the target riverbed includes: Performing target segmentation on the target cross section to obtain a plurality of data points, and determining a target length between the data points; Obtaining first coordinate information corresponding to the data point under the target water level line from the target coordinate system, and obtaining second coordinate information corresponding to the data point under the riverbed curve from the target coordinate system; The target flow corresponding to the target riverbed is obtained by performing data integration based on the first coordinate information and the second coordinate information in combination with the target length and the target flow rate.
8. A device for monitoring river flow, characterized in that: include: A data acquisition module, used to obtain a riverbed curve corresponding to a target riverbed and a target water level line corresponding to the target riverbed; A data acquisition module, used to obtain first historical data corresponding to the target riverbed below the water level line and second historical data corresponding to the target riverbed below the silt line; A position determination module, configured to determine a target installation position corresponding to a target current meter in the target riverbed according to the first historical data and the second historical data combined with the riverbed curve; A velocity acquisition module, used to obtain a target flow velocity obtained by monitoring the flow velocity of the target riverbed by the target flow velocity meter at the target installation position; The flow determination module is used to determine the target flow corresponding to the target riverbed according to the riverbed curve, the target water level line and the target flow rate.
9. A terminal device, characterized in that: The terminal device includes a processor and a memory; The memory is used to store computer programs; The processor is used to execute the computer program and implement the method for monitoring river flow as described in any one of claims 1 to 7 when executing the computer program.
10. A computer storage medium for computer storage, characterized in that: The computer storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the river flow monitoring method described in any one of claims 1 to 7.
Citation Information
Patent Citations
Multi-station daily water level prediction method and device, electronic equipment and computer medium
CN115034497A
River flow shore-based automatic measurement and fine calculation method
CN115824169A
Hydrological detection method, device, equipment and medium
CN117387583A
Seawater underway quicksand content and particle size automatic sampling and monitoring method
CN118627235A
Cascade hydropower station output prediction method and system
CN119416937A