A method for dynamic correction and response of small and medium-sized basin mountain flood early warning critical rainfall
By using multimodal intelligent agents to collaboratively process multi-source data and dynamically correct the critical rainfall threshold in small and medium-sized watersheds in mountainous areas, the problem of insufficient data utilization and poor adaptability of fixed thresholds in flood warning in mountainous areas has been solved, and more accurate and timely flood warning has been achieved.
Patent Information
- Application Number
- CN202610804517.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-05
- Publication Date
- 2026-11-24
AI Technical Summary
Existing technologies are insufficient for dynamically responding to real-time changes in complex underlying surfaces during flood warnings in small and medium-sized watersheds in mountainous areas, leading to missed or false alarms. Furthermore, they lack effective utilization of multimodal heterogeneous information for parameter correction.
By collaboratively processing data such as river monitoring videos, UAV images, multispectral satellite images, and manual patrol logs using multimodal intelligent agents, a multimodal vector database is constructed. Visual analysis agents are used to extract flow potential features, remote sensing analysis agents are used to extract soil saturation, and semantic analysis agents are used to identify local hidden danger features, generating dynamic critical rainfall thresholds and issuing early warnings.
It improves the accuracy and timeliness of flood warning in mountainous areas, solves the problems of rigid static thresholds and insufficient data utilization in traditional methods, and provides a closed-loop flood warning solution paradigm.
Smart Images

