Search

CN-122020304-A - Hydrologic situation analysis and early warning method and system based on low-code configuration

CN122020304ACN 122020304 ACN122020304 ACN 122020304ACN-122020304-A

Abstract

The invention discloses a hydrologic situation analysis and early warning method based on low-code configuration, which relates to the technical field of hydrologic information processing and early warning decision-making, and comprises the steps of carrying out standardized processing on basic parameters of a river basin to generate a characteristic vector of the river basin; the method comprises the steps of adopting a preset hydrological model template library to match an adaptation model, determining an optimal hydrological calculation model through similarity calculation according to parameter values in a river basin feature vector to generate a low-code configuration file, inputting rainfall data and water level data obtained through real-time monitoring into the low-code configuration file, calculating through the adaptation model to obtain hydrological situation indexes, triggering early warning signals when the hydrological situation indexes are larger than a preset grading early warning threshold, and pushing early warning information to a designated terminal through a predefined early warning strategy. The method adopts a standardized river basin feature vector construction method and a model automatic matching mechanism to solve the problems of high professional threshold and response lag in the hydrologic model configuration and situation judgment process.

Inventors

  • Feng Kelie
  • ZHANG MING
  • WANG HAO
  • CHEN GUODONG
  • ZHOU ERLIANG
  • YANG HANG
  • ZHAO FAN

Assignees

  • 常州天洑智能科技有限公司

Dates

Publication Date
20260512
Application Date
20260129

