A multi-condition composite alarm method and device and electronic equipment

CN122990888APending Publication Date: 2026-10-27SUZHOU TONGYUAN SOFT CONTROL INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611116865.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-27
Publication Date
2026-10-27

AI Technical Summary

Technical Problem

[0005]本申请提供了一种多条件复合报警方法、装置以及电子设备,以解决传统单变量报警误报率高且无法自适应优化的缺陷,提升报警准确性与运行稳定性

Benefits of technology

[0010]本申请实施例提供了一种多条件复合报警方法,当接收到报警触发请求时,获取预先配置的报警规则数据结构,其中,报警规则数据结构包含规则对象和隶属于规则对象的条件对象,条件对象包含判定阈值参数和数据来源标识;规则对象还包含验证控制参数和进化控制参数;进而,基于报警触发请求和数据来源标识,获取各条件对象对应的判定数据,并基于相应的判定阈值参数对判定数据执行单条件判定,得到各单条件状态;从而,基于预定义的逻辑组合关系对各单条件状态进行组合,生成候选报警结果,并基于候选报警结果和验证控制参数,确定并输出报警输出结果;在此基础上,可以响应于接收到针对报警输出结果的有效性反馈信息,基于有效性反馈信息和进化控制参数,对判定阈值参数进行修正,并将修正后的判定阈值参数更新至报警规则数据结构,以利用更新后的判定阈值参数对后续接收到的报警触发请求进行单条件判定。本申请的技术方案,通过多条件逻辑组合判定,解决了传统单变量阈值越限无法识别多类型监测变量的问题;通过延迟确认和静默抑制机制,消除了因测量噪声和运行扰动导致的误报与重复报警;通过基于有效性反馈的参数自适应修正,实现了报警规则阈值的闭环优化,提升了报警的准确性和长期运行稳定性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122990888A_ABST
    Figure CN122990888A_ABST
Patent Text Reader

Abstract

The application provides a multi-condition composite alarm method and device and electronic equipment. When an alarm triggering request is received, an alarm rule data structure containing a rule object and a condition object is obtained. The condition object contains a judgment threshold parameter and a data source identifier, and the rule object contains a verification control parameter and an evolution control parameter. Judgment data is obtained based on the alarm triggering request and the data source identifier, and single-condition judgment is performed based on the judgment threshold parameter to obtain each single-condition state. Each single-condition state is combined based on a logical combination relationship to generate a candidate alarm result, and an alarm output result is determined and output based on the candidate alarm result and the verification control parameter. In response to receiving validity feedback information, the judgment threshold parameter is corrected, and the corrected judgment threshold parameter is updated to the alarm rule data structure for subsequent single-condition judgment, thereby solving the problem of high single-variable alarm false alarm rate and inability to adaptively optimize.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of industrial process control technology, and in particular to a multi-condition composite alarm method, device, and electronic device. Background Technology

[0002] Today, industrial systems are expanding in scale, the coupling relationship between equipment and variables is becoming increasingly complex, and operating conditions are changing and frequently disturbed, which places higher demands on the accuracy and adaptability of monitoring and alarm systems.

[0003] Currently, alarm methods in industrial sites typically use single-variable threshold exceeding as the primary triggering criterion; that is, an alarm is triggered when the measured value of a single monitoring point exceeds a fixed threshold. While this method is simple to implement, its judgment logic is limited to a single-point, static, and instantaneous comparison mode, and it cannot comprehensively utilize multi-source data for integrated judgment.

[0004] The main drawbacks of the above scheme are: it cannot identify comprehensive problems such as multivariate mismatch, trend anomalies, and model bias anomalies; it lacks a unified rule framework to integrate multiple types of monitoring variables, which easily leads to false alarms and duplicate alarms. Summary of the Invention

[0005] This application provides a multi-condition composite alarm method, device, and electronic device to solve the shortcomings of traditional single-variable alarms, such as high false alarm rate and inability to adaptively optimize, thereby improving alarm accuracy and operational stability.

[0006] In a first aspect, embodiments of this application provide a multi-condition composite alarm method, the method comprising: When an alarm trigger request is received, a pre-configured alarm rule data structure is obtained; wherein, the alarm rule data structure includes a rule object and a condition object belonging to the rule object, the condition object includes a judgment threshold parameter and a data source identifier; the rule object also includes verification control parameters and evolution control parameters; Based on the alarm trigger request and the data source identifier, obtain the judgment data corresponding to each condition object, and perform single-condition judgment on the judgment data based on the corresponding judgment threshold parameter to obtain the single-condition status. The individual condition states are combined based on predefined logical combination relationships to generate candidate alarm results. Based on the candidate alarm results and the verification control parameters, the alarm output result is determined and output. In response to receiving validity feedback information for the alarm output result, the determination threshold parameter is corrected based on the validity feedback information and the evolution control parameter, and the corrected determination threshold parameter is updated to the alarm rule data structure so as to use the updated determination threshold parameter to perform single-condition determination on the subsequently received alarm triggering request.

[0007] Secondly, embodiments of this application also provide a multi-condition composite alarm device, the device comprising: The alarm rule acquisition module is used to acquire a pre-configured alarm rule data structure when an alarm trigger request is received; wherein, the alarm rule data structure includes a rule object and a condition object belonging to the rule object, the condition object includes a judgment threshold parameter and a data source identifier; the rule object also includes verification control parameters and evolution control parameters; The single-condition determination module is used to obtain the determination data corresponding to each condition object based on the alarm trigger request and the data source identifier, and to perform single-condition determination on the determination data based on the corresponding determination threshold parameter to obtain the status of each single condition. The alarm result output module is used to combine the single condition states based on predefined logical combination relationships to generate candidate alarm results, and to determine and output alarm output results based on the candidate alarm results and the verification control parameters. The alarm parameter update module is used to respond to the received validity feedback information for the alarm output result, and based on the validity feedback information and the evolution control parameters, to correct the judgment threshold parameter, and update the corrected judgment threshold parameter to the alarm rule data structure, so as to use the updated judgment threshold parameter to perform single-condition judgment on the subsequently received alarm triggering request.

[0008] Thirdly, embodiments of this application also provide an electronic device, which includes: One or more processors; Storage device for storing one or more programs. When one or more programs are executed by one or more processors, the one or more processors implement a multi-condition composite alarm method as described in any of the embodiments of this application.

[0009] Fourthly, embodiments of this application also provide a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform a multi-condition composite alarm method as described in any of the embodiments of this application.

[0010] This application provides a multi-condition composite alarm method. When an alarm trigger request is received, a pre-configured alarm rule data structure is obtained. The alarm rule data structure includes rule objects and condition objects belonging to the rule objects. The condition objects include judgment threshold parameters and data source identifiers. The rule objects also include verification control parameters and evolution control parameters. Then, based on the alarm trigger request and the data source identifier, judgment data corresponding to each condition object is obtained, and single-condition judgment is performed on the judgment data based on the corresponding judgment threshold parameters to obtain each single-condition state. Thus, the single-condition states are combined based on predefined logical combination relationships to generate candidate alarm results. Based on the candidate alarm results and verification control parameters, the alarm output result is determined and output. On this basis, in response to receiving validity feedback information for the alarm output result, the judgment threshold parameters are corrected based on the validity feedback information and evolution control parameters, and the corrected judgment threshold parameters are updated to the alarm rule data structure so as to use the updated judgment threshold parameters to perform single-condition judgment on subsequent received alarm trigger requests. The technical solution of this application solves the problem that traditional single-variable threshold over-limit cannot identify multiple types of monitoring variables by combining multiple conditions for judgment; it eliminates false alarms and repeated alarms caused by measurement noise and operational disturbances by using delayed confirmation and silent suppression mechanisms; and it realizes closed-loop optimization of alarm rule thresholds by using parameter adaptive correction based on effectiveness feedback, thereby improving the accuracy of alarms and long-term operational stability. Attached Figure Description

[0011] To more clearly illustrate the technical solutions of the exemplary embodiments of this application, the accompanying drawings used in describing the embodiments are briefly introduced below. Obviously, the accompanying drawings described are only a portion of the embodiments to be described in this application, and not all of them. For those skilled in the art, other drawings can be obtained from these drawings without any creative effort.

