A data quality and abnormality discrimination mutual feedback management method and system for a building energy edge terminal

By adopting a dual-dimensional discrimination mechanism and a targeted supplementary data collection and transmission method at the building energy edge terminal, the problems of data caching without backtracking, quality without reassessment, and fragmented anomaly detection have been solved, realizing proactive decision-making and efficient transmission of data quality across the entire link.

CN123178389APending Publication Date: 2026-11-27STATE GRID JIANGSU INTEGRATED ENERGY SERVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611683581.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-29
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies in building energy management suffer from several problems, including data caching and eviction without retrospection, lack of data quality feedback and reassessment, failure to distinguish data value during breakpoint resume, disconnection between data quality and anomaly detection, and lack of boundary preservation and targeted data collection for downlink interruption gaps. These issues lead to data loss or wasted bandwidth.

Method used

A dual-dimensional joint discrimination mechanism based on data range verification, cross-device logical verification, and timing verification is adopted to generate quality scores and anomaly type labels. Data is divided by combining data deviation index, and anomaly weight factors are adjusted by backtracking, and targeted supplementary data collection and breakpoint resume operations are performed to achieve data governance closed loop.

Benefits of technology

This enables data quality to become a proactive decision-making variable across the entire process, breaking the limitations of simply discarding cached data without rescuing it or filling gaps with new data. It ensures the retention and efficient transmission of critical data and avoids miscontrol.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123178389A_ABST
    Figure CN123178389A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of building energy data governance, and discloses a data quality and abnormality discrimination mutual feedback governance method and system of a building energy edge terminal, which comprises the following steps: based on data range verification and time sequence verification results, generating quality points and abnormality type labels, combining a data deviation degree index to construct a two-dimensional joint discrimination mechanism, and performing building energy edge terminal monitoring data division processing; based on the monitoring data division results, backtracking and adjusting abnormality weight factors of data entries that have been cached and have not been eliminated in the local cache, and calculating the retention value of the data entries according to the adjusted abnormality weight factors and the quality points; sensing the interruption state of the downlink and uplink data links, and performing directional resampling and breakpoint resume transmission operations after link recovery according to the interruption state and the retention value. The application can break the inherent limitations that the cache only eliminates and does not rescue, and the gap does not resample and only transmits completely.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of building energy data governance technology, and more specifically, to a data quality and anomaly detection feedback governance method and system for building energy edge terminals. Background Technology

[0002] Building energy management relies on a large number of field devices and sensors (electricity, water, heating, cooling, environment, etc.) to continuously collect data for energy consumption analysis, anomaly diagnosis, and optimized control. Edge terminals occupy the middle layer between field devices and the cloud: on the one hand, they receive data reported by downstream devices (device to edge); on the other hand, they transmit data to the cloud (edge ​​to cloud). Both types of links can be interrupted due to poor field network conditions, weak wireless coverage, temporary faults, etc. This could be due to interruptions in device reporting (the edge loses recent device data, creating a data gap) or uplink transmission (the edge cannot send data to the cloud and must cache it locally for later transmission). Furthermore, data quality itself is inconsistent (sensor aging, momentary interruptions, operational disturbances). This creates three rigid requirements: when uplink is interrupted, data must be cached locally and reliably transmitted after recovery; when downlink is interrupted, gap boundaries and the most recent valid baseline must be preserved, and targeted data collection should be performed after recovery rather than blindly retransmitting the entire dataset; data quality and anomalies must be identifiable to avoid erroneous control based on dirty data or data gaps. Based on these requirements, existing technologies have the following main shortcomings:

[0003] 1. Cache eviction is only for the present and does not look back: The current solution determines priorities based on the current predicted future scenarios, and data already in the event buffer can only be unfrozen and discarded (only demoted, not demoted). Once the cache is full, historical window data that is deemed critical only after the fact will still be evicted.

[0004] 2. Data quality feedback only updates system parameters and does not reassess specific data entries: Current technology drives control decisions with data quality scores and updates global scalars such as alarm thresholds and trust scores through a learning module. Existing technology never performs a targeted, entry-level reassessment of the retention value of historical data entries already stored in the database.

[0005] 3. Resumable transmission only addresses uplink interruptions and does not differentiate data value: Existing resume transmission solutions mostly assume that the interruption only occurs in the uplink direction from the edge to the cloud, without considering the data gap caused by downlink interruptions from the device to the edge. Furthermore, when resumable transmission is possible, it often stores data in layers with a fixed priority at the time of writing, and the priority decreases monotonically over time. It does not combine quality score, anomaly weight, and rebuildability for non-monotonic dynamic correction, making it difficult to prioritize and protect truly critical data under weak network bandwidth.

[0006] 4. Data quality and anomaly detection are disconnected: Quality scoring and anomaly classification are usually two isolated modules. Quality results are not written back to anomaly judgment, and anomaly results do not feed back into quality assessment. Furthermore, they are not linked with control and security based on untrusted measurement points, which poses a risk of miscontrol based on dirty data.

[0007] 5. Lack of boundary preservation and targeted data collection for downlink interruption data gaps: When the device → edge link is interrupted, the edge loses recent device data, forming a time gap. The existing solution neither preserves the gap boundary and the most recent effective baseline, nor supports targeted data collection after recovery. This results in either permanent loss of information for that time period or forced full retransmission, wasting bandwidth and impacting the device.

[0008] No effective solutions have yet been proposed to address the problems in the relevant technologies. Summary of the Invention

[0009] To address the problems in related technologies, this invention proposes a data quality and anomaly detection feedback governance method and system for building energy edge terminals, in order to overcome the aforementioned technical problems existing in existing related technologies.

[0010] Therefore, the specific technical solution adopted by the present invention is as follows:

[0011] In a first aspect, the present invention provides a data quality and anomaly detection feedback governance method for building energy edge terminals, comprising:

[0012] S1. Based on the results of data range verification, cross-device logic verification and timing verification, generate quality scores and anomaly type labels, and combine data deviation index to construct a two-dimensional joint discrimination mechanism to perform data segmentation processing of building energy edge terminal monitoring data;

