Hydrological monitoring edge data processing system and RTU terminal thereof
By generating predicted values and tolerance thresholds at the RTU terminal, the data acquisition and uploading strategy of the hydrological monitoring system is dynamically adjusted, solving the problem that the predicted results of the hydrological monitoring system are not involved in on-site control in the existing technology, and improving the efficiency of abnormal data acquisition and system adaptability.
Patent Information
- Application Number
- CN202611554028.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-09
- Publication Date
- 2026-11-27
AI Technical Summary
In existing hydrological monitoring systems, field RTUs lack the ability to predict future hydrological conditions, resulting in the collection and uploading of a large amount of worthless data. Furthermore, the prediction results are not used in field operation control, making it difficult to distinguish between normal changes and abnormal deviations, which affects the complete recording and analysis of abnormal processes.
A prediction value generation unit is introduced into the RTU terminal to generate prediction values and tolerance thresholds for future time periods based on local and associated site data. The actual sampled values are verified by the deviation judgment unit, the sampling mode and data processing strategy are dynamically adjusted, and a structured event report is generated and uploaded to the cloud platform.
It enables dynamic adjustment of data collection and uploading strategies based on prediction results, improving the targeting of abnormal data and system efficiency, ensuring the complete recording and timely uploading of key data, and reducing misjudgments and resource waste.
Smart Images