[0012] Figure 1 A flowchart illustrating a multi-condition composite alarm method provided in an embodiment of this application; Figure 2 The overall flow of the multi-condition composite alarm method for industrial digital twins involved in the embodiments of this application is shown in the figure; Figure 3 This is a schematic diagram illustrating the data transmission flow of the core interfaces involved in the embodiments of this application; Figure 4 A flowchart illustrating another multi-condition composite alarm method provided in an embodiment of this application; Figure 5 This is a flowchart illustrating yet another multi-condition composite alarm method provided in an embodiment of this application; Figure 6This is a schematic diagram illustrating the processing flow of delayed alarm, continuous triggering, and silent suppression involved in the embodiments of this application; Figure 7 This is a schematic diagram illustrating the determination threshold parameter correction process involved in the embodiments of this application; Figure 8 This is a schematic diagram of the structure of a multi-condition composite alarm device provided in an embodiment of the present invention; Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0013] The present application will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the application and not intended to limit it. Furthermore, it should be noted that, for ease of description, the accompanying drawings show only the parts relevant to the present application, not the entire structure.

[0014] Before introducing the technical solution provided in the embodiments of this application, the application scenarios of the solution can be described first. This embodiment is applicable to various scenarios that require multi-condition composite alarm monitoring of the operating status of industrial sites. Currently, although single-variable threshold exceeding the limit method is widely used in industrial alarm systems, traditional alarm methods have obvious limitations. In practical applications, due to the characteristics of industrial systems such as multiple operating condition switching, complex coupling relationships between equipment, frequent operating disturbances, and the prevalence of measurement noise, and the need to consider multiple information such as multi-variable coordination, trend changes, and model consistency in alarm judgment, traditional single-variable threshold exceeding the limit method is difficult to achieve accurate judgment at the composite level, which easily leads to problems such as high false alarm rate, frequent repeated alarms, multi-variable mismatch, and ineffective identification of trend anomalies. Therefore, there is an urgent need for an alarm method that can coordinate multi-source data and multiple judgment conditions, and comprehensively consider mechanisms such as delayed confirmation, silent suppression, and feedback correction, in order to improve the accuracy and reliability of alarm results.

[0015] Example 1 Figure 1 This is a flowchart illustrating a multi-condition composite alarm method provided in an embodiment of this application. This embodiment is applicable to various situations requiring multi-condition composite alarm monitoring of the operating status of industrial sites. The method can be executed by a multi-condition composite alarm device, which can be implemented in the form of software and / or hardware. The hardware can be a controller, such as a mobile terminal, PC, or server.

[0016] like Figure 1 As shown, the multi-condition composite alarm method provided in this embodiment of the invention includes the following steps: S110. When an alarm trigger request is received, obtain the pre-configured alarm rule data structure.

[0017] An alarm trigger request refers to an input signal or instruction that triggers the execution of the alarm determination process. An alarm rule data structure refers to an information carrier pre-configured and stored in the system that describes the alarm determination logic and organizes relevant parameters.

[0018] The alarm rule data structure comprises rule objects and condition objects belonging to those rule objects. Condition objects contain judgment threshold parameters and data source identifiers. Rule objects also contain verification control parameters and evolution control parameters. A rule object is a data entity corresponding to a single complete alarm rule, used to carry the rule's global control information and list of subordinate conditions. A condition object is a data entity corresponding to a single judgment condition, used to describe a specific judgment logic and its required parameters. Judgment threshold parameters are numerical or logical threshold values ​​contained in the condition object, used to compare with judgment data to determine whether the condition is met. Data source identifiers are type-labeling information contained in the condition object, indicating whether the judgment data required for the condition originates from on-site monitoring variables, derived calculation variables, or digital twin model output variables.

[0019] Among them, the verification control parameters refer to the control information used to delay confirmation and silence suppression determination of candidate alarm results. The evolution control parameters refer to the on / off control information used to control whether the determination threshold parameters are automatically corrected based on the validity feedback information.

[0020] Specifically, when an alarm trigger request is received to initiate the alarm judgment process, a pre-configured alarm rule data structure is retrieved. This data structure defines all the rule information required for composite alarm judgment. Specifically, this alarm rule data structure uses rule objects as the basic organizational unit. Each rule object carries a complete alarm rule. Within each rule object are condition objects belonging to that rule, describing the specific judgment conditions under that rule. Each condition object also has a judgment threshold parameter, used as a threshold for comparing judgment data, and a data source identifier, indicating the source type of the judgment data that the condition depends on. Furthermore, the rule object also includes verification control parameters, controlling the confirmation and suppression processes that candidate alarm results must undergo before output, and evolution control parameters, controlling whether automatic correction of the judgment threshold parameters is allowed based on alarm validity feedback.

[0021] In this embodiment, optionally, the alarm rule data structure further includes a rule base object, which contains one or more rule objects. The specific implementation of obtaining the pre-configured alarm rule data structure may include: determining the target rule base object from the pre-configured rule base set according to the rule base identifier in the alarm trigger request, and extracting the rule objects and condition objects belonging to the rule objects from the target rule base object.

[0022] In this context, a rule base object refers to the outer container entity above the rule objects in the alarm rule data structure. It organizes and manages one or more rule objects and carries the overall attribute information at the rule base level. A rule base identifier is a unique marker carried in the alarm trigger request, used to locate the target rule base object to be invoked among multiple rule bases. The target rule base object refers to the specific rule base entity corresponding to the current alarm trigger request, which is determined by matching the rule base identifier from the pre-configured rule base set. It is used to extract the required rule objects and their subordinate condition objects.

[0023] Specifically, the alarm trigger request carries a rule base identifier, which is used to point to the specific rule base object to be called in this alarm determination within a rule base set containing multiple rule base objects. After determining the target rule base object, one or more rule objects contained in the target rule base object, as well as the condition objects belonging to each rule object, are extracted from the target rule base object, thereby obtaining the complete rule configuration information required to perform subsequent single-condition determination and compound alarm processing.

[0024] S120. Based on the alarm trigger request and data source identifier, obtain the judgment data corresponding to each condition object, and perform single-condition judgment on the judgment data based on the corresponding judgment threshold parameters to obtain the status of each single condition.

[0025] Among them, the judgment data refers to the specific numerical or status information obtained from the data source identifier in the condition object and used to input into the single-condition judgment logic.

[0026] Among them, the single-condition state refers to the Boolean or logical result information obtained after performing a single-condition judgment on the judgment data, which is used to characterize whether the single condition satisfies the preset judgment logic.

[0027] Specifically, based on the context information in the alarm trigger request and the data source identifier carried by each condition object, the source type and acquisition method of the judgment data corresponding to each condition object can be determined, thereby obtaining the judgment data required by each condition object. After obtaining the judgment data, the judgment threshold parameter pre-set in each condition object is used as a comparison benchmark to execute single-condition judgment logic on the judgment data to determine whether the judgment data meets the judgment requirements defined by the condition, thereby obtaining the single-condition state corresponding to each condition object.

[0028] S130. Based on predefined logical combination relationships, combine each single condition state to generate candidate alarm results, and based on the candidate alarm results and verification control parameters, determine and output the alarm output result.

[0029] Among them, logical combination relationship refers to the predefined rule information that performs Boolean operations on multiple single condition states according to AND logic, OR logic or their combination, and is used to determine whether the overall triggering condition of the composite alarm is met after the combined effect of each single condition state.

[0030] Among them, the candidate alarm result refers to the intermediate judgment conclusion obtained after applying logical combination relationships to each single condition state and performing combination operations.

[0031] Among them, the alarm output result refers to the alarm judgment conclusion that needs to be output to the outside world after applying the delay confirmation and silence suppression judgment in the verification control parameters to the candidate alarm result, which is used to characterize the final alarm status after the complete verification process.

[0032] Specifically, after obtaining the single-condition states corresponding to each condition object, these single-condition states are combined according to a pre-defined logical combination relationship. This logical combination relationship stipulates that each single-condition state should be judged as a whole by satisfying the combination of logic, or logic, or both. By applying this logical combination relationship to each single-condition state, candidate alarm results are generated to represent whether the overall triggering conditions of the composite alarm are met.

[0033] After obtaining the candidate alarm result, it is necessary to verify the candidate alarm result based on the verification control parameters carried in the rule object. The verification control parameters are used to specify the delayed confirmation condition and silent suppression condition that the candidate alarm result must meet before it is output. Only when the candidate alarm result passes the dual verification of delayed confirmation and silent suppression will it be determined as the final alarm output result and output.

