A method and system for intelligent detection of water flow in an unmanned area river
By collecting data using radar current meters and water level gauges in uninhabited river channels, and combining this with cellular networks and flow calculation models, the efficiency problem of data processing and transmission in the intelligent river flow detection system for uninhabited areas has been solved. This has enabled reliable data transmission and dynamic monitoring of the river channel, adapting to the difficulties of power supply in uninhabited areas and supporting unmanned equipment management.
Patent Information
- Application Number
- CN202510588733.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-08
- Publication Date
- 2026-11-10
AI Technical Summary
Existing intelligent detection systems are unable to efficiently process and analyze real-time data from a large number of sites, making it difficult to provide decision-makers with accurate and timely decision support.
The system collects river water data in uninhabited areas using radar current meters and radar water level gauges, transmits the data to the central control server via cellular network, processes the data using a river flow calculation model, caches the data when the network is unstable using Modbus RTU and Modbus TCP protocols, and achieves long-distance transmission through public IP addresses and port mapping. It is powered by solar panels and batteries to build an intelligent river flow detection system in uninhabited areas.
It enables efficient processing and analysis of real-time data from a large number of stations, ensuring reliable and accurate data transmission, providing dynamic early warning and monitoring of river channels, adapting to the power supply difficulties in uninhabited areas, and supporting unmanned equipment management.
Smart Images