Claims (10)

  1. 1. A hydrologic situation analysis and early warning method based on low-code configuration is characterized by comprising the following steps of, Receiving a basin foundation parameter input by a user through a visual configuration interface, and carrying out standardization processing on the basin foundation parameter to generate a basin characteristic vector V= [ A ', L ', P ' ], wherein the basin foundation parameter comprises a basin area A, a river channel length L and a historical rainfall threshold P, and the basin foundation parameter comprises a standardized basin area, a standardized river channel length and a standardized rainfall threshold parameter; Based on the drainage basin characteristic vector V, adopting a preset hydrological model template library to match an adaptation model M, wherein the adaptation model M determines an optimal hydrological calculation model through similarity calculation according to the parameter value of the drainage basin characteristic vector V, and generates a low-code configuration file Config; inputting rainfall data R and water level data H obtained by real-time monitoring into the low-code configuration file Config, and calculating by the adaptation model M to obtain a hydrological situation index WI; When the hydrologic situation index WI is larger than a preset grading early warning threshold, triggering an early warning signal, and pushing early warning information to a designated terminal through an early warning strategy predefined in the low code configuration file Config.
  2. 2. The hydrologic situation analysis and early warning method based on low code configuration of claim 1, wherein when the hydrologic situation index WI is larger than a preset hierarchical early warning threshold, an early warning signal is triggered, and early warning information is pushed to a designated terminal through an early warning strategy predefined in a low code configuration file Config, comprising: Judging the value of the hydrologic situation index WI and a preset grading early warning threshold, wherein the preset grading early warning threshold comprises a first-stage threshold T1, a second-stage threshold T2 and a third-stage threshold T3, and the first-stage threshold T1 is smaller than the second-stage threshold T2 and the third-stage threshold T3 are met; When the value of the hydrologic situation index WI is smaller than a first-level threshold value T1, triggering a primary early warning signal, and extracting a primary early warning strategy associated with the first-level threshold value T1 from a low-code configuration file Config, wherein the primary early warning strategy comprises an early warning information template MT1 and a first target terminal list LT1; Filling a current drainage basin characteristic vector V= [ A ', L ', P ' ], real-time rainfall data R and water level data H according to the structured field of the early warning information template MT1 to generate a standardized early warning message PT1; pushing the standardized early warning message PT1 to a mobile terminal of flood prevention responsible personnel in a specified data format according to the address information of the first target terminal list LT1 through a communication interface integrated by the low code configuration file Config; when the value of the hydrologic situation index WI is larger than or equal to a first level threshold value T1 and smaller than a second level threshold value T1, and a middle-level early warning signal is triggered, executing strategy upgrading logic in the low-code configuration file Config; when the value of the hydrologic situation index WI is larger than or equal to the second-level threshold T1 and smaller than the third-level threshold T1, an emergency early warning signal is triggered, and a cross-department linkage mechanism in the low-code configuration file Config is started.
  3. 3. The hydrological situation analysis and early warning method based on low-code configuration of claim 2, wherein the policy upgrade logic comprises: Activating an emergency response strategy associated with a second level threshold T2 while preserving a primary early warning strategy execution link, wherein the emergency response strategy comprises a live handling instruction set IT2 and a second target terminal list LT2; and binding the on-site disposal instruction set IT2 and the real-time hydrologic data to generate an emergency task package ET2, and synchronously pushing the emergency task package ET2 to an emergency command platform in the second target terminal list LT2 through a government special network channel.
  4. 4. The method for analyzing and pre-warning hydrologic situation based on low-code configuration according to claim 2, wherein the method for obtaining hydrologic situation index WI is, Acquiring real-time rainfall data R and water level data H of a river basin monitoring site through a data interface module in a low code configuration file Config, wherein the rainfall data R comprises a time stamp TR and a rainfall intensity value IR; Performing time sequence synchronous verification on the real-time rainfall data R and the water level data H, and triggering a data compensation algorithm to perform interpolation processing on the data in the missing period when the difference value between the time stamp TR and the time stamp TH is larger than a preset time window delta T; Carrying out data fusion on the rainfall data R and the water level data H after synchronous verification and the river basin characteristic vector V= [ A ', L ', P ' ], and generating a comprehensive input matrix X; Invoking a computing function f in an adaptation model M stored in a low-code configuration file Config, and taking the comprehensive input matrix X as a function parameter to be input, wherein the computing function f carries out weighted computation on the rainfall data R and the water level data H according to a parameter weight distribution strategy in the drainage basin characteristic vector V= [ A ', L ', P ' ]; Calculating a basin runoff coefficient beta and a confluence time tau through a hydrological response algorithm built in the adaptation model M; Performing coupling operation on the basin runoff coefficient beta, the confluence time tau and the normalized rainfall threshold parameter P', and generating the hydrologic situation index WI through the calculation function f; storing the hydrologic situation index WI into a cache area of the low-code configuration file Config, and generating a timestamp identification TWI; And carrying out validity verification on the hydrologic situation index WI through a state module of the low-code configuration file Config, and triggering a data exception mark and starting a recalculation flow when the hydrologic situation index WI is larger than a preset reasonable interval.
  5. 5. The method for analyzing and pre-warning hydrologic situation based on low-code configuration according to claim 4, wherein the method for generating the low-code configuration file Config is, Extracting all candidate hydrologic calculation models from a preset hydrologic model template library, wherein the candidate hydrologic calculation models comprise standard drainage basin feature vectors Vs= [ As ', ls ', ps ' ] and corresponding model parameter sets Θs, and the standard drainage basin feature vectors Vs are used As feature identifiers of the candidate models; calculating similarity scores Sim of the river basin feature vectors V= [ A ', L', P '] and the standard river basin feature vectors Vs= [ As', ls ', ps' ] by using an Euclidean distance algorithm; Sequencing similarity scores Sim of all the candidate hydrologic calculation models, selecting a candidate hydrologic calculation model with the minimum similarity score Sim as an adaptation model M, and simultaneously acquiring the model parameter set Θs and the calculation function f corresponding to the adaptation model M; Generating a basic framework of a low-code configuration file Config based on the model structure of the adaptation model M, wherein the low-code configuration file Config comprises a data interface module, a calculation engine module, a state module and an early warning management module; embedding the calculation function f and the model parameter set Θs into the calculation engine module, and configuring a weight distribution strategy of the standardized river basin area A ', the river channel length L' and the rainfall threshold parameter P 'of the river basin characteristic vector V= [ A', L ', P' ]; According to the parameter characteristics of the river basin characteristic vector V, a first-level threshold T1, a second-level threshold T2 and a third-level threshold T3 are preset in the early warning management module, and an early warning information template MT1, a first target terminal list LT1, a field treatment instruction set IT2 and a second target terminal list LT2 which are associated with the thresholds are configured at the same time; the communication protocol and data format standard for acquiring the rainfall data R and the water level data H are preconfigured in the data interface module, and meanwhile, a reasonable interval range of the hydrologic situation index WI is set in the state module.
  6. 6. The method for analyzing and pre-warning hydrologic situation based on low code configuration of claim 5, wherein the method for obtaining the basin feature vector is, Receiving a basin basic parameter input by a user through a visual configuration interface, performing data type verification and numerical range verification on the basin basic parameter, and triggering an error prompt and requiring re-input when the basin basic parameter is larger than a preset reasonable interval; extracting a drainage basin parameter standardization reference library built in a system, and acquiring a maximum reference value and a minimum reference value corresponding to the drainage basin basic parameters; Carrying out standardization processing on the basin foundation parameters by adopting a minimum-maximum standardization algorithm, and calculating the standardized basin foundation parameters; And combining the standardized basin basic parameters according to a fixed sequence, generating the basin characteristic vector V= [ A ', L', P '], storing the basin characteristic vector V= [ A', L ', P' ] into a system cache area, and simultaneously displaying a standardized processing result on the visual configuration interface.
  7. 7. The method for analyzing and pre-warning hydrologic situation based on low code configuration of claim 6, wherein the maximum reference value and the minimum reference value corresponding to the basic parameters of the river basin comprise a maximum reference value Amax and a minimum reference value Amin corresponding to the area A of the river basin, a maximum reference value Lmax and a minimum reference value Lmin corresponding to the length L of the river basin and a maximum reference value Pmax and a minimum reference value Pmin corresponding to the rainfall threshold P of the history.
  8. 8. A hydrological situation analysis and early warning system based on low-code configuration, which is characterized by comprising the following components according to any one of claims 1-7, The characteristic vector generation module is used for receiving a basin basic parameter input by a user through a visual configuration interface, carrying out standardization processing on the basin basic parameter, and generating a basin characteristic vector V= [ A ', L', P '], wherein the basin basic parameter comprises a basin area A, a river channel length L and a historical rainfall threshold P, and the A', L ', P' are respectively standardized basin area, river channel length and rainfall threshold parameters; The hydrological model matching and configuration generating module is used for matching an adaptation model M by adopting a preset hydrological model template library based on the drainage basin characteristic vector V, wherein the adaptation model M is used for determining an optimal hydrological calculation model through similarity calculation according to the parameter value of the drainage basin characteristic vector V, generating a low code configuration file Config and generating the low code configuration file Config; The hydrologic situation calculation module is used for inputting rainfall data R and water level data H obtained through real-time monitoring into the low-code configuration file Config and calculating to obtain a hydrologic situation index WI through the adaptation model M; And the early warning triggering and information pushing module is used for triggering an early warning signal when the hydrologic situation index WI is larger than a preset grading early warning threshold value and pushing early warning information to a designated terminal through an early warning strategy predefined in the low code configuration file Config.
  9. 9. The computer equipment comprises a memory and a processor, wherein the memory stores a computer program, and the computer program is characterized in that the processor realizes the steps of the hydrological situation analysis and early warning method based on the low-code configuration according to any one of claims 1-7 when executing the computer program.
  10. 10. A computer readable storage medium having a computer program stored thereon, wherein the computer program when executed by a processor implements the steps of the low code configuration-based hydrological situation analysis and early warning method of any one of claims 1 to 7.

Description

Hydrologic situation analysis and early warning method and system based on low-code configuration Technical Field The invention relates to the technical field of hydrologic information processing and early warning decision making, in particular to a hydrologic situation analysis and early warning method and system based on low-code configuration. Background The traditional hydrologic forecasting system generally relies on professional hydrologic models (such as SCS-CN models and HEC-HMS models) for modeling and calculation, and has higher precision and scientificity, but the configuration process is complex, the professional literacy requirement for users is high, and the requirements of quick deployment and high-efficiency response in basic water service units and sudden emergency scenes are difficult to meet. In recent years, with the rise of technologies such as visual modeling, low-code development, automatic model matching and the like, a hydrological forecasting and early warning system based on a simplified configuration flow gradually becomes a research hotspot. The low-code platform provides a high-efficiency and flexible solution for hydrologic model construction by virtue of the development concept of visual configuration and automatic generation, but most of the existing systems still stay on a general platform level, lack dynamic adaptation capability for the characteristic parameters of the watershed, and the model calling process does not have an intelligent selection mechanism, so that accuracy and adaptability are difficult to maintain under complex and changeable watershed conditions. At present, some researches try to combine a data-driven machine learning method with a traditional hydrologic model to improve the intelligentization degree of model prediction, however, the method often depends on large-scale sample training and long-term data accumulation, and the effect is obviously reduced under the condition of insufficient data or obvious regional characteristic difference. Meanwhile, most of the existing hydrologic early warning systems lack uniform configuration standards and modularized interfaces, so that the systems are difficult to migrate and high in maintenance cost. In the aspect of model adaptation, the traditional method is generally manually selected by an expert, is time-consuming and is easily influenced by subjective judgment, and lacks objectivity and generality. In addition, in the aspect of hydrologic situation index construction and early warning trigger mechanism, the existing method mostly adopts single parameters or static rules, is difficult to comprehensively reflect the overall risk situation of the river basin, and does not have flexible early warning strategy adjustment capability. Therefore, a low-code hydrologic situation analysis system capable of realizing automatic model matching, parameter standardization processing and flexibly configuring early warning rules is urgently needed to realize more efficient and universal hydrologic forecasting and early warning capability. In summary, the existing hydrologic situation analysis and early warning technology has the problems of complex model configuration, poor suitability, low deployment efficiency, rigid early warning mechanism and the like. The invention provides a hydrologic situation analysis and early warning method and system based on low-code configuration, which adopts a standardized drainage basin feature vector construction method and a model automatic matching mechanism, effectively improves the universality and deployment efficiency of the system, and solves the problems of high professional threshold and response lag in the hydrologic model configuration and situation judgment process. Disclosure of Invention The invention is provided in view of the problems of complex configuration, weak model adaptation capability and poor flexibility of an early warning mechanism of the existing hydrological model. Therefore, the problem to be solved by the invention is how to realize the intelligent adaptation of the hydrological model facing different flow domain characteristics by a low-code visual configuration mode, and to perform situation index calculation and hierarchical early warning by combining real-time monitoring data, so as to construct a hydrological situation analysis and early warning system which is flexible in configuration, efficient in deployment and timely in response. In order to solve the technical problems, the invention provides the following technical scheme: in a first aspect, embodiments of the present invention provide a hydrological situation analysis and early warning method based on low-code configuration, which includes, Receiving a basin foundation parameter input by a user through a visual configuration interface, and carrying out standardization processing on the basin foundation parameter to generate a basin characteristic vector V= [ A ', L ', P ' ], wherein the basin f