[0013] S2. Based on the monitoring data segmentation results, backtrack and adjust the abnormal weight factors of data entries that have been cached but not yet evicted in the local cache, and calculate the retention value of the data entries based on the adjusted abnormal weight factors and quality scores.

[0014] S3. Sensing the interruption status of downlink and uplink data links, and performing targeted supplementary data collection and breakpoint resume operations after link recovery based on the interruption status and retention value, so as to complete the closed-loop processing of data governance.

[0015] Preferably, S1 includes:

[0016] S11. For the monitoring data collected by the building energy edge terminal, perform range verification, cross-device logic verification, and timing verification in sequence, and obtain the quality score and preliminary anomaly type label of the monitoring data based on the verification results.

[0017] S12. Obtain historical operational data of the target measurement point, train and construct a standardized data baseline based on the historical operational data, calculate the degree of deviation of the monitoring data from the standardized data baseline, and obtain the data deviation.

[0018] S13. Determine the quantile value based on the distribution of the quality score corresponding to the monitoring data, and determine the baseline threshold of the quality score. Construct a two-dimensional joint discrimination mechanism based on the data deviation and the baseline threshold of the quality score. Through the two-dimensional joint discrimination mechanism, the monitoring data is divided into real anomalies, sensor anomalies, unreliable data, and normal data.

[0019] Preferably, S11 includes:

[0020] Acquire monitoring data received by the target building's energy edge terminal and reported by field equipment and sensors, and calculate the range verification score based on the comparison results of the data entry values ​​of the monitoring data with the preset physical reasonable value range;

[0021] The monitoring data from different measuring points at the same time are compared with the inherent operating logic rules between devices to determine the number of conflicting logic rules and the number of logic rules applicable to the corresponding time, so as to calculate the cross-device logic verification score.

[0022] Based on the sampling missing results and reporting time range of the monitoring data, the timing verification score is calculated, and the quality score of the monitoring data is calculated by weighting the range verification score, cross-device logic verification score and timing verification score.

[0023] Based on the range verification score, cross-device logic verification score, and timing verification score, preliminary anomaly type labels are generated for the monitoring data. The preliminary anomaly type labels include at least one of sensor drift and communication packet loss.

[0024] Preferably, the monitoring data is divided into three categories—real anomalies, sensor anomalies, unreliable data, and normal data—through a dual-dimensional joint discrimination mechanism:

[0025] When the quality score of the monitoring data is greater than or equal to the baseline threshold and the deviation is greater than or equal to the deviation threshold, it indicates that the data source corresponding to the monitoring data is compliant and there is an actual abnormality in the field equipment. In this case, the monitoring data will be classified as a real abnormality.

[0026] When the quality score of the monitoring data is less than the baseline threshold and the deviation is greater than or equal to the deviation threshold, it indicates that the quality of the monitoring data is not up to standard and the abnormal deviation is caused by sensor acquisition failure. In this case, the monitoring data is classified as sensor abnormal.

[0027] When the quality score of the monitoring data is less than the baseline threshold and the deviation is less than the deviation threshold, it indicates that there is a problem with the quality of the monitoring data being distorted or invalid. If the monitoring data does not show deviation from the standardized data baseline, the monitoring data will be classified as unreliable.

[0028] When the quality score of the monitoring data is greater than or equal to the baseline threshold and the deviation is less than the deviation threshold, it indicates that the quality of the monitoring data is qualified and consistent with the standardized data baseline. In this case, the monitoring data is classified as normal.

[0029] Preferably, S2 includes:

[0030] S21. When the monitoring data is divided into real anomalies and sensor anomalies, a retrospective recalibration mechanism is triggered. The retrospective window is determined based on the target measurement point configuration, with the judgment time as the endpoint. The anomaly weight factor of the data entries that have been cached and have not yet been eliminated in the retrospective window is adjusted upward.

[0031] S22. When the monitoring data is classified as unreliable, a reverse weighting mechanism is triggered to reduce the abnormal weight factors of each data entry in the backtracking window.

[0032] S23. Calculate the retention value of each data entry in the cache based on the adjusted or decreased abnormal weight factor, timeliness factor, and rebuildability factor. When the cache space is insufficient, eliminate data entries according to their retention value until the cache space is sufficient.

[0033] Preferably, S23 includes:

[0034] The timeliness factor is determined based on the generation time of the data entry, and it is determined whether the data entry can be obtained by other measurement points through business logic calculation. The first reconstruction parameter is determined based on the judgment result, and it is determined whether the data entry can be recovered by adjacent measurement points through interpolation calculation to determine the second reconstruction parameter.

[0035] Determine whether a copy of a data entry exists in the cloud, determine the third reconstruction parameter based on the determination result, and calculate the reconstructability factor of the data entry based on the first reconstruction parameter, the second reconstruction parameter, and the third reconstruction parameter.

[0036] The retention value of data entries is calculated based on quality score, anomaly weight factor, timeliness factor, and rebuildability factor. The retention values ​​are arranged in ascending order, and data entries are eliminated in turn. Elimination stops when there is sufficient cache space.

[0037] Preferably, S3 includes:

[0038] S31. Based on the connectivity status of the downlink and uplink data links, identify the direction of the interruption. The direction of the interruption includes the downlink direction from the field device to the edge terminal and the uplink direction from the edge terminal to the cloud platform.

[0039] S32. When a downlink interruption is identified, retain the gap boundary data and effective baseline as a reference for anomaly detection and as anchor points for re-collection after link recovery; when an uplink interruption is identified, retain the local buffer data to be transmitted to the cloud.

[0040] S33. After the uplink data link is restored, the local buffered data is processed for breakpoint resumption in descending order of retention value, and the single synchronization set is determined in combination with the current available bandwidth to complete the synchronization of data entries to the cloud.

[0041] S34. After the downlink data link is restored, based on the gap boundary data and the effective baseline, only request the missing window monitoring data from the field equipment corresponding to the interruption to supplement the data collection, and re-verify the range, cross-device logic and timing of the supplemented monitoring data to complete the data governance closed loop.

[0042] Preferably, the single synchronization set includes data entries within the event window that are identified as either a real anomaly or a sensor anomaly;