Figure CN123065544A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of water conservancy monitoring technology, and in particular to a method and system for intelligent detection of river flow in uninhabited areas. Background Technology
[0002] With the development of technology, intelligent detection technology has been gradually applied to the field of river flow detection. Existing intelligent detection systems typically utilize sensors, wireless communication, and data processing technologies to achieve real-time monitoring and data transmission of river flow.
[0003] Regarding wireless communication, Chinese patent document published on August 5, 2015, discloses an IoT-based intelligent monitoring system (authorization announcement number CN20498980U). This system includes a control host, a mobile monitoring terminal, and an execution device. The control host is connected to both a signal detection unit and the execution device. The control host has an ID, and the mobile monitoring terminal pre-stores the control host ID, its internal network IP address, and a mapped port number. The control host connects to the public network via a router. The control host has a fixed internal network IP address, and the router has a dynamic public network IP address. The dynamic public network IP address is mapped to the internal network IP address via the mapped port. The control host obtains the dynamic public network IP address from a DDNS server through the router and inputs the obtained dynamic public network IP address into the APP client of both the control host and the mobile monitoring terminal, enabling point-to-point communication between them. This system offers advantages such as simplicity, anti-theft features, and resistance to hacking.
[0004] Existing technologies disclose methods for dynamically mapping public IP addresses to internal IP addresses for secure data transmission. However, current intelligent detection systems are unable to efficiently process and analyze real-time data from a large number of sites, making it difficult to provide decision-makers with accurate and timely decision support. Summary of the Invention
[0005] To address the shortcomings of the existing technologies, this invention provides a method and system for intelligent detection of river flow in uninhabited areas, which enables reliable long-distance data transportation, efficient processing and analysis of real-time data from a large number of stations, and accurate processing of collected data and dynamic monitoring of river flow.
[0006] To solve the above-mentioned technical problems, the present invention adopts the following technical solution: a method for intelligent detection of river flow in uninhabited areas, comprising the following steps:
[0007] S1. Data acquisition: Data on river water in uninhabited areas is acquired through radar current meter and radar water level meter. The radar current meter acquires the flow velocity data of river water in uninhabited areas, and the radar water level meter acquires the liquid level data of river water in uninhabited areas.
[0008] S2. Data transmission: The collected river flow velocity and water level data are transmitted to the telemetry and control terminal. The telemetry and control terminal transmits the data packet containing the river flow velocity and water level data from the Internet to the uninhabited area river flow intelligent detection platform on the central control center server through the cellular network and using the public IP address.
[0009] S3. Data reception: A listening program is started on the central control server to listen for connection requests coming in through the port corresponding to the public IP mapped by the local route. The listening program receives data sent by the telemetry control terminal through the established connection.
[0010] S4. Data processing: The central control center server stores river flow velocity and water level data, and uses the pre-installed river flow calculation model of the uninhabited area river flow intelligent detection platform to calculate the real-time river flow.
[0011] Furthermore, the river flow calculation model includes:
[0012] A1. Use topographic surveying instruments to measure the elevation data of the river channel cross section, and construct a formula for calculating the cross-sectional area of the river channel based on the measured elevation data and the width of the river channel.
[0013] A2. Fit the functional relationship between water level and river width based on the measurement data at different water levels, calculate the change in river width based on the change in water level, and calculate the cross-sectional area S1 of the river at different water levels by combining the formula for calculating the cross-sectional area of the river and the change in the river width.
[0014] A3. Set up measurement points in the cross-section of the river channel to measure the flow velocity and calculate the average flow velocity;
[0015] A4. Calculate the river flow rate: River flow rate Q = River cross-sectional area S1 × Average river velocity V.
[0016] Furthermore, in step A1, the measured elevation data is plotted to scale, with the horizontal axis representing the width of the river channel and the vertical axis representing the elevation. The measurement points are then connected to form the outline of the river channel cross section.
[0017] The cross-section of the river channel is divided into several trapezoidal or rectangular calculation units. The area of each unit is calculated and summed to obtain the cross-sectional area of the river channel.
[0018] Furthermore, in step A2, the river channel is measured multiple times at different water levels to obtain water level values and river width values, and a scatter plot is drawn with water level as the abscissa and river width as the ordinate.
[0019] By fitting a scatter plot, the functional relationship between water level and river width is obtained as W = aH + b; where W is the river width, H is the water level, and a and b are coefficients obtained through fitting.
[0020] Calculate the change in river width DW = W1 - W0 = a(H1 - H0); where H1 is the current water level and H0 is the previous water level.
[0021] Furthermore, it also includes calibrating the river flow rate:
[0022] Using a flow velocity meter, multiple river flow velocities were measured. These manually measured accurate flow velocity data were then compared and verified with the flow velocity measured by the sensor to confirm the accuracy of the flow velocity measurement.
[0023] Furthermore, the telemetry and control terminal includes a local memory, which is used to cache the collected river flow rate and liquid level data in the local memory before establishing a connection with the central control server or when the connection with the public network is interrupted. After the network is reconnected, the telemetry and control terminal transmits the cached data to the central control server.
[0024] Furthermore, the performance and resource usage of the telemetry control terminal are monitored to ensure that the expected load can be handled; and logging is performed, including recording data entering and leaving the server, error messages, and preset type events for troubleshooting and auditing.
[0025] Furthermore, the local router connected to the central control center server is used to parse the data received by the central control center server and use port mapping to realize data reception and exchange between the public network IP and the internal network. The data reception and exchange includes completing the corresponding settings of the public network IP address, public network port, internal network IP address and internal network port as needed to establish a data communication channel between the public network and the internal network.
[0026] Furthermore, the intelligent detection platform for river flow in uninhabited areas stores data based on a SQL Server database.
[0027] Furthermore, the local router connected to the central control center server is used to parse the data received by the central control center server and use port mapping to realize data reception and exchange between the public network IP and the internal network. The data reception and exchange includes completing the corresponding settings of the public network IP address, public network port, internal network IP address and internal network port as needed to establish a data communication channel between the public network and the internal network.
[0028] This invention also provides an intelligent system for detecting river flow in uninhabited areas, comprising:
[0029] The hardware system includes a radar current meter, a radar water level gauge, a solar panel, a battery, a control box, a solar controller, a telemetry control terminal, a local router, and a central control server. The radar current meter and radar water level gauge are installed on a horizontal bar placed across the river surface via a column. The solar panel and control box are installed on the column. The battery, solar controller, telemetry control terminal, and battery are installed inside the control box. The central control server is equipped with a local router.
[0030] The telemetry control terminal is configured to cache the collected river flow rate and liquid level data in local storage before establishing a connection with the central control center server, and supports automatic conversion between Modbus RTU and Modbus TCP protocols.
[0031] The central control center server and local router are configured to transmit data packets containing river flow rate and liquid level data via public IP routing through the cellular network, and to achieve bidirectional transparent data transmission from the serial port to the cloud server through configuration software or AT commands.
[0032] The software system includes an intelligent detection platform for river flow in uninhabited areas, which is installed on the central control center server.
[0033] Furthermore, the human-computer interaction interface of the central control center server includes: real-time status, trend analysis, historical records, system model, and system parameter settings;
[0034] The real-time status includes: the collected data is stored in the SQL Server database, including river flow velocity and river water level, and the real-time river flow rate of each station is calculated, as well as information on the battery, radar flow meter, radar water level gauge and warning water level.
[0035] The trend analysis includes: displaying the real-time water level and river flow change trend of each station in real time; comparing the data collected in the initial stage and the experimental stage to determine whether the warning water level has been reached; and displaying alarm information on the page.
[0036] The historical records include: historical water level, historical flow velocity, historical flow rate data, station equipment fault information, and historical river water condition alarm information, and store historical trend data;
[0037] The system model includes: uninhabited river water monitoring stations and a central control server marked on a map as points, with the alarm points marked on the map flashing and the distance to the alarm points displayed on the map;
[0038] The system parameter settings include: hardware system information, site information, and software system information.
[0039] In summary, the present invention has the following beneficial effects:
[0040] (1) Multiple data acquisition stations collect river flow velocity data in uninhabited areas through radar flow meters and water level data in uninhabited areas through radar water level gauges. The data collected by the acquisition stations distributed in uninhabited areas are sent to the uninhabited area river flow intelligent detection platform in the central control center server using telemetry control terminal and public network IP. After receiving the data, the detection platform stores it and uses the river flow calculation model to obtain the river flow. The purpose of dynamic early warning monitoring of the river is achieved by using water level, flow velocity and river flow.
[0041] (2) The intelligent monitoring platform for river flow in uninhabited areas can efficiently process and analyze real-time data from a large number of stations. In this process, in order to further adapt to unstable communication links, the data from multiple stations can be stored in serial port buffers by telemetry control terminals before establishing a connection with the central control server due to communication difficulties in uninhabited areas. The data is automatically switched to Modbus RTU protocol. After the network is restored, the data is switched back to Modbus TCP protocol and the buffered data is transmitted. By combining public IP and port mapping, long-distance transmission is achieved while ensuring the reliability and accuracy of data transmission.
[0042] (3) Due to the difficulty of power supply in uninhabited areas, setting up solar panels and batteries at the site can provide continuous power supply to the equipment and realize unmanned management of the site equipment. Attached Figure Description
[0043] Figure 1 Layout diagram of an intelligent river flow monitoring system in uninhabited areas.
[0044] Figure 2 This is a diagram of the flow calculation model.
[0045] The following are the annotations in the attached diagram: 1. Horizontal bar; 2. Vertical bar; 3. Solar panel; 4. Radar flow meter; 5. Radar water level gauge; 6. Control box; 7. Rain cover; 8. Local router; 9. Central control server. Detailed Implementation
[0046] The present invention will be further described in detail below with reference to the embodiments.
[0047] Example 1:
[0048] A method for intelligent detection of river flow in uninhabited areas, specifically implemented, includes the following steps:
[0049] S1. Data acquisition: Radar current meter 4 and radar water level meter 5, located above the water surface, are used to collect river water data in the uninhabited area. Radar current meter 4 collects river water velocity data in the uninhabited area, and radar water level meter 5 collects river water level data in the uninhabited area.
[0050] S2. Data transmission: The river flow velocity and water level data collected by the radar flow meter 4 and radar water level gauge 5 are transmitted to the telemetry control terminal via signal cable. Then, through the cellular network and using the public IP address, the data packet containing the river flow velocity and water level data is routed from the Internet to the uninhabited area river flow intelligent detection platform on the central control server 9.
[0051] The telemetry and control terminal can transmit signals even in networks with only 2G or 3G coverage. It also includes a local storage device to cache collected river flow rate and liquid level data before establishing a connection with the central control server 9, and automatically switches to the Modbus RTU protocol. After network recovery, it switches back to the Modbus TCP protocol and transmits the cached data. When a network connection is interrupted, the telemetry and control terminal stores the collected data in its local storage, distinguishing between real-time and historical information using timestamps or serial numbers. Once the network is restored, the telemetry and control terminal transmits the cached data to the central control server 9, usually simultaneously, but in special circumstances, new data can be transmitted first.
[0052] S3. Data Reception: Configure the central control server 9 to receive connections and data transmitted via the public IP address and port mapped by the local router 8. Once the server opens its listening port, it will be in a waiting state, ready to accept network connection requests from other devices or applications. Start a listening program on the central control server 9 to listen for connection requests transmitted via the port corresponding to the public IP address mapped by the local router 8. The listening program receives data sent by the telemetry control terminal through the established connection. This can be configured by downloading and installing QuecTool software or using AT commands. AT commands are the standard control language for communication devices (such as 2G / 3G modules), enabling bidirectional transparent data transmission from the serial port to the cloud server.
[0053] The data reception process for the central control center server 9 includes the following steps:
[0054] When an external device sends a request to the central control server 9 via the public IP address and port mapped by the local router 8, carrying river flow velocity data and river water level data, the central control server 9 receives the request.
[0055] In response to the received request, the HTTP request header, request body, and instructions in JSON or XML format are parsed according to the preset rules for detecting river flow in uninhabited areas to extract river flow velocity data and river water level data. The preset rules take into account the characteristics of data in the complex environment of uninhabited areas and perform special processing on the data format and encoding.
[0056] Perform the following processing operations on the parsed data:
[0057] Verify the integrity of the data by comparing the data checksum and checking whether the data length meets the preset range, ensuring that the data is not lost or damaged during transmission.
[0058] To verify the legality of the data, based on the historical data range and physical characteristics of the river flow in the uninhabited area, determine whether the river flow velocity data and river water level data are within a reasonable range.
[0059] Based on the river flow prediction model and water level-flow relationship curve in uninhabited areas, specific business logic is executed to predict river flow based on the parsed and verified data, and generate corresponding early warning information.
[0060] For the central control center server 9, a firewall is used to protect the server and its data. The software, operating system, and applications of the central control center server 9 are regularly updated to patch potential security vulnerabilities. This also includes monitoring the performance and resource usage of the telemetry control terminal to ensure timely data processing, stable transmission, and system reliability, guaranteeing the normal operation of the uninhabited river flow detection system and ensuring it can handle the expected load; and logging, which includes recording data entering and leaving the server, error messages, and preset event types for troubleshooting and auditing.
[0061] A listening port is established on the central control server 9 to listen for incoming connections via the mapped public IP address and port. Specifically, Python's socket library, Node.js's net or http module can be used to implement the listening port on the central control server 9 to receive data. Python's socket library can implement TCP and UDP protocol communication, the net module is a Node.js module used to create TCP servers and clients, and the http module is a Node.js module used to create HTTP servers and clients.
[0062] The local router 8 connected to the central control center server 9 is used to parse the data received by the central control center server 9 and uses port mapping to realize data reception and exchange between the public network IP and the internal network. The data reception and exchange includes completing the corresponding settings of the public network IP address, public network port, internal network IP address and internal network port as needed to establish a data communication channel between the public network and the internal network. The intelligent monitoring platform for river flow in uninhabited areas uses a SQL Server database to store the data.
[0063] S4. Data processing: The central control center server stores river flow velocity and water level data, and uses the pre-installed river flow calculation model of the uninhabited area river flow intelligent detection platform to calculate the real-time river flow.
[0064] The flow calculation model includes:
[0065] A1. Use topographic surveying instruments to measure the elevation data of the river channel cross section, and construct a formula for calculating the cross-sectional area of the river channel based on the measured elevation data and the width of the river channel.
[0066] The measured elevation data is plotted to scale, with the horizontal axis representing the width of the river channel and the vertical axis representing the elevation. The contour lines of the river channel cross-section are formed by connecting the measurement points.
[0067] The cross-section of the river channel is divided into several trapezoidal or rectangular calculation units. The area of each unit is calculated and summed to obtain the cross-sectional area of the river channel.
[0068] A2. Fit the functional relationship between water level and river width based on measurement data at different water levels, calculate the change in river width based on water level changes, and calculate the river cross-sectional area S1 at different water levels by combining the river cross-sectional area calculation formula and the change in river width.
[0069] In step A2, the river channel is measured multiple times at different water levels to obtain water level and river width values. A scatter plot is then drawn with water level as the horizontal axis and river width as the vertical axis.
[0070] By fitting a scatter plot, the functional relationship between water level and river width is obtained as W = aH + b; where W is the river width, H is the water level, and a and b are coefficients obtained through fitting.
[0071] Calculate the change in river width D W =W1-W0=a(H1-H0); where H1 is the current water level and H0 is the previous water level.
[0072] A3. Set up measurement points on the cross section of the river to measure the flow velocity and calculate the average flow velocity.
[0073] A4. Calculate the river flow rate: River flow rate Q = River cross-sectional area S1 × Average river velocity V.
[0074] Specifically, the process involves first measuring the riverbed topography using topographic surveying instruments (such as total stations and GPS) along the river's cross-section to obtain elevation data at different locations. Measurement points should be evenly distributed, especially along the riverbanks and where there are significant changes in the riverbed, where the number of measurement points should be appropriately increased to accurately reflect the river's shape.
[0075] Draw a cross-sectional diagram, plotting the measured elevation data on a drawing at a certain scale. The horizontal axis represents the width of the river channel, and the vertical axis represents the elevation. Connect the measurement points to form the outline of the river channel cross-section.
[0076] Dividing the river channel cross-section into several small calculation units, typically trapezoidal or rectangular units. The principle of division is to make the terrain within each unit relatively flat to simplify subsequent area calculations.
[0077] Formula: For a trapezoidal element, the area calculation formula is A = 1 / 2(b1 + b2)h, where A is the area of the trapezoid, b1 and b2 are the lengths of the upper and lower bases of the trapezoid, respectively, and h is the height of the trapezoid (i.e., the vertical height of the element). For a rectangular element, the area formula is A = bh, where b is the width of the rectangle and h is the height of the rectangle. Adding the areas of all elements together gives the total area of the river channel cross-section, i.e., the river channel cross-sectional area S.
[0078] Estimating changes in river width and cross-sectional area based on dynamic changes in water level:
[0079] The relationship between water level changes and river width changes in natural rivers is generally as follows: when the water level rises, the overflow area expands, and the river width increases accordingly; conversely, when the water level falls, the river width decreases. This relationship can be described by establishing a water level-river width curve. First, the river is measured multiple times at different water levels to obtain the corresponding water level and river width values. Then, a scatter plot is created with water level as the x-axis and river width as the y-axis. By fitting the scatter plot (commonly using linear regression, polynomial regression, etc.), the functional relationship between water level and river width can be obtained. For example, a linear relationship W = aH + b might be obtained, where W is the river width, H is the water level, and a and b are coefficients obtained through fitting. The overall river height can be obtained by subtracting the height from the river surface to the sensor from the height from the riverbed bottom to the sensor.
[0080] Calculate the change in river width by changing water level: Assume that the current water level H1 and the water level H0 at a certain time in the past are known, as well as the water level-river width function relationship W = aH + b.
[0081] First, calculate the river width W1 = aH1 + b corresponding to the current water level, and the river width W corresponding to the previous water level. 0= aH0+b.
[0082] Then the change in river width D W =W1-W0=a(H1-H0).
[0083] Calculating the cross-sectional area of the river channel: After obtaining the change in river channel width, and combining this with the known cross-sectional shape of the channel (using the previously established channel cross-sectional model), the cross-sectional area of the channel at different water levels can be calculated. For example, if the channel cross-section is approximately trapezoidal, and the initial water level H0 is known (upper base b1, lower base b2, and height h0), the area S = 1 / 2(b1+b2)h0. When the water level changes to H1, the change in channel width is D. W Assuming the upper base is increased by D W (The actual situation needs to be analyzed based on the specific shape of the river channel), then the new upper bottom b 11 =b1+D W The new height h1 = h0 + D H (D H =H1-H0), the new river channel cross-sectional area S1 = 1 / 2 (b 11 +b2)h1.
[0084] Average river flow velocity acquisition: The multi-point velocity measurement method involves evenly distributing multiple velocity measurement points across the river cross-section at different water depths and horizontal positions. For example, flow velocities can be measured at depths of 0.2h, 0.6h, and 0.8h (where h is the water depth) below the surface, with measurement points evenly distributed horizontally from one bank to the other. A current meter (such as an electromagnetic current meter or an acoustic Doppler current meter) is used to measure the flow velocity at each point, denoted as v1, v2, etc.
[0085] Calculate the average flow velocity by summing the flow velocities at each measurement point and dividing by the total number of measurement points. Alternatively, a weighted average method can be used to consider the differences in the contribution of flow velocity at different locations to the overall flow rate. For example, the flow velocity near the riverbed and banks is relatively small and has a lower weight in terms of its contribution to the flow rate, while the flow velocity in the center of the river channel and near the water surface is larger and has a higher weight.
[0086] Manual velocity measurement and sensor data calibration are crucial. Over long-term use, sensors may be affected by various factors (such as impurities in the water flow, electromagnetic interference, and equipment aging), leading to measurement errors. Multiple river flow velocities are measured manually using a handheld current meter. These accurate manual measurements are then compared with the sensor readings. If deviations are found, the sensor can be calibrated, adjusting its measurement parameters to more closely approximate the true value, thus obtaining more accurate velocity data for river flow calculation.
[0087] Verifying the reliability of the measurement system involves comparing manually measured flow velocity with sensor measurements. This verifies the reliability of the entire flow velocity measurement system (including sensors, data transmission lines, and data processing software). If the manually measured values differ significantly from the sensor values, and measurement operation errors have been ruled out, it may indicate a malfunction in the measurement system. A comprehensive inspection and repair of the system are necessary to ensure accurate measurement of river flow velocity during long-term operation, thereby guaranteeing the accuracy of river flow calculations.
[0088] The above methods enable the complete calculation of river flow, from establishing the river channel cross-section model and determining the relationship between water level and river width and cross-sectional area, to obtaining the average flow velocity and explaining the role of artificial velocity measurement, providing a detailed and accurate basis for river flow calculation.
[0089] Example 2:
[0090] This embodiment discloses an intelligent system for detecting river flow in uninhabited areas; the layout diagram is shown below. Figure 1 Specifically, it includes:
[0091] The hardware system includes a radar current meter 4, a radar water level gauge 5, a solar panel 3, a battery, a control box 6, a solar controller, a telemetry control terminal, a local router 8, and a central control server 9. The radar current meter 4 and radar water level gauge 5 are mounted on a horizontal bar 1 placed across the river surface via a column. The solar panel 3 and control box 6 are mounted on the column. The battery, solar controller, telemetry control terminal, and battery are housed within the control box 6. The solar panel 3 and battery are connected to the solar controller to power the radar current meter 4, radar water level gauge 5, and other electrical equipment. The central control server 9 is equipped with the local router 8. The radar current meter 4 and radar water level gauge 5 are mounted above the river surface via the horizontal bar 1 and the column, and transmit the measured signals to the telemetry control terminal. The telemetry control terminal then sends the signals to the uninhabited river flow intelligent detection platform for data processing and alarm functions.
[0092] The telemetry control terminal is configured to cache the collected river flow rate and liquid level data in its local storage before establishing a connection with the central control server 9, and supports automatic conversion between Modbus RTU and Modbus TCP protocols.
[0093] The central control server 9 and local router 8 are configured to transmit data packets containing river flow rate and liquid level data via public IP routing through the cellular network. A mapping relationship between the public IP address / port and the internal server IP address / port is established through SecureCRT or NAT configuration software, enabling bidirectional transparent data transmission from the serial port to the cloud server. The telemetry control terminal transmits data with the network server via the serial port device, allowing signal transmission even in networks with only 2G or 3G coverage.
[0094] The software system includes an intelligent detection platform for river flow in uninhabited areas, which is installed on the central control center server 9.
[0095] The human-computer interaction interface of the central control server 9 includes: real-time status, trend analysis, historical records, system model, and system parameter settings.
[0096] The real-time status includes: the collected data is stored in the SQL Server database, including river flow velocity and river water level, and the real-time river flow rate of each station is calculated, as well as information on the battery, radar flow meter 4, radar water level gauge 5, and warning water level.
[0097] The trend analysis includes: displaying the real-time water level and river flow change trend of each station in real time; comparing the data collected in the initial stage and the experimental stage to determine whether the warning water level has been reached; and displaying alarm information on the page.
[0098] The historical records include: historical water level, historical flow velocity, historical flow rate data, station equipment fault information, and historical river water condition alarm information, and store historical trend data.
[0099] The system model includes: uninhabited river water monitoring stations and a central control server 9 marked on a map as points, with the alarm points marked on the map flashing and the distance to the alarm points displayed on the map.
[0100] The system parameter settings include: hardware system information, site information, and software system information.
[0101] Example 3:
[0102] This embodiment provides an intelligent detection system for river flow in uninhabited areas, which mainly consists of hardware and software components.
[0103] The hardware components include uprights and crossbars forming the basic support structure. The energy supply components include solar panels 3 for collecting solar energy, which are connected to a battery in a control box 6 mounted on the uprights and connected to a solar controller, thus forming a stable power supply system to provide power to the equipment in the system. Radar current meter 4 and radar water level gauge 5 are mounted on the crossbar 1. Even at a distance of more than 50 meters from the river surface, they can accurately collect real-time flow velocity, water level, and other status information of the river in the uninhabited area. The collected signals are then transmitted to the telemetry control terminal. During implementation, a rain cover 7 is installed at the front end of the crossbar 1. In addition to the battery and solar controller, the control box 6 also contains the telemetry control terminal. The telemetry control terminal receives measurement signals from the radar current meter 4 and radar water level gauge 5, and sends the signals to the uninhabited area river flow intelligent detection platform for data processing and alarm. Simultaneously, a local router 8 and a central control server 9 also participate in the data transmission link to ensure smooth and stable data transmission. The software component includes an intelligent monitoring platform for river flow in uninhabited areas. This platform receives data from remote telemetry control terminals, processes the data, and issues alarms based on predefined rules, thereby enabling intelligent control of river flow in uninhabited areas.
[0104] The main workflow for radar current meter 4 and radar water level gauge 5 to collect data above the water surface includes:
[0105] Upon system power-up, the system checks whether the battery is functioning properly, monitors real-time battery level, and device power consumption. The radar current meter 4 and radar water level gauge 5, mounted on crossbar 1, perform self-tests. If the self-test is successful, the system proceeds to the next step. If the self-test fails, the telemetry control terminal sends a fault report to the intelligent river flow monitoring platform in the uninhabited area. The system stops operating until the fault is resolved.
[0106] Radar flow meter 4 and radar level gauge 5 operate simultaneously. Extremely short microwave pulses are transmitted through the antenna system to the measured medium. The pulses are reflected by the medium surface and then re-received by the antenna system. The pulses propagate at the speed of light. The travel time from transmission to reception is directly proportional to the liquid level and flow rate in the container. The flow rate, liquid level, and other signals are transmitted to the telemetry control terminal via a signal cable.
[0107] The telemetry and control terminal transmits data to the network server via a serial port device. The serial port devices connected to the telemetry and control terminal include a radar current meter (4) and a radar water level gauge (5). The telemetry and control terminal can transmit signals even in networks with only 2G or 3G coverage. Bidirectional transparent data transmission from the serial port to the cloud server can be achieved through configuration software or AT commands.
[0108] The main workflow for the telemetry control terminal to send data remotely to the central control server 9 includes:
[0109] After collecting the acquired data, the telemetry and control terminal supports large serial port buffering and automatic conversion between Modbus RTU and Modbus TCP. For example, before a connection is established with the central control server 9, the serial port data can be buffered locally.
[0110] The collected data is transmitted to the central control server 9 platform via 2G, 3G, and 4G signals. Considering the security and confidentiality of information transmission, public IP addresses are used to route data packets from the Internet to the uninhabited river flow intelligent detection platform on the central control server 9 for data processing.
[0111] Install a router on the control center's computer client to analyze the received signals. Use port forwarding to enable data exchange between the public IP address and the internal network. Locate the "Port Forwarding" or "NAT Settings" option in the router's management interface and access the settings page. Enter the public IP address, public port, internal IP address, and internal port to be forwarded. Finally, click the "Save" or "Apply" button to complete the setup.
[0112] The main workflow for data reception and processing at the central control center includes:
[0113] Configure the server to ensure it is correctly set up and running, capable of accepting connections and data via the mapped public IP address and port. Based on the application requirements of the intelligent river flow monitoring platform in uninhabited areas, configure the server to listen on a specific port. On the internal network server, start a listening program to listen for connections coming in via the mapped public IP address and port. This is implemented programmatically using Python's socket library, Node.js's net or http module, etc.
[0114] The server receives and parses data. When external requests arrive via the mapped public IP address and port, the server receives these requests. It parses the data according to the content and format of the request. This includes parsing HTTP request headers, request bodies, JSON, XML, etc. Based on business requirements, the parsed data is then processed. This includes verifying data integrity, checking data validity, and executing specific business logic.
[0115] Calculate river flow:
[0116] A1. Use topographic surveying instruments to measure the elevation data of the river channel cross section, and construct a formula for calculating the cross-sectional area of the river channel based on the measured elevation data and the width of the river channel.
[0117] The measured elevation data is plotted to scale, with the horizontal axis representing the width of the river channel and the vertical axis representing the elevation. Connecting the measurement points forms the outline of the river channel cross-section.
[0118] The cross-section of the river channel is divided into several trapezoidal or rectangular calculation units. The area of each unit is calculated and summed to obtain the cross-sectional area of the river channel.
[0119] A2. Fit the functional relationship between water level and river width based on measurement data at different water levels, calculate the change in river width based on water level changes, and calculate the river cross-sectional area S1 at different water levels by combining the river cross-sectional area calculation formula and the change in river width.
[0120] In step A2, the river channel is measured multiple times at different water levels to obtain water level and river width values. A scatter plot is then drawn with water level as the horizontal axis and river width as the vertical axis.
[0121] By fitting a scatter plot, the functional relationship between water level and river width is obtained as W = aH + b; where W is the river width, H is the water level, and a and b are coefficients obtained through fitting.
[0122] Calculate the change in river width D W =W1-W0=a(H1-H0); where H1 is the current water level and H0 is the previous water level.
[0123] A3. Set up measurement points on the cross section of the river to measure the flow velocity and calculate the average flow velocity.
[0124] A4. Calculate the river flow rate: River flow rate Q = River cross-sectional area S1 × Average river velocity V.
[0125] Because the public network P is exposed to the public internet, special attention needs to be paid to security. Use a firewall to protect the server and data. Regularly update server software, operating systems, and applications to patch potential security vulnerabilities.
[0126] Monitor and log the server's performance and resource usage to ensure it can handle the expected load. Record all data entering and leaving the server, error messages, and other important events for troubleshooting and auditing.
[0127] The main workflow of the intelligent monitoring platform for river flow in uninhabited areas includes:
[0128] The intelligent river flow monitoring platform in uninhabited areas has been developed in an integrated manner, using a SQL Server database for data storage and possessing CRUD (Create, Read, Update, Delete) functionality. The human-computer interface includes: real-time status, trend analysis, historical records, system model, and system parameter settings.
[0129] Real-time status interface: The collected signals, including river flow velocity and water level, are stored in the database. After database calculation, the real-time river flow rate is obtained. The interface intuitively displays the real-time river water status of each station, as well as information such as whether the battery, sensors, and other equipment are working properly and whether the warning water level has been reached.
[0130] Trend analysis interface: This interface displays real-time annual, monthly, and daily trends in water levels and flow rates using line graphs. Data collected during the initial deployment phase is compared with data collected during the experimental phase to determine if warning levels have been reached, and alarm information is displayed on the page. Historical trend analysis also serves as reference data for new trends, continuously accumulating and updating to improve the system's accuracy and stability.
[0131] Historical data interface: Includes historical water level, flow velocity, flow rate data, station equipment fault information, historical river water condition alarm information, etc.
[0132] System Model Interface: To more intuitively display the station locations and alarm locations, the uninhabited river water monitoring stations and the central control center will be marked on the map as points, and the alarm points will be marked with a flashing function on the map, and the distance to the alarm points will be displayed on the map.
[0133] System parameter settings interface: includes device site information, system information, etc.
[0134] In summary, this solution addresses the problems existing in intelligent detection of river flow in uninhabited areas by proposing several technological innovations. For data processing and analysis, a distributed computing framework is used to process real-time data from a large number of stations in parallel. Simultaneously, real-time data analysis algorithms are optimized, and machine learning and other technologies are used for modeling and prediction to achieve efficient processing and accurate analysis. Regarding data transmission, multi-layered encryption technologies, such as SSL / TLS protocols, are used to ensure data security. Adaptive transmission technology for uninhabited areas is implemented through decryption, adjusting strategies according to network conditions to improve transmission stability. For system reliability and adaptability, a data caching and recovery mechanism is constructed. When the network is interrupted, the terminal caches data, and it is automatically transmitted after recovery. An intelligent power supply management system is designed, combining solar and battery power supply methods to intelligently regulate charging and discharging, and intelligently monitor battery power to ensure stable equipment operation. These technologies effectively solve the shortcomings of existing technologies, providing reliable guarantees for intelligent detection of river flow in uninhabited areas and assisting in timely decision-making and disaster early warning.
[0135] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for intelligent detection of river flow in uninhabited areas, characterized in that, Includes the following steps: S1. Data acquisition: Data on river water in uninhabited areas is acquired through radar current meter and radar water level meter. The radar current meter acquires the flow velocity data of river water in uninhabited areas, and the radar water level meter acquires the liquid level data of river water in uninhabited areas. S2. Data transmission: The collected river flow velocity and water level data are transmitted to the telemetry and control terminal. The telemetry and control terminal transmits the data packet containing the river flow velocity and water level data from the Internet to the uninhabited area river flow intelligent detection platform on the central control center server through the cellular network and using the public IP address. S3. Data reception: A listening program is started on the central control server to listen for connection requests coming in through the port corresponding to the public IP mapped by the local route. The listening program receives data sent by the telemetry control terminal through the established connection. S4. Data processing: The central control center server stores river flow velocity and water level data, and uses the pre-installed river flow calculation model of the uninhabited area river flow intelligent detection platform to calculate the real-time river flow.
2. The method for intelligent detection of river flow in uninhabited areas according to claim 1, characterized in that, The river flow calculation model includes: A1. Use topographic surveying instruments to measure the elevation data of the river channel cross section, and construct a formula for calculating the cross-sectional area of the river channel based on the measured elevation data and the width of the river channel. A2. Fit the functional relationship between water level and river width based on the measurement data at different water levels, calculate the change in river width based on the change in water level, and calculate the cross-sectional area S1 of the river at different water levels by combining the formula for calculating the cross-sectional area of the river and the change in the river width. A3. Set up measurement points in the cross-section of the river to measure the flow velocity and calculate the average flow velocity; A4. Calculate the river flow rate: River flow rate Q = River cross-sectional area S1 × Average river velocity V.
3. The method for intelligent detection of river flow in uninhabited areas according to claim 2, characterized in that, In step A1, the measured elevation data is plotted to scale, with the horizontal axis representing the width of the river channel and the vertical axis representing the elevation. The contour lines of the river channel cross section are formed by connecting the measurement points. The cross-section of the river channel is divided into several trapezoidal or rectangular calculation units. The area of each unit is calculated and summed to obtain the cross-sectional area of the river channel.
4. The method for intelligent detection of river flow in uninhabited areas according to claim 2, characterized in that, In step A2, the river channel is measured multiple times at different water levels to obtain water level and river width values. A scatter plot is then drawn with water level as the abscissa and river width as the ordinate. By fitting a scatter plot, the functional relationship between water level and river width is obtained as W = aH + b; where W is the river width, H is the water level, and a and b are coefficients obtained through fitting. Calculate the change in river width D W =W1-W0=a(H1-H0); where H1 is the current water level and H0 is the previous water level.
5. The method for intelligent detection of river flow in uninhabited areas according to claim 2, characterized in that, This also includes calibrating the river flow rate: Using a flow velocity meter, multiple river flow velocities were measured. These manually measured accurate flow velocity data were then compared and verified with the flow velocity measured by the sensor to confirm the accuracy of the flow velocity measurement.
6. The method for intelligent detection of river flow in uninhabited areas according to claim 1, characterized in that, The telemetry and control terminal includes a local memory, which is used to cache the collected river flow rate and liquid level data in the local memory before establishing a connection with the central control server or when the connection with the public network is interrupted. After the network is reconnected, the telemetry and control terminal transmits the cached data to the central control server.
7. The method for intelligent detection of river flow in uninhabited areas according to claim 1, characterized in that, Monitor the performance and resource usage of the telemetry control terminal to ensure it can handle the expected load; and log the data, including data entering and leaving the server, error messages, and preset type events, for troubleshooting and auditing.
8. The method for intelligent detection of river flow in uninhabited areas according to claim 1, characterized in that, The local router connected to the central control center server is used to parse the data received by the central control center server and to use port mapping to realize data reception and exchange between the public network IP and the internal network. The data reception and exchange includes completing the corresponding settings of the public network IP address, public network port, internal network IP address and internal network port as needed to establish a data communication channel between the public network and the internal network.
9. An intelligent system for detecting river flow in uninhabited areas, characterized in that, include: Detection components: radar current meter and radar water level gauge; Power components: solar panels, batteries, control box, and solar controller; Network components: Control terminal; Server components: a central control server and a local router, wherein the central control server is equipped with an intelligent detection platform for river flow in uninhabited areas; The radar current meter and radar water level gauge are installed on a horizontal bar that is placed horizontally above the river surface via a column. The solar panel and control box are installed on the column. The battery, solar controller, telemetry control terminal and battery are installed inside the control box. The central control server is equipped with a local router. The telemetry control terminal is configured to cache the collected river flow rate and liquid level data in local storage before establishing a connection with the central control server, and supports automatic conversion between Modbus RTU and Modbus TCP protocols. The central control center server and local router are configured to transmit data packets containing river flow rate and liquid level data via public IP routing through the cellular network, and to achieve bidirectional transparent data transmission from the serial port to the cloud server through configuration software or AT commands.
10. The intelligent detection system for river flow in uninhabited areas according to claim 9, characterized in that, The human-computer interaction interface of the central control center server includes: real-time status, trend analysis, historical records, system model, and system parameter settings; The real-time status includes: the collected data is stored in the SQL Server database, including river flow velocity and river water level, and the real-time river flow rate of each station is calculated, as well as information on the battery, radar flow meter, radar water level gauge and warning water level. The trend analysis includes: displaying the real-time water level and river flow change trend of each station in real time; comparing the data collected in the initial stage and the experimental stage to determine whether the warning water level has been reached; and displaying alarm information on the page. The historical records include: historical water level, historical flow velocity, historical flow rate data, station equipment fault information, and historical river water condition alarm information, and store historical trend data; The system model includes: uninhabited river water monitoring stations and a central control server marked on a map as points, with the alarm points marked on the map flashing and the distance to the alarm points displayed on the map; The system parameter settings include: hardware system information, site information, and software system information.