[0034] S140. In response to receiving validity feedback information for the alarm output result, based on the validity feedback information and evolution control parameters, the judgment threshold parameter is corrected, and the corrected judgment threshold parameter is updated to the alarm rule data structure so as to use the updated judgment threshold parameter to perform single-condition judgment on the subsequently received alarm triggering request.

[0035] In this context, validity feedback information refers to evaluative information returned by the external processing procedure regarding the output of an alarm, indicating whether the alarm output has been confirmed as a valid alarm. Validity feedback information serves as the input for triggering the judgment threshold parameter correction process, distinguishing between valid and invalid alarms, and thus determining whether the judgment threshold parameter needs adjustment.

[0036] Specifically, when a validity feedback message for a certain alarm output result is received, the system first determines whether the alarm output result is an invalid alarm based on the validity feedback message. Simultaneously, it retrieves the evolution control parameter from the rule object corresponding to the alarm output result. This evolution control parameter indicates whether automatic correction of the judgment threshold parameter under the rule is allowed. If the evolution control parameter indicates that correction is allowed and the validity feedback message indicates that the alarm is invalid, the threshold correction amount is determined based on the invalid trigger statistics of the rule object within the statistical period. Based on this threshold correction amount, the judgment threshold parameter in the condition object under the rule is corrected to obtain the corrected judgment threshold parameter. After correction, the corrected judgment threshold parameter is updated in the corresponding condition object in the alarm rule data structure. This allows the system to make a judgment based on the updated judgment threshold parameter when a subsequent alarm trigger request is received and a single-condition judgment is executed. This achieves a closed-loop process where alarm rule parameters are adaptively adjusted based on historical alarm validity evaluation results.

[0037] This application provides a multi-condition composite alarm method. When an alarm trigger request is received, a pre-configured alarm rule data structure is obtained. The alarm rule data structure includes rule objects and condition objects belonging to the rule objects. The condition objects include judgment threshold parameters and data source identifiers. The rule objects also include verification control parameters and evolution control parameters. Then, based on the alarm trigger request and the data source identifier, judgment data corresponding to each condition object is obtained, and single-condition judgment is performed on the judgment data based on the corresponding judgment threshold parameters to obtain each single-condition state. Thus, the single-condition states are combined based on predefined logical combination relationships to generate candidate alarm results. Based on the candidate alarm results and verification control parameters, the alarm output result is determined and output. On this basis, in response to receiving validity feedback information for the alarm output result, the judgment threshold parameters are corrected based on the validity feedback information and evolution control parameters, and the corrected judgment threshold parameters are updated to the alarm rule data structure so as to use the updated judgment threshold parameters to perform single-condition judgment on subsequent received alarm trigger requests. The technical solution of this application solves the problem that traditional single-variable threshold over-limit cannot identify multiple types of monitoring variables by combining multiple conditions for judgment; it eliminates false alarms and repeated alarms caused by measurement noise and operational disturbances by using delayed confirmation and silent suppression mechanisms; and it realizes closed-loop optimization of alarm rule thresholds by using parameter adaptive correction based on effectiveness feedback, thereby improving the accuracy of alarms and long-term operational stability.

[0038] For example, Figure 2The overall process of a multi-condition composite alarm method for industrial digital twins is shown in the figure. Based on its structure, the process is broken down into several stages: data request management, alarm rule base, derivative calculation, composite alarm judgment, alarm output, and alarm evolution. Specifically, the data request management stage retrieves judgment data corresponding to each condition object based on the alarm trigger request and the data source identifier in the condition object. This includes acquiring real-time data, historical data, and value dictionaries, as well as calling simulation data from the digital twin model. The alarm rule base stage stores and manages alarm rule data structures containing rule objects and condition objects belonging to those rule objects, and provides the corresponding rule object and its subordinate condition objects in response to alarm trigger requests. The derivative calculation stage, when the data source identifier is a derivative calculation variable, retrieves the corresponding calculation formula and formula parameters based on the derived variable name configured in the condition object, executes the calculation formula on the acquired raw monitoring data, and obtains the derived calculation value as the judgment data. The composite alarm judgment stage… The system is used to perform single-condition judgments on the judgment data to obtain the status of each single condition. Based on predefined logical combination relationships, the single-condition statuses are combined to generate candidate alarm results. Based on the verification control parameters in the rule object, the candidate alarm results are subjected to delayed confirmation and silent suppression processing to determine the alarm output result. The alarm output stage is used to output the alarm output result and receive external feedback information on the validity of the alarm output result. The alarm evolution stage is used to calculate the threshold correction amount based on the invalid trigger statistics within the statistical period when the alarm output result is marked as an invalid alarm and the evolution control parameter in the rule object is enabled. The correction threshold parameter in the condition object is then corrected and updated to the alarm rule data structure.

[0039] In one exemplary application scenario of a specific implementation, this multi-condition composite alarm method can be implemented through a supporting software interface and back-end service module. Figure 3 This is a diagram illustrating the data transfer flow of the core interface, such as... Figure 3 As shown, the core interface data transmission flow involves the interface configuration module, interface data management module, data request management module, alarm rule configuration module, and simulation control module. Specifically, the interface configuration module receives monitoring and simulation configurations; the interface data management module coordinates data requests, rule configurations, and simulation control; the data request management module handles real-time data reading, historical data reading, and document-based data maintenance; the alarm rule configuration module performs read / write operations on rule objects and condition objects within the alarm rule data structure; and the simulation control module, in conjunction with the simulation linkage plugin, loads the digital twin model, injects parameters, starts the simulation, reads the model status, and returns the digital twin model's production data.

[0040] In practical applications, the interface configuration module transmits the saved configuration information to the interface data management module; the interface data management module retrieves data from the data request management module through real-time and historical queries; the interface data management module obtains rule information from the alarm rule configuration module through rule reading operations; the interface data management module triggers the simulation control module to execute simulation tasks through simulation start commands; after the simulation runs, the simulation control module returns status information and boundary data to the interface data management module; and the interface data management module transmits validity feedback information to the alarm rule configuration module through feedback write-back operations to trigger the correction and update of the judgment threshold parameters in the rule object. The data interaction between these modules forms a complete interface closed loop from interface configuration, data request, rule reading, simulation start, status return to feedback write-back.

[0041] Example 2 Figure 4 This is a schematic diagram of a multi-condition composite alarm method provided in an embodiment of this application. Based on the foregoing embodiments, this embodiment will provide a more detailed description of S120. For specific implementation details, please refer to the technical solution of this embodiment. Technical terms that are the same as or corresponding to those in the above embodiments will not be repeated here.

[0042] like Figure 4 As shown, the method specifically includes the following steps: S210. When an alarm trigger request is received, obtain the pre-configured alarm rule data structure.

[0043] The alarm rule data structure includes rule objects and condition objects belonging to the rule objects. The condition objects include judgment threshold parameters and data source identifiers. The rule objects also include verification control parameters and evolution control parameters.

[0044] S220. When the data source identifier is a field monitoring variable, the pre-configured variable mapping relationship is queried based on the variable name in the data source identifier to determine the database location and data table corresponding to the variable name, and the real-time monitoring value is read from the database location through the monitoring data interface as the judgment data.

[0045] Among them, the field monitoring variable refers to the physical quantity or state quantity directly obtained from the industrial field monitoring system as indicated by the data source identifier in the condition object, which serves as the original source type of the judgment data.

[0046] Here, the variable name refers to the name information used to uniquely identify the on-site monitoring variable, serving as the index basis for querying the mapping relationship. The variable mapping relationship refers to the pre-configured association information used to establish the correspondence between variable names and database storage locations, converting logical variable names into physical data location information.

[0047] Here, "database point" refers to the specific data storage location used to store the real-time monitoring value of the variable; "data table" refers to the data table structure to which the database point belongs, used to locate the data table where the point is located in the database.

[0048] The monitoring data interface refers to a pre-configured data acquisition channel used to communicate with external industrial monitoring data sources, and is used to read real-time monitoring values ​​from database points. Real-time monitoring values ​​refer to the actual values ​​of the monitored variables at the current moment, read from the database points through the monitoring data interface.