[0043] The effective baseline is the baseline state corresponding to the last monitoring data that was judged as normal or truly abnormal by the dual-dimensional joint discrimination mechanism before the downlink interruption occurred.

[0044] Preferably, when any measurement point is judged to be a sensor abnormality due to cross-device logic verification failure, or when the downlink data link is interrupted and feedback is missing, the measurement point is added to the set of untrusted measurement points.

[0045] The set of untrusted measurement points is compared with the set of measurement points on which the automatic control command depends. The execution of the automatic control command that depends on the measurement points in the set of untrusted measurement points is suspended, and the control is switched to the safe default control to form a control interlock to avoid erroneous control based on untrusted data.

[0046] Secondly, the present invention also provides a data quality and anomaly detection feedback governance system for building energy edge terminals, the system comprising:

[0047] The multi-verification scoring and anomaly identification module is used to generate quality scores and anomaly type labels based on data range verification, cross-device logic verification and timing verification results, and to build a two-dimensional joint discrimination mechanism in combination with data deviation index to perform data segmentation and processing of building energy edge terminal monitoring data;

[0048] The backtracking remarking and retention value calculation module is used to backtrack and adjust the abnormal weight factors of data entries that have been cached but not yet evicted in the local cache based on the monitoring data division results, and calculate the retention value of the data entries based on the adjusted abnormal weight factors and quality scores.

[0049] The interruption detection and re-transmission module is used to detect the interruption status of downlink and uplink data links, and perform targeted re-transmission and breakpoint resumption operations after link recovery based on the interruption status and retention value, so as to complete the closed-loop processing of data governance.

[0050] The beneficial effects of this invention are as follows:

[0051] This invention is based on a data quality graded-driven edge cache eviction, boundary retention and targeted re-acquisition under bidirectional link interruption, and a closed-loop linkage method for retransmission and anomalies. It makes data quality an active decision variable throughout the entire link of acquisition, caching, eviction, synchronization and control. It also breaks the inherent limitations of cache only eviction without rescue and gaps without re-acquisition and full transmission by using post-event backtracking recalibration and bidirectional interruption boundary retention. Attached Figure Description

[0052] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0053] Figure 1 This is a flowchart of a data quality and anomaly detection feedback management method for building energy edge terminals according to an embodiment of the present invention;

[0054] Figure 2 This is a schematic diagram of a data quality and anomaly detection feedback system for a building energy edge terminal according to an embodiment of the present invention;

[0055] Figure 3 This is a schematic diagram of a bidirectional data link in a data quality and anomaly detection feedback management method for building energy edge terminals according to an embodiment of the present invention;

[0056] Figure 4 This is a flowchart of the multi-verification scoring process in a data quality and anomaly detection feedback governance method for building energy edge terminals according to an embodiment of the present invention;

[0057] Figure 5 This is a schematic diagram of the four-quadrant classification of joint discrimination of quality score and deviation degree in a data quality and anomaly discrimination feedback governance method for building energy edge terminals according to an embodiment of the present invention;

[0058] Figure 6 This is a schematic diagram illustrating the role of the time window and anomaly weight in the backtracking retention value recalibration in a data quality and anomaly detection feedback governance method for building energy edge terminals according to an embodiment of the present invention.

[0059] Figure 7 This is a flowchart of directional data collection and breakpoint resumption in a data quality and anomaly detection feedback management method for building energy edge terminals according to an embodiment of the present invention.

[0060] Figure 8 This is a schematic diagram of data quality and anomaly detection feedback and control interlocking linkage in a data quality and anomaly detection feedback management method for building energy edge terminals according to an embodiment of the present invention.

[0061] In the picture:

[0062] 1. Multi-verification scoring and anomaly detection module; 2. Backtracking re-marking and retention value calculation module; 3. Interruption detection and re-transmission module. Detailed Implementation

[0063] To further illustrate the various embodiments, the present invention provides accompanying drawings, which are part of the disclosure of the present invention. These drawings are mainly used to illustrate the embodiments and can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments. With reference to these drawings, those skilled in the art should be able to understand other possible implementation methods and the advantages of the present invention.

[0064] According to embodiments of the present invention, a method and system for data quality and anomaly detection feedback governance of building energy edge terminals are provided.

[0065] The present invention will now be further described in conjunction with the accompanying drawings and specific embodiments, such as... Figure 1 As shown, the data quality and anomaly detection feedback governance method for building energy edge terminals according to an embodiment of the present invention includes:

[0066] Step S1: Based on the data range verification, cross-device logic verification and timing verification results, generate quality scores and anomaly type labels, and combine them with data deviation indicators to construct a two-dimensional joint discrimination mechanism to perform building energy edge terminal monitoring data segmentation processing.

[0067] In one embodiment, step S1 includes: step S11, performing range verification, cross-device logic verification, and timing verification sequentially on the monitoring data collected by the building energy edge terminal, and obtaining the quality score and preliminary anomaly type label of the monitoring data based on the verification results; step S12, obtaining the historical operation data of the target measuring point, training and constructing a standardized data baseline based on the historical operation data, calculating the degree of deviation of the monitoring data from the standardized data baseline, and obtaining the data deviation degree; step S13, determining the quantile value according to the distribution of the quality score corresponding to the monitoring data, determining the quality score baseline threshold, constructing a two-dimensional joint discrimination mechanism based on the data deviation degree and the quality score baseline threshold, and classifying the monitoring data into real anomalies, sensor anomalies, unreliable data, and normal data through the two-dimensional joint discrimination mechanism.

[0068] In one embodiment, step S11 includes: acquiring monitoring data received by the target building energy edge terminal and reported by field devices and sensors, and calculating a range verification score based on the comparison results of the data entry values ​​of the monitoring data with the preset physical reasonable value range; comparing the monitoring data of different measuring points at the same time with the inherent operating logic rules between devices to determine the number of conflicting logic rules and the number of logic rules applicable to the corresponding time, so as to calculate the cross-device logic verification score; calculating a timing verification score based on the sampling missing results and reporting time range of the monitoring data, and calculating the quality score of the monitoring data by weighting the range verification score, cross-device logic verification score and timing verification score; generating a preliminary anomaly type label for the monitoring data based on the range verification score, cross-device logic verification score and timing verification score, wherein the preliminary anomaly type label includes at least one of sensor drift and communication packet loss.