Figure CN123159935A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of flash flood disaster prevention, hydrological forecasting and meteorological early warning technology, specifically involving a dynamic correction and response method for critical rainfall for flash flood early warning in small and medium-sized watersheds. Background Technology
[0002] Typically, small and medium-sized watersheds in mountainous areas are numerous, have complex topography, and steep river gradients, leading to flood formation and evolution processes that differ significantly from those of plain rivers. Mountain floods are characterized by their sudden onset, short lead times, and rapid confluence; rainfall-runoff time is usually only tens of minutes to several hours, and the flood hydrograph exhibits a typical sharp, slender single-peak characteristic with extremely rapid rise and fall of the flood peak. Furthermore, influenced by the high mountain and canyon topography and geological conditions, floods are often accompanied by large amounts of silt and rocks, resulting in extremely destructive force. Simultaneously, because the soil moisture level in the early stages of the watershed significantly affects the rainfall-runoff process, the response of mountain floods to rainfall exhibits highly nonlinear characteristics.
[0003] Currently, the critical rainfall method is the most widely used flood warning method. Although it has the advantage of being simple and easy to implement, it still faces many technical limitations in practical applications. For example, this method usually uses a fixed rainfall threshold, which is difficult to dynamically respond to real-time changes in the complex underlying surface in mountainous areas. Especially when the soil moisture content is saturated in the early stage and the runoff generation mechanism changes abruptly, even a small increase in rainfall may trigger floods exceeding the warning level. Static thresholds are difficult to capture the nonlinear transition of this runoff generation mechanism, which can easily lead to missed reports. Conversely, under soil drought conditions, static thresholds may cause false alarms. In addition, the physical monitoring stations in mountainous areas are sparsely deployed, and the high-cost soil moisture monitoring cannot cover the entire area, resulting in a lack of direct data support for key parameters reflecting soil moisture status. Although the existing flood control system has accumulated a large amount of unstructured data such as river monitoring videos and patrol logs, which contain rich information on water conditions and soil moisture, the lack of effective semantic understanding and visual analysis means that it is difficult to convert them into quantifiable model inputs, and thus cannot effectively compensate for the lack of spatiotemporal coverage of physical monitoring data.
[0004] In summary, the existing technology system has significant shortcomings in dealing with the sparsity of physical monitoring data and the nonlinear dynamic changes in the runoff generation environment, making it difficult to fully utilize multimodal heterogeneous information to perform real-time correction and parameter compensation of the underlying surface state. Summary of the Invention
[0005] The purpose of this invention is to provide a method for dynamic correction and response of critical rainfall for flash flood warning in small and medium-sized watersheds based on multimodal intelligent agent collaboration.
[0006] Existing technical solutions struggle to balance the spatiotemporal sparsity of physical monitoring data with the complex nonlinearity of watershed runoff generation environments, failing to effectively utilize massive amounts of unstructured information for real-time correction of underlying surface conditions. There is an urgent need for a novel method capable of deep semantic-physical fusion of multimodal heterogeneous data. This method should adhere to the physical laws of hydrological runoff generation while overcoming the perception blind spots and semantic understanding barriers of traditional single-point monitoring, enabling adaptive dynamic correction of critical rainfall thresholds and efficient, accurate early warning in small and medium-sized watersheds in mountainous areas.
[0007] This invention enables semantic-physical deep fusion of multimodal heterogeneous data. While adhering to the physical laws of hydrological runoff generation, it breaks through the perception blind spots and semantic understanding barriers of traditional single-point monitoring, realizes adaptive dynamic correction of critical rainfall thresholds in small and medium-sized watersheds in mountainous areas, improves the accuracy and timeliness of flood warnings, and solves the problems of insufficient utilization of multi-source data and poor adaptability of fixed thresholds in existing mountain flood warning technologies.
[0008] To achieve the above objectives, the technical solution of the present invention is as follows.
[0009] This invention provides a method for dynamic correction and response of critical rainfall for flash flood warning in small and medium-sized watersheds, comprising the following steps: Multimodal data is accessed and preprocessed, and a multimodal vector database is constructed under a unified spatiotemporal reference. The multimodal data includes dynamic visual flow data of river monitoring videos and UAV images, space-based remote sensing data of multispectral satellite images, and unstructured text data of manual inspection logs and historical disaster investigation reports.
[0010] Based on a multimodal vector database, a visual analysis agent is used to extract flow potential features from river monitoring videos and, combined with hydrological monitoring data, to invert the deep soil saturation in mountainous watersheds. A remote sensing analysis agent is used to process UAV imagery and multispectral satellite imagery to extract normalized water index and temperature-vegetation-drought index, constructing a spatial distribution map of shallow soil saturation in mountainous watersheds. Based on the inversion results of the visual and remote sensing analysis agents, a three-dimensional water body perception system for the watershed is constructed.
[0011] A semantic analysis agent is used to perform natural language processing on manual inspection logs to identify and extract local hazard features in satellite and camera blind spots, and quantify them as local risk enhancement factors. Using the local hazard features as ground truth, the shallow soil saturation retrieved by the remote sensing analysis agent is biased and corrected.
[0012] The corrected shallow soil saturation, deep soil saturation, and local risk enhancement factors are fused to construct a comprehensive environmental state index. Based on the comprehensive environmental state index, the static critical rainfall benchmark of the watershed is nonlinearly corrected to generate the dynamic critical rainfall threshold at the current moment.
[0013] Real-time rainfall data and short-term forecast data are used as the actual cumulative rainfall, and compared with the dynamic critical rainfall threshold. When the actual cumulative rainfall exceeds the dynamic critical rainfall threshold, a graded early warning is triggered, and the decision-making agent automatically generates a natural language early warning report containing a disaster probability assessment and emergency response suggestions.
[0014] The preferred method for constructing a multimodal vector database is as follows: A layered and decoupled data access architecture is established, and multimodal data is accessed as driving data. An adaptive multi-scene visual enhancement module is configured to perform scene recognition on the multimodal data, and based on the recognized scene, to enhance the image quality and extract features from the dynamic visual stream data, to perform spatiotemporal interpolation and completion on the space-based remote sensing data, and to perform standardization cleaning and word segmentation encoding on the unstructured text data to obtain preprocessed multimodal data. Using temporal resampling and spatial interpolation algorithms, the preprocessed multimodal data is aligned under a unified spatiotemporal reference to form standardized tensor data, and a multimodal vector database is constructed under the unified spatiotemporal reference.
[0015] Preferably, the method for scene recognition of the dynamic visual stream data is as follows: When the identified scene is at night or in a low-light environment, the low-light enhancement algorithm is invoked to dynamically stretch the illuminance component of the image in the dynamic visual stream data to restore the hydrological details in the dark areas; or, when the identified scene is in a heavy rain or rain and fog environment, the image restoration network is switched to perform joint filtering processing of rain removal and fog removal to filter out rain line noise and atmospheric scattering interference.
[0016] The preferred formula for calculating the temperature-vegetation drought index is: (1) in, TVDI Temperature and vegetation drought index; T s It refers to the surface temperature; T s_min The wet edge temperature corresponds to the vegetation index conditions. T s_max This represents the dry edge temperature under the corresponding vegetation index conditions.
[0017] The preferred formula for calculating shallow soil saturation is: (2) in, TVDI Temperature and vegetation drought index; S remote This represents the saturation level of the shallow soil.
[0018] The preferred inversion analysis method for visual analysis agents is as follows: A visual analytics agent was used to extract flow potential features from river monitoring videos. Combined with hydrological monitoring data, the baseflow component in the real-time baseflow was separated to obtain a real-time baseflow characteristic curve. By comparing the real-time baseflow characteristic curve with historical baseflow characteristic curves, the deep soil saturation in the vertical direction of the mountainous watershed was retrieved. The formula for calculating the separated real-time baseflow is: (3) in, Q base ( t (This refers to the current time) t The base flow rate; Q base ( t -1) is t The base current flow rate at time -1; Q total ( t (This refers to the current time) t The measured total runoff; Q total ( t -1) is t The measured total runoff at time -1; α These are the filter parameters.
[0019] A preferred method for inverting the deep soil saturation in the vertical direction in mountainous watersheds is: A digital filtering algorithm is used to extract the baseflow component representing groundwater recharge from the measured total runoff data to obtain real-time baseflow data. Based on the real-time baseflow data and the historical multi-year average baseflow data for the same period, a standardized dynamic baseflow index is obtained. A nonlinear mapping model is constructed to map the dynamic baseflow index to deep soil saturation, which characterizes the saturation level of deep soil and groundwater.
[0020] The nonlinear mapping model is: (4) in, S deep This represents the current deep soil saturation obtained through inversion. S max This represents the maximum soil saturation capacity of a mountainous watershed. BI t For the current moment t The base current index; k This is the saturation sensitivity coefficient; μ This is the baseline bias coefficient.
[0021] The formula for calculating the dynamic baseflow index at the current moment is: (5) in, BI t For the current moment t The dynamic base current index; Q base ( t (This refers to the current time) t The base flow rate; It represents the multi-year average base current value for each month of the year.
[0022] Preferably, the semantic analysis agent is configured with a risk feature knowledge graph for flood control in mountainous areas. The knowledge graph is used to map non-standardized spoken descriptions into standard risk entities. The standard risk entities include at least water situation characterization entities, engineering hazard entities, and geological sign entities.
[0023] Preferably, the quantification process of the local risk enhancement factor includes: A pre-defined risk intensity mapping table is used to assign basic intensity values to different categories of risk entities; the patrol logs with timestamps and geographic tags within the current time window are traversed, and the local risk enhancement factor is calculated using the following formula: ;in, Risk local It is a factor that enhances local risk; n The number of risky entities identified; I i For the first i The basic strength value of each entity; W i The confidence weight is based on the reliability of the patrol information source.
[0024] The preferred formula for bias correction of shallow soil saturation retrieved by the remote sensing analysis agent is as follows: (6) in, S corrected These are weighted correction parameters for soil saturation parameters; S remote This represents the saturation level of the shallow soil. β This is the correction strength coefficient; Risk local It is a factor that enhances local risk; Risk max This represents the theoretical maximum risk value.
[0025] The formula for calculating the comprehensive environmental state index is as follows: (7) in, ESI It is a comprehensive environmental status index;Scorrected This is the corrected shallow soil saturation. Sdeep This represents the current deep soil saturation obtained through inversion. Risklocal It is a factor that enhances local risk; Riskmax This represents the theoretical maximum risk value. These are the adaptive weighting coefficients for each mode.
[0026] The formula for calculating the dynamic critical rainfall threshold at the current moment is: (8) in, Idynamic This represents the dynamic critical rainfall threshold at the current moment. Ibase This serves as the static critical rainfall benchmark for the watershed. This is a correction factor.
[0027] Correction coefficient It follows the piecewise nonlinear response mechanism: (9) in, α This is the drought gain coefficient; β This is the wetting attenuation coefficient; γ It is a nonlinear response factor.
[0028] The present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the aforementioned method for dynamic correction and response of critical rainfall for flash flood warning in small and medium-sized watersheds.
[0029] The present invention also provides a computer-readable storage medium storing a computer program, which, when executed, implements the method for dynamic correction and response of critical rainfall for flash flood warning in small and medium-sized watersheds.
[0030] The beneficial effects of this invention are: 1. This invention addresses the insufficient dynamic applicability of critical rainfall in mountainous watersheds by employing a multimodal large-scale intelligent agent to collaboratively perceive multi-source heterogeneous data. It constructs a dynamic computational mechanism for critical rainfall based on a "physical baseline + intelligent correction," and finally, a generative large-scale model generates a multi-dimensional response scheme, forming a closed-loop paradigm for flood early warning in mountainous areas. Its advantages are: First, the technical bottleneck of insufficient utilization of unstructured data was overcome. Addressing the objective challenge of sparse deployment of hydrological and rainfall stations and difficulty in obtaining key hydrological information due to complex mountainous terrain, a three-dimensional perception system based on multimodal large-scale intelligent agents was constructed. Through visual and semantic intelligent agents, unstructured data such as video and text are transformed into quantitative parameters that the model can directly calculate, greatly expanding the breadth and depth of perception.
[0031] Secondly, by leveraging a dynamic correction mechanism based on physical benchmarks and multi-source state perception, the problem of rigid static critical rainfall thresholds is solved. This facilitates the system's response to rapidly changing underlying surfaces. This modular design with bidirectional correction makes the early warning model more flexible and able to respond promptly to abrupt changes in the watershed's state from "drought" to "wet".
[0032] Furthermore, by leveraging the semantic understanding and generation capabilities of large language models, natural language attribution reports are generated based on thought chain reasoning, solving the problem of traditional black box models that "only issue warnings for simple risk levels and only provide alarms without explanations," thus assisting commanders in making rapid decisions. Attached Figure Description
[0033] Figure 1 This is a schematic diagram of the overall logical framework of the dynamic correction and response method for critical rainfall in flash flood warnings in small and medium-sized watersheds according to an embodiment of the present invention.
[0034] Figure 2 This is an architecture diagram of multi-agent collaboration in an embodiment of the present invention. Detailed Implementation
[0035] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without inventive effort are within the scope of protection of this invention.
[0036] Figure 1 This is a schematic diagram of the overall logical framework of the dynamic correction and response method for critical rainfall in flash flood warnings in small and medium-sized watersheds according to an embodiment of the present invention. Figure 1 It demonstrates the connection between data and intelligent agents, as well as the structural design from data to the implementation of related functions.
[0037] Figure 2 This is an architecture diagram of multi-agent collaboration in an embodiment of the present invention. Figure 2 It demonstrates a three-layer architecture consisting of intelligent agent programming, dedicated tools and algorithm libraries, and data, as well as the collaborative interaction logic of the three intelligent agents—vision, semantics, and decision-making—calling the underlying toolchain and reading multimodal data and knowledge graphs.
[0038] The system architecture upon which the method of this invention is based can be logically divided into a multimodal data perception layer, an intelligent agent collaborative inversion layer, and a dynamic threshold calculation layer. The data perception layer is responsible for accessing multidimensional "air-ground-human" data, including satellite remote sensing, ground monitoring, and manual logs. The collaborative inversion layer utilizes the complementary characteristics of different modal data at different spatiotemporal scales to quantitatively assess the risks of shallow soil, deep soil, and micro-geomorphology, respectively. The dynamic threshold calculation layer, based on the above assessment results, performs nonlinear corrections to the static critical rainfall benchmark. The implementation details of each step will be specifically described below according to the logical flow of data processing.
[0039] Multimodal refers to the ability of a system in the fields of artificial intelligence and data processing to simultaneously process, understand, and fuse data resources of two or more different modalities. Common modalities include text, images, audio, video, and sensor time-series data.
[0040] Visual intelligent agents refer to the use of multimodal large models, such as GPT-4V or similar models, as task planners to parse fixed tasks such as "extracting river flow velocity and water level from video streams" and autonomously schedule traditional computer vision algorithm tools to execute specific tasks, thus realizing a bridge connection between the semantic intent of the large model and the pixel calculation of the visual algorithm.
[0041] A semantic agent is an intelligent processing unit based on a large language model with built-in domain knowledge. In this invention, the semantic agent utilizes the deep semantic understanding capabilities of LLM to extract entities from unstructured text with zero or few samples. It leverages the contextual association capabilities of LLM to map textual descriptions such as "turbid water" into standard risk parameters and acts as a "logic checker" to correct the truth of remote sensing data.
[0042] A decision-making agent refers to a decision-making hub constructed using the reasoning capabilities of a large language model. In this invention, the decision-making agent not only triggers alarms based on numerical thresholds, but also utilizes the generative capabilities of LLM to transform complex numerical calculation processes, such as changes in the Environmental State Index (ESI), into natural language logical chains. Through prompt word engineering, it can generate interpretable reports containing causal analysis and defense recommendations, rather than simply outputting a warning level.
[0043] Existing critical rainfall-based early warning methods mainly rely on static fixed thresholds or simple linear corrections based on antecedent rainfall indices. However, the runoff generation mechanism in small and medium-sized watersheds in mountainous areas exhibits highly nonlinear characteristics and is significantly affected by the antecedent soil moisture level. Under highly saturated soil conditions, the runoff generation mechanism is prone to abrupt changes, where even small increments of rainfall can induce floods exceeding warning levels. Fixed threshold systems struggle to respond to this runoff generation and confluence mechanism in real time, leading to frequent missed alarms under conditions of continuous rainfall or high baseflow. Conversely, false alarms are easily triggered under dry soil conditions. Therefore, there is an urgent need for a technology that can capture dynamic changes in soil moisture content in real time and nonlinearly correct the critical rainfall threshold accordingly.
[0044] Meanwhile, the complex terrain of mountainous areas and the sparse deployment and maintenance of traditional rain gauges, water level stations, and soil moisture monitoring stations make it difficult to directly obtain high spatiotemporal resolution key underlying surface parameters, such as deep / shallow soil saturation, across the entire watershed through physical stations, creating monitoring blind spots. At the same time, although the flood control system has accumulated massive amounts of river monitoring videos and manual patrol logs, existing technologies lack cross-modal semantic understanding and visual analysis capabilities, making it impossible to transform this unstructured data into input parameters that can be quantified and calculated by models. This results in the inability to effectively utilize existing data resources for parameter correction and accuracy compensation of early warning models when physical station data is scarce.
[0045] The specific embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
[0046] A method for dynamic correction and response of critical rainfall for flash flood warning in small and medium-sized watersheds includes the following steps: Step S1: Access and preprocess multimodal data, and construct a multimodal vector database under a unified spatiotemporal reference; the multimodal data includes dynamic visual flow data of river monitoring videos and UAV images, space-based remote sensing data of multispectral satellite images, and unstructured text data of manual inspection logs and historical disaster investigation reports.
[0047] The method for constructing a multimodal vector database is as follows: S1.1 Establish a layered and decoupled data access architecture, and access multimodal data as driving data.
[0048] In this embodiment of the invention, the data access architecture includes a heterogeneous data interface, through which multimodal data is accessed as driving data. The multimodal data includes: dynamic visual stream data from river monitoring videos and UAV imagery, used to carry high-frequency spatiotemporal information; space-based remote sensing data from multispectral satellite imagery, used to provide watershed-scale surface spectral characteristics; and unstructured text data from manual inspection logs and historical disaster investigation reports. In this embodiment, the multispectral satellite imagery can be selected from the Sentinel series or the Landsat series.
[0049] S1.2, Configure an adaptive multi-scene visual enhancement module to perform scene recognition on the multimodal data, and according to the recognized scene, perform image quality enhancement and feature extraction on the dynamic visual stream data, perform spatiotemporal interpolation completion on the space-based remote sensing data, and perform standardization cleaning and word segmentation encoding on the unstructured text data to obtain preprocessed multimodal data.
[0050] In this embodiment of the invention, the adaptive multi-scene visual enhancement module configured in the system is used to address the visual degradation problem under complex weather conditions in mountainous areas. For example, in a specific implementation, the system first performs scene recognition on the input dynamic visual stream data. The method for performing scene recognition on the dynamic visual stream data is as follows: When the identified scene is at night or in a low-light environment, the illuminance component of the image in the dynamic visual stream data is dynamically stretched to restore the hydrological details in the dark areas; or, when the identified scene is in a heavy rain or rain and fog environment, joint filtering processing for de-raining and de-fogging is performed to filter out rain line noise and atmospheric scattering interference.
[0051] The dynamic stretching of the illumination component of the image in the dynamic visual stream data is performed by calling a low-light enhancement algorithm, such as an algorithm based on Retinex theory or a zero-reference depth curve estimation network. The joint filtering process for deraining and dehazing is performed by switching to an image restoration network, such as a multi-scale convolutional neural network.
[0052] The method for standardizing, cleaning, and encoding the unstructured text data is as follows: use a natural language processing module to standardize, clean, and encode the unstructured text data.
[0053] S1.3 utilizes temporal resampling and spatial interpolation algorithms to align preprocessed multimodal data under a unified spatiotemporal reference, forming standardized tensor data, and constructing a multimodal vector database under the unified spatiotemporal reference.
[0054] In this embodiment of the invention, the system constructs a unified spatiotemporal index vector database, uses temporal resampling technology to unify the temporal granularity of the preprocessed multimodal data, uses spatial interpolation algorithms to unify the spatial resolution of the preprocessed multimodal data, aligns the processed multimodal data under a unified spatiotemporal reference to form standardized tensor data, and constructs a multimodal vector database under the unified spatiotemporal reference for subsequent use by intelligent agents.
[0055] In this embodiment of the invention, step S1 is mainly used to construct a multimodal data perception and preprocessing environment for mountainous watersheds. For the accessed multimodal data, such as monitoring video streams of river cross-sections, real-time monitoring data from hydrological stations, multi-source remote sensing / UAV imagery of the watershed, and unstructured text data such as manual inspection logs, the multimodal data is preprocessed, including image quality enhancement and feature extraction for video data, spatiotemporal interpolation for remote sensing images, and standardized cleaning of text data. Based on a unified time reference, various types of data are aligned, and a multimodal vector database adapted for large-scale intelligent agents is constructed to provide standardized data input for subsequent analysis.
[0056] Step S2: Based on the multimodal vector database constructed in Step 1, a visual analysis agent is used to extract flow potential features from river monitoring videos, and combined with hydrological monitoring data, the deep soil saturation and groundwater saturation of the mountainous watershed are retrieved. A remote sensing analysis agent is used to process UAV images and multispectral satellite images to extract normalized water index and temperature-vegetation-drought index, and to construct a spatial distribution map of shallow soil moisture in the mountainous watershed. Based on the retrieval results of the visual analysis agent and the remote sensing analysis agent, a three-dimensional water body perception system for the watershed is constructed.
[0057] In this embodiment of the invention, deep soil assessment and shallow soil assessment are performed based on a multimodal intelligent agent. Specifically, for deep soil assessment, a visual analysis intelligent agent is used to extract flow potential features from river monitoring videos and, combined with hydrological monitoring data, separates the baseflow component in the real-time baseflow to obtain a real-time baseflow characteristic curve. By comparing the real-time baseflow characteristic curve with historical baseflow characteristic curves, the deep soil saturation and groundwater saturation in the mountainous watershed are retrieved in the vertical direction. For shallow soil assessment, a remote sensing analysis intelligent agent is used to process UAV imagery and multispectral satellite imagery to extract the normalized water index and temperature-vegetation-drought index, constructing a spatial distribution map of shallow soil moisture levels in the mountainous watershed at the horizontal level. Finally, based on the retrieval results of the visual analysis intelligent agent and the remote sensing analysis intelligent agent, spatial decoupling and logical complementarity are performed to construct a three-dimensional water body perception system for the watershed.
[0058] Step S2 establishes a heterogeneous intelligent agent collaborative observation mechanism, spatially decoupling and logically complementing the vertical inversion of deep soil and groundwater conditions with the horizontal monitoring of shallow soil saturation. Specifically, in the space-based sensing dimension, a remote sensing analysis agent is configured to automatically acquire the most recent temporal Sentinel-2 or Landsat series multispectral satellite images and thermal infrared remote sensing images, using a spectral index model to quantify the shallow surface wet and dry state. The system first calculates the normalized differential water index using the green band and near-infrared band, denoted as... NDWI This is used to extract the boundaries of open water bodies; furthermore, in order to quantify soil moisture stress, a feature space of surface temperature and vegetation index is constructed, and the temperature-vegetation drought index is calculated.
[0059] The formula for calculating the temperature-vegetation drought index is: (1) in, TVDI Temperature and vegetation drought index; T s It refers to the surface temperature; T s_min The wet edge temperature corresponds to the vegetation index conditions. T s_max This refers to the dry edge temperature under the corresponding vegetation index conditions; T s_min and T s_max All are determined by the linear fitting equation of the feature space scatter plot. NDVI This represents the vegetation index.
[0060] Based on this, in order to convert the temperature-vegetation drought index, which represents the "drought degree," into the "shallow soil saturation" index required for subsequent steps, the system performs linear inversion normalization to calculate the shallow soil saturation. The formula for calculating shallow soil saturation is: ;in, TVDI Temperature and vegetation drought index; S remote This represents the saturation level of the shallow soil.
[0061] By using the formula for calculating shallow soil saturation, the temperature-vegetation drought index, which ranges from [0, 1], is mapped to shallow soil saturation. TVDI When approaching 0, S remote Approaching 1; when TVDI approaches 1, S remote Approaching 0; among which, TVDI Approaching 0 indicates a wet edge. A value close to 1 indicates high humidity; TVDI Approaching 1 indicates a dry edge. Sremote Approaching 0 indicates extreme drought; thus ensuring consistency with the positive driving logic of the Environmental State Index (ESI) in step S4.
[0062] To address data loss caused by cloud cover, the system introduces a Generative Adversarial Network (GAN) as a completer to extract texture features and heat distribution patterns of spatiotemporally neighboring pixels, thus improving the data integrity of occluded areas. S remote The values are used for texture synthesis and reconstruction to generate a spatial distribution map of shallow soil saturation that is continuously distributed in the mountainous watershed.
[0063] To capture deep hydrological conditions, the visual analytics agent utilizes the Lyne-Hollick digital filtering algorithm to extract the baseflow component representing groundwater recharge from the total runoff data. The inversion analysis method of the visual analytics agent is as follows: A visual analytics agent was used to extract flow potential features from river monitoring videos. Combined with hydrological monitoring data, the baseflow component in the real-time baseflow was separated to obtain a real-time baseflow characteristic curve. By comparing the real-time baseflow characteristic curve with historical baseflow characteristic curves, the deep soil saturation and groundwater saturation in the vertical direction of the mountainous watershed were retrieved. The formula for calculating the separated real-time baseflow is: (2) in, Q base ( t (This refers to the current time) t The base flow rate; Q base ( t -1) is t The base current flow rate at time -1; Q total ( t (This refers to the current time) t The measured total runoff; Q total ( t -1) is t The measured total runoff at time -1; α These are the filter parameters. α The value is usually between 0.9 and 0.95, and in this embodiment, the value is 0.92.
[0064] Based on the calculated real-time baseflow, the system further calculates the baseflow index, which is the ratio of the current baseflow to the historical multi-year average baseflow for the same period. First, multi-year historical hydrological data for a mountainous watershed in the example are selected to calculate the multi-year average baseflow value for each month of the year. This serves as the "benchmark" for that time window. The dynamic baseflow index at the current moment is then calculated, and the dynamic baseflow index from the previous moment is used to eliminate the background differences between seasonal dry and wet seasons, thus standardizing the reflection of the current groundwater level anomaly.
[0065] In this embodiment of the invention, the method for determining the deep soil saturation in the vertical direction of the Yanshan watershed is as follows: A digital filtering algorithm is used to extract the baseflow component representing groundwater recharge from the measured total runoff data to obtain real-time baseflow data; a standardized dynamic baseflow index is obtained based on the real-time baseflow data and the historical multi-year average baseflow data for the same period; a nonlinear mapping model is constructed, and the dynamic baseflow index is mapped to deep soil saturation, which characterizes the degree of deep soil and groundwater saturation, using the nonlinear mapping model.
[0066] The formula for calculating the dynamic baseflow index at the current moment is: (3) in, BI t For the current moment t The dynamic base current index; Q base ( t (This refers to the current time) t The base flow rate; It represents the multi-year average base current value for each month of the year.
[0067] Next, based on the soil's physical properties, the process of soil drying to saturation is not linear. Therefore, this embodiment abandons traditional linear regression and constructs a nonlinear mapping model based on the Logistic equation: ;in, S deep The value is the current deep soil saturation obtained from the inversion, ranging from 0 to 1; S max The maximum soil saturation capacity of the mountainous watershed is usually normalized to 1.0; BI t For the current moment t The base current index; k The saturation sensitivity coefficient is used to control the steepness of the curve and reflects the response speed of the soil pore structure in the mountainous watershed to changes in groundwater level. μ This is the baseline bias coefficient, representing the baseflow index level when the soil reaches 50% saturation. Parameter k Value and μ The value was calibrated in reverse using historical flash flood disaster samples.
[0068] Specifically, historically occurring "saturated runoff" type floods (i.e., those with relatively small rainfall but large flood volume) were selected, and their corresponding baseflow indices were marked as having a saturation level approaching 1.0. Baseflow indices were calculated based on baseflows after prolonged droughts, and these were marked as having a saturation level approaching 0. The least squares method was used to fit the above historical sample points to calculate the optimal k and μ values that best suit the current underlying surface conditions of the watershed.
[0069] Step S3: Use a semantic analysis agent to perform natural language processing on the manual inspection logs, identify and extract local hidden danger features in the blind spots of satellites and cameras, and quantify them into local risk enhancement factors; use the local hidden danger features as ground truth to correct the bias of the shallow soil saturation retrieved by the remote sensing analysis agent.
[0070] In this embodiment of the invention, step 3 mainly involves the extraction and parameter correction of local hidden danger features based on semantic understanding. Specifically, a semantic analysis agent is used to perform natural language processing on the manual inspection logs to identify and extract local hidden danger features within the blind spots of satellites and cameras, including features such as seepage in mountains, water turbidity, and water blockage by bridges and culverts. These local hidden danger features are quantified into local risk enhancement factors, and the on-site description is used as the ground truth to perform real-time deviation correction on the shallow soil saturation retrieved by the remote sensing analysis agent in step S2, in order to eliminate the timeliness error caused by the satellite revisit cycle.
[0071] For example, a mechanism for capturing micro-risks and verifying ground truth based on semantic-aware intelligent agents is established. Step S3 constructs a semantic analysis intelligent agent based on a large language model, which aims to transform unstructured patrol texts and historical disaster investigation reports into machine-understandable quantitative risk parameters, and thereby construct a feedback loop for conflict resolution against machine perception bias.
[0072] In practical implementation, the system first pre-configures a risk feature knowledge graph for flood control in mountainous areas. This knowledge graph maps non-standardized colloquial descriptions to standard risk entities, covering water condition characteristics such as "turbid river water" and "sudden rise in water level"; engineering hazards such as "bridge and culvert obstruction" and "drainage ditch siltation"; and geological signs such as "slope seepage". Based on this, a semantic analysis agent is configured to perform entity recognition on manual inspection logs with timestamps and geographic tags, automatically capturing and extracting the aforementioned high-risk hazard features.
[0073] To transform qualitative textual descriptions into quantitative model inputs, the system introduces a risk intensity mapping table, assigning preset base intensity values to different categories of risk entities. For example, the intensity value for "turbid river water," representing upstream flow, is set to 0.8, while the intensity value for "bridge and culvert obstruction," representing flood control obstruction, is set to 0.6. The agent iterates through all inspection texts within the current time window and uses a formula to calculate the local risk enhancement factor for that area.
[0074] The formula for calculating the local risk enhancement factor is: (4) in, Risk local It is a factor that enhances local risk; n The number of risky entities identified; I i For the first i The basic strength value of each entity; W i The confidence weight is based on the reliability of the patrol information source.
[0075] Furthermore, to ensure the robustness of the sensing system, a "text-first" ground truth verification logic is constructed to correct sensing biases caused by satellite revisit delays or sensor errors in step S2. The system compares the shallow soil saturation retrieved by the remote sensing analysis agent in real time. S remote The situation is compared with the on-site state analyzed by the semantic agent; when there is a significant conflict between the two, specifically when the remote sensing analysis agent inverts and determines that the soil is dry, for example... However, when the semantic agent identifies high saturation features such as "slope seepage" or "turbid river water," the system classifies them as false negatives and triggers a forced correction mechanism. At this point, the system performs bias correction on the soil saturation parameters for the area. The formula for bias correction of the shallow soil saturation retrieved by the remote sensing analysis agent is: (5) in, S corrected The corrected soil saturation parameters; S remote This represents the saturation level of the shallow soil. β This is the correction strength coefficient; Risk local It is a factor that enhances local risk; Risk max This represents the theoretical maximum risk value.
[0076] Through this mechanism, the system introduces physical reality constraints into the purely data-driven model, forcing the system to update state parameters based on the actual values on site, thereby effectively eliminating the risk of missed reports caused by local rainfall or sensing delays.
[0077] Step S4: The corrected shallow soil saturation, deep soil saturation, and local risk enhancement factors are fused to construct a comprehensive environmental state index; based on the comprehensive environmental state index, the static critical rainfall benchmark of the watershed is nonlinearly corrected to generate the dynamic critical rainfall threshold at the current moment.
[0078] In this embodiment of the invention, step 4 is mainly based on dynamic correction of critical rainfall driven by multi-source parameter fusion. Based on the static critical rainfall of the mountainous watershed, an adaptive dynamic correction model is constructed. The corrected shallow soil saturation, deep soil saturation, and the local risk enhancement factor obtained in step S3 are used as input variables. A comprehensive antecedent influence rainfall correction coefficient is generated through weighted calculation. The static critical rainfall benchmark is nonlinearly adjusted using this correction coefficient to generate the dynamic critical rainfall threshold at the current moment in real time.
[0079] Step 4 establishes a multi-source heterogeneous data fusion and critical rainfall dynamic correction mechanism. Step 4 is the core decision logic of the implementation example, aiming to establish a two-layer early warning architecture of "physical benchmark + intelligent correction". The specific implementation process is as follows: First, the static critical rainfall baseline for the watershed is calculated using traditional methods. I base This serves as the initial physical benchmark for the early warning model. Based on this, to address the limitation of static thresholds in adapting to nonlinear changes in the underlying surface environment, this embodiment designs a bidirectional dynamic correction model based on environmental state perception: Multi-source saturation normalization and environmental state index ESI Construction: The system receives the shallow soil saturation output from step S3 after correction to the ground truth value. S corrected The deep soil saturation output in step S2 S deep and the local risk enhancement factor output in step S3. Risk local To quantify the continuous state of the watershed from "extremely arid" to "highly humid," a comprehensive environmental state index was systematically constructed. ESI It should be noted that the term used here is... S corrected Replacing the original remote sensing inversion values ensures that the data input to the model has incorporated real-time feedback from ground patrols, eliminating blind spots in satellite monitoring. Specifically, an adaptive weighting algorithm and the hyperbolic tangent function Tanh are used to map the fused results to... Interval.
[0080] The formula for calculating the comprehensive environmental state index is as follows: (6) in, ESI It is a comprehensive environmental status index; Scorrected This is the corrected shallow soil saturation. Sdeep This represents the current deep soil saturation obtained through inversion. Risklocal It is a factor that enhances local risk; Riskmax This represents the theoretical maximum risk value. These are the adaptive weighting coefficients for each mode.
[0081] Scorrected and Sdeep The value range is [0,1]. By subtracting 0.5 for centering, low saturation generates a negative drive, that is, tends to be arid, while high saturation generates a positive drive, that is, tends to be humid. Risklocal To reflect the independent factors of engineering hazards and micro-geomorphological risks, they are retained as independent items so that even when the soil is unsaturated but there are risks affecting flood control such as "channel siltation," improvements can still be made. ESI The value is used to issue an early warning.
[0082] Threshold bidirectional nonlinear correction and blind zone compensation: based on ESI Exponent, constructing nonlinear correction coefficients The static critical rainfall benchmark for the watershed is dynamically adjusted, and the final dynamic critical rainfall is calculated.
[0083] The formula for calculating the dynamic critical rainfall threshold at the current moment is: (7) in, Idynamic This represents the dynamic critical rainfall threshold at the current moment. Ibase This serves as the static critical rainfall benchmark for the watershed. This is a correction factor.
[0084] Correction coefficient It follows the piecewise nonlinear response mechanism: (8) in, α This is the drought gain coefficient; β This is the wetting attenuation coefficient; γ It is a nonlinear response factor.
[0085] This piecewise nonlinear response mechanism achieves a highly robust logical closed loop: for drought scenarios, when the agent senses water shortage in the watershed, i.e. At that time, the model automatically increases the correction coefficient, that is... The critical rainfall threshold should be appropriately raised. For high-humidity scenarios, when soil saturation or a high-risk hazard is detected, [the threshold should be raised]. When this happens, the model adjusts the correction coefficient, i.e. Lowering the threshold can enable early warning.
[0086] In particular, when the semantic agent in step S3 significantly improves its performance through a forced correction mechanism... Scorrected Value, or directly identify high Risklocal hour, ESI The index will be rapidly pushed to the positive limit, thereby driving... The coefficient dropped sharply. This ensures that even in cases where localized heavy rainfall in mountainous areas goes unmonitored, the system can still trigger a defense response based on the "text truth value," achieving true full blind-spot coverage.
[0087] Step S5: Integrate real-time rainfall data and short-term forecast data as actual cumulative rainfall, and compare them with the dynamic critical rainfall threshold; when the actual cumulative rainfall exceeds the dynamic critical rainfall threshold, trigger a graded early warning, and the decision-making agent automatically generates a natural language early warning report containing a disaster probability assessment and emergency response suggestions.
[0088] Step 5 mainly involves real-time rainfall comparison and multi-dimensional intelligent response generation. Specifically, it involves: accessing real-time rainfall monitoring data and short-term weather forecast data, and comparing them in real time with the dynamic critical rainfall threshold generated in step S4; when the real-time or forecast cumulative rainfall exceeds the dynamic threshold, a tiered early warning mechanism is triggered; at this time, the decision-making agent integrates the soil saturation status from step S2 and the local hidden danger characteristics from step S3, such as river siltation and dike seepage, to automatically generate a natural language early warning report that includes a disaster probability assessment, key defense area markings, and specific emergency response suggestions. Step 5, serving as the system's decision output terminal, aims to couple the dynamic critical rainfall threshold calculated in step S4 with real-time meteorological data and automatically construct interpretable defense commands using generative large model (AIGC) technology. The specific implementation process is as follows: The system first establishes a sliding window rainfall monitoring mechanism by accessing real-time automatic weather station rainfall data and short-term rainfall forecasts for the next 1 to 3 hours from meteorological departments. The system sets sliding time windows of varying lengths to calculate both the current cumulative rainfall and the future cumulative rainfall including forecast amounts. The system executes a dual-discrimination logic in real time: firstly, it compares the current cumulative rainfall with the dynamic critical rainfall threshold output in step S4; if the current value exceeds the dynamic threshold, an immediate response is triggered. Secondly, it compares the future cumulative rainfall with the dynamic threshold; if the predicted value exceeds the dynamic threshold, a predictive warning is triggered. It is important to emphasize that the dynamic critical rainfall threshold has already been adjusted based on the corrected soil saturation in step S4. S corrected and local risk factors Risk local The system has implemented a non-linear downsampling mechanism, so for areas with high-risk hazards, even if the current actual rainfall has not yet reached the traditional static warning standard, the system can trigger an alarm in advance due to the significant reduction in the disaster threshold, thereby effectively avoiding the risk of "small rain causing a major disaster".
[0089] Once the response criteria are triggered, the system immediately activates a decision-generating agent based on a large language model. This agent is no longer limited to outputting simple warning level codes; instead, it employs a thought chain prompting strategy to transform the intermediate process parameters generated in steps S2 to S4 into a structured natural language attribution analysis report. The agent automatically extracts key features and generates a response report that includes disaster probability assessment, core disaster-causing factor attribution, and precise defense recommendations. For example, the report might explicitly state: "Although the current cumulative rainfall has not reached historical extremes, the semantic perception in step S3 detected a surge in risk factors due to localized drainage facility blockage, and step S2 inversion shows that the soil is nearing saturation. Therefore, the system forcibly lowers the disaster threshold and triggers an orange warning." This generative reporting endows the warning system with strong interpretability, enabling command personnel to quickly understand the physical logic behind the alarm.
[0090] The above are merely preferred embodiments of the present invention and are 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 dynamic correction and response of critical rainfall for flash flood warning in small and medium-sized watersheds, characterized in that, Includes the following steps: Multimodal data is accessed and preprocessed, and a multimodal vector database is constructed under a unified spatiotemporal reference. The multimodal data includes dynamic visual flow data of river monitoring videos and UAV images, space-based remote sensing data of multispectral satellite images, and unstructured text data of manual inspection logs and historical disaster investigation reports. Based on a multimodal vector database, a visual analysis agent is used to extract flow potential features from river monitoring videos and, combined with hydrological monitoring data, to retrieve the deep soil saturation in mountainous watersheds. A remote sensing analysis agent is used to process UAV imagery and multispectral satellite imagery to extract normalized water index and temperature-vegetation-drought index, constructing a spatial distribution map of shallow soil saturation in mountainous watersheds. Based on the retrieval results from the visual and remote sensing analysis agents, a three-dimensional water body perception system for the watershed is constructed. Using a semantic analysis agent, natural language processing is performed on manual inspection logs to identify and extract local hazard features in satellite and camera blind spots, and quantify them as local risk enhancement factors; Using local hazard characteristics as ground truth, bias correction is performed on the shallow soil saturation retrieved by the remote sensing analysis agent. The corrected shallow soil saturation, deep soil saturation, and local risk enhancement factors are fused to construct a comprehensive environmental state index; based on the comprehensive environmental state index, the static critical rainfall benchmark of the watershed is nonlinearly corrected to generate the dynamic critical rainfall threshold at the current moment. Real-time rainfall data and short-term forecast data are used as the actual cumulative rainfall, and compared with the dynamic critical rainfall threshold. When the actual cumulative rainfall exceeds the dynamic critical rainfall threshold, a graded early warning is triggered, and the decision-making agent automatically generates a natural language early warning report containing a disaster probability assessment and emergency response suggestions.
2. The method for dynamic correction and response of critical rainfall for flash flood warning in small and medium-sized watersheds according to claim 1, characterized in that, The method for constructing a multimodal vector database is as follows: Establish a layered and decoupled data access architecture, and access multimodal data as driving data; An adaptive multi-scene visual enhancement module is configured to perform scene recognition on the multimodal data, and based on the recognized scene, to perform image quality enhancement and feature extraction on the dynamic visual stream data, to perform spatiotemporal interpolation and completion on the space-based remote sensing data, and to perform standardization cleaning and word segmentation encoding on the unstructured text data to obtain preprocessed multimodal data. By using temporal resampling and spatial interpolation algorithms, preprocessed multimodal data are aligned to a unified spatiotemporal reference to form standardized tensor data, and a multimodal vector database is constructed under the unified spatiotemporal reference.
3. The method for dynamic correction and response of critical rainfall for flash flood warning in small and medium-sized watersheds according to claim 2, characterized in that, The method for scene recognition of the dynamic visual stream data is as follows: When the identified scene is a nighttime or low-light environment, the low-light enhancement algorithm is invoked to dynamically stretch the illuminance component of the image in the dynamic visual stream data in order to restore the hydrological details in the dark areas. Alternatively, when the identified scene is a heavy rain or foggy environment, switch to the image restoration network to perform joint filtering of rain and fog removal to filter out rain line noise and atmospheric scattering interference.
4. The method for dynamic correction and response of critical rainfall for flash flood warning in small and medium-sized watersheds according to claim 1, characterized in that, The inversion analysis method for visual analysis agents is as follows: A visual analytics agent was used to extract flow potential features from river monitoring videos. Combined with hydrological monitoring data, the baseflow component in the real-time baseflow was separated to obtain a real-time baseflow characteristic curve. By comparing the real-time baseflow characteristic curve with historical baseflow characteristic curves, the deep soil saturation in the vertical direction of the mountainous watershed was retrieved. The formula for calculating the separated real-time baseflow is: ; (1) in, Q base ( t (This refers to the current time) t The base flow rate; Q base ( t -1) is t The base current flow rate at time -1; Q total ( t (This refers to the current time) t The measured total runoff; Q total ( t -1) is t The measured total runoff at time -1; α These are the filter parameters.
5. The method for dynamic correction and response of critical rainfall for flash flood warning in small and medium-sized watersheds according to claim 4, characterized in that, The method for inverting the deep soil saturation in the vertical direction in mountainous watersheds is as follows: A digital filtering algorithm was used to extract the baseflow component representing groundwater recharge from the measured total runoff data to obtain real-time baseflow data; based on the real-time baseflow data and the historical multi-year average baseflow data for the same period, a standardized dynamic baseflow index was obtained. A nonlinear mapping model is constructed, and the dynamic baseflow index is mapped to the deep soil saturation, which characterizes the saturation of deep soil and groundwater. The nonlinear mapping model is: ; (2) in, S deep This represents the current deep soil saturation obtained through inversion. S max This represents the maximum soil saturation capacity of a mountainous watershed. BI t For the current moment t The base current index; k This is the saturation sensitivity coefficient; μ The reference bias coefficient; The formula for calculating the dynamic baseflow index at the current moment is: ;(3) in, BI t For the current moment t The dynamic base current index; Q base ( t (This refers to the current time) t The base flow rate; It represents the multi-year average base current value for each month of the year.
6. The method for dynamic correction and response of critical rainfall for flash flood warning in small and medium-sized watersheds according to claim 1, characterized in that, The semantic analysis agent is configured with a risk feature knowledge graph for flood control in mountainous areas. The knowledge graph is used to map non-standardized spoken descriptions into standard risk entities. The standard risk entities include at least water condition characterization entities, engineering hazard entities, and geological sign entities.
7. The method for dynamic correction and response of critical rainfall for flash flood warning in small and medium-sized watersheds according to claim 1, characterized in that, The quantification process of the local risk enhancement factor includes: A pre-defined risk intensity mapping table is used to assign basic intensity values to different categories of risk entities; Iterate through the patrol logs with timestamps and geographic tags within the current time window, and calculate the local risk enhancement factor using the following formula: ;(4) in, Risk local It is a factor that enhances local risk; n The number of risky entities identified; I i For the first i The basic strength value of each entity; W i The confidence weight is based on the reliability of the patrol information source.
8. The method for dynamic correction and response of critical rainfall for flash flood warning in small and medium-sized watersheds according to claim 1, characterized in that, The formula for bias correction of shallow soil saturation retrieved by remote sensing analysis agents is as follows: ;(5) in, S corrected These are weighted correction parameters for soil saturation parameters; S remote This represents the saturation level of the shallow soil. β This is the correction strength coefficient; Risk local It is a factor that enhances local risk; Risk max This represents the theoretical maximum risk value. The formula for calculating the comprehensive environmental state index is as follows: ;(6) in, ESI It is a comprehensive environmental status index; Scorrected This is the corrected shallow soil saturation. Sdeep This represents the current deep soil saturation obtained through inversion. Risklocal It is a factor that enhances local risk; Riskmax This represents the theoretical maximum risk value. These are the adaptive weighting coefficients for each mode; The formula for calculating the dynamic critical rainfall threshold at the current moment is: ;(7) in, Idynamic This represents the dynamic critical rainfall threshold at the current moment. Ibase This serves as the static critical rainfall benchmark for the watershed. This is a correction factor; Correction coefficient It follows the piecewise nonlinear response mechanism: ;(8) in, α This is the drought gain coefficient; β This is the wetting attenuation coefficient; γ It is a nonlinear response factor.