[0049] Specifically, for cases where the data source identifier is an on-site monitoring variable, firstly, the variable name carried in the data source identifier is used as the index basis. This variable name is used to uniquely identify the required on-site monitoring variable at the logical level. Then, based on this variable name, a query operation is performed in a pre-configured variable mapping relationship. This variable mapping relationship is a pre-established data structure used to associate the variable name at the logical level with the database location information at the physical storage level. Through this query process, the database location uniquely corresponding to the variable name can be determined, and the data table to which the database location belongs can be determined. The database location points to the... The specific storage location of the variable in the database is determined, and this data table is used to locate the table structure of the point at the database level. After determining the database point and data table, a data reading channel is established with the external industrial monitoring data source through a pre-configured monitoring data interface. This monitoring data interface is a communication channel used to obtain real-time monitoring data from the database point. Next, the real-time monitoring value of the variable at the current moment is read from the determined database point through the monitoring data interface. This real-time monitoring value reflects the actual numerical state of the field monitoring variable at the current moment. Finally, the read real-time monitoring value is determined as the judgment data required for the condition object.

[0050] S230. When the data source identifier is a derived calculation variable, based on the derived variable name in the data source identifier, obtain the calculation formula and formula parameters corresponding to the derived variable name, and execute the calculation formula on the obtained original monitoring data to obtain the derived calculation value as the judgment data.

[0051] Among them, the derived calculation variable refers to the derived quantity indicated by the data source identifier in the condition object, which can only be obtained by performing preset mathematical or logical operations on the acquired original monitoring data.

[0052] The derived variable name refers to the name information carried in the data source identifier, used to uniquely identify the derived calculation variable, and serves as an index for finding the corresponding calculation formula and formula parameters. The original monitoring data refers to the basic monitoring values ​​obtained before performing the derived calculations and used as input to the formula, including real-time monitoring values ​​directly read from field monitoring variables or other acquired measurement data.

[0053] Among them, the derived calculated value refers to the calculation result obtained after applying the calculation formula corresponding to the derived variable name to the original monitoring data, and serves as the judgment data for participating in single-condition judgment under the condition of the derived calculated variable.

[0054] Specifically, when the data source identifier in the condition object is determined to be a derived calculation variable, the derived variable name carried in the data source identifier is first used as the search basis. This derived variable name is used to uniquely identify the derived quantity to be calculated at the logical level. The pre-configured calculation formula corresponding to the derived variable name and the formula parameters required by the formula are obtained through this name. The calculation formula specifies how to perform operations on the input data to obtain the derived quantity. The formula parameters serve as supplementary configuration information for the calculation formula to assist in completing the calculation. After obtaining the calculation formula and formula parameters, the original monitoring data required to execute the calculation formula is further obtained. This original monitoring data consists of basic monitoring values ​​obtained from field monitoring variables or other data sources and is used as the input data for the calculation formula. Then, the obtained original monitoring data is used as input, combined with the formula parameters, and the calculation process is executed according to the calculation logic specified by the calculation formula to obtain the derived calculated value corresponding to the derived calculation variable. Finally, this derived calculated value is determined as the judgment data required for the condition object.

[0055] S240. When the data source is identified as the output variable of the digital twin model, the digital twin model is loaded and started through the simulation linkage interface based on the model name and model path in the data source identifier, and the simulation value output by the digital twin model is obtained as the judgment data.

[0056] Among them, the output variables of the digital twin model refer to the variable values ​​indicated by the data source identifier in the condition object, which need to be obtained from the simulation results of the digital twin model.

[0057] The model name refers to the name information carried in the data source identifier, used to uniquely identify the digital twin model to be invoked, and serves as the primary indexing basis for locating the target model. The model path refers to the information carried in the data source identifier, used to indicate the storage location of the digital twin model in the storage space, and is used to locate the storage path where the model file is located.

[0058] The simulation linkage interface refers to a pre-configured communication interface used to establish a data interaction channel with the digital twin model. Through this interface, operations such as model loading, parameter injection, simulation startup, and simulation result reading can be performed.

[0059] Among them, a digital twin model refers to a simulation model built based on a physical entity that can reflect the entity's operating state in a virtual space. By running this model, simulation output values ​​corresponding to the target monitoring points can be generated.

[0060] Specifically, when the data source identifier in the condition object is determined to be the output variable of the digital twin model, the model name and model path carried in the data source identifier are first used as the positioning basis. The model name is used to uniquely identify the digital twin model to be called at the logical level, and the model path is used to indicate the specific storage location of the digital twin model in the storage space. The target digital twin model to be loaded can be determined through the model name and model path. Then, a data interaction channel is established with the digital twin model through a pre-configured simulation linkage interface. This simulation linkage interface is a communication interface used to load the model, inject parameters, start the simulation, and read the simulation results. Through this interface, the determined target digital twin model is loaded into the runtime environment, and the required boundary conditions or initial parameters are injected into the model before the simulation is started. After the digital twin model completes the simulation calculation, the simulation value output by the digital twin model is obtained from the digital twin model through the simulation linkage interface. This simulation value reflects the value simulated by the digital twin model for the variable under given input conditions. Finally, the simulation value is determined as the judgment data required by the condition object.

[0061] S250. Perform single-condition judgment on the judgment data based on the corresponding judgment threshold parameters to obtain each single-condition state.

[0062] In this embodiment, optionally, the specific implementation of performing single-condition judgment on the judgment data based on the corresponding judgment threshold parameter to obtain each single-condition state may include: for any condition object, comparing the judgment data with the judgment threshold parameter, determining the comparison result according to the predefined judgment operator in the condition object, and generating a single-condition state based on the comparison result.

[0063] Specifically, for each condition object, the acquired judgment data is used as input, and the pre-set judgment threshold parameter in the condition object is used as the comparison benchmark. At the same time, the judgment data is compared with the judgment threshold parameter according to the comparison method specified by the predefined judgment operator in the condition object. The judgment operator is used to specify the specific comparison type, which includes threshold exceedance comparison, interval comparison, trend comparison, derived quantity comparison, or model residual comparison. Based on the results generated by the above comparison process, it is determined whether the condition object meets its preset judgment requirements, and a corresponding single condition state is generated based on the comparison result.

[0064] S260. Obtain the predefined logical combination function in the rule object, substitute each single condition state as input parameter into the logical combination function for Boolean operation, and obtain the candidate alarm result.

[0065] Among them, the logical combination function refers to the predefined functional logical rule information in the rule object, which specifies the logical relationship between multiple single-condition states for overall combination and judgment. The function takes each single-condition state as input parameters, and outputs a comprehensive judgment result after applying at least one of the following logical operations: AND logic, OR logic, or AND-OR combinational logic.

[0066] Specifically, the predefined logical combination function in the rule object is obtained, and then each single condition state is substituted as an input parameter into the logical combination function to perform Boolean operation. The Boolean operation is used to comprehensively evaluate each single condition state to obtain the candidate alarm result for this judgment.

[0067] S270. Based on the candidate alarm results and verification control parameters, determine and output the alarm output results.

[0068] S280. In response to receiving validity feedback information for the alarm output result, based on the validity feedback information and evolution control parameters, the judgment threshold parameter is corrected, and the corrected judgment threshold parameter is updated to the alarm rule data structure so as to use the updated judgment threshold parameter to perform single-condition judgment on the subsequently received alarm triggering request.

[0069] The technical solution of this application embodiment, when obtaining judgment data corresponding to each condition object based on alarm trigger request and data source identifier, when the data source identifier is a field monitoring variable, queries the pre-configured variable mapping relationship based on the variable name in the data source identifier, determines the database point and data table corresponding to the variable name, and reads the real-time monitoring value from the database point as judgment data through the monitoring data interface; when the data source identifier is a derived calculation variable, obtains the calculation formula and formula parameters corresponding to the derived variable name based on the derived variable name in the data source identifier, and executes the calculation formula on the obtained original monitoring data to obtain the derived calculation value as judgment data; when the data source identifier is a digital twin model output variable, loads and starts the digital twin model through the simulation linkage interface based on the model name and model path in the data source identifier, and obtains the simulation value output by the digital twin model as judgment data. The technical solution of this application distinguishes the source type of the judgment data through data source identification, and configures corresponding data acquisition paths for three different sources: on-site monitoring variables, derived calculation variables, and digital twin model output variables. This enables the composite alarm judgment to simultaneously accept real-time monitoring data, secondary calculation derived data, and digital twin simulation data as judgment inputs, thereby significantly expanding the data dimensions on which the alarm judgment depends. It can not only make threshold judgments based on the original monitoring values, but also make trend judgments based on derived quantities such as temperature rise rate and difference, and also make model consistency judgments based on the residuals between measured values ​​and simulation values. This improves the composite alarm capability from single-point over-limit alarms to multi-source heterogeneous data fusion.