[0069] In one embodiment, the dual-dimensional joint discrimination mechanism classifies monitoring data into real anomalies, sensor anomalies, unreliable data, and normal data, including: when the quality score of the monitoring data is greater than or equal to the quality score baseline threshold, and the data deviation is greater than or equal to the deviation threshold, it indicates that the data source corresponding to the monitoring data is compliant and the on-site equipment has an actual anomaly, and the monitoring data is classified as real anomalies; when the quality score of the monitoring data is less than the quality score baseline threshold, and the data deviation is greater than or equal to the deviation threshold, it indicates that the monitoring data quality is substandard and the abnormal deviation is caused by sensor acquisition failure, and the monitoring data is classified as sensor anomalies; when the quality score of the monitoring data is less than the quality score baseline threshold, and the data deviation is less than the deviation threshold, it indicates that the monitoring data quality has distortion or invalidity issues and the monitoring data does not show deviation from the standardized data baseline, and the monitoring data is classified as unreliable; when the quality score of the monitoring data is greater than or equal to the quality score baseline threshold, and the data deviation is less than the deviation threshold, it indicates that the monitoring data quality is qualified and consistent with the standardized data baseline, and the monitoring data is classified as normal data.

[0070] It should be noted that the multi-verification scoring involves a three-pronged approach: range verification, cross-device logical verification, and time-series verification, all performed on each data point (i.e., monitoring data), to generate a quality score and anomaly type markers; the details are as follows:

[0071] Range validation checks whether data values ​​fall within a pre-defined, physically reasonable range (e.g., upper and lower thresholds for physical quantities like temperature and pressure), and marks values ​​outside this range as outliers. A range validation score is calculated. Data within a reasonable range is assigned a value of 1, while data exceeding the threshold range is assigned a value of 0.

[0072] Cross-device logic verification is based on the inherent operational logic rules between devices. It compares the logical consistency of monitoring data from different measuring points at the same time. These rules are objective, fixed relationships between devices, and verification relationships can be maintained in advance in the system. For example, the rule can be set as follows: when the air conditioning unit is running, the fan must run synchronously. If the air conditioning unit is detected to be running, but the fan is not running, then there is abnormal data with a logical conflict, and a cross-device logic verification score is calculated. Values.

[0073] Time series verification: If, during the time series verification process, sampling is found to be missing in the monitoring data at a corresponding time point, or if data reporting exceeds the preset time range and times out, the time series data verification is deemed to be in violation, and the corresponding quality defect is marked in the subsequent quality score calculation. Calculate the time series verification score. , This indicates that the duration or deviation exceeds or deviates from the window duration. If the value is less than 0, then the value is 0.

[0074] After completing the above three types of validations, generate a value range for each data entry that is within the specified range. Quality score of time-series data within the interval (i.e., quality score of monitoring data) And complete the initial anomaly type labeling (such as sensor drift, communication packet loss, etc.), for example, when the range verification score is... A value of 0 indicates sensor drift; when the timing verification score is 0, it is considered sensor drift. A score less than 1 (indicating missing samples or reporting timeout) is marked as packet loss; when the cross-device logical verification score is less than 1, it is considered as packet loss. When the score is less than 1 (indicating interlocking logic conflict), it is marked as a logic conflict or incorporated into sensor drift. The quality score is calculated based on a weighted average of multi-dimensional verification results, covering three core verification dimensions: range verification, cross-device logic verification, and timing verification. The specific calculation formula is as follows:

[0075] ;

[0076] in, The range verification weight is set to 0.3 by default, but can be adjusted according to the importance of the measurement points. The weight for cross-device logic verification is set to 0.3 by default. For test points involving core interlocking logic, the weight can be increased to 0.5. The weight for time series verification is set to 0.4 by default, and can be increased to 0.6 for measurement points with obvious dynamic changes; the weight satisfies... The allocation ratio can be customized according to the needs of the scenario.

[0077] Adaptive baseline and anomaly detection use a joint criterion of quality score × deviation to classify data into four categories: true anomalies, sensor anomalies, unreliable data, and normal data. Specifically, a standardized data baseline is trained and constructed based on historical operational data. A quantification algorithm is used to calculate the degree of deviation of real-time monitoring data from the baseline, resulting in the data deviation index D. Where μ is the mean of the standardized baseline data and σ is the standard deviation. The current monitoring data value is represented by D, which is the standard deviation multiple of the current data from the baseline mean. Based on a preset threshold (i.e., deviation threshold), the data deviation is divided into three levels: when the deviation D is less than 2, the data is in a normal state; when the deviation D is greater than or equal to 2 and less than 3, the data is in a slightly deviated state; when the deviation D is greater than or equal to 3, the data is in a significantly deviated state. This is combined with the generated time-series data quality score (i.e., the monitoring data quality score). A two-dimensional joint discrimination mechanism based on quality score and deviation is constructed, by setting a baseline threshold for the quality score. Typically, a threshold value is selected from the upper part of the quality score distribution, for example, 70%. This threshold can be adjusted to suit the actual application scenario, ultimately determining the data credibility judgment threshold with a certain degree of redundancy. The operational status of real-time acquired data is then refined and classified, with the specific judgment rules as follows:

[0078] True anomaly: Data quality score meets requirements Meanwhile, the data deviation satisfies This indicates that the data source is of compliant quality and the data is authentic and valid, and the system has identified an actual abnormality in the equipment or operating conditions.

[0079] Sensor anomaly: Data quality score meets requirements Meanwhile, the data deviation satisfies This indicates that the data deviates from the baseline overall, but the data quality itself is substandard. The abnormal deviation is caused by hardware problems such as sensor acquisition failure and equipment disturbance.

[0080] Data is unreliable: Data quality score meets requirements. Meanwhile, the data deviation satisfies This indicates significant data quality defects, and the data did not show obvious baseline deviation. The collected data had problems such as distortion and invalidity, and was not of analytical value.