Figure CN123179240A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of hydrological data processing technology, specifically to a hydrological monitoring edge data processing system and its RTU terminal. Background Technology
[0002] Existing hydrological monitoring systems typically rely on field terminals or remote terminal units (RTUs) at monitoring stations to periodically collect hydrological parameters such as water level, rainfall, and flow rate. The collected data is then uploaded to a higher-level platform for centralized storage and analysis via wired or wireless communication. To reduce on-site energy consumption and communication load, some systems can dynamically adjust the sampling frequency or reporting strategy based on whether the sampled values exceed preset thresholds, or perform trend analysis and forecasting on the platform side based on historical data.
[0003] For example, CN111479251A discloses a method and system for setting and monitoring hydrological RTU parameters using a mobile terminal, belonging to the field of water conservancy monitoring technology. This invention utilizes Bluetooth connectivity to connect the mobile terminal and the RTU. The Bluetooth module on the RTU is used to successfully pair with the mobile terminal, allowing for the setting and monitoring of hydrological data parameters via the mobile terminal. The system includes a mobile terminal and an RTU. The RTU includes a central processing unit (CPU), a digital input module, an analog acquisition module, a storage module, a display module, a wireless communication module, a voltage conversion module, and a Bluetooth module. The RTU of this invention transmits real-time monitoring data of water level, rainfall, and flow velocity to the mobile terminal in a standard, unified format, and the RTU parameters can be set on the mobile terminal.
[0004] In the above system, the field RTU mainly undertakes the functions of data acquisition and forwarding. Predictive analysis is usually completed in the cloud or on the platform side. The prediction results are mostly used as reference information for post-event analysis or auxiliary decision-making, and do not directly participate in the real-time operation control of the field terminal.
[0005] Moreover, the aforementioned hydrological monitoring methods still have shortcomings. On the one hand, field RTUs typically lack predictive judgments about future hydrological conditions during operation. Their sampling and data processing strategies mainly rely on fixed thresholds or real-time data changes, making it difficult to distinguish between normal changes consistent with hydrological development patterns and abnormal deviations requiring close monitoring. This results in a large amount of routine data of limited value being continuously collected and uploaded, while truly investigative data fails to be specifically preserved. On the other hand, even if the platform possesses predictive analysis capabilities, because the prediction results are not involved in field operational control, when there is a significant deviation between the prediction and the actual situation, the field terminal often cannot adjust its sampling, storage, and reporting strategies in a timely manner, affecting the complete recording and subsequent analysis of abnormal processes. Summary of the Invention
[0006] The purpose of this invention is to provide a hydrological monitoring edge data processing system and its RTU terminal to solve the problems mentioned in the background art.
[0007] To achieve the above objectives, the present invention provides the following technical solution: a hydrological monitoring edge data processing system and its RTU terminal, comprising: a cloud platform and at least one RTU terminal of a hydrological monitoring station; Each RTU terminal includes at least: The prediction value generation unit is used to generate predicted values of local hydrological parameters and corresponding tolerance thresholds for future time periods based on locally collected hydrological monitoring data and combined with the associated data of at least one preset associated monitoring station, according to preset association rules. A deviation determination unit is used to compare the actual sampled values of local hydrological parameters with the predicted values within the future time period, and to determine a deviation exceeding the tolerance threshold as a deviation over-limit event. The evidence data preservation unit is used to write the original sampling data within the time window corresponding to the event into a non-circular storage area to prevent it from being overwritten by subsequent data when the event is determined to be an event that exceeds the deviation limit. The resource scheduling unit is used to switch the sampling mode of at least one key hydrological parameter to high-frequency sampling mode when a deviation exceeding the limit event occurs, and to maintain the normal sampling mode when no deviation exceeding the limit event occurs. The event report generation unit is used to generate and upload structured event reports when deviation exceeds limits. The cloud platform is used to receive the event reports and perform analysis and processing.
[0008] Preferably, the associated monitoring stations include one or more of the following: upstream rain gauge stations, adjacent water level stations, and dam condition stations.
[0009] Preferably, the association rules include rules for generating predicted values based on the historical response relationship between associated monitoring station data and local hydrological parameters. These rules are stored in the RTU terminal in parameterized form and support remote updates.
[0010] Preferably, the tolerance threshold is determined in association with at least the local sensor measurement accuracy parameters and / or the predicted residual statistics over a recent period.
[0011] Preferably, the evidence data preservation unit includes an event window buffer, which is used to cache the original sampling data for a preset duration before the occurrence of the deviation exceeding the limit event, and writes it together with the data during the event into the non-circular storage area after the event occurs.
[0012] Preferably, the event report includes at least: prediction parameter identifier, prediction value, tolerance threshold, time window identifier for deviation exceeding limit, actual data sequence within the time window, data snapshot of associated monitoring station, and self-test status information of RTU terminal.
[0013] Preferably, when a deviation exceeding the limit event occurs, the resource scheduling unit, in addition to increasing the sampling frequency, will also mark the event report as a high-priority report and reduce or suspend the reporting frequency of regular monitoring data.
[0014] Preferably, when no deviation exceeds the limit event occurs, the RTU terminal generates and reports summary data, which includes at least the prediction parameter identifier, deviation statistics, and sampling mode identifier.
[0015] Preferably, the cloud platform is used to aggregate and analyze event reports from multiple RTU terminals, and based on the analysis results, send updated information of association rule parameters and / or tolerance threshold parameters to the corresponding RTU terminals.
[0016] An RTU terminal includes a processor, a memory, a sensor interface, a communication module, and a program in the memory; when the program is executed by the processor, the RTU terminal enables the RTU terminal to have the functions of predictive value generation, deviation determination, evidence data preservation, sampling mode switching, and event report generation and uploading in the system of claim 1, wherein evidence data preservation includes writing the original sampling data into a non-circular storage area to prevent overwriting.
[0017] Compared with the prior art, the beneficial effects of the present invention are as follows: the hydrological monitoring edge data processing system and its RTU terminal introduce a verification mechanism based on prediction results on the hydrological monitoring terminal side, so that the prediction results can directly participate in the on-site operation control. This allows the data acquisition, storage and reporting strategies to be dynamically adjusted according to whether the prediction is valid. While ensuring the continuity of monitoring, the system improves the targeting of abnormal data acquisition and the overall efficiency of system operation, as shown in the following details.
[0018] 1. First, a forecast for the future period is generated, and the forecast is verified by actual monitoring data. Only when the actual situation deviates significantly from the forecast is the system identified as an anomaly that needs attention. This allows the system to distinguish between normal changes in hydrological parameters and abnormal deviations that are significant for investigation, thereby reducing misjudgments and invalid alarms. 2. When prediction verification fails, the system triggers a data preservation mechanism for the abnormal process, selectively saving the original sampling data before and after the anomaly occurs, ensuring the complete recording of the evolution of the abnormal process. Compared to methods that only begin collecting data after an anomaly occurs, this invention avoids the loss of crucial pre-existing information, providing a continuous and traceable data foundation for subsequent analysis. 3. By using the prediction verification results as trigger conditions, the system can dynamically switch the sampling frequency, data processing, and reporting strategies at the field terminal, enabling the terminal to automatically adjust its operating mode according to changes in the current hydrological status, reducing reliance on manual intervention or platform-side commands, and improving the system's adaptability in complex hydrological environments. Attached Figure Description
[0019] Figure 1 This is a schematic diagram of the overall operating logic of the present invention; Figure 2 This is a schematic diagram illustrating the rule parameterization of the present invention; Figure 3 This is a schematic diagram of the data preservation process of the present invention; Figure 4 This is a schematic diagram illustrating the generation of a report for predicting and verifying failure events according to the present invention. Figure 5 This is a schematic diagram illustrating the data reporting and cloud-based aggregation and analysis of this invention. Detailed Implementation
[0020] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0021] Please see Figures 1-5 The present invention provides the following technical solution: Example 1: In existing hydrological monitoring systems, RTUs typically employ fixed sampling frequencies and fixed upload strategies, or trigger alarms only when monitored values exceed static thresholds. This approach generates a large amount of low-value data under stable hydrological conditions, consuming communication bandwidth and storage resources. Furthermore, when abnormal hydrological conditions or monitoring anomalies occur, there is often a lack of a systematic mechanism for preserving continuous raw data before and after the anomaly. This makes it impossible to fully reconstruct the anomaly process during post-analysis, and it is also difficult to distinguish whether the anomaly was caused by changes in hydrological conditions, the influence of related stations, or a problem with the sensor itself. This increases the cost of manual investigation and delays the opportunity for response.
[0022] To address the aforementioned issues, this embodiment discloses the following: the system includes a cloud platform and at least one RTU terminal for a hydrological monitoring station; Each RTU terminal includes at least: a prediction value generation unit, used to generate predicted values of local hydrological parameters and corresponding tolerance thresholds for future time periods based on locally collected hydrological monitoring data and associated data from at least one preset associated monitoring station, according to preset association rules; a deviation determination unit, used to compare the actual sampled values of local hydrological parameters with the predicted values for future time periods, and determine a deviation exceeding the tolerance threshold as a deviation exceeding the limit event; an evidence data preservation unit, used to write the original sampled data within the time window corresponding to the deviation exceeding the limit event into a non-circular storage area to prevent it from being overwritten by subsequent data when a deviation exceeding the limit event occurs; a resource scheduling unit, used to switch the sampling mode of at least one key hydrological parameter to a high-frequency sampling mode when a deviation exceeding the limit event occurs, and maintain the normal sampling mode when no deviation exceeding the limit event occurs; an event report generation unit, used to generate and upload a structured event report when a deviation exceeding the limit event occurs; and a cloud platform used to receive and analyze the event reports, with associated monitoring stations including one or more of upstream rain gauge stations, adjacent water level stations, and dam condition stations.
[0023] In this embodiment, the overall operating logic of the system is based on prediction and verification as two consecutive and interrelated stages.
[0024] At the beginning of each operating cycle, the RTU first generates a prediction result for a future preset time period based on the local hydrological monitoring data and data from related monitoring stations available at the current time. This prediction result is used to characterize the expected changes in the hydrological state during that time period. This prediction result serves as a reference benchmark for subsequent operating phases and is not a one-time calculation result.
[0025] After the prediction results are formed, the RTU will continuously collect actual hydrological monitoring data in the future and compare the actual data with the prediction results to verify whether the prediction is still valid. The verification results are not directly used to output analysis conclusions, but are used as the basis for judging the system's operating status: when the prediction is verified to be valid, the system maintains normal operation; when the prediction is verified to be invalid, the system uses the verification result as a trigger condition to enter the anomaly handling process. In this way, the prediction results play the role of operation reference in the system, while the verification results directly drive the switching of system behavior.
[0026] The technical principle of this embodiment is as follows: the anomaly judgment in hydrological monitoring is moved forward to the RTU side, and the priority mechanism of data acquisition and storage is reconstructed with prediction deviation as the trigger condition. During system operation, the RTU does not directly make threshold judgments on the sampled values, but first forms prediction values and corresponding tolerance thresholds for hydrological parameters within a certain period of time based on local hydrological monitoring data and data from associated monitoring stations. The prediction value reflects the reasonable range of variation of hydrological parameters at this monitoring station under the current hydrological background conditions.
[0027] During subsequent sampling, the RTU compares the actual sampled value with the predicted value: when the actual value falls within the tolerance threshold range, it indicates that the current sampling result is consistent with the existing hydrological state and associated conditions, which is an expected change, and the RTU can continue to operate in the conventional sampling mode; when the actual value exceeds the tolerance threshold range, it indicates that the local hydrological parameters have deviated beyond expectations without corresponding changes in the conditions of the associated monitoring stations, and this deviation has investigative value.
[0028] Based on the above judgment principle, the system uses deviation exceeding the limit event as the data value dividing point: once a deviation exceeding the limit event occurs, the RTU immediately changes the data processing strategy, extracts the original sampled data within the time window corresponding to the event from the regular circular write path, and writes it to the non-circular storage area for fixed preservation to prevent key data from being overwritten by subsequent normal sampling; at the same time, it switches to high-frequency sampling mode to obtain subsequent data with higher time resolution to characterize the evolution process after the deviation occurs. In this way, the system can simultaneously complete anomaly identification, evidence solidification, and data augmentation in the investigation stage when an anomaly occurs, while avoiding unnecessary data accumulation and resource consumption when no deviation exceeding the limit event occurs.
[0029] The following terms mentioned in this plan have the following meanings: RTU terminal: A remote terminal device deployed at a hydrological monitoring station to collect hydrological data, process it locally, and communicate with the cloud platform.
[0030] Related monitoring stations: Stations that are related to this monitoring station in terms of business or hydrology, and whose monitoring data can be used to assist in the judgment, such as upstream rain gauge stations, adjacent water level stations, or dam condition stations.
[0031] Related data: Monitoring data received from related monitoring stations.
[0032] Association rules: Rules used to combine local data with associated data to generate predicted values.
[0033] Predicted values: Estimates of the values that local hydrological parameters may reach within a certain future period.
[0034] Tolerance threshold: The range of deviation between the predicted value and the actual sampled value that is allowed.
[0035] Deviation Exceedance Event: An event that occurs when the deviation between the actual sampled value and the predicted value exceeds the tolerance threshold.
[0036] Non-circular storage area: A storage area that will not be covered by the regular circular write mechanism and is used to store raw sampled data related to the event.
[0037] Taking a downstream water level monitoring station S0 of a certain river as an example, the station is equipped with an RTU terminal and connected to a water level sensor with a measurement accuracy of 0.01 m. The associated monitoring stations include: upstream rain gauge station R1 and adjacent water level station S1.
[0038] The system settings are as follows: the S0 water level sampling frequency is 1 time / 60 seconds, and the high-frequency sampling frequency is 1 time / 5 seconds; the prediction period length is 10 minutes; the initial tolerance threshold is ±0.05m; and the event window covers the original sampling data within the prediction period.
[0039] The pre-defined association rules in the RTU take the following form: During the forecast period, the predicted S0 water level is obtained by superimposing two parts to obtain the upstream rainfall impact item and the adjacent water level correction item. The upstream rainfall impact item is calculated based on the cumulative rainfall of R1 in the first 10 minutes of the forecast period, according to the empirical ratio that every 10 mm of rainfall corresponds to a rise of 0.030 m in the S0 water level. The adjacent water level correction item is calculated based on the water level change of S1 in the last 10 minutes, with 50% of the change in S1 taken as the synchronous change reference value of S0.
[0040] At a certain point, the RTU received the following related data: the cumulative rainfall of R1 during the period from 09:50 to 10:00 was 18.0 mm, and the water level of S1 rose from 2.410 m to 2.438 m during the same period, a change of +0.028 m.
[0041] Based on the above association rules, the RTU calculates the predicted value of S0 during the period of 10:00–10:10 as follows: upstream rainfall impact: 18.0 mm ≈ 1.8 × 10 mm, corresponding to a water level rise of 1.8 × 0.030 m = 0.054 m; adjacent water level correction: 0.028 m × 50% = 0.014 m; the total predicted water level change is 0.054 m + 0.014 m = 0.068 m.
[0042] Based on the measured water level of S0 at 10:00, which was 2.452 m, the predicted value was 2.520 m, corresponding to an allowable range of 2.470–2.570 m. The actual water level data of S0 collected by the RTU in the conventional sampling mode between 10:00 and 10:10 were: 2.452 m, 2.455 m, 2.456 m, 2.456 m, 2.455 m, 2.454 m, 2.454 m, 2.453 m, 2.453 m, and 2.452 m.
[0043] Ten minutes later, the actual water level of S0 was 2.452 m, which was -0.068 m from the predicted value of 2.520 m. This exceeded the tolerance threshold of ±0.05 m, and the deviation judgment unit determined that a deviation over-limit event had occurred.
[0044] Subsequently, the RTU writes the raw sampled data from 10:00 to 10:10 to the non-circular storage area and switches the sampling frequency to a high-frequency sampling mode of once every 5 seconds. At the same time, it generates and uploads an event report containing snapshots of data from associated sites and prediction calculation results.
[0045] Regular sampling mode / high-frequency sampling mode: Regular sampling mode is the sampling frequency used in daily operation; high-frequency sampling mode is a higher sampling frequency used in the anomaly investigation phase.
[0046] Example 2: During the long-term operation of a hydrological monitoring system, even with a prediction mechanism based on associated station data, the prediction error level will shift over time due to factors such as seasonal changes, changes in river cross-sections, and changes in dam and gate scheduling methods. If the association rule parameters and tolerance thresholds remain fixed for a long period, two types of problems are likely to occur: First, the overall prediction residuals increase, leading to frequent triggering of deviation exceeding limits, increasing false alarms and consuming survey resources; second, the overall prediction residuals decrease, but the thresholds are not tightened accordingly, resulting in some anomalies not being identified in a timely manner, thereby reducing the system's sensitivity to real anomalies.
[0047] To address the aforementioned issues, this embodiment discloses the following: the association rules include rules for generating predicted values based on the historical response relationship between associated monitoring station data and local hydrological parameters. The rules are stored in the RTU terminal in parameterized form and support remote updates. The tolerance threshold is determined by associating it with at least the local sensor measurement accuracy parameters and / or the predicted residual statistics over a recent period.
[0048] In this embodiment, prediction and verification are not a one-time judgment process, but an operating mechanism that is repeatedly executed during the long-term operation of the system.
[0049] In each prediction period, the RTU generates prediction results based on the current association rule parameters and verifies the prediction results during subsequent sampling. As the running time increases, the overall level of the prediction residuals reflects the degree of matching between the current prediction and the actual hydrological state.
[0050] When the verification results show that the prediction residuals show an overall upward or downward trend over multiple prediction periods, the system does not regard it as a single anomaly. Instead, it uses the verification results as the basis for adjusting rule parameters and tolerance thresholds. In this way, prediction and verification are not only used to identify single deviation exceeding events, but also to evaluate the applicability of prediction rules in the time dimension, so that the prediction mechanism can be continuously corrected as the operating status changes.
[0051] The technical principle of this embodiment is to transform the prediction rules and tolerance thresholds from static configurations into operating parameters that can be adjusted according to the operating status.
[0052] Association rules are stored in a parameterized form, which keeps the calculation structure of the rules themselves unchanged, while the prediction output can be changed by adjusting the parameters, thereby adapting to the response characteristics under different hydrological stages. At the same time, through a remote update mechanism, the cloud platform can centrally maintain the rule parameters based on the operation status of multiple sites and distribute them to the RTU terminal, avoiding on-site manual intervention.
[0053] Regarding deviation determination, the tolerance threshold is no longer a fixed constant, but is associated with at least two types of information: one is the sensor measurement accuracy parameter, which is used to limit the lower limit of the threshold to prevent the threshold from being set below the resolution capability of the device itself; the other is the statistical results of recent prediction residuals, which are used to reflect the overall level of prediction error in the current stage. When the overall residuals increase, the threshold is appropriately relaxed to avoid a large number of small deviations triggering investigations; when the overall residuals decrease, the threshold is tightened accordingly to improve the sensitivity of anomaly identification. Through the above mechanism, the triggering conditions for deviation exceeding the limit event can be adaptively adjusted according to the operating status, thereby maintaining stability and effectiveness in long-term operation.
[0054] The following terms mentioned in this plan have the following meanings: Parameterization: Key quantities in the rules are stored as parameters, allowing them to be adjusted without altering the overall computational logic; Remote Update: New parameters are sent from the cloud platform to the RTU terminal via a communication network and made effective; Measurement Accuracy Parameter: Parameters used to reflect the sensor's measurement error level or resolution capability; Prediction Residual: The difference between the predicted value and the actual sampled value; Prediction Residual Statistics: The result obtained by statistically analyzing the prediction residuals over a period of time, used to reflect the overall error level.
[0055] Continuing with the example of downstream water level station S0 in Example 1, the system has been running continuously for a week. The RTU records the prediction residual for each prediction period, and uses the most recent 24 prediction periods, approximately 4 hours, as the statistical window.
[0056] During a certain operational phase, the RTU statistically determined that the mean of the absolute values of the most recent 24 predicted residuals was 0.031 m, and the 95th percentile was 0.058 m; the measurement accuracy parameter of the water level sensor at this site was 0.01 m. At this phase, the cloud platform issued an update command to the RTU, setting the tolerance threshold as: measurement accuracy value 0.01 m + 95th percentile residual 0.058 m = 0.068 m, i.e., ±0.068 m.
[0057] In the four hours prior to the update, S0 triggered six deviation exceedance events, four of which corresponded to residual absolute values between 0.050 and 0.060 m. After the update, in the following four hours, the number of deviation exceedance events decreased to one. The residual absolute value of this event was 0.112 m, which was significantly higher than the new tolerance threshold. Furthermore, it was accompanied by an abnormal trend in water level changes within the event window, making it a high-investigation-value event.
[0058] Meanwhile, based on event reports from multiple sites, the cloud platform discovered that during the centralized scheduling period of dams and sluices, the overall prediction residuals of downstream sites increased. Accordingly, the platform adjusted some parameters in the association rules and sent them to the corresponding RTUs via remote updates, making the predicted values closer to the actual changes during the scheduling period. After the update, the frequency of deviation exceeding the limit events at similar sites during the same scheduling period decreased from an average of 2–3 times / hour to 0–1 times / hour, while still being able to preserve data and perform high-frequency sampling for obvious anomalies.
[0059] Example 3: In hydrological monitoring anomaly investigations, anomalies often do not occur instantaneously at the moment of triggering, but rather undergo a gradual deviation process. If data is only saved after the deviation exceeds the limit, the key changes that occurred before the event will be lost. On the other hand, if all the original data is saved for a long time, it will quickly exhaust the on-site storage resources and will not be conducive to subsequent retrieval and analysis. Therefore, a mechanism is needed to ensure that continuous original data before and after the anomaly occurs can be completely preserved without significantly increasing the storage burden, for post-event review and cause analysis.
[0060] To address the aforementioned issues, this embodiment discloses the following solution: The evidence data preservation unit includes an event window buffer. The buffer is used to cache the original sampling data for a preset duration before the occurrence of the deviation exceeding the limit event, and writes it together with the data during the event into a non-circular storage area after the event occurs.
[0061] In this embodiment, the results of prediction and verification directly determine whether the original data needs to be preserved for a long time. After the RTU generates the prediction result, it does not immediately store all the sampled data for a long time. Instead, during the verification phase, it compares the actual data with the prediction result to determine whether the current prediction is invalid. Only when the verification result shows that the prediction is no longer valid will the system consider the data in that time period to have investigative value.
[0062] Based on the above judgment, the event window buffer is used to reserve a traceable range of data for the prediction results during the verification phase, while the non-circular storage area is only enabled when the prediction is verified as invalid, and is used to solidify the data directly related to the prediction failure process. In this way, the prediction and verification results jointly determine which data needs to be stored for a long time, avoiding the indiscriminate storage of all original data when the prediction is valid.
[0063] The specific technical principle is as follows: by using a two-level storage strategy of caching first and then fixing, data in critical time periods is protected in a targeted manner when an event occurs.
[0064] During normal system operation, the RTU continuously writes the latest raw sampling data to the event window buffer. This buffer uses a circular writing method to save only the data within the most recent preset time period. When new sampling data arrives, the oldest data will be overwritten, thus ensuring that the buffer space occupies a constant.
[0065] When the deviation determination unit determines that a deviation exceeding the limit event has occurred, the evidence data preservation unit immediately performs a data solidification operation: the data cached in the event window buffer before the event occurs is merged with the data collected during the event after the event is triggered and written into the non-circular storage area. The non-circular storage area does not participate in the regular circular writing, and its data will not be overwritten before it is explicitly cleaned up, thereby ensuring that the data evidence required for the anomaly investigation remains complete and usable in long-term operation. Through this mechanism, the system only occupies a limited buffer space during the stable period, while it can fix the complete data before and after the event at once when an anomaly occurs, realizing the traceable preservation of anomaly evidence.
[0066] The following terms mentioned in this plan have the following meanings: Event window buffer: A storage area used to temporarily cache raw sampled data from the recent period, using a circular write method; Preset duration: A pre-set time length used to specify the time range of data that needs to be retained in the buffer; Non-circular storage area: A storage area that does not participate in circular overwrite writing, used to store event-related raw data for a long time; Data solidification: The process of writing data that might otherwise be overwritten into the non-circular storage area and storing it for a long time.
[0067] Taking the downstream water level station S0 in Example 1 as an example, the system parameters are set as follows: regular sampling frequency: 1 time / 60 seconds; event window buffer length: 30 minutes; buffer capacity: 30 original water level sampling records; non-circular storage area is used to save data segments corresponding to deviation exceeding the limit events.
[0068] Between 09:40 and 10:10 on January 4th, the RTU continuously wrote water level sampling data into the event window buffer. By 10:10, the data stored in the buffer covered the time range of 09:40–10:10, with corresponding water level data examples as follows: 2.440, 2.443, 2.447, 2.450, 2.452, 2.454, 2.455, 2.456, 2.456, 2.455, 2.454, 2.454, 2.453, 2.453, 2.452.
[0069] After the deviation exceeding the limit event is determined at 10:10, the RTU performs the following sequential operations: 1. Immediately stop overwriting the data from 09:40 to 10:10 in the event window buffer; 2. Write all 30 minutes of raw sampling data in the buffer to the non-circular storage area; 3. From 10:10 to 10:20, continuously append water level data collected in high-frequency sampling mode (1 time / 5 seconds, approximately 120 records in total) to the same data segment in the non-circular storage area. Ultimately, a continuous data record is formed in the non-circular storage area, covering the complete water level change process from 30 minutes before the anomaly to 10 minutes after the anomaly. In post-event analysis, the platform can clearly identify whether the water level change gradually deviates from the predicted value or occurs abruptly at a certain moment by viewing this continuous data segment, thus providing reliable data for determining the source of the anomaly.
[0070] Example 4: In existing hydrological monitoring systems, even if anomalies can be identified and raw data can be saved, the platform still faces two practical problems: First, anomaly-related information is scattered across different data streams, requiring the platform to repeatedly check prediction conditions, threshold settings, associated station status, and equipment status, resulting in low analysis efficiency; Second, in field environments with limited communication bandwidth, anomalies still compete with a large amount of routine monitoring data for upload resources when they occur, causing key anomaly information to arrive at the platform late, affecting timely handling. Therefore, an event reporting mechanism is needed that can carry the key information required for the investigation at once and prioritize communication resources when an anomaly occurs.
[0071] To address the aforementioned issues, this embodiment discloses the following solution: The event report includes at least: prediction parameter identifier, prediction value, tolerance threshold, time window identifier for deviation exceeding limits, actual data sequence within the time window, data snapshot of associated monitoring stations, and self-test status information of the RTU terminal. When a deviation exceeding limit event occurs, the resource scheduling unit, in addition to increasing the sampling frequency, also marks the event report as a high-priority report and reduces or suspends the reporting frequency of regular monitoring data.
[0072] In this embodiment, the generation of event reports is not based on simple state changes, but on the verification conclusion of the prediction results. The RTU only generates the corresponding event report when the prediction is verified to be false, and uses the verification result as the trigger source of the event. The predicted value, tolerance threshold and actual data sequence contained in the event report are used to reproduce the expected state when the prediction was formed and the process of the prediction being verified to be false on the platform side.
[0073] Meanwhile, the priority adjustment on the communication side is also based on the verification results: when the prediction is correct, the system considers the current operating status to be within the expected range and maintains regular data reporting; when the prediction is verified to be invalid, the system considers the situation to be urgent for investigation and prioritizes information directly related to the prediction verification results to be sent to the platform by increasing the upload priority of event reports and reducing the upload frequency of regular data.
[0074] The technical principle of this embodiment is to transform anomaly reporting from simple status notifications into structured event evidence carrying complete investigation context, and to ensure its timely delivery through the resource yielding mechanism on the communication side.
[0075] Event reports do not merely indicate the occurrence of an anomaly, but rather integrate information regarding the conditions under which deviations exceed limits: by identifying and recording predicted parameters and values, along with tolerance thresholds, the platform can directly reproduce the basis for anomaly determination; by identifying time windows and actual data sequences, the evolution of deviations over time can be observed; by correlating data snapshots from monitoring stations, it can be determined whether the anomaly is consistent with changes in external conditions; and by using RTU self-check status information, equipment-related factors can be preliminarily ruled out or confirmed. The combination of these pieces of information constitutes the minimum set of information required for a complete anomaly investigation.
[0076] In terms of communication resource scheduling, when a deviation exceeds the limit, the system temporarily adjusts the data upload strategy: the event report is marked as high-priority data, so that it is sent in the upload queue before regular monitoring data; at the same time, the reporting frequency of regular monitoring data is reduced or suspended to avoid the limited bandwidth being occupied by low-value data. Through this mechanism, the system can deliver key evidence to the platform as soon as an anomaly occurs, without delay due to the accumulation of regular data.
[0077] The following terms mentioned in this plan have the following meanings: Event Report: A structured dataset describing deviation exceeding events, containing contextual information required for anomaly determination; Predicted Parameter Identifier: Identifier information indicating the category of hydrological parameters that caused the deviation exceeding event; Time Window Identifier: Identifier of the time range corresponding to the deviation exceeding event; Data Snapshot: A dataset of data from associated monitoring stations captured within a specific time window; Self-Check Status Information: Information on the RTU's check of its own operating status or sensor interface status; High-Priority Reporting: A reporting method that prioritizes sending this type of data when communication resources are limited.
[0078] Taking the downstream water level station S0 in Example 1 as an example, this station is connected to the cloud platform through a 4G communication module. The available uplink bandwidth on site is about 50 kbps. The system's normal configuration is as follows: normal monitoring data: uploaded in packets every 10 minutes; event reports: each report is about 12 kB in size; the upload queue adopts a first-in-first-out method and supports priority marking.
[0079] Following the deviation exceeding the limit event at 10:10 on January 4th, the RTU generated an event report with the following main fields: Predicted parameter identifier: water level; Predicted value: 2.520 m; Tolerance threshold: ±0.05 m; Time window identifier: 10:00–10:10; Actual data sequence (10 data points, 1 time / minute): 2.452, 2.455, 2.456, 2.456, 2.455, 2.454, 2.454, 2.453, 2.453, 2.452; Associated station snapshot: Upstream rainfall 18.0 mm; Adjacent water level change: +0.028 m; Self-check status information: Sensor interface normal, communication module normal.
[0080] After generating the event report, the RTU marks the report as high priority and inserts it at the top of the upload queue. At the same time, the regular monitoring data packets originally scheduled to be uploaded at 10:10 are postponed. Under the above bandwidth conditions, the event report is uploaded at 10:10:15, while the regular monitoring data packets are not uploaded until after 10:25. The cloud platform receives the complete event report before 10:11 and can immediately start the anomaly analysis or handling process without waiting for the subsequent regular data to be re-uploaded.
[0081] Example 5: In hydrological monitoring systems, the vast majority of the operating time is in a relatively stable water level phase. If high-frequency raw sampling data is continuously reported during this phase, it will result in a long-term waste of communication and storage resources. However, if the sampling or reporting frequency is simply reduced, the platform may not be able to detect changes in the system's operating status in a timely manner. At the same time, in multi-site deployment scenarios, if each RTU operates independently based on its own local experience, lacking a cross-site centralized analysis and parameter feedback mechanism, the association rules and tolerance thresholds are difficult to optimize with the overall operating status, which can easily lead to long-term drift or regional misjudgments.
[0082] To address the aforementioned issues, this embodiment discloses the following solution: When no deviation exceeding the limit event occurs, the RTU terminal generates and reports summary data. The summary data includes at least the prediction parameter identifier, deviation statistics, and sampling mode identifier. The cloud platform aggregates and analyzes the event reports reported by multiple RTU terminals and, based on the analysis results, sends updated information of the association rule parameters and / or tolerance threshold parameters to the corresponding RTU terminal.
[0083] In this embodiment, prediction and verification are not only used for the real-time operation decision of the field RTU, but also serve as the basic information source for centralized analysis by the cloud platform. When the prediction is continuously verified to be true over multiple prediction periods, the RTU does not need to upload the original sampling data, but only uses summary data to indicate the overall deviation level between the prediction and the actual situation to the platform, thereby reflecting the stability of the system operation.
[0084] When a prediction is frequently verified as invalid across multiple sites or within a specific time period, the cloud platform aggregates these verification results to determine that the current association rule parameters or tolerance thresholds are no longer suitable at the overall level, and accordingly sends parameter update information to the corresponding RTUs. Through this mechanism, prediction and verification results form a feedback loop at the cloud level, enabling the prediction rules to be continuously corrected during the overall system operation.
[0085] The technical principle of this embodiment is to transform the data reporting target during the stable period from transmitting complete data to reflecting the operating status, and to form reverse constraints on the on-site rules through cloud aggregation and analysis.
[0086] In the absence of deviation exceeding the limit event, the RTU does not need to upload the original sampling sequence. It only needs to provide the platform with three key pieces of information through summary data: the parameter objects currently involved in the prediction, the overall deviation level between the prediction and the actual situation, and the sampling mode currently in which the RTU is located. Through this summary information, the platform can determine whether the RTU is in a stable operating state, whether the deviation has an upward trend, and whether it frequently enters a high-frequency sampling mode, without consuming a lot of bandwidth.
[0087] On the cloud side, the platform aggregates and analyzes event reports from multiple RTUs. It not only focuses on individual events but also compares the time distribution, site distribution, and rule correlation of events. When it finds that a certain type of site or a certain time period has a concentrated occurrence of deviation exceeding the limit, the platform regards it as a signal that the rule parameters or threshold settings are no longer suitable for the current operating conditions. Based on this, it adjusts the associated rule parameters and / or tolerance threshold parameters and then issues them down, so that the subsequent judgment conditions of the field RTUs are consistent with the overall operating status, thus forming a closed-loop mechanism of field operation - cloud analysis - parameter feedback.
[0088] The following terms mentioned in this plan have the following meanings: Summary data: Brief data reflecting the operating status of the RTU, excluding the complete original sampling sequence; Deviation statistics: Values obtained by statistically analyzing the deviation between predicted and actual sampled values within a certain time range; Sampling mode identifier: Identification information indicating whether the RTU is currently in regular sampling mode or high-frequency sampling mode; Aggregation analysis: The process of centrally comparing and statistically analyzing information reported by multiple RTUs; Parameter update information: Configuration information sent from the cloud platform to the RTU to adjust association rule parameters or tolerance thresholds.
[0089] Five downstream water level monitoring stations S0–S4 were deployed in a certain river basin, all using the systems of Examples 1 to 4.
[0090] During the stable operation phase from 08:00 to 10:00 on January 4th, no RTUs triggered deviation exceeding the limit event. Each RTU reported summary data to the cloud platform every 10 minutes. Taking S0 as an example, its reported content is as follows (unit: m): 08:10: Predicted parameter identifier = water level; Deviation statistics = 0.012; Sampling mode identifier = conventional 08:20: Predicted parameter identifier = water level; Deviation statistics = 0.014; Sampling mode identifier = conventional 08:30: Predicted parameter identifier = water level; Deviation statistics = 0.011; Sampling mode identifier = conventional 08:40: Predicted parameter identifier = water level; Deviation statistics = 0.015; Sampling mode identifier = conventional 08:50: Predicted parameter identifier = water level; Deviation statistics = 0.013; Sampling mode identifier = conventional 09:00: Predicted parameter identifier = water level; Deviation statistics = 0.014; Sampling mode identifier = conventional The cloud platform determines that S0 is in a stable operating state based on the above summary data, and there is no need to retrieve the original data.
[0091] Between 10:00 and 11:00, stations S0, S1, and S2 triggered deviation exceeding events 2, 3, and 2 times respectively during the dam scheduling period. The snapshots of the associated stations in the corresponding event reports all showed significant changes in the dam's operating conditions. After aggregating and analyzing the event reports from these three stations, the cloud platform determined that the associated rules were insufficient to respond to dam scheduling during this period. Therefore, it adjusted the relevant rule parameters and tolerance threshold parameters and issued an update to the corresponding RTUs at 11:15.
[0092] After the update, during the same scheduling period the following day, the number of deviation exceeding events in S0–S2 decreased to 0–1 times / hour, and the absolute value of the deviation corresponding to the triggering event was greater than 0.10 m, which is a high-investigation-value event. During the stable period, only summary data was reported, and the system communication load remained at the original level. Through the above process, the system achieved closed-loop operation of continuously optimizing the on-site judgment conditions based on cloud aggregation analysis without increasing the data burden during the stable period.
[0093] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.
Claims
1. A hydrological monitoring edge data processing system, characterized in that: include: A cloud platform and an RTU terminal at at least one hydrological monitoring station; Each RTU terminal includes at least: The prediction value generation unit is used to generate predicted values of local hydrological parameters and corresponding tolerance thresholds for future time periods based on locally collected hydrological monitoring data and combined with the associated data of at least one preset associated monitoring station, according to preset association rules. A deviation determination unit is used to compare the actual sampled values of local hydrological parameters with the predicted values within the future time period, and to determine a deviation exceeding the tolerance threshold as a deviation over-limit event. The evidence data preservation unit is used to write the original sampling data within the time window corresponding to the event into a non-circular storage area to prevent it from being overwritten by subsequent data when the event is determined to be an event that exceeds the deviation limit. The resource scheduling unit is used to switch the sampling mode of at least one key hydrological parameter to high-frequency sampling mode when a deviation exceeding the limit event occurs, and to maintain the normal sampling mode when no deviation exceeding the limit event occurs. The event report generation unit is used to generate and upload structured event reports when deviation exceeds limits. The cloud platform is used to receive the event reports and perform analysis and processing.
2. The system according to claim 1, characterized in that: The associated monitoring stations include one or more of the following: upstream rain gauge stations, adjacent water level stations, and dam condition stations.
3. The system according to claim 1, characterized in that: The association rules include rules for generating predicted values based on the historical response relationship between associated monitoring station data and local hydrological parameters. These rules are stored in the RTU terminal in parameterized form and support remote updates.
4. The system according to claim 1, characterized in that: The tolerance threshold is determined in association with at least the local sensor measurement accuracy parameters and the predicted residual statistics over a recent period.
5. The system according to claim 1, characterized in that: The evidence data preservation unit includes an event window buffer, which is used to cache the original sampling data for a preset duration before the occurrence of the deviation exceeding the limit event, and writes it into the non-circular storage area together with the data during the event after the event occurs.
6. The system according to claim 1, characterized in that: The event report includes at least: prediction parameter identifier, prediction value, tolerance threshold, time window identifier for deviation exceeding limit, actual data sequence within the time window, data snapshot of associated monitoring station, and self-test status information of RTU terminal.
7. As described in claim 1, characterized in that: When a deviation exceeds the limit, the resource scheduling unit will not only increase the sampling frequency, but also mark the event report as a high-priority report and reduce or suspend the reporting frequency of regular monitoring data.
8. The system according to claim 1, characterized in that: When no deviation exceeds the limit, the RTU terminal generates and reports summary data, which includes at least the prediction parameter identifier, deviation statistics, and sampling mode identifier.
9. The system according to claim 1, characterized in that: The cloud platform is used to aggregate and analyze event reports from multiple RTU terminals, and based on the analysis results, send updated information on association rule parameters and tolerance threshold parameters to the corresponding RTU terminals.
10. An RTU terminal, running the system according to any one of claims 1-9, characterized in that: The system includes a processor, a memory, a sensor interface, a communication module, and a program in the memory. When the program is executed by the processor, the RTU terminal has the functions of generating predicted values, determining deviations, preserving evidence data, switching sampling modes, and generating and uploading event reports in the system described in claim 1. The evidence data preservation includes writing the original sampling data into a non-circular storage area to prevent overwriting.
Citation Information
Patent Citations
Method and system for setting and monitoring hydrological RTU parameters through mobile terminal
CN111479251A