[0070] Example 3 Figure 5 This is a schematic diagram of a multi-condition composite alarm method provided in an embodiment of this application. Based on the foregoing embodiments, this embodiment provides a more detailed description of steps S130-S140. For specific implementation details, please refer to the technical solution of this embodiment. Technical terms that are the same as or corresponding to those in the above embodiments will not be repeated here.

[0071] like Figure 5 As shown, the method specifically includes the following steps: S310. When an alarm trigger request is received, obtain the pre-configured alarm rule data structure.

[0072] The alarm rule data structure includes rule objects and condition objects belonging to the rule objects. The condition objects include judgment threshold parameters and data source identifiers. The rule objects also include verification control parameters and evolution control parameters.

[0073] S320: Based on the alarm trigger request and data source identifier, obtain the judgment data corresponding to each condition object, and perform single-condition judgment on the judgment data based on the corresponding judgment threshold parameter to obtain the status of each single condition.

[0074] S330. Based on predefined logical combination relationships, combine each single condition state to generate candidate alarm results.

[0075] S340. Based on the delay control parameters, determine whether the candidate alarm result meets the delay confirmation condition. When the candidate alarm result meets the delay confirmation condition, based on the silence control parameters, determine whether the current time is within the silence window.

[0076] Among them, the delay control parameter refers to the control information used to specify the time or number of conditions that a candidate alarm result must meet before it is output to the outside world. This parameter serves as the direct basis for judging whether a candidate alarm result meets the delay confirmation condition.

[0077] Among them, the delay confirmation condition refers to the duration threshold or the number of consecutive triggers threshold that the candidate alarm result needs to reach, which is determined according to the delay control parameters, and is used to confirm whether the candidate alarm result is stable and valid.

[0078] The silence control parameter refers to the control information used to specify the length of the time window during which repeated alarms need to be suppressed after an alarm is output under the same rule. The silence window is the time interval determined by the silence control parameter, during which an alarm is prohibited from being output again after an alarm is output. Even if a candidate alarm result meets the conditions again within this time window, it will not be output.

[0079] Specifically, firstly, the candidate alarm result is subject to delayed confirmation based on the delay control parameter in the rule object. This delay control parameter specifies the duration threshold or consecutive trigger count threshold that the candidate alarm result must meet before being output. By comparing the actual continuous state or cumulative trigger count of the candidate alarm result with this delay control parameter, it is determined whether the candidate alarm result meets the delayed confirmation condition. When the candidate alarm result meets the delayed confirmation condition, it is further determined whether the current time is within the silent window based on the silence control parameter in the rule object. This silence control parameter specifies the length of the time window that needs to be suppressed after the same rule outputs an alarm. If the current time is within the silent window, the alarm is not allowed to be output even if the candidate alarm result meets the delayed confirmation condition. Thus, the effectiveness of the candidate alarm result is screened through a dual verification mechanism of delayed confirmation and silent suppression.

[0080] In this embodiment, optionally, the delay control parameter includes a consecutive trigger count threshold or a duration threshold. A specific implementation method for determining whether a candidate alarm result meets the delay confirmation condition based on the delay control parameter may include: Count the cumulative number of triggers of candidate alarm results within the preset time window before the current time; when the cumulative number of triggers reaches the consecutive trigger count threshold, determine that the candidate alarm result meets the delayed confirmation condition; or, count the continuous duration of candidate alarm results, and when the continuous duration reaches the duration threshold, determine that the candidate alarm result meets the delayed confirmation condition.

[0081] The consecutive trigger count threshold refers to the minimum cumulative number of triggers a candidate alarm result must achieve within a preset time window. When the cumulative trigger count reaches this threshold, the candidate alarm result is considered to meet the delayed confirmation condition. The duration threshold refers to the minimum duration a candidate alarm result must remain in an active state. When the continuous duration of a candidate alarm result reaches this threshold, the candidate alarm result is considered to meet the delayed confirmation condition.

[0082] Specifically, there are two methods to determine whether a candidate alarm result meets the delayed confirmation condition based on the delay control parameters. One method is to count the cumulative number of triggers of the candidate alarm result within a preset time window before the current moment, and compare this cumulative number of triggers with a continuous trigger threshold in the delay control parameters. When the cumulative number of triggers reaches the continuous trigger threshold, the candidate alarm result is considered to meet the delayed confirmation condition. The other method is to count the continuous duration of the candidate alarm result from its first appearance to the current moment, and compare this continuous duration with a duration threshold in the delay control parameters. When the continuous duration reaches the duration threshold, the candidate alarm result is considered to meet the delayed confirmation condition. Both methods are used to determine the stability and persistence of the candidate alarm result, and either method must be satisfied for delayed confirmation to be passed.

[0083] In this embodiment, optionally, when the candidate alarm result does not meet the delayed confirmation condition, the alarm output result is not output, and the combination and triggering of cumulative counting of each single condition state at subsequent times continues.

[0084] During the delay confirmation process for candidate alarm results based on delay control parameters, if a candidate alarm result has not yet reached the duration threshold or consecutive trigger count threshold specified by the delay control parameters, i.e., it does not meet the delay confirmation condition, then the candidate alarm result will not be determined as an alarm output result, and no alarm output operation will be performed. Simultaneously, the individual condition states acquired at subsequent times will continue to be combined according to predefined logical combinations, and the cumulative trigger count of the candidate alarm result will be continuously counted after each combination determination until the candidate alarm result meets the delay confirmation condition or remains in a non-output state if it continuously fails to meet the condition. This processing method, by introducing a delay confirmation mechanism, ensures that only candidate alarm results that consistently and stably meet the composite alarm conditions can be ultimately output, effectively avoiding false alarm outputs caused by instantaneous fluctuations in monitoring data or occasional interference, thereby significantly improving the accuracy and reliability of alarms.

[0085] S350. When the current time is not within the silent window, the candidate alarm result is determined as the alarm output result and output.

[0086] Specifically, after the candidate alarm result meets the delayed confirmation condition, it is further determined whether the current time is within the silent window. If the current time is not within the silent window, it indicates that the candidate alarm result has passed the delayed confirmation verification and is not restricted by the silent suppression rule. At this time, the candidate alarm result is determined as the final alarm output result that needs to be output to the outside world, and the output operation is executed, thereby completing the conversion from candidate alarm result to formal alarm output.

[0087] In this embodiment, optionally, when the current time is within the silent window, the output of alarm output results is suppressed, and the internal trigger log of candidate alarm results is recorded.

[0088] Specifically, during the process of determining whether the current moment is within the silence window based on the silence control parameters, if the current moment is within the silence window, it indicates that the rule has just output an alarm and is still in the repeated alarm suppression period. Even if the candidate alarm result meets the delayed confirmation condition, it is not determined as an alarm output result, and no external output operation is performed. Instead, the triggering event of this candidate alarm result is recorded in the internal trigger log. This internal trigger log is used to record the suppressed alarm triggering information during the silence period for subsequent tracing and analysis. This processing method effectively avoids the same rule repeatedly pushing alarm messages for the same reason within a short period of time through the silence suppression mechanism, preventing alarm flooding from interfering with maintenance personnel. At the same time, the internal trigger log preserves a complete trace of alarm triggering during the silence period, providing a data foundation for subsequent incident tracing and rule optimization.

[0089] In one exemplary application scenario of a specific implementation, for example, in a digital twin implementation scenario, simulation data of the digital twin model is invoked through a data request management process. The simulation values ​​corresponding to the target monitoring points are obtained. And together with the measured values, construct the residual: When the residual When the residual value exceeds the preset residual threshold τ, the model deviation condition is used as a judgment condition in the composite alarm rule to identify anomalies that are difficult to detect by relying solely on a single-point threshold.

[0090] If the alarm output is marked as an invalid alarm in subsequent processing, the judgment threshold parameter is adjusted based on the alarm validity feedback, and the invalid trigger count value of the rule object within the statistical period is obtained. and total trigger count value The invalid trigger ratio is determined based on the ratio of invalid trigger count to total trigger count. Then, the threshold correction amount is calculated based on the invalid trigger ratio and a preset base adjustment amount. Finally, the current judgment threshold parameter in the condition object is superimposed with the threshold correction amount to obtain the corrected judgment threshold parameter. : in, Adjust the amount based on the base.