[0081] Data is normal: Data quality score meets requirements. Meanwhile, the data deviation satisfies This indicates that the data quality is acceptable and consistent with historical baseline data.

[0082] Step S2: Based on the monitoring data segmentation results, backtrack and adjust the abnormal weight factors of data entries that have been cached but not yet evicted in the local cache, and calculate the retention value of the data entries based on the adjusted abnormal weight factors and quality scores.

[0083] In one embodiment, step S2 includes: step S21, when the monitoring data is divided into real anomalies and sensor anomalies, a backtracking recalibration mechanism is triggered, with the discrimination time as the endpoint, a backtracking window is determined according to the target measurement point configuration, and the anomaly weight factor of the cached and not yet eliminated data entries in the backtracking window is increased; step S22, when the monitoring data is divided into unreliable data, a reverse weighting mechanism is triggered, and the anomaly weight factor of each data entry in the backtracking window is decreased; step S23, based on the increased or decreased anomaly weight factor, timeliness factor, and rebuildability factor, the retention value of each data entry in the cache is calculated, and when the cache space is insufficient, data entries are eliminated according to the size of the retention value until the cache space is sufficient.

[0084] In one embodiment, step S23 includes: determining a timeliness factor based on the generation time of the data entry, and determining whether the data entry can be obtained by other measurement points through business logic calculation; determining a first reconstruction parameter based on the judgment result; determining whether the data entry can be recovered by adjacent measurement points through interpolation calculation; determining a second reconstruction parameter; determining whether there is a copy of the data entry in the cloud; determining a third reconstruction parameter based on the judgment result; calculating the reproducibility factor of the data entry based on the first reconstruction parameter, the second reconstruction parameter, and the third reconstruction parameter; calculating the retention value of the data entry based on the quality score, the anomaly weight factor, the timeliness factor, and the reproducibility factor; arranging the retention values ​​in ascending order; and sequentially eliminating data entries, stopping elimination when there is sufficient cache space.

[0085] Specifically, retrospective value recalibration refers to immediately triggering a retrospective mechanism upon identifying a real anomaly or sensor anomaly at time t. Previously cached but not yet evicted historical window data (i.e., pre-emptive windows) will be revalued, specifically by introducing an anomaly weighting factor. value range In this embodiment, , , with an upward adjustment in intensity upper limit Correspondingly, the initial value is 1, through the abnormal weight factor Upgrading its value will save key pre-emptive window data from elimination candidates, while downgrading it will be done if the data is deemed unreliable.

[0086] when When the anomaly is real or a sensor malfunction, retrieve the backtracking window. Where Δ is configured according to the measurement point (example value: 30 minutes before the fault or the previous N sampling cycles), the cached data entries within the window are adjusted upwards using the following formula: Where k is the up-adjustment intensity (example value k=2), the closer to The more items are upgraded, the more their retention value V increases non-monotonically over time, and they are excluded from the elimination candidates.

[0087] E applies to the retention value attribute of specific data entries, rather than global system parameters such as alarm thresholds and trust scores. This mechanism is equally applicable to local buffers left over from uplink interruptions and boundary data retained before downlink interruptions.

[0088] For example, if a sensor malfunction is determined to be sudden, high-quality data from a period of time before the malfunction occurs will have a significantly higher retention priority due to its high value in tracing the source of the malfunction. As a result, the data will be forcibly moved from the original candidate area to the core retention area. This mechanism effectively solves the problem of critical data being prioritized for elimination after the fact in traditional caching strategies because it was written earlier. It ensures that critical context information before and after the malfunction can still be fully preserved even when cache space is limited.

[0089] The decision to eliminate based on retained value is based on Calculate the retention value of each data point (Q quality score, T timeliness, R rebuildability, E anomaly weight), and evict data in ascending order of value when the cache is insufficient. Critical data is forcibly retained. For quality score, As an abnormal weighting factor, As a timeliness factor, its value gradually decreases as the data is generated. In this embodiment, ,in, The time elapsed from the time the data entry was generated to the current time is represented by λ, which is the attenuation coefficient (configurable according to the importance of the measurement point). The longer the data was generated, the lower the value of the timeliness factor, and the lower the retention value of the data will be. As a reproducibility factor, based on the reproducibility factor Specifically, it determines whether a data entry can be obtained through calculations based on business logic relationships from other measurement points. If so, the first reconstruction parameter... If not, then the first reconstruction parameter ; Whether the data entry can be recovered by interpolation from adjacent measurement points; if so, then the second reconstruction parameter If not, then the second reconstruction parameter ; Does a copy of the data entry already exist in the cloud? If so, then the third reconstruction parameter If not, then the third reconstruction parameter If it cannot be rebuilt When all three can be recovered, R takes the smaller value.

[0090] Step S3: Sensing the interruption status of the downlink and uplink data links, and performing targeted data collection and breakpoint resumption operations after link recovery based on the interruption status and retention value, so as to complete the closed-loop processing of data governance.

[0091] In one embodiment, step S3 includes: Step S31, identifying the direction of interruption based on the connectivity status of the downlink and uplink data links, including the downlink direction from the field device to the edge terminal and the uplink direction from the edge terminal to the cloud platform; Step S32, when the downlink interruption is identified, retaining the gap boundary data and the effective baseline as a reference for anomaly detection and as anchor points for re-collection after the link is restored; when the uplink interruption is identified, retaining the local buffer data to be transmitted to the cloud; Step S33, after the uplink data link is restored, performing breakpoint resumption processing on the local buffer data in descending order of retention value, and determining the single synchronization set in combination with the current available bandwidth to complete the synchronization of data entries to the cloud; Step S34, after the downlink data link is restored, based on the gap boundary data and the effective baseline, requesting monitoring data for the missing window only from the field device corresponding to the interruption for re-collection, and re-verifying the range, cross-device logic, and timing of the re-collected monitoring data to complete the data governance closed loop.

[0092] In one embodiment, a single synchronization set includes data entries within an event window that are judged as either genuine anomalies or sensor anomalies; the effective baseline is the baseline state corresponding to the last monitoring data that was judged as normal or genuinely abnormal by the dual-dimensional joint discrimination mechanism before the downlink interruption occurred.