[0091] For example, Figure 6 This diagram illustrates the processing flow for delayed alarms, continuous triggering, and silent suppression. For any alarm rule, firstly, single-condition judgments are performed one by one based on multiple condition objects within the rule. Single-condition judgments can be threshold comparisons, interval comparisons, trend comparisons, derived quantity comparisons, or model residual comparisons; each condition object defines a specific comparison method. Then, multiple single-condition states are combined using AND logic, OR logic, or combinations thereof based on predefined logical combination relationships to generate candidate alarm results. After the candidate alarm results are generated, it is further determined whether the candidate alarm result meets the duration threshold or the continuous trigger count threshold. An alarm output result is only output when the candidate alarm result meets the delayed confirmation condition and the current time is not within the silent time window. If a previous alarm of the same type has just been output and the current time is still within the silent time window, only internal counting or logging is performed, and the alarm output result is not pushed again.

[0092] S360, in response to receiving validity feedback information for the alarm output result, determines whether the alarm output result is marked as an invalid alarm based on the validity feedback information.

[0093] Among them, invalid alarms refer to alarm output results that are marked as invalid based on valid feedback information, indicating that the alarm is identified as a false alarm or has no practical reference value in the subsequent handling.

[0094] Specifically, after the alarm output result is output externally, in response to the validity feedback information returned from the outside, the validity feedback information is parsed to determine whether the alarm output result is marked as an invalid alarm. The validity feedback information carries the evaluation conclusion of the external handling process on the validity of the alarm output result. By parsing this information, it can be determined whether the alarm output result is a valid alarm or an invalid alarm. This judgment result serves as a prerequisite for whether to initiate the judgment threshold parameter correction process, and is used to determine whether it is necessary to further perform threshold correction operations based on evolutionary control parameters.

[0095] S370. When the alarm output result is marked as an invalid alarm, determine whether to perform a correction operation on the judgment threshold parameter based on the on / off state of the evolution control parameter.

[0096] Specifically, after determining that an alarm output result is marked as an invalid alarm, the logic for deciding whether to perform a threshold correction operation is based on the on / off state of the evolutionary control parameter. Specifically, when it is determined based on validity feedback information that an alarm output result has been marked as an invalid alarm, the evolutionary control parameter in the rule object corresponding to the alarm output result is further obtained. This evolutionary control parameter indicates whether automatic correction of the judgment threshold parameter under this rule is allowed. The on / off state of this evolutionary control parameter determines whether to perform a correction operation on the judgment threshold parameter. If the evolutionary control parameter is on, the threshold correction operation is allowed; if the evolutionary control parameter is off, the threshold correction operation is not performed.

[0097] S380. If the evolution control parameter is enabled, calculate the threshold correction amount based on the invalid trigger statistics within the statistical period, and update the judgment threshold parameter based on the threshold correction amount.

[0098] Among them, invalid trigger statistics refer to the statistical values ​​of the number of invalid alarms and the total number of alarms related to the rule that are cumulatively recorded within the statistical period.

[0099] The threshold correction amount refers to the adjustment magnitude value calculated based on invalid trigger statistics and used to adjust the judgment threshold parameter. This correction amount is used to update the judgment threshold parameter to achieve adaptive threshold adjustment.

[0100] Specifically, once the evolution control parameter is confirmed to be enabled, the invalid trigger statistics of the rule object within the statistical period are obtained. These statistics include the cumulative number of invalid alarms and the total number of alarms for the rule object. Based on these statistics, a threshold correction amount is calculated to adjust the judgment threshold parameter. This correction amount reflects the magnitude of adjustment required to correct the current judgment threshold parameter from the ideal value. After calculating the threshold correction amount, the judgment threshold parameter in the condition object is updated based on this correction amount. The original judgment threshold parameter is adjusted numerically according to the correction amount to obtain the corrected judgment threshold parameter, thus completing the entire correction calculation process from invalid trigger statistics to threshold value update.

[0101] In this embodiment, optionally, the specific implementation method for calculating the threshold correction amount based on the invalid trigger statistics within the statistical period may include: obtaining the invalid trigger count value and the total trigger count value of the rule object within the statistical period; determining the invalid trigger ratio based on the ratio of the invalid trigger count value to the total trigger count value; and calculating the threshold correction amount based on the invalid trigger ratio and the preset basic adjustment amount.

[0102] The invalid trigger count refers to the total number of alarm outputs marked as invalid, reflecting the number of invalid alarms generated by the rule within the statistical period. The total trigger count refers to the total number of alarm outputs recorded by the rule object within the statistical period, reflecting the overall number of alarms generated by the rule within the statistical period.

[0103] Specifically, the process begins by acquiring the cumulative invalid trigger count and total trigger count for the rule object within the statistical period. The invalid trigger count reflects the number of times an alarm was marked as invalid within that period, while the total trigger count reflects the total number of alarms within that period. Then, the ratio of the invalid trigger count to the total trigger count is used to determine the invalid trigger ratio of the rule within the statistical period. This ratio represents the proportion of invalid alarms among all alarms. After determining the invalid trigger ratio, it is combined with a preset basic adjustment amount, and the threshold correction amount required for this correction is calculated using preset calculation logic. This threshold correction amount serves as the numerical basis for subsequent updates to the threshold parameters, thus completing the entire calculation process from invalid trigger statistics to threshold correction amount.

[0104] In this embodiment, optionally, the specific implementation of updating the judgment threshold parameter based on the threshold correction amount may include: adding the current judgment threshold parameter in the condition object to the threshold correction amount to obtain the corrected judgment threshold parameter, and writing the corrected judgment threshold parameter back to the corresponding condition object in the alarm rule data structure.

[0105] Specifically, after calculating the threshold correction amount based on invalid trigger statistics, this correction amount needs to be applied to the judgment threshold parameter through a specific update operation to take effect. Specifically, the current judgment threshold parameter in the condition object is summed with the threshold correction amount, and the adjustment range represented by the threshold correction amount is added to the current judgment threshold parameter to obtain the corrected judgment threshold parameter. This summation operation can be either positive or negative, depending on the deviation direction between the current judgment threshold parameter and the invalid trigger statistics. After obtaining the corrected judgment threshold parameter, it is written back to the corresponding condition object in the alarm rule data structure to overwrite the original judgment threshold parameter. This processing method, by converting historical statistics of invalid alarms into quantitative corrections to the judgment threshold and solidifying them into the alarm rule data structure through a write-back method, achieves closed-loop adaptive adjustment of the alarm judgment threshold based on the actual on-site operating effect. This allows subsequent alarm judgments to gradually escape the deviation of the initial set value and continuously optimize towards a direction that better conforms to actual operating conditions.

[0106] For example, Figure 7 This diagram illustrates the threshold parameter correction process. The data acquisition stage inputs the acquired judgment data into the alarm rule base judgment stage. This stage performs single-condition judgments and logical combinations based on the condition objects in the alarm rule data structure, generating candidate alarm results when conditions are met and transmitting them to the alarm output stage. The alarm output stage outputs the alarm results and then transmits the effectiveness evaluation results to the handling feedback stage via manual feedback. The effectiveness evaluation results include markers such as effective, invalid, or delayed. The handling feedback stage transmits the feedback results to the statistical handling results stage, which accumulates and records invalid trigger information within the statistical period. When the statistical handling results meet the evolution conditions, the threshold adjustment stage is triggered to correct the judgment threshold parameters in the condition objects. The threshold adjustment stage applies the corrected judgment threshold parameters to subsequent judgments in real-time and persists them to the corresponding condition objects in the alarm rule base judgment stage via rule write-back.

[0107] S390. Update the corrected judgment threshold parameter to the alarm rule data structure so as to use the updated judgment threshold parameter to perform single-condition judgment on the subsequently received alarm triggering request.

[0108] The technical solution of this application, when determining and outputting alarm output results, introduces a dual verification mechanism of delayed confirmation and silent suppression. This mechanism filters the validity of candidate alarm results after they are generated but before the alarm output result is determined. On the one hand, a delay control parameter requires candidate alarm results to meet a duration threshold or a consecutive trigger count threshold before verification, effectively avoiding false alarms caused by instantaneous fluctuations or occasional interference in monitoring data. On the other hand, a silent control parameter sets a silent window after alarm output, suppressing repeated alarm outputs within the window period, preventing alarm flooding caused by the same rule repeatedly pushing alarm messages for the same reason within a short period. This dual verification mechanism works together to ensure both the reliability and accuracy of alarm output and the reasonableness of the alarm output rhythm, significantly improving the anti-interference capability and user experience of the alarm system.

[0109] The technical solution of this application, when correcting the judgment threshold parameter based on validity feedback information and evolutionary control parameters, constructs a complete evolutionary link from alarm validity evaluation to adaptive correction of the judgment threshold by combining validity feedback information, evolutionary control parameters, and invalid trigger statistics. First, the alarm output results are validated based on validity feedback information, distinguishing between valid and invalid alarms to ensure that only alarms confirmed as invalid trigger the threshold correction process, avoiding erroneous adjustments to valid alarms. On this basis, evolutionary control parameters provide a controllable correction permission switch, allowing the threshold correction behavior to be flexibly enabled or disabled according to on-site management needs, avoiding new risks that may arise from blind automatic correction. After confirming the need for correction, the invalid trigger ratio is further calculated based on the ratio of the invalid trigger count to the total trigger count within the statistical period, and the threshold correction amount is calculated in conjunction with a preset basic adjustment amount. This quantitatively updates the judgment threshold parameter, making the threshold correction magnitude correlated with the actual frequency of invalid alarms, avoiding over-correction or under-correction. This processing method enables the judgment threshold parameters to be adaptively optimized in a closed loop based on the actual on-site operating effect, continuously reducing the occurrence rate of invalid alarms without changing the original alarm rule structure, and effectively improving the alarm rules' adaptability to changes in the operating environment and long-term operational stability.

[0110] Example 4 Figure 8 This is a schematic diagram of a multi-condition composite alarm device provided in an embodiment of this application. The device includes: The alarm rule acquisition module 410 is used to acquire a pre-configured alarm rule data structure when an alarm trigger request is received; wherein, the alarm rule data structure includes a rule object and a condition object belonging to the rule object, the condition object includes a judgment threshold parameter and a data source identifier; the rule object also includes verification control parameters and evolution control parameters; The single-condition determination module 420 is used to obtain the determination data corresponding to each condition object based on the alarm trigger request and the data source identifier, and to perform single-condition determination on the determination data based on the corresponding determination threshold parameter to obtain the status of each single condition. The alarm result output module 430 is used to combine the single condition states based on a predefined logical combination relationship to generate candidate alarm results, and to determine and output alarm output results based on the candidate alarm results and the verification control parameters. The alarm parameter update module 440 is used to respond to receiving validity feedback information for the alarm output result, and based on the validity feedback information and the evolution control parameters, to correct the judgment threshold parameter, and update the corrected judgment threshold parameter to the alarm rule data structure, so as to use the updated judgment threshold parameter to perform single-condition judgment on the subsequently received alarm triggering request.

[0111] This application provides a multi-condition composite alarm device. When an alarm trigger request is received, the device acquires a pre-configured alarm rule data structure. This structure includes rule objects and condition objects belonging to the rule objects. Each condition object includes a judgment threshold parameter and a data source identifier. The rule objects also include verification control parameters and evolution control parameters. Based on the alarm trigger request and the data source identifier, judgment data corresponding to each condition object is acquired. Single-condition judgments are then performed on the judgment data based on the corresponding judgment threshold parameters to obtain each single-condition state. Subsequently, each single-condition state is combined based on a predefined logical combination relationship to generate candidate alarm results. Based on the candidate alarm results and the verification control parameters, an alarm output result is determined and output. Furthermore, in response to receiving validity feedback information regarding the alarm output result, the judgment threshold parameters are corrected based on the validity feedback information and the evolution control parameters. The corrected judgment threshold parameters are then updated to the alarm rule data structure, allowing for single-condition judgments on subsequently received alarm trigger requests using the updated judgment threshold parameters. The technical solution of this application solves the problem that traditional single-variable threshold over-limit cannot identify multiple types of monitoring variables by combining multiple conditions for judgment; it eliminates false alarms and repeated alarms caused by measurement noise and operational disturbances by using delayed confirmation and silent suppression mechanisms; and it realizes closed-loop optimization of alarm rule thresholds by using parameter adaptive correction based on effectiveness feedback, thereby improving the accuracy of alarms and long-term operational stability.

[0112] Based on the above device, optionally, the alarm rule acquisition module 410 is specifically used to determine the target rule base object from the pre-configured rule base set according to the rule base identifier in the alarm trigger request, and extract the rule object and the condition object belonging to the rule object from the target rule base object.

[0113] Based on the above-mentioned device, optionally, a single-condition judgment module 420 is used to: when the data source identifier is the field monitoring variable, query the pre-configured variable mapping relationship based on the variable name in the data source identifier, determine the database location and data table corresponding to the variable name, and read the real-time monitoring value from the database location through the monitoring data interface as the judgment data; when the data source identifier is the derived calculation variable, obtain the calculation formula and formula parameters corresponding to the derived variable name based on the derived variable name in the data source identifier, and execute the calculation formula on the acquired original monitoring data to obtain the derived calculation value as the judgment data; when the data source identifier is the output variable of the digital twin model, load and start the digital twin model through the simulation linkage interface based on the model name and model path in the data source identifier, and obtain the simulation value output by the digital twin model as the judgment data.

[0114] Based on the above device, optionally, the alarm result output module 430 includes: The candidate result determination unit is used to obtain the predefined logical combination function in the rule object, substitute each single condition state as input parameter into the logical combination function to perform Boolean operation, and obtain the candidate alarm result.

[0115] The alarm result output unit is used to determine whether the candidate alarm result meets the delay confirmation condition based on the delay control parameter; when the candidate alarm result meets the delay confirmation condition, it determines whether the current time is within the silence window based on the silence control parameter; when the current time is not within the silence window, the candidate alarm result is determined as the alarm output result and output.

[0116] Based on the above device, optionally, an alarm result output unit is used to count the cumulative number of triggers of the candidate alarm result within a preset time window before the current time; when the cumulative number of triggers reaches the continuous trigger number threshold, it is determined that the candidate alarm result meets the delayed confirmation condition; or, it counts the continuous duration of the candidate alarm result, and when the continuous duration reaches the duration threshold, it is determined that the candidate alarm result meets the delayed confirmation condition.

[0117] Based on the above-mentioned device, optionally, an alarm parameter update module 440 is used to determine whether the alarm output result is marked as an invalid alarm based on the validity feedback information; when the alarm output result is marked as an invalid alarm, it determines whether to perform a correction operation on the judgment threshold parameter according to the on state of the evolution control parameter; if the evolution control parameter is on, it calculates the threshold correction amount based on the invalid trigger statistics within the statistical period, and updates the judgment threshold parameter based on the threshold correction amount.

[0118] Based on the above-mentioned device, optionally, the alarm parameter update module 440 is more specifically used to obtain the invalid trigger count value and the total trigger count value of the rule object within the statistical period; determine the invalid trigger ratio based on the ratio of the invalid trigger count value to the total trigger count value; and calculate the threshold correction amount based on the invalid trigger ratio and the preset basic adjustment amount.

[0119] The multi-condition composite alarm device provided in this application embodiment can execute the multi-condition composite alarm method provided in any embodiment of this application, and has the corresponding functional modules and beneficial effects of the execution method.

[0120] It is worth noting that the various units and modules included in the above system are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of each functional unit are only for easy differentiation and are not used to limit the protection scope of the embodiments of this application.

[0121] Example 5 Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 9 A block diagram is shown of an exemplary electronic device 50 suitable for implementing embodiments of the present application. Figure 9 The electronic device 50 shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.

[0122] like Figure 9 As shown, the electronic device 50 is represented in the form of a general-purpose computing device. The components of the electronic device 50 may include, but are not limited to: one or more processors or processing units 501, system memory 502, and bus 503 connecting different system components (including system memory 502 and processing unit 501).

[0123] Bus 503 represents one or more of several bus architectures, including memory buses or memory electronics, peripheral buses, graphics acceleration ports, processors, or local buses using any of the various bus architectures. Examples of these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus.

[0124] Electronic device 50 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by electronic device 50, including volatile and non-volatile media, removable and non-removable media.