[0093] In one embodiment, when any measurement point is identified as a sensor malfunction due to cross-device logic verification failure, or when downlink data link interruption leads to feedback loss, the measurement point is added to the untrusted measurement point set. The untrusted measurement point set is compared with the measurement point dependency set on which the automatic control command depends. The execution of the automatic control command that depends on the measurement points in the untrusted measurement point set is suspended, and the control is switched to the safe default control to form a control interlock to avoid erroneous control based on untrusted data.

[0094] It should be noted that bidirectional link interruption detection and boundary retention identify in real time whether the interruption occurs between the device and the edge (downlink) or between the edge and the cloud (uplink). When downlink is interrupted, gap boundary data and the most recent valid baseline are retained as a reference for anomaly detection and as anchor points for re-collection after recovery. When uplink is interrupted, local buffer data to be transmitted is retained. Regardless of which side is interrupted, boundary or critical data is given priority and is not discarded.

[0095] Post-recovery targeted data acquisition and breakpoint resumption refers to resuming data acquisition from high to low breakpoints according to the retention value after uplink recovery, and determining the single synchronization set according to the current available bandwidth. In weak networks, only high-resolution and abnormal event windows are transmitted. After downlink recovery, based on the reserved gap boundary, only the corresponding device is requested to acquire the missing window data, rather than retransmitting the entire data.

[0096] During the process of reverse weight reduction and control interlocking, the abnormal weight factor can be adjusted up or down (affected by both post-judgment and logic verification failure). When a measurement point is judged to be abnormal due to cross-device logic verification failure, or when the device-to-edge link is lost and feedback is missing, the control interlocking mechanism is automatically triggered to suspend the AI ​​control commands (i.e. automatic control commands) that depend on the measurement point and switch to the safety default to avoid miscontrol.

[0097] like Figure 2 As shown, according to another embodiment of the present invention, a data quality and anomaly detection feedback governance system for building energy edge terminals is also provided, the system comprising:

[0098] The multi-verification scoring and anomaly identification module 1 is used to generate quality scores and anomaly type labels based on data range verification, cross-device logic verification and timing verification results, and to build a two-dimensional joint discrimination mechanism in combination with data deviation index to perform data segmentation processing of building energy edge terminal monitoring data;

[0099] The backtracking remarking and retention value calculation module 2 is used to backtrack and adjust the abnormal weight factors of data entries that have been cached and not yet evicted in the local cache based on the monitoring data division results, and calculate the retention value of the data entries based on the adjusted abnormal weight factors and quality scores.

[0100] The interruption detection and re-transmission module 3 is used to detect the interruption status of the downlink and uplink data links, and to perform targeted re-transmission and breakpoint resumption operations after the link is restored based on the interruption status and retention value, so as to complete the closed-loop processing of data governance.

[0101] To facilitate understanding of the above technical solutions of the present invention, the following further explains the above technical solutions of the present invention from the perspective of architecture and principle, as follows:

[0102] Taking an air conditioning unit and its associated blower measuring point in a building's refrigeration plant as a specific example, such as... Figure 3 As shown, the air conditioning unit, the supply fan, and the corresponding supply air temperature and return air temperature measuring points are all arranged on the field equipment layer. The operating status and monitoring data are reported to the edge terminal via the downlink data link. The edge terminal then transmits the treated data to the cloud platform via the uplink data link. When the air conditioning unit is running, its supporting supply fan should run synchronously. The two constitute a pre-maintained cross-equipment interlocking rule. The physical quantities such as supply air temperature and return air temperature are each set with upper and lower limit thresholds.

[0103] like Figure 4 As shown, at time t, the edge terminal receives a set of reported data from the air conditioning unit and the supply fan, and performs triple verification. The range verification checks whether the supply air temperature value falls within the preset upper and lower limit range: if it falls within the range, ,otherwise Outliers are marked. Cross-device logic verification compares the operating status at the same time: if the air conditioning unit is detected as "on" while the blower is "off," which conflicts with the aforementioned interlocking rules, the result is given according to the ratio of the number of conflicting rules to the number of applicable rules. The timing check verifies whether the data at this moment is reported on time, whether there are any missing samples or timeouts: if all are normal, Otherwise press The value is taken as 0 if it is less than 0. The three categories of scores are calculated as follows: The composite quality score is calculated using the example weights of the embodiments. , , The value of the synthesis result is located in At the same time, a preliminary anomaly type label is given based on the verification results.

[0104] like Figure 5 As shown, a standardized baseline is constructed using the historical operating data of the air conditioning unit. The deviation D of the data at this moment from the baseline is calculated and compared with the quality score threshold. Combine and perform four-quadrant discrimination: if and If it is judged as a genuine anomaly, meaning there is an actual problem with the air conditioning unit or its operating condition; and If the sensor is faulty, it indicates that the air supply temperature measuring point itself is of substandard quality; and If the data is deemed unreliable; and This is considered normal. For example, if If the sensor is identified as abnormal at any time, that is, the quality of the air supply temperature measuring point itself is not up to standard, then the next step of backtracking is triggered.

[0105] like Figure 6 As shown, backtracking recalibration is performed at Triggered immediately, retrieve the backtracking window Among them, Δ is set according to the measurement point configuration. For the historical data entries that are cached and not yet obsolete within the window, the values ​​are taken 30 minutes or the previous N sampling periods before the fault. Increase the abnormal weight factor In this embodiment, k takes the example value 2, and the closer it is to the value of k, the better. The more items are added; Initially set to 1, the range of values ​​is... After the adjustment, the retention value of historical data entries within the 30 minutes prior to the air conditioning unit failure does not monotonically increase over time, and these entries are excluded from the elimination candidates. This ensures that the key context before and after the failure is fully preserved even with limited caching. It applies to retention value attributes of specific data entries, rather than global parameters such as alarm thresholds or trust scores. If data is determined to be untrustworthy at a certain moment, the corresponding entry will be downgraded accordingly. .