[0125] System memory 502 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 504 and / or cache memory 505. Electronic device 50 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 506 may be used to read and write non-removable, non-volatile magnetic media (… Figure 9 Not shown (usually referred to as a hard drive). Although Figure 9 As not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a floppy disk) and an optical disc drive for reading and writing to a removable non-volatile optical disc (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 503 via one or more data media interfaces. Memory 502 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the embodiments of this application.

[0126] A program / utility 508 having a set (at least one) of program modules 507 may be stored, for example, in memory 502. Such program modules 507 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. Program modules 507 typically perform the functions and / or methods described in the embodiments of this application.

[0127] Electronic device 50 can also communicate with one or more external devices 509 (e.g., keyboard, pointing device, display 510, etc.), and with one or more devices that enable a user to interact with electronic device 50, and / or with any device that enables electronic device 50 to communicate with one or more other computing devices (e.g., network card, modem, etc.). This communication can be performed via input / output (I / O) interface 511. Furthermore, electronic device 50 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 512. As shown, network adapter 512 communicates with other modules of electronic device 50 via bus 503. It should be understood that, although... Figure 9 As not shown, other hardware and / or software modules may be used in conjunction with electronic device 50, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0128] The processing unit 501 executes various functional applications and page processing by running programs stored in the system memory 502, such as implementing the multi-condition composite alarm method provided in the embodiments of this application.

[0129] Example 6 This application embodiment also provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform a multi-condition composite alarm method, the method comprising: When an alarm trigger request is received, a pre-configured alarm rule data structure is obtained; wherein, the alarm rule data structure includes a rule object and a condition object belonging to the rule object, the condition object includes a judgment threshold parameter and a data source identifier; the rule object also includes verification control parameters and evolution control parameters; Based on the alarm trigger request and the data source identifier, obtain the judgment data corresponding to each condition object, and perform single-condition judgment on the judgment data based on the corresponding judgment threshold parameter to obtain the single-condition status. The individual condition states are combined based on predefined logical combination relationships to generate candidate alarm results. Based on the candidate alarm results and the verification control parameters, the alarm output result is determined and output. In response to receiving validity feedback information for the alarm output result, the determination threshold parameter is corrected based on the validity feedback information and the evolution control parameter, and the corrected determination threshold parameter is updated to the alarm rule data structure so as to use the updated determination threshold parameter to perform single-condition determination on the subsequently received alarm triggering request.

[0130] The computer storage medium in this application embodiment can be any combination of one or more computer-readable media. A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0131] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of sending, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.

[0132] Program code contained on a computer-readable medium may be transmitted using any suitable medium, including—but not limited to—wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.

[0133] Computer program code for performing the operations of the embodiments of this application can be written in one or more programming languages ​​or a combination thereof. Programming languages ​​include object-oriented programming languages—such as Java, Smalltalk, and C++—and conventional procedural programming languages—such as C or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0134] Note that the above description is merely a preferred embodiment and the technical principles employed in this application. Those skilled in the art will understand that this application is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of this application. Therefore, although this application has been described in detail through the above embodiments, this application is not limited to the above embodiments. Many other equivalent embodiments may be included without departing from the concept of this application, and the scope of this application is determined by the scope of the appended claims.

Claims

1. A multi-condition composite alarm method, characterized in that, The method includes: When an alarm trigger request is received, a pre-configured alarm rule data structure is obtained; wherein, the alarm rule data structure includes a rule object and a condition object belonging to the rule object, the condition object includes a judgment threshold parameter and a data source identifier; the rule object also includes verification control parameters and evolution control parameters; Based on the alarm trigger request and the data source identifier, obtain the judgment data corresponding to each condition object, and perform single-condition judgment on the judgment data based on the corresponding judgment threshold parameter to obtain the single-condition status. The individual condition states are combined based on predefined logical combination relationships to generate candidate alarm results. Based on the candidate alarm results and the verification control parameters, the alarm output result is determined and output. In response to receiving validity feedback information for the alarm output result, the determination threshold parameter is corrected based on the validity feedback information and the evolution control parameter, and the corrected determination threshold parameter is updated to the alarm rule data structure so as to use the updated determination threshold parameter to perform single-condition determination on the subsequently received alarm triggering request.

2. The method according to claim 1, characterized in that, The alarm rule data structure also includes a rule base object, which contains one or more of the rule objects; obtaining the pre-configured alarm rule data structure includes: Based on the rule base identifier in the alarm trigger request, a target rule base object is determined from the pre-configured rule base set, and the rule object and the condition object belonging to the rule object are extracted from the target rule base object.

3. The method according to claim 1, characterized in that, The data source identifier includes on-site monitoring variables, derived calculation variables, or digital twin model output variables. The step of obtaining the judgment data corresponding to each condition object based on the alarm trigger request and the data source identifier includes: When the data source is identified as the on-site monitoring variable, the pre-configured variable mapping relationship is queried based on the variable name in the data source identifier to determine the database location and data table corresponding to the variable name, and the real-time monitoring value is read from the database location through the monitoring data interface as the judgment data; When the data source identifier is the derived calculation variable, based on the derived variable name in the data source identifier, the calculation formula and formula parameters corresponding to the derived variable name are obtained, and the calculation formula is executed on the obtained original monitoring data to obtain the derived calculation value as the judgment data; When the data source is identified as the output variable of the digital twin model, the digital twin model is loaded and started through the simulation linkage interface based on the model name and model path in the data source identifier, and the simulation value output by the digital twin model is obtained as the judgment data.

4. The method according to claim 1, characterized in that, The method of combining the individual condition states based on predefined logical combination relationships to generate candidate alarm results includes: Obtain the predefined logical combination function from the rule object, substitute each single condition state as input parameter into the logical combination function for Boolean operation, and obtain the candidate alarm result.

5. The method according to claim 1, characterized in that, The verification control parameters include delay control parameters and silence control parameters. The process of determining and outputting alarm output results based on the candidate alarm results and the verification control parameters includes: Based on the delay control parameters, determine whether the candidate alarm result meets the delay confirmation condition; When the candidate alarm result meets the delayed confirmation condition, it is determined whether the current time is within the silent window based on the silent control parameters; If the current time is not within the silent window, the candidate alarm result is determined as the alarm output result and output.

6. The method according to claim 5, characterized in that, The delay control parameters include a consecutive trigger count threshold or a duration threshold. The step of determining whether the candidate alarm result meets the delay confirmation condition based on the delay control parameters includes: The cumulative number of times the candidate alarm results were triggered within a preset time window prior to the current moment is counted. When the cumulative number of triggers reaches the consecutive trigger count threshold, the candidate alarm result is determined to meet the delayed confirmation condition; or, The continuous duration of the candidate alarm results is counted. When the continuous duration reaches the duration threshold, the candidate alarm result is determined to meet the delayed confirmation condition.

7. The method according to claim 1, characterized in that, The step of correcting the judgment threshold parameter based on the effectiveness feedback information and the evolution control parameters includes: Based on the validity feedback information, determine whether the alarm output result is marked as an invalid alarm; When the alarm output result is marked as an invalid alarm, it is determined whether to perform a correction operation on the judgment threshold parameter based on the on / off state of the evolution control parameter. If the evolution control parameter is enabled, the threshold correction amount is calculated based on the invalid trigger statistics within the statistical period, and the judgment threshold parameter is updated based on the threshold correction amount.

8. The method according to claim 7, characterized in that, The calculation of the threshold correction amount based on invalid trigger statistics within the statistical period includes: Obtain the invalid trigger count and total trigger count of the rule object within the statistical period; The invalid trigger ratio is determined based on the ratio of the invalid trigger count to the total trigger count. The threshold correction amount is calculated based on the invalid trigger ratio and the preset basic adjustment amount.

9. A multi-condition composite alarm device, characterized in that, The device includes: The alarm rule acquisition module is used to acquire a pre-configured alarm rule data structure when an alarm trigger request is received; wherein, the alarm rule data structure includes a rule object and a condition object belonging to the rule object, the condition object includes a judgment threshold parameter and a data source identifier; the rule object also includes verification control parameters and evolution control parameters; The single-condition determination module is used to obtain the determination data corresponding to each condition object based on the alarm trigger request and the data source identifier, and to perform single-condition determination on the determination data based on the corresponding determination threshold parameter to obtain the status of each single condition. The alarm result output module is used to combine the single condition states based on predefined logical combination relationships to generate candidate alarm results, and to determine and output alarm output results based on the candidate alarm results and the verification control parameters. The alarm parameter update module is used to respond to the received validity feedback information for the alarm output result, and based on the validity feedback information and the evolution control parameters, to correct the judgment threshold parameter, and update the corrected judgment threshold parameter to the alarm rule data structure, so as to use the updated judgment threshold parameter to perform single-condition judgment on the subsequently received alarm triggering request.

10. An electronic device, characterized in that, The electronic device includes: One or more processors; Memory, used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the multi-condition composite alarm method as described in any one of claims 1-8.