[0106] like Figure 7 As shown, the decision to eliminate items based on retained value is... Calculate the retention value of each entry, where, It gradually decays over time as the data is generated; If the supply air temperature can be calculated from other measuring points according to business logic, ,otherwise If it can be recovered by interpolation from adjacent measuring points, ,otherwise If a copy already exists in the cloud, ,otherwise When the local cache is full, press Eliminated from low to high, the window entries that were recovered before the failure were due to... The adjustment was made upwards, but the policy was forcibly retained.

[0107] Simultaneously, the direction of the interruption is identified in real time. If the downlink from the device to the edge is interrupted in this embodiment, and the edge terminal loses the recently reported data of the air conditioning unit, forming a time gap, then the gap boundary data and the most recent valid baseline are retained as the anchor point for supplementary data collection. If the uplink from the edge to the cloud is interrupted, the local buffer to be uploaded is retained. After the link is restored, the uplink is restored according to... Resume transmission from high to low resolution, and determine the single synchronization set according to the current available bandwidth. In the case of weak network, only high resolution entries and the window 30 minutes before the fault are resumed. When the downlink is restored, based on the reserved gap boundary, only request the missing window data to be collected in a targeted manner from the air conditioning unit, rather than requiring the unit to retransmit the full amount.

[0108] like Figure 8As shown, the anomaly detection results are linked with the control commands. If the blower measurement point is judged as a sensor anomaly due to the failure of cross-device logic verification, or if the feedback is missing due to the loss of the device-to-edge link, the measurement point is added to the untrusted measurement point set, the AI ​​control commands that depend on the state of the blower are suspended, and the safety default value is switched. After the data returns to normal, the interlock is automatically released. The anomaly weight factor acts bidirectionally with the post-judgment results through this path, forming a feedback loop between quality scoring, anomaly detection, backtracking recalibration, and control interlock.

[0109] When an air conditioning unit malfunctions at a certain time, the method proposed in this invention can retrospectively recalibrate the data value of the 30 minutes prior to the malfunction. Even after a period of time has passed since the malfunction, the data from this window period can still be effectively retained. Thus, under the same cache capacity constraints, this invention can completely retain the key historical data of the 30 minutes prior to the malfunction, while the traditional monotonic decay strategy will discard older malfunction data. Therefore, when conducting root cause analysis of malfunctions in the cloud, a complete operating condition evolution context can be obtained, which can significantly improve the accuracy and timeliness of malfunction diagnosis. At the same time, in a weak network environment after the uplink is restored, high-value abnormal window data can be prioritized for transmission, ensuring that core alarm information can be delivered in a timely manner and effectively reducing the risk of loss of key operation and maintenance information.

[0110] In summary, by utilizing the above-mentioned technical solution of this invention, the present invention can solve the problem of losing critical data after the cache is full. Since the abnormal weight factor can be retrospectively adjusted after the fact, historical data that was ordinary at the time of writing and critical after the fact can be rescued from the eviction queue. At the same time, the limited storage always serves high-value information. The four-factor retention value unifies quality, timeliness, rebuildability and abnormal weight under the same metric, avoiding the wrong eviction and wrong retention caused by ignoring timeliness and rebuildability in single quality ranking.

[0111] This invention improves the efficiency of data delivery after recovery. Specifically, uplink data is resumed from breakpoints in descending order of value and combined with bandwidth adaptation, ensuring that high-value data is delivered first under limited bandwidth. Downlink data is only sampled in missing windows, avoiding the waste of device bandwidth and power consumption caused by full retransmission. It also improves the accuracy of judgment and provides a consistent basis for credibility. The bidirectional feedback of quality anomalies allows two previously separate modules to calibrate each other, providing a unified basis for data credibility for upstream cache eviction and downstream control interlocking. At the same time, this invention avoids miscontrol caused by dirty data or blind control. By comparing the set of measurement points marked as untrustworthy with the dependency set of control commands and interlocking the control accordingly, the security and credibility of local closed-loop control are ensured. Moreover, the interlocking state is automatically released after data recovery, reducing manual intervention.

[0112] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A data quality and anomaly detection feedback governance method for building energy edge terminals, characterized in that, include: S1. Based on the results of data range verification, cross-device logic verification and timing verification, generate quality scores and anomaly type labels, and combine data deviation index to construct a two-dimensional joint discrimination mechanism to perform data segmentation processing of building energy edge terminal monitoring data; S2. Based on the monitoring data segmentation results, backtrack and adjust the abnormal weight factors of data entries that have been cached but not yet evicted in the local cache, and calculate the retention value of the data entries based on the adjusted abnormal weight factors and quality scores. S3. Sensing the interruption status of downlink and uplink data links, and performing targeted supplementary data collection and breakpoint resume operations after link recovery based on the interruption status and retention value, so as to complete the closed-loop processing of data governance.

2. The data quality and anomaly detection feedback governance method for building energy edge terminals according to claim 1, characterized in that, S1 includes: S11. For the monitoring data collected by the building energy edge terminal, perform range verification, cross-device logic verification, and timing verification in sequence, and obtain the quality score and preliminary anomaly type label of the monitoring data based on the verification results. S12. Obtain historical operational data of the target measurement point, train and construct a standardized data baseline based on the historical operational data, calculate the degree of deviation of the monitoring data from the standardized data baseline, and obtain the data deviation. S13. Determine the quantile value based on the distribution of the quality score corresponding to the monitoring data, and determine the baseline threshold of the quality score. Construct a two-dimensional joint discrimination mechanism based on the data deviation and the baseline threshold of the quality score. Through the two-dimensional joint discrimination mechanism, the monitoring data is divided into real anomalies, sensor anomalies, unreliable data, and normal data.

3. The data quality and anomaly detection feedback governance method for building energy edge terminals according to claim 2, characterized in that, S11 includes: Acquire monitoring data received by the target building's energy edge terminal and reported by field equipment and sensors, and calculate the range verification score based on the comparison results of the data entry values ​​of the monitoring data with the preset physical reasonable value range; The monitoring data from different measuring points at the same time are compared with the inherent operating logic rules between devices to determine the number of conflicting logic rules and the number of logic rules applicable to the corresponding time, so as to calculate the cross-device logic verification score. Based on the sampling missing results and reporting time range of the monitoring data, the timing verification score is calculated, and the quality score of the monitoring data is calculated by weighting the range verification score, cross-device logic verification score and timing verification score. Based on the range verification score, cross-device logic verification score, and timing verification score, preliminary anomaly type markers are generated for the monitoring data. The preliminary anomaly type markers include at least one of sensor drift and communication packet loss.

4. The data quality and anomaly detection feedback governance method for building energy edge terminals according to claim 3, characterized in that, The method of classifying monitoring data into real anomalies, sensor anomalies, unreliable data, and normal data through a dual-dimensional joint discrimination mechanism includes: When the quality score of the monitoring data is greater than or equal to the baseline threshold and the deviation is greater than or equal to the deviation threshold, it indicates that the data source corresponding to the monitoring data is compliant and there is an actual abnormality in the field equipment. In this case, the monitoring data will be classified as a real abnormality. When the quality score of the monitoring data is less than the baseline threshold and the deviation is greater than or equal to the deviation threshold, it indicates that the quality of the monitoring data is not up to standard and the abnormal deviation is caused by sensor acquisition failure. In this case, the monitoring data is classified as sensor abnormal. When the quality score of the monitoring data is less than the baseline threshold and the deviation is less than the deviation threshold, it indicates that there is a problem with the quality of the monitoring data being distorted or invalid. If the monitoring data does not show deviation from the standardized data baseline, the monitoring data will be classified as unreliable. When the quality score of the monitoring data is greater than or equal to the baseline threshold and the deviation is less than the deviation threshold, it indicates that the quality of the monitoring data is qualified and consistent with the standardized data baseline. In this case, the monitoring data is classified as normal.

5. The data quality and anomaly detection feedback management method for building energy edge terminals according to claim 4, characterized in that, S2 includes: S21. When the monitoring data is divided into real anomalies and sensor anomalies, a retrospective recalibration mechanism is triggered. The retrospective window is determined based on the target measurement point configuration, with the judgment time as the endpoint. The anomaly weight factor of the data entries that have been cached and have not yet been eliminated in the retrospective window is adjusted upward. S22. When the monitoring data is classified as unreliable, a reverse weighting mechanism is triggered to reduce the abnormal weight factors of each data entry in the backtracking window. S23. Calculate the retention value of each data entry in the cache based on the adjusted or decreased abnormal weight factor, timeliness factor, and rebuildability factor. When the cache space is insufficient, eliminate data entries according to their retention value until the cache space is sufficient.

6. The data quality and anomaly detection feedback management method for building energy edge terminals according to claim 5, characterized in that, S23 includes: The timeliness factor is determined based on the generation time of the data entry, and it is determined whether the data entry can be obtained by other measurement points through business logic calculation. The first reconstruction parameter is determined based on the judgment result, and it is determined whether the data entry can be recovered by adjacent measurement points through interpolation calculation to determine the second reconstruction parameter. Determine whether a copy of a data entry exists in the cloud, determine the third reconstruction parameter based on the determination result, and calculate the reconstructability factor of the data entry based on the first reconstruction parameter, the second reconstruction parameter, and the third reconstruction parameter. The retention value of data entries is calculated based on quality score, anomaly weight factor, timeliness factor, and rebuildability factor. The retention values ​​are arranged in ascending order, and data entries are eliminated in turn. Elimination stops when there is sufficient cache space.

7. The data quality and anomaly detection feedback management method for building energy edge terminals according to claim 1, characterized in that, S3 includes: S31. Based on the connectivity status of the downlink and uplink data links, identify the direction of interruption, including the downlink direction from the field device to the edge terminal and the uplink direction from the edge terminal to the cloud platform. S32. When a downlink interruption is identified, retain the gap boundary data and effective baseline as a reference for anomaly detection and as anchor points for re-collection after link recovery; when an uplink interruption is identified, retain the local buffer data to be transmitted to the cloud. S33. After the uplink data link is restored, the local buffered data is processed for breakpoint resumption in descending order of retention value, and the single synchronization set is determined in combination with the current available bandwidth to complete the synchronization of data entries to the cloud. S34. After the downlink data link is restored, based on the gap boundary data and the effective baseline, only request the missing window monitoring data from the field equipment corresponding to the interruption to supplement the data collection, and re-verify the range, cross-device logic and timing of the supplemented monitoring data to complete the data governance closed loop.

8. The data quality and anomaly detection feedback management method for building energy edge terminals according to claim 7, characterized in that, The single synchronization set includes data entries within an event window that are judged as either a real anomaly or a sensor anomaly; The effective baseline is the baseline state corresponding to the last monitoring data that was judged as normal or truly abnormal by the dual-dimensional joint discrimination mechanism before the downlink interruption occurred.

9. The data quality and anomaly detection feedback management method for building energy edge terminals according to claim 2, characterized in that, When any measurement point is judged to be a sensor abnormality due to cross-device logic verification failure, or when the downlink data link is interrupted and feedback is missing, the measurement point is added to the set of untrusted measurement points. The set of untrusted measurement points is compared with the set of measurement points on which the automatic control command depends. The execution of the automatic control command that depends on the measurement points in the set of untrusted measurement points is suspended, and the control is switched to the safe default control to form a control interlock to avoid erroneous control based on untrusted data.

10. A data quality and anomaly detection feedback governance system for building energy edge terminals, used to implement the data quality and anomaly detection feedback governance method for building energy edge terminals as described in any one of claims 1 to 9, characterized in that, The system includes: The multi-verification scoring and anomaly identification module is used to generate quality scores and anomaly type labels based on data range verification, cross-device logic verification and timing verification results, and to build a two-dimensional joint discrimination mechanism in combination with data deviation index to perform data segmentation and processing of building energy edge terminal monitoring data; The backtracking remarking and retention value calculation module is used to backtrack and adjust the abnormal weight factors of data entries that have been cached but not yet evicted in the local cache based on the monitoring data division results, and calculate the retention value of the data entries based on the adjusted abnormal weight factors and quality scores. The interruption detection and re-transmission module is used to detect the interruption status of downlink and uplink data links, and perform targeted re-transmission and breakpoint resumption operations after link recovery based on the interruption status and retention value, so as to complete the closed-loop processing of data governance.